Vous êtes sur la page 1sur 21

Practice Workbook

This workbook is designed for use in Live instructor-led training and for OnDemand selfstudy.
The explanations and demonstrations are provided by the instructor in the classroom, or in the OnDemand
eLectures of this course available on the Bentley LEARN Server (learn.bentley.com).

This practice workbook is formatted for on-screen viewing using a PDF reader.
It is also available as a PDF document in the dataset for this course.

Importing Basic Model Data


This workbook contains exercises to teach you how to import a basic water model of junctions and pipes using
shapefiles as source data. The workbook is written for use with the stand-alone platform.

DO NOT DISTRIBUTE - Printing for student use is permitted


Description and Objectives

Course Description
In this workshop, you will:

 Import shapefiles to build a water network of pipes and junctions.

 Morph a junction into a reservoir.

 Enter demand for junctions.

 Analyze the system

Note: The images in this workshop were taken from WaterCAD. The steps will be the same in WaterGEMS although the user interface may
look slightly different.

Module Prerequisites
 A fundamental understanding of Water Distribution Systems is recommended

Skills Taught
After completing this module, you will be able to:

 Apply the basic principles of water distribution modeling

 Use ModelBuilder

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 2
Creating a New Hydraulic Model
Follow the steps below to create and save a new Hydraulic Model in WaterGEMS.

1. Open WaterCAD or WaterGEMS from the Start menu or from the desktop icon.
2. Click Create New Hydraulic Model on the Welcome dialog or select File > New to create a new Hydraulic Model.
3. If a message dialog comes up about associating your hydraulic model with a CONNECTED Project, click OK.
4. Select File > Save As, name the file PipesAndJunctions and click Save.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 3
Starting Model Builder
Often, model source data exists in other formats such as CAD, Shapefile, Excel, etc. For this example, the model source is a series of
Shapefiles (*.shp). In the next few exercises, you will use the ModelBuilder tool to bring in the Shapefile data.

1. Start ModelBuilder by selecting Tools > ModelBuilder. The empty ModelBuilder dialog will appear.

2. Click the New button to launch the ModelBuilder Wizard.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 4
Specify Your Data Source
Follow the steps to link to the Shapefiles containing the model data.

1. In the Select a Data Source Type dropdown menu select ESRI Shapefiles.
2. Click the Browse button next to Select your Data Source.
3. Navigate to the Starter folder.
4. Hold down the Ctrl key on your keyboard and select the following shapefiles: Junctions.shp and Pipes.shp.
5. Click Open to send this selection to ModelBuilder. This adds the two feature classes to the left pane of the wizard.
Note: Each of the feature classes listed has a checkbox that you can use to include or exclude it from processing by the wizard.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 5
6. Check the Show Preview box and you will see the type of data available with each table in the right pane.
7. Click the Next button to advance to the Specify Spatial and Connectivity Options step.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 6
Specify Spatial and Connectivity Options
Proceed through the ModelBuilder wizard, setting the spatial, connectivity and other element options as described in
the steps that follow.

1. Specify ft as the Coordinate Unit of the data.

2. Make sure the Create nodes if none found at pipe endpoint is checked. Leave Establish connectivity using spatial data unchecked. Click
Next.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 7
3. Leave the synchronization options set to their defaults, as shown below. Click Next.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 8
4. Leave the scenario and key field options set to the default values, as shown. Click Next.

Note: If you were importing this data into an existing model you can choose to import the data into the current scenario or you can create
a new child scenario. New scenario and alternatives will be automatically labeled Created by ModelBuilder followed by the date and time
when they were created. If there is no data change for a particular alternative, no child alternative will be created in that case.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 9
Specify Field Mappings for Each Element
You are now in the section of ModelBuilder where you connect attribute fields from your ESRI Shapefiles to
WaterGEMS element properties.

1. Click on Junctions (Point) in the left pane and select the Settings tab in the right.
2. Select Junction from the Table Type menu. This gives you access to all the fields in your source file.
3. Set Key Fields to LABEL.
4. Leave the X Field and Y Field set to <auto> since the coordinates will automatically be transferred from the data file.
5. Click on ELEV in the Field column, then select Elevation from the Property menu and select ft from the Unit menu.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 10
6. Select Pipes (Polyline) in the left pane and select Pipe as the Table Type.
7. For the Key Fields, select LABEL from the menu.
8. Set the Start: to STARTNOD and Stop: to STOPNOD.
9. Click on D (Diameter) under the Field column, then select Diameter from the Property menu. Select in from the Unit menu.
10. Set User L? to Has User Defined Length?
11. Set C to Hazen-Williams C
12. Set L to Length (User Defined) and set unit to ft

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 11
13. Set MATERIAL to Material

14. Click Next when done.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 12
Create Model from Source Data
Follow the steps below to synchronize the Shapefile data into your model file.

1. On the next screen, select Yes to build the model and leave the other options as they are. Click Finish.

2. When you receive the message below, read it, and then click Yes to continue.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 13
3. After ModelBuilder has run, the ModelBuilder Summary dialog will state that it imported 14 junctions and 17 pipes and it created 1 new
junction at pipe endpoints.

4. Select the Messages tab. Notice a start node, J-10, was created for pipe P-1 because a start node was missing. This is a result of the
initial spatial connectivity settings in the Wizard set earlier.

5. Close the ModelBuilder Summary, and then close the ModelBuilder wizard.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 14
6. Click Yes to the following dialog:

7. Confirm the model (see below) was created with ModelBuilder.

8. Double click on a few pipes to verify that diameter, length, material, and roughness data was imported.
9. Go to View > FlexTables > Junction Table to review junction elevations. Notice that node elevation ranges from 770ft to 950ft.
10. Save your model file.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 15
Model Cleanup with Morphing
Based on system maps, we know that: J-10 should be a reservoir. That is why it was missing from the junctions
Shapefile.

The next step will involve modifying an element from the imported model data using the Morph tool.

1. Select Layout > Reservoir, and then click on J-10

2. Select Yes in the Morph Node dialog box. A reservoir will be created. Press Esc to release the layout mode.
3. Double click on the Reservoir and make sure the Label is R-1. Set Elevation to 950 ft.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 16
Entering Average Junction Demands Using the Demand Control Center
The majority of model data has already been imported, including Junction Elevations, Pipe Diameter, Pipe Material,
Pipe Hazen-Williams C, and Pipe Length (user defined). In this section, you will enter average demand data for the
junction nodes using the Demand Control Center.

1. Select Components > Demand Center > Demand Control Center


2. Click Yes if you are prompted with the dialog shown below.

3. Once inside the Demand Control Center, click the New button and select Initialize Demands for All Elements. Right click on label column
and select Sort > Sort Ascending.

4. Fill in the Demand (Base) (gpm) column with data from the table below. Sort the Label column in ascending order to facilitate data entry.

Node Demand (gpm)


J-1 0
J-2 50
J-3 50
J-4 75
J-5 50
J-6 75
J-7 80
J-8 0
J-9 50
J-11 0

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 17
Node Demand (gpm)
J-12 0
J-13 0
J-14 0
J-15 0

5. Click Close when done.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 18
Analyzing the System for Average Daily Demands
In this section you will run the model as is for an average daily run

1. Click Analysis > Compute.

2. Review the results in the Calculation Summary and User Notifications. Close both dialogs after reading the results.
3. Go to View > FlexTables > Tables - Predefined > Junction Table to review junction pressures. Answer the questions at the end of this
workbook.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 19
Workshop Review
Now that you have completed this workshop, let’s measure what you have learned.

1. What is the lowest pressure in this system? What causes such low pressure?

2. What could you do to improve low pressures in this system?

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 20
Answer Key

1. What is the lowest pressure in this system? What causes such low pressure?
Pressure at J-12 is -2 psi. Pressure at J-11 is 2 psi. The reason for such low pressures is that the water level in the reservoir that feeds
this system is 950ft, which is the same elevation as J-12 and slightly higher than J-11(elevation 945 ft) so there is not enough pressure
head to adequately provide water to those nodes.

2. What could you do to improve low pressures in this system?


To provide adequate flow and pressure to the high elevation nodes in this system, you would need to add a pump at a minimum. If you do
not wish to run the pump continuously, an elevated storage tank could be added to the system.

Copyright © 2016 Bentley Systems, Incorporated DO NOT DISTRIBUTE - Printing for student use is permitted 21

Vous aimerez peut-être aussi