WaterGEMS QuickStart
WaterGEMS QuickStart
Scenario Management
Reporting Results
Flushing
By default the lesson files are installed to the following location: C:\Program
Files\Bentley\OpenFlows Water\Lessons\WaterGEMS
To simulate the connection to the larger water distribution network, you will draw a
reservoir connected to a pump, and enter a pump curve. The pump curve will be
developed from 3 data points: the static pressure of the distribution system at the
connection point (converted to head), partial hydrant flow and pressure (converted to
head), and full hydrant flow and pressure (converted to head). This method simulates
the larger water distribution system's ability to deliver a range of flows and related
pressures to the new pipe network with a single pump curve. Representing the
network connection in this way is an approximation of actual conditions and may not
be representative for all operational conditions. Care should be taken to ensure all
applicable operating conditions are addressed.
4. Choose Tools > More > Options, Click the Units tab. Since you will be working
in System International (SI) units, click the Reset Defaults button and select SI.
5. The first six WaterGEMS Quick Start Lessons use SI units. If you would like to
set the default unit systems for new Hydraulic Models to be SI, select SI from the
drop down menu also.
6. Click the Drawing tab to make sure Drawing Mode is set to Scaled. Set the Plot
Scale Factor 1 cm = 40m
7. Click OK.
8. Set up the Hydraulic Model. Choose File > Hydraulic Model Properties and
name the Hydraulic Model Lesson 1—Steady State Analysis and click OK.
3. Right click on the Background Layers folder and select New > File.
4. On the Select Background dialog, browse to Lesson1.dxf in the Lessons folder
and click Open.
8. Select the Layout tool from the Home tab. Follow the instructions below to draw
the network (see figure on page 2). Lay out the pipe network in the order shown.
Any variations can be corrected by right clicking on that element and modifying
the Label in the Properties Manager.
9. Move the cursor to the drawing pane, right click, and select Reservoir from the
menu
10. Click to place R-1 to the left of the existing water main connection.
11. Move the cursor to the location of pump P-1. Right-click and select Pump from
the shortcut menu. Click to place it.
12. Right click to select Junction from the menu and click to place J-1.
13. Click to place junctions J-2, J-3, and J-4.P-3, P-4, P-5 will automatically be
drawn
14. Click on J-1 to draw P-6.
15. Right-click and choose Done from the menu.
16. Select the Layout tool again from the Home tab.
17. Click on J-3. Move the cursor to the location of J-5, and click. This will insert J-5
& P-7.
18. Right-click and select Done.
19. Select the Layout tool again from the Home tab.
20. Click on J-4. Move the cursor to the left towards the location of the PRV. Right
click to select PRV from the list of elements.
21. Click to insert PRV-1 in the appropriate location. This will insert PRV-1 & P-8.
Right click to select Junction from the list of elements.
22. Click to place junction J-6 in the appropriate location. This will insert J-6 & P-9.
Right click and select Done.
Be sure to lay out the pipes in numerical order (P-7 through P-9), so that their
labels correspond to the labels in the diagram.
23. Select the Layout tool again from the Home tab.
24. Click on J-3. Move the cursor upwards towards the location of the Tank. Right
click to select Tank from the list of elements.
25. Click to insert the tank, T-1. Pipe P-10 should connect the tank to the network if
you laid out the elements in the correct order.
b. Click New.
c. Enter a label for the new pressure zone called Connection Zone.
d. Click Close.
e. Select the zone you just created from the Zone menu.
f. Close the Reservoir Property Editor.
4. Double click on tank T-1 and enter the following:
Elevation (Base) = 200
Elevation (Minimum) = 220
Elevation (Initial) = 225
Elevation (Maximum) = 226
Diameter (m) = 8
Section = Circular
Set the Zone to Zone 1(You will need to create Zone-1 in the Zone Manager as
described above.)
.
g. Click OK.
h. Enter the following information:
j. Click Close.
k. In the Property Editor, select PMP-1 from the Pump Definition menu.
l. Close the Pump’s Property Editor
7. Double click valve PRV-1 in the drawing. Enter in the following data:
Status (Initial) = Active
Setting Type= Pressure
Pressure Setting (Initial)= 390 kPa
Elevation =165 m
Diameter (Valve) = 150 mm
8. Create Zone 2 and set the valve’s Zone field to Zone-2.
d. Change the lengths (but not the diameters) of pipes P-7 through P-10 using
the following user-defined lengths: P-7 = Length (User Defined): 400 m
P-8 = Length (User Defined): 500 m
P-9 = Length (User Defined): 31 m
P-10 = Length (User Defined): 100 m
e. Close the Pipe Property Editor.
To use FlexTables
1. Click the FlexTables button on the Home tab or choose View > FlexTables.
2. Double-click Pipe Table. Fields that are white can be edited, yellow fields can
not. The Flextable columns have been re-ordered in the figure below.
4. To enter the pipe material type for P-4 & P-7, click the appropriate pipe material
cell, then click the ellipsis to open the Engineering Libraries. Expand Material
Libraries > Material Libraries.xml, click PVC, then click Select
Notice that the C values for the pipes will be automatically assigned to preset values
based on the material; however, these values could be modified if a different
coefficient were required.
5. Leave other pipe data set to default values. Close the Pipe Flex Table and
Property Editor when finished.
6. Click OK.
In this lesson, you will be dividing the single fixed demands for each junction node in
Lesson 1 into two individual demands with different demand patterns. One demand
pattern will be created for residential use, and another for commercial use. You will
enter demand patterns at the junction nodes through the junction's property editor.
1. Open the Property Editor for Junction J-1 (double-click junction J-1) and click
the ellipsis in the Demand Collection field to open the Demands box.
2. By default, the demand pattern is set to Fixed. Enter 23 l/min for Flow. (If field
already has a number from previous lesson, type over it.)
3. Click in the Pattern (Demand) field and click the ellipsis to open the Patterns
manager.
4. Highlight the Hydraulic folder and click New to create a hydraulic pattern.
a. Rename the new pattern Residential.
b. Leave the Start Time 12:00:00 AM.
c. Enter 0.5 as the Starting Multiplier.
d. In the Pattern Format menu select Stepwise.
The resulting demand pattern will have multipliers that remain constant until
the next pattern time increment is reached.
Note that the multiplier for the last time given (24 hrs.) must be the same as
the Starting Multiplier (0.5). These values are equal because the demand
curve represents a complete cycle, with the last point the same as the first.
e. Under the Hourly tab, enter the following times and multipliers:
Time from
Multiplier
Start
3 .4
6 1
9 1.3
12 1.2
15 1.2
18 1.6
21 .8
24 .5
5. Highlight the Hydraulic folder again and click New to create a new pattern for
commercial demands.
a. Rename the new pattern Commercial.
b. Leave the Start Time 12:00:00 AM.
c. Enter 0.4 as the Starting Multiplier.
3 .6
6 .8
9 1.6
12 1.6
15 1.2
18 .8
21 .6
24 .4
6. Click Close.
7. Back in the Pattern field, for J-1 select Residential from the menu.
8. In the second row, enter a flow of 15 l/min and select Commercial as the pattern
for this row.
12. You can easily enter this data by using the Demand Control Center in
Components > Demand Center > Demand Control Center.
13. If you receive a message about cancel and undo not being available for the
Demand Control Center, click Yes to continue.
14. Enter the demand and corresponding pattern for each of the junctions. To enter a
second demand for a junction, select the desired junction’s label in the table and
click the down arrow next to New and select Add Demand to Element (J-#) as
needed.
15. When you are done, the Demand Control Center will look like this:
16. Now you will set up an additional demand pattern to simulate a three-hour fire at
node J-6.
a. Highlight the label J-6 and click New > Add Demand to Element (J-6)
b. Enter a Demand (Base) of 2000 l/min.
c. Click the Pattern column and select the ellipsis button to open the Patterns
Manager.
d. Highlight the Hydraulic folder, then click New to create a new pattern.
e. Rename the new pattern 3-Hour Fire
f. Leave the Start Time 12:00:00 AM
g. Enter 0.00 as the Starting Multiplier.
h. Select the Stepwise format.
i. Under the Hourly tab, enter the following times and multipliers:
Time from
Multiplier
Start
18 1
21 0
24 0
j. After you have filled in the table, look at the Graph in the lower section of the
Patterns manager.
The value of the multiplier is zero, except for the period between 18 and 21
hours, when it is 1.0. Since the input the demand as 2000 l/min., the result
will be a 2000 l/min. fire flow at junction J-6 between hours 18 and 21.
k. Click Close.
17. Select the new pattern, 3-Hour Fire, from the Pattern (Demand) selection box.
8. Close the User Notifications dialog box and other open dialogs.
9. Click Save or choose File > Save to save the Hydraulic Model.
Scenario Management
One of the many Hydraulic Model tools in Bentley WaterGEMS is Scenario
Management. Scenarios allow you to calculate multiple “What If?” situations in a
single file. You may wish to try several designs and compare the results, or analyze
an existing system using several different demand alternatives and compare the
resulting system pressures.
A scenario is a set of Alternatives, while alternatives are groups of actual model data.
Scenarios and alternatives are based on a parent/child relationship where a child
scenario or alternative inherits data from the parent scenario or alternative.
In Lessons 1 and 2, you constructed the water distribution network, defined the
characteristics of the various elements, entered demands and demand patterns, and
performed steady-state and extended period simulations. In this lesson, you will set
up the scenarios needed to test four “What If?” situations for our water distribution
system. These “What If?” situations will involve changing demands and pipe sizes.
At the end of the lesson, you will compare all of the results using the Scenario
Comparison tool.
6. Click OK.
In this example, you need to set up different physical and demand alternatives for each
design trial you want to evaluate. Each alternative will contain different pipe sizes or
demand data.
b. Highlight the new alternative and click Rename. Enter a label of 4000 l/min
Fire Flow for the new Alternative.
c. Double-click to open the Demand Alternatives editor for the new alternative
which shows the data that was inherited from the parent alternative (Empty
check box next to ID)
If you change any data, the check box will become selected because that record is now
local to this alternative and not inherited from the parent.
6. Click in the Demand Collection column for node J-6. Change the 2000 l/min. fire
demand to 4000 l/min.
Just as there are base, parent, and child alternatives, there are also base, parent, and
child scenarios. The difference is that instead of inheriting model data, scenarios
inherit sets of alternatives. To change the new scenario, change one or more of the new
scenario’s alternatives. For this lesson, you will create a new scenario for each different
set of conditions you need to evaluate.
There is always a default Base Scenario that is composed of the base alternatives.
Initially, only the Base is available, because you have not created any new
scenarios.
2. Rename the Base Scenario to 2000 l/min., 3-hour Fire Flow at J-6 (EPS).
3. Create a child scenario from the existing base scenario to incorporate the new
demand alternative.
a. Right-click on the 2000 l/min., 3-hour Fire Flow at J-6 (EPS) scenario and
select New > Child Scenario.
b. Enter a scenario name of 4000 l/min. Fire Flow at J-6 (EPS). Double-click
the scenario to open the Property Editor for the scenario.
The new scenario lists the alternatives as inherited from the base scenario.
4. Your new Child Scenario initially consists of the same alternatives as its parent
scenario. Set the Demand Alternative to the new alternative you created, 4000 l/
min. Fire Flow.
a. Click in the Demand Alternative field
b. From the menu, select the 4000 l/min. Fire Flow alternative.
Now the demand alternative of the new child Scenario is no longer inherited
from the parent scenario, but is local to this scenario.
c. Close the Property Editor.
Step 3: To calculate both of the scenarios using the Batch Run tool
1. In the Scenario Manager, click the down arrow next to Compute and Select
Batch Run
.
2. Select both check boxes next to the scenario names in the Batch Run dialog.
3. Click Batch.
4. Click Yes at the prompt to run the batch for two scenarios.
5. After computing finishes, click OK.
1. A new physical alternative will be created to contain the new pipe sizes. Click
Analysis > Alternatives. Under Physical, highlight Base Physical. Right click
and select New > Child Alternative.
1. Rename the new Child Alternative P-8 and P-9 Set to 200 mm.
g. Double click scenario P-8 and P-9 Set to 200 mm to open the Property
Editor for the scenario. Click Physical and select the P-8 and P-9 Set to 200
mm alternative.
Reporting Results
An important feature in all water distribution modeling software is the ability to
present results clearly. This lesson outlines several of Bentley WaterGEMS reporting
features, including:
For this lesson, you will use the file from the Scenario Management lesson, saved as
MyLesson3.wtg in the Lessons folder. If you did not complete this lesson, you may
use the file Lesson4.wtg.
FlexTables
When data must be entered for a large number of elements, clicking each element
and entering the data can be time consuming. FlexTable fields can be changed using
the global edit tool, or filtered to display only the desired elements. Values that are
entered into the table will be automatically updated in the model. The tables can also
be customized to contain only the desired data. Columns can be added or removed,
and the order in which they appear can be rearranged.
FlexTables are dynamic tables of input values and calculated results. White columns
are editable input values, and yellow columns are non-editable calculated values.
When data is entered into a table directly, the values in the model will be
automatically updated. These tables can be printed or copied into a spreadsheet
program.
Global Edit and Filtering are very useful tools. For example, if you decide to evaluate
how the network might operate in five years. Assume that the C factor for 5-year old
ductile iron pipe reduces from 130 to 120. It would be repetitive to go through and
edit the pipe roughness through the individual pipe Property Editors, particularly when
dealing with a large system. Instead, you will use the filter tool in this example to filter
out the PVC pipes, and then use global edit tool to change the pipe roughness on the
ductile iron pipes only.
1. Set up a new Alternative and Scenario to capture the changes to the C values.
a. Click Analysis > Alternatives. Highlight the P-8 and P-9 Set to 200 mm
Physical Alternative and click New Child Alternative.
b. Rename the new Alternative 5-yr.-old D.I.P.
c. Close the Alternatives manager.
d. Choose Analysis > Scenarios.
e. Select the P-8 and P-9 Set to 200 mm scenario.
f. Right click and select New > Child Scenario.
g. Rename the new scenario 5-yr.-old D.I.P.
h. Double-click the new scenario to open the Property Editor. Change the
Physical alternative to 5-yr.-old D.I.P.
i. Close the scenario manager.
a. Double-click on Material.
b. Click the = equal sign.
5. Use the Global Edit tool to modify all of the roughness values in the table.
a. Right-click the Hazen-Williams C column and select Global Edit.
b. Select Set from the Operation list.
c. Enter 120 into the Global Edit field.
6. To deactivate the filter, right-click on any column header and click Filter > Reset
from the menu. Click Yes to reset the filter.
7. You may also wish to edit a table by adding or removing columns.
b. Scroll through the list on the left to view the types of data available for
placement in the table. You can select an item to add or remove from the
table.
c. You can adjust the order in which the columns will be displayed by using the
d. Click Ok to save your changes or Cancel to exit the table without making
changes.
The print preview opens in a separate window, which can then be printed or
copied to the clipboard.
6. The Profile Setup opens with the selected elements appearing, in order, in the
list.
8. After you create the profile, you can make adjustments to its appearance by
To create a contour
The contouring feature in Bentley WaterGEMS enables you to generate contours for
reporting attributes such as elevation, pressure, and hydraulic grade. You can specify
the contour interval, as well as color code the contours by index values or ranges of
values. In this lesson, you will contour based on hydraulic grade elevations.
8. Click OK.
9. View the results in the drawing pane.
10. Click on the Contour Browser button to display the calculated Hydraulic Grade
as you move the cursor around in the drawing pane.
Element Symbology
When you want to label network attributes use the Annotation feature. With it, you
can control which values are displayed, how they are labeled, and how units are
expressed.
Select View > Symbology to open the Element Symbology manager if you have closed
it previously. If you are using the default workspace configuration, the Element
Symbology manager is located directly on the left side of the drawing pane.
15. Select Pressure as the Field Name to annotate. Set the Prefix to P: and the Y
Offset to 25 m. Leave everything else as is.
Color Coding
Choose View > Symbology and click the element to create the New Color Coding.
The Color Coding dialog box allows you to set the color coding for links, nodes, or
both. You will color code by velocity (link attribute) and pressure (node attribute) in
this example.
1. In the Element Symbology Manager, highlight Pipe. Right click to select New >
Color Coding
a. Select Velocity from the Field Name menu.
b. Calculate Range > Full Range so the program can calculate the full range
of velocity values for all pipes in this scenario. The minimum and maximum
fields should be populated. Leave the default Steps value to be 5.
c. Set Options to Color.
d. Click Initialize so the program selects the color coding ranges automatically
based on the Minimum, Maximum and Steps values.
2. You can add a legend to the drawing. Right-click on the Velocity color coding
and select Insert Legend from the menu. You can move the legend in the drawing
by clicking the mouse and dragging the legend.
1. In the Element Symbology Manager, highlight Junction. Right click to select
New > Color Coding
a. Select Pressure from the Field Name menu.
b. Calculate Range > Full Range. Leave the default Steps value to be 5.
c. Set Options to Color and Size
d. Click Initialize
e. Click OK to generate the Pressure Color coding.
2. Go to Home > Times and then click the Play button to observe how the pressure
and velocity change, particularly during hours 18-21.
3. Close any open dialog boxes.
Fire flows are computed at each node by iteratively assigning demands and
computing system pressures. The model assigns the fire flow demand to a node and
checks the model, checking to see if all pressure and velocity constraints are met at
that demand. If a constraint is not met, the flow is reduced until the constraint is just
met; if all constraints are exceeded, the fire flow is increased until the constraint is
barely met within a tolerance. The analysis automatically rechecks the system
pressures if a constraint is violated. Iterations continue until the constraints are met,
or until the maximum number of iterations is reached.
The purpose of this example is to walk you through the steps to create, calculate, and
analyze a fire-flow scenario. This lesson again uses the distribution system from the
previous lessons.
5. Click OK.
6. Previously, you ran an analysis with a fire flow at node J-6 by manually adding a
large demand to the individual node. Before running the automated fire flow
analysis, you will create a new Demand Alternative, removing that demand. In the
U.S., fire flows are generally added to max day demands.
a. Choose Analysis > Alternatives.
b. Expand the Demand Alternative and select Average Daily with 2000 l/min
Fire Flow. Right-click and select New > Child Alternative.
c. Right click to Rename this Alternative Base-Average Daily.
e. In the Demands tab, select the row with 2,000 Flow and 3-Hour Fire and
click
to delete it.
7. You are going to analyze the fire flows by adding to the Maximum Day Demands,
which are 1.5 times the Average Day Demands.
a. Right-click on Base-Average Daily then select New > Child Alternative.
b. Right click to Rename this Alternative Max. Day.
c. Double click to open the Max. Day alternative.Highlight the J-1 row.
Rightclick the Demand (Base) column and select Global Edit. Set the
Operation to multiply, and enter a value of 1.5.
d. Click OK.
8. Select the Fire Flow alternative and expand to select the Base-Fire Flow
Alternative.
9. Double click to set up the Base-Fire Flow Alternative.
a. In the Fire Flow (Needed) field, enter 3000 l/min.
b. In the Fire Flow (Upper Limit) field enter 6000 l/min.
c. Apply Fire Flows By should be set to Adding to Baseline Demand.
This selection means that when WaterGEMS performs the analysis, the fire flow
will be added to any demands already assigned to the junction. Alternatively, you
could have selected to replace these demands, so that the fire flow would
represent the total demand at the node.
4. Double-click the Automated Fire Flow Analysis scenario to open the Property
Editor.
a. Change the Physical Alternative to P-8 and P-9 Set to 200 mm.
b. Change the Demand to Max. Day and leave all other Alternatives set to their
defaults.
c. Close the properties dialog
5. In the Scenarios manager, make Automated Fire Flow Analysis the current
8. Double click Automated Fire Flow Analysis to open the Property Editor.
9. Change the Calculation Type to Fire Flow. Close the Calculation Options dialog.
f. Run the Automated Fire Flow Scenario by selecting Compute on the Home
or Analysis tabs, or by clicking the Compute button in the Scenario manager.
g. If you receive a prompt about running Fire Flow Calculations in parallel,
click OK. This option enables the user to choose (or not) hyperthreading in an
attempt to make the fire flow runs faster..
In the Satisfies Fire Flow Constraints column, all of the boxes are checked except
for the nodes that you did not analyze, because the specified needed flow of 3000
l/min. was available and minimum pressures were exceeded.
For nodes J-1 and J-3, pressures were computed for the Fire Flow Upper Limit of
6000 l/min. because none of the node pressures ever dropped below specified
minimum pressures and no velocity constraint was specified.
Nodes J-2 and J-4 reached their minimum residual pressures at flows slightly
below the maximum of 6000 l/min.
The report contains the Minimum System Pressure (excluding the current node
being flowed) and its location.
3. Click Analysis > Fire Flow Results > Fire Flow Results
The Fire Flow Results Browser reports whether each of the fire flow nodes satisfies
constraints or not. It also allows you to jump to fire flow nodes and display the
results of fire flow analysis at the highlighted node if you have specified Auxiliary
Output options in the Fire Flow Alternative settings.
When you are finished reviewing the report, Close the Fire Flow Report and save
your file.
This lesson uses the file called Lesson6.wtg located in the Lessons folder.
5. Click OK.
The water distribution system has already been set up for you. It has one reservoir and
one tank. The system serves primarily residential areas, with some commercial water
use as well. There are two pumps connected to the reservoir. However, under normal
conditions, only one pump will be in use. A background drawing has been included
for reference.
If you would like to turn off the .DXF background, clear the background check box
in the Background Layers pane.(View > Backgrounds)
2. Select Age Alternative and click New to create a new age alternative.
3. Name the new alternative Initial Age = 0. Since you are assuming an initial age
of 0 everywhere in the system, you do not need to enter any initial ages.
c. Double-click on the new scenario to open the Property Editor. In the Age
Alternative field select Initial Age = 0, from the drop-down menu.
e. Click Analysis > Options and double click Existing - Avg Day to view the
settings for this Scenario. Extended Period Analysis (EPS) should already be
selected as the Time Analysis Type.
f. Set the Calculation Type to Age
g. Enter a Start Time of 12:00:00 AM.
h. Set a Duration of 336 hours.
i. Set a Hydraulic Time Step of 1 hour.
6. Click Compute and then close the Calculation Summary and Scenarios
Manager.
7. Select View > Symbology to open the Element Symbology manager. If you are
using the default workspace configuration, the Element Symbology manager is
located directly on the left side of the drawing pane.
8. Right-click on Pipe and select New > Color Coding
9. Select Age (Calculated) as the Field Name.
10. Click Calculate Range and Select Full Range..
11. Click Initialize to set up a default color scheme. Accept this default scheme.
If you get a message about Bentley WaterGEMS being unable to determine the
limits for mapping, make sure that Age Analysis is selected in the Scenario
dropdown list, in the toolbar.
12. Click Apply.
16. Go to Analysis > Times and click the play button to see how water ages in the
system.
17. A good way to check if your network has had sufficient time to reach an
equilibrium point is to look at Age vs. Time graphs for your elements.
c. Click OK.
From the graph, you can see that once a repeating pattern is reached, the age
of the water fluctuates between approximately 37 and 52 hours in 24-hour
periods. Looking at these equilibrium ranges for various nodes can help
guide you in setting up initial water age values in subsequent runs.
4. Click the Ellipsis (…) next to the Constituent drop-down menu to open the
Constituents manager.
5. Make sure that the Chlorine Label is highlighted, and enter the data below in that
dialog box.
Label Chlorine
6. Leave the Unlimited Concentration check box selected, and click OK.
7. Click Close to exit the Constituent Library. You should now be back in the
Constituent Alternative Editor.
8. Select Chlorine from the Constituent list box.
9. On the same Chlorine Injection editor window, go to the PRV and Pump tabs
and set the Concentration (Initial) for each to 1 mg/l.
10. Click the Junction tab, and initialize the chlorine concentrations by entering a
value of 1 mg/l at each junction node. (Right-click the column heading and use
Global Edit to set the Concentration (Initial) fields.)
11. In the Reservoir tab, enter a Concentration (Initial) value of 2.0 mg/l for the
reservoir.
12. Set the tank’s Concentration (Initial) to 0.5 mg/l.
13. Close the Editor and the Alternatives Manager.
14. Now, open the Scenario Manager (Analysis > Scenarios) and set up a new
Scenario in order to run the Constituent Analysis.
a. Create a new Child off of the Existing - Avg Day Scenario by highlighting it
and clicking New > Child Scenario.
b. Enter Chlorine Analysis as the new scenario name.
c. Double click the newly created Chlorine Analysis scenario to open its
Property Editor. In the Constituent Alternative dropdown, select Chlorine
Injection.
15. Click Analysis > Options. Double-click Existing - Avg Day to open the Property
Editor and set the Calculation Type field to Constituent.
5. In the Trace Element list box, select the tank, T-1. (click the ellipsis button to
select it from the drawing).
6. Close the editor.
7. Close the Alternatives Manager.
8. Next, set up a new scenario to run an Extended Period Simulation incorporating
the new alternative.
a. Select Analysis > Scenarios.
b. Create a new child for the Existing - Avg Day Scenario by highlighting it and
clicking New > Child Scenario.
c. Enter Trace Analysis as the new scenario name.
d. Double-click the new scenario to open the Property Editor. Change the Trace
Alternative to Trace Analysis for Tank.
6. In the Darwin Designer window, click New > New Designer Study.
7. Highlight the new design and click the Rename button. Enter Tunnel Expansion
Project.
8. In the Design Events tab Select Optimization Base as the representative scenario
in the drop-down list.
b. Create a new selection set containing all of the junctions in the model. Click
View > Selection Sets.
c. Click New > Create From Query.
i. In the table in the upper right of the Designer dialog, set the Minimum
Pressure (Default) value to 110.33 psi (HGL = 255 ft.).
j. In the table in the upper right of the Designer dialog, set the Maximum
Pressure (Default) value to 1000 psi. For this example, maximum pressure is
not a consideration, so if you set it to a high value it won’t affect the
calculations.
14. Click Select Elements for Design Group button . This button lets you
automatically create one design group for each pipe in the network or for a
particular set of pipes.
a. In the Selection Sets drop-down list, select Parallel Pipes for Optimization.
This highlights a selection set containing a specific subset of the pipes in
your network.
b. Click OK.
15. Add an option group for your optimization.
a. Click the Cost/Properties tab.
b. Highlight New Pipe in the tree-view.
c. Click New > Design Option Groups.
d. Name the new table New Pipe Sizes
e. Type the following pipe material, size, roughness coefficient, and cost:
17. Select the design event you want to use, Required Pressures, by clicking the
Active check box.
GA Parameter Value
Population Size 50
c. Set the Top Solutions, Solutions to Keep to 3. This sets how many results
will be available as results (see Step 2: Viewing Results later in the lesson).
• Fitness—In this case, you were calculating based on cost. So, the best fitness is
the least costly solution that the GA (Genetic Algorithm) found.
• Cost ($)—The lowest cost found by the calculation displays here.
• Benefit—Measured pressure improvement in the network. This is 0 because the
lesson only considers cost and not pressure benefit.
• Violation—The largest violation of established pressure and flow boundaries,
such as maximum or minimum pressures, displays here. If there were a violation,
you would use the results area Pressure and/or Flow tabs (in the results pane of the
main Darwin Designer window) to look for the actual violations.
• Generations—The maximum value for generations is determined by the
Maximum Era Number and Era Generation Number you set in the Options > GA
Parameters. The actual number of generations that get calculated depend on the
Options > Stopping Criteria you set.
• Trials—The maximum value for trials is determined by what you set in Options >
Stopping Criteria. Note that you can set a number larger than (Maximum Era
Number)*(Era Generation Number)*(Population Size), but calculations beyond
that number (for this example, the value is 45,000) are less likely to produce
significant improvements.
Also, note that the Messages tab might report you exceeded the maximum number
of trials. This is usually because Darwin Designer must complete all of the
generations before ending a trial, so it is possible that completing generations will
cause a few excess trials to be calculated.
21. After the calculation is finished, click Close to close the Darwin Designer Run
1. From the hierarchy pane, you can click on the Solutions folder or any of the
individual solutions for more detail. Select the solution you want to see: Solution
1.
You can click the Graph button to view the solutions plotted; each solution is
color coded; use the color code as a key when viewing graphs.
2. In the Solutions tab, if you scroll down, you can see there are seven pipes that
changed from the default. These are the pipes that Darwin added to the scenario
to provide the optimal solution:
3. The Rehabilitation Groups and Flow results under the Simulated Results tab are
empty because this lesson does not use those.
4. Click the Pressure results under the Simulated Results tab. This displays the
maximum and minimum pressure constraints you set on the junctions and the
actual pressures calculated by Darwin Designer.
1. Solution 1 clearly provides the least expensive solution. Export the solution to
Bentley WaterGEMS so you can use it.
b. Click the Export to Scenario button . The Export Design to Scenario dialog
box opens.
c. Select all check boxes to export to the various alternatives.
d. Name the scenarios you want to export, such as Optimized Design - 1. The
name you choose must be unique; there cannot already exist a scenario with
the same name.
e. Click OK.
2. Close Darwin Designer.
3. In Bentley WaterGEMS, select the scenario you exported from the Scenario
dropdown list. Notice the parallel pipes that have been added to the base network.
These are the pipes that meet the optimized design calculated by Darwin
Designer.
• New pipes to be sized are pipes 54, 68, 70, 72, 74, 76.
• Old pipes need to be rehabilitated by applying possible actions including cleaning
pipe, relining pipe, and leaving the pipe as it is (no action or do nothing to a pipe).
Getting Started
1. Browse to the Designer folder (in the WaterGEMS Samples directory) and open
DesignerSample2.wtg.
2. Click OK to the message dialog that comes up about CONNECTED Projects.
3. Go to File > Save As. Name the file DesignerSample2Solution
4. If needed, select Existing System from the Scenario drop-down list. This displays
the current network.
Notice that the Existing scenario comprises two types of pipe:
– In green, there are older pipes, perhaps representing an old downtown
section
– In purple, there are newer pipes, perhaps representing newer additions to
the water supply network.
Note: The Future conditions portion of the model may display in gray
for you. You can control visibility of inactive elements by
toggling the "Display inactive topology" setting under Tools >
More > Options > Global
5. Click Compute to calculate the system pressures and tank levels for the Existing
Condition.
If you want, you can inspect the pressures and tank volumes, but the purpose for
calculating this condition was for a tank level comparison between the Existing
and Future Condition scenarios in a later step.
8. Click Compute to calculate the system pressures and tank levels for the Future
Condition.
9. Close the Calculation Summary and User Notifications windows.
10. Review the pressure at junctions using color coding.
a. Click View > Symbology. By default, Symbology is docked on the left hand
side of the drawing pane. Right-click on Junction in the list and select New >
Color Coding. The Color Coding dialog box opens.
b. Set the Field Name to Pressure.
c. Click the Calculate Range button and select Quick Range. This gives you a
quick glance at the pressure ranges for this scenario.
d. In the Color Maps section, click the New button. Set the Value <= for this
first row to 45 psi and the Color to Red. Create 3 more rows using the
following data:
Value <= Color
70 Blue
100 Magenta
130 Green
For this lesson, one objective is to keep the junction pressures above 45psi. So, when
you run the animation, watch for red junctions which indicate unacceptably low
pressure.
11. Run an animation to see what happens in the network over the course of 24 hours.
a. Click Analysis > Times .
b. Click Play to run the animation.
c. Notice, at hour 6 there is a low pressure junction and by hour 12, most of the
junctions are showing a low pressure.
d. Click OK
e. Notice that by hour 11, Tank 165 is empty and does not refill.
With that in mind, you would create a parallel pipe option for all existing pipes. This
parallel pipe option should include a variety of sizes so Darwin Designer has
flexibility to choose the most efficient size. Additionally, the pipe sizes must include a
0 diameter, which lets Darwin Designer calculate the efficiency of the system with the
pipe absent (without installing the parallel pipe). There are four options in this tutorial
for existing pipe:
d. In the Select toolbar, click the Query button and select Network >
10. Click the Cost/Properties tab. Create two design option groups and one
rehabilitation option group..
d. Create a second design costs table. (You can duplicate the table you just
created and delete the row for 0 diameter.) This table is the same as the first
one except it does not have a pipe diameter of 0 and is used for new pipes.
New pipes must have a minimum diameter because their existence is a
requirement, unlike the parallel pipes.
11. Create a single rehabilitation option groups table containing three actions: Clean,
Relining, and Do Nothing. A do-nothing action is necessary so Darwin Designer
can consider not rehabilitating some pipes. Each of these actions must reference
three functions, one for each column in the table.
12. Click New > Rehabilitation Option Groups to create a new rehabilitation
option table.
a. Rename the table Rehab Cost Table - 1.
b. Type the name of an action you want to create, such as Clean.
c. Click the cell under Pre-Rehabilitation Diameter Vs. Post-Rehabilitation
Diameter and click the Ellipsis (…) button to create a new function. The
Rehabilitation Functions manager opens.
d. Click New > New Pre-Rehabilitation Diameter Vs. Post-Rehabilitation
Diameter Function.
e. Name the function, Function - 0.
f. Enter your diameter data (inside pipe diameter) into the table on the right
side of the dialog. We recommend you include all the diameters of pipe in
the table. (If you do not, Darwin Designer will use interpolation to calculate
the diameters you do not include.) In this case, the function does not change
the diameter of any pipes.
Pre-Rehabilitation Post-
Diameter (in.) Rehabilitation
Diameter (in.)
6 6
8 8
10 10
12 12
14 14
16 16
18 18
20 20
13. In the Rehabilitation Function Manager, click New > Pre-Rehabilitation Vs.
Post-Rehabilitation Unit Cost.
a. Rename it Function - 1.
b. Enter the data for pipe diameter and unit cost as follows:
6 17.00
8 17.00
10 17.00
12 17.00
14 18.20
16 19.80
18 21.60
20 23.50
30 25.50
6 130
8 130
10 130
12 130
14 130
16 130
18 130
20 130
15. Create another Function called Cost Function - Reline. This is the cost for
relining pipes. Use these values:
6 26.20
8 27.80
10 34.10
12 41.40
14 50.20
16 58.50
18 66.20
20 76.80
24 109.20
30 142.50
16. Create a final function called Cost Function - Do Nothing. This function is
required if you need Darwin Designer to consider not rehabilitating an existing
pipe as an option.
6 0.00
8 0.00
10 0.00
12 0.00
14 0.00
16 0.00
18 0.00
20 0.00
24 0.00
30 0.00
17. The Rehabilitation Functions manager should now look like this:
22. Click the Design Type tab to set the genetic algorithm parameters. Set the
Objective Type to Minimize Cost. You are not considering any benefits to
increasing system flow or pressure.
1. Right-click the Design and Rehabilitation design run in the left pane, and select
New > New Optimized Design Run.
8. Click the Options tab to set the GA parameters for the optimization.
– Under Stopping Criteria, set Maximum Trials to 100000.
– Under Top Solutions, set Solutions to Keep to 5.
1. Click Compute. A dialog box opens that displays the progress and certain
statistics of the calculation.
2. After the calculation is complete, click Close. (If the calculation did not complete
successfully, you would check the Messages tab.)
Under the Solutions folder you see five solutions numbered 1 through 5 These are
the five top solutions Darwin Designer has calculated. Highlight the Solutions
folder to display a summary of each of the top solutions.
3. Export the solutions to your model, so you can review tank levels.
Note that the optimization calculations consider your pressure requirements (that
pressure be greater than 45 psi) but not your tank levels.
a. Highlight Solution 1
4. Close Darwin Designer so you can review the solutions you exported.
5. Click Analysis > Scenarios to open the Scenarios manager. .
6. Compute the scenarios you exported in a batch run. This lets you graph those
results and look at what is happening with your tank levels.
a. Click the black down arrow next to the compute button at the top of the
scenario manager and choose Batch Run.
b. Select the Scenarios you want to run. (Design Run - 1 - 1, Design Run - 1 - 2,
Design Run - 1 - 3, Design Run - 1 - 4, and Design Run - 1 - 5).
c. Click Batch, click Yes in the prompt, and close the message boxes that
appear before and after the calculations.
d. After the batch run finishes, close the Scenarios manager and the User
Notifications dialogs.
7. You will use graphing to inspect your tank levels. Click View > Graphs
e. Click the New button and select Line Series Graph. A Select toolbar
appears to allow you to select the elements you want to graph from the
drawing view. Click on both tanks, then select Done.
f. In the Scenarios list of the Series Options dialog, check the boxes next to the
Design Run - 1 - 1, Design Run - 1 - 2, Design Run - 1 - 3, Design Run - 1
- 4, Design Run - 1 - 5, and Future Condition scenarios (uncheck Optimized
Base if it is checked).
g. In the Fields list make sure Hydraulic Grade or Level (Calculated) is
selected.
h. Click OK
i. Review the graph. Notice that each of the design runs are able to keep the
tanks full.
j. While all of the design runs do keep the tanks full, Solution 1 is the best
optimal solution that meets your pressure and tank fill requirements while
minimizing costs.
8. Close the Graph window.
9. In the Scenario drop-down list, choose Design Run - 1-1, which represents
Solution 1 that Darwin Designer calculated. From looking at the results in the
graph, you know this solution keeps your tanks full.
10. Inspect your tank pressure by animating the scenario over 24 hours. Click
Analysis > Times. Click Play.
11. Make sure none of the junctions is red during the animation.
12. Inspect a graph of junction pressures.
a. Click Home > Select by Element > Junction to select all of the junctions.
b. Right-click one of the junctions and select Graph. Click Yes to the prompt
asking if you want to graph all of the selected elements.
c. In the Series Options dialog, uncheck the Hydraulic Grade Field and check
the Pressure box.
d. Click OK.
The Graph dialog box opens and displays pressures for the junctions you selected.
Note that none of the junctions fall below 45 psi.
Darwin Designer computed Solution 1 to be the most optimal solution, meaning the
least costly, and it also kept the tanks full. You also verified that Solution 1 was able
to maintain pressures above 45 psi.
Notice that the pump reaches 100% full speed several times.
5. Close the graph. In the Graphs manager, double-click the Tank Levels graph
.
The tanks fill gradually during this run and empty slightly quicker when the
main PUMP cycles off.
6. Close the graph.
7. In the Graphs manager, double-click the Pump Graphs.
You can see the relative flow of the main pump and the booster bump.
8. Close the graph and the Graphs manager.
9. Save the file as MyLesson9.wtg
12 0.15
21 0.10
24 0.10
4. Click Close.
5. In the Scenario Energy Cost manager, select EPS from the Scenario menu.
6. In the Pumps tab, check the Include in Energy Calculation? boxes for each of
the pumps. Select Energy Pricing -1 in the Energy Pricing column for all pumps.
7. Click the Tanks tab. Make sure the Include in Energy Calculation? boxes are
checked for both tanks.
The efficiency of the constant speed pump is higher than the variable speed
pump whenever it is on. The cost per volume pumped is comparable since the
PUMP usually pumps against a higher head. In order to view the head attribute,
click on Series Options and check the Pump Head box under the Results folder.
5. PUMP pumped into a pressure zone that required a higher pump head.
6. Click the Add to Graph Manager button to save the graph, enter a name and
click OK, and then close the graph window.
To use PDD
1. Set up a model.
2. Create a PDD function.
3. Create a scenario that assigns a PDD function to an alternative.
4. Run the scenario.
This lesson uses the example of a neighborhood that receives water from two sources,
reservoirs that are near and far and both have a hydraulic grade of 150 ft. In this
lesson, you will simulate the system without considering PDD and all elements
operating. Then the analysis will be run with PDD. In order to simulate a situation
where pressure significantly drops, the Near source is taken out of service and the
behavior with and without consideration of PDD is made.
The starter file consists of a model with two non-PDD scenarios, SteadyNoPDD and
EPSNoPDD. The demands have been loaded and the diurnal demand function has
been created.
4. The Near source is on the left and the Far source is on the right.
6. Compute the model and make sure results are green, then close the Calculation
Summary.
7. Click Report > Junction.
10. Compute the scenario , make sure results are green, then close the Calculation
Summary.
11. In the drawing, hold the <Ctrl> key and click the Near reservoir, then the Far
reservoir, and then right-click and select Graph.
12. Uncheck Hydraulic Grade, then check Flow (Out net) and then click OK to
view the graph.
13. Click Add to Graph Manager to save the graph and name it SourceFlow.
6. Click Close.
7. In the Scenarios manager, make sure the EPS-PDD scenario is current, then click
Compute.
8. Review the calculation summary and then close it.
9. Review the results by plotting a graph of flow vs. time. Choose View > Graphs
and double-click on SourceFlow graph.
10. Click Series Options and check both EPSNoPDD and EPS-PDD Scenarios
and then OK.
There are four lines on the graph but only two are visible. This is because the lines
for both scenarios are identical.
11. Click the Data tab to see that the pressure did not drop below the reference
pressure during the run.
1. Click Analysis > Alternatives . Expand the Initial Settings Alternative node and
right-click the Base Initial Settings Alternative. Select New > Child
Alternative.
2. Rename to Near Tank Out
.
3. Double-click on Near Tank Out and change the status of P-2 to closed. When
the status has been changed to Closed a check shows in the first column to show
that it is different from its parent.
6. Double-click the new scenario to open the scenario Property Editor. Change the
Initial Alternative to Near Tank Out and then close the Property Editor.
7. Make the TankOutNoPDD the current scenario and then click Compute.
10. In Series Options check the boxes for the EPSNoPDD and TankOutNoPDD
scenarios. Check the box next to the Pressure field (Hydraulic Grade is checked
by default; leave it checked) and click OK.
When the Near Tank is out of service there is a significant drop in pressure.
11. Examine the effect of the drop in pressure on Demand. Click the Series Options
button. In the Graph Series Options manager check Demand and then OK.
12. The demand did not change with pressure because it is not a PDD run, demand is
independent of pressure, so there is a single line for Demand. Notice that when
flow increases due to the time of day, there is not a corresponding drop in flow
because of pressure drop.
13. Click the Add to Graph Manager button, rename the graph as Pressure
Demand J-12 and click OK.
14. Close the graph.
2. Right-click EPSPDD and select New > Child Scenario. Rename the new
scenario TankOutPDD.
3. Double-click on TankOutPDD to open the scenario Property Editor. 4. Set
the Initial Settings alternative to Near Tank Out
5. Close the Property Editor and make the TankOutPDD scenario current.
6. Compute the scenario, review the calculation summary, and close it.
7. Click View > Graphs and open the Pressure Demand J-12 graph.
8. Click the Series Options button and check TankOutPDD in the list of
Scenarios, uncheck Hydraulic Grade in the list of Fields, and then click OK.
9. When PDD is used, the demand decreases when the pressure drops, so the overall
pressure drop is not as great as when the pressure dependency of demands is
ignored.
7. Manually modify the ranges, color and size fields to look like the following
example. The colors, in order of appearance are: Red, Magenta, Yellow, Green,
and Royal Blue. Change the sizes to 3, 3, 2, 2, and 1 respectively.
8. Click OK.
9. Click Analysis > Times and click Play . Observe how the colors and pressures
change over the course of a day. Then click Pause . 10. Switch to the
TankOutPDD scenario.
13. Pause the animation and click View > Backgrounds and check the
PDDBackground box.
.
This lesson assumes that you have already constructed a model that has isolating
valves and that these valves reference pipes and pressure dependent demand functions
that have been set up.
4. Use Pan to look at the placement of isolation valves (or hold the middle mouse
button to pan)
5. Click Home > Find Element (The top section of the Property Editor
contains the Find Element tool). Type J-11 in the field and then click Find.
a. Click View > Queries. Under Queries - Predefined, expand the Network
Review folder and double-click Orphaned Isolation Valves.
b. All valves are assigned, however if the query turned up orphaned valves
then you could delete the isolation valve, leave it orphaned, or select the valve
and choose the Referenced Pipe option in the valve Property Editor and select the
pipe where the valve is located.
7. Close the queries manager and the Property Editor.
2. In the Options tab, verify that Consider Valves? is checked and that Always
Use is selected in the Isolation Valve field.
3. Click New. In the Add Scenario dialog, check Avg. Daily Demand and click
OK.
5. Click Compute to perform the segmentation analysis, and click Yes at the
prompt.
Label - List of segments that were identified in the analysis. If Consider Valves?
was not checked, there is one pipe per segment and the label of the pipe is listed
next to the segment name. In this case, Consider Valves? was checked so the
segments consist of a variety of pipes and nodes.
6. Click Highlight Segments to view the color coded segments in the drawing.
The segments at the top of the list usually prove to be the most difficult to isolate
and may require investigation to make them less susceptible to issues that arise
due to an inoperative valve.
1. Click on Outage Segments and then Compute.. Click Yes at the prompt.
2. Right-click on Outage Set Length > Sort > Sort Descending to find out which
segments have outages that will cause significant downstream outages.
3. Select the Outage Segment with the highest Outage Set Length from the Label
column. Click Highlight Segments to view the color coded segments in the
drawing.
4. View the drawing to see that the pipe with the highest Outage Set Length is in
blue and the downstream outage segments that will be out of service are in red.
1. Select Criticality and make sure Run Hydraulic Engine? is unchecked. Then
click Compute .
2. Right-click on the System Demand Shortfall % column and then Sort > Sort
Descending.
3. Select the segment with the highest System Demand Shortfall from the Label
list and then click Zoom to Segments .
4. Now run a criticality analysis that uses the hydraulic network engine to
determine the impact of segment outages. Check the Run Hydraulic Engine box
and click
Compute .
The System Demand Shortfall % are the same as the run without hydraulic
calculations. This is because the flows are delivered to all nodes that are
connected regardless of the pressure.
In order to make these calculations, the demand in the system must be modeled using
pressure dependent demands (PDD).
1. Close the criticality manager and click Components > More > Pressure
Dependent Demand Functions.
2. Set the Pressure Threshold to 40 psi and then close the PDD Function manager.
9. Select AveDayPDD and click Compute .. Click Yes in the prompt that appears.
The segmentation results are the same as the first scenario because the same
valving is used.
10. Select Criticality below AveDayPDD and check Run Hydraulic Engine? and
click Compute .
11. Right click on the System Demand Shortfall column and select Sort > Sort
Descending.
Notice that the shortfalls have increased over the previous runs because the runs
that incorporate PDD account for the impact on nodes that receive water but at a
lower pressure than under normal circumstances.
12. Close the Criticality manager.
Flushing
In this Quick Start lesson, you will set up and run a series of conventional flushes (no
valve operation) and one unidirectional flush.
2. Pick Avg. Daily Demand as the Representative Scenario in the right pane.
3. In the left pane, highlight Base Flushing, pick the Rename button (third from left
on top) and change the name to Conventional.
4. In the right pane, create a pipe set for which you will calculate flushing properties
by picking the ellipsis button next to Pipe Set, and Select From Drawing. Select
the pipes shown below. (It may be necessary to zoom in to some of the shorter
pipes to select them.)
11. Run the 8 events in sequence by clicking the Compute button. Close the
Calculation Summary.
12. To check the results, open the Flushing Results Browser by clicking Analysis,
then click the down arrow below Flushing and select Flushing Results Browser.
13. Close this Browser and open the Flushing Area Report by clicking Analysis, then
click the down arrow below Flushing and select Flushing Area Report.
14. Right click on the Velocity Maximum Flushing column and Sort > Descending.
This table shows the Velocity and Shear Stress for the pipes in the Pipe Set.
All 24 pipes in this conventional flushing study exceeded the Target Velocity of
1.5 ft/s.
1. Highlight Flushing study in the left pane, right-click and Select Add > New
Area
2. Rename the new area Uni-SW.
3. Pick Avg. Daily Demand as the Representative Scenario, set the Emitter
coefficient to 150 and create the Pipe Set as shown below:
4. Click the green check mark and view the Pipe set.
5. Click OK.
6. Right-click on Uni-SW in the left pane. Select Add > New Unidirectional
Event.
7. In the Select dialog that comes up, click the Add Operational Elements button
. Then pick the valves ISO-34, ISO-35, ISO-36 and ISO-37 to close and
hydrant H-5 to flow as shown below:
8. After picking the elements and clicking the green check mark, review the list of
elements to be operated. Feel free to add some descriptive notes to the elements to
be operated.
9. Identify the pipes to be part of the Pipe Run by picking the Select from Drawing
button on the right pane.
10. In the Select dialog that comes up, click the Add Pipe Run Elements button
. Then pick the pipes P-5, P-6 and P-9 as shown below: Once again, it may be
desirable to use the mouse wheel to zoom in to the shorter pipes.
11. With all of the elements identified, select the Compute button. Click Yes to the
Compute Single Flushing Event prompt.
12. Once the run is complete, open the Flushing Results Browser by clicking the
down arrow to the right of Compute and selecting Show Flushing Results
Browser. and view the results
13. Make sure the whole row for the event is highlighted (as shown above), then click
the highlight button (second from left) and view the event in the drawing.
Notice that the velocity in Pipes P-5, P-6 and P-9 exceeds 8 ft/s.
16. Click the down arrow next to Field Report and select Flushing Area Field
Report (“Uni-SW”).
A report is generated including a map of the area and a tabular description of the
event indicating which elements to operate.
You performed a conventional flushing analysis (no valve operation required) and
confirmed that all pipes in the area of interest met a minimum velocity of 1.5 ft/s. A
second, Uni-directional flushing analysis, was performed to evaluate the increase in
velocity for a run of pipes (P-5, P-6, P-9) in the same area. Four valves were closed
and hydrant H-5 was flushed. Velocity for those pipes increased to over 8 ft/s.
The SCADA data is stored in the Excel file SCADA1.xls in the Lessons folder.
1. Open the SCADA1.xls file to view its format, which is called multiple rows per
record. Each record contains a time stamp (24 hour format), pump flow and tank
hydraulic grade. In case you don’t want to open Excel file, the first few rows of
the file look like this.:
6. Pick Scenario EPS48 and Compute. View the calculation summary graph by
clicking on the Graph button at the top of the Calculation Summary dialog (third
button on top of calculation summary). It should look like this.
7. Review the data then close the Calculation Summary graph, and Calculation
Summary.
9. Click Select SCADA Signals to identify which SCADA signals you want to use.
In this case it is both values. Add them by clicking on each of them.
3. You have now imported the data. You must now associate that data with a model
element using a SCADA signal element. Click OK.
2. Make sure the labels in your model match the labels in this lesson.
3. Associate the signals to the pump using the SE-1 Property Editor as
shown below, by double clicking on SE-1"
– Model Element: PMP-1
– Field: Flow
– Historical Signal: PMP-1 - EPS48 - Flow (Total) (L/s)
– Active Alarm: None
4. Associate the signals to the tank using the SE-2 Property Editor as shown below:
– Model Element: T-1
– Field: Hydraulic Grade
– Historical Signal: T-1 - EPS48 - Hydraulic Grade (m)
– Active Alarm: None
3. Note that the SCADA values (points) compare well with the calculated model
results (lines).
1. Start WaterGEMS and open the file SCADASimStart.wtg in the Lessons folder. It should look
like the model below.
4. Change the existing EPS48 scenario into a SCADAConnect simulator scenario by selecting
Analysis > Options > EPS48. Change the Calculation Type to SCADAConnect Simulator,
then close the Property Editor, and Calculation Options manager.
6. Run a normal day by selecting the Compute button on the EPS48 Baseline
Scenario.
7. The graph of the Calculation Summary (third button on top of Calculation
Summary) should look like this.
2. Select junction J-4 from the drawing and complete the dialog as shown below.
3. Click OK.
7. After the run, select View > Graphs and create a New graph. Select PMP-1,
PMP-2 and T-1 from the drawing. Click the green check mark to complete the
selection. Leave the default graph fields (Flow for Pumps and HGL for Tanks)
and click OK.
8. The graph will look like this.
Notice that the HGL in the tank will drop very low, near the tank bottom at 100 m.
9. Close the graph and Graphs Manager.This graph will be automatically saved as
Graph -1.
You would like to prevent the tank level from dropping this low. To do this, you will
turn on pump PMP-2 at ll:00 am and leave it on during the fire. To do this, you will
need to override the pump control for PMP-2.
13. Click Compute. Review any user notifications, then close User Notifications
and Calculation Summary.
14. Look again at the previously created graph. View > Graphs > Graph -1.
With PMP-2 running, the water level in T-1 stays in a reasonable range as shown in
the graph.