Professional Documents
Culture Documents
Manual WaterCAD V8i - Guia Del Usuario (Ingles) (0001-0200) PDF
Manual WaterCAD V8i - Guia Del Usuario (Ingles) (0001-0200) PDF
WaterCAD V8i 1
Getting Started in Bentley WaterCAD V8i
Creating Models
Modeling Capabilities
Menus
Technical Reference
Glossary
Alternatives 622
Alternatives Manager 623
Alternative Editor Dialog Box 625
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Base and Child Alternatives 626
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating Alternatives 626
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Editing Alternatives 627
Glossary 1209
Glossary 1209
A 1209
B 1209
C 1210
D 1211
E 1212
F 1212
G 1213
Troubleshooting
The .wtg file and the drawing file (.dwh, dgn, dwg or .mdb) file contain user supplied
data that makes it easier to view the model and should also be zipped and transmitted
with the model when moving the model.
Other files found with the model are results files. These can be regenerated by running
the model again. In general these are binary files which can only be read by the model.
Saving these files makes it easy to look at results without the need to rerun the model.
Because they can be easily regenerated, these files can be deleted to save space on the
storage media.
When archiving a model at the end of the study, usually only the *.wtg.mdb, *.wtg
files, and the platform specific supporting files (*.dwh, *.dgn, *.dwg or *.mdb) need
to be saved.The file extensions are explained below:
When the Specify Custom Results File Path option (found under Tools > Options >
Project Tab) is on for the project, the result files will be stored in the custom path spec-
ified when the project is closed. When the project is open, all of the applicable result
files (if any) will be moved (not copied) to the temporary directory to be worked on.
The result files will then be moved back to the custom directory when the project is
closed.
The advantages of this are that moving a file on disk is very quick, as opposed to
copying a file, which can be very slow. Also, if you have your project stored on a
network drive and you specify a custom results path on your local disk, then you will
avoid network transfer times as well. The disadvantages are that, should the program
crash or the project somehow doesn’t close properly, then the results files will not be
moved back and will be lost.
If you then wish to share these results files with another user of the model, you can use
the Copy Results To Project Directory command (Tools > Database Utilities > Copy
Results To Project Directory) to copy the results files to the saved location of the
model. The user receiving the files may then use the Update Results From Project
Directory command (Tools > Database Utilities > Update Results From Project Direc-
tory) to copy the results files from the project directory to their custom results file
path.
or
From the File menu, choose Exit.
Note: If you have made changes to the project file without saving, the
following dialog box will open. Click Yes to save before exiting, No to
exit without saving, or Cancel to stop the operation.
The Help window consists of two panes - the navigation pane on the left and the
topic pane on the right.
2. To get help on a dialog box control or a selected element:
Press <F1> and the Help window opens (unless it is already open) and shows the
information about the selected element.
Subtopics within a help topic are collapsed by default. While a subtopic is
collapsed only its heading is visible. To make visible a subtopic's body text and
graphics you must expand the subtopic.
To expand a subtopic
Click the expand (+) icon to the left of the subtopic heading or the heading
itself.
To collapse a subtopic
Click the collapse (-) icon to the left of the subtopic heading or the heading
itself.
1. On the Contents tab, click the folder symbol next to any book folder (such
as Getting Started, Using Scenarios and Alternatives) to expand its
contents.
2. Continue expanding folders until you reach the desired topic.
3. Select a topic to display its content in the topic pane.
To display the next or previous topic according to the topic order shown in the
Contents tab
To display the next topic, click the right arrow or to display the previous topic, click
the left.
Note: If you select an entry that has subtopics, a dialog box opens
from which you can select the desired subtopic. In this case,
select the subtopic and click the Display button.
A search string finds any topic that contains all of the words in the string. You
can improve the search by enclosing the search string in quotation marks. This
type of search finds only topics that contain the exact string in the quotation
marks.
1. In the Contents, Index, or Search tabs, select the desired help topic.
2. Click the Favorites tab.
The selected help topic automatically displays in the “Current topic” field
at the bottom of the tab.
3. Click the Add button.
To display a topic from your Favorites list
Note: Your PC must be connected to the Internet to use the Check for
Updates button.
Troubleshooting
Due to the multitasking capabilities of Windows, you may have applications running
in the background that make it difficult for software setup and installations to deter-
mine the configuration of your current system.
Caution: After you install Bentley WaterCAD V8i , make certain that
you restart any antivirus software you have disabled. Failure
to restart your antivirus software leaves you exposed to
potentially destructive computer viruses.
4. Try running the installation or uninstallation again (without running any other
program first).
If these steps fail to successfully install or uninstall the product, contact Technical
Support.
Standard Toolbar
Edit Toolbar
Analysis Toolbar
Scenarios Toolbar
Compute Toolbar
View Toolbar
Help Toolbar
Layout Toolbar
Tools Toolbar
Zoom Toolbar
Standard Toolbar
The Standard toolbar contains controls for opening, closing, saving, and printing
WaterCAD V8i projects.
To Use
Edit Toolbar
The Edit toolbar contains controls for deleting, finding, undoing, and redoing actions
in WaterCAD V8i.
To Use
Analysis Toolbar
The Analysis toolbar contains controls for analyzing WaterCAD V8i projects.
To Use
Open the Hydrant Flow Curves dialog box, which Hydrant Flow
allows you to view, edit, and create hydrant flow Curves
definitions.
Open the System Head Curves dialog box, where System Head
you can view, edit, and create system head Curves
definitions.
Open the Energy Costs dialog box, where you can Energy Costs
view, edit, and create energy cost scenarios.
Open the Pressure Zone dialog box, where you Pressure Zone
can view, edit, and create pressure zone studies.
Scenarios Toolbar
The Scenarios toolbar contains controls for creating scenarios in WaterCAD V8i
projects.
To Use
Compute Toolbar
The Compute toolbar contains controls for computing WaterCAD V8i projects.
To Use
Open the Fire Flow Results Browser dialog box. Fire Flow
Results
Browser
View Toolbar
The View toolbar contains controls for viewing WaterCAD V8i projects.
To Use
Open the Named Views manager where you can Named Views
create, view, and manage named views.
Open the Aerial View manager where you can Aerial View
zoom to different elements in the project.
Help Toolbar
The Help toolbar provides quick access to the some of the commands that are avail-
able in the Help menu.
To Use
Layout Toolbar
The Layout toolbar is used to lay out a model in the WaterCAD V8i drawing pane.
To Use
Tools Toolbar
The Tools toolbar provides quick access to the same commands that are available in
the Tools menu.
To Use
Open the TRex wizard where you can select the data Trex
source type, set the elevation dataset, choose the model
and features.
Open the LoadBuilder manager where you can create and Load Builder
manage Load Build templates.
Open the Demand Control Center manager where you Demand Control
can add new demands, delete existing demands, or Center
modify existing demands.
Open the Unit Demand Control Center manager where Unit Demand
you can add new unit demands, delete existing unit Control Center
demands, or modify existing unit demands.
Open the User Data Extension dialog box, which allows User Data
you to add and define custom data fields. For example, Extensions
you can add new fields such as the pipe installation date.
Ensures consistency between the database and the model Update Database
by recalculating and updating certain cached information. Cache
Normally this operation is not required to be used.
This command copies the model result files (if any) from Update Results
the project directory (the directory where the project from Project
.mdb file is saved) to the custom result file directory. The Directory
custom result directory is specified in
Tools>Options>Project tab. This allows you to make a
copy of the results that may exist in the model's save
directory and replace the current results being worked on
with them.
This command copies the result files that are currently Copy Results to
being used by the model to the project directory (where Project Directory
the project .mdb is stored).
Open a Batch Assign Isolation Valves window where you Assign Isolation
can find the nearest pipe for each selected isolation and Valves to Pipes
assign the valve to that pipe.
Open the Options dialog box, which allows you to change Options
Global settings, Drawing, Units, Labeling, and
ProjectWise.
Zoom Toolbar
The Zoom toolbar provides access to the zooming and panning tools.
To Use
Set the view so that the entire model is visible in Zoom Extents
the drawing pane.
Activate the manual zoom tool, where you can Zoom Window
specify a portion of the drawing to enlarge.
Open up the Zoom Center dialog box where you Zoom Center
can set X and Y coordinates and the percentage of
Zoom.
Return the zoom level to the most recent previous Zoom Previous
setting.
Reset the zoom level to the setting that was active Zoom Next
before a Zoom Previous command was executed.
This button also does not appear in the Zoom
toolbar by default.
Toolbar buttons represent Bentley WaterCAD V8i menu commands. Toolbars can be
controlled in Bentley WaterCAD V8i using View > Toolbars. You can turn toolbars
on and off, move the toolbar to a different location in the work space, or you can add
and remove buttons from any toolbar.
To turn toolbars on
Click View > Toolbars, then click in the space to the left of the toolbar you want to
turn on.
Click View > Toolbars, then click the check mark next to the toolbar you want to turn
off.
Move your mouse to the vertical dotted line on the left side of any toolbar, then drag
the toolbar to the desired location. If you move a toolbar away from the other toolbar,
the toolbar becomes a floating dialog box.
1. Click the down arrow on the end of the toolbar you want to customize. A series of
submenus appear, allowing you to select or deselect any icon in that toolbar.
2. Click Add or Remove Buttons then move the mouse cursor to the right until all
of the submenus appear, as shown as follows:
3. Click the space to left of the toolbar button you want to add. A check mark is
visible in the submenu and the button opens in the toolbar.
or
Click the check mark next to the toolbar button you want to remove. The button
will no longer appear in the toolbar.
The following table lists all the Bentley WaterCAD V8i managers, their toolbar
buttons, and keyboard shortcuts.
Toolbar Keyboard
Button Manager Shortcut
Toolbar Keyboard
Button Manager Shortcut
Compute. <F9>
When you first start Bentley WaterCAD V8i , only two managers are displayed: the
Element Symbology and Background Layers managers. This is the default workspace.
You can display as many managers as you want and move them to any location in the
Bentley WaterCAD V8i workspace.
• If you return to the default workspace, the next time you start Bentley WaterCAD
V8i , you will lose any customizations you might have made to the dynamic
manager display.
To open a manager
2. If the manager is not already docked, you can drag it to the top, left- or right-side,
or bottom of the WaterCAD V8i window to dock it. For more information on
docking managers, see Customizing Managers.
Customizing Managers
When you first start Bentley WaterCAD V8i , you will see the default workspace in
which a limited set of dock-able managers are visible. You can decide which managers
will be displayed at any time and where they will be displayed. You can also return to
the default workspace any time.
Floating—A floating manager sits above the Bentley WaterCAD V8i workspace like
a dialog box. You can drag a floating manager anywhere and continue to work.
Docked static—A docked static manager attaches to any of the four sides of the
Bentley WaterCAD V8i window. If you drag a floating manager to any of the four
sides of the Bentley WaterCAD V8i window, the manager will attach or dock itself to
that side of the window. The manager will stay in that location unless you close it or
make it dynamic. A vertical pushpin in the manager’s title bar indicates its static state;
click the pushpin to change the manager’s state to dynamic. When the push pin is
pointing downward (vertical push pin), the manager is docked.
• Close a docked manager by left clicking on the x in the upper right corner of the
title bar.
• Change a docked manager into a floating manager by double-clicking the title bar,
or by dragging the manager to the desired location (for example, away from the
side of the Bentley WaterCAD V8i window).
• Change a static docked manager into a dynamically docked manager by clicking
the push pin in the title bar.
• Switch between multiple docked managers in the same location by clicking the
manager’s tab.
Docked dynamic—A docked dynamic manager also docks to any of the four sides of
the Bentley WaterCAD V8i window, but remains hidden except for a single tab. Show
a docked dynamic manager by moving the mouse over the tab, or by clicking the tab.
When the manager is showing (not hidden), a horizontal pushpin in its title bar indi-
cates its dynamic state.
• Close a docked manager by left-clicking on the x in the upper right corner of the
title bar.
• Change a docked dynamic manager into a docked static manager by clicking the
push pin (converting it from vertical to horizontal).
• Switch between multiple docked managers in the same location by moving the
mouse over the manager’s tab or by clicking the manager’s tab.
Closed—When a manager is closed, you cannot view it. Close a manager by clicking
the x in the right corner of the manager’s title bar. Open a manager by selecting the
manager from the View menu (for example, View > Element Symbology), or by
selecting the button for that manager on the appropriate toolbar.
Scenario Management
Reporting Results
Energy Costs
In this lesson, you will create and analyze the network shown below. You will use a
scaled background drawing for most of the network; however, four of the pipes are not
to scale and will have user-defined lengths.
This lesson has instructions for use with the WaterCAD V8i interface and the
AutoCAD interface.
1. Double-click the Bentley WaterCAD V8i icon. The welcome dialog box opens.
2. Click Create New Project and an untitled project opens.
3. Choose Tools > Options > Units. Since you will be working in System Interna-
tional units, click Reset Defaults to System International.
4. Verify that the Default Unit System for New Project is set to SI. If not, select from
the menu.
5. Select the Project tab to make sure Drawing Mode is set to Scaled.
8. Set up the project. Choose File > Project Properties and name the project Lesson
1—Steady State Analysis and click OK.
9. Choose File > Save as. In the Save File As dialog box, double-click the Lesson
folder.
10. Enter the file name MYLESSON1.WTG for your project, and click Save.
3. Verify that the Default Unit System for New Project is set to SI. If not, select from
the menu.
4. Click OK.
5. Select File > Open
6. Select the existing AutoCAD file LESSON1.DWG from the Lesson folder.
7. With the drawing open, select File > Save As. In the Save Drawing As dialog box,
double-click the Lesson folder, enter the filename as MYLESSON1.DWG and
click Save to save the file in your \Bentley WaterCAD V8i \Lesson directory.
Now, select the Layout Elements tool in the Bentley WaterCAD V8i toolbar.
Then, move the cursor onto the drawing pane and right-click to select Reservoir
from the shortcut menu. Click the approximate location of reservoir R-1 (see
diagram above). You will be prompted to set up the project. Click Yes to open the
Project Setup Wizard.
8. In the Project Setup Wizard, title the project Lesson 1—Steady State Analysis
and click the Next button.
9. Choose your desired settings. For this lesson, use the program default values.
Click the Next button.
10. Select the Scaled button located under the Drawing Scale option. Set the hori-
zontal scale to 1 mm = 4000 mm, and the vertical scale to 1 mm = 400 mm.
11. Click the Next button to continue.
12. The element prototype buttons allow you to set default values for each element
type. We will use the default prototype values in this lesson, so click the Finished
button.
9. Create J-5.
a. Select the Pipe layout tool again.
b. Click junction J-3.
c. Move the cursor to the location of J-5, and click to insert the element.
d. Right-click and select Done.
10. Insert the PRV from the menu, and junction J-6 by selecting the Pipe layout tool
and placing the elements in their appropriate locations.
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. Right-click and select Done from
the menu to terminate the Pipe Layout command.
11. Insert the tank, T-1, using the Pipe layout tool. Pipe P-10 should connect the tank
to the network if you laid out the elements in the correct order.
12. Save the network by clicking Save or choose File > Save.
Step 3: Enter and modify data
• Dialog Boxes—You can use the Select tool and double-click an element to bring
up its Properties editor. In AutoCAD, click the element once with the Select tool
to open the element’s editor.
To access an element’s dialog box in WaterCAD V8i mode, double-click the element.
In AutoCAD, first click the Select tool on the toolbar, then click the element whose
attributes you wish to modify.
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 Editor.
4. Open the Tank Editor for tank T-1 and enter the following:
Elevation (Base) = 200
Elevation (Minimum) = 220
Elevation (Initial) = 225
Elevation (Maximum) = 226
Diameter (m) = 8
Section = Circular
.
g. Click OK.
i. Click Close.
In order to add the demand, click the ellipsis in the Demand Collection
field to open the Demand box, click New, and type in the numbers for Flow (L/
min).
Click to exit.
8. Specify user-defined lengths for pipes P-1, P-7, P-8, P-9 and P-10.
d. Repeat for pipes P-7 through P-10 using the following user-defined lengths
and diameters.
P7 = 400
P8 = 500
P9 = 31
P-10 = 100
e. Click to close.
Step 4: Entering Data through FlexTables
It is often more convenient to enter data for similar elements in tabular form, rather
than to individually open a dialog box for an element, enter the data into the dialog
box, and then select the next element. Using FlexTables, you can enter the data as you
would enter data into a spreadsheet.
To use FlexTables
2. Double-click Pipe Table and click OK. Fields that are white can be edited, but
yellow fields can not.
3. For each of the pipes, enter the diameter and the pipe material as follows:
4. In order to enter the material type, click the ellipsis to open the Engi-
neering Libraries box. Click on Material Libraries > Material Libraries.xml and
then click the appropriate material type and then click Select.
Click to close.
This lesson is based on the project created in Building a Network and Performing a
Steady-State Analysis. If you have not completed it, then open the project
LESSON2.WTG (LESSON2.DWG in the AutoCAD version) from the
Bentley\Bentley WaterCAD V8i \Lesson directory. If you completed Lesson 1, then
you can use the MYLESSON1 file you created.
1. Open MYLESSON1.WTG.
2. After you have opened the file, choose File > Save As.
3. Enter the filename MYLESSON2 and click Save.
4. Choose File > Project Properties, and change the Project Title to Lesson 2—
Extended Period Simulation.
5. Click OK.
Step 1: To Create Demand Patterns
Water demand in a distribution system fluctuates over time. For example, residential
water use on a typical weekday is higher than average in the morning before people
choose work, and is usually highest in the evening when residents are preparing
dinner, washing clothes, etc. This variation in demand over time can be modeled using
demand patterns. Demand patterns are multipliers that vary with time and are applied
to a given base demand, most typically the average daily demand.
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 editors.
1. Open the editor for Junction J-1 (double-click junction J-1) and click the ellipsis
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.
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
f. The Residential Patterns dialog box should look like the following:
Time from
Multiplier
Start
3 .6
6 .8
9 1.6
12 1.6
15 1.2
18 .8
21 .6
24 .4
f. The Commercial Patterns dialog box should look like the following:
6. Click Close.
7. In the Pattern field, 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.
11. Choose Demand Collection in the properties for junctions J-2, J-3, J-4, J-5 and J-6
and enter the following demand data using the Residential and Commercial
demand patterns already created.
12. Now, you will set up an additional demand pattern to simulate a three-hour fire at
node J-6.
a. In the Demand Collection field for J-6, click the ellipsis to insert an
additional Flow of 2000 l/min in row three of the Demands table.
b. Click the Pattern column for row three and select the ellipsis to open
the Pattern Manager.
h. Under the Hourly tab, enter the following times and multipliers:
Time from
Multiplier
Start
18 1
21 0
24 0
i. After you have filled in the table, look at the Graph in the lower section of the
Patterns box.
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.
j. Click Close.
13. Select the new pattern, 3-Hour Fire, from the Pattern selection box in row three
of the demands table.
Click to close.
Scenario Management
One of the many project tools in Bentley WaterCAD V8i is Scenarios Management.
Scenarios allow you to calculate multiple “What If?” situations in a single project 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 char-
acteristics 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 Compar-
ison tool.
1. Open MYLESSON2.WTG.
2. After you have opened the file, choose File > Save As.
3. Enter the filename MYLESSON3 and click Save.
4. Choose File > Project Properties, and change the Project Title to Lesson 3—
Scenario Management.
5. Click OK.
First, you need to set up the required data sets, or alternatives. An alternative is a
group of data that describes a specific part of the model.
In this example, you need to set up a different physical or demand alternative for each
design trial you want to evaluate. Each alternative will contain different pipe size or
demand data.
In Bentley WaterCAD V8i , you create families of alternatives from base alternatives.
Base alternatives are alternatives that do not inherit data from any other alternative.
Child alternatives can be created from the base alternative. A Child alternative inherits
the characteristics of its parent, but specific data can be overridden to be local to the
child. A child alternative can, in turn, be the parent of another alternative.
4. Now you should add a child of the base-demands alternative, because the new
alternative will inherit most data. Then, you can locally change the data that you
want to modify. You will modify the existing demand data by increasing the fire
flow component at node J-6 from 2000 l/min. to 4000 l/min.
a. Right-click to New > Child 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.
If
you change any piece of data, the check box will become selected because
that record is now local to this alternative and not inherited from the parent.
5. Click in the Demand Collection column for node J-6. Change the 2000 l/min. fire
demand to 4000 l/min.
Alternatives are the building blocks of a scenario. A scenario is a set of one of each of
the types of alternatives, plus all of the calculation information needed to solve a
model.
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. Click Rename to 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 scenario to New > Child Scenario.
b. Enter a scenario name of 4000 l/min. Fire Flow at J-6 (EPS) and click to
open the Scenarios Properties box.
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. To 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.
The new alternative is no longer inherited from the parent, but is local to this
scenario.
c. Click to exit the scenario.
Step 3: To calculate both of the scenarios using the Batch Run tool
.
2. Select both check boxes next to the scenario names in the Batch Run dialog box.
3. Click Batch.
4. Click Yes at the prompt to run the batch for two scenarios.
5. After computing finishes, click OK.
6. To see the results for each scenario select the Scenario, right-click, and click
Report.
Step 4: To create a Physical Alternative
You need to further examine what is going on in the system as a result of the fire flow,
and find solutions to any problems that might have arisen in the network as a result.
You can review output tables to quickly see what the pressures and velocities are
within the system, and create new alternatives and scenarios to capture your modifica-
tions.
1. Create a new scenario having a new physical alternative with the pipe sizes for P-
8 and P-9 increased to 200 mm.
e. Click the Alternatives tab, and choose Physical Alternative > Base Physical >
New > Child Alternative.
f. Rename the new Child Alternative P-8 and P-9 Set to 200 mm.
g. Double-click to open the Physical Alternative manger. In the Pipe tab for this
Alternative, change the diameter for pipes P-8 and P-9 to 200 mm.
h. Click Close.
i. Click the Scenarios tab to open the Scenarios manager.
j. Choose Computer > Batch Run and select the check box for Pipes P-8 and P-
9 Set to 200 mm.
k. Click Batch and then Yes to confirm and run the Scenario.
l. Click OK after the run is complete.
2. Close the Scenario manager.
3. Click FlexTables .
4. Open the Junction FlexTable and run the Report for All Time Steps.
5. Close the open boxes and save the project.
Reporting Results
An important feature in all water distribution modeling software is the ability to
present results clearly. This lesson outlines several of Bentley WaterCAD V8i
reporting features, including:
• Reports, which display and print information on any or all elements in the
system.
• Element Tables (FlexTables), for viewing, editing, and presentation of selected
data and elements in a tabular format.
• Profiles, to graphically show, in a profile view, how a selected attribute, such as
hydraulic grade, varies along an interconnected series of pipes.
• Contouring, to show how a selected attribute, such as pressure, varies throughout
the distribution system.
• Element Annotation, for dynamic presentation of the values of user-selected
variables in the plan view.
• Color Coding, which assigns colors based on ranges of values to elements in the
plan view. Color coding is useful in performing quick diagnostics on the network.
For this lesson, you will use the system from the Scenario Management lesson, saved
as MYLESSON3 in the WaterGEMS\Lesson directory. If you did not complete this
lesson, you may use the file LESSON4.WTG (LESSON4.DWG in AutoCAD).
1. Open MYLESSON3.WTG.
2. Select File > Save As.
Reports
10. Click Report and select for either the Current Time Step or All Time Steps.
You can print this report or copy it to the clipboard using these icons.
The report will print or paste into a word processor in the exact format seen on the
screen.
12. Click to Close the report, and then click to exit the Tank FlexTable.
FlexTable
When data must be entered for a large number of elements, clicking each element and
entering the data can be time consuming. FlexTable, elements 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, or
you can display duplicates of the same column with different units.
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 automati-
cally 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 dialog boxes, 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. Choose Analysis > Scenarios.
b. Select the P-8 and P-9 Set to 200 mm scenario.
c. Click New > Child Scenario.
d. Rename the new scenario 5-yr.-old D.I.P.
e. Click the Alternatives tab and choose Physical Alternative > Base Physical >
New > Child Alternative.
f. Rename the new Alternative 5-yr.-old D.I.P.
g. Click to Close.
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.
6. To deactivate the filter, right-click anywhere in the dialog box 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 using the Table
Manager.
b. Scroll through the list on the left to view the types of data available for place-
ment in the table. You can select an item to add or remove from the table.
c. You can adjust the order which the columns will be displayed by using the
d. Click Ok to save your changes or Cancel to exit the table without making
change.
1. To create a print preview of the distribution system, choose File > Print Preview
This option will create a preview of the entire system regardless of what the
screen shows.
The print preview opens in a separate window, which can then be printed or
copied to the clipboard.
Click the Copy button to paste the view into another program.
2. Click to close.
3. To create a profile view, choose View > Profiles, or click Profile in the
toolbar. This activates the Profiles manager.
4. Click New to open the Profile Setup dialog box, and then click Select from
drawing to choose the element to profile.
5. The dialog box closes and select opens. Choose the elements to include in the
6. The Profile Setup dialog box opens with the selected elements appearing, in order,
in the list.
7. After you create the profile, you can make adjustments to its appearance by
clicking Profile Series Options or Chart Options.
To create a contour
The contouring feature in Bentley WaterCAD V8i 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 result 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.
.
2. Select the Field Name to annotate.
Color Coding
1. Choose View > Element Symbology and click the element to create the New
Color Coding.
2. Right-click the element and choose New > Color Coding or click New > New
Color Coding from the toolbar.
3. The Color Coding dialog box allows you to set the color coding for links, nodes,
or both. You will color code by diameter (link attribute) and pressure (node
attribute) in this example.
a. Select Diameter from the Field Name menu.
b. In the table, enter values of 150, 200, and 1000 mm with colors of red, blue,
and green, respectively.
c. Click Calculate Range to get the minimum and maximum values for the vari-
able displayed at the top of the dialog box. The maximum must be higher than
the minimum.
d. Then, click Initialize and the model will select the color coding
ranges in the table automatically.
4. You can add a legend to the drawing. Right-click on the color coding and select
Add Color Coding Legend from the menu. You can move the legend in the
drawing by clicking the mouse and dragging the legend.
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.
1. Start Bentley WaterCAD V8i and open the LESSON1.wtg file, found in the
Bentley\Bentley WaterCAD V8i \Lesson folder.
Or
if you have previously completed the Building a Network and Performing a
Steady-State Analysis lesson, you can use your MYLESSON1 file.
2. Choose File > Save As and save as MYLESSON5.
3. Choose File > Project Properties and name the title of the project Lesson 5—Fire
Flow Analysis.
4. Click OK.
5. 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 anal-
ysis, 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 Scenarios > Alternatives > Demand Alternative.
b. Expand Demand Alternative and select Average Daily with 2000 l/min. Fire
Flow, right-click New > Child Alternative.
c. Double-click to open the new alternative and check J-6.
d. 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. Double click to open the Alternative and right-click the Flow column and
select Global Edit. Set the Operation to multiply, and enter a value of 1.5.
c. Click OK.
8. Select the Fire Flow alternative and expand to select the Base-Fire Flow Alterna-
tive.
9. Click to close.
c. Click Batch to run the analysis, and Yes at the confirmation prompt.
When the calculation is complete, click OK and close the Scenarios Manager.
d.
1. Make sure that Automated Fire Flow Analysis is selected in the Scenario list
box.
2. Click View > FlexTables > Tables - Predefined > Fire Flow Report
3. Double-click Fire Flow Report to open the Fire Flow Report FlexTable.
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.
4. When you are finished reviewing the report, click Close in the Bentley WaterCAD
V8i Fire Flow Report dialog box and save your file as MYLESSON5.
This lesson uses the file called LESSON6.wtg (LESSON6.DWG in the AutoCAD
version), located in the \Bentley\Bentley WaterCAD V8i \Lesson directory.
1. Open Lesson6.wtg.
2. After you have opened the file, choose File > Save As.
3. Enter the filename MYLESSON6 and click Save.
4. Choose File > Project Properties, and change the Project Title to Lesson 6—
Water Quality Analysis.
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 in the WaterCAD V8i version, clear
the background check box in the Background Layers pane.
You will begin by running an age analysis for water in the system, assuming an initial
age of 0 for all nodes. The water from the reservoir will be an infinite supply of new
water, so the age of water elsewhere in the system will be a reflection of time from the
start of the run and how long ago the water left the reservoir. The analysis will be run
for a 2-week period (336 hours), in order to determine the equilibrium point of the
system.
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 properties box. In the Age
Alternative field select Initial Age = 0, from the drop-down menu.
e. Click the Calculation Options tab and double click Existing - Avg Day to
view the settings for this Scenario. Extended Period Analysis should already
be selected.
f. Set the Calculation Type to Age
g. Enter a Start Time of 12:00:00 AM.
h. Set a Duration of 336 hours.
11. Click Initialize to set up a default color scheme. Accept this default
scheme.
If you get a message about Bentley WaterCAD V8i being unable to determine the
limits for mapping, make sure that Age Analysis is selected in the Scenario drop-
down list, in the toolbar.
12. Click Apply.
15. A good way to check if your network has had sufficient time to reach an equilib-
rium 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 34 and 49 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.
d. Click to close.
In this portion of the lesson, you will look at chlorine residuals in the system over
time. Bentley WaterCAD V8i stores information on constituent characteristics in a
file called a constituent library. You will add information for chlorine to this library,
set up initial concentrations in the system, and run the simulation.
La be l: Chlorine
Bulk Re a ction: -0.10/day
W a ll Re a ction: -0.08 m/day
Diffusivity: 1.2e-9 m 2 /s
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. Notice that the Bulk Reaction in
the table is automatically updated.
9. In the Pump and Valve tabs, set the pumps and valves to an initial concentration of
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 Options to Set the initial concentration.)
11. In the Reservoir tab, enter a value of 2.0 mg/l for the reservoir.
12. Set the tank’s concentration to 0.5 mg/l.
13. Close the Editor and the Alternatives Manager.
14. Now, open the Scenario Control Center and set up a new Scenario in order to
run the Constituent Analysis.
a. Create a new Child off of the Age Analysis Scenario by highlighting it and
clicking Scenario Management > Add > Child Scenario.
b. Enter Chlorine Analysis as the new scenario name, and click OK.
c. Under the Alternatives tab, check the box labeled Constituent, and select the
Chlorine Injection Alternative from the choice list.
15. Click the Calculation tab.
16. Select the Constituent button, in the Analysis section, and leave everything else
set to the inherited values.
17. Click Close to exit the dialog box.
18. Click Compute Batch Run.
19. Deselect Age Analysis.
20. Select Chlorine Analysis, then click Batch to run the model.
21. Click Yes and OK to accept the message boxes. Close the Scenario Control
Center dialog box.
22. Select sure Chlorine Analysis as the current Scenario.
23. Set up color coding. This time, color code by Calculated Concentration instead of
Calculated Age. Scroll through the time steps to view how the concentrations
change throughout the network. When you look at your results using color coding,
tables, and graphs, try to discover what better initial values for chlorine concentra-
tion might be.
A trace analysis determines the percentage of water at all nodes and links in the
system from a specific source node (the trace node). In systems with more than one
source, it is common to perform multiple trace analyses using the various source
nodes as the trace nodes in successive analyses. For this run, you will perform a trace
analysis to determine the percentages of water coming from the tank.
There are multiple ways of importing data from outside sources into Bentley
WaterCAD V8i . You can set up one or more database connections to bring in infor-
mation stored in many standard database and spreadsheet formats. GIS information
can be brought in through connections to ESRI shapefiles. If you have existing draw-
ings of your network in a .DXF format (.DWG format in the AutoCAD version), you
can have Bentley WaterCAD V8i convert your lines and/or blocks into distribution
system elements, setting up preferences for handling situations such as T-intersections
and line endpoints, and creating tolerances to allow for drawing imperfections. Or,
you can display a .DXF file as a background drawing for use in laying out a scaled
network (WaterCAD V8i version only). Patterns and pump definitions can also be
imported, from specially formatted text files. These data types can only be imported in
this way—since this data occupies more than a single database field, shapefile and
database connections cannot be used to bring pump definitions or patterns into the
model. Shapefile and database connections can, however, store the name of the pump
definition, as well as other single-field pump data such as elevation, label, and relative
speed. This allows the pumps to be imported into the model, and assigned a previously
created (or imported) pump definition, according to the name of the pump definition.
This process is demonstrated in Part 1. Finally, Bentley WaterCAD V8i will automat-
ically import networks created in EPANet, KYPIPE, and previous versions of
Cybernet/WaterGEMS.
Bentley WaterCAD V8i also uses database and shapefile connections to export data
from the model for use externally. You can also copy tables, reports, and graphs and
paste them into other Windows applications, or save plan and profile views in .DXF
format for use when creating construction documents in CAD. This lesson covers the
three main methods of building your network using external data, summarized in the
following table.
Shapefile Create connections Advantages are similar to those More proprietary. You
Connection to import and export of Database Connections, have to have
model data in ESRI except the topographic data software that
shapefile format. exchange is automatic and pipe supports ESRI
bends are accounted for. shapefiles in order to
utilize the data.
Polyline to Convert existing Enables you to use legacy CAD Elements are
Pipe lines, polylines, and drawings to build your network. assigned default
Conversion blocks in DXF/DWG You can set up tolerances to labels as they are
format into pipes and allow for drawing imperfections, created. Only
other network and preferences for how nodes topographic data can
elements. will be created. be imported, not
attribute values.
Requires careful
review on the part of
the modeler.
In this part of the lesson, you will import ESRI shapefiles to construct the distribution
network in Bentley WaterCAD V8i from existing GIS data. If you have ArcView,
ArcInfo, or other application that can open a shapefile, then you can, if you choose,
view the files externally prior to importing them. However, you will still be able to
perform the workshop problem even if you don’t have one of these applications. This
lesson uses the network from Water Quality Analysis on page 2-95.
The ESRI shapefile actually consists of three separate files that combine to define the
spatial and non-spatial attributes of a map feature. The three required files are as
follows:
• Main File—The main file is a binary file with an extension of .SHP. It contains
the spatial attributes associated with the map features. For example, a polyline
record contains a series of points, and a point record contains x and y coordinates.
• Index File—The index file is a binary file with an extension of .SHX. It contains
the byte position of each record in the main file.
• Database File—The database file is a dBase III file with an extension of .DBF. It
contains the non-spatial data associated with the map features.
All three files must have the same file name with the exception of the extension, and
be located in the same directory.
Listed below are the files you will be importing. Only the main files are listed;
however, corresponding .SHX and .DBF are present as well.
• PresJunc.shp
• PresPipe.shp
• PRV.shp
• Pump.shp
• Reservoi.shp
• Tank.shp
If you have a program such as ArcView or ArcGIS that allows you to view shapefiles,
begin by setting up a view with all of the shapefiles (themes) listed above turned on. If
you completed the Water Quality Analysis lesson, you should recognize the layout
from that lesson. You can look at the data table for each of the themes to see what you
will be importing. When you have finished reviewing the shapefiles, close the applica-
tion.
This lesson has instructions for use with the WaterCAD V8i interface and the
AutoCAD interface.
1. Double-click the Bentley WaterCAD V8i desktop icon to start WaterGEMS for
AutoCAD. Select Tools > Options and choose the Global tab.
2. Since you will be working in SI units, click the Unit System selection box, and
select System International. Click OK.
3. Click File > New and select No when prompted to save the existing drawing.
4. Only if the Create New Drawing dialog box does not open: Press the Esc key.
Then, type filedia at the command prompt and press Enter. Type the value 1 and
press Enter. Then, choose File > New, and do not save changes to the existing
drawing. Note that the filedia variable controls whether some AutoCAD
commands appear as dialog boxes or simply at the command prompt.
5. When the Create New Drawing dialog box opens, make sure Metric is selected,
and click OK.
6. Click Yes when prompted to set up the project. In the Project Setup Wizard, title
the project Lesson 7, Part 1 - Importing GIS Data, and click Next.
7. Click Next again to accept the defaults on the second screen.
8. In this dialog box, set up the drawing as Scaled, with a horizontal scale of 1:5000
and a vertical scale of 1:500.
9. Change the three Annotation Multipliers (Symbol Size, Text Height and Annota-
tion Height) to 2.8. Click Next, leave the Prototypes set to their default values,
and click Finished.
In both the AutoCAD and WaterCAD V8i interfaces:
13. Leave the Shapefile Unit set to m, and select the check box to establish missing
connectivity data from spatial data, and click Next.
14. Click the Ellipsis (…) button next to the Shapefile field. Browse and select the
file PRESJUNC.SHP from the \Bentley\wtg\Lesson directory; click Open.
15. Set the Key/Label field to LABEL. This item designates the field that Bentley
WaterCAD V8i matches with its own element labels, so that data will be assigned
to the correct place.
16. Using the Field Links table, match the data types available in Bentley WaterCAD
V8i to the data types you will be bringing in from the shapefile.
17. In row 1, select Elevation from the WaterGEMS column and ELEV from the
Database column. Set the Unit to m to set the coordinate from the shapefile to
meters. If the units in your shapefile were different than the units set up in Bentley
WaterCAD V8i , then Bentley WaterCAD V8i would automatically do the neces-
sary unit conversions.
18. Fill in the next row, so that your entries correspond to the table below. Click Next
when you are finished.
Pressure Junction Shapefile Connection
Elevation ELEV m
19. Set up the Pressure Pipe connections. Continue by entering the information below
for the Pressure Pipe and clicking Next to proceed to the next dialog box. The
shapefile for each type of element will be located in the \Bentley\wtg\Lesson
directory (for example, select the PRESPIPE.SHP file for the pressure pipe
connection), and the entry for the Key\Label field will always be LABEL. Your
Field Links tables should look like the tables that follow.
Diameter D mm
Hazen-Williams C
C
Elevation ELEV m
Diameter D mm
Elevation ELEV m
Elevation ELEV m
Minimum MIN_ELEV
m
Elevation
Maximum MAX_ELEV
m
Elevation
20. When you are finished setting up the shapefile connections, click Next to proceed.
The Synchronize Now? dialog box will open.
21. Make sure the Synchronize Shapefile Connection and In check boxes are
selected because you will be reading data from the shapefiles.
22. Click Finished and Yes when prompted if you want to proceed.
23. A Status Log is generated showing the elements as data that is read into the model.
After the import is complete, you should get a yellow light in this window, indi-
cating that the synchronization was successful but that there are warnings. If there
were no warnings you would get a green light and, if there were errors, a red light.
In this case, the warnings are due to the fact that you set Bentley WaterCAD V8i
to generate our network connectivity from the GIS spatial data. The log indicates
where connectivity is being established, which is fine.
24. Close the Status Log and click OK to return to the drawing pane.
25. Now, examine the network that you imported. Notice that it looks like the network
from Water Quality Analysis on page 2-95, and many of the pipes have bends and
curves in them. Since you have topographic information stored in the shapefile,
these bends can be imported. Because you created a scaled drawing, the pipe
lengths will be read from the layout.
Also notice that the default scenario, Base, is currently displayed as the current
scenario. Whenever data is brought in through a database or shapefile connection,
it is automatically written into the alternatives referenced by the current scenario.
Similarly, whenever data is exported, the data associated with the current scenario
will be used.
26. To run the model, click the Compute button in the toolbar, and then click
Compute in the dialog box. Now that you have calculated data, you could export
the new data to your GIS database by going into the database and creating a new
label for it. In “Part 2—Importing Data from a Database” on page 2-108, you will
use an almost identical procedure to export pressures using database connections.
27. After you are finished, close the Scenario Editor. Continue with “Part 2—
Importing Data from a Database” on page 2-108 or save your file as MyLesson7
and exit Bentley WaterCAD V8i .
This portion of the lesson shows you through the steps to set up a connection to a data-
base in order to create a new water distribution network from existing data.
The necessary data has been included as a Microsoft Excel 5.0 spreadsheet. If you do
not have software that can read this file type, you will still be able to perform the
workshop, but you won’t be able to open the data to view it externally.
This lesson uses the network from Water Quality Analysis on page 2-95.
This lesson has instructions for use with the WaterCAD V8i interface and the
AutoCAD interface.
1. Open the spreadsheet file LESSON7.XLS and take a look at it. As you can see
from the worksheet tabs, the data is organized into six worksheets, one for each
type of element in the network. When setting up a spreadsheet yourself, you may
organize and group data however you like. Just make sure that the different types
of data are sorted into columns, with a descriptive heading in the topmost cell, and
include a column for your labels.
2. Double-click the Bentley WaterCAD V8i desktop icon to start Bentley
WaterCAD V8i WaterCAD V8i. If the Welcome to Bentley WaterCAD V8i
dialog box opens, select the Close button.
3. Click Tools > Options and select the Global Options tab. Since you will be
working in SI units, click the Unit System selection box, and select System
International. Click OK.
4. Select File > New. Click No when prompted to save the current project. In the
Create Project File As dialog box, double-click the Lesson folder, type the file
name DBPROB.wtg for your project, and click Save. The Project Setup Wizard
opens.
5. In the Project Setup Wizard, title the project Lesson 7, Part 2 - Importing Data
from a Database. Click Next.
6. Click the Next button again to leave this dialog box set to its default values.
7. In this dialog box, set up the drawing as Schematic, and change the three Annota-
tion Multipliers (Symbol Size, Text Height and Annotation Height) to 25.
8. Click Next, leave the Prototypes set to their default values, and click Finished.
In the AutoCAD interface:
1. Open the spreadsheet file LESSON7.XLS and take a look at it. As you can see
from the worksheet tabs, the data is organized into six worksheets, one for each
type of element in the network. When setting up a spreadsheet yourself, you may
organize and group data however you like. Just make sure that the different types
of data are sorted into columns, with a descriptive heading in the topmost cell, and
include a column for your labels.
2. Double-click the Bentley WaterCAD V8i desktop icon to start WaterGEMS for
AutoCAD.
3. Click Tools > Options and select the Global Options tab. Since you will be
working in SI units, click the Unit System selection box, and select System
International. Click OK.
4. Select File > New. Click No when prompted to save the existing drawing.
5. If the Create New Drawing dialog box does not open: Press the Esc key. Then,
type filedia at the command prompt and press Enter. Type the value 1 and press
Enter. Then, choose File > New, and do not save changes to the existing drawing.
Note that the filedia variable controls whether some AutoCAD commands appear
as dialog boxes or simply at the command prompt.
6. When the Create New Drawing dialog box opens, make sure that Metric is
selected, and click OK. Select Yes when prompted to set up the project. In the
Project Setup Wizard, title the project Lesson 7, Part 2 - Importing Data from a
Database, and click Next. Click Next again to accept the defaults on the second
screen.
7. In this dialog box, set up the drawing as Schematic, and change the three Annota-
tion Multipliers (Symbol Size, Text Height and Annotation Height) to 25.
8. Click Next, leave the Prototypes set to their default values, and click Finished.
In both the AutoCAD and WaterCAD V8i interfaces:
11. Enter the Connection Label Lesson 7, Part 2 for this connection, and click the
Add button.
14. Click the Database Table list box. Notice that the items in the list correspond to
the different worksheet tabs in your spreadsheet file.
15. Select Junction$ from the list and Pressure Junction for the Table Type.
16. Set the Key/Label field to Label. This item designates the field that Bentley
WaterCAD V8i matches with its own element labels, so that data will be assigned
to the correct place.
17. Using the Field Links table, you must now match the data types available in
WaterGEMS to the data types you will be bringing in from the spreadsheet.
a. In row 1, select X from the WaterGEMS column, and X (m) from the Data-
base column.
b. Set the Unit to m to set the coordinates that are read from the spreadsheet to
meters. If the units in your database were different than the units set up in
Bentley WaterCAD V8i , then Bentley WaterCAD V8i would automatically
make the necessary unit conversions.
18. Fill in the remaining rows, so that your entries correspond to the table below.
Junction Database Connection
X X (m) m
Y Y (m) m
Diameter Diameter mm
Material Material
Hazen-Williams C Roughness
24. Repeat the above procedure to set up connections for Reservoir, Tank, and Valve
connections, using information from the following tables.
Reservoir Database Connection
X X (m) m
Y Y (m) m
X X (m) m
Y Y (m) m
X X (m) m
Y Y (m) m
25. After you finish setting up the database connections, click OK to close the Data-
base Connection Editor.
26. Click the Synchronize In button. When the message box opens, click Yes to
proceed.
41. Finally, if you reopen the LESSON7.XLS file in Microsoft Excel, you will see
that the pressure values have now been added.
The Polyline to Pipe tool lets you take existing CAD entities and use them to quickly
construct a water distribution network. Although this feature is called Polyline to Pipe,
line and block entities can be converted as well (polylines and lines can be converted
to pipes; blocks can be converted to any available node type).
The Polyline to Pipe Wizard guides you through the conversion process, letting you
set up options relating to tolerances, node creation, and handling T-intersections. To
help reduce some of the problems that you may encounter during the import process, a
comprehensive drawing review is also performed. During conversion, the network is
analyzed, and potential problems are flagged for review. After performing the conver-
sion, the Drawing Review window lets you navigate to and fix any problems that may
be encountered.
This lesson has instructions for use with the WaterCAD V8i interface and the
AutoCAD interface.
1. Start WaterGEMS for AutoCAD and open the file LESSON7.DWG in the
\Haestad\Wtrc\Lesson directory.
2. Select Edit > Change Entities to Pipes. The AutoCAD command line prompts
you to select objects. Draw a selection window around all of the objects in the
drawing by clicking the upper left and lower right corners, then right-click.
3. Click Yes when prompted to set up the project.
Shutoff: 70 0
Design: 50 1200
12. Create one more prototype, this time for the PRVs. They both have an elevation of
129 m and an HGL setting of 185.2 m.
13. Click OK, and then Finished. The Polyline to Pipe Wizard opens.
In the WaterCAD V8i interface:
14. Browse to and open the file LESSON7.DXF, located in the Haestad\Wtrc\Lesson
directory.
15. Leave the .DXF unit set to meters, and click Next.
16. Set up the options Bentley WaterCAD V8i will use when performing the conver-
sion.
a. Change the Tolerance to 1 m, so that pipe endpoints that come within a meter
of one another will be assumed to be connected.
b. Select Convert Polylines and Lines to pipes, and select Pressure Junction
to be used if no node is found at a polyline endpoint.
c. Click Next.
17. Select the option to join pipes at T-intersections within the specified tolerance, and
click Next.
18. Select Yes when prompted for blocks that you would like to convert to nodes.
19. Fill in the table by matching the AutoCAD Blocks JUNCTION, PRV, PUMP,
RESERVOIR, and TANK with the corresponding Bentley WaterCAD V8i
elements (Pressure Junction, PRV, Pump, Reservoir, and Tank).
20. Click Next.
21. You will be given the option to alter the prototype settings. This option is useful if
you want to import in multiple passes, grouping like data together to make the
data entry process more automated. For instance, you could have chosen to import
all of the 100 mm pipes, then the 150 mm pipes, etc., changing the prototype each
time. For this example, you will leave the prototypes as set in the Project Setup
Wizard. Click Next.
22. Make sure that the layers HMI_NODE and HMI_PIPE are both checked, and
click Finished to perform the conversion.
23. When it is completed, close the statistics window.
24. A Drawing Review dialog box opens with five junctions listed in it. The purpose
of the Drawing Review is to alert you to problems or assumptions made during the
import.
Find any one of these junctions by highlighting it in the list and clicking Go To.
The drawing pane will center on the junction and select it. If you have difficulty
seeing the selected element, increase the zoom factor in the Drawing Review
dialog box.
25. Open the element, and click the Messages tab. There will be a message telling you
that the node was added during the Polyline to Pipe conversion. The junction had
to be added because there was no node at that location in your .DXF drawing, but
there was a polyline endpoint. In the Polyline to Pipe Wizard, you set Bentley
WaterCAD V8i to add junctions to endpoints.
Even though you now have your drawing converted to a pipe network, it is still
not ready to be run because you can only bring in element types and network
connectivity using this type of import. Before you could run this model, you
would have to input data for elevations, demands, pipe sizes, etc., either directly
into Bentley WaterCAD V8i or through database connections.
The WaterGEMS elements are now on layer 0, since that layer was current when you
performed the conversion. If you turn off layers HMI_PIPE and HMI_NODE, only
the actual Bentley WaterCAD V8i elements will be visible.
P-1
P-1
5
J-2 J-15
City Tunnel No. 1
P-2 Bronx
P-1 4
J-3
P-3
J-14
J-4
P-1 3
P-4
J-5
J-13
P-1 2
Man hattan
P-5
J-19
J-18 P-18
P-17
J-12
J-6
Queen s
P-6
P-1 1
J-7 J-11
P-
7
J-8
0
P-1
P-
1 9
P-
8
J-9 J-20
P-9
P-
0
P-2
12
J-10
6
P-1
Richmond J-16
Brooklyn
J-17
13. Click OK after you finish setting up the Design Event Editor.
14. In the Darwin Designer dialog box, click the Design Groups tab.
15. Click Create Multiple Design Groups. 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.
c. When prompted, click Yes to create a group for each selected pipe.
18. Select the design event you want to use, Required Pressures, by clicking the
Active check box.
g. Choose New Pipe Sizes as the option group you want to use and click OK.
GA Parameter Value
Population Size 50
Stopping Criteria
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).
22. Review the Messages tab for notes pertaining to the calculation.
23. Review the Status tab to see what are the results of your calculation.
– Completed Successfully—If this green bar displays, then there were no errors
encountered by the calculation. If there were errors, you would be notified
and could look on the Messages tab to see what they were.
– Best Fitness—In this case, you were calculating based on cost. So, the best
fitness is the least costly solution that the GA 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 viola-
tion, 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.
24. Click Close to close the Darwin Designer Run Progress dialog box.
After you calculate the optimized design results display. You can review results and
look for violations of parameters.
1. Click Hide Results to minimize the results area and Show Results to restore the
results area.
2. From the solutions drop-down list, select the solution you want to see: Solution 0.
Notice that each solution is color coded; use the color code as a key when viewing
graphs.
Solutions are ranked by fitness, with Solution 0 being the best.
3. In the Design Groups tab, if you scroll down, you can see there are six pipes spec-
ified. These are the pipes that Darwin added to the scenario to provide the optimal
solution (note, we are not rehabilitating pipes in this example):
New Pipes
GA-P-7 96 3033600.00
GA-P-18 72 5304000.00
GA-P-19 72 3182400.00
GA-P-21 60 4646400.00
4. If needed, click Resize to Fit to fit the result columns in the dialog box.
5. The Rehab Groups and Flow Constraints tabs are empty because this lesson does
not use those.
6. Click the Pressure Constraints tab. This displays the maximum and minimum
pressure constraints you set on the junctions and the actual pressures calculated by
Darwin Designer.
Step 3: Using Results
After you calculate the optimized design results display. You can use the results are to
create graphs and reports.
2. Export the solution to Bentley WaterCAD V8i so you can use it.
a. Select Solution 0 in the solutions drop-down list. Notice that each solution is
color-coded.
b. Click Export to Scenario. The Export to Design Scenario dialog box opens.
4. A dialog will appear, informing you that the program is now synchronizing the
changes and time stamp from Darwin Designer with Bentley WaterCAD V8i .
5. In Bentley WaterCAD V8i , select the scenario you exported from the Scenario
drop-down 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.
P-1
P-1
5
J-2 J-15
City Tunnel No. 1
P-2
Bronx
P-1 4
J-3
P-3
J-14
J-4
P-1 3
P-4
J-5
J-13
P-1 2
Man hattan
P-5
J-19
J-18 P-18
P-17
J-12
J-6 GA-P -1 8
GA-P -17
Queen s
P-6
P-1 1
J-7
GA
J-11
-P-
7
GA
P-
-
7
J-8 P-
19
0
P-1
P-
1 9
P-
8
J-9 J-20
P-9
P-
0
P-2
12
GA
J-10
-
P-
21
-1 6
-P
6
GA
P-1
Richmond J-16
Brooklyn
J-17
• 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 thing to a pipe).
3. Click Compute to calculate the system pressures and tank levels for the Existing
Condition.
If you want, you can run a simulation or 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.
Add subdivision
and more pipes
here
Newer pipe
section in purple
Older pipe
section in green
New subdivision
pipes display in
red
Older pipe
Newer pipe section in green
section in purple
5. Click Compute to calculate the system pressures and tank levels for the Future
Condition.
6. In the Scenario: Future Condition dialog box, select an Extended Period simula-
tion.
7. Click Compute.
8. Click Close to close the Scenario: Future Condition dialog box.
9. Review the color coding for pressure at junctions.
a. Click Color Coding. The Color Coding dialog box opens.
b. Select Node and set the Attribute to Pressure, if needed.
For this lesson, one objective is to keep the junction pressures above 45psi.
So, when you play the simulation, watch for red junctions which indicate
unacceptably low pressure.
c. Click OK to close the Color Coding dialog box.
10. Run an animation to see what happens in the network over the course of 24 hours.
a. If needed, set the Animation Delay to 0.25 seconds.
Click Play
c. Notice, at hour 6 there is a low pressure junction and, by hour 15, most of the
junctions are showing a low pressure.
Existing
scenario
Future Condition
scenario: tank empties
d. Notice that by hour 11, Tank 165 is empty and does not refill.
e. From the Elements drop-down list, select Tank 65.
Existing
scenario
Future Condition
scenario: tank empties
With Darwin Designer, you need to consider two ways of accomplishing a cost-effec-
tive design: create new or parallel pipes and rehabilitate existing pipes. Clearly, the
new subdivision will get new pipes. And, as you can design an appropriate size for
these new pipes, there is no need for parallel pipes and there are no existing pipes on
which to perform rehabilitation.
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 flexi-
bility 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:
Click New to
Click New to create a new
create a new design event
design study
Note that there is no need to include any of the new pipes in rehab groups—in
fact, these should already have been assigned to design groups and be unavailable
for rehab groups.
You might consider grouping pipes based on size or age. To create a Rehab group:
a. Click New.
b. Name the Rehab group and click OK.
c. Use the Element Selector dialog box to choose the pipes you want to include
in the group.
10. Click the Option Groups tab. Create two design option groups and one rehabilita-
tion option group.
d. Enter data into the table. The first table contains a pipe diameter of 0. All
parallel pipes will use this option group. Including a diameter of 0 lets Darwin
Designer consider not adding a parallel pipe if that pipe is not needed for the
optimal solution.
Design Option Group 1
Aluminum
6 130 12.80
structural
e. 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.
Aluminum
6 130 12.80
structural
11. Create a single rehab 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.
Select three
functions for each
action
12. Select Rehab Option Groups in the tree-view and click New to create a new
rehab table.
a. Name the table and click OK.
b. Type the name of an action you want to create, such as Clean.
c. Click the cell under Pre-Rehab Diameter Vs. Post-Rehab Diameter Function
and click the Ellipsis (…) button to create a new function. The Function
Manager opens.
d. Click New > New Pre-Rehab Diameter Vs. Post-Rehab Diameter Func-
tion.
e. Name the function, Function - 0, and click OK.
f. The Function Editor opens. Enter your diameter data (inside pipe diameter)
into the table. We recommend you included 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-Rehab Post-Rehab
Diameter (in.) Diameter (in.)
6 6
8 8
10 10
12 12
14 14
16 16
18 18
20 20
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:
Relining Diameter vs. Cost
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 Do Nothing. This function is required if you need
Darwin Designer to consider not rehabilitating an existing pipe as an option.
Do Nothing Cost
6 0.00
8 0.00
10 0.00
12 0.00
14 0.00
16 0.00
Do Nothing Cost
18 0.00
20 0.00
24 0.00
30 0.00
21. Click the Design Type tab to set the genetic algorithm parameters. Set the Objec-
tive Type to Minimize Cost. You are not considering any benefits to increasing
system flow or pressure.
22. See Create the Optimized Design Run on page 2-157.
The design run uses your setup and applies it to the network.
1. Right-click the Design and Rehabilitation design run in the tree-view, and select
Add New Optimized Design Run.
2. Name the optimized design run as Design Run -1, and click OK.
3. In the Design Events tab, select the Active check box for the Design Event Name
Criteria Set -1. This enables the selected design event for the current run.
4. Click the Design Groups tab.
5. Activate all the design groups.
a. Right-click the Active column header.
b. Select Global Edit.
c. In the Global Edit dialog box, select the Active check box, and click OK. This
selects all the Active check boxes for all of the design groups in the tab.
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.
It is important, after you calculate your solutions, that you look at them and verify
they do what you need.
1. Click Compute. The Darwin Designer Run Progress dialog box opens and
displays the progress of the calculation.
2. After the calculation is complete, click Close. (If the calculation did not complete
successfully, you would check the Messages tab.)
In the results area, in the solutions drop-down list you see five solutions numbered
0 through 4. These are the five top solutions you set.
Review the
solutions
c. Click OK and OK again to clear the message prompt. This exports Solution
0.
d. Select Solution 1 from the solutions drop-down list.
e. Export Solution 1.
f. Export the remaining solutions in turn.
4. Click Close to exit Darwin Designer so you can review the solutions you
exported.
5. In Bentley WaterCAD V8i , open Scenario Manager.
6. Select Future Condition from the Scenarios drop-down list.
7. 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 Compute Batch Run.
b. Select the Scenarios you want to run.
Select the
Scenarios you
want to run
b. Click Next.
c. Select the Scenarios you exported and the Future Condition scenario and
move them to the Selected Scenarios window.
d. Click Next.
e. Choose Tank as the Element Type. Select either tank, as you’ll want to look at
them both. Click Next.
f. Set the Primary Y-Axis Attribute to Calculated Tank Level. Click Next.
g. Click Finish.
h. For tank 65, review the graph. Make sure the tank is kept full.
i. For tank 165, review the graph. Make sure the tank is kept full.
Run 1-1
representing
Scenario 0, fails to
keep the tank full
Note that two scenarios fail to keep the tanks full. The Future Condition
scenario, which is not optimized, and Design Run 1 - 1, which corresponds to
Solution 0, or your least costly and therefore most highly optimized solution.
Since all the other runs do keep the tanks full, and since Solution 0 fails to
keep your tanks full, Solution 1 (Scenario - 1-2) is the best optimal solution
that meets your pressure and tank fill requirements.
9. Close Geographer. Save your changes if prompted.
10. In the Scenario drop-down list, choose Design Run - 1-2, which represents Solu-
tion 1 that Darwin Designer calculated. From looking at the graphing results in
GeoGrapher, you know this solution keeps your tanks full.
11. Inspect your tank pressure by animating the scenario over 24 hours.
Click Play.
Note the color coding for pressure:
– <= 45 psi is red
– <= 70 psi is blue
– <= 100 psi is magenta
– <= 130 psi is green
12. Make sure none of the junctions is red during the animation.
13. Inspect a table of junction pressures.
a. Double-click any junction.
b. Click Report > Graph.The Graph Setup dialog box opens.
c. From the Dependent drop-down list, select Pressure.
d. Click the Elements tab.
e. Click Select.
f. In the Selection Set dialog box, select all available items (junc-
tions), and click OK.
g. In the Graph Setup dialog box, click OK.
h. The Graph dialog box opens and displays pressures for the junctions you
selected. Note that none of the junctions fall below 45 psi.
Conclusion
Darwin Designer computed Solution 0 to be the most optimal solution, meaning the
least costly. But, in GeoGrapher, you were able to identify that Solution 0, or Design
Run - 1-1 failed to keep the tanks full.
Thus, Solution 1, or Design Run - 1-2 became the best solution that kept the tanks full.
You also verified that Solution 1 was able to maintain pressures above 45 psi.
Some parallel
pipes are used
Energy Costs
Energy costs calculates energy usage and cost based on an extended period simulation
(EPS). It also determines a number of intermediated values such as efficiency, power,
and peak energy use.
Notice that the pump reaches 100% full speed several times.
The tanks fill gradually during this run and empty slightly quicker when the main
PUMP cycles off.
You can see the relative flow of the main pump and the booster bump.
6. Click to close the graph and click to close the Graph manager.
7. Save the file as MYLESSON11.
Step 2: Setting up energy pricing
Time From
Energy Price
Start
12 .15
21 .10
24 .10
4. Click to Close.
5. In the Energy Cost Manager, select EPS from the Scenario menu.
1. Click Compute .
2. Review the overall summary. Select the Pump Usage item. You can see that the
efficiency of the constant speed PUMP is higher than that of the variable speed
PMP-1 and PMP=2 was not called during this run.
3. Select Cost per Unit Volume and see how the cost changes as a result of pump
status and time of day energy charges.
4. Select PMP-1 and view the Cost per Unit Volume graph.
Step 5: Making graphical comparisons between pumps
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, click on Graph Series and
check Pump Head under the Results folder.
6. Click OK.
7. PUMP pumped into a pressure zone that required a higher pump head.
8. Click to save the graph and then click to close.
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.
The starter file consists of a model with two non-PDD scenarios, SteadyNoPD and
EPSNoPDD. The demands have been loaded and the diurnal demand function has
been created.
2. The Near source is on the left and the Far source is on the right.
Near
Far
4. Compute the model and make sure results are green and then close the
Calculation Summary.
7. Choose Analysis > Scenario and select EPSNoPDD and make it current .
8. Compute the scenario and make sure results are green and then close the
Calculation Summary.
9. In the drawing, press <Ctrl> and click the Near Reservoir and then the Far Reser-
voir, and then right-click to select Graph.