You are on page 1of 104

Practice Workbook

This workbook is designed for use in live instructor-led training and for OnDemand self-study.

WaterGEMS for ArcMap 10.6

CONNECT Edition (10.00.02.01)

Ask an Expert
If you have questions while taking this course, click the button below to submit them to the OpenFlows Forum on
Bentley Communities where peers and Bentley subject matter experts are available to help.

DO NOT DISTRIBUTE – Printing for student use is permitted


Viewing a Geodatabase in ArcCatalog

This section will walk you through reviewing a geodatabse in ArcCatalog to get you familiar with the data inside the files you will be working
with.
1. Open ArcCatalog using the icon on the desktop or from Start > All Programs ArcGIS > ArcCatalog.
2. Navigate to C:\Bentley Workshop\WaterDistGIS\ModelBuilder folder.
3. Highlight the ModelBuilder folder by clicking the plus sign next to it, and you can view the Geo-database:
ModelBuilderStarterGIS.mdb that is available.
4. Double click the feature dataset Network and you should see the three feature classes: Pipes, Accessories, and Tanks.

5. Select Pipes and click the Preview tab at the top of the right pane.

Note: The folder names to the actual files in the screenshots might be different from the ones listed in these steps.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 2
6. With the preview tab still selected, go to the bottom of the right pane which indicates whether you are previewing Geography or a
Table and select Table.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 3
7. Review the Table and Geography preview for Accessories and Tanks feature classes as well.
ArcCatalog is useful for viewing or managing GIS information, but is not used for data processing with WaterGEMS.
8. Close ArcCatalog and open ArcMap.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 4
Opening ArcMap and adding a WaterGEMS Project

This section will show you how to startup ArcMap and add a new WaterGEMS project to a new empty map. You will also learn how to attach
a Geodatabase to a WaterGEMS project.

1. When ArcMap has opened, the opening dialog should indicate you are starting with a new empty map, click OK.

2. Add WaterGEMS’s toolbar to interface selecting Customize > Toolbars > WaterGEMS Layout Toolbar

3. Activate WaterGEMS by selecting Bentley WaterGEMS in the toolbar and select File > Add New Hydraulic Model

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 5
4. Browse to C:\Bentley Workshop\WaterDistGIS\ModelBuilder folder and input the file name: ModelBuilder and select Save.
The Attach Geodatabase window will appear.

5. Click the Geodatabase Open button in the upper right corner of the dialog window and input the save file name for the database:
ModelBuilderGeoStarter.
6. Click Save and then click OK to exit out of Attach Geodatabase window.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 6
Note: Note that the new Geodatabase to be attached and the WaterGEMS database have to be different files (.mdb) unlike previous versions
of WaterGEMS.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 7
Creating a ModelBuilder Connection in ArcMap

In these next exercises you will walk through, step-by-step, the process of creating a model from GIS data using ModelBuilder.
1. Start ModelBuilder by clicking Bentley WaterGEMS > Tools > ModelBuilder on the toolbar.
The empty ModelBuilder dialog will appear.

2. Create a new ModelBuilder Connection and bring up the ModelBuilder Wizard by clicking the New button.
3. Click the down arrow for Select a Data Source type and scroll down to select ArcGIS Geodatabase Features.
4. Select the Browse button next to Select your Data Source, and navigate to the C:\Bentley Workshop\WaterDistGIS\ModelBuilder
folder.
5. Double click on ModelBuilderStarterGIS.mdb and select the Network feature dataset and click Open.
Note: The three feature classes – Pipes, Accessories and Tanks will be displayed.
6. Select all three using the shift key on your keyboard along with the left mouse button, and then click Open.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 8
Now you will see the available elements in the left pane. They will all be checked.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 9
7. Check the Show Preview box and you will see the type of data available with each table in the right pane.
8. Highlight the feature class you would like to view in the left pane and the table will be displayed in the right pane.
9. Look through the feature classes to see the types of data contained in each table.
10. Select the Next button to view the Specify Spatial Options dialog.
11. Specify feet as the Coordinate Unit of the data.
12. Uncheck Create nodes if none found at pipe endpoint.

13. Click Next twice to get to the Specify additional options step.
14. Keep the defaults on this step making sure the Label is selected for the key field.
Note: Since this is a new file we are building we want to import the data to the Current Scenario as we do not have an existing scenario to
create a child scenario from.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 10
Note: Note that this new version of WaterGEMS allows for the use of GIS-ID for the key field to use during object mapping. This means that
for models that you plan to keep in sync with your GIS over a period of time the process of doing so will be much easier and smoother. You
can view the GIS-ID Property information in the WaterGEMS Help for further information.
15. Click Next.
Now you are in the window where you must map the GIS attributes to model attributes.
16. Select the Accessories table in the left pane and select the Settings tab in the right and set the following:
Table Type: Junction
Key Fields: Label
X Field and Y Field: <auto>

17. On the bottom half of the screen select Elevation and then select Elevation from the Property menu and ft from the Unit menu.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 11
18. Select the Pipes table in the left pane and select the following:
Table Type: Pipe
Key Fields: Label
Start: and Stop: <none>
19. Highlight Diameter under the Field column and select Diameter from the Property menu.
20. Select in from the Unit menu.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 12
21. Select the Tanks table in the left pane and select the following:
Table Type: Tank
Key Fields: Label
X Field: and Y Field: <auto>
22. Select Diameter in the Field column, select Diameter from the Property menu, and ft from the Unit menu.
23. Select Ground_Elevation in the Field column and select Elevation (Base) from the Property menu, and ft in the Unit menu.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 13
24. Click Next twice
25. Upon clicking next, you will see the following window.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 14
26. Select Yes to build the model and then click Finish.
27. Click Yes on the dialog shown below:

28. After ModelBuilder has run, the summary will state that it was unable to create pipes due to missing topology.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 15
29. Select the Messages tab and you will see that the pipes could not find their start and stop nodes.

30. To resolve this issue, go back into ModelBuilder and let it resolve the topology based on the proximity of nodes to the pipe ends.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 16
Resolving connectivity issues in ModelBuilder

1. Close out of the summary.

2. Back in the ModelBuilder Connection dialog, select the Duplicate button to make a copy of the existing connection.

3. With the copy, ModelBuilderStarterGIS(1), highlighted, select the Edit button


Note: You will be back at the Data Source selection step.
4. The data sources are already set, so click Next.
5. In the Specify Spatial and Connectivity Options window, check the box Create nodes if none found at pipe endpoint.
6. Then check the box Establish connectivity using spatial data and set the Tolerance to 0.1 ft.

Note: This is where you implicitly tell ModelBuilder to establish connectivity from the GIS data source itself. If this box is unchecked, then you
would need to explicitly specify the connectivity in the Field Mappings: Pipes –Start/Stop fields.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 17
7. Click Next until you get to the Create Model Now? window as we do not need to update any other information for this ModelBuilder
connection.
8. In the Create Model Now? window select Yes to build the model now and then click Finish.
9. Click Yes to synchronize the model again.
10. This time 511 pressure junctions, 657 pressure pipes, and 2 tanks were updated. Also note that 8 nodes were created. Look at the
messages for information on these nodes.

11. Close the summary and close ModelBuilder and then WaterGEMS will ask if you want to synchronize the drawing.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 18
12. Click Yes.

Note: You might have to Zoom In to the model after it has been created.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 19
Reviewing model information created with Modelbuilder.

1. Click the Bentley WaterGEMS button and select Report > Element Tables > Pressure Junction.
2. Review the Junction FlexTable and you should see all the elevations that were mapped from GIS.
3. Right-click the Elevation column heading and select Sort > Sort Ascending to move the 8 nodes that were created by ModelBuilder,
and do not yet have elevations, to the top.

4. Review the Tanks FlexTable (Bentley WaterGEMS > Report > Element Tables > Tank).

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 20
5. Now review the Pipes FlexTable (Bentley WaterGEMS > Report > Element Tables > Pressure Pipe).

6. If you review other tables, such as Reservoirs, or PRVs, they will be empty because these elements were not present in the GIS
database.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 21
Opening the model with WaterGEMS StandAlone

Now you want to run the model. Before you can execute WaterGEMS, however some additional information must be entered. You could edit
element attributes in ArcMap, and then update the model again using ModelBuilder. However, this also can be accomplished in WaterGEMS
StandAlone.
1. Close out of ArcMap and you will see the following:

2. Click Yes to save your WaterGEMS model.


3. Click Yes to saving the Untitled ArcMap file.

4. Save as ModelBuilderArcMap.mxd inside WaterDistGIS folder


5. Start WaterGEMS Stand Alone and select File > Open or Open Hydraulic Model on the Welcome dialog.
6. Browse to C:\Bentley Workshop\WaterDistGIS\ModelBuilder and select ModelBuilder.wtg and click Open.

The network drawing should be displayed.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 22
Note: If you do not like the default symbol size, it can be adjusted by changing the Symbol Size Multiplier found on the Tools > Options >
Drawing dialog if using the CAD Style zooming (found in the Element Symbology manager), otherwise if you select the GIS Style zooming
leave the Symbol Size Multiplier set to one and the symbols will adjust in size depending on your zoom level.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 23
If you ran the model now, it would not run because you do not have initial water surface elevations in the tanks. You will need to set them.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 24
Entering element data and computing the model

1. Select View > FlexTables and open the Tank Table under Tables – Predefined.
2. Set the following for both tanks:
Elevation (Minimum) (ft): 1460
Elevation (Initial) (ft): 1475
Elevation (Maximum) (ft): 1480

Note: You recall from the ModelBuilder procedure that the only data assigned to model junction nodes were elevations, so there are no
demands on the model.
3. Close out of the FlexTable.
4. To input demands, select Tools > Demand Center > Demand Control Center.

Note: If you receive a warning regarding cancel and undo, select Yes.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 25
5. Click on the down arrow next to the New button, and select Initialize Demands for All Elements.

6. Right-click the Demand (Base) column heading and select Global Edit.
7. Enter 2 for the Value and click OK.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 26
8. Select Close to exit the Demand Control Center.
9. Select the Compute button on the main toolbar to run the model.

10. When the run is complete, the Calculation Summary will be generated.
11. Close out of the Calculation Summary, select View > FlexTables and open the Junction Table.
12. Review the pressure results and sort the Pressure column in ascending order.

Note: You will see one node (A-311) with low pressure because of its elevation.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 27
13. Click the Zoom to button to locate A-311 on the drawing. You will see that it is near the Hillside tank.

14. Restore the Junction Table and sort the Pressure column in descending order.

You will see a few nodes with very high pressures reported because they did not have elevations assigned. These are eight the nodes
created during the ModelBuilder process.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 28
15. Use the junction table and fill in the (First Run) values in the Results table at the end of this workshop.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 29
Entering junction elevation data and computing the model

1. Now complete the node elevation data by entering the missing elevations using the following values:

Label Elevation (ft)

J-1 1301

J-2 1302

J-3 1303

J-4 1304

J-5 1305

J-6 1306

J-7 1307

J-8 1308

Warning: Be sure to match the correct elevation up with the correct node.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 30
2. Minimize the Junction Table and re-run the model by selecting the Compute button.
3. Close the Calculation Summary, restore the Junction Table.

4. Fill in the (Second Run) values in the Results table at the end of this workshop.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 31
Using Network Navigator – Finding Pipe Split Candidates

In this section you will use a few of the Network Navigator tools to review the data in your newly built model from ModelBuilder.
1. Select View > Network Navigator.

First you need to look for pipes that are not connected to nodes.

2. Click the Select button and select Network Review > Pipe Split Candidates.

3. Set the Tolerance to 20 ft.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 32
4. Click OK.
Note: You will find four nodes that meet this criterion.

5. Adjust the Zoom to 75%, click on A-663 and select the Zoom To button.

6. Do this for each of the four nodes moving the Network Navigator dialog to the side to view the nodes.
With each case, you will see situations where you may need to go back to the original As-Built drawings to decide if connections really exist
in the field. If there is an error, you need to decide if you want to correct it only in the model or in the GIS, and then re-import the model.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 33
Using Network Navigator – Finding nodes in close proximity

1. Click the Select button in Network Navigator and select Network Review > Nodes in Close Proximity.

2. Set the Tolerance to 30 ft and click OK.

Note: You will find one node that meets this criterion.

3. Again, you can select the Zoom To button to review the situation.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 34
Note: If two nodes are in close proximity, only one of the nodes is listed in the Network Navigator window. Without additional information it is
difficult to determine if these nodes are connected.
4. If necessary, move the Network Navigator window so you can see the drawing tools.

5. On the Layout menu, select the Junction drawing tool, and add a junction to the drawing.
6. This junction should be labeled J-9.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 35
7. In Network Navigator, click Select > Network Review > Orphaned Nodes.
8. J-9 is the only junction you should see in the list.

9. Close out of Network Navigator.


10. Delete J-9 by right clicking on it and selecting Delete.
11. Save your file and answer the questions that follow.
Note: You may need to re-run the model to generate results.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 36
Workshop Review

Now that you have completed this workshop, let’s measure what you have learned.

Questions
1. What was the pressure (psi) at the following nodes?

First Run Second Run


o Pressure (psi) Pressure (psi)
A
-
A
-
J
-

2. Would you use ArcMap or ArcCatalog to edit GIS data? Why?

3. There were some fields in the GIS data file that were not mapped to an attribute in WaterGEMS. Why was this the case?

4. The GIS data could have been exported to a standard MS Access file and then imported into WaterGEMS. Why was this not a
good idea?

5. Instead of entering tank level information in WaterGEMS Modeler, how else could you have brought that data into the model?

6. Explain the difference in the Tolerance specified in the ModelBuilder. Specify Spatial Options dialog and the Tolerance specified in
Network Navigator. In general which should be lower?

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 37
Answers
1. What was the pressure (psi) at the following nodes?

First Run Second Run


o Pressure (psi) Pressure (psi)
A 38.2 38.2
-
A 71.9 71.9
-
J 638.1 72.2
-

2. Would you use ArcMap or ArcCatalog to edit GIS data? Why?


You would use ArcMap as you cannot edit GIS data in ArcCatalog.

3. There were some fields in the GIS data file that were not mapped to an attribute in WaterGEMS. Why was this the case?
These fields were not needed in WaterGEMS and did not have a corresponding attribute.

4. The GIS data could have been exported to a standard MS Access file and then imported into WaterGEMS. Why was this not a
good idea?
Importing the feature classes directly into WaterGEMS enabled bends, (x,y) coordinates, and topology to be automatically imported
(preserved).

5. Instead of entering tank level information in WaterGEMS Modeler, how else could you have brought that data into the model?
You could have created fields in your source file for tank elevations and used ModelBuilder to bring in the data.

6. Explain the difference in the Tolerance specified in the ModelBuilder Specify Spatial Options dialog and the Tolerance specified in
Network Navigator. In general which should be lower?
In ModelBuilder, if the tolerance is met, the nodes are merged automatically, while in Drawing Review, if the tolerance is met, the user is
given a chance to edit the nodes. As such, the ModelBuilder tolerances should be set finer (Drawing Review larger). Drawing review will
allow you to double-check that other connections were not missed because of too small a value in ModelBuilder.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 38
Allocating geospatial demand data using LoadBuilder integrated with ArcMap

In this workshop, you will import model demand data from two different kinds of data sources including shapefile data. The first raw data
source you will use is customer meter data. The second data source you will use is population data assigned to polygons. You will also take
into account the unaccounted-for water of 15%. This course material has been developed for the WaterCAD/GEMS CONNECT Edition Update
2 platform, at a minimum the Version 10.02.xx.xx. Modelers currently using versions prior to version 10.02.xx.xx, are strongly encouraged to
consider upgrading today to start taking advantage of the latest features and interoperability advantages of CONNECT Edition. The version
of ArcGIS that this workshop was created on is 10.6.

Module Prerequisites
• Modeling Basics
• GIS Basics using ArcGIS 10.6

Module Objectives
After completing this module, you will be able to:
• Determine the most applicable method(s) to simulate system demand and where that demand data may come from
• Develop a deeper understanding of model creation

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 39
Opening WaterGEMS and Starter File

You have a basic water model that has been created, but it does not have demands loaded onto it. Information relating to metered customer
demands is contained in an ESRI Shapefile Meters.shp. Population data is provided in an ESRI Shapefile called PopulationCensus.shp.
1 Start WaterCAD V8i or WaterGEMS.
2 On the Welcome dialog click Open Existing Project or if that window does not come up select File > Open.
3 Browse to C:\Bentley Workshop\WaterDistGIS\LoadBuilder and open the Workshop14.wtg file.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 40
Reviewing the GIS data in ArcCatalog

1. Close WaterGEMS and open ArcCatalog from the start menu.


2. Browse to C:\Bentley Workshop\WaterDistGIS\LoadBuilder.

Note: The WaterGEMS database file – Workshop14.wtg.mdb has already been created and attached with the geodatabase file
Workshop14.mdb. You also will be using two ESRI shapefiles that will be used to assign demands, named PopulationCensus.shp and
Meters.shp.
3. Preview the geo-database by double clicking Workshop14 and you should see the feature dataset called Workshop14.
4. Double click this feature dataset on the right side of the ArcCatalog window to look at the different feature classes.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 41
5. Highlight the Junction feature class and click Preview tab to review the layout of the junctions.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 42
6. At the bottom of the right pane, change the Preview dropdown menu to Table.

7. Review the junction data and similarly preview the other feature classes – Pipe, Pump and Reservoir.
8. Move back up to main LoadBuilder folder to see the Meters shape file and select it.
9. Change the Preview back to Geography, and then switch to Table.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 43
10. Similarly, you can preview the PopulationCensus shape file.
This GIS data will be used to assign demands to your model nodes.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 44
Opening WaterGEMS in ArcMap and reviewing data

1. Close ArcCatalog , open ArcMap and create a new empty map.


2. Select Bentley WaterGEMS > File > Add Existing Hydraulic Model from the toolbar and browse to C:\Bentley
Workshop\WaterDistGIS\LoadBuilder.
3. Select the Workshop 14.wtg file from the folder and click Open.
Note: The Geodatabase is already attached.
4. Select Bentley WaterGEMS > Analysis > Alternatives to open the Alternatives manager.
5. Expand the Demand category and note that the only demand alternative is the default, Base-Average Daily.

Note: In the ArcMap main interface, you can select Customize > Toolbars > WaterGEMS Scenarios Toolbar to activate the tool bar. Similarly you
could activate the other WaterGEMS toolbars in this manner.
6. Select the Scenarios tab on the bottom of the WaterGEMS Modeling dialog or by clicking the Scenarios button on the
WaterGEMS Scenarios Toolbar.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 45
Running LoadBuilder using the Nearest Node Method

This section is going to walk you through applying customer meter data using the Nearest Node and Nearest Pipe Methods. You will then
apply demands based upon population data assigned to polygons.

1. Activate LoadBuilder by clicking the LoadBuilder button or by selecting Bentley WaterGEMS > Tools > LoadBuilder

2. Click the New button


3. On the Available LoadBuilder Methods dialog, select the Point Load data radio button and click Nearest Node.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 46
4. Select Next to continue.
5. Click the ellipsis (…) for Node Layer to open the Select a Layer dialog.

6. Make sure you are browsed to C:\Bentley Workshop\WaterDistGIS\LoadBuilder\Workshop14.mdb, select Workshop14 and click
Open.
7. Select Junction and click Open.
8. Use the dropdown menu to set the Node ID Field to ElementID.
9. Click the ellipsis (…) button for Billing Meter Layer.
10. Browse to C:\Bentley Workshop\WaterDistGIS\LoadBuilder, select the Meters.shp file and select Open.
11. Set the Load Type Field to <none>, the Usage Field to DEMAND in gpm and uncheck the Use Previous Run box.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 47
12. Click Next to continue.
The Calculation Summary will be generated.

Note that the total load associated with the meter records is 1088.60 gpm. These records are based on customer meter readings, so they do
not include unaccounted-for water. We need to apply a factor to provide for UAF water.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 48
Note: The unaccounted for water in the system is 15%, so multiply the demands globally by 1.176 [which is = 1/ (1-0.15)] to correct for
unaccounted-for water.
13. Set the Global Multiplier to 1.176.

14. Select Next to continue.


You do not have to change anything on the Results Preview dialog, just note that there are no inflow nodes.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 49
15. Select Next to continue.
16. On the Completing the LoadBuild Process dialog, enter NearNode1 for the Label.
17. Select the New Alternative radio button and enter a name of NearNode
18. Set the Parent Alternative to Base-Average Daily.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 50
19. Click Finish.
20. Confirm that 102 demands were successfully exported.

21. Close the LoadBuilder Run Summary and LoadBuilder dialogs.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 51
Creating the NearNode Scenario

1. Before you create the scenario, go to the Alternatives tab of the WaterGEMS Modeling dialog.
2. Expand the Demand alternative category and make sure there is a new child alternative to Base-Average Daily called NearNode.

3. Select the Scenarios tab.


4. Click the New button and select Child Scenario.
5. Name the new scenario Load_at_Node.

6. Double-click the Load_at_Node scenario to bring up the WaterGEMS Element Control manager.
7. Make sure you are on the Properties tab and select NearNode as the Demand Alternative.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 52
Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 53
Computing and reviewing the results of the NearNode Scenario

1. Back in the WaterGEMS Modeling dialog on the Scenarios tab, select Load_at_Node and click the Make Current button to
make it the active scenario.
2. Compute the model using the Compute button on the Scenarios tab.
3. When the Calculation Summary is displayed note the value listed for Flow Demanded (gpm).
4. Compare this demand total (1280.19 gpm) with the metered total (1088.6 gpm); the difference is due to the unaccounted-for
allowance.

5. Close the Calculation Summary.


6. Open the Junction FlexTable and review the demands that were input with LoadBuilder.

7. Record the pressures in the table at the end of the workshop.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 54
Running LoadBuilder using the Nearest Pipe Method

Next you will use the same metered data but this time you will use the Nearest Pipe Method.
1. Activate LoadBuilder by clicking the LoadBuilder button or by selecting Bentley WaterGEMS >Tools > LoadBuilder.

2. Click the New button to start the LoadBuilder Wizard.


3. Select the Point load data radio button, scroll down and select Nearest Pipe.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 55
4. Click Next.
5. Set the following for the Model Pipes Data section:
Pipe Layer: Pipe (click the ellipsis to select feature class)
Pipe ID Field: ElementID
Load Assignment: Distance Weighted
6. Set the following for the Model Node Layer section:
Node Layer: Junction (click the ellipsis to select feature class)
Node ID Field: ElementID
Use Previous Run: Check the box
7. Click the ellipsis (…) for Billing Meter Layer and browse to the location of the Meters.shp file like we did earlier.
8. Set the following:
Load Type Field: <none>
Billing Meter ID Field: OBJECTID
Polyline Distribution: Equal Distribution
Usage Field: DEMAND gpm

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 56
9. Click Next to continue.

Note: The base metered consumption should be 1088.60 gpm again.


10. As you did in the previous run, set the Global Multiplier to 1.176.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 57
11. Click Next to continue.
Your Results Preview should look like the one below:

12. Click Next to continue.


13. Enter NearestPipe for the Label.
14. Select the New Alternative radio button and name the new alternative NearPipe.
15. Select Base-Average Daily as its Parent Alternative.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 58
16. Click Finish.
You should see that 102 demands were exported successfully.

17. Close the LoadBuilder Summary and close LoadBuilder.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 59
Creating the NearPipe Scenario and computing the model

1. Go to the Alternatives tab of the WaterGEMS Modeling dialog.


2. Expand the Demand alternative category.
You should see the new alternative, NearPipe, as a child to Base-Average Daily.

3. Select Analysis > Scenarios and create another child from the Base scenario.
4. Name the new scenario Load_at_Pipe.

5. Edit the properties of Load_at_Pipe and change the Demand alternative to NearPipe.
6. Make Load_at_Pipe the active scenario.
7. Click Compute to run the scenario.
8. On the Calculation Summary, note the Flow Demanded relative to the metered consumption and UAF percentage.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 60
9. Close the Calculation Summary.
10. Go to the Junction FlexTable and review the demands that were input with LoadBuilder.
11. Record the pressures in the table at the end of the workshop.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 61
Creating Thiessen Polygon Generator

In the next part of the exercise, you will use population data provided to you in an ESRI Shapefile called PopulationCensus.shp. Before you
can use Population data, you need to construct service area polygons around your nodes. This can be done using the Thiessen Polygon
Generator.

1. Click the Thiessen Polygon button or select Bentley WaterGEMS > Tools > Thiessen Polygon.
2. Select the Node Layer radio button, and then click on the ellipsis (…).
3. Browse to C:\Bentley Workshop\WaterDistGIS\LoadBuilder\Workshop14.mdb\Workshop14, select Junction and then click Open.
4. Select ElementID for the Node ID Field.

5. Click Next.
6. Select the Buffering Percentage radio button and enter 10 as the percentage.

Note: Do not enter a Polygon boundary layer.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 62
7. Click Next.
8. Click on the ellipsis (…) for Output file.
9. Browse to C:\Bentley Workshop\WaterDistGIS\LoadBuilder, enter a file name of Tpoly and click Save.

10. Click Finish.


11. When the processing is complete you will be returned to the main ArcMap window.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 63
Adding the Tpoly Shapefile as a background layer

1. Click the Add Data button to overlay the polygon data that was generated.

2. Browse to C:\Bentley Workshop\WaterDistGIS\LoadBuilder and select the Tpoly.shp file and click Add.
3. Make sure Tpoly is the last layer in the Table of Contents dialog. If it is not, then drag it to the bottom of the layers.
4. Select the Add Data button again and add the PopulationCensus.shp file from the same location.
5. If the PopulationCensus file is not already on top of the Tpoly layer drag it to the top of Tpoly.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 64
6. Right click on Population Census and select Properties.

7. Go to the Symbology tab, click the Symbol button, and change the Fill Color to No Color and the Outline Color to Mars Red.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 65
8. Select OK to exit the Symbol Selector dialog.
9. Select Apply and OK to exit the Layer Properties dialog.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 66
Note: This gives you an idea of the relationship between the polygons used for service junctions and those for the population data.
10. Right click on PopulationCensus and select Label Features. The ID numbers will appear on the polygons.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 67
11. Right click on PopulationCensus, select Open Attribute Table and look at the type of values assigned to each polygon.

Note: Column 5 is the total population for each area, column 6 is the population density (pop./ac), and column 7 is the zoning classification.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 68
Applying loads by population

1. Open the LoadBuilder tool once again.


2. Click the New button to start the LoadBuilder Wizard.
3. Select the Population/land use data radio button and select Load Estimation by Population.

4. Click Next.
5. Click the ellipsis (…) button for Service Area Layer.
6. Browse to the Tpoly.shp file we just created, select it, and click Open.
7. Set the Node ID Field to ElementID.
8. Click the ellipsis (…) for Population Layer and browse to the LoadBuilder folder to select the PopulationCensus.shp file and click
Open.
9. Set the Population Density Type Field to Type and set the Population Density Field to Density, with units of pop/acre.
10. In the Demand Densities per Capita table, enter the following:

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 69
Deman Load Density
d Type (gpd/capita)
R1 98

R2 82

C 20

11. Click Next.


12. Enter 1.176 for the Global Multiplier; in order to account for the 15 % - un- accounted water.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 70
13. Click Next.
14. Review the Results and click Next.

15. Enter the Label as Pop_LandUse.


16. Select the New Alternative radio button and add Pop_LandUse for the name.
17. Select Base-Average Daily as the Parent Alternative.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 71
18. Click Finish.
19. Close the LoadBuilder Summary and LoadBuilder dialog.
20. Go back to the WaterGEMS model in ArcMap to view the new demand data and create a new scenario for the new alternative.
21. Compute the scenario, add the answers to the table and answer the questions.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 72
Workshop Review

Now that you have completed this workshop, let’s measure what you have learned.

N Locati Near Node Near Pipe Population &


o on Pressure (psi) Pressure (psi) Land Use Pressure
d (psi)
C North
_
D East
1
D Near
1 Sourc

Questions
1. How would you get metering data for a model run for demands in the year 2040?

2. Why did small changes in demand make big differences in pressure in this model?

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 73
Answers

N Locati Near Node Near Pipe Population &


o on Pressure (psi) Pressure (psi) Land Use Pressure
d (psi)
C North 82.6 82.5 104.7
_
D East 52.4 52.5 74.5
1-
D Near 84.8 84.8 106.6
1- Sourc

1. How would you get metering data for a model run for demands in the year 2040?
You do not have a good source of meter data, so you need to use another source such as population or land use to drive demands.

2. Why did small changes in demand make big differences in pressure in this model?
This was a dead end system with a pump and no tank. Therefore any change in demand affected not only head loss but the operating point
on the pump curve.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 74
Importing topography information using TRex

In this workshop you will obtain elevation data from a digital elevation model and import it into a model. The model you will be starting with
has been constructed without elevation data. The digital elevation model (DEM) that you will bring in using Terrain-Extractor (TREX) is
provided to you as an ArcGIS raster grid file. This course material has been developed for the WaterCAD/GEMS CONNECT Edition platform,
at a minimum the Version 10.02.xx.xx. Modelers currently using versions prior to version 10.02.xx.xx, are strongly encouraged to consider
upgrading today to start taking advantage of the latest features and interoperability advantages of CONNECT Edition. This workshop was
created using ArcGIS 10.6.

Module Prerequisites
• Modeling Basics
• GIS Basics using ArcGIS 10.6

Module Objectives
After completing this module, you will be able to:
• View a DEM file in ArcMap
• Import elevations for a water network using the TRex tool

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 75
Viewing the DEM File

In this lab you will obtain elevation data from a digital elevation model and import it into a WaterGEMS model. The DEM is provided to you as
an ArcGIS raster grid file. The model has been constructed without elevation data.

1. Open ArcMap from the start menu.


2. Select the A new empty map radio button and OK.

3. Select the Add Data button from the toolbar.

4. Browse to the C:\Bentley Workshop\WaterDistGIS\TRex folder, highlight DEMmeters which is a raster grid DEM, and select Add.
The DEM will appear on the screen.

Note: Notice that the light areas are the higher areas in the southeast, while the land slopes down to the

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 76
Starting the WaterGEMS within ArcMap

1. Select Bentley WaterGEMS > File > Add Existing Project from the toolbar to start WaterGEMS.
2. Browse to the C:\Bentley Workshop\WaterDistGIS\TRex folder.
3. Highlight Workshop15.wtg and select Open.

Note: The Geodatabase for Workshop15 already has been prepared. You should see the model file directly overlay the raster image. Note
that a few nodes fall outside the DEM. Those elevations will need to be entered manually.
4. Open FlexTables by selecting Bentley WaterGEMS > Report > Element Tables.
5. Open the Pressure Junction Table and note that the Elevation column has no data.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 77
6. Close the Junction Table.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 78
Importing elevations using TRex

Now you are ready to generate model elevation data. You will now Populate WaterGEMS elevations from the raster data source using TRex.

1. Select the TRex button or select Bentley WaterGEMS > Tools > TRex.
This will open the TRex Wizard.
2. For Data Source Type, select ArcGIS Raster.
3. Select the ellipsis (…) for File.
4. Browse to C:\Bentley Workshop\WaterDistGIS\TRex select DEMmeters and click Add.
5. Set the following: X-Y Units: meters Z Units: meters
6. Leave the rest of the fields with their default values.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 79
Note: The Spatial Reference field is set to Unknown. This is correct because the DEM and model already are on the same spatial reference,
which you saw when you overlaid the model and DEM.
7. Click Next.
8. Upon selecting the Next button, you will get the warning below regarding Spatial Reference. Select OK.

At this point, you will see the calculation window and TRex will begin extracting elevations.
You will receive the following message:

9. Click OK.
On this next screen you can preview the elevation data and now see that there are now elevations assigned to particular nodes.
10. Select the Use Existing Alternative radio button and select Base-Physical from the dropdown menu.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 80
11. Click Finish to export these elevations to the chosen alternative.
12. Highlight the Junctions feature class, right click, and select Open Attribute Table.
13. See that the Elevation field now has values for the majority of the elevations.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 81
Note: Notice the precision with which the results are reported. You should also see that a few junctions do not have elevations if you scroll
through the list. These are the junctions that were located outside the range of the DEM.
14. You could scroll down through this list and manually enter elevations for the junctions that were outside the DEM. However, this is
easier to accomplish in WaterGEMS.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 82
Reviewing the junction elevations and entering the missing ones

Warning: Be sure to save the Workshop15.wtg file before exiting ArcMap.

1. Select File > Exit and you will be asked if you want to save both MXD and the Workshop15.wtg. Save the MXD as TRex.mxd
within folder named TRex and save the Workshop 15.wtg hydraulic model as well.
2. Open WaterGEMS Stand Alone and open the file Workshop15.wtg from C:\Bentley Workshop\WaterDistGIS\TRex.

3. Select View > FlexTables.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 83
4. Double click the Junction Table to open it.

Note: The elevation data has been transferred to the model.


5. Right click on the Elevation (m) column and select Filter > Custom.
6. Select Elevation in the left pane and double click it to add it to the query below.

7. Click the equals sign and then type 0 for the value.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 84
8. Click OK.
9. Right click the Elevation (m) column again and select Global Edit.
10. Set an elevation of 2555 meters at each of these nodes and click OK.

11. Right click the Elevation (m) column again and select Filter (Active) > Reset to display all junctions again.
12. Click Yes to reset the filter.
13. Minimize the Junction FlexTable.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 85
Computing the model and reviewing the results

1. Back on the main drawing window, click Compute to run the Base scenario.
2. Close the Calculation Summary.
3. Restore the Junction FlexTable and review the pressures.

4. Complete the Results Table and answer the questions at the end of the workshop.
5. Save your file.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 86
Workshop Review

Now that you have completed this workshop, let’s measure what you have learned.

Results Table

Node Elevation (m) Pressure


(kPa)
Node-1

Node-
1374
Node-
1836

Questions
1. For a model this size, how long do you think it would take to read off all the 2000+ elevations manually?

2. Look at the number of digits past the decimal place that elevation data are reported. Is that precision justified?

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 87
Answers

Node Elevation (m) Pressure


(kPa)
Node-1 2555.0 440

Node- 2566.3 325


1374
Node- 2549.3 489
1836

1. For a model this size, how long do you think it would take to read off all the 2000+ elevations manually?
At 2 minutes per node, about a week.

2. Look at the number of digits past the decimal place that elevation data are reported. Is that precision justified?
No, most of those digits are meaningless

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 88
Layout preparation using WaterGEMS for ArcMap

In this section you will learn how to add hydraulic model\s information on ArcMap\s interface.
1. Start ArcMap and open the TRex.mxd file
2. Restablish the hydraulic model connection selection Bentley WaterGEMS > View > Hydraulic Model Manager

Note: the icon with “x” indicates that the hydraulic model is not connected.
3. Right click on the hydraulic model file name and select OpenHydraulic Model

Note: Now your map is connected to the hydraulic model

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 89
GeoTables FlexTables and Attributes Table

In this section you will see the relationship between GeoTables FlexTables and the ArcMap\s features attributes tables.
1. Select Bentley WaterGEMS > View > FlexTables
2. Expand the Group GeoTables

3. Double click on Pipe Table

4. Click on Edit button and add the Flows (Absolute) column

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 90
5. Click Ok

Note: if you are not seeing the flow results, compute your scenario to update the table.
6. Close the Pipe Table and Open the Pipe´s attribute table on ArcMap\s table of contents.
Note: Scroll to the right to see that the attributes table contains the same columns organized by Pipe Geotable.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 91
Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 92
Adding the Flow arrow to the ArcMap’s interface

1. Select Bentley WaterGEMS > View > Apply WaterGEMS Renderer

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 93
Adding a Color-Coded Symbology for the Flow (Absolute) results

1. Open the FlexTable Pipe Table


2. Right click on Flow (Absolute) header column and select Units and Formatting

3. Convert it to m3/day

4. Click Ok
Note: it will help the color-coded symbology construction, having suitable number for a better scaling.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 94
5. Close the FlexTable
6. Double click on the Pipe feature under Table of Contents. It will open layer\s properties
7. Select the Symbology tab

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 95
8. Select Quantities > Graduated colors under Show panel
9. Select “Flow_Absolute” for Value and none for Normalization
10. Choose 10 for Classes

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 96
11. Click Apply

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 97
12. To remove the color coded symbology, get back to the Pipe´s layer property, and select the Single Symbol under Features

13. Click Apply

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 98
Adding an Element Annotation

In this section you will se how to append an element annotation to plan, using as example a pipe annotation containing multiple
information (Label, Diameter and Flow).
1. Open the Pipe layer property
2. Select the Labels tab
3. Check the option “Label Features in this layer”
4. Select “Define Classes of features and label each class differently”

Note: You will create one single class that contains one Pipe property being part of the hole annotation.

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 99
5. Click on Rename, and change the first class name to Label and Click Ok

6. Select on Label Field Label

7. Click on Placement Properties


8. Select Above for position and define 1 for Offset

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 100
9. Click Ok
10. Click on Add
11. Name this new class as Diameter and click Ok

12. Click in Expression.


Note: in this class, we will define an annotation that has a prefix “D=”. To do this, you must use the expression tools available in ArcMap
13. In the Expression panel, type "D : " +

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 101
14. Find the Diameter field on the list and double click to add it to the expression

´
Note: any random text must be added using “”, and a plus sign + must be placed to combine with an element attribute.
15. Click Ok

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 102
16. Click on Placement Properties
17. Select Below for Position, 2 for Offset and “Place one label per feature”

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 103
18. Click Apply and Ok to close the property window

Copyright © 2019 Bentley Systems, Incorporated DO NOT DISTRIBUTE – Printing for student use is permitted 104

You might also like