Download as pdf or txt
Download as pdf or txt
You are on page 1of 78

PAWD webinar:

Cape Coast Water


Hydraulic Supply
modelling Project
& EPANET
Siert Meijer, Joriën Mendez, Gideon Lomoko
17 & 18 June 2021
Schedule of webinar series Hydraulic modelling & EPANET
Five modules (sessions) in two batches:
- 20 & 21 May: Basic hydraulics
- 27 & 28 May: EPANET 1 (introduction to EPANET: workspace, project setup)
- 17 & 18 June: EPANET 2 (data input and model calibration)
- 24 & 25 June: EPANET 3 (analysis of hydraulic modelling results)
- 1 & 2 July: EPANET 4 (network design and improvement / optimization)

Please have EPANET available during all EPANET webinar sessions 1-4!

2
Instructions
- Download and install EPANET 2.2 (DOWNLOAD LINK: https://www.epa.gov/water-
research/epanet)
- Have the software available on your computer during the EPANET sessions!

- Questions? Contact pewupph@gmail.com

3
Previous session (20 & 21 May)
- Basic hydraulics - Block 1: Introduction to hydraulics / Pressure pipe flow /
Conservation of mass / Reynolds number / Fluid pressure
- Basic hydraulics - Block 2: Total energy equation / Bernoulli energy equation /
Conservation of energy / Energy losses
- Basic hydraulics - Block 3: Hydraulic head / Pump systems

4
Previous session (27 & 28 May)
- EPANET 1 - Block 1: Introduction to Epanet and hydraulic models / EPANET
components / Physical components
- EPANET 1 - Block 2: Non-physical components / EPANET workspace / Steps in
hydraulic modelling (with EPANET) / Project setup / Drawing a
network / Editing properties
- EPANET 1 - Block 3: Exercise / Run a hydraulic analysis / Viewing results

5
Schedule for today’s session
14:00 – 14:05: Introduction
14:05 – 14:55: EPANET 2 block 1 + Q&A (chat function)
14:55 – 15:20: EPANET 2 block 2 + Q&A (chat function)
15:20 – 16:00: EPANET 2 block 3 + Q&A (chat function)

6
EPANET module 2
- Block 1: Run analysis / Graphs / Demand input / Demand patterns /
Non Revenue Water / Selection and Group Edit tools
- Block 2: Pipe length / Auto-Length function / Background maps
- Block 3: Import data from CAD or GIS / Input files / Model calibration

7
BLOCK 1
Run analysis
Graphs
Demand input
Demand patterns
Non Revenue Water
Selection and Group Edit tools

8
Exercise (previous session) – Draw a network

9
Save your model!
Use logical EPANET file names and save them in folders with logical names

10
Run Analysis

Did you get an error, or a warning?

Please let me know in the


chat what error or warning!

11
Run Analysis

12
Let’s make some graphs to see what happens in the network!

13
RECAP!

Graphs

Graph
14
Let’s make some graphs to see what happens in the network!

15
Let’s make some graphs to see what happens in the network!

16
17
18
19
Little / no variaton...
20
No demand pattern!

Constant demand

21
RECAP!
Demand patterns

Pattern: multipliers to apply to the base demand


Average day PHIL pattern Maximum day PHIL pattern

Pattern average >1: Higher demands on


maximum day are included in the pattern
22
Q&A (previous session):
How to determine the multipliers for a demand pattern?
- If you have measurements available:
∙ calculate the average demand over a time period (e.g. a year)
∙ multiplier = (demand at a time step, e.g. an hour) / (average demand)
∙ maximum day factor = (maximum day total demand) / (average day total demand)
∙ maximum day multiplier = (maximum day demand at a time step) / (average demand)
∙ maximum day pattern average is the average of the max day multipliers

- If you do not have measurements available: use a standard pattern!

23
Phillipines average day pattern

24
RECAP!
Inserting non-physcial components

25
Phillipines average day pattern

26
RECAP!
Browser options – Time Options

In Time Options you can change the


total simulation time, hydraulic and
pattern time steps and start times

Total Duration set to 0 by EPANET default, which means


you look at one moment in time (single period analysis)!
27
Always link the curve or pattern to the physical object!

We can do this manually for all nodes... but we can also use the Group Edit tool!
28
Group Edit options

Junctions
Pipes

Below
Equal to
Above

Replace
Multiply
Add Tag Tag
Elevation Diameter
Base Demand Roughness coefficient
Demand pattern
29
Edit → Group Edit

But first, select a region / network!

30
Select Region / Select All

Select Region

Click with left


mouse button
around the region,
click with right
mouse button to
close the region 31
Select Region / Select All

32
Assign demand pattern using Group Edit

No need to use the “with”


condition line in this case –
I want to apply the demand
Case sensitive!
pattern to all junctions!

33
Check the junction property editors

Demand pattern has been


assigned to the junctions

34
Run the model again and create the same graphs

Negative flow means: flow in direction from end node to start node
(and positive flow is flow in the direction from start to end node)
35
Phillipines maximum day pattern

36
More on demands
- Demands can only be assigned to junctions
- A junction can be one single house connection, or it can represent a cluster of
connections (e.g. the demand of multiple houses, an appartment building, a block of
streets or a neighborhood)
- Sum the individual demands of the connections in the cluster and use this sum as
the demand for the junction that represents the cluster
- E.g. we cluster the demands along a pipe in the start and end nodes of that pipe
- We also have to include Non Revenue Water in our model!

37
Non Revenue Water
• “Non revenue” is missed income
• Non Revenue Water is the sum of:
- real losses (leakage)
- measurement errors (at water meters; apparent losses)
- unauthorized consumption (e.g. theft, illegal connections)
- unbilled consumption (e.g. own use)

NRW has to be included in the model! NRW also flows through the network!

38
Let’s assume a NRW of 18%

39
Save your model!
Use logical EPANET file names and save them in folders with logical names

We will continue
working on this
model later!

40
QUESTION & ANSWER – BLOCK 1

Please ask your questions in the chat!

41
BLOCK 2
Pipe length
Auto-Length function
Background maps

42
Pipe length
EPANET calculates with the pipe length, NOT with what it shows on the map

43
Pipe length
Pipe length can be defined through:
- default value (used for new pipes when Auto-Length function is OFF)
- manual input value (edit pipe properties)
- Auto-Length

Turn Auto-Length ON / OFF


by clicking with your right
mouse in the status bar

44
Auto-Length
- Automatic computation of pipe lengths
- Be careful with the use of Auto-Length option ON!
- Only use it if you have a scaled background map!

45
Background map (“backdrop”)
- A backdrop drawing (e.g. a street map or a
satellite map) can be placed behind the
network for reference as background

- File should be bitmap or metafile format


(created outside of EPANET)
- Nodes and links can be drawn over this map

46
Backdrop menu

47
Let’s start with a new EPANET file!

Because my default is on Auto Length


OFF, a new EPANET file will start with
Auto-Length Off in the status bar

Click with your


right mouse
button 48
When loading a backdrop map it is not at the right scale!
Auto-Length Google Maps

49
How to scale a backdrop map?

50
How to scale a backdrop map?

- Calculate the scaling factor:

scaling factor = (real length) / (pipe length generated with Auto-Length ON)

Google Maps / Earth


- E.g.: The measured distance in Google Maps is 581.19 m and the pipe length
following from EPANET with Auto-Length ON is 1557.09 m. The scaling factor is
581.19/1557.09 = 0.37325395...

51
How to scale a backdrop map?

In the Map Dimensions Editor:


- keep the lower left x and y coordinates at (0,0)
- multiply both the x and y coordinates of the upper right corner (both 10000.000 by
default) with your scaling factor

- E.g.:
10000.000 · 0.37325395... ≈ 3732.540

52
53
Now, the backdrop map is at the right scale!
Auto-Length Google Maps

54
QUESTION & ANSWER – BLOCK 2

Please ask your questions in the chat!

55
BLOCK 3
Import data from CAD or GIS
Input files
Model calibration

56
Import data from CAD or GIS packages
- Direct import from CAD or GIS exports is NOT possible
- However, EPANET can import a network in a simple text format

- The text file should have the a certain format: the EPANET input file format (.inp)

57
EPANET input files (.inp)
- .inp files are text files describing a network
- Input files can be created outside of EPANET using a text editor (e.g. Notepad) or a
spreadsheet program (e.g. Excel), e.g. based on information from CAD or GIS

- Input files can function as an archive version of your database


- Input files provide a human readable version of your data

58
Input files contain all possible network information

59
Input file in Notepad

60
How to import/export input files?

- Export the input file (Network)


from a new, empty EPANET file
(save it as .inp file)
- Open the input file in Notepad
or Excel
- Store your CAD or GIS data in
the input file
- Import the input file (Network)
in EPANET
- Save your network as .NET file

61
File → Export → Network

62
Open with Notepad and Copy+Paste all to Excel

63
Insert as many new rows for
junctions, reservoirs, tanks, pipes,
pumps, valves etc... as you need and
paste your input data from CAD/GIS

Mandatory input:
- Junctions
- Pipes
- Node coordinates (scroll down)

You can add other information in


EPANET afterwards
64
Paste from CAD/
GIS tables

65
Copy all Excel information...

66
... and paste it back in the input file (Notepad)

67
Import Network

68
69
You can save your model in the regular way
Use logical EPANET file names and save them in folders with logical names

70
EPANET will produce a SYNTAX error when your number
formats are not correct → Correct them in the input file

71
Steps in hydraulic modelling

1. Building the EPANET model of the existing network (using available data, and
assumptions where necessary) or network design
2. Analysis of the EPANET model (Does the model run? Errors? Warnings? Do the
results show what you expect? → Correct input data if necessary)
3. Calibration of the EPANET model (comparing EPANET results to field
measurements, and adjusting assumptions where necessary)
4. a) Network analysis / optimization / scenario studies (adjusting the network, e.g.
network layout and demands, and dimensioning the network to the required
capacity, e.g. changing pipe diameters and sizing pump, to meet guidelines)
b) Water quality calculations

72
Steps in hydraulic modelling

1. Building the EPANET model of the existing network (using available data, and
assumptions where necessary) or network design
2. Analysis of the EPANET model (Does the model run? Errors? Warnings? Do the
results show what you expect? → Correct input data if necessary)
3. Calibration of the EPANET model (comparing EPANET results to field
measurements, and adjusting assumptions where necessary)
4. a) Network analysis / optimization / scenario studies (adjusting the network, e.g.
network layout and demands, and dimensioning the network to the required
capacity, e.g. changing pipe diameters and sizing pump, to meet guidelines)
b) Water quality calculations

73
The quality of a model depends
on the quality of the input data!

Model calibration
- Calibration of a hydraulic model is comparing modelling results to field
measurements and adjusting the hydraulic modelling until the model matches
(sufficiently) with practice (a model is always a simplification of reality!)
- If modelling results differ from practice (if they differ from field measurements),
adjust the model:
· check input data for which you have data available, or gather additional input
data by doing measurements (e.g. source water levels)
· adjusting assumptions where necessary (for data of which you cannot be sure,
e.g. pipe roughness)

74
QUESTION & ANSWER – BLOCK 3

Please ask your questions in the chat!

75
EPANET module 2
- Block 1: Run analysis / Graphs / Demand input / Demand patterns /
Non Revenue Water / Selection and Group Edit tools
- Block 2: Pipe length / Auto-Length function / Background maps
- Block 3: Import data from CAD or GIS / Input files / Model calibration

- Questions? Contact pewupph@gmail.com

76
Schedule of webinar series Hydraulic modelling & EPANET
Five modules (sessions) in two batches:
- 20 & 21 May: Basic hydraulics
- 27 & 28 May: EPANET 1 (introduction to EPANET: workspace, project setup)
- 17 & 18 June: EPANET 2 (data input and model calibration)
- 24 & 25 June: EPANET 3 (analysis of hydraulic modelling results)
- 1 & 2 July: EPANET 4 (network design and improvement / optimization)

Please have EPANET available during all EPANET webinar sessions 1-4!

77
www.witteveenbos.com

You might also like