Professional Documents
Culture Documents
USER ’S GUIDE
This documentation is published by Haestad Methods, Inc. (“Haestad”), and is intended solely for
use in conjunction with Haestad’s software. This documentation is available to all current
Licensees in print and electronic format. No one may copy, photocopy, reproduce, translate, or
convert to any electronic or machine-readable form, in whole or in part, the printed documentation
without the prior written approval of Haestad. Licensee may download the electronic
documentation from Haestad’s web site and make that documentation available solely on
licensee’s intranet. Licensee may print the electronic documentation, in part or in whole, for
personal use. No one may translate, alter, sell, or make available the electronic documentation on
the Internet, transfer the documentation by FTP, or display any of the documentation on any web
site without the prior written approval of Haestad.
Trademarks
Portions of this document include intellectual property of ESRI and its licensor(s) and are used
herein under license. Copyright © 1999-2003 ESRI and its licensor(s). All rights reserved.
37 Brookside Road
Waterbury, CT 06708-1499 USA
Phone: +1-203-755-1666
Fax: +1-203-597-1488
E-mail: info@haestad.com
Internet: http://www.haestad.com
Contents
Chapter 1: Orientation 27
Using the WaterCAD Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-28
What’s New? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-29
Previously Added in WaterCAD v5.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-30
Previously Added in WaterCAD v4.5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-31
Previously Added in WaterCAD v4.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-32
Installation, Upgrades, and Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-33
Minimum System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-33
WATERCAD STAND-ALONE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-34
AUTOCAD MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-34
RECOMMENDED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-34
Installing Haestad Methods’ Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-35
Uninstalling Haestad Methods’ Products. . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-35
Troubleshooting Setup or Uninstallation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-35
Software Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-36
Upgrades. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-37
Globe Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-37
Network Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-37
Registering Network Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-38
REQUESTING A PERMANENT NETWORK LICENSE . . . . . . . . . . . . . . . . . . . . .1-39
INSTALLATION GUIDE FOR NETWORK LICENSE VERSIONS . . . . . . . . . . . . . . .1-40
NETWORK DEPLOYMENT FOLDER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-41
Learning WaterCAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-42
How Do I?—Frequently Asked Questions. . . . . . . . . . . . . . . . . . . . . . . . . . . .1-42
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-42
Tutorials. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-42
Sample Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-43
Haestad Methods’ Workshops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-43
Contacting Haestad Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-43
Sales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-44
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-44
SUPPORT HOURS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-44
Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-45
Your Suggestions Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-45
Orientation 1
Thank you for purchasing WaterCAD. At Haestad Methods, we pride ourselves in
providing the very best engineering software available. Our goal is to make software
that is easy to install and use, yet so powerful and intuitive that it anticipates your
needs without getting in your way.
We designed the WaterCAD documentation to provide you content in the best possible
way. With this in mind, there is significantly more content available online than in-
print. The online content was designed to provide what you need while you are using
the software, and so the online content includes information about the WaterCAD
interface. The online content can also be updated dynamically as we update the soft-
ware, and delivered to you by download or as part of an updated software version. The
printed content was designed to help you with lessons and to be usable away from the
computer to review WaterCAD features and theory. The printed document is not as
easily updateable as the online content.
• Printed User’s Guide—The printed user’s guide contains tutorials and the theory
on which the WaterCAD is based. Use this document at your leisure to review the
engineering standards we use and beside you at the computer to review the
WaterCAD lessons (
• Online Book—The online user’s guide is a .PDF-format file that contains the
same material as the printed user’s guide plus it includes reference content about
the WaterCAD interface, options, and dialog boxes. Updated versions of the
online user’s guide will be made available for download and be included in
updates to the software. This document is hypertext, you can search it, and you
can print page ranges from your local or network printer. Use this document to
view and print content about WaterCAD dialog boxes, windows, and other
elements of the WaterCAD software.
• Context-Sensitive Online Help—WaterCAD includes context-sensitive HTML
Help. Like the online book, the online help is fully searchable, uses hypertext, and
is updateable by download. Press F1 when using the WaterCAD software to use
the online help and get information immediately about the software feature you
are currently using.
For more information, see “Using the Online Book (PDF)” on page 2-77 and “Using
the Online Help” on page 2-72.
• Skelebrator™—Lets you reduce complex raw GIS assets into accurate modeling
representations while automatically preserving pipe network integrity and
hydraulic capacity. Skelebrator is available as an optional feature level.
• Reflective Data Model—Extends the data coverage in real-time by adding
custom fields, attributes, and objects.
• WaterObjects™—Adds custom functionality and developing components and
full applications using standard programming languages and scripts. WaterObjects
customization is available as an optional feature level.
• GeoGrapher™—Provides advanced visualization and graphic presentation.
• GIS-Style Background Layer Control—Lets you easily manage multiple back-
ground layers and annotation.
• Pump Definition Manager—Lets you manage custom pump definitions that can
be reused throughout your model and minimize the duplication of data.
• GEMSLinks™—Shows how to program against WaterObjects. This object
model sample written in C# lets you link elements in your model to external meta-
data, such as a pump to a picture of the pump.
• Custom Tools—You can populate the WaterCAD Tools menu with your own
custom-built tools using the new External Tools Manager.
• Parallel VSPs - You can now utilize Variable Speed Pumps (VSPs or Variable
Speed Drives - VSDs) in parallel, allowing you to more accurately model real-
world networks.
• Pipe Split—You can now split an existing pipe by placing a node element at the
point of the split using intuitive drag-and-drop functionality.
• Pipe Disconnect/Reconnect—You can now disconnect existing pipes from the
connected end node, and reconnect it to another node without deleting and
redrawing the nodes and/or pipes.
• Scalable Color Coding Legend—The color coding legend can now be resized
independently of the text height multiplier.
• AutoCAD 2004 Support—WaterCAD offers full integration with AutoCAD,
including the latest release, AutoCAD 2004. AutoCAD integration is an optional
feature level.
• Editable Quick View—The Quick View Window has always been the fastest
way to view the data associated with any element. Now you can use Quick View
to make input changes as well (and, as you would expect, with full undo/redo
support).
The RAM requirement for AutoCAD Mode is due to AutoCAD and operating system
demands, not WaterCAD itself.
WaterCAD Stand-Alone
Operating
Windows 2000 or Windows XP
System:
AutoCAD Mode
Recommended
While Haestad Methods’ software will perform adequately given the minimum
system requirements, performance will only improve with a faster system. Our prod-
ucts are designed to perform at optimal levels with a fast CPU and ample amounts of
RAM and free disk space. We highly recommend running our software on the best
system possible to maximize its potential, especially for larger models containing
thousands of pipes. We understand that an engineer’s time is a valuable commodity,
and we have designed our software to help make the most of that time.
For Windows 2000 and Windows XP, follow these steps to install a single-user license
copy of WaterCAD:
Haestad Methods’ products come with an uninstall option. After a single-user license
copy of a Haestad Methods’ product is installed on a computer, it must be uninstalled
before a new installation can occur.
To uninstall the program, put the original floppy disk labeled Disk 1 that came with
the product into the floppy-disk drive. On the Windows Start Bar, click
Start\Program Files\Haestad Methods\WaterCAD\Uninstall WaterCAD.
• Verify that there are no other programs running. You can see applications
currently in use by pressing Ctrl+Alt+Del. Exit any applications that are running
and restart your machine.
• Run setup or uninstall again without running any other program first.
If these steps fail to successfully install or uninstall the product, contact our support
staff.
During the installation of the program, a dialog box will prompt you to register the
software. Please note the label with your registration information is on the inside of
the back cover of the manual.
Although this software is not copy protected, registration is required to unlock the
software capabilities for the hydraulic features that you have licensed. All registration
information must be entered into the Registration dialog box exactly as it appears on
the label.
• Company
• City
• State/Country
• Product ID
• Registration Number
After you have registered the software, you can check your current registration status
by opening the registration dialog box in the software itself.
The current registration status (number of licenses, expiration date, feature level, etc.)
will be displayed.
• You can use the Copy button to place the registration information in the Windows
Clipboard so that you can paste it into another Windows application.
• You can also use the Print button to print the information shown in the Registra-
tion Form dialog box.
1.3.6 Upgrades
When you click the Registration button on the Help > About WaterCAD dialog box,
the current registration status (number of licenses, expiration date, feature level, etc.)
is displayed. To upgrade to more pipes or inlets, higher feature levels, or additional
licenses, contact our sales team today and request information about our ClientCare®
Program. We will provide the information you need to get up and running in no time!
Haestad Methods makes it easy to stay up-to-date with the latest advances in
our software. Software maintenance releases can be downloaded from the
Haestad Methods’ Web site quickly and easily if you are a subscriber to our
ClientCare Program. Just click the Globe icon on the tool palette to launch your
preferred Web browser and open the Haestad Methods’ ClientCare Web site. The Web
site will automatically check to see if your installed version is the latest available. If it
is not, you will have the opportunity to download the correct upgrade to bring your
software up-to-date.
The ClientCare Program also gives you access to our extensive KnowledgeBase™ for
answers to Frequently Asked Questions (FAQ). Contact the Haestad Methods sales
team for more information about our ClientCare Program.
Network versions of this product are available. If you purchased a network version,
your program will run at any workstation located on your network if a floating license
key is available for use. Floating licenses allow one or more concurrent users of a
particular application to access and use the full capabilities of the software if the
number of concurrent licenses does not exceed the number allowed under the terms of
the license sale. Once the number of concurrent users exceeds the licensed number,
new application sessions will run in a limited demo mode.
During the installation of the network deployment folder, a dialog box will appear
asking you to register the software. The label with your registration information is on
the inside back cover of the manual. This registration data is required to enable the
software capabilities for the hydraulic network size and features that you have
licensed. All registration information must be entered into the Registration dialog box
exactly as it appears on the label.
• Company
• City
• State/Country
• Product ID
• Registration Number
After you have registered the software, you can view the current registration and
floating license usage status at any of the workstations that has the product software
installed on it.
The current registration status (number of floating licenses, expiration date, feature
level, etc.) will be displayed. If all available floating licenses are in current use, the
software will run in demo mode.
Network administrators may activate network licenses and upgrade the features served
by their floating licenses by invoking the Request License option, which is activated
using the Registration button on this dialog box.
• You can use the Copy button to export the registration information to the
Windows Clipboard so that you can paste it into other Windows applications.
• You can use the Print button to print the information shown.
To acquire a network license file, the administrator must first generate the network
locking codes for the computer that will be acting as the network license server. To get
your license server locking code, use the SentinelLM echoid utility. This is installed
with the license server software on the computer acting as the network license host for
this application.
Note: The echoid utility must be run from the same computer that will
act as the license server host for this particular Haestad
Methods application.
Write down the values for the locking codes that are posted in the echoid utility’s
message box. Be certain to record these values accurately, as they will be used by
Haestad Methods to generate a custom license file keyed to the specific license
server’s hardware signature. Once issued, a license key-code may not be installed on
another machine. You will not be able to transport the license server to another
network machine without obtaining new lock codes.
With echoid values in hand, start the Haestad Methods product application on any
workstation located on the network served by the license manager. You can even
install and run the Haestad Methods application from the same computer that will be
acting as the license server host computer.
Select Help > About to open the Registration dialog box. Open the Request License
Key dialog box using the Request License button. Fill out the form, then either e-mail
or fax the completed form to Haestad Methods using the Submit Request button.
1. Place the diskette labeled Disk 1 in the floppy-disk drive (commonly the a: or b:
drive).
2. Place the CD in your CD-ROM drive (commonly the d: or e: drive).
3. If the Autorun feature of the operating system is enabled, setup will begin auto-
matically. Proceed to step 5.
4. If Autorun is disabled, click the Start button on the task bar, select Run, and type
d:\setup (use the actual drive letter of the CD-ROM drive if it is not the d: drive).
Click OK.
5. To perform the following steps, you must have full administrator privileges for the
target network-based installation folders. Follow the instructions of the Setup
Wizard, which will guide you through the installation of two components:
– Network Deployment Folder—A directory installed on a network node that
is available from all client workstations on which the license product will be
installed. Users of the floating licenses will invoke the network-based installa-
tion utility SETUP.EXE, which will install and configure the application to
each client workstation.
– Network License Manager and Utilities—The license manager service
executable file that will automatically monitor availability and distribute
network floating licenses to client applications as they are started up across
the license hosting LAN. The license manager may be installed on any shared
node in the network, but is generally located on a network server machine.
6. Start the license server using the appropriate procedure for the host machine’s
operating system:
– Windows 2000 and XP—Use the loadls utility via the Service Loader menu
option to install the license server. The license manager runs as a service and
can be manually controlled via the Windows Control Panel > Services group.
7. Announce the availability of the product via e-mail. Instruct interested users to
install the product by using the Start > Run menu command and browsing to the
network deployment folder installed in step 5 to run SETUP.EXE. The license
server ships with special 30-day licenses that will allow users to begin using the
application immediately.
8. Obtain a permanent license file for the application. A permanent license file must
be obtained from Haestad Methods within 30 days of receipt of the product
package. Request a permanent license file by following these steps:
a. At the host computer on which the license server will run, use the echoid
utility via the Locking Codes menu option to determine the locking codes
that will be used to generate license keys for your network. The license key
file will be configured specifically for the license server machine installation.
Write these locking codes down.
b. Start the Haestad Methods’ product application at any workstation where the
product has been installed. The product can even be installed directly on the
computer acting as the license server.
c. Select Help > About and click the Registration button. Use the Request
License button at the bottom of the Registration dialog box and fill out the
License Key Request form with the system administrator contact and host
server locking code information. Be certain to accurately record the locking
codes obtained during the previous steps, since inaccurate information will
result in the generation of unusable license files.
d. Click the Submit Request button. Following the instructions in the form, e-
mail or fax the form to Haestad Methods. The activation request will be
processed, and a license file will be generated and e-mailed to the system
administrator making the request.
9. Use the lslic utility located in the AdminTools directory to modify the permanent
license file managed by the network license server. After the license key file
requested above is received via e-mail from Haestad Methods, save the file attach-
ment to a computer folder on any computer resident on the network serviced by
the running license server. For future convenience, safety, and ease-of-support, it
is recommended that the license file be saved in the license manager tools direc-
tory, AdminTools. This utility must be run from the operating system prompt.
Enter lslic -F <filename>, where <filename> is the name of the
license file attachment e-mailed by Haestad Methods and saved to the hard-drive.
This step will install the new license key into the license file, lservrc, located on
the same computer and in the same directory that the license server resides.
Once these steps are completed, floating licenses will be available to concurrent users
via the network. Should the number of users exceed the number of license keys avail-
able, the unlicensed client sessions will continue to run in demo mode.
1.4.2 Glossary
The glossary contains many terms used throughout the application and the online help.
To use the Glossary:
1.4.3 Tutorials
Tutorials provide a quick introduction to WaterCAD. To access tutorials, click Help >
Tutorials.
To start a tutorial, select one from the list and click the play button.
End a tutorial at any time by either pressing the Esc key (in Stand-Alone
mode), or by clicking the X button in the lower section of any tutorial dialog box.
To explore one of the sample projects provided to demonstrate this software’s capabil-
ities:
1. Select File > Open to access the Open Project File dialog box.
2. Choose EXAMPLE?.WCD (or EXAMPLE?.DWG, if using WaterCAD in
AutoCAD mode) (where ? represents a number 1-5) from the Sample directory,
and click Open.
These are working network models, so you can explore the systems and see how
different elements are modeled. First, calculate the system by using the GO button on
the main toolbar. Then use Quick View, Graphs, Profiles, Tabular Views, Detailed
Reports, Color Coding (“Color Coding” on page 13-513), and Contouring (“Contour
Map Manager” on page 13-547) to see how the system behaves.
Haestad Methods offers a variety of workshops dealing with topics ranging from
urban stormwater management to water distribution modeling, alternating theory,
modeling insights, and hands-on practice with software instruction. These workshops
are held at various locations, and include discounted pricing when purchasing Haestad
Methods’ software.
For more information about our workshops (such as instructors, schedules, pricing,
and locations), please contact our sales department, or visit our Web site at http://
www.haestad.com for current workshop schedules and locations. We will be glad to
answer any questions you may have regarding the workshops and our other products
and services.
Haestad Methods offers a range of other training services including on-site, online,
and on-campus training. For detailed information on the availability of these options,
visit http://www.haestad.com/education.
1.5.1 Sales
Haestad Methods’ professional staff is ready to answer your questions. Please contact
your sales representative with any questions regarding Haestad Methods’ latest prod-
ucts and prices.
Phone: +1-203-755-1666
Fax: +1-203-597-1488
E-mail: sales@haestad.com
We hope that everything runs smoothly, and you never have a need for our technical
support staff. However, if you do need support, our highly-skilled staff offers their
services seven days a week and may be contacted by phone, fax, and the Internet. For
information on the various levels of support that we offer, contact our sales team and
request information about our ClientCare program.
When calling for support, in order to assist our technicians in troubleshooting your
problem, please be in front of your computer and have the following information
available:
When e-mailing or faxing for support, please provide additional details as follows so
we can provide a timely and accurate response:
Support Hours
Monday - Friday: 9:00 AM EST to 8:00 PM EST
Saturday - Sunday: 9:00 AM EST to 5:00 PM EST
Phone: +1-203-755-1666
Fax: +1-203-597-1488
E-mail: support@haestad.com
1.5.3 Addresses
Internet: http://www.haestad.com
E-mail: sales@haestad.com
support@haestad.com
info@haestad.com
Phone: +1-203-755-1666
Fax: +1-203-597-1488
Mail: Haestad Methods
37 Brookside Road
Waterbury, CT 06708-1499 USA
WaterCAD Main 2
Window
If you are already familiar with standard Microsoft Windows interfaces, you will find
WaterCAD to be intuitive and comfortable. Even if you are not accustomed to
Windows, just a few minutes of exploring WaterCAD should be enough to acquaint
you with the flexibility and power that this program offers.
This section describes the program’s main window, menus, and toolbars, letting you
interact with this software in a quick and efficient manner. For more information about
tools for layout, annotating, and editing, see “Layout and Editing Tools” on page 5-
255.
Both the Stand-Alone graphical editor and the AutoCAD interface perform actions
through the WaterCAD model server.
This use of a common central model enables both modes to perform the same func-
tions with the same behaviors. For example, graphical layout and model management
are virtually identical between the two modes.
One advantage of Stand-Alone mode is that your interaction is more streamlined and
dynamic by virtue of the fact that the editing environment is a dedicated network
editor. Also, since AutoCAD is not needed to run in Stand-Alone mode, less system
resources and memory are required.
A significant advantage of the AutoCAD mode is that you can create and model your
network directly within your primary drafting environment. This gives you access to
all of AutoCAD’s powerful drafting and presentation tools, while still enabling you to
perform WaterCAD modeling tasks like editing, solving, and data management. This
relationship between WaterCAD and AutoCAD enables extremely detailed and accu-
rate mapping of model features, and provides the full array of output and presentation
features available in AutoCAD. This facility provides the most flexibility and the
highest degree of compatibility with other CAD-based applications and drawing data
maintained at your organization.
Both the WaterCAD Stand-Alone interface and the AutoCAD interface have many
components common to Windows-based programs. The following figures illustrate
some of the important areas that make up the WaterCAD Stand-Alone and AutoCAD
2002 interfaces (the WaterCAD main window looks fairly similar in AutoCAD 2000
and AutoCAD 2002).
Menus
Project
Layer
Controls
Toolbars
Drawing pane
Background
Layer Control
Status bar
Scroll bars
Notice that many of the window components (such as the menus and toolbars) are
very similar for the Stand-Alone editor and AutoCAD. Other features (such as the
command line) are only available in AutoCAD.
Menus
WaterCAD toolbars
AutoCAD
toolbars
Drawing pane
AutoCAD
command line
Status bar
Scroll bars
For more information regarding the various functions and behaviors of AutoCAD,
please refer to Autodesk’s AutoCAD documentation.
The drawing pane, the center of WaterCAD graphical activity, is where the water
network elements are displayed. It is the main interactive area for creating elements,
editing data, and even displaying results.
In Stand-Alone mode, the drawing pane can also display a background .DXF image.
This background can be helpful for aligning and positioning elements, as well as
adding additional drafting elements for printing plan views.
In AutoCAD mode, the drawing pane is where all graphical elements, not just
WaterCAD entities, are displayed and manipulated. Lines, arcs, text, and many other
drafting elements can be created and modified within the drawing pane.
To the left of the main drawing pane are the background and project layer controls.
These controls determine the visibility of element labels, annotation, background
drawings, and various symbols in the main drawing pane. Layer controls include:
Project Layers
The Project Layers pane lists the various display components divided into layers, and
allows you to control the visibility of each of these symbology layers. Selecting the
check box next to a symbology layer causes that layer to become visible in the main
drawing pane; clearing it causes it to become invisible. The project symbology layers
are as follows:
• Element Labels—The layer that contains the element labels for all elements.
• Annotation—This layer contains all dynamic annotation, as applied in the
Element Annotation Wizard.
• Flow Arrows—This layer contains the flow arrows that indicate the direction of
flow after a calculation has been successfully completed.
• Control Symbols—This layer contains the symbols that are applied to pumps,
valves, and pipes that are associated with simple and logical controls.
• Source Symbols—This layer contains the symbols that are applied to nodes that
are designated as constituent sources during water quality analysis.
• Graphical Annotation—This layer contains the lines, borders, and text that is
applied using the Graphical Annotation tool.
• Spot Elevations—This layer contains all spot elevations, including imported and
manually placed spot elevations.
Background Layers
The Background Layers pane lists all background drawings that are associated with
the current project, and provides controls that can be used to add, edit, and remove
background layers.
Background layers
When a background layer is added, it appears in the Background Layers list pane,
along with an associated check box that is used to control that layer’s visibility.
Selecting the check box next to a layer causes that layer to become visible in the main
drawing pane; clearing it causes it to become invisible.
The following controls can be found directly above the Background Layers pane:
• Check box—Select the check box next to a background layer to make that layer
visible.
• Insert—Opens a browse dialog box that allows you to choose the file to use as a
background layer.
• Edit—Opens the Properties dialog box to allow various settings of the currently
highlighted background layer to be modified.
• Delete—Removes the currently highlighted background layer.
• Shift Up—Moves the currently highlighted background layer up one place in the
background layers list pane.
• Shift Down—Moves the currently highlighted background layer down one place
in the background layers list pane.
This dialog box appears after the Insert Background Layer button is selected and after
a DXF drawing file has been chosen. The following controls can be used to define the
properties of the background layer:
• File Name—This field lists the path and filename of the .DXF to use as a back-
ground layer. The path and filename can be typed here manually to choose a
drawing file, or the file can be specified using the Browse button.
• Browse—Opens a browse dialog box, letting you select the file to be used as a
background layer.
• Label—An identifying label for the background layer.
• Background Color—This field allows you to specify the color in which the back-
ground layer elements will be displayed. Click the Ellipsis (…) button to open a
palette containing more color choices.
• 1 DXF Unit = 1—Choose a unit from the drop-down list. This is the unit associ-
ated with the spatial data within the .DXF. For example, if the X and Y coordi-
nates of the .DXF represent feet, choose ft. from the list.
• Build Display List—Select this check box (checked) to generate a display list
that will cause the file to load more slowly, but display more quickly.
This dialog box opens after you click the Insert Background Layer button and after a
shapefile drawing file has been chosen. The following controls can be used to define
the properties of the background layer:
• File Name—This field lists the path and filename of the shapefile to use as a
background layer. The path and filename can be typed here manually to choose a
drawing file, or the file can be specified using the Browse button.
• Browse—Opens a browse dialog box, letting you select the file to be used as a
background layer.
• Fill Figures?—Select this check box (checked) to cause the polygons to be filled
with the background color. When the box is unchecked, only an outline is
displayed. This check box is only available when a polygon shapefile has been
selected.
Note: When you position the mouse pointer over a toolbar button or
menu item, the status pane will display a descriptive message.
Leave the mouse over a section of the status pane to display an
informative tip.
The status bar is located along the bottom of the main application window and
provides useful information about application settings, the current user activity, file
save status, etc.
Anyone who has ever watched someone else use a computer should realize that not all
people use computers in the same way. Some prefer to primarily use the mouse, some
the keyboard, and others use a combination of both.
For this reason, Haestad Methods’ programs provide access to the most common
features through several means, including:
Menus
As with any Windows-based program, the menu system provides easy access to many
features. Items can be accessed by clicking the desired menu text, or by pressing the
Alt key to activate the menus and then pressing the key for the underlined letter of the
menu item you wish to access.
For example, to open an existing file you can use the mouse to select File > Open, or
you can press the Alt and F keys (Alt + F), then O on the keyboard.
Toolbars
Toolbar buttons offer one-click access to some of the most commonly used features,
giving you a quicker way to perform the most frequent operations.
For example, to open an existing file (the equivalent of selecting File >
Open), simply click the File Open button.
Shortcut Keys
Shortcut keys are Ctrl-key (Control) combination sequences that provide quick access
to common application functions. If a shortcut is available for a menu item, it will be
indicated in the menu itself.
For example, to open an existing file (the equivalent of selecting File > Open) you
can press the Ctrl and O keys (Ctrl + O) at the same time.
Click the attribute field to open the menu. From this menu you can select
attributes from the list of available categories.
Command Line
The command line is a special area that is not available in Stand-Alone mode. In
AutoCAD mode, this area enables you to type commands directly, rather than using
the menus, toolbars, or shortcut keys.
For example, to open an existing AutoCAD file (the equivalent of selecting File >
Open) you can simply type the command OPEN at the AutoCAD command line.
Many of AutoCAD’s commands are easy to enter at the command line, including
accessing drafting tools (like LINE and CIRCLE) and editing tools (like MOVE and
ERASE). Modeling elements can also be manipulated through the AutoCAD
command line, just as they can be manipulated via the menus or toolbars.
For more information on the AutoCAD command line, please see the AutoCAD docu-
mentation.
Commands are grouped under several menus, which are pretty much identical
between Haestad Methods products. This makes any Haestad Methods product look
very familiar once you already know one. The menu system for WaterCAD consists of
the following selections:
The File menu contains many of the items dealing with project management. It
provides features to create, read, write, and print project files, as well as features for
sharing data with databases and GIS systems.
New—Create a new project. When you choose this item, a dialog box will
appear so that you can enter a drive, directory, and filename for your new
project file. The Project Setup Wizard will then help you set up your new
project (for more information, see “Project Setup Wizard” on page 4-241).
Open—Load an existing project file from disk. When you select this item, a
dialog box will appear so that you can choose the name and location of the
project you want to open.
Save—Save the current project file to disk. While saving the project file, the
status pane will briefly display a message to show you the progress of the save
command.
Save As—Save the current project to disk under a different filename. When you use
this command, a dialog box will appear prompting you to enter the drive, directory,
and a new file name for your project.
Import > Shapefile—Build network elements from ESRI shapefiles. This command
will start the Shapefile Wizard, which will help you bring the GIS elements and their
associated data into your project (for more information, see “Import Shapefile
Wizard” on page 15-589).
Import > Network—Import data from KYPIPE v1 (see “Importing KYPIPE Data”
on page A-681), v2 or v3, EPANET 1.0 and 2.0 (see “Importing EPANET Files” on
page A-681), or Cybernet® (see “Importing Data from Previous WaterCAD/Cybernet
Versions” on page A-674) files.
Import > Spot Elevations—Bring spot elevation data from a space or comma delim-
ited ASCII file in a variety of formats.
Import > Background Layer—Bring a .DXF drawing file or a shapefile into your
project as a background map. This command will open a dialog box that prompts you
to select the name and location of the desired .DXF or shapefile.
Note: WaterCAD has the ability to import demands and patterns from
text files. This option is not available from the File Menu along
with the other import options, but can be found in the Demand
Alternative Editor and the Pattern Manager, respectively. For
more information, see “Importing Patterns” on page 9-396 and
“Importing Demands” on page 6-301.
Export > Shapefile—Export your project to ESRI shapefile format for access in GIS
applications. This command will start the Shapefile Wizard, which will help you
create shapefiles with the desired project elements and associated data.
Export > Spot Elevations—Export spot elevation data to a space or comma delimited
ASCII file.
Export > .DXF File—Export the entire network drawing to a .DXF format, which can
be read by all popular CAD programs. This command will open a dialog box
prompting you to enter the name and location for the .DXF file you would like to
create.
Synchronize GEMS Project—Brings into agreement the GEMS .MDB and the
WaterCAD .WCD.
Print—Print the current view of the project drawing to a printer. Profiles and tabular
reports are printed from their respective windows. The print command invokes the
standard Print dialog box, which allows you to select the printer and set up properties
to be used.
Print Preview—Open the Print Preview dialog box for the current view of the
project drawing. This feature allows you to see the drawing as it will be printed
before sending it to the printer.
Print Setup—Select the default printer for WaterCAD to use. You can also use this to
change options related to the printer driver, such as portrait or landscape orientation
and other printer details.
Exit—Close the current project and exit WaterCAD. If you made any changes to the
current project, you will be prompted to save the project before you exit WaterCAD.
1, 2, etc.—The most recently opened project files appear at the bottom of the File
menu. Using this file list, you can quickly select and open a recently used file without
locating its drive and directory.
The Edit menu provides access to basic commands for controlling a WaterCAD
Element, including element navigation, selection, deletion, and undo / redo.
Stand-Alone Mode
Undo [Last Action Performed]—Reverse the last reversible action performed.
Reversible actions include things such as element creation, deletion, editing, and
moves. The Undo command cannot reverse the effects of some model actions, such as
calculation, database synchronization, scenario creation, and tabular edits. Addition-
ally, to ensure that the model is maintained in a consistent state, the undo/redo history
will be flushed whenever an irreversible menu or button command is issued.
Redo [Last Action Undone]—Reverse the effects of the last undone action. Any
action that can be undone can be redone.
Select > By Selection Set—Select the elements contained in a predefined selection set
(for more information, see “Selection Sets” on page 5-263).
Find Element—Use the Find Element dialog box (see “Find Element” on page 5-
265) to locate an element and bring it to the center of the drawing pane. This element
search is based on the element label (note that this is not case sensitive).
Drawing Review—Open the Drawing Review window to isolate elements that may
need to be scrutinized for potential problems (orphaned nodes, elements with
messages, superimposed nodes, etc.). For more information, see “Drawing Review”
on page 5-267.
AutoCAD Mode
WaterCAD Undo [Last Action Performed]—Reverse the last reversible action
performed. Reversible actions include such things as element creation, deletion,
editing, and moves. The effects of some model actions cannot be reversed, such as
calculation, database synchronization, scenario creation, and tabular edits. Addition-
ally, to ensure that the model is maintained in a consistent state the undo/redo history
will be flushed whenever an irreversible menu or button command is issued.
WaterCAD Redo [Last Action Undone]—Reverse the effects of the last undone
action. Any action that can be undone can be redone.
Cut—Delete the selected entities and place them on the Windows clipboard. These
items can be pasted into other Windows programs or back into AutoCAD.
Copy—Place the selected entities from the current AutoCAD drawing on the
Windows clipboard.
Paste—Place the items on the Windows clipboard into the current AutoCAD drawing.
Select > By Element > [Element Type]—Select all elements of a certain type, such
as all pipes or all junctions.
Select > By Selection Set—Select the elements contained in a predefined selection set
(for more information, see “Selection Sets” on page 5-263).
Edit Element—Open an element’s dialog box. Select this item and click the element
you wish to edit.
Edit Elements—Edit a group of elements. Select this item, then select a group of
elements using the crosshairs or by windowing an area. After the elements have been
selected, right-click and the Table Manager will appear (for more information, see
“Table Manager” on page 7-330). The selected elements will be reported in the tables.
Modify Elements > Scale Elements—Scale the symbols representing the elements in
the current selection set.
Modify Elements > Rotate Labels—Rotate the labels of the elements in the current
selection set.
Modify Pipes > Insert Bend—Insert a bend along a selected Pressure Pipe Element.
Modify Pipes > Remove Bend—Delete a bend along a selected Pressure Pipe
Element.
Modify Pipes > Remove All Bends—Delete all the bends along a selected Pressure
Pipe Element.
Modify Pipes > Change Widths—Change the Width of the lines representing pipes.
Find Element—Open the Find Element dialog box (see “Find Element” on page 5-
265), which allows you to locate an element and bring it to the center of the drawing
pane. This element search is based on the element label and is not case sensitive.
The Analysis menu contains items useful for managing calculations. These include the
scenario and alternative managers and the calculation commands.
Active Topology—Access the Active Topology Editor (see “Active Topology Alter-
native” on page 8-353), letting you temporarily remove elements from the drawing
view and network calculations.
Zones—Access the Zone Manager (see “Zone Manager” on page 6-328). From here,
you can define zones in which to place network elements.
Pump Definitions—Opens the Pump Definition Manager, letting you create, manage,
and edit pump definition templates.
System Head Curve—Open the System Head Curve dialog box (see “System Head
Curve Dialog Box” on page 13-520), letting you enter the necessary input data to have
WaterCAD generate a system head curve.
Note: In AutoCAD mode, see the AutoCAD online help for more
information.
In both AutoCAD and Stand-Alone mode, the View menu provides access to tools
dealing with the drawing pane, toolbar visibility, and so forth.
Pan—Upon selection hold down the left mouse button to move the drawing.
Zoom Window—Activate the user-defined zoom tool. This tool enables you
to select the corners of the area within the drawing pane that you wish to
enlarge.
Zoom Extents—Reset the drawing zoom factor such that all elements are
displayed in the drawing pane.
Zoom Center—Open the Zoom Center dialog box (see “Zoom Center” on
page 5-266), which lets you specify the central coordinates and zoom factor
to change the view in the drawing pane.
Aerial View—Enable or disable the Aerial View window (see “Aerial View” on
page 5-266). This window lets you display a second view of the drawing at a larger
scale.
Quick Edit—Enable or disable the Quick Edit window (see “Quick Edit” on
page 5-273), which lets you quickly view input data, output data, and the
legend for active color coding for any element. The Quick Edit dialog box
also lets you edit the input data.
Toolbars > Standard—Toggle the display of the Standard toolbar at the top of the
window, which provides shortcuts to the most commonly used commands.
Toolbars > Analysis Toolbar—Toggle the display of the Analysis toolbar, which
includes the scenario selection list, as well as the time step selection list if applicable.
The Draw menu is actually an AutoCAD menu that is accessible in the current
program.
The Tools menu provides general tools for placing or modifying graphical elements,
annotating, color coding, contouring, changing the projects options, etc.
Selection Sets—Access the Selection Sets dialog box (see “Selection Sets Manager”
on page 5-263), which lets you create selection sets of elements based on element
labels, element types, filters, and other means.
Color Coding—Open the Color Coding dialog box (see “Color Coding” on
page 13-513), which lets you control the display of elements based on value
ranges such as pipe diameter, hydraulic grade, and so forth.
Relabel Elements—Open the Relabel Elements dialog box (see “Relabel Elements
Dialog Box” on page 5-270), which lets you renumber some or all of your project
elements.
Element Labeling—Set the format for the labels applied to elements as they are
added to the drawing.
Engineering Libraries—Declare the paths to and edit the libraries used in this
project.
User Data Extension—Open the User Data Extension dialog box (see “User Data
Extension Dialog Box” on page 6-323), where you can add and define custom data
fields. For instance, you can add new fields such as the pipe installation date.
Layout > Spot Elevation—Activate the spot elevation tool, which is used to
add spot elevations.
Layout > Legend—Activate the legend tool used to add a key for the current
drawing color coding for links and nodes.
Database Utilities > Compact Database—When you delete data from a WaterGEMS
project, such as elements or alternatives, the database store that WaterGEMS uses can
become fragmented, causing data storage to be inefficient. This can cause unneces-
sarily large data files, which can impact performance substantially. Compacting the
database with this command eliminates the empty data records, thereby defragmenting
the datastore and improving the performance of the file.
External Tools—This toolbar item contains all of the external tools that you have
added.
External Tools > Customize—This command opens the External Tool Manager.
Options—Specify settings for the current project, such as the friction method, coordi-
nate system, unit system, and auto-prompting.
• .exe
• .com
• .pif
• .bat
• .cmd
External Tool List Pane—This pane lists the external tools that have been created.
All of the tools listed in this pane will be displayed in the Tools > External Tools
menu.
Add—This button opens the External Tools Manager, letting you create a new
external tool.
Edit—This button opens the currently highlighted tool’s External Tool Editor,
allowing you to modify its settings.
• .exe
• .com
• .pif
• .bat
• .cmd
Label—This field allows you to specify the name of the custom tool. Placing an
ampersand (&) character in front of a letter will cause that letter to be the shortcut key
for the command. (For example, If you name your tool &Custom Tool, C will be the
shortcut key for that command. If you name your tool Custom &Tool, T will be the
shortcut key for that command.)
Command—This field allows you to enter the full path to the executable file that the
tool will initiate.
Browse—This button opens a browse dialog box to allow you to select the executable
file that the tool will initiate.
Arguments—This optional field allows you to enter command line variables that are
passed to the tool or command when it is activated. The available arguments are:
The Report menu provides access to a collection of preformatted textual and graphical
reports. Furthermore, the report menu provides access to FlexTables (see “FlexTables”
on page 7-329), which enable you to create your own custom reports.
Element Details—Open the Detailed Reports dialog box (see “Element Details
Report” on page 13-515), which lets you print detailed reports for any set of elements.
Element Results—Open the Analysis Results dialog box (“Element Results Report”
on page 13-516), which lets you print reports of the results for any set of elements.
Element Graphs—Opens the Graph Setup dialog box (“Graph Setup” on page 13-
522) to let you set up custom graphs of any element or set of elements.
Plan View—Generate plan view printable reports of the network for either the current
drawing display (Current View) or the entire drawing extents (Full View).
The Help menu contains items that relate to online documentation for
WaterCAD (which includes the information contained in the printed docu-
mentation, as well as updated information and built-in tutorials). Help menu
items can also be accessed from the Help button:
Contents: Opens the Table of Contents for the online help. For
more information, see “Using the Online Help” on
page 2-72.
How to Use Help: Accesses instructions for using the online help
system.
AutoCAD Help Topics: Accesses the AutoCAD online help.
Click Hide/Show to
hide or show the
Contents tab
To use context-sensitive help, click the Help button in any window or dialog box.
Note that the online help will open at the topic you want and the Contents tab is
hidden. Click the Show button in the online help toolbar to display the Contents tab.
Use the Index tab to search the online help index. For most searches, the index should
provide better results more efficiently than the Search tab.
Type the
Click a topic and click Click a Related Topic
keyword you
Display to display the button to see and
want to find
selected topic select topics related to
the current one
Use the Search tab to search for all instances of a word or words in the help system.
• If you enter more than one word, the online help will return only those topics that
contain all of the words you enter, though those topics might not have the words
all together or in the order you specify.
• If you enter more than one word inside quotation marks, the online help search
returns only topics with the complete phrase as typed.
Keywords are
highlighted in
the text
You can use the Favorites tab to create a list of topics you frequently use.
• Click the Add button in the Favorites tab to add the current topic to your list of
favorites.
• Click Display to display the contents of the selected favorite topic in the help
window.
• Click Remove to remove the selected favorite topic from the Favorites tab.
If you want to print the online help, consider opening the online book, which is set up
for printing.
Online help topics can be navigated by using hypertext and Related Topics.
Navigation Arrows
In addition to the standard HTML Help navigation tools, WaterCAD online help
includes forward and backward arrows at the bottom-left of every topic that let you
navigate sequentially through the online help file. While the online book, .PDF, is
better suited to this kind of navigation, these buttons may be particularly helpful if you
are reviewing the WaterCAD lessons online (for more information, see “Quick Start
Lessons” on page 3-87).
Navigation buttons at
the bottom-left of every
topic
WaterCAD includes an Adobe Acrobat online book that you can open from the
WaterCAD group in your Start menu.
The online book contains reference material about using the software that is not
included in the printed book that accompanies the software. The online book is
designed so that you can view it on-screen or print page ranges.
Use the bookmarks, index, and search in the Adobe Acrobat Reader to find the
topic you want.
The toolbar buttons are grouped based on functionality. For example, element creation
tools are all together in the tool palette, results tools are all together, etc.
The tool pane contains buttons for project management, data management, and results
presentation. The tool pane includes:
Print Preview—Lets you see how the current view will print to the
currently-selected printer. For more information, see “Other Toolbar
Buttons” on page 2-82.
GO—Opens the Calculation dialog box for the current scenario. For
more information, see “Calculate Network” on page 9-383.
Reporting Tools
Globe—If you are connected to the Internet, this will take you to Haestad
Methods’ web site for product updates and other services. For more
information, see “Globe Button” on page 1-37.
The tool palette contains a Select tool, Network Element tools, and Annotation tools.
• The Select tool lets you select elements for group editing, detailed reporting,
deleting, or moving elements.
• The Network Element tools let you add elements to your network. These tools
can also be used to split pipes and morph nodes.
• The Graphic Annotation tools (see “Graphic Annotation” on page 13-557) can
be used to add polylines, borders, and text to your drawing. You can also add a
link or node color-coding legend using the Legend tool.
The Analysis toolbar displays the active scenario and provides a means for changing
the current scenario and accessing the Scenario Control Center. All input and output
information displayed in the tables, profiles, element dialog boxes, and annotation will
be related to the active scenario shown on the Analysis toolbar.
You can change the current scenario from the drop-down list box. To the left of the
Scenario drop-down list box are the Extended Period Simulation Analysis controls.
These include VCR-style controls to move through the time steps or to animate the
drawing view and the Increment list box, which controls how many time steps are
skipped when the Forward or Reverse buttons are clicked. This increment also
controls which time steps are displayed during animation.
The following buttons are located to the right of the Scenario drop-down list:
By clicking the down arrow next to the Play button, you can access the Animation
Options. Clicking the Animation Options button provides the following functions:
• Animation Delay—Opens a dialog box that lets you set the delay between
animated frames.
• Animate All Windows—If this option is selected, then every window capable of
being animated will animate when the play button is clicked. If the option is not
selected, then only the current window will animate.
Some of the following toolbar buttons appear on secondary windows, such as the Print
Preview window and the Profile window, available throughout the program:
• File
• Print
• Print Preview
• Copy to Clipboard
• Undo
• Redo
• Options
• Page Up/Down
• Close
• Help
The AutoCAD status pane contains similar information, but deals with your
AutoCAD drawing status rather than your hydraulic project. For more information
about AutoCAD’s status pane, see your AutoCAD documentation.
General status information includes messages that relate to the user’s current activi-
ties. These messages consist of information such as menu command descriptions, and
indications regarding the progress of an executing command.
If changes have been made since the last time the project file was saved, an
image of a diskette appears in the status pane. If the file is currently in a saved
state, no such image will appear.
The unit system box on the task bar indicates which unit system is currently active:
System International (metric) or U.S. Customary (English). It does not indicate
changes to units of individual fields.
The status bar displays the current X and Y (or Northing and Easting) coordinates for
the cursor’s position within the drawing pane (see “Drawing Pane” on page 2-50).
A refresh occurs when the contents of the drawing pane are updated to reflect changes
in the model calculations. Examples include color coding, annotation, and changing
time steps of an extended period simulation. In previous versions of WaterCAD, a
refresh was performed automatically when one of these changes occurred. In
WaterCAD, you have the option of enabling or disabling Auto-Refresh.
The quick-start lessons give you hands-on experience with many of the features and
capabilities of WaterCAD. These detailed lessons will help you get started with the
exploration and use of the WaterCAD software. Before proceeding with the lessons,
you should run through the brief online tutorials, accessed from the Help menu. These
interactive tutorials will take you quickly through overviews of key program features.
Another way to become acquainted with WaterCAD is to run and experiment with the
included sample files, located in the Haestad\Wtrc\Sample directory. Remember, you
can right-click or press the F1 key to access the context-sensitive online help at any
time.
WaterCAD is an extremely efficient tool for laying out a water distribution network. It
is easy to prepare a schematic or scaled model and let WaterCAD take care of the link-
node connectivity.
In constructing a distribution network for this lesson, you do not need to be concerned
with assigning labels to pipes and nodes, because WaterCAD will assign labels auto-
matically. When creating a schematic drawing, pipe lengths are entered manually. In a
scaled drawing, pipe lengths are automatically calculated from the position of the
pipes’ bends and start and stop nodes on the drawing pane.
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 Stand-Alone interface and the AutoCAD
interface.
4. Click OK.
5. Click File > Save as. In the Save File As dialog box, double-click the Lesson
folder. Type the file name MYLESSON1.WCD for your project, and click Save.
In the AutoCAD interface:
1. Double-click the WaterCAD desktop icon to start WaterCAD for AutoCAD. Open
the Global Options tab, accessed from the Tools > Options menu.
2. Since you will be working in SI units, click the Unit System selection box, and
select System International. Click OK.
3. Select File > Open. When prompted, do not save changes to the current drawing.
If the Select File dialog box opens, move to step 3. Otherwise, do the following:
Press the Esc key. At the command prompt, type filedia, press the Enter key to
activate the command, and then enter a new value of 1. Select File > Open again,
and do not save changes to the current drawing.
Note that the filedia variable controls whether some AutoCAD commands appear
as dialog boxes or at the command prompt.
4. Select the existing AutoCAD file LESSON1.DWG from the Wtrc\Lesson folder.
5. 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 \Wtrc\Lesson directory.
In both the AutoCAD and Stand-Alone interfaces:
6. Now, select the Layout Elements tool in the WaterCAD 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.
7. In the Project Setup Wizard, title the project Lesson 1—Steady State Analysis
and click the Next button.
8. Choose your desired settings. For this lesson, use the program default values.
Click the Next button.
9. 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.
10. Click the Next button to continue.
11. 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.
Right-click to access
the shortcut menu
3. To place the reservoir, click the approximate location of reservoir R-1 (see the
preceding Water Distribution Network diagram).
4. Next, move the cursor to the location of pump P-1. Right-click and select Pump
from the shortcut menu. Click to place it.
5. Place junction J-1 by right-clicking, selecting Junction from the shortcut menu,
and clicking the appropriate location.
6. Proceed with laying out the network by placing junctions J-2, J-3, and J-4.
7. Close the loop by clicking junction J-1.
8. Right-click and select Done from the shortcut menu.
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.
J-5
10. Insert the PRV (Valve > PRV on the shortcut 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 shortcut 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 WaterCAD network by clicking the Save button or by choosing
File > Save.
There are four ways to enter and modify element data in WaterCAD:
• Dialog Boxes—You can use the Select tool and double-click an element to bring
up its editor. In AutoCAD, click the element once with the Select tool to open the
element’s editor.
• FlexTables—You can click the Tabular Reports button to bring up
dynamic tables that allow you to edit and display the model data in a
tabular format. You can edit the data as you would in a spreadsheet.
1. Open the Reservoir Editor for reservoir R-1, and select the General tab.
2. Enter the hydraulic grade line elevation from “Table 3-1: Reservoir Data”on
page 3-94.
Table 3-1: Reservoir Data
Ge ne ra l Ta b
Re se rvoir Ele va tion Zone
(m )
R-1 198 Connection Zone
b. Click Add.
c. Type a label for the new pressure zone, Connection Zone.
d. Click OK, and OK again to exit the Zone Manager.
e. Finally, select the zone you just created from the Zone list box.
f. Click OK to close the Reservoir Editor.
4. Open the Tank Editor for tank T-1. Enter the data from “Table 3-2: Tank Data”on
page 3-96 in the General and Section tabs.
To set a diameter of 8 m, you must set the Cross Section to Circular.
5. Leave the other parameters set to their default values. Click OK to exit the dialog
box.
Table 3-2: Tank Data
Ge ne ra l Ta b Se ction Ta b
Ma x . Initia l Min. Ba se
Ta nk Zone Se ction Dia m e te r
Ele v. Ele v. Ele v. Ele v.
(m )
(m ) (m ) (m ) (m )
T-1 Zone-1 Constant Area 226 225 220 200 8
Click to define
the pump
b. Click Add, set the Pump Definition Name to PMP-1. Click OK. The Pump
Definition dialog box opens.
e. After you change the discharge units to l/min., enter the discharge curve as
given in “Table 3-3: Pump Data”on page 3-99. Click OK after you finish.
Table 3-3: Pump Data
He a d Discha rge Ge ne ra l Ta b
(m ) (l/m in) Ele va tion Pum p
Pum p
Shutoff: 30.0 0 (m ) Type
De sign: 27.4 3800 PMP-1 193 3 Point
Ma x . Ope ra ting 24.8 7500
f. Upon returning to the Pump editor dialog box, select the newly created PMP-
1 in the Pump Definition drop-down list.
Ge ne ra l Ta b
Ele va tion Dia m e te r Pre ssure
Va lve Sta tus Se ttings
(m ) (m m ) (kPa )
PRV-1 165 150 Active Pressure 390
Note: You will have to use the Ellipsis (…) button to create Zone-2.
8. Enter the data for the junctions as outlined in “Table 3-5: Junction Node Data”on
page 3-102. Leave all other fields set to their default values.
Ge ne ra l Ta b De ma nd Ta b
Ground
Junction Zone De m a nd
Ele va tion
(l/m in)
(m )
J-1 184 Zone-1 38
J-2 185 Zone-1 31
J-3 184 Zone-1 34
J-4 183 Zone-1 38
J-5 185.5 Zone-1 350
J-6 165 Zone-2 356
9. Finally, you need to specify user-defined lengths for pipes P-1, P-7, P-8, P-9 and
P-10, since the reservoir, tank, PRV, and nodes J-5 and J-6 are only shown in
approximate locations.
User-Defined
Pipe Material Diameter Length
(mm) (m)
P-1 Ductile Iron 1000 0.01
P-2 Ductile Iron 150 N/A
P-3 Ductile Iron 150 N/A
P-4 PVC 150 N/A
P-5 Ductile Iron 150 N/A
P-6 Ductile Iron 150 N/A
P-7 PVC 150 400
P-8 Ductile Iron 150 500
P-9 Ductile Iron 150 31
P-10 Ductile Iron 150 100
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 tabular reports, you can enter the data as
you would enter data into a spreadsheet.
1. To access the tabular report, click the Tabular Reports button on the
toolbar.
2. Select the Pipe Report and click OK. Note that the white fields are edit-
able, but the yellow fields are not.
The pipes may not be in alphanumeric order in the table. To sort the table by pipe
label, right-click the Label column heading. Select Sort > Ascending from the
shortcut menu that appears.
3. For each of the ten pipes, enter the diameter and the pipe material as outlined in
“Table 3-6: Pipe Data”on page 3-102. Notice that the C values for the pipes will
be automatically assigned to preset values based on the material; however, these
values could be modified if a different coefficient were required.
4. Leave other data set to their default values. Click the Close button to exit the table
when you are finished.
1. Click the GO button to open the Scenario: Base dialog box. On the Calculation
tab, make sure that the Calculation Type is set to Steady-State.
2. Click the GO button on the dialog box to analyze the model. When
calculations are completed, a Results report is displayed.
3. The Results tab displays a summary of model results.
– Review the summary to get an idea of the results that are given. Expand the
tree view.
– There should be a green light displayed on the Results tab of the dialog box.
You can quickly tell if there were warnings or failures with a glance at the
light. A green light indicates no warnings or failures, a yellow light indicates
warnings, while a red light indicates problems.
Note: Before proceeding to the next lesson, save this project (for
example, as MYLESSON1.WCD in Stand-Alone mode or
MYLESSON1.DWG in AutoCAD mode).
4. Click Close when you are done. After a model run, all the calculated fields in
dialog boxes and tabular reports will display results. For an overview of the output
options available, see “Lesson 4: Reporting Results” on page 3-127.
Note: If, at any time during this lesson, you are prompted to reset all
calculated results to N/A, click NO.
This lesson is based on the project created in Lesson 1 (see “Lesson 1: Building a
Network and Performing a Steady-State Analysis” on page 3-87). If you have not
completed Lesson 1, then open the project LESSON2.WCD (LESSON2.DWG in the
AutoCAD version) from the Wtrc\Lesson directory. If you did complete Lesson 1,
then you can use the MYLESSON1 file you created.
1. Open MYLESSON1.WCD.
2. After you have opened the file, select File > Save As.
3. Type the filename MYLESSON2 and click Save.
4. Select File > Project Summary, and change the Project Title to Lesson 2—
Extended Period Simulation. Click OK.
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 go
to 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 select the
Demand tab.
2. By default, the demand pattern is set to Fixed. In the Demands table, leave the
first row set to Demand, and set the baseline load to 23 l/min.
3. Click the corresponding cell in the Pattern column, and select the Ellipsis (…)
button that appears. This action opens the Pattern Manager.
4. Click the Add button to create a new pattern for this model.
5. In the Pattern dialog box:
a. Enter the name Residential in the Label field.
b. Leave the Start Time to 12:00:00 AM.
c. Set the Starting Multiplier to 0.5.
d. Under Format, select the button labeled Stepwise.
The resulting demand pattern will have multipliers that remain constant until
the next pattern time increment is reached.
Note: Note that the multiplier for the last time given (24 hrs.) must be
the same as the Starting Multiplier (0.5). These values are equal
because the demand curve represents a complete cycle, with the
last point the same as the first.
e. In the Pattern table, enter the times and multipliers from “Table 3-7: Residen-
tial Pattern Data”on page 3-108.
Table 3-7: Residential Pattern Data
Time
from
Multiplier
Start
(hr)
3 0.4
6 1.0
9 1.3
12 1.2
15 1.2
18 1.6
21 0.8
24 0.5
Pattern table
Tim e
from
Multiplie r
Sta rt
(hr)
3 0.6
6 0.8
9 1.6
12 1.6
15 1.2
18 0.8
21 0.6
24 0.4
Pattern table
7. Click OK to close the Pattern Manager dialog box and return to the Junction
Editor for J-1.
8. In the Pattern list box for the first row, select Residential from the choice list.
9. In the second row, enter a demand of 15 l/min. Select Commercial as the pattern
for this row.
10. Click OK to exit the junction J-1 editor.
11. Go into the Demands table in the editors for junctions J-2, J-3, J-4, J-5 and J-6 and
enter the demand data from “Table 3-9: Demand Patterns”on page 3-111. Use the
Residential and Commercial demand patterns already created, so just select the
appropriate pattern from the list box.
Table 3-9: Demand Patterns
Demand Tab
Residential Commercial
Junction Demand Demand
(l/min) (l/min)
J-2 23 8
J-3 23 11
J-4 23 15
J-5 350 N/A
J-6 280 76
12. Now, you will set up an additional demand pattern to simulate a three-hour fire at
node J-6.
a. In the Demand tab of Junction Editor for J-6, insert an additional Demand of
2000 l/min. in row three of the Demands table.
b. Click the Pattern column for row three and select the Ellipsis (…) button to
open the Pattern Manager.
c. Select the Add button to add a new demand pattern.
d. In the Pattern dialog box, enter a Label of 3-Hour Fire, a Start Time of
12:00:00 AM, and a Starting Multiplier of 0.00. Select the button for Step-
wise format.
e. Enter the information in “Table 3-10: 3-Hour Fire Pattern Data”on page 3-112
into the pattern table.
Table 3-10: 3-Hour Fire Pattern Data
Tim e from
Sta rt Multiplie r
(hr)
18 1.00
21 0.00
24 0.00
f. After you have filled in the table, select the Report button at the bottom of the
dialog box. Choose Graph to display a graph of the demand pattern. Notice
that 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.
g. Click Close to exit the graph, OK to exit the Pattern dialog box and OK again
to exit the Pattern Manager.
13. Finally, select your new pattern, 3-Hour Fire, from the Pattern selection box in
row three of the demands table, and click OK to exit the Junction Editor.
5. You can view results by opening individual element dialog boxes, clicking the
Report button to generate detailed reports and graphs for the individual elements,
as well as through output tables, color-coding, profiling, contouring, and annota-
tion.
a. For example, open the Valve Editor for the PRV by double-clicking the PRV
element.
b. Click the Report button.
c. Select Detailed Report. Scroll and page through the report to view the Calcu-
lated Results Summary. Notice that the PRV is throttling, except for hours 18
to 20, when the fire occurs and the downstream pressure setting can no longer
be maintained. For more information on reporting results, see “Lesson 4:
Reporting Results” on page 3-127.
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 (for more information, see “Scenario Comparison” on page 13-555).
Note: If, at any time during this lesson, you are prompted to reset all
calculated results to N/A, click NO.
1. This lesson is based on the project created in Lesson 2. If you completed Lesson 2,
open the project you created previously, MYLESSON2 in the Wtrc\Lesson direc-
tory.
2. Otherwise, open the file called LESSON3.WCD (LESSON3.DWG in the
AutoCAD version).
3. After you have opened the file, select File > Save As.
4. Type the filename MYLESSON3 and click Save.
5. Select File > Project Summary, and change the Project Title to Lesson 3—
Scenario Management.
6. 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. There are thirteen alternative
types:
• Active Topology
• Physical
• Demand
• Initial Settings
• Operational
• Age
• Constituent
• Trace
• Fire Flow
• Capital Cost
• Energy Cost
• User Data
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 WaterCAD, you create families of alternatives from base alternatives. Base alterna-
tives are alternatives that do not inherit data from any other alternative. Child alterna-
tives 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.
1. Select Analysis > Alternatives. Highlight the Demand alternative in the left pane
of the dialog box. Currently, there is only one Demand Alternative listed. The
Base-Demand alternative contains the demands for the current distribution
system.
2. You can change the default demand name to be something more descriptive of our
data.
a. Click the Rename button.
b. Type the new name, Average Daily with 2000 l/min. Fire Flow.
3. You would like to 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. Click the Add Child button.
b. Type the name 4000 l/min. Fire Flow for the new Alternative.
c. Click OK.
4. The Demand Alternatives editor for the new alternative opens, showing you the
data that was inherited from the parent alternative.
Notice the key at the bottom describing the check boxes. As the key indicates, all
of your data is inherited. If you change any piece of data, the check box will
become selected because that record is now local to this alternative and not inher-
ited from the parent.
5. Click in the Demand Summary column for node J-6. A button appears. Click this
button to open the Demand table for this node. Change the 2000 l/min. fire
demand to 4000 l/min.
6. Click OK. Click Close to exit the Alternative Editor and return to the Alternatives
Manager, and Close again to exit back to the drawing pane.
Alternatives are the building blocks of a scenario. A scenario is a set of one of each of
the thirteen 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.
2. You should first rename the Base Scenario as something more descriptive.
a. Click the Scenario Management button and select Rename.
b. The scenario name in the left pane will become editable. Type in a descriptive
name for the Scenario, such as 2000 l/min., 3-hour Fire Flow at J-6 (EPS).
c. Then, press the Enter key.
3. Create a child scenario from the existing base scenario to incorporate the new
demand alternative.
a. Click the Scenario Management menu button.
b. Select Add > Child Scenario.
c. Type a scenario name of 4000 l/min. Fire Flow at J-6 (EPS) and click OK. A
dialog box for the new Scenario opens, listing the alternatives as inherited
from the base scenario.
4. Your new Child Scenario initially consists of the same alternatives as its parent
scenario, except the Demand Alternative should be the new alternative you
created, 4000 l/min. Fire Flow.
a. Select the Demand check box.
b. From the drop-down list, select the 4000 l/min. Fire Flow alternative. The
new alternative is no longer inherited from the parent, but is local to this
scenario. Click Close to exit the Scenario.
You are going to calculate both of the scenarios at the same time using the Batch Run
tool.
1. Click the Batch Run button on the left side of the Scenario Management dialog
box.
2. Select both check boxes next to the scenario names in the Batch Run dialog box.
3. Click the Batch button.
4. Click Yes at the prompt to run the batch for two scenarios.
5. After computing finishes, click OK.
6. You can see the results for each scenario by highlighting it in the Scenario list.
Click the Results tab at the top right in the dialog box to see the selected
scenario’s results.
7. Use the Scenario Comparison tool to compare the results and see how the
scenarios differ.
a. Click the Scenario Comparison button to start the Annotation Comparison
Wizard.
b. Select the 2000 l/min., 3-hour Fire Flow at J-6 (EPS) Scenario in the first
drop-down list box and the 4000 l/min. Fire Flow at J-6 (EPS) in the second
box.
The difference between the two scenarios is found by subtracting scenario 1
from scenario 2.
c. Click Next.
d. To compare the results for pressures at the junctions and velocities in the
pipes, select the Pressure Junction and Pressure Pipe check boxes. Click
Next.
e. Select Pressure from the drop-down list box under the Attributes column for
Pressure Junction Annotation.
f. Edit the entry in the Mask column by deleting the label name, so that only the
pressure and unit variables (%v %u) remain. Click Next.
g. Select Velocity from the drop-down list box under the Attributes column for
Pressure Pipe Annotation.
h. Edit the label in the Mask column by deleting the label name, so that only the
pressure and unit variables (%v %u) remain. Click Next.
i. Check to make sure your annotation is correct, and then click Finished.
8. A plan view opens, showing the system with annotation displaying the difference
between the two scenarios. To better view the data, maximize the window and use
the zoom buttons from the upper toolbar to look at different areas of the model.
The difference between the two is found by subtracting scenario 1 from scenario
2.
For example, if scenario 1 has a pressure of 50 kPa at a junction and scenario 2,
which represents a future scenario, has a pressure of 45 kPa at the same junction,
then comparing these pressures for scenario 1 and scenario 2 would result in anno-
tation stating a difference of -5 kPa.
When you have more than two scenarios, you can select different combinations of
the scenarios from the two list boxes and click the Update button to view the
differences between the two. You could also select the Auto Update check box,
and the differences will automatically update every time you change the combina-
tion of scenarios and time increments in the list boxes.
9. Select the Auto Update check box and use the VCR-style buttons to scroll
through different increments. Look at the difference in pressures at junction J-6
during the fire flow (between 18 and 21 hours). There is a very large pressure drop
due to the substantial increase in demand. In the next part of this lesson, you will
look at scenarios to reduce this decrease in pressure.
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. Click the Close button to exit the Scenario Comparison Window. Click Close
again to exit the Scenario Control Center and return to the drawing pane.
2. Select the Tabular Reports button from the toolbar.
3. Highlight Junction Report in the list, and click OK.
4. Select 4000 l/min. Fire Flow at J-6 (EPS) in the Scenario list box, and set the
Time to 18.00 hr. Most of the system pressures look acceptable at this time incre-
ment; however, the pressure at J-6 is actually negative.
5. Click the Options button and select Table Manager.
6. Highlight Pipe Report, and click OK. In the Pipe Report table, notice that the
headloss gradient for pipes P-8 and P-9 are significantly higher than in the rest of
the system. You can reduce the headloss gradient by increasing the sizes of these
pipes. The pressure at J-6 should increase as a consequence.
7. Click Close to exit the table.
8. Create a new scenario having a new physical alternative with the pipe sizes for P-
8 and P-9 increased to 200 mm.
a. Select Analysis > Scenarios.
b. Highlight 4000 l/min. Fire Flow at J-6 (EPS) in the list of Scenarios.
c. Click the Scenario Management button, and select Add > Child Scenario.
d. Name the new Scenario P-8 and P-9 Set to 200 mm, and click OK.
e. Under the Alternatives tab of the Scenario dialog box, select the Physical
check box.
f. Click the Ellipsis (…) button to open the Physical Properties Alternatives
dialog box.
g. Click the Add Child button, and name the new Alternative P-8 and P-9 Set
to 200 mm. Click OK.
h. Under the Pipe tab for this Alternative, change the pipe sizes in the table for
pipes P-8 and P-9 from 150 mm to 200 mm.
i. Click the Close button to exit the editor, and click Close again to exit the
Physical Properties Alternatives dialog box.
j. Select the new Physical Alternative from the list box for the scenario.
m. Click Batch and select Yes to confirm and run the Scenario.
n. Click OK after the run is complete.
9. Close the Scenario Control Center and return to the drawing pane. Select
the Tabular Reports button from the toolbar.
10. Open the Junction Report. In the Scenario list box, select the new
Scenario, and examine the pressures at J-6 for 18, 19, and 20 hours. The pressures
for this node are now at acceptable levels.
If you would like to learn more about the various results presentation methods
available in WaterCAD, see “Lesson 4: Reporting Results” on page 3-127.
11. Close the open dialog boxes and save this project before proceeding.
• Reports, which display and print information on any or all elements in the system
(for more information, see “Predefined Reports” on page 13-515).
• Tabular Reports (FlexTables), for viewing, editing, and presentation of selected
data and elements in a tabular format (for more information, see “FlexTables” on
page 7-329).
Note: If, at any time during this lesson, you are prompted to reset all
calculated results to N/A, click NO.
For this lesson, you will use the system from Lesson 3 (see “Lesson 3: Scenario
Management”), saved as MYLESSON3 in the Wtrc\Lesson directory. If you did not
complete Lesson 3, you may use the file LESSON4.WCD (LESSON4.DWG in
AutoCAD).
1. Open MYLESSON3.WCD.
2. Select File > Save As.
3. Type the filename MYLESSON4, and click Save.
4. Select File > Project Summary, and change the Project Title to Lesson 4 -
Reporting Results.
1. Select the 2000 l/min., 3 hour fire flow at J-6 (EPS) scenario.
2. Click the GO button to open the Scenario dialog box.
3. Click GO to analyze the scenario. When the Results dialog box opens, notice that
the Results report can be saved to a file, copied to the clipboard, or printed using
the buttons in the top left corner.
This report displays key system characteristics on a formatted page. In an EPS
analysis such as this one, these characteristics are displayed for each time incre-
ment. If there were any warnings or problems, they would also appear here.
4. Click Close.
You can access the results for the current scenario (the scenario appearing in the
list box in the toolbar) at any time by clicking GO and selecting the Results tab.
5. Open the Tank Editor for tank T-1 (by double-clicking the tank, T-1).
6. Click the Report button at the bottom of the dialog box and select Detailed
Report to view a formatted summary report for the tank.
7. Use the Page Down button to navigate to page two of the
report.
On page two, you can see the tank’s status (draining or filling) at each time incre-
ment.
Every element can generate a report in the same general format, which includes
the name of the calculated scenario and a series of tables describing the element’s
properties and results in detail. You can print this report or copy it to the clipboard
using the buttons at the top of the dialog box. The report will print or paste into a
word processor in the exact format seen on the screen.
8. Click the Close button on the report, and then click OK to exit the Tank Editor.
9. You can also print detailed reports for several elements at one time.
In the Stand-Alone version, use the Select tool to draw a window around the
elements you want to report, or hold down the shift key while selecting the
elements individually. Then, select Report > Element Details to open the
Element Details dialog box.
In the AutoCAD version, start by selecting Report > Element Details. The
crosshairs change into a pickbox. Using the pickbox, select elements from the
drawing space that you want to report (individually or using a window), and then
right-click to bring up the Detailed Reports dialog box.
10. When the Detailed Reports dialog box opens, the elements selected from the
layout view are already highlighted for output. From this dialog box, you can edit
the element selection set (hold down the Ctrl key to select multiple elements from
the list), and then print the reports.
Click the Select button to go to the Selection Set dialog box.
11. If you want to select multiple elements based on some criteria, you can do that
here. Click Cancel to return to the Detailed Reports dialog box.
12. If you want, you can click the Print button to print all of the reports for the
selected elements.
13. Click Cancel to exit the dialog box.
14. Click Cancel.
15. Another type of report available is the Element Results Report. Select the
elements to be included in this report in the same way as the elements for the
Detailed Report.
16. Select Report > Elements Results. The result is a single report containing calcu-
lated analysis results for each of the elements selected.
From the Elements Results Report dialog box, you can print or copy and paste the
report for any elements. The Elements Results Report contains all of the results
calculated for the selected elements.
17. Select elements to be included in this report and click Preview to view the
resulting output.
18. Click Close when you are finished to exit the preview and the Analysis Results
Report dialog box.
19. Select Report > Scenario Summary. This report summarizes the alternatives and
options selected in the current scenario.
20. Click Close.
21. Select Report > Project Inventory (for more information, see “Project Inventory
Report” on page 13-517). This report tells you the total number of each type of
element and the total length of pipe in the system.
24. Assuming Capital Cost Estimating calculations had already been run,
clicking the Report button located above the Scenario Costs tree view
would generate a Capital Cost Analysis Report. Click Close.
Tabular Reports are an extremely powerful tool in WaterCAD (for more information,
see “FlexTables” on page 7-329). These reports are not only good presentation tools,
they are also very helpful in data entry and analysis. When data must be entered for a
large number of elements, clicking each element and entering the data can be tedious
and time consuming. Using the tabular reports, 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. The tabular reports
can save you an enormous amount of time and effort.
Tabular reports 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 auto-
matically updated. These tables can be printed or copied into a spreadsheet program.
Two very powerful features in these tables are Global Edit (see “Globally Editing
Data” on page 7-337) and Filtering (see “Filtering Tables” on page 7-339). Suppose
you decide to evaluate how our 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 repeti-
tive 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. Begin by setting up a new Alternative and Scenario to capture the changes to the
C values.
a. Select Analysis > Scenarios.
b. Highlight the Scenario P-8 and P-9 Set to 200 mm.
c. Click the Scenario Management button.
d. Add a Child for this Scenario called 5-yr.-old D.I.P.; click OK.
e. Select the Physical check box and click the New button.
f. Name the new Alternative 5-yr.-old D.I.P. and click OK.
g. Click Close to exit the Alternative Editor, and again to exit the Scenario
Control Center and return to the drawing pane.
2. To open a tabular report, select Report > Tables, or click the Tabular
Report button on the toolbar.
3. Select the Pipe Report from the list and click OK.
4. Click the Scenario list box and select the new Scenario from the list.
5. Right-click the Material column and choose Filter > Quick Filter from the
shortcut menu. You want to display only ductile iron pipes in the table. To do so:
a. Set the Column field to Material.
b. Set the Operator to =.
c. Set the Value field to Ductile Iron.
d. Click OK.
6. Use the Global Edit tool to modify all of the roughness values in the table.
a. Right-click the Hazen-Williams C column and select Global Edit.
b. Select Set from the Operation list.
c. Enter 120 into the Global Edit box.
d. Click OK. All of the values are now set to 120.
7. To deactivate the filter, right-click anywhere in the dialog box and select Filter >
Reset from the shortcut menu. Click Yes to reset the filter.
8. You may also wish to edit a table by adding or removing columns using the Table
Manager (for more information, see “Table Manager” on page 7-330).
a. Click the Options button at the top of the table dialog box and select
Customize.
b. Scroll through the list on the left side to see the types of data available for
placement in the table. You can highlight a particular item, then use the [ < ]
and [ > ] buttons to add or remove that column from your table.
c. For this example, you can display junction elevations in both meters and feet
by checking the Allow Duplicate Columns box, highlighting Elevation
(shown in gray) in the list of available columns, and clicking the [ > ] button.
Elevation now appears twice under Selected Columns.
d. You can adjust the order in which the columns will be displayed using the
arrows below the right hand list, or drag items up and down. Click OK, and
OK again to exit the Table Manager.
e. The revised table appears with two Elevation columns, both in meters. Drag
and drop the new column heading to relocate it next to the original Elevation
column.
f. To apply separate units to the two columns, click the Options button and
select Use Local Units, placing a check next to it to indicate this option is
active.
g. Click Close to exit the table when you are finished.
This option allows the tabular report to have units independent of the project and
local to the table. In other words, without this option switched on, changing the
units from meters to feet in the table would change the unit for pressure
throughout the project. The Use Local Units option is ideal for displaying the
same variable with multiple units within the same tabular report.
11. Click Yes in the warning box that appears indicating that you wish to switch to
local units. To assign units of feet to one of the columns, right-click the column
heading and select Elevation Properties from the shortcut menu.
12. In the Set Field Options dialog box, select ft. from the Units list box. Click OK to
return to the updated table.
13. Click Close to exit the table when you are finished. Click GO to open the Batch
Run dialog box, and click GO to compute the network for 5-yr.-old D.I.P., and
then click Close.
1. To create a plan view of the distribution system, click Report > Plan View > Full
View.
This option will create a plan of the entire system regardless of what the screen
shows, while the Current View option will create a plan of exactly what is
displayed in the window at that moment.
The Plan View will be put into a separate window, which can then be printed or
copied to the clipboard. If you click the Copy button, you can paste the plan view
into a word processor.
2. Click Close.
3. You can also create a plan view in the Stand-Alone version for export to
AutoCAD or other compatible software. Click File > Export > DXF File. This
action will create a .DXF file of your network that you can then import into
AutoCAD. In AutoCAD, use plan views as a quick way to develop simple scaled
views of your primary network. Click OK or Cancel to exit the dialog box.
4. To create a profile view, select Tools > Profiling, or click the Profile
button in the toolbar. This activates the Profile Setup dialog box. In the
Profile Setup dialog box, choose the attribute you wish to profile from
the Attribute list box.
For this example, choose Calculated Hydraulic Grade.
5. Next, click the Select From Drawing button.
6. The dialog box closes, and the crosshairs change to a pick box in AutoCAD. Click
pipes P-1, P-2, P-6, P-8, and P-9, selecting a continuous path, or walk-through the
network. Right-click when you are finished (and select Done in Stand-Alone).
7. The Profile Setup dialog box opens with the selected elements appearing, in order,
in the list. Click the Profile button to view the profile.
8. After you create the profile, you can make adjustments to its appearance by
clicking the Options button and selecting Graph Options. A dialog box opens in
which you can change the titles, fonts, scaling, and line types used in the graph.
9. Leave everything set to the defaults for this example, and click Cancel to exit the
dialog box.
10. When you have finished setting up the graph, it can be printed or copied to the
clipboard using the buttons at the top of the Plot window.
11. Click Close to exit the Plot window when you are finished. Click Close again to
exit the Profile Setup dialog box.
The contouring feature in WaterCAD 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.
6. Notice that the selected elements are now highlighted under Available Items.
Click [ > ] to move the elements to the Selected Items list, and click OK.
7. Click OK again to exit the Selection Set Manager.
8. Select Contour by HGL in the Selection Set drop-down list box.
9. Click Initialize to update the Minimum and Maximum HGL elevations. Enter:
– an Increment of 0.1 m
– and an Index Increment of 0.2 m
10. Make sure the button for Color by Index is selected, and click OK.
11. A plan view of the water distribution model is opened in a separate window, along
with contours that interpolate between the elevations of the selected network
components.
12. To improve the appearance of the contouring, press the Options button and
choose Smooth Contours.
When you want to label network attributes in the plan view, use the Annotation
feature. With it, you can control which values are displayed, how they are labeled, and
how units are expressed. For this example, you will annotate demands at the junctions,
and flow and velocity in the pipes.
– The Preview column shows an example of the annotation with values for the
variables.
4. For this example, add annotation for the demand summary at each junction.
a. In the first row, the Attribute column, select Demand (Calculated) from the
list and click Next.
b. Add Discharge and Velocity annotations for the pipes in the same manner and
click Next.
c. The final dialog box of the Annotation Wizard contains a summary where you
can check your annotations.
If there are any errors, click the Back button to go backwards in the wizard
and make any necessary changes.
Click Finished.
5. The drawing will now display all of the annotations. You can try changing the
properties of an element and recalculating. The annotations will update automati-
cally to reflect any changes in the system.
6. If the annotation is crowded, you can click and drag the annotation to move it.
In the AutoCAD version, click the annotation and then click the grip to move it, or
use an AutoCAD command such as Move or Stretch.
Alternatively, you could go back into the Annotation Wizard, and abbreviate or
remove the Mask labels. A third option is to decrease the Annotation Height. This
option is found under the Drawing tab in the Tools > Options menu.
7. If you wish to delete the annotations, click the Annotation toolbar button, and
clear any checked boxes. Click Next, and then Finished.
You can also review results in the plan view by color coding the elements based on
attributes or ranges of values.
1. Select the Color Coding option (see “How Do I Color Code Elements?”
on page A-700) under the Tools menu, or click the Color Coding button
on the toolbar.
2. 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. Click the Link tab, and from the Color Coding list box.
a. Select the Diameter attribute.
b. In the table, enter values of 150, 200, and 1000 mm with colors of red, blue,
and green, respectively.
c. Next, click the Node tab, and select Pressure from the Attribute drop-down
list box.
d. Click the Calculate Range button to get the minimum and maximum values
for the variable displayed at the top of the dialog box.
e. Then, click the Initialize button and the model will select the color coding
ranges in the table automatically.
f. Finally, click OK to generate the Color Coding.
3. You can add a legend to the drawing by clicking the Insert Legend button,
choosing the Link Legend or Node Legend option, and clicking
anywhere on the drawing space to place the legend. In AutoCAD, accept
the defaults when prompted about scale and legend.
4. Color coding is dynamic; that is, it updates automatically as you change time
increment or Scenario using the list boxes above the drawing pane. Notice that as
you switch from the first Scenario to P-8 and P-9 set to 200 mm, the color of these
pipes changes from red to blue.
– To turn the color coding off, open the Color Coding dialog box (double-click
the legend you placed) and set the Attribute to <None> on both the Link and
Node tabs.
– To delete a legend, select it by clicking once, and press the Delete key.
Fire flows are computed by iteratively assigning demands and computing system pres-
sures. The model assigns the fire flow demand to a node and checks the model,
checking to see if all pressure constraints are met at that demand. It will assign a new
demand and automatically re-check the system pressures if a constraint is violated.
Iterations continue until the constraints are met, or until the maximum number of iter-
ations 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 WaterCAD and open the file LESSON5, found in the Haestad\Wtrc\Lesson
folder.
2. Or, if you have previously completed Lesson 3 or 4, you can use your
MYLESSON3 or MYLESSON4 file. Select Project Summary from the File
menu, and change the title of the project to Lesson 5—Fire Flow Analysis. Click
OK.
3. 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.
a. Select Analysis > Alternatives and highlight the Demand alternative in the
left pane.
b. Highlight Average Daily with 2000 l/min. Fire Flow in the right pane.
c. Click Duplicate.
d. In the Demand Summary column for node J-6 (row 6), click the word
Composite, and it changes to a button.
e. Click the Composite button to open the editor for the composite demand.
4. You will now see the Demand Alternative Copy of Average Daily with 2000 l/
min. Fire Flow in the list. Highlight it and click the Rename button. Rename this
Alternative Base-Average Daily.
5. 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. Set up the Maximum Day Demand Alternative by highlighting the Base -
Average Daily Alternative and selecting Duplicate.
b. Right-click the Base Flow column, and select Global Edit. Set the Operation
to multiply, and enter a value of 1.5. Click OK.
Note that if you had multiple zones within your project and wanted to insure
that a minimum system-wide pressure constraint was met, you could check
the Use Minimum System Pressure Constraint box and type it in the box
provided. This box is grayed out until the check box is activated.
f. Select Subset of Junctions from the Selection Set drop-down list box.
g. Click the Ellipsis (…) button to open the Selection Set dialog box.
8. For this example, a fire flow analysis is only needed for the junctions at the four
street corners in our drawing. Choose the Select From Drawing button and click
nodes J-1, J-2, J-3, and J-4 (in Stand-Alone, you must hold down the Shift key
while making multiple selections).
9. When you are finished, right-click (and select Done in Stand-Alone).
10. The nodes you selected are now in the Selected Items list. Click OK to exit the
Selection Set dialog box. Note that the Selection Set table is now filled with your
Selection Set.
11. Click the Close button to exit the Fire Flow Alternative dialog box, and Close
again to exit the Alternative Manager dialog box.
You must now set up a new Scenario to utilize the appropriate alternatives and set up
the calculation options.
6. Click the Calculation tab, and make sure that Steady State is selected.
7. Select the Fire Flow Analysis check box. Note that all fire flow calculations must
be performed under steady-state conditions.
8. Click Close to exit the Scenario dialog box.
9. Run the Scenario.
a. Click GO Batch Run.
b. Select the check box for Automated Fire Flow Analysis, and clear the other
Scenarios.
c. Click Batch to run the analysis, and Yes at the confirmation prompt.
d. When the calculation is complete, click OK and Close to exit the Scenario
Control Center.
1. Click the Tabular Reports button, located to the right of the GO button
on the WaterCAD toolbar, to open the Table Manager.
2. Highlight the Fire Flow Report and click the OK button to view the
report.
3. Make sure that Automated Fire Flow Analysis is selected in the Scenario list
box.
4. 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 ever dropped below specified minimum
pressures.
– Nodes J-2 and J-4 reached their minimum residual pressures at flows slightly
below the maximum of 6000 l/min.
– Notice, also, that the report contains the Minimum System Pressure
(excluding the current node being flowed) and its location.
5. When you are finished reviewing the report, click Close in the WaterCAD Fire
Flow Report dialog box and save your file as MYLESSON5.
This lesson uses the file called LESSON6.WCD (LESSON6.DWG in the AutoCAD
version), located in the \Haestad\Wtrc\Lesson directory.
1. Open this file, and then select File > Save As.
2. Type the filename MYLESSON6 and click Save.
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 Stand-Alone 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.
1. Start by adding a new Alternative for the age analysis. Select Analysis > Alterna-
tives.
2. Click Age in the left column, to highlight it.
3. Click Add. This lets you add an age alternative.
4. 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.
5. Click OK.
6. The Active Topology Alternative window opens. Click Close.
7. Click Close to close the Alternatives Manager.
8. Next, set up a new Scenario to run an Extended Period Simulation incorporating
the new Alternative.
a. Select Analysis > Scenarios. There is one Scenario already set up called
Existing - Avg Day.
b. If needed, click Existing - Avg Day to highlight it.
c. Click Scenario Management > Add > Child Scenario.
d. Type Age Analysis as the new scenario name, and click OK.
e. Under the Alternatives tab, select the Age check box, and select the alterna-
tive you just created, Initial Age = 0, from the drop-down list box.
f. Click the Calculation tab to view the calculation settings for this Scenario.
Extended Period Analysis should already be selected.
g. Enter a Start Time of 0.
h. Set a Duration of 336 hours.
i. Set a Hydraulic Time Step of 1 hour.
j. Select the Water Quality Analysis check box.
k. Select the Age button.
9. Click Options.
The Calculation Options dialog box opens. In this dialog box, you will find
various calculation options such as number of trials, accuracy, and tolerance
settings for each of the water quality analysis types. Leave these options set to
their default values, click Cancel to exit the dialog box, and Close to exit the
Scenario Editor.
10. Run the Scenario.
a. Click Batch Run.
b. Select the Age Analysis check box.
11. Select Age Analysis from the Scenario toolbar list box.
12. A good way to view changes in water quality attributes over time is to
use color coding. Click the Color Coding button on the toolbar.
13. Under the Link tab, set the Attribute list box to Calculated Age.
14. Click the Initialize button to set up a default color scheme. Accept this default
scheme.
If you get a message about WaterCAD being unable to determine the limits for
mapping, make sure that Age Analysis is selected in the Scenario drop-down list,
in the toolbar.
15. Click the Node tab.
16. Set the Attribute list box to Calculated Age.
17. Click the Initialize button to set up a default color scheme. Accept this default
scheme.
18. Click OK.
19. Once back in the drawing pane, click the Legend button on the toolbar.
20. Select either the Node Legend or Link Legend (in this case, the color
coding should be the same for both). Click anywhere in your drawing to
place the legend. If you do not place it correctly the first time, you can always
drag it and drop it in a new location.
Legend
a. Open the Tank Editor for Tank T-1 (by double-clicking the tank).
b. Click the Report button at the bottom of the editor, and select Graph.
c. Select Calculated Age as the Dependent variable.
d. Make sure Age Analysis is checked in the Available Scenarios box.
e. 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.
f. Click Close and OK after you review the graph.
In this portion of the lesson, you will look at chlorine residuals in the system over
time. WaterCAD 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.
7. Click the Edit button, and enter the data below into the dialog box.
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
8. Leave the Unlimited Concentration check box selected, and click OK.
9. Click Close to exit the Constituent Library. You should now be back in the
Constituent Alternative Editor.
10. Select Chlorine from the Constituent list box. Notice that the Bulk Reaction in
the table is automatically updated.
11. In the Pump and Valve tabs, set the pumps and valves to an initial concentration of
1 mg/l.
12. 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.)
13. In the Reservoir tab, enter a value of 2.0 mg/l for the reservoir.
14. Set the tank’s concentration to 0.5 mg/l.
15. Close the Editor and the Alternatives Manager.
16. 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. Type 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.
17. Click the Calculation tab.
18. Select the Constituent button, in the Analysis section, and leave everything else
set to the inherited values.
19. Click Close to exit the dialog box.
20. Click GO Batch Run.
21. Deselect Age Analysis.
22. Select Chlorine Analysis, then click Batch to run the model.
23. Click Yes and OK to accept the message boxes. Close the Scenario Control
Center dialog box.
24. Select sure Chlorine Analysis as the current Scenario.
25. Set up color coding (see “Part 1—Computing Water Age” on page 3-152). 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 concentration 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.
c. Type Trace Analysis as the new scenario name, and click OK.
d. In the Alternatives tab, select the Trace check box.
e. Select the Trace Analysis for Tank alternative from the drop-down list box.
f. In the Calculation tab, select the Trace button in the Analysis section, and
leave everything else set to the inherited values.
g. Click Close to exit the dialog box.
11. Use color coding (by Calculated Trace), tables, and graphs to view the results of
this run. As you scroll through the time periods, notice how the colors spread
outward from the tank during periods when the tank is draining, and recede when
the tank begins to fill. For more information on reporting features, “Lesson 4:
Reporting Results” on page 3-127.
12. Close the open dialog boxes and save this project.
There are multiple ways of importing data from outside sources into WaterCAD. You
can set up one or more database connections to bring in information stored in many
standard database and spreadsheet formats. GIS information can be brought in through
connections to ESRI shapefiles. If you have existing drawings of your network in a
.DXF format (.DWG format in the AutoCAD version), you can have WaterCAD
convert your lines and/or blocks into distribution system elements, setting up prefer-
ences 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 (Stand-Alone 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 connec-
tions 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 defini-
tion, according to the name of the pump definition. This process is demonstrated in
Part 1. Finally, WaterCAD will automatically import networks created in EPANet,
KYPIPE, and previous versions of Cybernet/WaterCAD.
WaterCAD 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.
Elements are
assigned default
Convert existing Enables you to use legacy CAD labels as they are
lines, polylines, and drawings to build your network. created. Only
Polyline to
blocks in DXF/DWG You can set up tolerances to topographic data can
Pipe
format into pipes and allow for drawing imperfections, be imported, not
Conversion
other network and preferences for how nodes attribute values.
elements. will be created. 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 WaterCAD 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 exter-
nally 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 “Lesson 6: Water Quality Analysis” on page 3-151.
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 “Lesson 6: Water Quality Analysis” on page 3-151, you should recog-
nize 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 application.
This lesson has instructions for use with the Stand-Alone interface and the AutoCAD
interface.
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 Stand-Alone 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 \Haestad\Wtrc\Lesson directory; click Open.
15. Set the Key/Label field to LABEL. This item designates the field that WaterCAD
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 WaterCAD to the
data types you will be bringing in from the shapefile.
17. In row 1, select Elevation from the WaterCAD column and ELEV from the Data-
base 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 WaterCAD,
then WaterCAD would automatically do the necessary unit conversions.
18. Fill in the next row, so that your entries correspond to the table below. Click Next
when you are finished.
Table 3-12: 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 \Haestad\Wtrc\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.
Table 3-13: Pressure Pipe Shapefile Connection
Diameter D mm
Hazen-Williams
C
C
Elevation ELEV m
Diameter D mm
Initial Valve
INITIAL_ST
Status
Elevation ELEV m
Initial Pump
INIT_PUMP
Status
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 WaterCAD 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 “Lesson 6: Water Quality Analysis” on page 3-151, 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 GO button in the toolbar, and then click GO 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 3-173, 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 3-173 or save your file as MyLesson7
and exit WaterCAD.
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 “Lesson 6: Water Quality Analysis” on page 3-151.
This lesson has instructions for use with the Stand-Alone 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 WaterCAD desktop icon to start WaterCAD Stand-Alone. If the
Welcome to WaterCAD 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.WCD 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 WaterCAD desktop icon to start WaterCAD 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 Stand-Alone interfaces:
11. Enter the Connection Label Lesson 7, Part 2 for this connection, and click the
Add button.
18. Fill in the remaining rows, so that your entries correspond to the table below.
Table 3-18: 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.
Table 3-20: Reservoir Database Connection
X X (m) m
Y Y (m) m
X X (m) m
Y Y (m) m
Tank Diameter
Tank Diameter m
(m)
Minimum Elev#
Minimum Elevation m
(m)
Maximum Elev#
Maximum Elevation m
(m)
X X (m) m
Y Y (m) m
Initial Grade
Initial HGL m
Setting (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.
27. When prompted to add an element, click Yes to All.
28. A Status Log is generated showing the elements as data is read into the model.
After the import is complete, you should get a green light in this window. If there
were warnings or errors you would get a yellow light or red light, respectively.
You could then scroll through the log to see where any problems might be occur-
ring. Click Close to exit the Status Log and OK to exit the Database Connection
Manager.
29. You should now be able to see the imported network in the drawing pane, but the
symbol and label sizes are very small. Select Tools > Options and click the
Drawing tab.
30. Set all three Annotation Multipliers to 25, and click OK.
31. Now, examine the network that you imported. Notice that it is different in appear-
ance from the same network imported using a shapefile in “Part 1—Importing
Shapefile Data” on page 3-166. The difference stems from the fact that, in a data-
base connection, a pipe’s layout is defined only by the location of its end nodes.
Therefore, pipes appear without bends, making a straight line connection between
nodes. Hydraulically, your model will not be affected, since the pipe lengths are
user-defined and not scaled 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.
32. Click the GO button, and click GO again, to run the model. Now that you have
calculated data, you can export it back to the database. For this example, you will
only export pressures at the junction nodes.
33. Close the Scenario Editor.
34. Use Microsoft Excel to open LESSON7.XLS in another window.
35. Click the tab for the Junction worksheet, and add a new column heading in cell F1
called Pressure. Save and close the file.
36. In the WaterCAD window, choose File > Synchronize > Database Connections.
Highlight Lesson 7, Part 2, and click the Edit button.
37. Select the junction table from the list, and click Edit again.
38. In Row 5 of the Field Links table, link the WaterCAD Pressure to the Database’s
Pressure. The Unit should be set to kPa.
39. Click OK and OK again to get back to the Database Connection Manager.
40. Click the Synchronize Out button to send the information back to the spread-
sheet.
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 Stand-Alone interface and the AutoCAD
interface.
1. Start WaterCAD 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.
Discharge (l/
Head (m)
min.)
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 Stand-Alone 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 WaterCAD will use when performing the conversion.
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 WaterCAD 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 WaterCAD
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 WaterCAD or through database connections.
The WaterCAD 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 WaterCAD 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
1. Open WaterCAD.
2. Browse to your Haestad/WaterCAD/Lesson directory. Open the file
DesignerSample1.wcd.
3. Open Darwin Designer.
– Click the Darwin Designer button.
– Or, click Analysis > Darwin Designer.
4. If the File Format Update dialog box opens, click Update File Format. This
updates the schema of the file to match the schema of the current version of
WaterCAD.
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. (For more information about selection sets, see “Selection Sets” on
page 5-263.)
b. Click OK.
c. When prompted, click Yes to create a group for each selected pipe.
Hazen
Diameter
Material Williams Cost
(in.)
Roughness
Right-click to
select Global Edit Click a row label
to select the row
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
c. Set the Top Solutions, Solutions to Keep to 3. This sets how many results will
be available as results (see “Part 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.
24. Click Close to close the Darwin Designer Run Progress dialog box.
After you calculate the optimized design (by clicking the GO button—for more infor-
mation, see “Part 1—Creating the Darwin Designer Optimization” on page 3-188),
results display. You can review results and look for violations of parameters.
Results area
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):
Diameter
Pipe Cost
(in.)
GA-P-7 96 3033600.00
GA-P-18 72 5304000.00
GA-P-19 72 3182400.00
GA-P-21 60 4646400.00
After you calculate the optimized design (by clicking the GO button—for more infor-
mation, see “Part 1—Creating the Darwin Designer Optimization” on page 3-188),
results display. You can use the results are to create graphs and reports.
Results area
Select the
scenario you
exported
4. A dialog will appear, informing you that the program is now synchronizing the
changes and time stamp from Darwin Designer with WaterCAD.
5. In WaterCAD, 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 GO to calculate the system pressures and tank levels for the Existing Condi-
tion.
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 GO to calculate the system pressures and tank levels for the Future Condi-
tion.
6. In the Scenario: Future Condition dialog box, select an Extended Period simula-
tion.
7. Click GO.
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.
Table 3-28: Design Option Group 1
Hazen
Diameter Unit Cost
Material Williams
(in.) ($/ft.)
Roughness
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.
Hazen
Diameter Unit Cost
Material Williams
(in.) ($/ft.)
Roughness
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:
Table 3-33: 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.
Table 3-34: Do Nothing Cost
6 0.00
8 0.00
10 0.00
12 0.00
14 0.00
16 0.00
18 0.00
20 0.00
24 0.00
30 0.00
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.
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 GO. 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 WaterCAD, 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 GO 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.
3.9.4 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
Starting a WaterCAD 4
Project
At the beginning of a project, you need to set some global settings. In the Global
Options (see “Global Options” on page 4-242) and Project Options (see “Project
Options” on page 4-244) dialog boxes, you can specify the unit system, the friction
formulas used, and whether you want to use Auto Prompting. In the Drawing Options
dialog box (see “Drawing Options” on page 4-246), you can specify settings such as
the drawing scale and the size of the symbols and annotations.
You can also access the FlexUnit dialog box (see “FlexUnits” on page 4-252) in order
to globally specify the units and number of decimals to be displayed for each type of
data.
When WaterCAD runs within AutoCAD, two important files are used. The .WCD file
is still used to hold all model data, and a .DWG file contains all of the AutoCAD enti-
ties. This means that even a complete AutoCAD drawing corruption (or loss) will not
endanger your hydraulic model data—in fact, you can even regenerate the AutoCAD
modeling elements from the .WCD file!
When a .WCD file is overwritten by a save action, a backup file of the .WCD file is
created with a .WCK extension. Note that AutoCAD also generates a backup drawing
file, with a .BAK extension.
If you use the Shapefile or Database Connections Managers to exchange data with
external data sources, the connection files you create and use have the .HSC and .HDC
extension respectively. By default, they are named Wtrc.HSC and Wtrc.HDC, and are
located in your haestad…Wtrc directory. In this case, these connections are shared
between all your projects. You are also given the option to keep these connections
local to your project. In this case, these files are placed in your current project direc-
tory with the same name as your .WCD file but with the .HSC and .HDC file exten-
sions, respectively. For more information, see “Sharing Shapefile Connections
between Projects” on page 15-595 and “Sharing Database Connections between
Projects” on page 15-584.
4.1.4 Libraries
Libraries are saved in separate files so they can be shared between projects. The paths
are specified in the Engineering Library Manager (for more information, see “Engi-
neering Library Manager” on page 14-564). They have an .HLB extension and are
located by default in your Haestad\Wtrc directory.
WaterCAD creates additional files in the same directory as your .WCD file to save the
calculation results. Since recalculating the scenarios can regenerate these results, these
files do not necessarily need to be included when backing up your important files.
However, if you are unsure, copy all files present in your project directory.
This dialog box appears when opening a WaterCAD v5 or earlier project. It allows
you to specify a new name for the project so that the older version of the file will be
retained. If you choose to keep the existing file name, the new file will overwrite the
existing one.
The Import Network command allows you to import data from KYPIPE v1 (see
“Importing KYPIPE Data” on page A-681), v2, or v3, EPANET v1 or v2 (see
“Importing EPANET Files” on page A-681), and Cybernet (see “Importing Data from
Previous WaterCAD/Cybernet Versions” on page A-674). You will then be able to
save this project as a WaterCAD project. The data is imported into an empty project.
Therefore, before the data is imported, you will be prompted to save your current
project if it contains WaterCAD elements.
For Example, the submodel you want to import contains input data that you would like
to transfer in a Physical Alternative named Larger Pipes. The model you want to
import the submodel into must also have an Alternative named Larger Pipes for this
data to be imported. If there is no Larger Pipes alternative in the project, no input data
will be transferred and you will receive a warning message to this effect in the Status
Log (for more information, see “Status Log” on page 13-561).
Also note that the coordinate data associated with the submodel is retained and this
data dictates the location that the submodel elements will appear in the model you are
importing to. This can cause elements to overlap one another.
To import a submodel:
To export a submodel:
Note: User-defined data and logical controls are not transferred during
submodel import and export operations.
The Project Setup Wizard can only be accessed at the start of a new project. All of the
options that are edited from the Wizard, however, can be changed individually from
other menus.
The Project Setup Wizard assists you in the creation of a new project by stepping you
through many of the project-wide options, allowing you to set up most of your notes
and defaults before you even create the first pipe. The areas covered by this Wizard
include:
Project Summary—Includes information about the project, such as the project title,
the project engineer, and general comments. For more information, see “Project
Summary” on page 4-242.
Prototypes—Enable you to set default values for elements, which are used to
initialize values for any new elements that are added to the project. For more informa-
tion, see “Prototypes” on page 6-322.
The Summary dialog box provides a way to enter a Project Title, the name of the
Project Engineer, and any significant comments (for example, the project revision
history). The Date field defaults to the current day. To change any portion of the date,
click the item to be changed (i.e., month field), then use the up and down arrows on
the keyboard to set the date.
The Project Title and Project Engineer will print in the footer of reports.
4.7 Options
Options include:
The Global Options dialog box allows you to customize the following options for this
application:
You can choose whether to show the Welcome dialog box each time you start the
program by selecting Beginner Welcome or Expert Hide Welcome in the Global
Options dialog box, which can be accessed by selecting Tools > Options. The
Welcome dialog box also provides a check box that you can use to disable it when the
program starts.
Unit System
Note: If the file that you are editing in Stand-Alone mode is already
associated with an AutoCAD drawing, be careful not to change
the unit systems. Otherwise, the .DWG and the .WCD files may
become irreversibly out of sync.
Although individual units can be controlled throughout the program, you may find it
useful to change your entire unit system at once to either the System International (SI)
unit system or the US Customary (English) system.
When you switch to a different unit system, you will be asked to confirm this action. If
you choose YES, all data will be displayed in the default unit for the selected system,
and conversions will be done automatically.
• CUA Enter Key—With this setting, the Enter key acts as it normally does for
Windows applications. It conforms to Common User Access (CUA) standards.
This means that when you press the Enter key, it is as though you pressed the
default button on the dialog box. CUA Enter Key is the recommended setting.
• Tabbing Enter Key—With this setting, the Enter key behaves the same as the
Tab key for editable fields (not buttons). This means that when you press the Enter
key, the cursor will move to the next field in the dialog box.
Window Color
You can specify the background and foreground colors of the main graphical window
in Stand-Alone mode. The foreground color is the default color that is applied to all
elements symbols, pipes, labels, and annotations when no color coding is defined.
These color settings also apply to the Scenario Comparison window, but do not apply
to the Profile or Graph Plot windows.
Sticky Tools
Sticky Tools are available in Stand-Alone mode. With Sticky Tools disabled, the
drawing pane cursor will return to the Select tool after creating a node or finishing a
pipe run. With Sticky Tools enabled, the tool does not reset to the Select tool, allowing
you to continue dropping new elements into the drawing without re-selecting the tool.
The Sticky Tool Palette can be turned on or off to meet your needs and preferences.
Auto Prompting
Auto Prompting allows you to immediately enter data as elements are added to the
drawing, without interrupting the layout process.
When Auto Prompting is active, the Auto Prompting dialog box will immediately
appear when you add an element to the drawing. From the Auto Prompting dialog
box, you can modify the element’s default label and access the remaining input data
by clicking the associated Edit button. Auto Prompting can also be toggled off in this
dialog box.
The Project Options dialog box allows you to set the following essential information
about your project:
If you change the friction method after pipes have been entered into the network, the
program will ask if you want to update the roughness values of those pipes. If you
select Yes, the program will assign all pipes a new roughness that corresponds to the
default roughness of the pipe material.
Liquid
You can specify the type of liquid transported by the network, the characteristics of
which (kinematic viscosity and specific gravity) are defined in the Liquid Library (for
more information, see “Liquid Properties” on page 14-567).
Input Modes
WaterCAD supports several input modes to adjust data entry to your style or the needs
of a particular project.
For example, consider a pipe with an actual scaled length of 35.8 meters. If the pipe
length rounding value is 1.0 meter, the program will assume the pipe length to be 36.0
meters.
The Drawing Options dialog box allows you to specify information regarding the
graphical display of elements in the drawing pane, including:
Drawing Scale
You can set the scale that you want to use as the finished drawing scale for the plan
view output. Drawing scale is determined based upon engineering judgment and the
destination sheet sizes to be used in the final presentation.
You may choose either schematic or scaled mode to define the horizontal and vertical
distance scales.
Scaled or schematic mode can be set on a pipe-by-pipe basis. This is useful when
scaled mode is preferred, but an exaggerated scale is needed for layout of detailed
piping arrangements.
Whether the drawing is set in scaled or schematic mode automatically reflects the
setting of the pipe prototype. While in schematic mode, Gravity Pipe Prototypes and
Pressure Pipe Prototypes can be assigned a default length. When the drawing mode is
scaled, pipe lengths do not need to be initialized from the prototype. Switching
between scaled and schematic in either the Project Options or Pipe Prototype dialog
boxes has no effect on existing pipes.
Annotation Multipliers
Annotation multipliers allow you to change the size of symbols, labels and annotation
text relative to the drawing scale. There is not a single annotation size that is going to
work well with all projects and scales, so these values should be adjusted based on
your judgment and the desired look of the finished drawings.
• Symbol Size—The number entered in this field will either increase or decrease
the size of your symbols by the factor indicated. For example, a multiplier of 2
would result in the symbol size being doubled. The program selects a default
symbol height that corresponds to 4.0 ft. (approximately 1.2 m) in actual-world
units, regardless of scale.
• Text Height—The text height multiplier increases or decreases the default size of
the text associated with element labeling by the factor indicated. The program
automatically selects a default text height that displays at approximately 2.5 mm
(0.1 in) high at the user-defined drawing scale. A scale of 1.0 mm = 0.5 m, for
example, results in a text height of approximately 1.25 m. Likewise, a 1 in. = 40
ft. scale equates to a text height of around 4.0 ft.
• Annotation Height—The annotation height multiplier increases or decreases the
default size of the element annotation by the multiplier indicated. The program
automatically selects a default text height that displays at approximately 2.5 mm
(0.1 in) high at the user-defined drawing scale. A scale of 1.0 mm = 0.5 m, for
example, results in a text height (to scale) of approximately 1.25 m. Likewise, a 1
in. = 40 ft. scale equates to a text height of around 4.0 ft.
• Pipe Text—Selecting the Align Text with Pipe box aligns the text with pipes.
In AutoCAD mode, if you change the Symbol Size, Text Height, or Annotation Height
you will be prompted with the Text Positioning dialog box, which allows you to select
one of the following options when applying the scaling operation.
• Maintain current text positions—The current position of all the annotation will
be maintained after the scale is changed.
• Reset text to default positions—The annotation will be repositioned to the
default position calculated by the program.
On the Text Positioning dialog box there is a check box that is labeled Don’t show
this dialog box again. If you check this box, you will not be prompted with this
dialog box until you turn it back on using one of the following commands at the
AutoCAD command line:
Pipe Text
The Align Text with Pipes toggle lets you specify whether you want the pipe labeling
and annotations to be parallel to the pipe or horizontal.
Symbol Visibility
Symbol visibility allows you to customize the drawing by turning specific layers on or
off. Each drawing layer holds a particular type of graphical element, such as labels and
annotation. To remove the graphical elements of a particular layer from the drawing
view, clear the associated check box:
• Show Labels—The label layer holds the labels for all network elements.
• Show Graphic Annotations—Graphic annotation (see “Graphic Annotation” on
page 13-557) includes lines, borders, and text (in Stand-Alone mode only).
• Show Element Annotations—Element annotation (see “Element Annotation” on
page 13-509) includes any dynamic annotation that is added to the project, such as
through the Annotation Wizard, see “The Annotation Wizard” on page 13-510.
• Show Source Symbols—For a water quality analysis, a symbol may be displayed
next to nodes that are defined as Constituent Sources.
• Show Control Symbols—A symbol may be displayed next to pump, valve, and
pipe elements with one or more controls, as defined in the Controls tab of the
element editors.
• Show Flow Arrows—Arrows indicating the flow direction may be displayed
after calculations have been run.
• Show Spot Elevations—Toggles on and off the display of spot elevations (see
“Spot Elevations” on page 13-551).
The Scenario Dataset Wizard allows you to convert a WaterCAD Dataset into an
ArcGIS personal geodatabase. This conversion must take place if you want to open,
edit, or calculate the model in ArcCatalog or ArcMap.
WaterCAD uses an open database format to store model data. Running the Scenario
Dataset Wizard converts the data from the WaterCAD format to a geodatabase format,
which is usable by ArcGIS. The converted data can be written to the same database
that WaterCAD uses to store model data, or to another existing database.The wizard
consists of the following steps:
Output—This field allows the target geodatabase to be specified. This is the file that
will be updated with the successful completion of the Scenario Dataset Wizard. To
append the WaterCAD dataset to the new geodatabase, leave this field at the default
value. To select an alternative geodatabase that was created previously, click the
Ellipsis (...) button to open a browse dialog box.
Input—This field allows the source WaterCAD dataset file (.MDB file) to be speci-
fied. The Ellipsis (…) button next to the text field opens a browse dialog box.
Scenarios—This menu lists the Scenarios contained within the WaterCAD dataset.
Each scenario that is selected here will be converted to an ESRI feature dataset in the
target geodatabase that was selected in Step 1. Place a check in the box next to each of
the scenarios you want to publish to ESRI feature dataset format.
Change Settings—This button opens the ArcGIS Spatial Reference Properties dialog
box. See ESRI’s ArcGIS documentation for more information about the Spatial Refer-
ence Properties dialog box.
This step allows you to choose the element attributes (and their associated units) that
will be included in the target geodatabase that was specified in Step 1. Please note that
only attributes that are selected in this step will be converted to personal geodatabase
format. Therefore, attributes that are not selected for conversion in this step will not be
available for use in ArcCatalog or ArcMap. This step consists of the following
controls:
Feature Class Name—This field specifies the label that will be associated with the
corresponding feature class in the ArcMap and ArcCatalog clients.
Select Attributes—This button opens the Select Attributes dialog box. See “Select
Attributes Dialog Box” on page 4-251 for more information.
Attribute Table—This table lists the attributes that will be included in the feature
class that is currently highlighted in the Element Pane. The table lists the WaterCAD
Attribute, the geodatabase column label, and the unit associated with the attribute in
that row. Only the unit can be modified in this table—clicking the desired unit cell
activates a menu that lists the units available for that attribute type.
Selection Set—Clicking this button opens the Selection Set dialog box, allowing you
to select for use only the elements contained within a previously created selection set.
See “Selection Set Options” on page 4-251 for more information.
Linear Unit—This drop-down allows you to select the units of measurement used for
distances and lengths in the model.
Save Settings—Clicking this check box will save the currently specified settings as a
Scenario Template, which can be used in Step 1 of the Scenario Dataset Wizard.
This dialog box allows you to select for use by the Scenario Dataset Wizard only the
elements contained within a previously created selection set. The dialog box
comprises the following controls:
• Use Selection Set (Check Box)—Placing a check in this check box activates the
Use Selection Set menu.
• Use Selection Set (Menu)—This menu allows the previously created selection set
to be specified.
This dialog box consists of two panes and four buttons. The left pane displays a list of
the available attributes and the right pane lists the selected attributes. The following
buttons are used to manipulate the attributes between the two panes.
[>]—Moves the currently selected attribute from the left (available) pane to the right
(selected) pane.
[>>]—Moves all of the attributes from the left (available) pane to the right (selected)
pane.
[<]—Moves the currently selected attribute from the right (selected) pane to the left
(available) pane.
[<<]—Moves all of the attributes from the right (selected) pane to the left (available)
pane.
4.8 FlexUnits
FlexUnits (the ability to control units, display precision, etc.) are available from
almost anywhere within Haestad Methods’ software, including element dialog boxes,
FlexTables (see “FlexTables” on page 7-329), and the FlexUnits Manager (see “Flex-
Units Manager” on page 4-254).
Most dialog boxes provide access to FlexUnits to set options such as unit, rounding,
and scientific notation for any field in the dialog box.
1. Right-click the field, and select Properties from the shortcut menu. The Set Field
Options dialog box will appear.
2. Set the options you want for your units.
3. Click OK to set the options for the field, or Cancel to leave without making
changes.
You will be able to change the following characteristics:
Tip: You can see the results of your changes in the preview at the top
of the dialog box.
Some attributes do not have theoretical minimum or maximum values, and others may
have an acceptable range governed by calculation restrictions or physical impossibili-
ties. For these attributes, minimum and maximum allowable values may not be appli-
cable.
4.8.2 Units
Units are the method of measurement displayed for the attribute. To change units,
click the choice list, then click the desired unit. The list is not limited to either SI or
US customary units, so you can mix unit systems within the same project.
FlexUnits are intelligent—the units actually have meaning. When you change units,
the displayed value is converted to the new unit so the underlying magnitude of the
attribute remains the same.
For example, a length of 100.0 ft. is not converted to a length of 100.0 m or 100.0 in.
It is correctly converted to 30.49 m or 1200.0 in.
The precision setting can be used to control the number of digits displayed after the
decimal point, or the rounding of numbers.
Rounding
Note: Display precision is for numeric formatting only and will not
affect calculation accuracy.
Enter a negative number to specify rounding to the nearest power of 10. (-1) rounds to
the nearest 10, (-2) rounds to the nearest 100, and so on.
For example, if the display precision is set to (-3), a value of 1234567.89 displays as
1235000.
Note: Scientific Notation is for numeric formatting only and will not
affect calculation accuracy.
Scientific notation displays the number as a real number beginning with an integer or
real value, followed by the letter e and an integer (possibly preceded by a sign). Click
the field to turn scientific notation on or off. A check will appear in the box to indicate
that this setting is turned on.
Note: These allowable minimums and maximums are only available for
certain parameters.
Minimum and maximum values are used to control the allowable range for an
attribute, and are used for validation of input. For example, some coefficient values
might typically range between 0.09 and 0.20. A frequent input error is to misplace the
decimal point when entering a value. If you enter a number that is less than the
minimum allowed value, a warning message will be displayed. This helps reduce the
number of input errors.
You may change this number in cases where you find the default limits too restrictive.
Note: The display units can also be changed from several other areas
in the program, and any changes are project-wide. For example,
if length is changed from units of feet to meters, all dialog boxes
will display length in meters. If you change the units in the dialog
box from meters to yards, the FlexUnits Manager will indicate
that length is in yards.
The FlexUnits Manager allows you to set the parameters for all the units used. The
dialog box consists of the following columns:
The layout and editing tools allow you to select elements to perform various graphical
or editing operations, locate particular elements, review the network for potential
problems, label or relabel elements, review your data, or define any new type of data.
One of the most powerful features of the graphical editor, both in Stand-Alone and
AutoCAD modes, is the ability to create (see “Creating New Elements” on page 5-
256), move (see “Moving Elements” on page 5-262), edit (see “Editing Elements” on
page 5-261), and delete (see “Deleting Elements” on page 5-262) network elements
graphically. With these capabilities, working with your model becomes a simple point
and click exercise. The online tutorials and Lesson 1 have step-by-step instructions for
performing common tasks in the graphical editor. For more information, see “Quick
Start Lessons” on page 3-87.
Most network editing tasks can be performed using only your mouse:
The tool palette contains all of the tools necessary for adding a network Element to the
drawing. These element tools include:
Pipe Layout Tool—Pipes are link elements that connect junction nodes, pumps,
valves, tanks, and reservoirs.
Pressure Junction Tool—Junctions are non-storage nodes where water can leave
the network to satisfy consumer demands or enter the network as an inflow. Junc-
tions are also where chemical constituents can enter the network.
Tank Tool—Tanks are a type of Storage Node. The water surface elevation of a
tank will change as water flows into or out of it during an extended period simula-
tion.
Reservoir Tool—Reservoirs are a type of storage node. The water surface eleva-
tion of a reservoir does not change as water flows into or out of it during an
extended period simulation.
Pump Tool—Pumps are elements that add head to the system as water passes
through. A Pump is represented as a node.
Valve Tool—Valves are elements that open, throttle, or close to satisfy a condition
you specify. A valve is represented as a node.
Spot Elevation Tool—In addition to the elevations at junction nodes and other
network elements, supplemental spot elevations can be entered throughout the
model without adding unnecessary model nodes.
Although elements can be inserted individually, the most rapid method of network
creation is through the Pipe Layout tool. The Pipe Layout tool enables you to connect
existing nodes with new pipes, but also allows you to create new nodes as you lay out
the pipes.
For example, when the Pipe Layout tool is active, clicking within the drawing pane
will insert a node. Clicking again at another location will insert another node and
connect the two with a pipe. Use the online tutorials to experience it interactively.
While laying out a network, you may need to change the type of node that the Pipe
Layout tool inserts. This can be done very easily by following the steps outlined
below:
Note: The cursor appearance will change to reflect the type of node to
be inserted.
With the Pipe Layout tool active, right-click in the drawing pane.
Occasionally, you may find that you need to replace a node with a different type of
node. You can make this change through a process called morphing.
Morphing enables you to change an existing network node type, without having to
delete and re-create the node and all of its connecting links. Information types that are
common between the existing and new elements will be copied into the new element.
To morph an existing element into a different type of element:
You may encounter a situation in which you need to add a new node in the middle of
an existing pipe. For example, you may want to insert a new inlet to capture excessive
surface flow in StormCAD, a new junction to represent additional demand in
WaterCAD, or a new manhole to maintain maximum access hole spacing in
SewerCAD.
You can split existing pipes by inserting a node along the pipe as follows:
• In the drawing pane, place the cursor over the pipe and click.
• You will be prompted to confirm that you wish to split the pipe. If you choose to
split the pipe, the node will be inserted and two new pipes will be created with the
same characteristics as the original pipe (lengths are split proportionally).
• If you choose not to split the pipe, the new element will be placed on top of the
pipe without connecting to anything.
If you accidentally split a pipe, this action can be undone by selecting Edit > Undo.
You can also split an existing pipe with an existing node. To do this, drag the node into
position along the pipe to be split. After the node is placed over the point along the
pipe where you want the split to occur, right-click the node and select Split <Pipe
Label> from the context menu (where <Pipe Label> is the name of the pipe to be
split).
In certain circumstances, you may wish to disconnect a pipe from a node without
deleting and redrawing the pipe in question. For example, if the model was built from
a database and the Establish By Spatial Data option was used to determine pipe
connectivity, pipes may have been connected to the wrong nodes.
You can disconnect a pipe from an adjacent node and then reconnect it to another
existing node using the right-click context menu, as follows:
You can select one element or a group of elements from drawing pane on which to
perform various operations such as moving (see “Moving Elements” on page 5-262),
deleting (see “Deleting Elements” on page 5-262), and editing (“Editing Elements” on
page 5-261).
To toggle the selected status of one or more elements, you can follow the same
instructions as above while holding down the Shift key. There are also additional ways
to select elements through the Edit menu.
AutoCAD also offers a variety of other selection methods that are outlined in the
AutoCAD documentation.
Use the Select Element dialog box to select a single element from your model.
This dialog box is very similar to the Selection Set dialog box, with one exception:
Once an element has been added to a group, it cannot be included in any other groups.
For more information, see “Selection Set Dialog Box” on page 5-264.
The Select From Drawing button allows you to graphically select elements. Clicking
this button brings you back to the drawing view to allow you to graphically choose the
elements that you want to deactivate. While in this mode, clicking the right mouse
button opens a menu that allows you to select Done, which will bring you back to the
dialog box in which you initially clicked the Select From Drawing button.
There are several methods for editing network element data, including Quick Edit (see
“Quick Edit” on page 5-273), FlexTables (see “FlexTables” on page 7-329), and the
Alternative Manager (see “Alternatives Manager” on page 8-347). You can also
import data using Database Connections (see “Shapefile and Database Connections”
on page 15-571).
Perhaps the most common method of changing element data, however, is from an
individual element’s editor dialog box. To edit a single element, use the Select tool.
To edit a single element, double-click the element, and the Editor dialog box will
open. Alternatively, you can right-click the element and select Edit… from the
shortcut menu.
In AutoCAD 2000/2002, the process is slightly different. First, click the Select tool,
then click the element you wish to edit. If you are using AutoCAD 2000/2002, you
can also right-click to activate the shortcut context menu or double-click the element
to be edited.
Right-click context menus can provide easy access to common functions and actions.
In AutoCAD 2000i, as in Stand-Alone, you can also double-click the element to bring
up its editor.
Moving Elements
You can change the location of elements easily. The first step is to select the elements
to be moved. Next, click to drag the element and release the mouse button to drop the
element at its new location. In AutoCAD mode, you can accomplish this by dragging
the grips. When a node is moved to a new location, all connected pipes will remain
attached, and pipe lengths will automatically update (unless the pipe has a user-
defined length or you are working in schematic mode).
In the same fashion, you can graphically change the location of element labels and
annotation relative to the element.
A node element can also be moved by editing its coordinates in the element’s editor, in
FlexTables, or through database connections.
Deleting Elements
To delete elements, select the elements to be deleted, and press the Delete key. Note
that the integrity of the network is automatically maintained when deletions are
performed. This means that when a node is deleted, any connecting pipes are also
deleted to prevent dangling pipes that would cause the network to be invalid.
There are also several other methods of deleting elements, including selecting Edit >
Delete, or typing ERASE at AutoCAD’s command line.
In Stand-Alone mode, drafting and annotation tools allow you to add polylines
(multi-segmented lines), rectangles, and text to the drawing pane.
The Selection Sets Manager is used to create, edit, and duplicate selection sets. The
following options are available after clicking the Selection Set button:
After clicking Add in the Selection Set Manager, a dialog box opens. Enter the name
of your new selection set in the dialog box. Click OK to name the selection set, or
Cancel to exit the dialog box without creating a selection set.
In this dialog box, you will notice two panes. A listing of all the elements in the
network is displayed in the Available Items pane. To add items to the Selected Items
pane, select the desired elements in the available list and click the [>] button under
Add. To add all the elements to your selection set, click the [>>] button.
Additionally, you can use the Select button to highlight items in the Available Items
pane using a variety of powerful selection techniques, or by graphically selecting
elements from the drawing. The button also lets you invert the current selection set,
thereby canceling items already selected and selecting items that are not already
selected. You can also clear the selected items using the Select button.
The features mentioned above are also available to remove items from the Selected
Items pane.
There is also a Select From Drawing button. Clicking this button brings you back to
the drawing view to allow you to graphically choose the elements that you want to
include in the selection set. While in this mode, clicking the right mouse button brings
you back to the Selection Set dialog box.
Click Rename to open a dialog box that allows you to change the name of the high-
lighted selection set.
Click Notes to input free form paragraph text that will be associated with the high-
lighted selection set.
Click Delete to delete the highlighted selection set. This only deletes the selection set
and not the actual elements.
To find an element:
• Type the label of the element you wish to find, or click the list box to choose from
a sorted list of elements in the system.
• You may wish to choose a Zoom Factor from the list provided. 100% is the default
Zoom Factor. If you wish to magnify the view of the drawing, then choose a Zoom
Factor greater than 100%. To decrease the view of the drawing, choose a Zoom
Factor less than 100%.
• Click OK to select the highlighted element.
5.4 Zooming
Zooming controls how large or small a drawing appears on the screen. Zooming is
helpful when you want to enlarge the display to see the drawing’s details, or to reduce
the display to see an entire drawing. Zooming does not change the actual size of the
drawing, only the size of the current view.
Tip: You can use the Plus key (+) and the Minus key (-) on the
numeric keyboard as a shortcut for zooming in and out
respectively (Stand-Alone mode only). You can also zoom in and
out by holding down the ctrl key and using the mouse wheel.
From the View menu or the toolbars, you can perform the following zoom operations:
The Zoom Center dialog box provides you with a quick way to zoom to any area of
your drawing. This feature is useful if you want to start laying out a network around
certain coordinates, or if you know the coordinates of an existing element that you
would like to locate.
The Aerial View is a small navigation window that provides a graphical overview of
your entire drawing. You can toggle the Aerial View window on or off by selecting
View > Aerial View.
You can also use the Aerial View window to navigate around your drawing. To pan,
click the Navigation Rectangle to drag it to a new location. To zoom, click anywhere
in the window to specify the first corner of the Navigation Rectangle, and click again
to specify the second corner.
• In AutoCAD mode, see the AutoCAD online help for a detailed explanation.
• In Stand-Alone mode, with Aerial View window enabled (by selecting the View >
Aerial View), click and drag to draw a rectangular view box in the aerial view.
The area inside this view box is displayed in the main drawing window. Alter-
nately, any zooming or panning action performed directly in the main window
updates the size and location of the view box in the Aerial View window.
To resize the view box directly from the Aerial View window, click to define the new
rectangular view box. To change the location of the view box, hover the mouse cursor
over the current view rectangle and click to drag the view box frame to a new location.
The Drawing Review window allows you to quickly navigate to and review any group
of elements. This tool is particularly useful for finding potential problems in a
network. These problems may result from data entry errors or data discrepancies in the
source (database, shapefile, or CAD drawing) from which a model was imported.
By default, when the Drawing Review window opens, all elements will appear in the
list. You can work with any subset of elements by choosing one of the following
items:
• Select > Custom—Allows you to choose any set of elements to review using the
Selection Set dialog box (for more information, see “Selection Set Dialog Box”
on page 5-264).
• Go To—To navigate to an element, select the desired element in the list and press
the Go To button.
• Next/Prev—To navigate to the elements sequentially, use the Next or Prev
buttons.
• Zoom—You can control the degree to which the drawing review zooms into the
selected element by choosing a zoom factor from the field labeled Zoom, located
in the lower right corner of the dialog box.
All menus and toolbars will remain available even when the
Drawing Review window is open. This allows you to navigate to
and fix any problems that you find.
Use the Drawing Review window in conjunction with the QuickView window (see
“Quick Edit” on page 5-273) to review the data for the selected elements.
Some select operations require you to specify a tolerance for defining which nodes
will be selected for the Drawing Review window (for more information, see “Drawing
Review Window” on page 5-267).
Element relabeling allows you to modify the labels of a selected set of elements. This
feature is especially useful with a model built from a database that uses numeric IDs to
identify elements, making it difficult to distinguish between the different types of
elements in the system. With element relabeling, you can quickly append a prefix such
as ‘P-’ to all pipes in your system so that it is obvious which labels belong to elements
representing pipes.
• Relabel Operations—Allows you to select and define the operations you want to
perform. For more information, see “Relabel Operations” on page 5-270.
• Elements Selected—Allows you to select which elements in your project you
want to relabel. For more information, see “Elements Selected” on page 5-271.
The element relabeling tool allows you to perform three types of operations on a set of
element labels: Replace, Renumber, and Append. The active relabel operation is
chosen from the list box in the Relabel Operations section of the Relabel Elements
dialog box. The entry fields for entering the information appropriate for the active
relabel operation appear below the Relabel Operations section. The following list
presents a description of the available element relabel operations.
The selection set of elements on which the relabel operation is to be performed can be
selected in the Elements section of the Relabel Elements dialog box.
The Elements section contains a pane that lists the elements to be relabeled. You can
select the set of elements that appears in this pane by clicking the Select button. This
accesses the Selection Set dialog box (see “Selection Set Dialog Box” on page 5-264),
where you can pick a set of elements from all the elements currently in the project.
For the Append and Replace operations, the order that the elements appear in the text
pane does not affect the results of the operation. However, for the Renumber opera-
tion, the order in which the elements appear in the text pane determines the order in
which they will be renumbered. The default order in which the elements appear in the
text pane is in the alphanumeric order of the element labels, called Ascending Order.
If you wish to change this order, click the Sort button, and select Network Order to
put the elements in the order they appear in the network, Descending Order to put
them in reverse alphanumeric order, or Ascending Order to put them back in alpha-
numeric order.
The Element Labeling dialog box is used to specify the automatic numbering format
of new elements as they are added to the network. The following options are available:
Changes to the element labeling specifications will only affect the numbering of new
elements. Existing elements will not be affected. In order to adjust the numbering of
existing elements, utilize the Relabel Elements option accessible from the Tools menu
(for more information, see “Relabel Elements Dialog Box” on page 5-270).
You can control the angle at which the text flips from one side of the pipe to the other
to read in the opposite direction, when the pipe direction on a plot is nearly vertical.
By default, the text flips direction when the pipe direction is 1.5 degrees, measured
counter-clockwise from the vertical. You may modify this value by inserting a Text-
FlipAngle variable in the HAESTAD.INI file that is located in the program file of
your Haestad directory, and specifying the angle at which the text should flip. The
angle is measured in degrees, counter-clockwise from the vertical. For instance, if you
want the text to flip when the pipe direction is vertical, you should add the following
line to the HAESTAD.INI file:
TextFlipAngle=0.0
Reasonable values typically fall in the range 15.0 deg to -15.0 deg.
When multiple lines of annotation are present, you can move all lines as a group by
clicking and holding the left mouse button and dragging the labels to the desired posi-
tion. If you want to move these labels individually, click one of the lines of annotation
to highlight them. You will notice highlighted grips in the middle of each line. Click
this grip, hold down the mouse button, and drag to move a single line of annotation to
the desired location.
Note: Use the resize bar at the top of the Quick Edit window to change
the size of the Label, Value, and Unit columns on the Input/
Output tabs. You can highlight an Input/Output attribute by
clicking the label of that attribute, which provides better visual
feedback (e.g., when monitoring =pressures at several nodes).
When the Quick Edit window is open, the data for an entity will immediately be
displayed when you select it (see “Selecting Elements” on page 5-259) within the
graphical editor. Once an element has been selected, click any editable field on the
Input tab to edit the associated value. Edits will be committed when you leave the
Quick Edit window. Changes made through the Quick Edit window can be undone/
redone by accessing the Edit menu.
Hydraulic Element 6
Editors
This section presents a detailed look at the input and output data for each type of
element used in a WaterCAD project and the way it is organized in the graphical user
interface. First, a description of the elements used to model the water distribution
network is provided, including prototypes as a way to initialize new model elements
with default values. Then, the user data extension, which allows you to add your own
attributes to any element, and the Zone Manager, which allows you to group modeling
elements into zones, are described.
The primary component of a WaterCAD project is the network model. The element
types that are used to form a network models are:
• Pressure Pipes—Pipes are link elements that connect junction nodes, pumps,
valves, tanks, and reservoirs to each other. The only way for water to travel from
one node to another is by following a path through one or more pipes. For more
information, see “Pressure Pipe Editor” on page 6-277.
• Pressure Junctions—Junctions are non-storage nodes where water can leave the
network to satisfy consumer demands, water can enter the network as an inflow,
or chemical constituents can enter the network. For more information, see “Pres-
sure Junction Editor” on page 6-277.
• Tanks—Tanks are a type of Storage Node. The water surface elevation of a tank
will change as water flows into or out of it during an extended period simulation.
Tanks can have either a circular or irregular cross section. For more information,
see “Tank Editor” on page 6-278.
• Pumps—A pump is an element that adds head to the system as water passes
through. It is typically defined by a pump curve and control elevations, which turn
the pump on or off. It is represented in WaterCAD as a node. For more informa-
tion, see “Pump Editor” on page 6-279.
The Element Editors allow you to edit all input data and view all calculated output
data defining a single network element.
The pressure pipe editor organizes the related input data and calculated results into the
following tabs:
The pressure junction editor organizes the related input data and calculated results into
the following tabs:
• Capital Cost—Cost Analysis input/output data used when performing Cost Anal-
ysis calculations. For more information, see “Capital Cost Tab” on page 6-313.
• User Data—Additional data as defined by you. New fields can be added, such as
the junction installation date. For more information, see “User Data Tab” on
page 6-316.
• Messages—Calculation messages, such as warnings or error messages, and notes
and descriptions that you enter. For more information, see “Messages Tab” on
page 6-317.
WaterCAD allows you to define tanks with either fixed or variable sections.
The tank editor organizes the related input data and calculated results into the
following tabs:
The reservoir editor organizes the related input data and calculated results into the
following tabs:
A pump is an element that adds head to the system as water passes through it. This
software can currently be used to model six different pump types (see “Constant
Horsepower Pumps” on page B-725):
• Constant Power
• Design Point (One-Point)
• Standard (Three-Point)
• Standard Extended
• Custom Extended
• Multiple Point
Note: Avoid using constant power or design point pumps except for
preliminary estimates. They are often enticing because they
require less work on behalf of the engineer, but they are much
less accurate than a pump curve based on several
representative points.
The pump editor organizes the related input data and calculated results into the
following tabs:
A valve is an element that opens, throttles, or closes to satisfy a condition you specify.
This software can model several different types of valves. The behavior of a valve is
determined by the upstream (From Pipe) and downstream (To Pipe) conditions. The
valve types include:
Tip: You can change a valve from one type to another by a process
called morphing. Just click the new valve type button on the
toolbar, and drag the new valve on top of the old one.
If you are using a valve that does not normally check flow, but
you would like it to, set one of the pipes connecting to the valve
with a check valve.
The valve editor organizes the related input data and calculated results into the
following tabs:
• Pipe—General pipe data. For more information, see “Pipe Section” on page 6-
284.
• Initial Status—Specify a pipes initial condition, open or closed. For more infor-
mation, see “Initial Status Section” on page 6-285.
• User-Defined Length—Specify whether the pipe length is calculated automati-
cally or defined by you. For more information, see “User-Defined Length
Section” on page 6-285.
• Nodes—Define a positive direction for the flow in the pipe. This is used for check
valves or flow results. A reported negative flow indicates that the water is flowing
from the To Node to the From Node. For more information, see “Nodes Section”
on page 6-285.
• Hydraulic Results—Calculated hydraulic data. For more information, see
“Hydraulic Results Section” on page 6-286.
• Water Quality—Results of the water quality computations in the pipe reported
when a Water Quality Analysis has been performed. For more information, see
“Water Quality Section” on page 6-286.
Pipe Section
Tip: By clicking the ellipsis (...) button located next to the Material
you can access the engineering library to create and customize
materials.
• Label—Unique name referencing the pipe in reports, error messages, and tables.
The label can be any combination of alphanumeric digits.
• Material—Pipe material, with its associated roughness value, selected from the
Material Library.
• diameter—Inside diameter of the pipe.
• Roughness Coefficient—Pipe roughness coefficient or value associated with the
roughness method selected during the project setup for the selected material. (For
more information, see “Manning’s Equation” on page B-731, “Hazen-Williams
Equation” on page B-729, and “Darcy-Weisbach Equation” on page B-729.) You
can keep the roughness value associated with the selected material, as defined in
the material library, or override the roughness value for that specific pipe.
• Minor Loss Coefficient—Coefficient K used in the minor loss equation. For
more information, see “Minor Losses” on page B-732. This is the equation most
commonly used for determining the headloss in a fitting, valve, meter, or other
localized component.
• Check Valve—When this box is checked, flow can only travel from the From
Node to the To Node in a pressure pipe.
• K Each—The headloss coefficient for a single minor loss element of the specified
type.
• K Total—The total minor loss coefficient for the row. It is the Quantity multiplied
by the K Each.
The Minor Loss Elements dialog box also has three command buttons:
The initial status of the pipe can be either Open or Closed. It is possible that this status
will change when calculations are performed, based on the presence of controls for
that pipe.
Nodes Section
This section allows you to identify the calculated flow direction. A reported positive
flow value indicates that the flow is in the direction of the From Node to the To Node.
It is also useful for check valves, which allows flow only in the From Node to the To
Node direction.
The Reverse button allows you to change the direction of a pipe, switching the From
Node and the To Node.
• Age—Report how long the water has been in the system at this node or link. For
more information, see “Age Analysis” on page 9-389.
• Trace—Report the percentage of water at this node or link that originated at
another chosen node (tank, reservoir, or junction). For more information, see
“Trace Analysis” on page 9-391.
• Constituent—Report the concentration of a given constituent at this node or link.
For more information, see “Constituent Analysis” on page 9-390.
The General tab for junctions is organized into the following sections:
General Section
This section allows you to enter general information about the junction, such as:
The General tab for tanks is organized into the following sections:
General Section
This section allows you to enter general information about the tank such as:
• Label—Unique name referencing the tank in reports, error messages, and tables.
• X (Easting)—The location of the tank may be represented by an X-value or an
Easting value, depending on individual preferences.
• Y (Northing)—The location of the tank may be represented by a Y-value or a
Northing value, depending on individual preferences.
• Elevation—Ground elevation of the tank.
• Zone—Specify the zone the tank belongs to. You may click the ellipsis (…)
button to access the Zone Manager (see “Zone Manager” on page 6-328), which
allows you to edit or add zones.
Hydraulics Section
This section reports the hydraulic data of the tank:
The General tab for reservoirs is organized into the following sections:
For more information on the data, see the topic on each section. The water quality
section is identical for all elements; for more information, see “Water Quality Section”
on page 6-286.
General Section
This section allows you to enter general information about the reservoir, such as:
The General tab for pumps is organized into the following groups:
• General—General physical data about the pump. For more information, see
“Pump General Section” on page 6-290.
• Pump Definition—Type of pump curve and related data. For more information,
see “Pump Definition Section” on page 6-290.
• Initial Setting—Initial conditions for a pump describing the pump’s behavior at
the start of the analysis in EPS mode, or its permanent setting in Steady-State
mode. For more information, see “Initial Setting Section” on page 6-291.
• Pipes—Direction the pump is operating (i.e., from upstream to downstream
node). The direction of pumping can be reversed by clicking the Reverse button.
For more information, see “Pipes Section” on page 6-292.
This section allows you to enter general information about the pump such as:
• Label—Unique name referencing the pump in reports, error messages, and tables.
• X (Easting)—The location of the pump may be represented by an X-value or an
Easting value, depending on individual preferences.
• Y (Northing)—The location of the pump may be represented by a Y-value or a
Northing value, depending on individual preferences.
• Elevation—Elevation of the pump.
Note: All defined pump curve points have an associated head and
discharge.
The pump definition section displays the pump curve plot for the definition that is
currently assigned to the pump. When a new pump is placed, it is assigned the default
pump definition (unless otherwise specified, i.e., prototypes). A new pump definition
must be assigned. To do this, select a pump from the menu (if a definition has already
been created) or click the Ellipsis (...) button to open the Pump Definition Manager
(See “Pump Definition Manager” on page 6-292). The information required for a
pump depends on the type of pump that is selected. The possible information is as
follows:
• Head Definition—Select one of the six available types of pump curves. For more
information, see “Constant Horsepower Pumps” on page B-725.
• Pump Power—Represents the water horsepower, or horsepower that is actually
transferred from the pump to the water. Depending on the pump’s efficiency, the
actual power consumed (brake horsepower) may vary. This is available only for
constant-power pumps.
• Shutoff—Point at which the pump will have zero discharge. It is typically the
maximum head point on a pump curve.
• Design—Point at which the pump was originally intended to operate. It is typi-
cally the best efficiency point (BEP) of the pump. At discharges above or below
this point, the pump is not operating under optimum conditions.
• Max Operating—Highest discharge for which the pump is actually intended to
run. At discharges above this point, the pump may behave unpredictably, or its
performance may decline rapidly.
• Max Extended—Absolute maximum discharge at which the pump can operate,
adding zero head to the system. This value may be computed by the program, or
entered as a custom extended point.
The initial conditions for a pump describe the pump’s behavior at the start of the anal-
ysis. These conditions include:
Pipes Section
Note: You can switch the Upstream and Downstream Pipes by clicking
the Reverse button.
This indicates the direction in which the pump is operating (from upstream pipe to
downstream pipe).
Note: For a constant power pump, the calculated operating point may
be outside of the range for which the pump is representative of a
real pump. Be very cautious and check all results carefully. For
more information, see “Pump Theory” on page B-723.
The pump’s operating point represents the values for pump head and discharge, which
are computed by the program to balance with the remaining system heads and flow
rates.
• Relative Speed—Characteristics of the pump relative to the speed for which the
pump curve was entered, in accordance with the affinity laws. A speed factor of
1.00 will indicate pump characteristics identical to those of the original pump
curve.
• Control Status—Available pump conditions: On (normal operation), Off (no
flow under any condition).
• Discharge—Discharge produced by the pump at the operating point.
• Pump Head—Head generated by the pump at the operating point. The calculated
parameters are:
– Intake Pump Pressure—Calculated hydraulic grade line at the intake of the
pump.
– Discharge Pump Pressure—Calculated hydraulic grade line at the down-
stream end of the pump.
The Pump Definition Manager dialog box consists of a pump definition list pane and
six control buttons. The pane lists all of the pump definitions contained within the
currently active scenario. To the right of this section are the following buttons:
• Head—This tab consists of input data fields that allow you to define the pump
head curve. The specific fields vary depending on which type of pump is selected
in the Head Definition field. The following fields may be available depending on
the head definition type:
– Head Definition—Select one of the six available types of pump curves.
– Pump Power—This field is only available when the Constant Power Head
Definition type is selected. This value represents the water horsepower, or
horsepower that is actually transferred from the pump to the water. Depending
on the pump’s efficiency, the actual power consumed (brake horsepower) may
vary.
– Shutoff—Point at which the pump will have zero discharge. It is typically the
maximum head point on a pump curve.
– Design—Point at which the pump was originally intended to operate. It is
typically the best efficiency point (BEP) of the pump. At discharges above or
below this point, the pump is not operating under optimum conditions.
– Max Operating—Highest discharge for which the pump is actually intended
to run. At discharges above this point, the pump may behave unpredictably, or
its performance may decline rapidly.
– Max Extended—Absolute maximum discharge at which the pump can
operate, adding zero head to the system. This value may be computed by the
program, or entered as a custom extended point.
• Efficiency—This tab allows you to specify the Efficiency Type for the pump that
is being edited. The following choices are available:
• Motor—This tab allows you to define the pump’s motor efficiency. The tab
contains the following input fields:
– Motor Efficiency—The Motor Efficiency value is representative of the
ability of the motor to transform electrical energy to rotary mechanical energy.
• Notes—The Notes tab allows the input of text that will be associated with the
highlighted pump definition.
You can import pump definitions from a formatted tab-delimited text file. The
accepted format must include at a minimum Head Definition information. The
optional input data include Power, Efficiency, Motor, VSD (Variable Speed Drive),
and Pumps. These are separated into sections in the text file by entering the data under
the following headings:
• [Head]—Enter the pump curve points under this heading. The head definition
type is determined by The number of pump curve points that are included for the
pump. So to import a Design Point pump definition, only add a single pump curve
point; to import a Standard 3-point pump definition, add three pump curve points;
and to import a Custom Extended pump definition, add four pump curve points.
The format for pump curve points under the [Head] heading is as follows:
PumpDefinitionName <press Tab key> Discharge <press Tab key> Head
• [Power]—Enter the pump power rating for Constant Power pump definitions
under this heading. If you are not importing any Constant Power pump defini-
tions, omit this heading completely.
The format for pump power ratings under the [Power] heading is as follows:
PumpDefinitionName <press Tab key> PumpPower
• [Efficiency]—Enter the efficiency rating for pump definitions under this heading.
The Efficiency type is determined by the number of efficiency points assigned to a
pump definition. So to import a Best Efficiency Point type, only add a single effi-
ciency point; to import a Multiple Efficiency Point type, add multiple efficiency
points. Note that by not specifying an efficiency rating, the default value of one-
hundred percent efficiency will be used.
• [Motor]—Enter the motor efficiency under this heading.
The format for Motor Efficiency under the [Motor] heading is as follows:
PumpDefinitionName <press Tab key> MotorEfficiency
To see an example of a correctly formatted text file for pump definitions, see the
Lesson7.txt file in your Haestad/WaterGEMS/Lesson directory.
The General tab for valves is organized into the following sections:
General Section
This section allows you to enter general information about the valve such as:
Note: Minor loss data is not required for Throttle Control Valves (TCVs)
because the minor losses are already accounted for by the
valve’s primary purpose.
Note: You only need to specify either the pressure setting or the
hydraulic grade setting. The other will be automatically
calculated based on the valve’s elevation.
Pipes Section
Note: The valve direction, along with the flow direction, affects the
behavior of the valve. For more information, see “Valve Editor” on
page 6-281.
This section allows you to specify the Upstream Pipe and Downstream Pipe.
This section reports the following calculated hydraulic parameters for a valve:
6.2.11 Load
You can define a hydraulic load consisting of multiple demands and inflows for each
junction and tank node in the network. Each individual hydraulic demand or inflow
consists of a baseline flow rate and a pattern that is applied when performing an
Extended Period Simulation (EPS). This software provides a table for editing
hydraulic loads. Each row represents an individual hydraulic demand or inflow.
WaterCAD now lets you import simple or composite demands from an ASCII tab-
delimited text file. Click Analysis > Alternatives, select Demand, and click Add or
Edit to import demands.
Import Demands can be imported to junction and tank elements by accessing the
Demand Alternative and clicking the Import button. Junction and Tank demands can
be imported from the same file. The file to be imported must be in the following
format:
Element <Tab> Label <Tab> Demand Pattern 1 <Tab> Demand Pattern 2, etc.
Press the Tab key once between each column. An unlimited number of demands can
be imported from a single text file by adding additional columns following the same
format. The first row of the text file is used to associate the demand values with
demand patterns. The first column of the first row is ignored. The patterns to be asso-
ciated with the demand values are entered in the subsequent columns. If this row refer-
ences a pattern that is not available in the current project, a new pattern will be created
with the value entered in this column as its label. This pattern will have a demand
multiplier of one for every time step by default.
After the file to be imported is chosen, the Demand Import dialog box is opened (for
more information, see “Demand Import Dialog Box” on page 6-302). This dialog box
allows you to choose the unit type for the demand values in the file to be imported.
Note: Nodes that are present in the model but are not included in the
file being imported will not be modified. Existing demands are
removed without warning from any node that is present in the
file being imported. Each node must have a value entered for
every pattern column in the file. If no demand is associated with
a specific pattern, enter zero as the demand for that pattern.
EXAMPLE: DEMANDS
In this example, J-1 will have a composite demand of 15 and will use the patterns
Residential and Commercial. J-7 will have a demand of 20 and will use the pattern
Commercial. J-8 will have a demand of 15 and use pattern Residential.
J-1 5 10
J-2 6 11
J-3 7 12
J-4 8 13
J-5 9 14
J-6 10 15
J-7 0 20
J-8 15 0
Tank section data includes the information necessary to describe the storage character-
istics of the tank. They have been factored into the following logical groups:
• Section—The type of cross-section and the basic storage parameters. For more
information, see “Tank Section” on page 6-303.
Tank Section
The general information for tank section consists of the following:
• Section—Choose the type of cross section (see “Cross Section” on page 6-304)
for this storage tank. There are two types of cross sections to choose from:
Constant Area and Variable Area.
• Inactive Volume—Enter the inactive volume for this storage tank. This data is
used when performing water quality analysis.
• Total Active Volume—If this storage tank is a Constant Area Tank, the total
active volume will be computed from the other tank data and this field will not be
editable. If this is a Variable Area Tank, then enter the total storage volume for the
tank.
Cross Section
There are two basic types of storage tanks:
Constant Area
The cross sectional geometry of the tank is constant between the minimum and
maximum operating elevations. Two parameters are needed to fully describe a
constant area tank section:
Variable Area
The cross-sectional geometry varies between the minimum and maximum operating
elevations.
The Controls dialog box is separated into two windows—one lists the Simple
Controls, the other lists the Rule-Based, or Logical Controls. Controls allow you to
configure the hydraulic model to change the status or settings of a pump, valve, or
pipe at a specific time or when specific junction pressures or tank water levels occur in
the network. Rule-Based Controls can only be set in the Logical Control Manager,
which is accessed by clicking Analysis…Logical Controls. From the Controls tab,
the following Simple Control options are available:
• To add a simple control—Click the Add button. This will open the Control
dialog box (see “Simple Control Dialog Box” on page 6-305)where the specifics
of the control can be edited.
• To edit an existing simple control—Select the description of the control you
wish to edit and click the Edit button.
• To duplicate an existing simple control—Select the description of the control
you wish to duplicate and click the Duplicate button.
• To delete an existing simple control—Select the description of the control you
wish to delete and click the Delete button.
• Control—Specify the type of control, either Status or Setting. For more informa-
tion, see “Simple Control Type” on page 6-306.
• Control Condition—Specify whether the control is based on a time condition or
a node condition, and specify the control setting. For more information, see
“Control Condition” on page 6-306.
Note: Only status controls are available for pipes. Setting controls are
not appropriate. When pumps are turned on by a control, their
relative speed factor is set to 1.00.
Control Condition
A control can be triggered by a specified pressure or hydraulic grade being reached in
any tank or pressure junction located in the project.
Node Condition
A node condition dictates that the control will be triggered when the hydraulic condi-
tion of a specified tank or pressure junction is reached.
• Above—Trigger the control (“Controls Tab” on page 6-305) when the junction or
tank’s hydraulic parameter is above the node condition’s hydraulic parameter.
• Below—Trigger the control when the junction or tank’s hydraulic parameter is
below the node condition’s hydraulic parameter.
You can express the conditions at the control node in terms of Pressure or Hydraulic
Grade.
Example: Closed if node J-2 below 10 psi means that the controlled pipe will close
when the pressure at junction J-2 goes below 10 psi.
Time Condition
There are two types of Time Condition: Time From Start and Clock Time. A Time
From Start condition dictates that the control will be triggered when the specified
amount of time has elapsed. A Clock Time condition will trigger the control at the
specified hour.
Examples
Closed at Time From Start 2.00 hr.—At 2.00 hours into the analysis, this link will
be closed.
Set hydraulic grade to 440 ft. at Time From Start 5.50 hr.—At 5.5 hours into the
analysis, the hydraulic grade of this pressure regulating valve will be set to 440 ft.
Open at Clock Time 12:00:00—Pipe will open when the clock reaches 12:00:00.
The Quality tab of an element allows you to edit the input data related to water quality.
Three types of water quality analyses can be performed, as defined in the Scenario
Editor dialog box (see “Scenario Wizard—Step 3” on page 8-370) accessed by
clicking the GO button in the main WaterCAD window. These are Water Age,
Constituent Concentration and Source Tracing. The basic parts of an element’s water
quality input data vary depending on the element type. Not all of the following input
data sections are available for all elements:
• Water Quality—Displays the active water quality alternative for the current
scenario, as well as initial water quality conditions or component reaction rates,
depending on the type of water quality analysis being performed. For more infor-
mation, see “Water Quality Section” on page 6-309.
• Constituent Source—For nodes only. This section of the dialog box contains
three data fields which are only active when the Constituent Source check box is
checked (for more information, see “Constituent Source Section” on page 6-310):
• Tank Mixing Model—For Tanks only. This section allows you to specify the
Tank Mixing Model that will be used by the current tank. The mixing model is
specified on a tank-by-tank basis, and Completely Mixed is the default model.
The following mixing models are available:
– Two Compartment—Under this mixing model, available storage is divided
into two completely mixed compartments. Inflow and outflow is assumed to
take place in the first compartment. The second compartment receives over-
flow from the first, and this overflow is completely mixed. When this mixing
model is selected, the Two Compartment section appears.
– Completely Mixed—The default mixing model. Under this model, all inflow
and outflow is assumed to have been completely mixed.
– FIFO—First In/First Out Plug Flow model. This mixing model assumes that
no water mixing occurs during its residence time in the tank. Water parcels
move through the tank in a segregated fashion where the first parcel to enter is
the first parcel to leave.
– LIFO—Last In/First Out Plug Flow model. This mixing model assumes that
no water mixing occurs during its residence time in the tank. As in the FIFO
mixing model, water parcels are segregated, however in the LIFO mixing
model, the parcels stack up on top of each other, and the last parcel to enter is
the first to leave.
• Two Compartment—For Tanks using the Two Compartment mixing model only.
This section contains two fields, which describe the division of total tank volume
between the two compartments. The field labeled Compartment 1 allows you to
enter the percentage of total tank volume that the first compartment occupies. The
percentage for Compartment 2 is then initialized for you.
Note: For age and trace analyses, pipe velocity and flow rate are the
only related data needed for computations. Therefore, these
reaction coefficient fields are grayed out or not displayed. For
constituent analyses, however, the bulk and pipe reaction
coefficients are needed to define the reactions that occur within
the pipes (in the water and between the water and pipe wall) and
in the tanks.
The bulk and wall reaction coefficient fields are initialized with
the values defined in the constituent library, but may also be
edited individually. In order to select the constituent being
modeled, and its corresponding parameters, or revert to default
values, use the Constituent Alternative Editor (for more
information, see “Constituent Alternative” on page 8-358).
The behavior of the source during the course of a water quality calculation varies
depending on the type of element, as follows:
The From Node and To Node Invert Elevations of the pressure pipe can be viewed
here.
Note: Edit the following data exclusively in the Fire Flow Alternative
Editor: whether a fire flow analysis is to be performed at a node,
whether the needed fire flow is to replace or be added to current
demands, whether a minimum pressure is required for the entire
system, and default fire flow input values.
The Fire Flow tab of the junction editor offers the ability to adjust an individual junc-
tion’s required fire flows and pressures. If these values are not specifically entered for
a given junction, the values will be based on the default fire flow data as entered in the
Fire Flow Alternative Editor (see “Fire Flow Alternative” on page 8-360), accessed by
selecting the Analysis > Alternatives menu item, and clicking the Edit button on the
Fire Flow tab. The Fire Flow Tab is divided into the following sections:
• Fire Flow Input—Minimum required fire flow at the selected junction, and
minimum pressures to be maintained. For more information, see “Fire Flow Input
Section” on page 6-312.
• Fire Flow Calculation Results—After performing a fire flow analysis, results are
available for the junction node assuming it is part of the fire flow selection set. For
more information, see “Fire Flow Calculation Results Section” on page 6-313.
• Needed Fire Flow—The flow rate required at the junction to meet fire flow
demands. This value will be added to or replace the junction’s baseline demand,
depending on the default setting for applying fire flows as specified in the Fire
Flow Alternative dialog box (for more information, see “Fire Flow Alternative”
on page 8-360).
• Fire Flow Upper Limit—This input defines the maximum allowable fire flow
that a junction can provide and the maximum allowable fire flow that can occur at
any single withdrawal location. This is a user-specified practical limit that will
prevent the program from computing unrealistically high fire flows at locations
such as primary system mains, which have a large diameter and high service pres-
sures. Remember that a system’s ability to deliver fire flows is ultimately limited
by the size of the hydrant opening and service line, as well as the number of
hydrants available to combat a fire at a specific location.
• Residual Pressure—Minimum residual pressure to occur at the junction node.
The program determines the amount of fire flow available such that the residual
pressure at the junction node does not fall below this target pressure.
• Satisfies Fire Flow Constraints—Whether the selected junction node meets the
fire flow constraints.
• Available Fire Flow—Amount of flow available for fire protection while main-
taining all fire flow pressure constraints.
• Calculated Residual Pressure—Calculated pressure at the junction node during
the fire flow withdrawal.
• Calculated Minimum Zone Pressure—Minimum calculated pressure of all
junctions in the same zone as this junction.
• Minimum Zone Junction—Label of the junction corresponding to the minimum
zone pressure.
• Calculated Minimum System Pressure—Minimum calculated pressure of all
junctions in the system.
• Minimum System Junction—Label of the junction corresponding to the
minimum system pressure.
On this tab, you can specify whether or not the element is to be included in the capital
cost analysis. If the element is selected to appear in the cost analysis then you can
enter the costs associated with the element. This tab is comprised of the following
components:
• Include in Cost Calculation?—A check box that allows you to control whether
or not this element will be included in the cost analysis. If this box is checked, the
element will be included in the cost calculation. For more information, see
“Include In Cost Calculation?” on page 6-314.
• Construction Costs—Contains a table for an element for entering cost items that
can be expressed in terms of a quantity, unit, and unit cost. For more information,
see “Construction Costs” on page 6-315.
• Non-Constructions Costs—Contains a table for entering costs related to the
elements that need to be expressed either as a lump sum or as a percentage of the
construction costs. For more information, see “Non-Construction Costs” on
page 6-314.
The value of this field can be varied by alternative. This can be useful if you want to
compute the costs for different portions of your system separately. For instance, if you
have several phases of construction that you want to cost separately, you could create
one cost alternative that only includes elements in phase one, and another alternative
that only includes elements in phase two. After you perform your cost analysis, you
can then perform cost reports detailing each phase of construction.
Non-Construction Costs
The Non-Construction Costs section of the Capital Cost tab contains a table that
allows you to enter an unlimited number of non-construction cost items for each
element. A non-construction cost item can be specified either as a lump sum value or
as a percentage of the total construction costs for the element. Each non-construction
cost contains the following four components.
• Label—A unique name that identifies the non-construction cost item. The labels
must be different for all non-construction cost items in a table.
• Factor—A numeric value that is used in conjunction with the operation to
compute the cost for a non-construction cost item.
• Operation—The operation that will be applied against the factor to compute the
total cost for the non-construction cost item. The two possible values for this field
are lump sum or percentage of the total construction costs.
• Cost—The cost of the non-construction cost item.
Construction Costs
The Construction Costs section of the Capital Cost tab consists of the following two
components:
For pipes there is an additional advanced option Set Quantity Equal to Pipe Length,
which allows you to set the quantity field for a construction cost item equal to the
length of the pipe.
The User Data tab allows you to view and edit the customizable user data for each
element. This tab is composed of two sections:
• User Data—Any Date/Time, Number, Text, and Yes/No data defined you. For
more information, see “User Data Section” on page 6-317.
• User Memos—Any memo data fields defined by you. For more information, see
“User Memos Section” on page 6-317.
User Data Extensions are a powerful way to add your own data
to the project. This data will not affect the hydraulic calculations
in any way, but can be used as any other data for operations
such as sorting, annotating, reporting, and importing/exporting.
For information on how to add new fields or edit an existing field format, see “User
Data Extension Dialog Box” on page 6-323.
All Element Editors have a Messages tab, which contains three parts:
• Variable Speed Pump Settings—The available input fields in this section vary
depending on the VSP type that is chosen.
• Pattern Based—When the Pattern Based VSP type is selected, this section
consists of a menu and an ellipsis (…) button. The Pump Speed Pattern drop-
down list allows you to select a previously created pattern, and the ellipsis button
opens the Pattern Manager (see “Pattern Manager” on page 9-394), which allows
you to select a previously created pattern or create a new one.
Use the Pattern Based VSP type when you already know the
Relative Speed Settings for the Variable Speed Pump.
• Fixed Head—When the Fixed Head VSP type is chosen, the pump will increase
or decrease its relative speed factor to maintain the Head specified at a control
node. When this VSP type is selected, this section consists of the following items:
• Control Node—The node that the VSP checks to determine whether to increase,
maintain, or decrease its relative speed factor.
• Target Head—The Head that the VSP will attempt to maintain for the Control
Node.
Note: The control node target head is the constant elevation of the
hydraulic grade line (HGL) that the VSP will attempt to maintain.
The target head at the control node must be within the physical
limitations of the VSP as it has been defined (pump curve and
maximum speed setting). If the target head is greater then the
maximum head the pump can generate at the demanded flow
rate the pump will automatically revert to fixed speed operation
at the maximum relative speed setting, and the target head will
not be maintained. The VSP target head for junction nodes can
be set on the VSP tab of the Pump dialog box, and for tanks on
the Section tab of the Tank dialog box by adjusting the initial
level.
• Maximum Relative Speed Factor—The highest relative speed factor that the
pump can be set at to meet the target head at the control node. If the target head
cannot be met when the pump is set at the maximum relative speed factor, the
maximum will be used.
• Pump Efficiency—Allows you to choose the pump’s efficiency type, and plot the
efficiency curve. For more information, see “Pump Efficiency Section” on page 6-
320.
• Efficiency Settings—The input requirements for this section vary depending on
the efficiency type selected in the Pump Efficiency section. For more information,
see “Efficiency Settings Section” on page 6-320.
• Daily Energy Cost Summary Section—After an Energy Cost Analysis has been
performed, this section displays a summary of the general calculated results, such
as energy usage and total daily cost. For more information, see “Daily Energy
Cost Summary Section” on page 6-321.
• Peak Demand Summary—After an Energy Cost Analysis has been performed,
this section displays the calculated results for the peak power usage and the cost
associated with this peak usage. For more information, see “Peak Demand
Summary Section” on page 6-321.
• Efficiency Summary—After an Energy Cost Analysis has been performed, this
section displays the calculated results for wire power coming into the pumps, the
power transferred to the water, and the efficiency of the transfer. For more infor-
mation, see “Efficiency Summary Section” on page 6-322.
When using the Best Efficiency Point or Multiple Efficiency Points efficiency types,
the Plot button in this section is activated. Clicking this button graphs the efficiency
curve in the Plot window (for more information, see “Plot Window” on page 13-559).
• When the Best Efficiency Point type is selected, the input fields are as follows:
– Motor Efficiency—The Motor Efficiency value is representative of the
ability of the motor to transform electrical energy to rotary mechanical energy.
– BEP Efficiency—The efficiency of the pump when it is operating at its Best
Efficiency Point.
– BEP Flow—The flow delivered when the pump is operating at its Best Effi-
ciency point.
• When the Constant Efficiency type is selected, the input fields are as follows:
– Motor Efficiency—The Motor Efficiency value is representative of the
ability of the motor to transform electrical energy to rotary mechanical energy.
– Pump Efficiency—The Pump Efficiency value is representative of the ability
of the pump to transfer the mechanical energy generated by the motor to
Water Power.
• When the Multiple Efficiency Points type is selected, the input fields are as
follows:
Note: The Energy Cost Results displayed here are not automatically
updated to reflect any input data modifications when a new
Extended Period Simulation is calculated. The Energy Cost
Analysis must be recalculated in the Energy Cost Manager to
update the results.
This section displays the following calculated results after performing an Energy Cost
Analysis:
• Utilization—Percentage of total time during the EPS that the pump was On.
• Daily Energy Usage—Amount of energy used during a 24-hour period.
• Daily Energy Use Cost—The cost of the energy used during a 24-hour period,
determined by the calculated energy usage and the energy pricing pattern.
• Daily Peak Power Cost—The cost associated with the Peak Demand Charge, if
applicable.
• Total Daily Cost—The total cost accumulated during a 24-hour period. This
value is the total of the Daily Energy Use Cost and the Daily Peak Demand Cost
(if a peak demand charge has been applied).
Note: The Energy Cost Results displayed here are not automatically
updated to reflect any input data modifications when a new
Extended Period Simulation is calculated. The Energy Cost
Analysis must be recalculated in the Energy Cost Manager to
update the results.
This section displays the following calculated results after performing an Energy Cost
Analysis:
• Peak Power—Displays the peak energy usage, as calculated during the extended
period simulation. This result is displayed even if Peak Demand Charges are not
applied.
• Peak Power Cost—Displays the energy cost as calculated during the extended
period simulation. If no Peak Demand Charge has been applied to the associated
Energy Price Definition, this field will display as zero.
Note: The Energy Cost Results displayed here are not automatically
updated to reflect any input data modifications when a new
Extended Period Simulation is calculated. The Energy Cost
Analysis must be recalculated in the Energy Cost Manager to
update the results.
6.3 Prototypes
Note: Changes to the prototypes are not retroactive and will not affect
any elements created prior to the change.
Prototypes allow you to enter default values for the Element in your network. These
values are used while laying out the network. Prototypes can reduce data entry
requirements dramatically if a group of network elements share common data. For
example, if a section of the network contains all PVC pipes, use the pipe prototype to
set the Material field to PVC. When a new pipe is created, its material attribute will
default to PVC.
User Data Extensions are a set of one or more fields that you can define to hold data to
be stored in the model. The User Data Extension feature allows you to add your own
data fields to the project. For instance, you can add a field for keeping track of the date
of installation for an element, or the type of area serviced by a particular element.
User Data Extensions exhibit the same characteristics as the pre-defined data used in
and produced by the model calculations. This means that User Data Extensions can be
imported or exported through database and Shapefile connections (see “Shapefile and
Database Connections” on page 15-571), viewed and edited in FlexTables, included in
tabular reports or element detailed reports, annotated in the drawing (see “Element
Annotation” on page 13-509), color coded (see “Color Coding” on page 13-513), and
reported in the detailed element reports. This data can also be accessed on the User
Data tab of each Element Editor dialog box.
The User Data Extension dialog box holds a summary of the user data extensions
currently defined in the project. In this dialog box, there is a tab for each type of
element. By clicking a particular tab, you can access the user data extensions currently
defined for that type of element. The software initially contains default user data
extensions, but these can be deleted or edited. Each tab in the User Data Extension
dialog box is composed of a table listing characteristics of the user data extensions
defined for that type of element. In addition, there are a series of buttons that can be
used to add, edit, delete, and share individual user data extensions. The table listing
the user data extensions consists of the following four columns:
• Label—Description that will appear next to the field for the user data extension,
or as the column heading if the data extension is selected to appear in a FlexTable
(for more information, see “FlexTables” on page 7-329).
• Type—Lists the type of data that is valid for the data extension. The available data
types are Date/Time, Number, Text, Memo, and Yes/No.
• Unit/Picture—Contains the unit of each numeric data extension, or the date and
time presentation format for Date/Time data extensions. Both the unit and the date
and time representations are specified when you create the data extension. They
can always be modified by editing the data extension.
• Shared—If an asterisk appears in this column, it indicates that the user data
extension is shared among two or more types of elements. For more information,
see “Existing Fields to Share With Dialog Box” on page 6-327.
The following list describes the four buttons that appear on the right side of the table:
• Add—Adds a new User Data Field. The User Field Specification dialog box (see
“User Field Specification Dialog Box” on page 6-324) will open when you click
this button. Here, you can define the properties of the user data extension that you
are adding.
• Edit—You can edit an existing user data extension by highlighting the data exten-
sion you wish to edit and clicking this button. This will open the User Field Spec-
ification dialog box where you can change the properties for that item.
At the bottom of the User Data Extension dialog box is a File button that allows you to
import or save a set of user-defined data extensions. You can save the current configu-
ration of user data extensions for later use by selecting File > Save, and specifying a
file location and name. The file extension for the files holding the user data extension
configurations is .UDX. Select File > Import to merge the data extension configura-
tions defined in these files into the current project. Importing a .UDX file will not
remove any of the other data extensions defined in your project. User data extensions
that have the same name as those already defined in your project will not be imported.
• Type—Enter the user data specification. For more information, see “Type Tab” on
page 6-324.
• Notes—Enter any notes related to the User Data Specification. For more informa-
tion, see “Notes Tab” on page 6-327.
Type Tab
• Type—Contains fields for entering the label for the user data extension, as well as
the data type. For more information, see “Type Section” on page 6-325.
• Format—Contains fields for defining the specification of the type of user data
extension selected in the Type section. For more information, see “Format
Section” on page 6-326.
Type Section
The Type section contains fields for entering the label and data type for the user data
extension. The name entered in the Label field corresponds with the User Data Exten-
sion field on the User Data tab of the Element Editor. This label will also be used as
the column heading if the user data extension is added to a FlexTable.
If you want the label to be displayed on multiple rows when it is used as a column
heading, you can use forward slashes to specify the location of line breaks. When the
label is used as a field label in a dialog box, the forward slashes will be converted to
spaces. In FlexTables, there is an option to use abbreviated labels for the column head-
ings. If you want an alternative label to be displayed, you can specify an abbreviated
label after the original label, and separate them by the pipe symbol, |. When the option
to display abbreviated labels is enabled in the FlexTables, this is the text that will be
used as the column heading. For instance, if you specified the label Date/Installed |
Date/Inst. it will be displayed in one of the following three ways, depending on the
location and options selected.
You can select from five different types of data for the user data extension from the
drop-down list in the Type field. An explanation of each is presented in the list below:
• Date/Time—Use this data type when you want the values you are entering to be
in a standard date and time format. This format can be more useful than storing
date information in a simple text field because it allows the dates to be sorted
correctly when they appear in a FlexTable.
• Memo—If a user data extension is defined to be a memo, it will appear as a
scrolling text pane in the User Memos section of the User Data tab in the Element
Editor dialog box.
• Number—Use this data type for fields that contain numeric values. You can
specify a unit for the information in this field. The values contained in this field
will then be automatically converted if you change the unit for this field.
• Text—Use this data type to create a single-line text field.
• Yes/No—Use this data type to display the attribute as a check box to represent
true/false data.
Format Section
This section is enabled only if you select Date/Time or Number in the Type section
(see “Type Section” on page 6-325). Here is where you define the properties
governing the type of data selected.
Number Format—If the type of data you selected was numeric, you can select a unit
type (length, volume, intensity, etc.), a unit, a display precision, and whether to use
scientific notation. There are no format options for memo, text, and Yes/No data types.
Date/Time Type Format—If you selected the Date/Time type, you can specify
whether you would like the date or time to appear first in the input field, as well as the
format of the date and time information. The format in which the date and time infor-
mation will be displayed can either be selected from the drop-down lists, or you can
type your own custom format directly into the Date Picture and Time Picture fields. If
one of these fields is left blank, the corresponding information will not be displayed.
The Date/Time data type consists of an input and an output format. The input format
is a fixed format that is determined by the regional settings on your computer. When-
ever you enter information into a Date/Time field, the information must be entered
according to the input format. If it is not entered in the proper input format, the value
will revert to the original value.
The output format is a mask that defines the manner in which the date and time infor-
mation will be displayed. It does not affect the way the date and time information can
be entered into a Date/Time field.
• To specify dates with no leading zeros for single-digit days, years, or months, use
lowercase d, lowercase y, or uppercase M.
• To specify dates with leading zeros for single-digit days, years, or months, use
lowercase dd, lowercase yy, or uppercase MM.
• To specify abbreviations for the day, year, or month, use lowercase ddd, lowercase
yyy, or uppercase MMM.
• To specify the full name of the day, year, or month, use lowercase dddd, lowercase
yyyy, or uppercase MMMM.
If there are characters in the output format that do not map to valid date or time infor-
mation, then the actual value of the character will be displayed. For example, if you
wanted the date to be displayed as June 15, 1998, you would define the format as
MMMM d, yyyy. Since the spaces and comma do not map to any of the date informa-
tion, their actual values are displayed. To include a piece of text that contains a char-
acter that maps to the date or time information, use single quotation marks (’) around
the text.
Notes Tab
This tab contains a text pane for entering notes about the current data extension. The
text entered here is not displayed anywhere in the model, but allows you to keep
records for a particular data extension.
• Available Items—Lists attributes defined for other element types that have not
already been shared with the current type of element. In order to add attributes to
the current element type, highlight them and click the Add button to transfer them
to the Selected Items list.
• Selected Items—The attributes in the Selected Items list will be added to the
current element after you click the OK button.
All the characteristics (such as data type, format, unit, and display precision) for a
particular user data extension are the same for all the elements that share it. This is
useful when the attribute you are adding needs to be the same for all the element types
for which it is defined. For instance, if you have a Date Installed field for every
element, sharing guarantees that the date format is the same for every element and will
appear in a single FlexTable column (for more information, see “FlexTables” on
page 7-329). If, at a later point, you decide the date should be in a different format,
you can change the format for one type of element. That change will filter through to
all the elements that share that attribute.
6.5 Zones
Zones includes:
The zone manager allows you to manipulate zones quickly and easily. Zones listed in
the Zone Manager can be associated with each nodal element using the Element
Editors, Prototypes, or FlexTables. This manager includes a list of all of the available
zones and standard manager features, such as:
Note: Only one zone can reference an element. If you add an element
to a zone, the element is automatically removed from the zone
that it was previously in.
The zone dialog box allows you to name the zone label. When a zone is named, the
junctions are automatically assigned the new name. The zone dialog box contains
pertinent information, including:
In addition to this information, there are also buttons that enable you to make changes
to the collection of elements in the zone, such as adding elements to the zone.
FlexTables 7
FlexTables provide you with a powerful data management tool that can be used to edit
input data and present output data in a quick, efficient manner. Haestad Methods
provides you with default element tables; however, these tables can be customized to
fit your particular needs. You can also create your own tables by combining various
input and output data for different model elements. You can use FlexTables to view all
elements in the network, all elements of a specific type (e.g., all pipes), or any subset
of elements. Additionally, tables can be filtered (see “Filtering Tables” on page 7-
339), globally edited (see “Globally Editing Data” on page 7-337), and sorted (see
“Sorting Tables” on page 7-338) to ease data input and present output data for specific
elements.
FlexTables may also be used to create results reports that can be sent to a printer, a
file, or to the Windows clipboard for copying into your favorite word processing or
spreadsheet software.
When you choose to print a table, the table name will be used as
the title for the printed report. You can change the report title by
renaming the table.
The Table Manager provides support for creating, opening, and managing tables.
Although the predefined tables provide access to most of the network element infor-
mation, it is sometimes practical to present model results and input data through user-
defined tables. The Table Management button provides the following tools for manip-
ulating user-defined tables:
To create a new table, open the Table Manager (see “Table Manager” on page 7-330)
by clicking the Tabular Reports button on the main toolbar, or by choosing Report >
Tables. In the Table Manager dialog box, click the Table Management button and
select New.
• Specify the Table Type (see “Table Type” on page 7-333) to indicate the type of
network elements you want to display in your table.
• Specify either a one- or two-row display for your table.
• Enter the name of your new table in the Enter the description for this table:
field. This name will also be used as the report title when the table is printed.
• Click OK to accept these settings and proceed to the Table Setup dialog box to
define your table.
The Edit option allows you to modify the list of attributes that will appear in your
table.
The Duplicate option allows you to create a new table based on an existing table.
The Delete option allows you to delete any table that you have defined. You cannot
delete the predefined tables.
Note: The table name will be used as the title in printed reports. You
cannot rename any of the predefined tables. If you need to
rename a predefined table, duplicate it first and then rename it
(see “Duplicating Tables” on page 7-331).
The Rename option allows you to change the name of any table that you have defined.
You cannot rename any of the predefined tables.
• Reset Units to the Current Unit System—This option is only available for
tables that are in Local Units mode (for more information, see “Local versus
Synchronized Units” on page 7-342). Local Units mode allows the table to main-
tain its own local set of column properties, such as units and precision. Use this
option to reset all units in the selected table to the defaults for the current unit
system, which refers to the units used in the current project. You will be prompted
for confirmation before this action is performed.
• Reset to Factory Defaults—You can reset any of the predefined tables to the
factory defaults. This option is not available for tables that you create.
The Table Setup dialog box allows you to customize any table through the following
options:
• Table Type—Allows you to specify the type of network elements that will appear
in the table. For example, only pipes will appear in a pipe table. For more infor-
mation, see “Table Type” on page 7-333.
• Available Columns—Contains all the attributes that are available for your table
design. These attributes will change based on the Table Type field. For more
information, see “Available Table Columns” on page 7-333.
• Pick Button—You can click this button to access the categorized Quick Attribute
Selector (see “Quick Attribute Selector” on page 2-56) for selecting columns to be
added to the tabular report. The selected column will be highlighted in the Avail-
able Columns list, and it can then be added to the Selected Columns list.
• Selected Columns—Contains attributes that will appear in your table. When you
open the table, the selected attributes will appear as columns in the same order as
in the list. You can drag and drop or use the up and down buttons to change the
order of the attributes in the Selected Columns list. For more information, see
“Selected Table Columns” on page 7-333.
• Allow Duplicate Columns—An advanced feature that allows you to place two or
more identical columns in the same table and set them to different unit systems.
For more information, see “Allow Duplicate Columns” on page 7-335.
• Column Manipulation Buttons—Allows you to select or deselect columns to be
used in the table, as well as to arrange the order in which the columns will appear.
For more information, see “Table Manipulation Buttons” on page 7-334.
The Table Type field allows you to specify the types of elements that will appear in the
table. It also provides a filter for the attributes that appear in the Available Columns
list. When you choose a table type, the available list will only contain attributes that
can be used for that table type. For example, only pipe attributes will be available for a
pipe table.
The Available Columns list is located on the left side of the Table Setup dialog box.
This list contains all of the attributes that are available for the type of table you are
creating. The attributes displayed in yellow represent non-editable attributes, while
those displayed in white represent editable attributes.
The Selected Columns list is located on the right side of the Table Setup dialog box.
The attributes in this list will appear as columns in the table when it is opened. The
columns will appear in the same order as the attributes in the selected list.
The Add and Remove buttons are located in the center of the Table Setup dialog box.
Set this check box to allow duplicate columns in a table. Allow Duplicate Columns is
an advanced feature that allows you to place two identical columns in the same table
and set them to different unit systems.
The Table window is where you will perform most of your data input and review. It
has many features to assist you with data entry, data formatting, report customization,
and output generation. To access the Table window, highlight a table in the Table
Manager, and click OK.
Options:
Output:
Non-editable table columns are displayed with a yellow background, and correspond
to model results calculated by the program and composite values.
Table Navigation
The Table window supports two modes:
The Arrow keys, Home, End, PgUp, PgDn, and Ctrl+<arrow> keys navigate to
different cells in a table. Table Navigation Mode is the default mode when editing a
table. To edit within a single cell of a table, press the F2 key to switch to Cell Naviga-
tion Mode.
In Cell Navigation Mode, the Arrow keys, Home, and End keys navigate within a
single cell. When Cell Navigation Mode is active, the word EDIT will appear on the
status pane at the bottom of the window. Cell Navigation Mode will automatically
terminate when you press any key except for Left, Right, Home, End, Delete, or Back-
space.
Note: Global Edit is available only for editable columns. You can use
Global Edit in conjunction with Filtering (see “Filtering Tables” on
page 7-339) to globally edit a subset of elements.
You can globally change the values of any editable column in a table. Right-click the
column that you wish to globally change and choose the Global Edit menu item.
Sorting Tables
Tables can be sorted based on a single column or multiple columns.
Custom Sort
You can sort elements in the table based on one or more columns, in ascending or
descending order. For example, the following table is given:
0.001 1 4.11
0.002 1 5.81
0.003 1 7.12
0.001 2 13.43
0.002 2 19.00
0.003 2 23.27
A custom sort is set up to sort first by Slope, then by Depth, in ascending order. The
resulting table would appear in the following order:
0.001 1 4.11
0.001 2 13.43
0.002 1 5.81
0.002 2 19.00
0.003 1 7.12
0.003 2 23.27
Filtering Tables
Filters let you change the table so only rows that match the specified criteria will
appear. To access the filtering operations, use the Options button at the top of the
Table window (in the case of a FlexTable)—for more information, see “Table
Window” on page 7-335—or right-click the column header for the attribute by which
you wish to filter.
• Quick Filter—Set up a simple filter by right-clicking the column header for the
attribute by which you wish to filter.
• Custom Filter—Set up a custom filter based on one or more criteria.
• Reset—Turn off the active filter, causing all available rows in the table to be
displayed.
Note: Another way to select which elements are displayed in the table
is to first select elements, either graphically or using the
Selection Set tool. Then, right-click any of the selected elements
and choose Edit Group from the shortcut menu that appears,
which opens the Table Manager dialog box. Only the selected
elements will appear in any of the tables you open at this point.
When you perform a Quick Filter or a Custom Filter, the Filter dialog box will open
and let you specify your filtering criteria.
Note: The new filtering options “Contains” and “Begins With” allow
more flexibility with regard to filtering tables. These filters are
only available for Column Types that have alphabetic values, for
example Label or Zone. The Contains filter checks for the
specified value anywhere in the words, and the Begins With filter
checks only the first letter for the specified value.
Any number of criteria can be added to a filter. Multiple filter criteria are implicitly
joined with a logical AND statement. When multiple filter criteria are defined, only
rows that meet all of the specified criteria will be displayed. A filter will remain active
for the associated table until the filter is reset.
The status pane at the bottom of the Table window always shows the number of rows
displayed and the total number of rows available (e.g., 10 of 20 elements displayed).
When a filter is active, this message will be highlighted.
Table filtering allows you to perform global editing (see “Globally Editing Data” on
page 7-337) on any subset of elements. Only the elements that appear in the filtered
table can be edited.
There are several ways to customize tables to meet a variety of output requirements:
• Changing the Report Title—When you print a table, the table name is used as
the title for the printed report. You can change the title that appears on your
printed report by renaming the table (see “Renaming Tables” on page 7-332),
using the Table Manager.
• Adding/Removing Columns—You can add, remove, and change the order of
columns from the Table Setup dialog box. Use the Table Manager (see “Table
Manager” on page 7-330) to access the Table Setup dialog box.
• Drag/Drop Column Placement—With the Table window open, select the
column that you would like to move by holding down the left mouse button on its
column heading. Drag the column heading to the left or right, and release the
mouse button to drop the column into its new location.
• Resizing Columns—With the Table window open, place your pointer over the
vertical separator line between column headings. Notice that the cursor changes
shape to indicate that you can resize the column. Hold down the left mouse button
and drag the mouse to the left or right to stretch the column to its new size.
Release the mouse button to set the new column width.
• Changing Column Display Properties—With the Table window open, right-
click in the heading area of the column you wish to change and choose the Proper-
ties menu item. The current column properties will be displayed in the Set Field
Options dialog box.
When working in synchronized units, you can change the project units and display
precision, if applicable; these changes apply to the current table only. For more
information, see “Local versus Synchronized Units” on page 7-342.
• Changing Column Headings—With the Table window open, right-click the
column heading that you wish to change and choose Edit Column Label. For more
information, see “Changing Column Headings” on page 7-341.
Abbreviated Labels
Using label abbreviations will allow columns to take up less space. Thus, more data
fits on each page when printing a report. If you wish to define an abbreviated label,
right-click the desired column heading and choose Edit Column Label. In the Label
dialog box, separate the abbreviated label from the default label with the pipe symbol,
|, located above the backslash (\) on most keyboards. For example, to use the abbrevi-
ation L for the Length column, type Length|L in the field provided. When the Use
Label Abbreviations option is turned on, the abbreviated label will appear.
• Synchronized Units—This is the default mode, which allows the table to stay
synchronized with the active project. If you have one project in US Customary
and one project in SI units, the table will match the units in the project that is
currently open.
• Local Units—Local Units mode allows the table to maintain its own local set of
column properties (units, precision, etc). This feature gives you the ability to build
tables that are always in a fixed unit system, regardless of what unit system the
active project is currently using. This option is useful for printing reports in
different unit systems.
When the Table window is open, the current unit synchronization mode is displayed in
the status pane at the bottom of the window.
For example, to see two Pipe Length columns in a Table, one in feet and one in
meters:
• Open the Table Manager. For more information, see “Table Manager” on page 7-
330.
• Click the Table Management button, and select New to create a new table.
• Select the Pipe Table Type from the choice list, and enter a name for your new
table. Click OK, and you will be taken to the Table Setup dialog box (see “Table
Setup Dialog Box” on page 7-332) where you can customize your table.
• In the Table Setup dialog box, activate the Allow Duplicate Columns check box
located in the lower left corner of the dialog box.
• Add the Length column to the Selected Columns list.
Note: The Length column will still appear in the Available Columns list,
but will be displayed in a lighter color, indicating that it has
already been selected.
• Click OK to close the Table Setup dialog box. From the Table Manager, highlight
the table you have just created, and click OK.
• Click the Options button at the top of the window and select the Use Local Units
menu item to turn Local Units on. You will be prompted to verify that you want to
use local units. Click Yes.
• Right-click the first Length column and select Length Properties to set the units
in the column to ft. Then, right-click the second Length column to set the units to
m.
Table Print
The Print button at the top of the Table window (see “Table Window” on page 7-335)
is used to output the table directly to the printer.
Click the Print Preview button at the top of the Table window (see “Table Window” on
page 7-335) to view the report in the format that will be printed.
If you want to paste your table into word processing software, copy from the print
preview. If you want to paste into spreadsheet software, copy directly from the table.
Scenarios/Alternatives 8
The scenario management feature allows you to easily analyze and recall an unlimited
number of What If? calculations for your model. The powerful two-level design,
which uses Scenarios that contain Alternatives, gives you precise control over changes
to the model, while eliminating any need to input or maintain redundant data.
We have worked hard to devise a system that offers the power and flexibility that you
demand, with the ease of use that you have come to expect from us. If you are like
most users, you will want to jump right in without having to spend a lot of time
reading. When you are ready to create your first scenario, you will find that you will
be able to accomplish what you want easily and quickly.
The Scenario Wizard is designed to get you started quickly, while slowly exposing
you to the power behind scenarios and alternatives.
When you are ready to model more complex scenarios, you will appreciate the power
and flexibility provided by the various scenario management features.
If you are a beginning user, try the Scenario Wizard (see “Scenario Wizard” on
page 8-369) and run the Scenario tutorial. For more information, see “Alternatives
Manager” on page 8-347 and “Scenario Management Guide” on page C-783.
8.1 Alternatives
Alternatives are the building blocks behind scenarios (for more information, see
“Scenarios” on page 8-364). They are categorized data sets that create scenarios when
placed together. Alternatives hold the input data in the form of records. A record holds
the data for a particular element in your system. The different types of alternatives are:
The exact properties of each alternative are discussed in their respective sections. By
breaking up alternatives into these different types, we give you the ability to mix
different alternatives any way that you want within any given scenario.
There are two kinds of alternatives: Base alternatives and Child alternatives. Base
alternatives contain local data for all elements in your system. Child alternatives
inherit data from base alternatives, or even other child alternatives, and contain data
for one or more elements in your system. The data within an alternative consists of
data inherited from its parent, and the data altered specifically by you (local data).
When you first set up your system, the data that you enter is stored in the various base
alternative types. If you wish to see how your system will behave, for example, by
increasing the diameter of a few select pipes, you can create a child alternative to
accomplish that. You can make another child alternative with even larger diameters,
and another with smaller diameters. There is no limit to the number of alternatives that
you can create.
Scenarios allow you to specify the alternatives you wish to analyze. In combination
with scenarios, you can perform calculations on your system to see what effect each
alternative will have. Once you have determined an alternative that works best for
your system, you can permanently merge changes from the preferred alternative to the
base alternative if you wish.
Remember that all data inherited from the base alternative will be changed when the
base alternative changes. Only local data specific to a child alternative will remain
unchanged.
The Alternatives Manager is the central location for managing the alternatives in your
project. It allows you to edit, create, and manage the various types of alternatives. It
also gives you more advanced capabilities, such as merging alternatives and creating
child alternatives.
The available alternatives of each type are conveniently organized in a list on the left
side of the dialog box. The network element data is grouped into the following types:
On the right side of the dialog box are a number of buttons that provide functions for
managing the alternatives. The following list provides a brief description of the func-
tion of each of these buttons.
Add—Create a new base alternative, first prompting for a name, and then opening an
alternatives editor. Base alternatives are initialized with the first data set entered either
in tables or specific element dialog boxes.
Add Child—Create a new child alternative that inherits from the selected alternative.
This allows you to automatically share the majority of the records from a parent alter-
native, while modifying only selected records in the child alternative.
Edit—Open the tabular record editor for the selected alternative. This tabular record
contains all the values that are used by the selected alternative.
Merge—Moves all records from the selected child alternative into its parent alterna-
tive, and then removes the selected alternative. The records in the selected alternative
will replace the corresponding records in the parent. This is helpful when you have
been experimenting with changes in a child alternative, and you want to permanently
apply those changes to the parent alternative. All other alternatives that inherit data
from that parent alternative will reflect these changes.
Duplicate—Create a new alternative filled with records copied from the selected
alternative. Use this if you wish to copy the data from an alternative, but not create a
child. The two alternatives will be independent.
Delete—Remove the selected alternative and its records. Deleting an alternative will
also delete all of the input data associated with that alternative.
The check box column will be disabled when you edit a base
alternative.
The Alternatives Editor displays all of the records held by a single alternative. These
records contain the values that are active when a scenario referencing this alternative
is active. They allow you to view all of the changes that you have made for a single
alternative. They also allow you to eliminate changes that you no longer need.
There is one editor for each alternative type. Each type of editor works similarly and
allows you to make changes to a different aspect of your system. The first column
contains check boxes, which indicate the records that have been changed in this alter-
native.
If the box is checked, the record on that line has been modified and the data is local, or
specific, to this alternative.
If the box is not checked, it means that the record on that line is inherited from its
higher-level parent alternative. Inherited records are dynamic. If the record is changed
in the parent, the change will be reflected in the child. The records on these rows
reflect the corresponding values in the alternative’s parent.
One of the most common uses of a water distribution model is the design of new or
replacement facilities. During design, it is common to try several physical alternatives
in an effort to find the most cost effective solution. For example, when designing a
replacement pipeline, it would be beneficial to try several sizes and pipe materials to
find the most satisfactory combination. Our powerful Alternative Manager allows you
to set up an unlimited number of design alternatives and apply them in different
scenarios.
Each type of network element has a specific set of physical properties that are stored
in a physical properties alternative, as listed below:
• Label—The label for the pump. This label is not editable in this dialog box.
• Elevation—Elevation of the pump, typically measured from the Mean Sea Level.
• Pump Definition—The attributes that define the pump’s operating characteris-
tics. Click this field, then click the Ellipsis (...) button to edit the parameters for
the active pump type.
• Variable Speed Pump?—This column contains a check box for each pump in the
model. If the box is checked, the pump is a Variable Speed pump.
• VSP Type—This column is only editable when the Variable Speed Pump? Box is
checked for the pump in question. When the field is activated, it consists of a
menu that allows you to select whether the VSP type is Pattern Based or Fixed
Head, and an Ellipsis (…) button that allows you change the settings for the vari-
able speed pump.
• Efficiency Type—This field consists of a menu that allows you to select whether
the Efficiency type is Best Efficiency Point, Constant Efficiency, or Multiple Effi-
ciency Point, and an Ellipsis (…) button that allows you change the efficiency
settings.
To get set the efficiency type, Click the Ellipsis (...) button next to Pump Defini-
tion on the General tab of the Pump Element Editor, click Add or Edit in the
Pump Definition Manager, and click the Efficiency tab.
• Label—The label for the valve. The Label is not editable in this dialog box.
• Elevation—Elevation of the valve, typically measured from the Mean Sea Level.
• Diameter—The internal diameter of the valve. The nominal diameter of the valve
is commonly used in water distribution modeling with little practical impact.
• Minor Loss Elements—The wide-open minor loss coefficient. Click the Ellipsis
(...) button to edit the Minor Loss Library (for more information, see “Engineering
Library Editor” on page 14-565).
• Headloss Curve—This column contains an Edit button for each GPV in the
model. Clicking this button opens the Curve dialog box, which allows you to input
the Headloss-Discharge points for that particular GPV.
• HGL Pattern—Displays the hydraulic grade line pattern that is currently in effect
(if any—if no pattern is selected, this box will display Fixed). This box consists of
a menu which lists the available patterns, and an Ellipsis (…) button which, when
clicked, opens the Pattern Manager (see “Pattern Manager” on page 9-394) to
allow you to edit or create a pattern.
• Zone—Specify the zone the tank belongs to. You may click the Ellipsis (...)
button to access the Zone Manager (see “Zone Manager” on page 6-328), which
allows you to edit or add zones.
The Active Topology Alternative lets you temporarily remove areas of the network
from the current analysis. This is useful for comparing the effect of proposed
construction and to gauge the effectiveness of redundancy that may be present in the
system.
The Active Topology dialog box is divided into tabs for each element type:
• Pressure Pipe
• Pressure Junction
• Reservoir
• Tank
• Pump
• Valve
For each tab, the same setup applies—the tables are divided into three columns. The
first column displays whether the data is Base or Inherited, the second column is the
element Label, and the third column allows you to choose whether or not the corre-
sponding element is Active in the current alternative.
To make an element Inactive in the current alternative, clear the check box in the
Active? column that corresponds to that element’s Label.
The Demand Alternative allows you to model the response of the pipe network to
different sets of demands, such as the current demand and the demand of your system
ten years from now.
• Pattern—Name of the Pattern (see “Pattern Editor” on page 9-395) that applies
the time-step multiplier to the Baseline Load if the junction has multiple demands.
Direct editing is disabled and the pattern name is shown as Composite.
• Demand Summary—A summary displaying the calculated Baseline Load, the
EPS Pattern applied to the Baseline Load, and the calculated demand Type
(Demand or Inflow) for the junction. Clicking twice on a Demand Summary
opens an editing dialog box for working with multiple demands on a junction.
On the right side of this dialog box, there is also an Import button. Clicking this button
allows you to choose an ASCII tab-delimited text file from which to import demands.
More information on this procedure can be found in the Importing Demands topic (for
more information, see “Importing Demands” on page 6-301).
The Initial Settings Alternative contains the data that set the conditions of certain
types of network elements at the beginning of the simulation. For example, a pipe can
start in an open or closed position and a pump can start in an on or off condition.
Note: There is no Inactive setting for GPVs. When the valve is active,
the associated headlosses will be applied as determined by the
values entered into the GPV’s Head-Discharge Points Table.
The Operational Alternative (see “Alternatives” on page 8-345) allows you to specify
controls on pressure pipes, pumps, as well as valves The Controlled field contains a
Boolean (true or false) statement that indicates whether the network element is
controlled. Clicking in this field activates a button that allows you to access the
Controls dialog box (see “Controls Tab” on page 6-305) and edit the controls for this
element.
The Operational Controls alternative allows you to create, modify and manage both
logical controls and logical control sets. The following options are available in this
dialog box:
• Add—Prompts for a name, then opens the Logical Control Set editor dialog box.
From this window, you can add previously created Logical Controls to the new
control set.
• Edit—Opens the Logical Control Set editor dialog box, which allows you to Edit
the highlighted control set.
• Duplicate—Prompts for a name, then opens the Logical Control Set editor to
allow you to add or remove controls from the control set.
• Delete—Deletes the highlighted control set. You will be prompted to confirm this
action.
• Rename—Allows you to rename the highlighted control set.
Report—Generates a summary of the highlighted control set, listing the ID, Condi-
tions, Actions, and elements for all of the Logical Controls contained within the
control set.
The Age Alternative is used when performing a water quality analysis for modeling
the age of the water through the pipe network. This alternative allows you to analyze
different scenarios for varying water ages at the network nodes.
The Constituent Alternative contains the water quality data used to model a constit-
uent concentration throughout the network when performing a water quality analysis.
Selecting a constituent from the Constituent scroll-down list provides default values
for table entries. This software provides a user-editable library of constituents for
maintaining these values, which may be accessed by clicking the Ellipsis (...) button
next to the Constituent scroll-down list.
The tabbed tables at the bottom of the dialog box includes different columns
depending on the type of elements populating the table. Columns may include such
values as:
– FIFO—First In/First Out Plug Flow model. This mixing model assumes that
no water mixing occurs during its residence time in the tank. Water parcels
move through the tank in a segregated fashion where the first parcel to enter is
the first parcel to leave.
– LIFO—Last In/First Out Plug Flow model. This mixing model assumes that
no water mixing occurs during its residence time in the tank. As in the FIFO
mixing model, water parcels are segregated, however in the LIFO mixing
model, the parcels stack up on top of each other, and the last parcel to enter is
the first to leave.
• Compartment 1—This column is only available for input when the Two
Compartment Tank Mixing Model is selected. This field allows you to enter the
percentage of total tank volume that the first compartment occupies. The
percentage for Compartment 2 is then initialized for you.
• Constituent Baseline Load—Load attributed to the element before applying the
Pattern time step multiplier used for an Extended Period Analysis.
• Constituent Pattern—Name of the Pattern (see “Pattern Editor” on page 9-395)
that applies the time step multiplier to the Baseline Load.
Depending on the type of highlighted network element in the table, the Use Defaults
button will reset the reaction coefficients for that element to the constituent default
values as specified in the constituent library, or it will reset the initial constituent
concentrations to 0.
The Trace Alternative is used when performing a water quality analysis to determine
the percentage of water at each node coming from a specified node. The Trace Alter-
native data includes a Trace Node, which is the node from which all tracing is
computed.
The Fire Flow Alternative contains the input data required to perform a fire flow anal-
ysis. This data includes the set of junction nodes for which fire flow results are
needed, the set of default values for all junctions included in the fire flow set, and a
record for each junction node in the fire flow set.
The default constraints are grouped in the Flow Constraints and Pressure Constraints
sections, as follows:
• Needed Fire Flow—Flow rate required at a fire flow junction to satisfy demands.
• Fire Flow Upper Limit—Maximum allowable fire flow that can occur at a with-
drawal location. It will prevent the software from computing unrealistically high
fire flows at locations such as primary system mains, which have large diameters
and high service pressures.
• Apply Fire Flows By—There are two methods for applying fire flow demands.
The fire flow demand can be added to the junction’s baseline demand, or it can
completely replace the junction’s baseline demand. The junction’s baseline
demand is defined by the Demand Alternative (see “Demand Alternative” on
page 8-354) selected for use in the Scenario along with the fire flow alternative.
• Residual Pressure—Minimum residual pressure to occur at the junction node.
The program determines the amount of fire flow available such that the residual
pressure at the junction node does not fall below this target pressure.
• Minimum Zone Pressure—Minimum pressure to occur at all junction nodes
within a zone. The model determines the available fire flow such that the
minimum zone pressures do not fall below this target pressure. Each junction has
a zone associated with it, which can be located in the junction’s input data. If you
do not want a junction node to be analyzed as part of another junction node’s fire
flow analysis, move it to another zone.
• Use Minimum System Pressure Constraint—Toggle indicating whether a
minimum pressure is to be maintained throughout the entire pipe system.
• Minimum System Pressure—Minimum pressure allowed at any junction in the
entire system as a result of the fire flow withdrawal. If the pressure at a node
anywhere in the system falls below this constraint while withdrawing fire flow,
fire flow will not be satisfied.
Selection Set
Set of selected elements where fire flows need to be analyzed. You can choose
between ‘All Junctions’ or a ‘Subset of Junctions’ that you can edit by clicking the
Ellipsis (...) button and accessing the Selection Set editor.
Use Defaults
Note: The Defaults for a fire flow alternative can only be set in the root
alternative. All child alternatives inherit (Inheritance) the Default
values from the root. The set of junction nodes is also inherited
from the root and cannot be altered in the child alternatives.
Click the Use Defaults button to reset the selected row to the default values for the
Fire Flow Alternative. This does not cause the record to inherit from its parent. It only
causes it to reflect the Default values.
One of the most common uses of the Capital Cost Manager is to compare the cost
between several different system configurations. The compartmentalization of the
data afforded by the cost alternative makes it easy to develop and subsequently
compare various cost data sets. Developing multiple cost alternatives is an effective
way to evaluate the cost of several different proposed solutions or to separate the costs
associated with several phases of construction.
The cost alternative editor contains a tab for each type of element. Each tab contains
the following fields for editing the cost data associated with an element.
The User Data Alternative allows you to edit the data defined in the User Data Exten-
sion command (see “User Data Extension Dialog Box” on page 6-323) for each of the
network element types. The User Data Alternative editor contains a tab for each type
of network element.
The Energy Cost Alternative allows you to specify which tanks and pumps will be
included in the Energy Cost calculations. For pumps, you can also select which energy
pricing pattern will be used, or create a new one.
The energy cost alternative editor contains a tab for each type of element. Each tab
contains the following fields for editing the cost data associated with an element.
8.2 Scenarios
A Scenario contains all the input data (in the form of Alternatives), calculation
options, results, and notes associated with a set of calculations. Scenarios let you set
up an unlimited number of “What If?” situations for your model, and then modify,
compute, and review your system under those conditions.
You can create scenarios that reuse or share data in existing alternatives, submit
multiple scenarios for calculation in a batch run (see “Batch Run” on page 8-368),
switch between scenarios, and compare scenario results (see “Scenario Comparison”
on page 13-555)—all with a few mouse clicks. There is no limit to the number of
scenarios that you can create.
• Base Scenarios—Contain all of your working data. When you start a new project,
you will begin with a default base scenario. As you enter data and calculate your
model, you are working with this default base scenario and the alternatives it
references.
• Child Scenarios—Inherit data from a base scenario, or other child scenarios.
Child scenarios allow you to freely change data for one or more elements in your
system. Child scenarios can reflect some or all of the values contained in their
parent. This is a very powerful concept, giving you the ability to make changes in
a parent scenario that will trickle down through child scenarios, while also giving
you the ability to override values for some or all of the elements in child
scenarios.
Note: The calculation options are not inherited between scenarios, but
are duplicated when the scenario is first created. The
alternatives and data records, however, are inherited. There is a
permanent, dynamic link from a child back to its parent.
creates a scenario for each junction that was included in the manual fire flow list.
These scenarios reflect the changes in the network when the respective fire flow
demands are substituted for/added to the normal demands at that junction. An
additional benefit of manual fire flow scenarios is the ability to run the newly
created scenarios in an extended period simulation, which can help you assess the
effects of changing conditions and controls on the availability of the required fire
flow at the respective junctions. For more information, see “Manual Fire Flow
Scenarios” on page 9-387.
Scenarios include:
You can change the current scenario by using the Scenario drop-down list located on
the Analysis Toolbar (see “Analysis Toolbar” on page 2-81) on the main application
window. When you select a different scenario, your current input data, calculation
options, and calculated results (if available) will reflect the selected scenario and the
alternatives it references.
Once scenarios and alternatives are created, you do not need to take any special steps
to input data into the alternatives referenced by the current scenario. This happens
automatically as you make changes to your data. Changes to your data are always
applied to the alternatives in your active scenario. For example, consider that a pipe
has a 12-in. diameter in the alternative storing data for the Base scenario. Then you
switch to Scenario 2, which references another alternative, and change the pipe diam-
eter to 16-in. The new value will automatically be associated with the alternative in
Scenario 2. If you switch back to the Base scenario, the pipe diameter will revert to
12-in.
You can also enter data directly into an alternative using the Alternatives Editor (for
more information, see “Alternatives Editor” on page 8-349). This editor allows you to
see all of the changes that you have made in a single alternative. If you make an unin-
tended change to the active child scenario and you wish to remove it, go to the tabular
editor for the type of input data you changed, and clear the leading check box on the
records for the elements you wish to restore.
The Scenario Control Center allows you to create, edit, and manage scenarios. There
is one built-in default scenario—the Base scenario. If you wish, you only have to use
this one scenario. However, you can save yourself time by creating additional
scenarios that reference the alternatives needed to perform and recall the results of
each of your calculations. There is no limit to the number of scenarios that you can
create.
Note: When you delete a scenario, you are not losing data records
because scenarios never actually hold calculation data records
(alternatives do). The alternatives and data records referenced
by that scenario will still exist until you explicitly delete them. By
accessing the Alternative Manager, you can delete the
referenced alternatives and data records.
• The three buttons that run across the top of the window:
• Close—Close the Scenario Control Center.
• Help—Open the online help.
The series of five buttons running along the left side of the window:
The pane on the right side of the dialog box, which displays a variety of information
depending on which of the following tabs is selected:
Batch Run
Performing a batch run allows you to set up and run calculations for multiple
scenarios at once. This is helpful if you want to queue a large number of calculations,
or manage a group of smaller calculations as a set. The list of selected scenarios for
the batch run will remain with your project until you change it.
To use this dialog box, check the scenarios you want to run and click the Batch
button. Each scenario will be calculated. You can cancel the batch run between any
scenario calculation.
When the batch is completed, the scenario that was current will remain current, even if
it was not one that was calculated. Select a calculated scenario from the main window
drop-down list to see the results throughout the program, or select it from the Scenario
Control Center and click the Results tab to preview the results.
The Batch Run dialog box contains a Select button that displays options you can use
to select all scenarios or clear your selections.
1. Open the Scenario Control Center dialog box by clicking the Scenario Control
Center button next to the drop-down scenario list in the main application window.
2. Open the Scenario Wizard by clicking its button in the upper left of the Scenario
Control Center dialog box.
3. Complete each step in the Scenario Wizard—Name the new scenario, choose
which scenario to base it on, and choose the alternatives to be included. Click
Next between each step, and click Finish when you are done.
4. Close the Scenario Control Center dialog box. Notice the scenario you have just
created is displayed as the current scenario in the Scenario drop-down list in the
main application window.
5. Proceed to modify your model with the changes you want recorded in the new
scenario.
The Scenario Wizard will guide you step-by-step through the process of creating a
new scenario.
• Name—Name the scenario and add some comments if you wish. For more infor-
mation, see “Scenario Wizard—Step 1” on page 8-369.
• Base—Select a scenario on which to base the new scenario. For more informa-
tion, see “Scenario Wizard—Step 2” on page 8-370.
• Calculation—Choose the type of calculation that you would like to perform, as
well as other calculation options.
• Alternatives—Specify the alternative types with which you would like to work.
For more information, see “Scenario Wizard—Step 4” on page 8-370.
• New/Existing—Create and/or select alternatives for your new scenario. For more
information, see “Scenario Wizard—Step 5” on page 8-370.
• Preview—Preview the scenario, and create it when satisfied. For more informa-
tion, see “Scenario Wizard—Step 6” on page 8-371.
Scenario Wizard—Step 1
Here you can enter a unique name and an optional note for the new scenario that you
are creating.
The Name field allows you to input a distinguishing name for this scenario. A default
name is provided, but we recommend that you change it to something more descrip-
tive. If the new scenario will be based on another scenario, you may want a name that
indicates what will be different about the new scenario. For example: Post Develop-
ment.
The next field is optional, and allows you to input free-form text that will be associ-
ated with the new scenario. Use it to make detailed notes about the conditions the
scenario will model.
Click the Next button to proceed to the next step in defining a new scenario.
Scenario Wizard—Step 2
Click the existing scenario on which you would like to base your new scenario. Your
new child scenario will inherit data from this parent scenario, and will be initialized
with the same calculation settings and options. The Scenario Wizard, designed to
introduce you to scenarios, does not allow you to create new base scenarios.
Existing scenarios in your project are displayed in a tree structure, giving you a
graphic depiction of the parent-child relationships.
Scenario Wizard—Step 3
This step of the Scenario Wizard allows you to specify the type of calculation to be
associated with the scenario you are creating.
If you choose Steady State mode, you are also given the option to perform an auto-
mated fire flow analysis.
If you choose Extended Period mode, you are also given the option to perform one of
the Water Quality Analysis (Age, Constituent, or Trace analysis).
Scenario Wizard—Step 4
Select the check boxes next to the types of alternatives you want to include in the new
scenario. The alternatives for boxes you do not check will be inherited from the speci-
fied parent scenario. You will be free to add or remove alternatives to the scenario
after you create it.
Click the Next button to proceed to the next step in defining a new scenario.
Scenario Wizard—Step 5
Here you are asked to specify the source for each alternative you have requested in the
previous tab.
• Create New Alternative—If you choose to create a new alternative, it will inherit
from the same type of alternative in the specified or parent scenario. This means it
will initially use all the same input data values. Enter a unique and descriptive
name for the new alternative.
• Use Existing Alternative—If you choose to use an existing alternative, you will
be shown the tree of existing alternatives from which to choose. In this case, you
will not be creating a new alternative for use in the scenario, and instead may
actually be sharing an alternative with another scenario.
Scenario Wizard—Step 6
The last step of the Scenario Wizard displays a summary of the scenario you have
defined and are about to create.
In the left pane is a preview of the scenario as it relates to its parent and other
scenarios. In the right pane is a list of the alternatives (see “Alternatives” on page 8-
345) it references, showing their labels and types. An icon indicates whether a given
alternative is local to the new child scenario, or if it is inherited from the specified or
parent scenario.
If you are satisfied, click the Finished button to create the new scenario.
The Scenario Editor is the control center for each analysis. It is the place where you
access or change all the information for performing a single calculation (alternatives,
calculation type, calculation options, results, and notes). It is organized by the
following tabs:
Alternatives Tab
The Alternatives tab, located in the Scenario Editor, allows you to specify the alterna-
tives (see “Alternatives” on page 8-345) that will be used by this scenario. There is
one row for each Alternative Type. You need only concern yourself with the rows that
correspond to the changes you would like to model using this scenario.
To specify the alternatives you would like to work with, click the check box next to
the alternative type. For example, if you would like to see how your system behaves
by changing the shape or size of a few pipes, then click the check box next to the
Physical Properties Alternative row.
If you would like to use an existing alternative that you have already set up, use the
drop-down list to choose the desired alternative. If you would like to create a new
alternative, click the New button. You will be asked to name the new alternative, and
the Alternatives Editor will open.
Note: When this scenario is active, the alternatives that you specify
here will be active. Changes that you make to your model will be
made in these alternatives. When you calculate this scenario,
these are the alternatives that will be used.
The Scenario Wizard will walk you through all of the steps required to create a new
scenario. If you are unsure how to specify the alternatives that you would like to work
with, we recommend that you use this wizard.
This dialog box allows you to specify the following data and calculation modes:
Tip: If the model has not been calculated, or if the input data has
been changed since the last calculation, the word Compute
(displayed in Red) will appear in the status pane in the lower
right corner of the main editing window. This is a signal that the
model needs to be recalculated.
Notes Tab
Use this tab as a memo field to input text that will be associated with the item on
which you are working.
Results Tab
The Results tab contains a summary of the last calculation performed using this
scenario. Click the Save button to save the results to an ASCII text file. Click the
Print Preview button to preview the Scenario Results Summary Report.
To open the Results tab for the active scenario: Click the GO button on the toolbar, or
select Analysis > Compute. In the resulting dialog box, click the Results tab.
To open the Results tab for a specific scenario: From the Scenario Control Center (see
“Scenario Control Center” on page 8-366), right-click the scenario that you wish to
edit, and select Edit that appears. In the resulting dialog box, click the Results tab.
Note: Immediately after you run the calculations, the Results tab
displays automatically. You will notice a green, yellow, or red
light in that tab indicating how successful the computations
were.
The light and folder color provides you with the following information:
Double-click the folders or click the + sign to open them up and display messages
relevant to the folder’s caption. When you click the copy button or save button the
exposed text will be stored.
Modeling Capabilities 9
WaterCAD provides unmatched modeling capabilities, allowing you to model and
optimize practically any distribution system aspect, including the following opera-
tions:
• Hydraulic Analysis
– Perform a steady-state analysis for a snapshot view of the system, or perform
an extended-period simulation to see how the system behaves over time.
– Use any common friction method: Hazen-Williams, Darcy-Weisbach, or
Manning’s methods.
– Take advantage of scenario management to see how your system reacts to
different demand and physical conditions, including fire and emergency
usage.
– Control pressure and flow completely by using flexible valve configurations.
You can automatically control pipe, valve, and pump status based on changes
in system pressure (or based on the time of day). Control pumps, pipes, and
valves based on any pressure junction or tank in the distribution system.
– Perform automated fire flow analysis for any set of elements and zones in the
network.
– Calibrate your model manually, or use the Darwin Calibrator (for more infor-
mation, see “GA Optimization and Calibration” on page 10-421).
– Generate capital and energy-cost estimates.
– Compute system head curves.
For this type of analysis, the network equations are determined and solved with tanks
being treated as fixed grade boundaries. The results that are obtained from this type of
analysis are instantaneous values and may or may not be representative of the values
of the system a few hours, or even a few minutes, later in time.
When the variation of the system attributes over time is important, an extended period
simulation is appropriate. This type of analysis allows you to model tanks filling and
draining, regulating valves opening and closing, and pressures and flow rates
changing throughout the system in response to varying demand conditions and auto-
matic control strategies formulated by the Stand-Alone.
While a steady-state model may tell whether the system has the capability to meet a
certain average demand, an extended period simulation indicates whether the system
has the ability to provide acceptable levels of service over a period of minutes, hours,
or days. Extended period simulations (EPSes) can also be used for energy consump-
tion and cost studies, as well as water quality modeling (for more information, see
“Water Quality Theory” on page B-733).
Data requirements for extended period simulations are greater than for steady-state
runs. In addition to the information required by a steady-state model, you also need to
determine water usage patterns (see “Patterns” on page 9-393), more detailed tank
information, and operational rules for pumps and valves (for more information, see
“Pump Theory” on page B-723 and “Valve Theory” on page B-726).
• Start Time—The start time format is a standard 24-hour clock. The format is
Hour:Minute:Second AM or PM. (e.g., 12:45:30 PM).
• Duration—The duration can be any positive real number.
• Hydraulic Time Step—Enter the time interval between hydraulic solutions for
this calculation. The hydraulic time step is the maximum amount of time that the
hydraulic conditions of the network are assumed to be constant.
In addition to performing a standard hydraulic analysis, you are given the option to
perform a water quality analysis or a fire flow analysis:
One of the first steps performed during a calculation is the transformation of the input
data into the required format for the numerical analysis engine. If a factor and operator
are present in the adjustment fields when the GO button is clicked, the factor is used
during this transformation. This does not permanently change the value of the input
data, but allows you to experiment with different adjustment factors until you find the
one that causes your calculation results to most closely correspond with your observed
field data.
The validation process will generate two types of messages. A warning message
means that a particular part of the model (i.e., a pipe’s roughness) does not conform to
the expected value, or is not within the expected range of values. This type of warning
is useful but not fatal. Therefore, no corrective action is required to proceed with a
calculation. Warning messages are often generated as a result of a topographical or
data entry error and should be corrected. An error message, on the other hand, is a
fatal error, and the calculation cannot proceed before it is corrected. Typically, error
messages are related to problems in the network topology, such as a pump or valve not
being connected on both its intake and discharge sides.
1. Set the Calculation mode to Steady-State or Extended Period (for more informa-
tion, see “Steady-State/Extended Period Simulation” on page 9-378). If Extended
Period is selected, then specify the starting time, the duration, and the time step to
be used.
2. Optionally, in Extended Period mode, you may perform a Water Quality Analysis.
Set Water Quality On and select one of the three available types of calculations:
Age, Constituent or Trace.
3. Optionally, in Steady-State mode, you may also perform a Fire Flow Analysis by
setting the Fire Flow Analysis toggle. For more information, see “Fire Flow
Analysis” on page 9-385.
4. Optionally, in the Calibration section, you may modify the demand or roughness
values of your entire network for calibration purposes. If a factor and operator are
present in the calibration fields when the GO button is clicked, the factor is used
during this calculation. This does not permanently change the value of the input
data, but allows you to experiment with different calibration factors until you find
the one that causes your calculation results to most closely correspond with your
observed field data. To permanently change the value of the input data, select
Apply.
5. Optionally, click the Options button to verify general algorithm parameters used
to perform Hydraulic and Water Quality calculations.
6. Turn on Validate, or click the Check Data button to ensure that your input data
does not contain errors.
7. Click the GO button to start the calculations.
Emitters are used to model flow through sprinkler systems and irrigation networks.
They can also be used to simulate leakage in a pipe connected to the junction (if a
discharge coefficient and pressure exponent for the leaking crack or joint can be esti-
mated) and compute a fire flow at the junction (the flow available at some minimum
residual pressure). In the latter case, one would use a very high value of the discharge
coefficient (e.g., 100 times the maximum flow expected) and modify the junction’s
elevation to include the equivalent head of the pressure target.
When both an emitter and a normal demand are specified for a junction, the demand
that WaterCAD reports in its output results includes both the normal demand and the
flow through the emitter.
All VSPs that are turned on are operated at the same speed. VSPs are to be turned off
if they are not required due to a change in demand. If all standby VSPs are running at
the maximum speed, but still cannot deliver the target head, the VSPs are translated
into fixed speed pumps.
To correctly apply the VSP feature to multiple variable speed pumps in parallel, the
following criteria must be met:
3. Parellel VSPs must have the same maximum relative speed factors;
4. Parallel VSPs must be identical, namely the same pump curve.
RELATED TOPICS
One of the goals of a water distribution system is to provide adequate capacity to fight
fires. WaterCAD’ powerful fire flow analysis capabilities can be used to determine if
the system can meet the fire flow demands while maintaining various pressure
constraints. Fire flows can be computed for a single node, a group of selected nodes,
or all nodes in the system. A complete fire flow analysis can comprise hundreds or
thousands of individual flow solutions—one for each junction selected for the fire
flow analysis.
while attempting to withdraw the Fire Flow Upper Limit (or the maximum number of
iterations has been reached). If a node completely fails to meet the Fire Flow
constraints, it is because the network is unable to deliver the Needed Fire Flow while
still meeting the pressure constraints.
After the program has gone through the above process for each node in the Fire Flow
Analysis, it runs a final Steady-State calculation that does not apply Fire Flow
demands to any of the junctions. This provides a baseline of calculated results that can
then be compared to the Fire Flow conditions, which can be determined by viewing
the results presented on the Fire Flow tab (see “Fire Flow Tab” on page 6-311) of the
individual junction editors, or in the Fire Flow Tabular Report (for more information,
see “Tabular Reports” on page 13-517). The baseline pressures are the pressures that
are modeled under the standard steady-state demand conditions in which fire flows are
not exerted.
Tip: All parameters defining a fire flow analysis, such as the residual
pressure or the minimum zone pressure, are explained in detail
in the Fire Flow Alternative (see “Fire Flow Alternative” on page 8-
360)and in the Fire Flow tab (see “Fire Flow Tab” on page 6-311)
topics.
• Open the Scenario dialog box. For more information, see “Scenario Editor” on
page 8-371.
• Select the Calculation tab.
• Select Steady-State calculation and turn on the Fire Flow check box.
After performing a fire flow analysis, calculation results are available for each
junction node in the fire flow selection set. These results can be viewed in the
predefined Fire Flow Report (in tabular format), accessed by clicking the
Tabular Reports button, highlighting Fire Flow Report, and clicking OK. Note that
results for the nodes that were not included in the fire flow selection set are reported as
N/A.
Perform the following checks if you are not getting expected fire flow results:
• Check the Available Fire Flow. If it is lower than the Needed Fire Flow, the fire
flow conditions for that node are not satisfied. Therefore, Satisfies Fire Flow
Constraints is false.
• Check the Calculated Residual Pressure. If it is lower than the Residual Pressure
Constraint, the fire flow condition for that node is not satisfied. Therefore, Satis-
fies Fire Flow Constraints is false.
• Check the Calculated Minimum Zone Pressure. If it is lower than the Minimum
Zone Pressure Constraint, the fire flow condition for that node is not satisfied.
Therefore, Satisfies Fire Flow Constraints is false.
Note: If you are not concerned about the pressure of a node that is
NOT meeting the Minimum Zone Pressure constraint, move this
node to another zone. Now, the node will not be analyzed as part
of the same zone.
• If you checked the box for Minimum System Pressure Constraint in the Fire Flow
Alternative dialog box, check to see if the Calculated Minimum System Pressure
is lower than the set constraint. If it is, Satisfies Fire Flow Constraints is false.
5. Enter the fire flow demand for each junction in the Needed Fire Flow column. If
all of the junctions require the same fire flow demand, you can perform a Global
Edit (see “Globally Editing Data” on page 7-337) to change them all at once.
6. Once the above steps have been completed, click OK in the Manual Fire Flow
Scenarios dialog box. The program will automatically create a scenario for each
junction that was selected in Step 4.
• Apply Fire Flows By—This area provides you with the following two buttons:
– Adding To Baseline Demand—Choosing this option will cause the Manual
Fire Flow Demands to be added to the normal demands at the Manual Fire
Flow Nodes.
– Replacing Baseline Demand—Choosing this option will cause the Manual
Fire Flow Demands to replace the normal demands at the Manual Fire Flow
Nodes.
• Manual Fire Flow Nodes—This section of the dialog box comprised of a two
column table and a Select button.
– Label Column—This column displays the nodes for which a Manual Fire
Flow Scenario will be created.
– Needed Fire Flow Column—This column displays the Needed Fire Flow for
the corresponding nodes.
– Select Button—Opens the Selection Set dialog box (see “Selection Set
Dialog Box” on page 5-264), allowing you to add or remove nodes from the
table.
• Button Section—The four buttons in this section are:
– OK—Closes the dialog box and creates a new scenario for each node that was
selected in the Manual Fire Flow Nodes section.
– Cancel—Closes the dialog box without saving changes.
– Initialize—After at least one normal Fire Flow Analysis has been calculated,
this button will open the Fire Flow dialog box (for more information, see
“Fire Flow Dialog Box” on page 9-389). This dialog box contains a menu
which displays a list of the Scenarios that have been calculated using a Fire
Flow Analysis. The junctions that were included in the initial Fire Flow Anal-
ysis will be entered in the Label column, and the calculated Available Fire
Flows from the scenario chosen in the Fire Flow dialog box will be entered in
the Needed Fire Flow column.
– Help—Opens the online help.
An age analysis determines how long the water has been in the system and is more of
a general water quality indicator than a measurement of any specific constituent. To
configure for an age analysis:
A constituent is any substance, such as chlorine and fluoride, for which the growth or
decay can be adequately described through the use of a bulk reaction coefficient and a
wall reaction coefficient. A constituent analysis determines the concentration of a
constituent at all nodes and links in the system. Constituent analyses can be used to
determine chlorine residuals throughout the system under present chlorination sched-
ules, or can be used to determine probable behavior of the system under proposed
chlorination schedules. To configure for a constituent analysis:
A trace analysis determines the percentage of the water at all nodes and links in the
system. The source is designated as a specific node in the system and is called the
trace node. In systems with more than one source, it is common to perform multiple
trace analyses using the various trace nodes in successive analyses. The source node
and initial traces are specified in the Trace Alternative dialog box (for more informa-
tion, see “Trace Alternative” on page 8-360). To configure for a trace analysis:
This program provides defaults for each of the calculation options. If you make
changes to the calculation options and decide that you would like to return to the
default settings, use the Reset button on the Calculation Options dialog box.
The following hydraulic analysis parameters are available for user configuration:
In most cases, the default values are adequate for the hydraulic
analysis. Under special circumstances, the accuracy may need
to be adjusted downward. This is necessary when the model
converges, yet there are larger than acceptable discrepancies
between the total inflow and outflow at individual nodes.
The following water quality analysis parameters are available for user configuration:
• Age Tolerance—If the difference between two parcels of water is equal to or less
than the value specified in this field, the parcels are considered to be of equal age.
9.11 Patterns
The extended period analysis is actually a series of Steady State analyses run against
time-variable loads such as sewer inflows, demands, or chemical constituents.
Patterns allow you to apply automatic time-variable changes within the system. The
most common application of patterns is for residential or industrial loads. Diurnal
curves are patterns that relate to the changes in loads over the course of the day,
reflecting times when people are using more or less water than average. Most patterns
are based on a multiplication factor versus time relationship, whereby a multiplication
factor of one represents the base value (which is often the average value).
Using a representative diurnal curve for a residence as illustrated below, we see that
there is a peak in the diurnal curve in the morning as people take showers and prepare
breakfast, another slight peak around noon, and a third peak in the evening as people
arrive home from work and prepare dinner. Throughout the night, the pattern reflects
the relative inactivity of the system, with very low flows compared to the average.
There are two basic forms for representing a pattern: stepwise and continuous. A step-
wise pattern is one that assumes a constant level of usage over a period of time, and
then jumps instantaneously to another level where it remains steady until the next
jump. A continuous pattern is one for which several points in the pattern are known
and sections in between are transitional, resulting in a smoother pattern. For the
continuous pattern in the figure above, the multiplication factor and slope at the start
time and end times are the same. This is a continuity that is recommended for patterns
that repeat.
Because of the finite time steps used for calculations, this software converts contin-
uous patterns into stepwise patterns for use by the algorithms. In other words for a
time step a multiplier is interpolated from the pattern curve. That multiplier is then
used for the duration of the time step, until a new multiplier is selected for the next
time step.
Patterns provide a convenient way to define the time variable aspects of system loads.
Patterns include:
The right window displays all of the patterns for the selected (highlighted) type. The
Pattern Manager allows you to do the following:
• Add—Click the Add button. This action opens the Pattern Editor (see “Pattern
Editor” on page 9-395) where the specifics of the pattern can be entered.
• Edit—Select the label of the pattern you wish to edit, and click the Edit button.
The Fixed pattern cannot be edited.
• Duplicate—Select the label of the pattern you wish to duplicate, and press the
Duplicate button. The Fixed pattern cannot be duplicated.
• Delete—Select the label of the pattern you wish to delete, and click the Delete
button. The Fixed pattern cannot be deleted.
• Import—Allows you to import a pattern from a text file. For more information,
see “Importing Patterns” on page 9-396.
A pattern is a series of time step values, each having an associated multiplier value.
During an extended period analysis, each time step of the simulation uses the multi-
plier from the pattern corresponding to that time. If the duration of the simulation is
longer than the pattern, the pattern is repeated. The selected multiplier is applied to
any baseline load that is associated with the pattern.
Defining Patterns
• Label—A required name to uniquely identify the pattern. This name appears in
the choice list when applying patterns to hydraulic demands or constituent source
loads.
• Start Time—The first time step in the pattern. The start time format is a standard
24-hour clock. The format is Hour:Minute:Second AM or PM (e.g., 12:45:30
PM).
• Starting Multiplier—The multiplier value of the first time step point in your
pattern. Any real number can be used for this multiplier (it does not have to be
1.0).
Format
Note: Patterns must begin and end with the same multiplier value. This
is because patterns will be repeated if the duration of the
Extended Period Analysis is longer than the pattern duration. In
other words, the last point in the pattern is really the start point
of the pattern’s next cycle.
• Stepwise—The multiplier values are considered to be the average value for the
interval between the specified time and the next time. Patterns using this format
will have a staircase appearance. Multipliers are set at the specified time and held
constant until the next point in the pattern.
Tip: Use the Report button to view or print a graph or detailed report
of your pattern.
Hour, <Tab>, Multiplier (Pattern 1), <Tab>, Multiplier (Pattern 2), <Tab>,
Multiplier (Pattern 3), etc.
Press the Tab key once between each column. An unlimited number of patterns (of a
single type) can be imported from a single text file by adding additional columns,
following the same format. The first row of the text file is used exclusively for
labeling purposes. The first column of the first row is ignored. The value contained in
the second column of the first row will be used as the pattern label for the first pattern,
the value contained in the third column of the first row will be used as the pattern label
for the second pattern, and so on.
- Pat1 Pat2
0 1.1 1.2
4 1.2 1.3
8 1.3 1.4
12 1.4 1.5
16 1.3 1.4
20 1.2 1.3
24 1.1 1.2
Logical Control sets are created in the Operation Alternative Editor by clicking the
ellipsis (...) next to Logical Control Sets or in the Logical Controls under the Analysis
menu. A Logical Control Set is made up of one or more logical control statements
(called Controls) of the form: If (condition) then (action) else (action). The actions
and conditions are defined under the Conditions or Actions tab under logical control.
Therefore in order to use a logical control, the steps are:
Logical, or rule-based controls allow far more flexibility and control over the behavior
of your network elements than is possible with simple controls. This is accomplished
by allowing you to specify one or more conditions and then link these to one or more
Actions by using logical IF, AND, THEN, OR, and ELSE statements.
Note: Logical Controls are not executed during Steady State analyses.
Logical controls consist of any combination of simple conditions and simple actions.
Controls are defined as:
You can also create composite conditions and actions. You can cause actions to be
performed when multiple conditions are met simultaneously, or when one or the other
conditions are met. You can also activate multiple actions when a single condition is
met.
For more information, see “Creating a New Logical Control” on page 9-399.
Note: Logical Controls are not executed during Steady State analyses.
Logical controls greatly increase the amount of control you have over the behavior of
the elements in the model.
1. Open the Logical Controls Manager window. For more information, see “Logical
Control Manager” on page 9-401 This manager is accessed by clicking the Anal-
ysis drop-down list and selecting Logical Controls.
2. In the Logical Controls Manager window, click the Control Management button,
and select New. This will open the Logical Controls editor window. For more
information, see “Logical Control Dialog Boxes” on page 9-405.
3. Now we must define the conditions that will trigger the control, and the actions
that will be performed when the control is triggered. To add a condition to the
control, click the New button. This opens the New Logical Condition dialog box.
For more information, see “New Logical Condition Dialog Box” on page 9-406.
4. In the New Logical Condition window, you can specify whether the condition will
be Simple (single condition) or Composite (multiple conditions). Then, define the
condition type: element demand, element hydraulic grade, element pressure,
system demand, clock time, or time from start. The input data requirements
change depending on the condition type that is chosen. Click OK when you are
finished. This will return you to the Logical Controls editor. For more informa-
tion, see “New Logical Condition Dialog Box” on page 9-406.
5. Now that the condition has been set, it needs to be linked to an action. To add an
action, click the New button to open the New Logical Action dialog box. For more
information, see “New Logical Action Dialog Box” on page 9-413.
6. In the New Logical Action dialog box, you can specify whether the action will be
Simple (single action) or Composite (multiple actions). Then, define the element
you want the action to apply to. The input data requirements change depending on
the action type that is chosen. Click OK when you are finished. This will return
you to the Logical Controls editor.
EXAMPLE:
To create a logical control in which a pump (PMP-1) is turned on when the level
in a tank (T-1) falls below a specified value (5 ft.) or when the system demands
exceed a certain level (5000 gpm):
IF {T-1 Level < 5 ft.} OR {System Demand > 5000 gpm} THEN {PMP-1 Status
= On} ELSE {PMP-1 Status = Off}
This example illustrates the power of using logical controls. To achieve the same
functionality using simple controls, you would need to create four separate
controls—one to turn the pump on if the tank level is below the specified value,
one to turn the pump off if the tank level is above a specified value, one to turn the
pump on if the system demand is greater than the specified value, and one to turn
the pump off if the system demand is less than the specified value.
Logical controls are applied after the initial hydraulic state of the network has been
computed (i.e., after time zero). The controls are evaluated over the course of a
hydraulic simulation as follows:
Note: Logical Controls are not executed during Steady State analyses.
1. The rules are evaluated at a sub-hydraulic time step equal to 1/10 of the normal
hydraulic time step (e.g., if hydraulics are updated every hour, then rules are eval-
uated every 6 minutes).
2. Over this sub-hydraulic time step, clock time and water levels in storage tanks are
updated, based on the last set of pipe flows computed.
3. If a rule’s conditions are satisfied, then its actions are added to a list. If an action
conflicts with one for the same element already on the list, then the action from
the rule with the higher priority stays on the list and the other is removed. If the
priorities are the same then the original action stays on the list.
4. If the action list is not empty, then those actions are taken. If this causes the status
or settings of one or more elements to change, then a new hydraulic solution is
computed.
5. The action list is cleared and the next sub-hydraulic time step is checked.
The Logical Control Manager is the main work center for logical controls. The
Logical Control Manager manages all logical controls, logical conditions, and logical
actions in the system. The Logical Control Manager allows you to define controls
using advanced IF, AND, and OR condition logic, which can trigger any number of
THEN or optional ELSE actions.
Note: Hovering the mouse cursor over a control in the list will open a
tooltip which displays the conditions and actions that make up
that control.
The Logical Control Manager dialog box consists of the following three tabs:
• Controls Tab—Lets you manage all logical controls defined in the system. For
more information, see “Controls Tab” on page 9-402.
• Conditions Tab—Lets you define the condition that must be met prior to taking
an action. For more information, see “Conditions Tab” on page 9-403.
• Actions Tab—Lets you define what should be done to an element in the system in
response to an associated control condition. For more information, see “Actions
Tab” on page 9-404.
Controls Tab
The Controls tab allows you to manage all logical controls defined in the system.
Logical controls are made up of an IF condition, a THEN action, and an optional
ELSE action. Controls have a non-editable application-provided ID (e.g., LC01) and
an optional priority for resolving potential conflicts between logical controls. The
Controls tab is divided into sections:
Note: Hovering the mouse cursor over a control in the list will open a
tooltip which displays the conditions and actions that make up
that control.
• The pane in the center of the dialog box is the Controls List. This list displays a
list of all Logical Controls defined in the system.
• Located above the Controls List is a toolbar with the following buttons:
– New—Opens the Logical Control dialog box, which allows you to create a
new logical control. For more information, see “Logical Control Dialog
Boxes” on page 9-405.
– Edit—Opens the Logical Control dialog box, which allows you to edit the
highlighted control. For more information, see “Logical Control Dialog
Boxes” on page 9-405.
– Delete—Deletes the highlighted control. You will be prompted to confirm this
action.
– Find—Opens the Find Control dialog box, which allows you to find a partic-
ular control based on a variety of criteria. For more information, see “Find
Logical Control Dialog Box” on page 9-416.
– Report—Generates a summary of the highlighted control, listing the ID,
conditions, actions, and elements incorporated into the control.
• Located along the left of the Controls List are two command buttons:
– Control Management—Offers a menu of options for creating, editing, and
managing Logical Controls. Provides the same functionality as the toolbar, as
described above.
– Control Sets—Opens the Logical Control Sets Alternative dialog box, which
lists the various control sets you have created. In addition to listing the control
sets by name, the number of controls in each set is also displayed. The
following options are available in this dialog box:
- Add—Prompts for a name, then opens the Logical Control Set Editor
dialog box. From this window, you can add previously created logical
controls to the new control set. For more information, see “Logical
Controls Set Editor” on page 9-419.
- Edit—Opens the Logical Control Set Editor dialog box, which allows
you to edit the highlighted control set. For more information, see “Logical
Controls Set Editor” on page 9-419.
- Duplicate—Prompts for a name, then opens the Logical Control Set
Editor to allow you to add or remove controls from the control set. For
more information, see “Logical Controls Set Editor” on page 9-419.
- Delete—Deletes the highlighted control set. You will be prompted to
confirm this action.
- Rename—Allows you to rename the highlighted control set.
- Report—Generates a summary of the highlighted control set, listing the
ID, conditions, actions, and elements for all of the logical controls
contained within the control set.
– Located below the Controls List is a Summary pane that provides a descrip-
tion of the highlighted control.
Conditions Tab
Conditions allow you to define the condition that must be met prior to taking an
action. The Conditions tab provides a list of all conditions defined in the system.
There are two types of conditions: simple conditions and composite conditions. The
Conditions tab is divided into sections:
Note: Hovering the mouse cursor over a control in the list will open a
tooltip which displays the conditions and actions that make up
that control.
• The pane in the middle of the dialog box is the Conditions List. The Conditions
List displays a list of all logical conditions defined in the system. The list contains
four columns: ID (the application defined id, e.g., C01 for simple, CC01 for
composite), Type (simple or composite), description, and references (logical
control references).
• Located above the Conditions List is a toolbar with the following buttons:
– New—Opens the New Logical Condition dialog box, which allows you to
create a new logical condition. For more information, see “New Logical
Condition Dialog Box” on page 9-406.
• Located below the Conditions List is a Summary pane that provides a description
of the highlighted condition.
Actions Tab
Actions allow you to define what should be done to an element in the system in
response to an associated control condition. The Actions tab provides a list of all
actions defined in the system. There are two types of actions: simple actions and
composite actions. Actions have an application-provided non-editable ID (e.g., A01
for simple, AA01 for composite). The Actions tab is divided into sections:
• The Actions List displays a list of all logical actions defined in the system. The list
contains four columns: ID (the application defined ID, e.g., A01 for simple, AA01
for composite), Type (simple or composite), description, and references (logical
control references).
• Located above the Conditions List is a toolbar with the following buttons:
- New—Opens the New Logical Action dialog box, which allows you to
create a new logical action. For more information, see “New Logical
Action Dialog Box” on page 9-413.
- Edit—Depending on whether a simple or composite action is highlighted,
this button opens the Simple Logical Action or Composite Logical Action
dialog box, which allows you to edit the highlighted action. For more
information, see “Simple Logical Condition Dialog Box” on page 9-407
and “Composite Logical Condition Dialog Box” on page 9-411.
- Delete—Deletes the highlighted action. You will be prompted to confirm
this action.
- Find—Opens the Find Logical Action dialog box, which allows you to
find a particular action based on a variety of criteria. For more informa-
tion, see “Find Logical Action Dialog Box” on page 9-417.
- Report—Generates a summary of the highlighted action.
• Located below the Actions List is a Summary pane that provides a description of
the highlighted action.
This dialog box allows you to edit or create a logical control consisting of an IF condi-
tion, a THEN action, and an optional ELSE action. The Logical Control dialog box is
split into sections:
• Control Logic—This area of the dialog box is where you specify the conditions
and actions to create a logical control. It consists of a drop-down list and three
buttons for each of the three components of a logical control:
– IF Condition—The drop-down list allows you to create a new condition
(<NEW>), find an existing condition (<FIND>), or choose from a list of
conditions that have already been created.
– THEN Action—The drop-down list allows you to create a new action
(<NEW>), find an existing action (<FIND>), or choose from a list of actions
that have already been created.
– ELSE Action (optional)—The ELSE action is used when the conditions for
the control are not met. To specify an ELSE action, click the check box to
activate the drop-down list. The menu allows you to create a new action
(<NEW>), find an existing action (<FIND>), or choose from a list of actions
that have already been created.
In addition, there are three buttons next to each menu:
– New—Opens the New Logical Condition dialog box or the New Logical
Action dialog box.
– Properties—Opens the corresponding editor for the control component that is
selected in the drop-down list. Depending on the highlighted control, this
button will open the Simple Logical Condition editor (see “Simple Logical
Condition Dialog Box” on page 9-407), Composite Logical Condition editor
(see “Composite Logical Condition Dialog Box” on page 9-411), Simple
Logical Action editor (see “Simple Logical Action Dialog Box” on page 9-
413), or the Composite Logical Action editor (see “Composite Logical Action
Dialog Box” on page 9-415).
– Find—Opens the Find Condition or Find Action dialog box. For more infor-
mation, see “Find Logical Condition Dialog Box” on page 9-417 and “Find
Logical Action Dialog Box” on page 9-417.
• Priority—This area of the dialog box is optional. To set a priority for the control
being created, click the check box to activate the priority drop-down list. You can
set a priority of 1-5, 5 being the highest priority. If multiple controls meet a certain
condition and they have conflicting actions, the control with the highest priority
will be used.
Hovering the mouse cursor over a control in the list will open a
tooltip which displays the conditions and actions that make up
that control.
Note: When defining a logical control, you have the option to share
conditions and/or actions. In other words, more than one control
can reference the same condition or action. Keep in mind that
when you change an underlying condition or action, it will affect
all controls that reference that condition or action.
The appearance of this dialog box will change depending on which condition type is
selected.
Simple Condition
The input fields for a simple condition change depending on the condition type that is
selected in the condition Type field. The Simple Condition Types and the corre-
sponding input data are as follows:
• Element—The Element field allows you to specify which element the condition
will be based upon, and provides three methods of choosing this element. The
drop-down list displays elements that have been used in other logical controls, the
Ellipsis (…) button, which opens the Single Element Selection dialog box (see
“Single Element Selection Dialog Box” on page 5-260), and the Select From
Drawing button, which allows you to select the element using the graphical
Drawing view.
Attribute—This field displays the available attributes for the element type currently
specified in the Element field.
• Pressure Junctions—The following attributes are available for use when a Junc-
tion is chosen in the Element field:
– Demand—This attribute is used to create a condition based on a specified
demand at the corresponding junction (e.g., If J-1 has a demand…).
• Pumps—The following attributes are available for use when a Pump is chosen in
the Element field:
– Discharge—This attribute is used to create a condition based on a specified
rate of discharge at the corresponding pump (e.g., If PMP-1 has a discharge
of…).
– Setting—This attribute is used to create a condition based on the Relative
Speed Factor of the corresponding pump (e.g., If PMP-1 has a relative speed
factor of 1.5…).
– Status—This attribute is used to create a condition based on the status (On or
Off) of the corresponding pump (e.g., If PMP-1 is On…).
• Tanks—The following attributes are available for use when a Tank is chosen in
the Element field:
– Demand—This attribute is used to create a condition based on a specified
demand at the corresponding tank. For tanks, this demand can represent an
inflow or outflow (e.g., If T-1 has a demand…).
– Hydraulic Grade—This attribute is used to create a condition based on a
specified hydraulic grade at the corresponding tank (e.g., If T-1 has a
hydraulic grade of…).
– Pressure—This attribute is used to create a condition based on a specified
pressure at the corresponding tank (e.g., If T-1 has a pressure of…).
– Level—This attribute is used to create a condition based on a specified water
level at the corresponding tank (e.g., If the water in T-1 is at a level of…).
– Time to Drain—This attribute is to create a condition based on the amount of
time required for the tank to drain (e.g., If T-1 drains in X hours…).
– Time to Fill—This attribute is to create a condition based on the amount of
time required for the tank to fill (e.g., If T-1 fills in X hours…).
• Pipes—The following attributes are available for use when a Pipe is chosen in the
Element field:
– Discharge—This attribute is used to create a condition based on a specified
rate of discharge at the corresponding pipe (e.g., If P-1 has a discharge of…).
– Status—This attribute is used to create a condition based on the status (Open
or Closed) of the corresponding pipe (e.g., If P-1 is Open…).
• Valves—The following attributes are available for use when a valve is chosen in
the Element field:
– Discharge—This attribute is used to create a condition based on a specified
rate of discharge at the corresponding valve (e.g., If PRV-1 has a discharge
of…).
System Demand—This will create a condition based on the demands for the entire
system. The fields available when this condition type is selected are:
• Operator—This field allows you to specify the relationship between the Attribute
and the target value for that attribute. The choices include Greater Than (>),
Greater Than Or Equal To (>=), Less Than (<), Less Than Or Equal To (<=),
Equal To (=), or Not Equal To (<>).
• System Demand—This field lets you set a system-wide demand.
Clock Time—This will create a condition based on the clock time during an extended
period simulation. If the extended period simulation is for a period longer than 24
hours, this condition will be triggered every day at the specified time.
• Operator—This field allows you to specify the relationship between the Attribute
and the target value for that attribute. The choices include Greater Than (>),
Greater Than Or Equal To (>=), Less Than (<), Less Than Or Equal To (<=),
Equal To (=), or Not Equal To (<>).
Time From Start—This will create a condition based on the amount of time that has
passed since the beginning of an extended period simulation. The following fields are
available when this condition type is selected:
• Operator—This field allows you to specify the relationship between the Attribute
and the target value for that attribute. The choices include Greater Than (>),
Greater Than Or Equal To (>=), Less Than (<), Less Than Or Equal To (<=),
Equal To (=), or Not Equal To (<>).
Target Value—This field’s label will change depending on the attribute that is
chosen. The value entered here is used in conjunction with the operator that is chosen
to determine if the condition has been met.
Description
This area of the dialog box is preset with a default description. There is an option to
change the default description. To do so, click the check box to activate the description
field, and enter your description in the text box. Additionally, the description field
supports the following expandable masks:
%# ID
%e Element
%a Attribute
%o Operator
%v Value
%u Unit
Note: Click the description list box to select one of the predefined
masks.
Aside from reducing the amount of data input, using these masks provides the addi-
tional benefit of automatically updating the corresponding information when changes
are made to the various condition components.
Summary
This area of the dialog box displays an automatically updated preview of the expanded
description.
– Operator—This column allows you to choose the way in which the related
Condition logic will be evaluated. The available choices are If, And, and Or.
Note: The first condition in the list will use the If operator. Any
additional conditions will allow you to choose between AND and
OR.
%# ID
%v Value
Aside from reducing the amount of data input, using these masks provides the addi-
tional benefit of automatically updating the corresponding information when changes
are made to the various condition components.
Note: Click the description list box to select one of the predefined
masks.
Note: When defining a logical control, you have the option to share
conditions and/or actions. In other words, more than one control
can reference the same condition or action. Keep in mind that
when you change an underlying condition or action, it will affect
all controls that reference that condition or action.
The appearance of this dialog box will change depending on which action type is
selected.
• Simple Action—This area of the dialog box displays the following fields:
– Element—The Element field allows you to specify which element the action
will be based upon and provides three methods of choosing this element. The
drop-down list displays elements that have been used in other logical controls,
the Ellipsis (…) button, which opens the Single Element Selection dialog box
(see “Single Element Selection Dialog Box” on page 5-260), and the Select
From Drawing button (see “Select From Drawing Button” on page 5-261),
which allows you to select the element using the graphical Drawing view.
– Attribute—This field displays the available attributes for the element type
specified in the Element field. Not all attributes are available for all element
types. The available attributes include:
- Status – This attribute is used to change the status of a pipe, pump, or
valve when the related conditions are met. The available choices are
dependant on the element type.
- Setting—This attribute is used to change the settings of a pump or valve
when the related conditions are met. The setting type varies depending on
the type of element.
Note: Pipes can only utilize the Status Attribute, Pumps and all Valves
except for the GPV can utilize either the Status or Setting
Attribute. GPVs can only use the Status Attribute.
For all valves except for the GPV, there is no explicit Active
status with which to base a control upon—the status choices are
Inactive or Closed. After a control sets a valve to Inactive or
Closed, to reactivate the valve another control must be created
with a Setting attribute. This is because a valve cannot be set to
Active, but must have specific input data to work with.
Note: Pipes can be set to Open or Closed, Pumps can be set to On, Off,
or have their relative speed factors increase or decrease. GPVs
can be set to Active or Closed. All other valves can be set to
Inactive, Closed, or have their respective settings changed,
depending on the Valve type.
%# ID
%e Element
%a Attribute
%o Operator
Aside from reducing the amount of data input, using these masks provides the addi-
tional benefit of automatically updating the corresponding information when changes
are made to the various control components.
Note: Click the description list box to select one of the predefined
masks.
%# ID
%v Value
Aside from reducing the amount of data input, using these masks provides the addi-
tional benefit of automatically updating the corresponding information when changes
are made to the various control components.
Note: Click the description list box to select one of the predefined
masks.
• Filter Controls By—This area of the dialog box contains four combo boxes that
allow you to filter the list of Logical Controls that is displayed in the Controls area
of the dialog box.
– Condition—This drop-down list allows you to display only the logical
controls that reference the condition that is chosen here. In addition, you have
two additional choices: <any>, which is the default setting and applies no
Condition filters, and <Find>, which opens the Find Condition dialog box.
For more information, see “Find Logical Condition Dialog Box” on page 9-
417.
– Condition Element—This drop-down lists the elements that are referenced in
all of the Conditions in the current project. Choosing an element in this dialog
box will cause only the controls that contain a condition that references the
selected element to appear in the Controls area of the dialog box. Choosing
<any>, the default setting, will apply no condition element filters.
– Action—Allows you to display only the logical controls that reference the
action that is chosen here. In addition, you have two additional choices:
<any>, which is the default setting and applies no action filters, and <Find>,
which opens the Find Action dialog box. For more information, see “Find
Logical Action Dialog Box” on page 9-417.
– Action Element—This drop-down lists the elements that are referenced by
Actions in the current project. Choosing an element in this dialog box will
cause only the controls that contain an action that references the selected
element to appear in the Controls area of the dialog box. Choosing <any>, the
default setting, will apply no action element filters.
• Controls—This area of the dialog box displays all of the logical controls that
match the current filter logic in the current project.
Note: Located throughout the logical controls interface are Find tools.
Find tools let you locate a control, condition, or action. The find
dialog box presents a list of all available elements and some
filtering options to refine the list. Select the desired item in the
list and press OK to make a selection. The Find Logical
Condition dialog box is separated into two areas:
• Filter Controls By—This area of the dialog box contains two combo boxes,
which allow you to filter the list of conditions that is displayed in the Conditions
area of the dialog box.
– Type—This drop-down list allows you to filter by Simple Conditions,
Composite Conditions, or no Type filter (<any>).
– Element—This drop-down lists the elements that are referenced in all of the
Conditions in the current project. Choosing an element in this dialog box will
cause only the conditions that reference the selected element to appear in the
Conditions area of the dialog box. Choosing <any>, the default setting, will
apply no condition element filters. Choosing <System> will cause only the
system type conditions to be displayed.
• Conditions—This area of the dialog box displays all of the logical conditions that
match the current filter logic in the current project.
Note: Located throughout the logical controls interface are Find tools.
Find tools let you locate a control, condition, or action. The find
dialog box presents a list of all available elements and some
filtering options to refine the list. Select the desired item in the
list and press OK to make a selection.
• Filter Controls By—This area of the dialog box contains two drop-down lists
that allow you to filter the list of actions that is displayed in the Actions area of the
dialog box.
• Actions—This area of the dialog box displays all of the logical actions that match
the current filter logic in the current project.
• Add—Prompts for a name, then opens the Logical Control Set editor dialog box.
From this window, you can add previously created logical controls to the new
control set.
• Edit—Opens the Logical Control Set editor dialog box, which allows you to edit
the highlighted control set.
• Duplicate—Prompts for a name, then opens the Logical Control Set editor to
allow you to add or remove controls from the control set.
• Delete—Deletes the highlighted control set. You will be prompted to confirm this
action.
• Rename—Allows you to rename the highlighted control set.
• Report—Generates a summary of the highlighted control set, listing the ID,
conditions, actions, and elements for all of the logical controls contained within
the control set.
Note: Priority is based upon the order that the controls appear in this
dialog box. The first control in the control set has the highest
priority, and so on. Any control with a set priority will overrule
any control with no set priority.
Hovering the mouse cursor over a control in the list will open a
tooltip which displays the conditions and actions that make up
that control.
The Logical Control Set Editor is divided into two panes. The left pane, labeled Avail-
able Items, contains a list of all of the logical controls that have been created in the
current project. To add controls to the Selected Items pane on the right, highlight the
desired controls and click the [>] button under Add. To add all of the controls to your
Logical Control set, click the [>>] button under Add. To remove a control from the
Selected Items pane, highlight it and click the [<] button under Remove. To remove all
controls from the Selected Items pane, click the [<<] button under Remove.
The Find button above each pane opens the Find Logical Control dialog box.
While elements are inactive, they are not included in any hydraulic equations. Inactive
elements are also not evaluated when generating contour plots, and are not available
for inclusion while generating profiles. Inactive elements do not appear in the main
drawing pane, in the Aerial View window, or in either of the plan view types. When
generating project inventory reports, element details reports, or element results
reports, inactive elements are not included.
Inactive elements will not appear in the corresponding tabular reports, unless the
Include Inactive Topology option (see “Include Inactive Topology” on page 7-340) is
turned on. The default setting does not include inactive elements. Inactive elements
are still available for inclusion in selection sets.
Any changes made to the Active Topology are applied to the active topology alterna-
tive (see “Active Topology Alternative” on page 8-353) associated with the current
scenario, and an unlimited number of active topology alternatives can be created.
The Active Topology Selection dialog box allows you to cause specified network
elements to become inactive, thereby temporarily removing the inactive elements
from the drawing view and any calculations. The name of the dialog box displays the
name of the scenario for which the changes will take effect, and is split into two
sections: the Inactive Elements pane and the Button section.
• Inactive Elements Pane—This pane displays a list of the elements, which are
inactive for the current scenario. Elements in this list are not visible in the drawing
view and are not included in calculations.
• Button Section—The button section of the dialog box consists of three buttons
which allow you to choose which elements are included in the Inactive Elements
pane.
– Select From Drawing—Clicking this button brings you back to the drawing
view to allow you to graphically choose the elements that you want to deacti-
vate. While in this mode, right-clicking opens a menu with the following
options:
- Done—Select Done when you are finished selecting elements to bring
you back to the Active Topology Selection dialog box.
- Add—This option is the default mode when you click the Select From
Drawing button. Clicking elements while in this mode selects (high-
lights) elements. Selected elements will be added to the Inactive Elements
list.
- Remove—While in this mode, clicking elements deselects them.
Elements that are not selected will not be added to the Inactive Elements
list.
Note: Selecting a node element to become Inactive will also select all
adjacent pipes to become Inactive. This is because all pipes
must end at a node.
GA Optimization and 10
Calibration
The WaterCAD Darwin Calibrator provides a history of your calibration attempts, lets
you use a manual approach to calibration, supports multiple field data sets, brings the
speed and efficiency of genetic algorithms to calibrating your water system, and
presents several calibration candidates for you to consider, rather than just one solu-
tion. Darwin Calibrator lets you set up a series of Base Calibrations, which can have
numerous Child Calibrations that inherit settings from their parent Base Calibrations.
Use Base and Child Calibrations to establish a history of your calibration trials to help
you derive a list of optimized solutions for your water system.
1. Enter field data. Click the Field Data button to view, add, edit, and delete sets of
field data that you use to calibrate your water model.
2. Create groups that define what attributes of your model you want to adjust. Click
Groups.
3. Choose the options that define how you are evaluating your model. Click
Options.
4. Right-click in the calibrations area to add a Base Calibration, or click New Base
Calibration.
• The Calibrations area, which contains the list of base and child calibrations you
have tried.
• The Calibration Groups area, which contains tabs containing the groups you set
up, including Roughness, Demand, Status, and Field data tabs.
• The Calibration Solutions area, which contains the solutions calculated by your
Manual or Optimized calibrations.
To start a new calibration trial, click the New or New Base buttons. If a Base Calibra-
tion already exists, you can also choose to add a new Child Calibration.
Roughness/Demand
The Roughness, Demand, and Status tabs display the groups you added when setting
up your Calibration Adjustment Groups (for more information, see “Calibration
Adjustment Groups Dialog Box” on page 10-438). If a tab is empty, then you did not
create a group for the condition represented by that tab.
Status
Use the Status tab to see the initial status of the elements listed, whether pipes are
open or closed.
Field Data
The Field Data tab displays all the field data sets you have entered for the calibration.
Select the check box next to the name of the field data sets you want to use for the
calibration trial. Field data sets that have unchecked boxes next to them will not be
used to test fitness when you click Go or Compute.
Options
Use the Options tab to refine how WaterCAD applies the genetic algorithm (GA) to
your optimized calibration trials.
Notes
Type any notes that you want associated with the calibration.
Roughness/Demand
The Roughness and Demand tabs display the groups you added when setting up your
Calibration Adjustment Groups (Calibration Adjustment Groups dialog box). If a tab
is empty, then you did not create a group for the condition represented by that tab.
Status
Use the Status tab to see the initial status of the elements listed, whether pipes are
open or closed, and whether the pipe’s status has been changed during the manual cali-
bration.
Field Data
The Field Data tab displays all the field data sets you have entered for the calibration.
Select the check box next to the name of the field data sets you want to use for the
calibration trial. Field data sets that have unchecked boxes next to them will not be
used to test fitness when you click Go or Compute.
Notes
Type any notes that you want associated with the calibration.
10.1.4 Calibrations
The calibrations data window shows all the base and child calibrations you have tried.
The Name of the calibration displays along with the fitness calculated for that calibra-
tion. 0 is an ideal, perfect fitness and lower numbers indicate fitnesses that rank better
than higher numbers.
The solutions data window shows solutions for the optimized or manual calibration
you select in the Calibrations data window.
Note: Any settings you made in the solution tree-view remain when
you switch solutions, which better enables you to compare
solutions.
Use the Calibration Export to Scenario dialog box to apply the results of your Opti-
mized Calibration or Manual Calibration to your water model.
Despite all the good features of GA there are, however, some issues to consider:
engineer doesn’t provide the GA with high quality data and enough or sufficiently
flexible options to consider, then the GA may not be able to find a satisfactory
solution. Conversely if the GA is presented with too many possibilities to try (e.g.,
in Darwin Calibrator, if you define an excessively large adjustment group ranges
combined with a small adjustment increments and a large number of adjustment
groups), then the efficiency of the GA search is reduced, and the likelihood that
the GA will find the correct answer is also greatly reduced. GA is a highly sophis-
ticated search technique, but despite all of its great features, GA still must be used
with a degree of engineering judgment and skill. Only then can the engineer
expect the GA to find solutions that are not only fit, but are practical and likely to
represent the real life situation as accurately as possible.
• Uncertainty in field observations should be assessed before these observations are
used in an optimization. It is not uncommon for errors in measurement of head
loss to be on the same order of magnitude or larger that the actual head loss
(Walski, 2000). Such values should not be used in calibration because the calibra-
tion algorithm will dutifully try to match the field observations even if they are
erroneous. To ensure that head loss is adequate to exceed measurement error, it is
helpful to collect data when velocities in pipes are appreciable. In some systems
sized for fire protection, demands (and velocities and head losses) are so low most
of the time that head loss measurements are meaningless other that to check pres-
sure gage elevations. Another problem that occurs when calibrating a model is
that some of the parameters determined are fixed and knowable at the time the
data were taken (roughness, valve status), while others are merely a random
observation from a stochastic process (water use). If a C-factor is determined as
90, then that value will be true in the not to distant future. If water use during a
pressure observation is determined to be 100 gpm (6.3 l/s), is that value the
demand that should be used in modeling, given that it is only one observation
from a distribution? The actual water determined from calibration may not be the
best value to use for representing the current year status of the system. You need
to decide if the water use observed during calibration is the water use that should
be used as a basis for future modeling.
After a Calibration has been calculated, a dialog box displays a summary of the Cali-
bration Statistics. The information displayed includes the Fitness Rating, the number
of Generations, and number of trials. It also reports the status of the calibration calcu-
lations.
Use the Field Data Set dialog box to define the field data you have collected. This
dialog box comprises three tabs:
Observations
Date: Set the date of the observations and field tests.
Note: You must enter a time. You cannot leave the Observations tab or
click OK until you set a time.
Time from Start: Displays the time difference from the time you set for
the field data set to the time defined as the start of the
scenario.
Observations: Click Insert to add observed data. Click Delete to
remove the selected row of observed data.
Note: Valve and pump flows are used as calibration targets, not
boundary conditions. Valve and pump flows are calculated by
using the valve setting and pump speed, which are used as
boundary conditions if observed. Tanks levels are also used as
boundary conditions.
Element Type: From the drop-down list, select the type of element
for which you want to enter data.
Note: Using the two buttons next to the Element drop-down list, you
can use the Select Element dialog box or select your element
directly from your drawing.
Demand Adjustments
Note: The Demand Adjustments all relate to the particular field data set
you are editing. Demand multiplier adjustments and additional
junction demands (e.g., fire flow tests) are in addition to, not in
lieu of, junction demands already calculated from pattern
multipliers.
Use the Demand Adjustments tab to adjust demand for the element. Select the element
for which you want to add an additional demand, such as flow from a hydrant, and
enter the value of that demand.
Notes
Use the Notes tab to enter any comments you want saved with the adjustments.
Note: Field data taken at times of peak usage, in high-flow pipes, and/
or where there is significant head loss, will be more useful when
calibrating your model than data taken in low-usage, low-flow
areas, where there is little head loss.
The Field Data Sets dialog box lets you enter a variety of test data against which you
will calibrate your water model. WaterCAD lets you use more than one field data set
in your calculations.
Note: When entering fire flow test results, consider: Entering Fire Flow
Test Results. For more information, see “Entering Fire Flow Test
Results” on page 10-434.
Representative Scenario: Select the Scenario you want to use for the
calibration. For more information, see “Scenarios”
on page 8-364.
Note: Since Field Data Sets are linked to specific scenarios, a scenario
that is referenced by a field data set cannot be deleted unless all
field data sets that reference it are deleted beforehand.
The time entered in your field data set is used to determine demand multipliers (from
hydraulic patterns), which are used to calculate the junction demands that will be
simulated in (GA) Optimized Calibration.
(The demand at a junction during a GA Calibration run is the product of its baseline
demands and the demand factors at the time specified for the field data set.)
Pump settings and control settings, etc., are also determined from the time setting you
specify. Demand multiplier adjustments and additional junction demands (e.g., fire
flow tests) are in addition to, not in lieu of, junction demands already calculated from
pattern multipliers.
Also, a steady state run in WaterCAD will run with only junction baseline demands
applied, whereas an Optimized Calibration run based on a steady state scenario that
uses pattern multipliers for the specified time.
Date/Time: Displays the date and time that was entered for the
field data set. The date field is purely a label that can
be used to record when field measurements were
taken.
Add: Click Add to add a new field data set.
Edit: Click Edit to modify the selected field data set.
Duplicate: Click Duplicate to copy the selected field data set.
This can save you some time in entering new field
data as a new set, but make sure all entered data is
correct.
Delete: Click Delete to delete the selected field data set.
Rename: Click Rename to rename the selected field data set.
Enter the name of the field data set, or use the default name, and click OK.
Note: Using the two buttons next to the Element drop-down list, you
can use the Select Element dialog box or select your element
directly from your drawing.
The Observation dialog box lets you select elements in your model and enter observed
data regarding those elements, such as observed pressures, discharges, statuses, or
hydraulic grade.
There are several ways to adjust the flows at the non-fire flow node. Only use one of
them:
• If you want to use your EPS demand patterns, specify the correct time for the fire
flow test and the demand will be adjusted with the multipliers.
• If you don’t have EPS demand patterns or don’t want to use them, set the first
flow time to the some time when the demand multiplier is one (or any time, if
there are no demand patterns). Then you have two ways to adjust background
demands.
• You can specify a Demand Multiplier to use.
Note: Do not pick a demand alternative with fire flows because the fire
flows will be counted twice.
• Or, you can specify some alternative demand other than the one corresponding to
the Representative Scenario.
• You can let the Darwin Calibrator identify the demand multiplier. To do that, use a
time corresponding to a multiplier of 1, don’t override the Scenario Demand
Alternative from the Representative Scenario, and let the Demand Multiplier be
one. In this way, the Calibrator will pick the demand multiplier.
Use the Select Element dialog box to select an element from your model.
• Elements—Use the Elements drop-down list to display all elements of one type,
from which you can select the element you want. From the drop-down list, select
<all> if you want WaterCAD to display all element types.
• Select From Drawing—Click Select From Drawing if you want to select the
element by clicking on it in your model.
You can import Field Data from a tab-delimited ASCII text file. The text file to be
imported must be in the following format: Element Type, Element Label, Attribute
Value.
Press the Tab key once between each column. One attribute and value can be entered
per line, so to import multiple attributes and values for a single element, multiple lines
must be entered. There is no limit to the number of individual Field Data input items
that can be imported from a single text file, although all items contained in the text file
will be imported to the same Field Data Set. Imported data is appended to any input
data that has already been entered. In other words, importing field data information
will not overwrite existing input data, even when data for a particular element is
already present.
The types of data and the corresponding values that can be imported for each element
type are as follows:
* Whether this value represents Hydraulic Grade or Pressure is determined by the Global Project
Option Input Mode (see “Input Modes” on page 4-245).
EXAMPLE:
Pressure
J-1 Hydraulic Grade 65.3
Junction
Hydraulic Grade
Pump PMP-1 125
Out
Hydraulic Grade
Pump PMP-1 37
In
To import field data from a tab-delimited text file in the format shown above, click
the Analysis menu and select Darwin Calibrator. Click the Field Data button, and
then click the Add button in the Field Data Sets window. Name the new field data
set and then click the Import button on the Observations tab of the Field Data Set
dialog box.
Type the name of your Adjustment Group, or accept the default name, and click OK.
The calibration groups data window displays a series of tabs that let you adjust the
conditions for the calibration trial. The tabs and options that are available depend on
whether you selected Manual or Optimized Calibration.
Note: Generally, you should not use one element per group but to do a
pipe-by-pipe calibration, or something similar, you must create a
group for each pipe.
Adjustment groups are used in the calibration process. You can create Adjustment
Groups for Roughness, Demand, and Status. Select the kind of group you want to
create and click Add to add elements to it. Or, select an existing group and Edit,
Delete, or Rename it.
The Selection Set dialog box lets you add or edit items in your Roughness, Demand,
or Status group. The Selection Set dialog box comprises two data windows: Available
Items and Selected Items. The items listed are those that appear in your water model.
Use the Calibration Options dialog box to set up how the calibrations are evaluated.
The options you specify are applied to every calibration trial.
Fitness Type: Select the Fitness Type you want to use from the
drop-down list. In general, regardless of the fitness
type you select, a lower fitness indicates better
calibration. Fitness Types include: Minimize
Difference Squares, Minimize Difference Absolute
Values, and Minimize Maximum Difference. For
more information, see “Calibration Options
Formulae” on page 10-444.
Minimize Difference Squares: Uses a calibration designed to minimize the sum of
squares of the discrepancy between the observed data
and the model simulated values. (Model simulated
values include hydraulic grades and pipe discharges.)
This calibration favors solutions that minimize the
overall sum of the squares of discrepancies between
observed and simulated data.
Min. Diff. Absolute Values: Uses a calibration designed to minimize the sum of
absolute discrepancy between the observed data and
the model simulated values. This calibration favors
solutions that minimize the overall sum of
discrepancies between observed and simulated data.
Head/Flow per Fitness Point: Head and Flow per Fitness Type provide a way for
you to weigh the importance of head and flow in your
calibration. Set these values such that the head and
flow have unit equivalence.
Flow Weight Type: Select the type of weight used: None, Linear, Square,
Square Root, and Log. The weighting type you use
can provide a greater or lesser fitness penalty.
In general, measurements with larger flow carry more weight in the optimization cali-
brations than those with less flow. You can exaggerate or reduce the effect larger
measurements have on your calibration by selecting different weight types. For
example, using no weighting (None) provides no penalty for measurements with
lesser flow versus those with greater flow. Using log and square root reduces the
fitness penalty for measurements with lesser flow, and using linear or square increases
the fitness penalty for measurements with less flow.
The GA Parameters Advanced Options let you customize how the genetic algorithm
(GA) performs. Since genetic-algorithm optimization is a randomly guided search
algorithm, different parameter values may yield a slightly different set of solutions,
which can used for a sensitivity study of your model calibration.
The following formulae are used for Minimize Difference Squares, Minimize Differ-
ence Absolute Values, and Minimize Maximum Difference.
2 2
NH
⎛ Hsim nh − Hobs nh ⎞ NF
⎛ Fsim nf − Fobs nf ⎞
∑ w ⎜
nh ⎜
Hpnt
⎟
⎟ + ∑ wnf ⎜⎜
Fpnt
⎟⎟
np =1 ⎝ ⎠ nf =1 ⎝ ⎠
NH + NF
Figure 10-1: Minimize Difference Squares:
NH
Hsimnh − Hobs nh NF Fsimnf − Fobs nf
∑ wnh
np =1 Hpnt
+ ∑ wnf
nf =1 Fpnt
NH + NF
Figure 10-2: Minimize Difference Absolute Values
where Wnh and Wnf represent a normalized weighting factor for observed hydraulic
grades and flows respectively. They are given as:
Hobs nh
Wnh =
∑ Hobs nh
Fobs nf
Wnf =
∑ Fobs nf
The weighting factors may also take many other forms, such as no weight (equal to 1),
linear, square, square root and log functions. Other variables include:
Cost Estimating 11
The Capital Cost Manager lets you calculate a planning level estimate of the capital
costs associated with an entire system or any portion of a system. This makes it easy to
compare the costs associated with various scenarios and help ensure that the most
cost-effective design is chosen.
The costs associated with a particular element are broken down into two categories:
construction costs (see “Construction Costs” on page 6-315) and non-construction
costs (see “Non-Construction Costs” on page 6-314). The total cost for each element
is the sum of the total construction and non-construction costs. The total cost for a
scenario is computed by summing the total cost for every element selected to be
included in the cost analysis, and then applying any global cost adjustments that you
have defined.
Each construction cost item is expressed as a combination of a quantity, unit, and unit
cost. The total cost associated with a single construction cost item is the quantity
multiplied by the unit cost. The unit cost for each construction cost item can either be
entered directly by you, or if the element is a pipe or gravity structure (e.g., inlet,
manhole, junction, junction chamber) it can be calculated based on a Unit Cost Func-
tion (for more information, see “Unit Cost Functions” on page 11-457). A Unit Cost
Function is a way to relate a property of the element, such as the diameter of a pipe, to
the unit cost. This makes it easy to assign a Unit Cost Function to an element. The cost
of the element is then automatically updated when you modify the physical character-
istics of the system.
The other type of cost is non-construction. Non-construction cost items are specified
either as a lump sum or as a percentage of the total construction costs. This type of
cost can be useful when trying to explicitly account for items like omissions and
contingencies.
In addition to specifying the costs for each element in the system, you can also make
adjustments on a system level to the total cost of all the elements included in the cost
analysis. This makes it easy to account automatically for contingencies and adjust-
ments on a scenario level.
• Button Section—This column of buttons provides access to the key pieces of data
involved in a cost analysis. For more information, see “Capital Cost Manager—
Button Section” on page 11-449.
• Center Pane—This pane displays an explorer view of the cost information for
various scenarios. For more information, see “Capital Cost Manager—Center
Pane” on page 11-450.
• Right Pane—This pane displays the contents of the item selected in the center
pane. For more information, see “Capital Cost Manager—Left Pane” on page 11-
450.
On the left side of the Capital Cost Manager is a column of buttons that provide access
to the key pieces of data involved in a cost analysis. Each of these buttons is described
as follows:
• Unit Cost Functions—Opens the Unit Cost Function Manager, which is the place
to add new or edit existing functions describing the relationship between a model
attribute and the unit price for the element. For pipes, this might be a table of data
relating the pipe material to the cost per unit length. For more information, see
“Unit Cost Functions” on page 11-457.
• Cost Alternatives—Opens the Capital Cost Alternatives Manager where you can
quickly create different cost alternatives. For example, you may wish to compare
the cost associated with different cost functions, or to separately calculate the cost
of different phases of construction. For more information, see “Capital Cost Alter-
natives Manager” on page 11-457.
• Cost Adjustments—Opens the System Cost Adjustments Table for the selected
scenario. This is the location where you enter adjustments that you wish to make
on a scenario level. For more information, see “System Cost Adjustments Table”
on page 11-450.
• Active Scenarios—Opens the Active Cost Scenarios dialog box where you can
select which scenarios will appear in the Capital Cost Manager. For more infor-
mation, see “Active Cost Scenarios” on page 11-451.
• Cost Reports—Opens a menu that provides access to one of the predefined cost
reports detailing the costs associated with a particular scenario. The reports that
can be opened through this button include: “Project Detailed Cost Report” on
page 11-463, “Project Element Summary Cost Report” on page 11-463, “Project
Summary Cost Report” on page 11-463, “Pipe Costs Report” on page 11-464, and
“Cost Warnings Report” on page 11-464.
When you open the Capital Cost Manager (see “Capital Cost Manager” on page 11-
448), this pane will contain an explorer view of all the scenarios in the file. The total
cost of each scenario is displayed to the right of the scenario label. If cost data was
specified for a scenario, you will see a small ‘+’ symbol to the left of the folder icon.
You can click this symbol to get an expanded view of the costs associated with a
scenario.
In the first level of the expanded view, you will see the subtotal for each type of
element included in the cost analysis, as well as the total cost adjustments made to the
scenario. If you expand any of these items, you will get a view of the costs of each
individual element. If you expand the view, one more level you will be able to see the
construction and non-construction costs associated with an element. The contents of
any component that is selected will be displayed in the table on the pane to the right of
this one.
Just above the right side of this pane is a row of three buttons, which access the
following functionality:
This pane on the right side of the Capital Cost Manager (see “Capital Cost Manager”
on page 11-448) is used to display an expanded view of the contents of the item
selected in the center pane.
The System Cost Adjustments Table allows you to make adjustments to the total cost
calculated for all the elements included in the cost analysis. This may include items
such as omissions and contingencies that might be represented as a percentage of the
total construction costs, or land acquisition costs that are represented as a lump sum.
Each cost adjustment consists of the following items:
The active scenarios dialog box allows you to select, which scenarios you would like
to appear in the Capital Cost Manager. If there is check in the box to the left of the
scenario name then that scenario will appear in the Capital Cost Manager.
The WaterCAD Energy Cost Analysis feature lets you estimate the cost of operating
pumps during an extended period simulation (EPS).
This cost analysis not only calculates the cost of the energy being used by the pump, it
also adjusts the reported daily cost based on the effects of storage within the network.
To illustrate this, let’s say you have a tank in the network that has an initial level of 10
ft., and during the course of the extended period simulation this level falls to 5 ft.
Realistically, this translates to an energy loss because at some point the pump will
have to expend energy to fill the tank back up to its original level. Conversely, if the
water level in the tank at the end of the simulation is greater than the initial level, the
cost associated with the additional energy expenditure will be subtracted from the
final daily cost.
The effect of this additional consideration in the cost analysis is that the estimate
provided by WaterCAD will be much more realistic than an estimate based solely on
the cost of running the pump. For instance, if you ran an extended period simulation in
which the tank was able to meet the demands of the network for a 24-hour period
without requiring additional water, and ran a cost analysis without accounting for
storage gains/losses for this 24-hour period, the program would calculate that the daily
energy cost for this network is zero—the pumps did not run, so no energy was
consumed. This is obviously incorrect, as energy will be required to fill the tank again
to recoup the losses of the previous day.
• Analysis Control Pane—This section of the dialog box consists of a menu which
allows you to select the scenario to be calculated, a GO button which begins the
calculation, and a pane that allows you to control what results will be displayed in
the Detailed Results Pane. Highlighting one of the calculation components will
cause the detailed results of the cost calculation to be displayed in the Detailed
Results Pane. This section also displays a breakdown of the calculated costs asso-
ciated with the various components of the energy cost analysis.
• Detailed Results Pane—This section of the dialog box is comprised of three tabs
and a tabular report pane. This pane displays the detailed results associated with
the currently highlighted item in the Analysis Control pane. The available tabs
change depending on which row is selected in the Analysis Control Pane.
When the green folder representing the scenario to be calculated is highlighted, the
following tabs are available:
• Pump—Displays a three column table listing all of the pumps in the current
scenario. The three columns are Label, Include In Cost Calculation?, and Energy
Pricing. To exclude pumps from the analysis, clear the check box in the Include In
Cost Calculation? column for the corresponding pumps. The Energy Pricing
column allows you to choose which energy pricing definition is to be used when
calculating the corresponding pump, or to create a new one. Click the Ellipsis (...)
button to open the Energy Pricing Manager (for more information, see “Energy
Pricing Manager” on page 11-455).
• Summary—Displays a summary of the calculated results for the cost analysis.
• Tank—Displays a two column table listing all of the tanks in the current scenario.
The two columns are Label and Include in Cost Calculation?. To exclude tanks
from the analysis, clear the check box in the Include In Cost Calculation? column
for the corresponding tanks.
Click GO to compute the energy costs. Costs are calculated for the elements in your
model.
Click GO to calculate
energy costs and
populate the left pane
In the left pane, from the
calculated costs, highlight
the element about which
you want information
From the calculated costs, when you highlight Pump Usage, a Results tab is available.
• Results—The Results tab consists of a menu, a Copy button, a Report button, and
the results pane. The drop-down list allows you to choose whether the Daily
Energy Usage or the Total Energy Usage results are displayed. The Copy button
copies the results table to the clipboard, and the Report button generates a report
containing the calculated results that are displayed in the results pane and opens
the Print Preview dialog box (for more information, see “Print Preview Window”
on page 13-559).
From the calculated costs, when you highlight Time Detail, the following tabs are
available:
• Results—The Results tab consists of a menu, a Copy button, a Report button, and
the results pane. The drop-down list for this tab has only a single option, Time
Details. The Copy button copies the results table to the clipboard, and the Report
button generates a report containing the calculated results that are displayed in the
results pane and opens the Print Preview dialog box (for more information, see
“Print Preview Window” on page 13-559).
• Graph—The Graph tab consists of a menu, a Copy button, a Report button, and
the plot pane. The drop-down list for this tab allows you to choose which attribute
is to be graphed. The Copy button copies the plot to the clipboard, and the Report
button opens the Print Preview dialog box containing the graph as displayed in the
plot pane. To change the graph options, right-click in the graph display pane and
select Options.
From the calculated costs, when you highlight Storage, only a Results tab is available:
• Results—The Results tab consists of a menu, a Copy button, a Report button, and
the results pane. The drop-down list allows you to choose whether the Daily or the
Storage results are displayed. The Copy button copies the results table to the clip-
board, and the Report button generates a report containing the calculated results
that are displayed in the results pane and opens the Print Preview dialog box (for
more information, see “Print Preview Window” on page 13-559).
From the calculated costs, when you highlight Peak Demands, only a Results tab is
available:
• Results—The Results tab consists of a menu, a Copy button, a Report button, and
the results pane. The drop-down list allows you to choose whether the Peak
Demand Daily Summary or the Peak Demand results are displayed. The Copy
button copies the results table to the clipboard, and the Report button generates a
report containing the calculated results that are displayed in the results pane and
opens the Print Preview dialog box (for more information, see “Print Preview
Window” on page 13-559).
The Energy Pricing Manager allows you to create, edit, and manage the electricity
cost definitions that are used for the energy cost calculations. The following options
are available in this dialog box:
• Add—Prompts for a name, then opens the Energy Pricing Editor (for more infor-
mation, see “Energy Pricing Editor” on page 11-456).
• Edit—Opens the Energy Pricing Editor for the currently highlighted definition.
• Duplicate—Prompts for a name, then opens the Energy Pricing Editor, which is
pre-set with the input data from the currently highlighted definition.
The Energy Price Editor allows you to create the cost definitions that will be used in
the Energy Cost Analysis. The three tabs that make up the Energy Pricing Editor are:
• Energy Pricing—This tab is divided into two sections. The upper section
contains a required input box:
– Start Time—A value between 0 and 24 that specifies the first time step point
in the definition.
• The lower part of the dialog box is comprised of a two column table and three
buttons. The columns in the table are as follows:
– Time From Start—The time at which the value entered into the corre-
sponding Energy Price field will take effect.
– Energy Price—The Energy Price at the time specified in the corresponding
Time From Start field.
In addition, in the upper right-hand side of the dialog box, there is a Plot button.
On the right side of the dialog box are a number of buttons that provide functions for
managing the alternatives. These buttons are identical to the buttons found in the
Alternatives Manager (for more information, see “Alternatives Manager” on page 8-
347).
Tabular Unit Cost Function—Relates attribute values to unit costs as a series of data
points. This is the only way to enter unit cost data for non-numeric attributes, such as
material. If the attribute for which you are supplying the cost data is numeric, then
values between the data points that you enter will be linearly interpolated. If the unit
cost is requested for an attribute value that falls outside of the range of data that you
supplied in the table, the model will assume that the unit cost is equal to the unit cost
at the most extreme point closest to the value that was requested. For example, if the
following points had been entered (8 in, 30$/ft.) and (12 in, 40$/ft.) and the unit cost
was requested for a 16-in. diameter pipe, the value returned would be 40$/ft. The
warnings report available from the cost manager will list the elements and construc-
tion cost items for which this is true. For more information, see “Tabular Unit Cost
Function” on page 11-459.
Note: For certain values, such as when x is less than c, and b is not an
integer, this equation will be invalid. Under these conditions, the
unit cost returned by the function will be zero.
Formula Unit Cost Function—Represents the unit cost as a function of the selected
numeric attribute of the following form: (for more information, see “Formula Unit
Cost Function” on page 11-460)
b
Cost = d + a ( x – c )
You can add, delete, and edit the Unit Cost Functions (see “Unit Cost Functions” on
page 11-457) for your project through this manager. You will be able to assign the cost
functions defined here to one or more of the elements of the appropriate type in your
system. For example, if you define a cost function for pipes, you will be able to select
this cost function from the choice list on the Cost tab of the Pipe Element Editor.
Use the Save command to save the Unit Cost Functions listed in the Unit Cost Func-
tions Manager. You can then import them into another project using the Import
command. The Save and Import commands are accessed from the File button in this
dialog box.
When you add a new Unit Cost Function, you will be prompted with this dialog box
containing two fields, Unit Cost Function Type and Unit Cost Function Attribute. This
is the information that is needed to initialize the new Unit Cost Function that you are
about to create.
The Unit Cost Function Type field allows you to select whether you would like to
enter your cost function data in tabular or formula format. We recommend that you
quickly familiarize yourself with both formats to see which is most convenient for
you. If you wish to base your unit cost on an attribute that is not numeric, such as
material, you must choose a tabular format.
The Unit Cost Function Attribute field is for selecting the attribute for which your unit
costs are functions. For example, the unit cost of a pipe might be based upon its diam-
eter or its material. Attributes that are not numeric can only be selected if the Unit
Cost Function type is tabular.
In this section, you can enter optional notes related to the Unit Cost Function.
This tab contains the data for Unit Cost Functions defined with tabular data. The infor-
mation is defined in the following fields:
Note: If the attribute you have selected to define the Unit Cost
Function is outside the defined range for some elements in your
network, the unit cost used will be the cost of the minimum or
maximum value of the attribute you defined in the table.
In order to help you enter and visualize the function, use one of the following buttons
at the bottom of the dialog box:
• Plot—Plots the tabular data relating cost to the value of the selected attribute.
• Initialize Range—Initializes the minimum and maximum values in the Attribute
Value Range section, based on all the elements present in your project for the
current scenario.
General Section
This section contains general information identifying the Unit Cost Function, as
follows:
Note: If the function is invalid for any interval within the Valid Cost
Data Range, it is set to 0.0 in that interval. Click the Plot button to
see if there are any problems with the function.
In order to help you enter and visualize the function, use one of the following buttons
at the bottom of the dialog box:
General Section
This section contains general information identifying the Unit Cost Function, as
follows:
Coefficients Section
In this section, you can enter the coefficients defining the Unit Cost Function. The x-
parameter, which represents the value of the attribute on which the Unit Cost Function
is based, is expressed by the unit specified in the Local Unit field on this tab.
• Element Detailed Cost Report—Presents a detailed view of all the cost informa-
tion entered for a single element. For more information, see “Element Detailed
Cost Report” on page 11-462.
• Project Detailed Cost Report—Provides a detailed view of calculated cost data
for every element included in the cost analysis. For more information, see “Project
Detailed Cost Report” on page 11-463.
Each of these tabular reports can be sent directly to the printer, or copied and pasted
into a spreadsheet program for further refinement.
This tabular report contains a detailed view of all the cost information entered for a
single element. It includes an itemized list of all the construction and non-construction
costs for an element, as well as the subtotals and total cost of the element. This report
is only available for elements that have been selected for inclusion in the cost calcula-
tion.
This tabular report contains a detailed view of all the cost information entered for
every element included in the cost analysis. It includes an itemized list of all the
construction and non-construction costs for each element, as well as the cost adjust-
ments made to the total cost of the project. This report is only available after the costs
have been computed for the scenario.
This tabular report provides a summary view of all the cost information entered for
each element selected for inclusion in the cost analysis. It contains an overview of the
costs assigned to each element, and an itemized list of the cost adjustments. This
report is only available after the costs have been computed for the scenario.
This tabular report provides a summary view of all the cost information entered for the
elements selected for inclusion in the cost analysis. This report contains an overview
of the costs assigned to each element type and an itemized list of the cost adjustments.
This report is only available after the costs have been computed for the scenario.
This printed report provides a summary of the cost of all the pipes included in the cost
analysis. The pipes are grouped by material and section size. The total length of pipe
for each size and material are reported along with the total cost associated with that
group of pipes.
This report provides a list of all the cost warnings for the selected scenario. You will
receive warnings when you have assigned a Unit Cost Function to a particular element
but the attribute value for that element lies outside of the valid range of data you set
for the Unit Cost Function. You need to check these elements and make sure that the
cost data supplied to these elements is applicable.
1. Start WaterCAD.
2. Click the Darwin Designer button.
3. Or, click Analysis > Darwin Designer.
4. If the Schema Augmentation dialog box opens, click Augment Schema. (For
more information, see “Schema Augmentation” on page 12-506.)
5. The Darwin Designer dialog box opens. Begin by creating a new design study.
(For more information, see “Lesson 9: Using Darwin Designer” on page 3-187
and “Darwin Designer Methodology” on page B-753.)
• Design events
– Flows (demand adjustments—see “Demand Adjustments Tab” on page 12-
485)
– Constraints (pressure and flow—see “Pressure Constraints Tab” on page 12-
487 and “Flow Constraints Tab” on page 12-489)
– Boundary conditions (see “Boundary Conditions Tab” on page 12-490)
• Design group specifications (see “Local Design Groups Tab” on page 12-494)
• Rehab group specifications (see “Local Rehab Groups Tab” on page 12-496)
• Design events
• Design groups
• Rehab groups
• Run specific options
The particular events and groups are specified by making them active. You may create
many design runs within a design study.
To start using Darwin Designer, you must first create a design study. All Darwin
Designer data exists within design studies. A design study comprises the following
elements:
It is readily apparent that one or more of these items will be different between
different design studies, hence the ability to create as many design studies as you need.
You can create more than one design study. Each design study can comprise one or
more design runs. Each design run is manual or GA optimized. (For more information,
see “Design Run” on page 12-492.)
In the design study, create the groups of pipes for design and rehabilitation, define the
design/rehab options (costs and sizes etc), and define constraints and parameters for
your designs. These items get used in the design runs and the computations that
produce your design results.
Add New Design Study: You can add more than one design study. Design
studies are not related.
Add New Design Run: You can add manual and optimized design
runs to each design study. Optimized design
runs uses a genetic algorithm whereas the
manual design lets you apply specific solution
alternatives for trial-and-error calculations.
Darwin Designer does not run a design study; it uses
a design run. There can be multiple design runs in a
design study.
Duplicate: Click Duplicate to create a copy of the
selected design study. This can be an efficient
way to create a new design study that has
many of the attributes of an existing study.
In producing a system design, the design must typically achieve some objective or
objectives. Generally, a design must supply some specified demands, while concur-
rently meeting specified performance criteria, subject to specific boundary conditions,
such as tank levels, or emergency conditions.
Design events are used to define the requirements of your designs. Design events
include information about the demand conditions a design must satisfy, the perfor-
mance requirements or constraints a design must meet (in the form of pressure and
flow constraints), and also the boundary conditions under which the design must
achieve the previous two goals.
In order to create a design using Darwin Designer you need at least one design event,
however, in many cases you will use more than that.
Buttons used
by the tabs
Note: You can drag the vertical column dividers in the headings to
change the column widths.
Design Event Name: The Design Event Name column lists the designs you
have created. Click the column heading to rank these
in ascending or descending alphabetical order.
Notes: The Notes field displays any notes that are in the
Design Event Editor’s Note tab (see “Design Event
Editor” on page 12-484).
Representative Scenarios
The representative scenario is the scenario upon which Darwin Designer will base its
designs. The representative scenario must, therefore, contain any and all data that will
be considered for design purposes. The types of data that this includes is:
• Topological data, such as the locations of existing and possible new facilities.
Note that, for pipes that do not currently exist (Designer will be used to size
them), we recommended you model them as open pipes with small diameters
(e.g., 0.01 inches or 0.01 mm). It is also good practice to adopt some kind of
obvious naming convention, such as FP-1, FP-2 (Future Pipe) or GA-P-1, GA-P-
2, etc. It is also possible to consider the inclusion/exclusion of other facilities
using topological data. For more information, see “Advanced Darwin Designer
Tips” on page A-703.
• Physical data, such as pipe diameters, lengths, tank diameters, elevations, etc.
• Initial Settings data, such as tank levels, control valve statuses, etc.
• Demand data, such as loading patterns, nodal demands, fire flows (as nodal
demands).
1. Select the Representative Scenario on which you want to base your design.
2. Click New.
3. Type the name of the design group you are creating and click OK.
4. The Design Event Editor opens. Enter your data to define the design event. For
more information, see “Design Event Editor” on page 12-484.
For an overview of design groups, see “Design and Rehab Groups Overview” on
page 12-473.
New Design Group: Click New to add a new design option group.
For more information, see “Adding a New
Group” on page 12-472.
Edit Design Group: Click Edit to modify an existing design
option group. For more information, see
“Editing a Group” on page 12-472.
Rename Design Group: Click Rename to change the name of an
existing design option group. When the
dialog box opens, type the new name and
click OK or click Cancel to exit without renaming
anything.
Delete Design Group: Click Delete to permanently remove the
selected design option group. Note that the
elements in that group are unaffected.
New Multiple Design Groups: Click this button to create several design
groups at once, from all the elements or
selection sets (see “Selection Sets” on page 5-
263). This can be an efficient way to quickly create
several one-pipe design groups, rather than creating
the groups one at a time.
Note: You can drag the vertical column dividers in the headings to
change the column widths.
Design Group Name: The Design Group Name column lists the design
groups. Click the column heading to rank these in
ascending or descending alphabetical order.
Pipe Count: Pipe Count tells you how many pipes in the group.
To change this value, edit the group. (For more
information, see “Editing a Group” on page 12-472.)
1. Click New.
2. Type the name of the design group you are creating and click OK.
3. In the Element Selector dialog box, click those pipes you want to include in your
group.
– Use the drop-down list to filter the elements from which you can select.
– Shift+click and ctrl+click to select ranges and more than one pipe.
4. After you have selected the elements, click OK to create the group. Or, click
Cancel to exit the dialog box without creating a new group.
Editing a Group
To edit a design or rehabilitation group:
1. Click Edit.
2. In the Element Selector dialog box, click those pipes and/or junctions you
want to include in your group.
– Use the drop-down list to filter the elements from which you can select: pipes,
junctions, or both.
– Shift+click and ctrl+click to select ranges and more than one pipe.
3. After you have selected the elements, click OK to apply your changes to the
group. Or, click Cancel to exit the dialog box without making any changes.
You must insert at least one pipe in each design group (see “Editing a Group” on
page 12-472). There is no absolute rule for deciding which pipes belong in a given
group. Usually it is the set of pipes that will be laid with the same diameter and at the
same time, but it can also be smaller groups than that, and in the case of smaller design
problems or academic exercises, it may be only 1 pipe per group, which is easily expe-
dited with the Create Multiple Design Groups selection (see “New Multiple Design
Groups” on page 12-471). The down side of adding every pipe to its own group,
however, is that this can be computationally inefficient and potentially leads to a pipe-
line that is say 12 in. for one block, 8 in. for the next, 6 in. the next, etc., which may be
a theoretically least-cost design but is not a solution that is likely to be installed. Ulti-
mately the choice comes down to a trade-off between number of pipe groups (and size
of the optimization problem) versus constructability of the design through the poten-
tial for different pipe sizes adopted for each group.
For more information, see “Advanced Darwin Designer Tips” on page A-703.
For an overview of rehab groups, see “Design and Rehab Groups Overview” on
page 12-473.
Note: You can drag the vertical column dividers in the headings to
change the column widths.
Rehabilitation Group Name: The Rehabilitation Group Name column lists the
rehabilitation groups. Click the column heading to
rank these in ascending or descending alphabetical
order.
Pipe Count: Pipe Count tells you how many pipes in the group.
To change this value, edit the group. (For more
information, see “Editing a Group” on page 12-472.)
Note: The option groups table is dimmed until you click the table in the
tree-view, to select it.
To see the option groups, click the + sign next to Design Option
Groups and Rehab Option Groups. If there is no + sign, there is
no table and you must create a table by clicking the New button.
Option groups are used by Darwin Designer to determine the hydraulic effect of and
calculate the capital cost of the solutions it generates. Option groups come in two
types: Design Option Groups (new pipes) and Rehab Option Groups (rehabilitation
actions). Design options (new pipe sizes and associated roughness, material type and
unit cost) are defined by adding design option groups. Rehab Options (rehab actions
and associated post action functions) are defined by adding rehab option groups. Each
option group contains a set of options that the Darwin Designer can select from in
order to create its hydraulic solutions. Design Option Groups are used where you are
designing a new system or part of a system and brand new pipes need to be installed.
Rehab Option Groups are used when you are examining the effect of rehabilitating
(cleaning, lining etc) existing pipes.
Design Option Groups: Select this item in the tree-view to create and edit
new pipe option groups. For more information, see
“Adding and Editing Design Option Groups” on
page 12-475.
Rehab Option Groups: Select this item in the tree-view to create and edit
rehabilitation option groups. For more information,
see “Adding and Editing Rehabilitation Option
Groups” on page 12-478.
Note: The order of pipe diameters is not important, but it makes easier
viewing if you enter pipe diameters in increasing size.
Design Option Groups are used to define a selection of pipes that can be used in your
design. You may choose to use as much or as little detail as you wish. For example, for
a rough cut design, you may simply wish to use nominal diameters and estimated unit
rates, but for a detailed design you may wish to use internal pipe diameters and even
distinguish between different materials. The new pipe option group is set up to allow
you to adopt either approach.
In setting up option groups, you can set up as many groups as needed to describe the
different cost situations in your project. For example, you may decide that you have
three different cost types that need to be considered: Residential, Greenfields and
Commercial. In this case, you can set up three different option groups to reflect the
different in-ground costs for each of the three different cost types. For example,
Greenfields would be cheaper than Residential, where the additional costs of breaking
the road and resurfacing need to be included. Not all groups need to include the same
pipe sizes either, so you may choose to use different option groups as a way of limiting
certain pipe groups to being able to attain only certain sizes. For example, there is not
much point allowing a transmission main to be sized as a 6-in. pipe, where a consumer
connection pipe might be acceptable as a 6-in. pipe.
Darwin Designer has the ability to not only size new pipes from a range of possible
available pipe sizes, but it can also determine whether a particular pipe needs to be
constructed at all. To get Designer to determine whether a pipe needs to be constructed
at all, simply add a zero diameter option to the pipe option group. The zero diameter
option should also attract a cost of zero (in this case, roughness is redundant). The
zero size option can be used to size parallel pipes and it can also be used to determine
the optimal design layout, whereby more pipes are being sized than are necessary to
service all demands.
For pipes that are essential for service and that must be sized, define and use a pipe-
option group that contains no zero diameter option.
For more information, see “Lesson 10: Darwin Designer Overview” on page 3-205.
To define an option group for design options (new pipe sizing), first select the Design
Option Groups tree-view item.
New Design Option Group: Right-click the Design Option Groups tree-
view item and select Add New Design
Option Group or click the New button to add
a new design option group. Enter the name of the
table and click OK to create a new blank table, or
click Cancel to close the dialog box without creating
a new table.
Duplicate Design Option Group:Right-click a table name in the tree-view and
select Duplicate or click the Duplicate
button to make a copy of the selected design
option group. This can be an efficient way to create a
new table that shares many values with an existing
table.
Rename Design Option Group: Right-click a table name in the tree-view and
select Rename or click the Rename button to
enter a new name for the selected design
option group.
Delete Design Option Group: Right-click a table name in the tree-view and
select Delete or click the Delete button.
Add/Delete Design Options: Click the Insert and Delete buttons to
add or remove selected rows from the
pipe table.
Material: Click on a table cell and select
the pipe material from the
drop-down list or click the Ellipsis button to open the
Material Manager. (For more information, see
“Material Editor” on page 12-478.)
You can type the first letter of the material to select it
and use the arrow.
Diameter: Type a diameter for the pipe.
Roughness: Type the roughness value for the pipe (figure shows
Hazen-Williams value).
Unit Cost: Type the unit cost value for the pipe.
Material Editor
Use the Material Editor to add or edit pipe material. Type the name of the pipe mate-
rial and enter a roughness value for the material. Click OK to apply your changes or
Cancel to close the dialog box without making changes.
Rehab Option Groups are used to define the selection of rehab actions that can be used
in the design. You may choose to use as much or as little detail as you want. You can
set up as many groups as you need for different cost types, and not all groups need to
include the same rehabilitation options.
In setting up option groups, you can set up as many groups as needed to describe the
different cost situations in your project
New Rehab Option Group: Right-click the Rehab Option Groups tree-
view item and select New Rehabilitation
Option Group or click the New button to add
a new option group. Enter the name of the table and
click OK to create a new blank table, or click Cancel
to close the dialog box without creating a new table.
Duplicate Rehab Option Group: Right-click a table name in the tree-view and
select Duplicate or click the Duplicate
button to make a copy of the selected option
group. This can be an efficient way to create a new
table that shares many values with an existing table.
Rename Rehab Option Group: Right-click a table name in the tree-view and
select Rename or click the Rename button to
enter a new name for the selected option
group.
Delete Rehab Option Group: Right-click a table name in the tree-view and
select Delete or click the Delete button.
Add/Delete Table Rows: Click the Insert and Delete buttons to
add or remove selected rows from the
table.
Action: Type the name of the rehabilitation action you are
creating.
Pre versus Post Diameter: Select or create the function you want to use for the
rehabilitation action you are creating. This function
describes the pre- and post-rehabilitation pipe
diameters.
You must create at least one function for pre-
rehabilitation diameter versus post-rehabilitation
diameter.
Note: Ideally, you want to include in all functions you create each of
the pipe sizes that are present in your rehabilitation groups. This
ensures that Darwin Designer does not need to extrapolate or
interpolate values for unspecified pipe diameters, possibly
resulting in undesirable cost, roughness, or post-rehabilitation
diameters.
Pre-Rehab Diameter vs. Cost: Select or create the function you want to use for the
rehabilitation action you are creating. This function
describes the cost of the action per length for pipe of
a given pre-rehabilitation diameter.
You must create at least one function for diameter
versus cost.
Diameter versus Roughness: Select or create the function you want to use for the
rehabilitation action you are creating. This function
describes the pre-rehabilitation diameter versus the
post-rehabilitation pipe roughness.
You must create at least one function for diameter
versus roughness.
Function Manager
Create one
function for each
of these column
headings
1. Click in a cell, other than an Action cell, in the Rehab Option Group grid.
2. Click the Ellipses (…) button. The Function Manager opens.
In the Rehab Option Group grid, in addition to the Action column,
there are three columns: pre- versus post-rehab diameters, pre-rehab diameter
versus unit costs, and pre-rehab diameter versus post-rehab roughness. At a
minimum, you must create one cost function for each of these columns.
Function Editor
Note: Ideally, you want to include in all functions you create each of
the pipe sizes that are present in your rehabilitation groups. This
ensures that Darwin Designer does not need to extrapolate or
interpolate values for unspecified pipe diameters, possibly
resulting in undesirable cost, roughness, or post-rehabilitation
diameters.
1. Click New and select one of the types of functions to create. Name the
new function and click OK.
2. Or, select a function and click Edit.
The Function Editor opens.
3. Click Insert to add a new row or Delete to remove a selected row.
4. Add data to the table that describes the relationship you want. For
example, enter a pre-rehabilitation and post-rehabilitation diameter for the pipe.
The Design Type tab lets you design and weight benefits so the genetic algorithm
knows better what your design priorities are.
Design Objectives: Set the Objective Type. This is the overall priority of
the design. For each design type except Minimize
Budget, you need to enter an Available Budget.
Use the Notes tab to type comments about your project and read things like log entries
and dates.
Use the Design Event Editor to create or edit design events used as parameters for
your designs or rehabilitation of systems. For more information, see “Design Study”
on page 12-466.
The sizing of pipes in designer is driven by demands. By default, the demands used
will be those associated with the representative scenario. However, you may want to
use different demands, such as fire flows or peaks. There are several different ways to
modify or overwrite the demands in the representative scenario.
Design Time: Scenario start time plus time from start. This is the
clock time that the Time From Start value represents.
Scenario Start Time: The time at which the scenario is set to begin. This is
the clock time for the start of the hydraulic
simulation defined as part of the representative
scenario calculation properties.
Time from Start: Only adjustable when the representative scenario is
set for EPS, the time from start specifies the time to
use as the basis of design. That is, for a model with a
scenario start time of 12:00:00AM, a time from start
Use this tab to define pressure constraints for all junctions or a set of junctions.
Junction: Displays the list of junctions for which you have set
up pressure constraints.
Override Defaults: Select this check box if you want to override the
default maximum and/or minimum pressure
constraints, or you wish to override whether to use
the selected junction in pressure benefit calculations.
After you select this check box, click in the field you
want to change and type the new value for the
constraint, or click the Consider Pressure Benefit
check box.
Minimum/Maximum Pressure: Displays the pressure minimum and maximum that
are set.
Consider Pressure Benefit: If you set the Design Parameters Design Type to
Minimize Cost (for more information, see “Design
Objectives” on page 12-483), then pressure benefit is
not considered in the solution, but the benefit is
computed.
This check box is available to Maximize Benefit and
Multi-Objective Trade-off design parameters.
Select this check box if you want the genetic
algorithm to consider the benefits provided your
design by higher system pressures.
Use this tab to define flow boundary conditions for a junction or set of junctions.
Selection Set: From the drop-down list, select the pipes to which
you want to apply the constraints. To select pipes,
click the Ellipsis button and use the Element
Selector.
Minimum Velocity: Set a minimum velocity that you require for the
selected set of pipes. Violations of this boundary are
displayed when you calculate your network.
Maximum Velocity: Set a maximum velocity that you require for the
selected set of pipes. You can set this to an unusually
high value if needed. Violations of this boundary are
displayed when you calculate your network.
Flow Constraints Table: For more information, see “Flow Constraints Table”
on page 12-490.
Pipe: Displays the list of pipes for which you have set up
flow constraints.
Override Defaults: Select this check box if you want to override the
default maximum and/or minimum flow (velocity)
constraints for selected pipes. After you select this
check box, click in the field you want to change and
type the new value for the constraint.
Minimum/Maximum Velocity: Displays the velocity minimum and maximum that
are set.
Note: Boundary conditions are used if specified for both steady state
and EPS models.
Use the boundary conditions tab to set up certain pre-rehabilitation, pre-design bound-
aries for tanks, pumps, pipes, and valves.
Element Type: From the list of elements, select the kind of element
for which you want to set a boundary condition:
pump, tank, pipe, or valve.
Selection Set: The Selection Set drop-down list reflects your
selection of an element type. Click the Ellipsis (…)
button to choose the particular element you want, or
to select multiple or all elements of a particular type.
After you select a series of elements, you can set the
boundary conditions for the selected elements.
Load from Model: After you choose a selection, use Load from Model
to load settings and conditions for your elements at a
time from start that you specify. For example, if your
peak time is 6 pm, you can load the settings for your
elements from the model at that time. For more
information, see “Load Boundary Conditions Dialog
Box” on page 12-491.
Status: Pipe and pump status have two values: open and
closed or on and off. Valves can be closed, active or
inactive, except for GPVs which can be closed or
active only.
Speed: Pumps have a relative speed setting that you can
define.
Level: Tanks have a level setting that you can define.
Flow Setting: Flow-control valves have a flow setting you can
define.
Pressure Setting: PBVs, PSVs, and PRVs have pressure settings that
you can define.
Coefficient: TCVs have a coefficient that you can define.
OK/Cancel/Help: Click OK to accept and apply the changes you made.
Or, click Cancel to exit the current function without
making or applying changes. Click Help to display
the help topic that describes the feature you are
using.
Time from Start : Specify the time in the EPS that should be used to
source element boundary conditions from. E.g., for a
model where time 7 = 7 a.m., this setting defines
boundary conditions for elements to the states that
exist at 7am in your model.
Use the Notes tab to type comments about your project and read things like log entries
and dates. Notes you enter here also display in the Design Events tab, Notes column,
of the Darwin Designer main dialog box.
As part of any design study, you will want to make numerous design runs. A design
run is a single, complete solution of the problem consisting of the design events,
groups, and other options plus the results of the design run.
To create a design run, right-click the design study that the run is to be part of. Then,
Each time you want to run an optimization, you can create a new run or edit an
existing run.
Design runs can either be GA optimized or manual runs. A GA optimized design run
uses genetic-algorithm optimization to optimize the selected objective (e.g., minimize
cost) for your design. A manual design run lets you make a single selection of pipe
sizes and/or rehabilitation actions in order to evaluate the specified design against the
same criterion as a GA optimized design. The difference between the two kinds of run
is that a manual run executes a single solution evaluation only, using the pipe sizes and
rehabilitation options that you selected.
The Design Events tab displays a list of the events you have set up. (For more infor-
mation, see “Design Events Tab” on page 12-468.) Select the check boxes to set as
Active those criteria that you want to be used in the calculation of your design run.
Your design run must have at least one active design event in order to be calculated
without error.
Note: You must have at least one active design or rehab group set to a
valid design or rehab option group.
• For example, you could create a manual design run in which you force the groups
of pipes to specific sizes.
• You might create a rehabilitation design that forces groups to use specific actions.
The difference between a manual design run and an optimized design run is the
Manual Selection column in the Design Groups and Rehab Groups tab for the run.
After you select a table to use for a group, you then must set that group to use a
specific pipe size or specific rehabilitation action.
Note: You must have at least one active design or rehab group set to a
valid design or rehab option group.
Rehabilitation Group Name: Tells you the names of the rehabilitation groups.
Active: Select the check boxes for those rehabilitation groups
that you want to be considered in the current design
run.
You can use the arrow keys to navigate from row to
row and press the spacebar to select and deselect a
check box.
Rehab Option Group: For each rehabilitation group, you must select the
option group you want to use. For more information,
see “Option Groups Tab” on page 12-474.
You can use the arrow keys to navigate from row to
row and type the first letter of a design group name to
select that design group.
Manual Selection: Lets you force a particular action for the selected
group. For more information, see “Manual Design
Runs” on page 12-494.
Note: Use these settings to fine-tune the way the GA finds results. If
adjusting a particular GA control gives you better results,
pursue the approach to maximize your design.
The Options tab lets you define the parameters for the genetic algorithm.
Stopping Criteria
Maximum Trials: Set the maximum number of calibration trials you
want the GA to process before stopping.
Non-Improvement Generations: Set the number of maximum number of non-
improvement generations you want the GA to
process without calculating an improved fitness. If
the GA makes this number of calculations without
Top Solutions
Solutions to Keep: Select the number of solutions you want to keep.
Use the Notes tab to type comments about your project and read things like log entries
and dates.
Note: In all results panes, you can sort columns by right-clicking and
selecting Sort or by clicking on the column headers. This is
especially useful for quickly indentifying which junctions and/or
pipes have violations. Also, sorting is preserved in reports, so if
you sort something it will be sorted the same way in the report
view.
The Pressure Constraints tab in the results area displays information about junction
pressures:
• Design event set name (see “Design Event Editor” on page 12-484)
• Junction label
• Simulated pressure at the junction
• Required minimum pressure at the junction
• Required maximum pressure at the junction
• Any calculated pressures that fall below the minimum or above the maximum (as
a negative number if below the minimum, as a positive one if above the
maximum)
The Flow Constraints tab in the results area displays information about junction pres-
sures:
Note: To use selection sets in Darwin Designer, you must first set them
up in WaterGEMS or WaterCAD. For more information, see
“Selection Sets” on page 5-263.
Selection Set: If you have a selection set defined that you want to
use, select it from the drop-down list.
Elements: Click, shift+click, and/or ctrl+click elements you
want to include in your design group. Whatever
elements are highlighted when you press OK will
become part of the group.
Previous/Next Page: Lets you page through your report. You can also use
the Page Up/Down keys on your keyboard.
Forward/Backward: Lets you navigate between pages you have just
viewed.
• Pareto Optimal Plot—Shows Benefit versus Cost for your calculations, provided
you have used Maximum Benefit or Multi-Objective Trade-off Design Parameters
(see “Design Type Tab” on page 12-483 and “About Pareto Optimal Plots” on
page 12-504).
• Pipe Size Usage Plot—Shows the total length of pipe of a certain diameter used
by the solution.
To create a graph of your solution, with the Design Run highlighted, and
after calculating the network, in the results area, click the Plot button and
choose the kind of plot you want.
When there is more than one objective in a design, it is seldom possible to say that one
solution is clearly the best because it may be better than another with regard to one
objective measure but worse on another. (Although, there are many solutions that are
clearly inferior. That is there are other solutions that are better than an inferior with
regard to all objectives.)
However, there will be a small set of solutions for which no solution can give a better
value of one objective without having a worse value for another objective. This set of
solutions is referred to as non-inferior or Pareto optimal (after Pareto, an Italian econ-
omist).
For example, one solution may cost $5 million and have a pressure benefit of 2 (high
is good), while another may cost $6 million and have a pressure benefit of 2.2. Neither
is clearly superior but neither is clearly inferior; they are both non-inferior to one
another.
When working with multiple objectives, there is not likely to be a single solution that
is superior for all objectives. Therefore, when multiple objectives are involved, you
must chose between a number of non-inferior solutions.
Darwin eliminates the thousands of inferior solutions and provides two ways to
compare non-inferior solutions:
Use Export to Scenario to pass your results and optimized network back for use in
WaterCAD. (For more information, see “Scenario Selection” on page 8-365 and
“Active Cost Scenarios” on page 11-451.)
A schema is the series of tables and table cells that contain your data. A schema
change typically means a table or table cells have been added, usually by an update to
the software.
When you use Schema Augmentation, WaterCAD adds any missing tables to the
schema of the file you are using. Updating a schema should not damage your data but
we do recommend you create a backup. Select the Create backup: *.bak check box
to create a backup of your existing database. It will be saved in its current directory
but will have .BAK appended to the filename.
To restore the backup, delete or move your current .MDB file and then rename your
backup file by deleting the .BAK extension, so the extension becomes only .MDB.
Existing database
Backup file
Presenting your 13
Results
This section covers the various methods that are provided for viewing, annotating,
graphing, and reporting your data. It also presents the tools available for generating
contours, generating profiles, and color coding elements based on any attribute.
Note: The annotations and their format are defined by using the
Annotation Wizard (for more information, see “The Annotation
Wizard” on page 13-510). In Stand-Alone mode, the annotation
format can also be easily modified in the Attribute Annotation
dialog box, (see “Annotation Wizard—Specify Annotation” on
page 13-511) which opens when you double-click the handle of
the annotation text in the drawing, or if you right-click the
annotation and select Edit <Attribute> from the shortcut menu.
You can flip the text from one side of the pipe to the other (reading in the opposite
direction) to maintain readability when the pipe direction on a plot is nearly vertical.
By default, the text flips direction when the pipe direction is 1.5 degrees measured
counter-clockwise from the vertical. You can modify this value by inserting a TextFli-
pAngle variable in the HAESTAD.INI file, located in the Haestad directory. The angle
is measured in degrees, counter-clockwise from the vertical.
For instance, if you want the text to flip when the pipe direction is vertical, you should
add the following line to the HAESTAD.INI file:
TextFlipAngle=0.0
Reasonable values fall in the range from 15.0 degrees to -15.0 degrees. The TextFli-
pAngle is only applicable to annotations on the plan view.
To access the Attribute Annotation dialog box, right-click the annotation and select
<Attribute Name> Annotation. Alternatively, in the main view in Stand-Alone mode,
double-click the handle of the annotation text to display the corresponding Attribute
Annotation dialog box. Here you can easily modify the format of that attribute annota-
tion without going through the Annotation Wizard (see “The Annotation Wizard” on
page 13-510) again. The replaceable parameters %v and %u represent the attribute’s
value and unit respectively.
You can use the Annotation Wizard to add annotations to the drawing, as well as to
remove or modify existing annotations in the drawing. You can annotate all elements
or any subset of elements.
Tip: If you decide to turn off the annotations for a particular element
type, your annotation settings will be retained, allowing you to
easily toggle annotation back on.
This step allows you to specify the types of elements you wish to annotate by
checking the appropriate boxes. You may annotate more than one type of element at a
time by checking all the desired element types. If you have already annotated your
drawing, you can remove annotations for a particular type of element by clearing the
corresponding check box.
• Specify the Set of Elements—Choose All Elements from the choice list for anno-
tation to be applied to all elements in the network, or choose a selection set. Click
the Ellipsis (...) button to access the Selection Set Manager to edit or add selection
sets.
• Attributes—Select from a list of all available attributes for the current element
type including calculated values. Click this field, and choose the attributes you
wish to annotate by selecting from the list that appears. Clicking the sideways
triangle button will open the categorized Quick Attribute Selector (for more infor-
mation, see “Quick Attribute Selector” on page 2-56).
• Mask—Customize the way the annotation is displayed. The replaceable parame-
ters %v and %u represent the attribute’s value and unit respectively. By default,
the mask is set up as follows: <attribute name>: %v %u.
Tip: When annotating, for example, pipe diameters, the default mask
is Diameter: %v %u. The default annotation for a 150 millimeter
pipe would be Diameter: 150 mm. By changing the mask to %v
%u, the resulting annotation would be 150 mm.
Use the Initial Placement dialog box to set how the annotation will be offset relative to
the label of the element it is referring to. Set the x and y offsets and click OK when
you are done. This feature lets you customize your drawing annotations to more
closely match accepted specifications.
Annotation Wizard—Summary
The last step of annotating your drawing is reviewing the choices you have made. If
you would like to make changes at this time, click the Back button to return to
previous windows in the wizard. When you are satisfied, click the Finished button to
apply the annotations to the drawing.
At the top of the Color Coding dialog box are two tabs, Link and Node. You can set up
color coding for both links and nodes, or just one of the two. The following fields are
available:
If the results for the selected attribute are not available, or if all
values for that attribute are the same, automatic range
initialization will not be performed. You can enter your own
custom range in this case.
• Attribute—Select the attribute by which you would like to color code, or select
<None> to turn color coding off. By clicking the sideways triangle button, you
can access the categorized Quick Attribute Selector (for more information, see
“Quick Attribute Selector” on page 2-56).
• Selection Set—Choose All Elements from the list to apply color coding to be
applied to all elements in the network, or choose a selection set to apply color
coding to a subset. Click the Ellipsis (...) button to access the Selection Set
Manager to edit or add selection sets.
• Calculate Range—Automatically determine the minimum and maximum for the
specified attribute and selection set.
• Minimum/Maximum—Displays the calculated minimum and maximum values
for the specified attribute in the selection set.
Tip: The Quick View window can be used to display a summary of the
active link or node color coding parameters.
Use the Initialize and/or the Insert buttons to define your color coding map. Then click
OK to apply the specified colors to the appropriate elements.
13.3 Reports
Reports includes:
This application provides several predefined reports that can be used in your projects.
This feature makes report generation a simple point-and-click exercise. Select the
elements for which you want a report and send them to your printer.
The Detailed Reports dialog box allows you to print detailed reports for all elements
or any subset of elements in the system.
In Stand-Alone mode, from the Detailed Reports dialog box, select multiple elements
to be printed by Shift+clicking or Control+clicking. Holding down the Shift key will
provide group selection. Alternatively, use the Select button to open the Selection Set
dialog box (for more information, see “Selection Sets” on page 5-263). This provides
more powerful selection functions. When you are satisfied, click the Print button to
output the selected reports.
Note: You can graphically select elements that you would like to print
before opening the Detailed Reports dialog box. This is done by
holding down the Shift key and selecting elements, or by
dragging a window around the area of interest. The selected
elements will be highlighted in the list of elements to print when
you open the dialog box.
You can print a detailed report for a single element without using
the Detailed Reports dialog box. Open the element editor for the
desired element and click the Report button.
In AutoCAD mode, to activate the Detailed Reports dialog box, select Report >
Element Details. The cursor will change to a pick box, signaling you to choose the
elements for which you would like to view reports. Select elements as you normally
would in AutoCAD. Press the Enter key, and the dialog box will appear. While all of
the elements in the project are listed, the ones you have selected are highlighted. You
can use the Select button to further edit this list. Click the Print button to output the
selected reports when you are satisfied.
Note: You can graphically select elements that you would like to print
before opening the Element Results dialog box. This is done by
holding down the Shift key and selecting multiple elements, or
by dragging a window around the area of interest. The selected
elements will be highlighted in the list of elements to print when
you open the dialog box.
The Element Results dialog box allows you to print or preview a single report
containing the results for any number of elements in the system.
From the Element Results dialog box, you can select elements to be printed by
Shift+clicking or Ctrl+clicking. Holding down the Shift key will provide group selec-
tion behavior. Alternatively, use the Select button to open the Selection Set dialog box
(for more information, see “Selection Sets” on page 5-263). This provides more
powerful selection functions. When you are satisfied, click the Preview button to view
the selected reports, or click the Print button to print the selected reports.
Using the powerful FlexTables feature (see “FlexTables” on page 7-329), you can
very quickly generate a tabular report containing any attribute and any network
element.
The Scenario Summary provides a detailed report of the active scenario (see
“Scenarios” on page 8-364), including alternatives (see “Alternatives” on page 8-
345), and a brief summary of the calculation options.
The Project Inventory report provides a detailed report that includes a summary of the
active scenario (see “Scenarios” on page 8-364), a network inventory, and a detailed
pipe inventory (grouped by pipe section).
The calculation results for each element in a network can be viewed in a table format.
This table is predefined and you cannot change it. It displays the set of the most
commonly desired output attributes for the type of element for each reporting time
step in the hydraulic analysis. The contents of the table can be copied to the Windows
clipboard to transfer the data to another application such as a spreadsheet or word
processing document.
Tip: You can change the reporting time step increment on the
Analysis Toolbar (for more information, see “Analysis Toolbar” on
page 2-81).
To copy the data to the Windows clipboard, right-click the table and select Copy from
the context menu.
Generate reports for the plan view of the network, for either the current drawing
display (Current View) or the entire drawing extents (Full View).
After running hydraulic calculations, the Results tab of the Scenario Editor is
displayed. This tab contains a summary of the calculation results. To view any prob-
lems or warnings encountered during the simulation, click the Element Messages
button.
The report consists of a series of folders that represent different stages of the calcula-
tion process. Double-click a folder or click the + sign to view information related to
the folder’s caption. The color of the folder will indicate if any problems occurred
during that portion of the analysis.
This report can be previewed before being printed or copied to the clipboard by
clicking the Printer button on the Results tab. It can also be exported to a text file by
clicking the Save button on the Results tab. Only the exposed text will be exported,
copied or printed.
A preview of the Contour Plan View Report, showing all contours as displayed in the
Contour Plot window, can be obtained by clicking the Print Preview button in the
Contour Plot window (for more information, see “Contour Plot” on page 13-549).
The Totalizing Flow Meter allows you to track the total and net flows passing through
any element. The dialog box is divided into two sections:
• Times—The Times section allows you to specify the time period for which the
meter will calculate flows. This section consists of two menus:
– Start—The time when the meter begins calculating flow passing through the
corresponding element.
– Stop—The time when the meter stops calculating flow passing through the
corresponding element.
This window is used to display data in a tabular format. At the top of the window are
five buttons that provide the following functionality:
• File—Export the data in the report to either a comma or tab delimited text file.
• Copy—Copy the data in the report to the clipboard so that it can be pasted into
another program such as a spreadsheet or word processor.
• Print Preview—Open a print preview of the report, from which the report can be
sent directly to the printer.
The System Head Curve dialog box contains the following three input fields:
• Pump—The Pump field allows you to specify which pump the system head curve
will be based upon, and provides three methods of choosing this pump. The menu,
which lists all of the pumps in the network, the Ellipsis (...) button which opens
the Single Element Selection dialog box (see “Single Element Selection Dialog
Box” on page 5-260), and the Select From Drawing button, which allows you to
select the element using the graphical Drawing view.
• Maximum Flow—This field is automatically supplied with the Maximum Oper-
ating Discharge value for the selected pump.
• # of Intervals—This field determines the number of Head/Discharge points that
will be used to create the system head curve. The higher the number of intervals
used, the smoother the curve will be.
• Validate—If this box is checked when you click the OK button, the pump curve
input data will be checked to ensure that it is valid. If a problem is found, a dialog
box will appear that provides details about the cause of the error. If the box is
unchecked when the OK button is clicked, the input data is not checked, and if
errors are present the operation will fail. You will then be prompted to check the
input data carefully using the Validate option.
13.4 Graphs
Graphs includes:
To generate a pump curve, open the Pump Editor for the pump of interest, click the
Report button, and choose the Pump Curve menu item.
To generate a plot of the tank storage volume versus the elevation, open the Tank
Editor for the tank of interest, click the Report button, and choose the Tank Curve
menu item.
To generate a graph of the total demand at a junction over time, open the Junction
Editor for the junction of interest, select the Demand tab and click the Graph button.
You can generate a graph or a full report of a pattern that represents the multiplier
variable of the pattern over time. To do so, open the appropriate Pattern Manager
dialog box and access the pattern for which you would like to generate output. From
the Pattern Editor dialog box (see “Pattern Editor” on page 9-395), click the Report
button, and select Graph or Detailed Report.
Graph Setup
Note: The Graph Setup option is only available for Extended Period
Analysis (for more information, see “Steady-State/Extended Period
Simulation” on page 9-378).
When the Plot Window is open, click the Options button to graph
other dependent variables or to change the graph options.
Clicking Options > Graph Setup opens the Graph Setup dialog
box. Clicking Options > Graph Options opens the Graph Options
dialog box (for more information, see “Graph Options” on page 13-
560).
The Graph Setup dialog box allows you to graph calculated results for any element in
the system. The dialog box is divided into three tabs:
• Graph Setup—This tab contains the dependent menu. This menu lists the
attributes that can be graphed for the current element type. The attribute range is
automatically initialized by the program depending on the calculated values for
the elements that are being graphed.
• Elements—This dialog box consists of a pane that lists the elements available for
graphing and a Select button. Click the check boxes next to each of the elements
that you want to graph. The Select button opens the Selection Set dialog box,
which allows you to choose the elements that will be displayed in the graph.
• Scenarios—Select and compare various scenario computations (for more infor-
mation, see “Available Scenarios” on page 13-522).
Available Scenarios
Note: The only scenarios that will be available to graph are scenarios
for which an Extended Period Simulation have been calculated.
This feature allows you to select which scenarios you wish to view and compare on
the current graph. Place a check mark by the scenarios you wish to display.
Graph Window
The Graph window is divided into two tabs: Graph and Data. The Graph tab displays a
plot of the selected dependent variable vs. time. The Data tab will display the data
under the Graph tab in a tabular format.
The following functions will either be formed on the plot or the tabular data,
depending on which tab is selected.
• Copy—Copies the graph/data onto the Windows Clipboard for use in other appli-
cations. For more information, see “Other Toolbar Buttons” on page 2-82.
• Print—Outputs the contents of the Graph/Data tab to the printer. For more infor-
mation, see “Other Toolbar Buttons” on page 2-82.
• Options/Graph Options—Allows you to customize the plot by changing the
graph’s axes, fonts, titles, etc. This is only available when the Graph tab is
selected. For more information, see “Graph Options” on page 13-560.
• Options/Graph Setup—Allows you to rebuild the graph with different data and
parameters. For more information, see “Graph Setup” on page 13-522.
• Close—Close the Graph window. For more information, see “Other Toolbar
Buttons” on page 2-82.
• Help—Provides access to help for the Graph window. For more information, see
“Using the Online Help” on page 2-72.
GeoGrapher allows you to create, edit, and store custom graphs. The available graph
types in the first step of the Graph Creator Wizard are as follows:
When the Over Time Graph button is selected, there are four graph types to choose
from:
When the Single Time Step button is selected, there are 3 graph types to choose from:
The GeoGrapher Wizard assists you in the creation of graphs by stepping you through
the most commonly used setup options. Depending on the type of graph that is being
created, the specific steps of the wizard will vary.
– Step 3—Select Attributes to Graph: This step allows you to specify the
primary and secondary attributes that will displayed for the selected
element(s).
– Step 4—Completing the Add Graph Wizard: This step allows you to enter a
name for the graph. This is the label that will be displayed in the graph
manager dialog box. The dialog box also prompts you to choose the format to
be used in the graph, with the following choices:
– Step 3—Select Attributes to Graph: This step allows you to specify the x-axis
and y-axis attributes that will displayed for the selected element(s).
– Step 4—Completing the Add Graph Wizard: This step allows you to enter a
name for the graph. This is the label that will be displayed in the graph
manager dialog box. The dialog box also prompts you to choose the format to
be used in the graph, with the following choices:
– Step 3—Select Attribute to Graph: This step allows you to specify the
attribute that will displayed for the selected element(s).
– Step 4—Completing the Add Graph Wizard: This step allows you to enter a
name for the graph. This is the label that will be displayed in the graph
manager dialog box. The dialog box also prompts you to choose the format to
be used in the graph, with the following choices:
– Step 3—Select Scenarios to Graph: This step allows you to specify the
scenario(s) that will displayed for the selected element(s).
– Step 4—Completing the Add Graph Wizard: This step allows you to enter a
name for the graph. This is the label that will be displayed in the graph
manager dialog box. The dialog box also prompts you to choose the format to
be used in the graph, with the following choices:
– Step 3—Select an Element to Graph: This step allows you to select the
element that will be displayed in the graph.
– Step 4—Completing the Add Graph Wizard: This step allows you to enter a
name for the graph. This is the label that will be displayed in the graph
manager dialog box. The dialog box also prompts you to choose the format to
be used in the graph, with the following choices:
– Step 4—Completing the Add Graph Wizard: This step allows you to enter a
name for the graph. This is the label that will be displayed in the graph
manager dialog box. The dialog box also prompts you to choose the format to
be used in the graph, with the following choices:
• Single Element (Over time)—This graph type displays a single attribute for any
element across multiple time-steps in a line graph format.
– Step 1—Select the Desired Graph Type: This step allows you to change the
type of graph being created from the default settings associated with the graph
type that was chosen in the Graph Manager. Click Next to retain the default
settings.
– Step 2—Select an Element to Graph: This step allows you to select the
element that will be displayed in the graph.
– Step 3—Completing the Add Graph Wizard: This step allows you to enter a
name for the graph. This is the label that will be displayed in the graph
manager dialog box. The dialog box also prompts you to choose the format to
be used in the graph, with the following choices:
The graph display window allows you to view graphs and change graph settings as
desired.
The following time step controls are available in this dialog box:
Above the graph display are the time step and animation controls. These include
VCR-style controls to move through the time steps or to animate the graph view and
the Increment combo box which controls how many time steps are skipped when the
Forward or Reverse buttons are clicked. This increment also controls which time steps
are displayed during animation.
By clicking the down arrow next to the Play button, you can access the following
Animation Options:
• Animation Delay—Opens a dialog box that allows you to set the delay between
animated frames.
• Animate All Windows—If this option is selected, every window capable of being
animated will then animate when the play button is clicked. If the option is not
selected, then only the current window will animate.
If you right-click with the mouse over the drawing pane, a context menu appears,
offering the following options:
• Copy Image—This command copies the currently displayed graph to the clip-
board, to be pasted into a compatible graphics application.
• Copy Format—This command stores the settings used by the current graph to be
re-used in another graph. To re-use a copied format, right-click and choose Paste
Format.
• Paste Format—This command applies to the current graph settings that were
previously copied from another graph. To copy settings from another graph, right-
click and choose Copy Format.
• Graph Setup—This command opens the GeoGrapher Graph Setup dialog box
(see “GeoGrapher Graph Setup” on page 13-532).
• Graph Options—This command opens the GeoGrapher Options dialog box (see
“GeoGrapher Options” on page 13-533
Depending on the type of graph, the following drop-down menus may be available:
• Data—This tab displays a tabular view of the data upon which the graph is based.
• Notes—This tab shows any user-defined notes associated with the graph.
Note: The display units for the various attributes cannot be manually
changed through GeoGrapher. Instead, GeoGrapher will
automatically use the unit that is assigned to a given attribute in
WaterGEMS Modeler. To change the unit that is used, first
change it in WaterGEMS Modeler (see“FlexUnits” on page 4-252),
then open GeoGrapher and create your graph.
The following buttons are found along the top of the graph display dialog box:
The GeoGrapher Print Preview window allows you to modify the print settings and
preview the graph before it is printed. The following controls are available in this
dialog box:
• Printer (drop-down menu)—This menu allows you to select the printer to which
the settings and commands issued in this dialog box will be applied.
• Setup (button)—Opens the printer’s settings and print options dialog box.
• Print (button)—Prints the current view that is displayed in the Preview pane
using the printer selected in the Printer menu.
• Portrait (button)—Orients the page to a long-vertical alignment.
• Landscape (button)—Orients the page to a long-horizontal alignment.
• Margins (up/down increment controls)—These four increment controls change
the margin spacing along the edges of the page.
• Reset Margins (button)—Resets the margins to the default settings.
• View Margins (check box)—Makes the margin lines visible in the Preview pane.
• Detail (slider bar)—This slider increases the detail of the preview in the Preview
pane as it is moved to the left, and decreases the amount of detail as the indicator
is moved to the right.
• Preview Pane—This pane displays the current page view as it will be printed.
Changes made using the other controls in this dialog box are immediately updated
in this pane.
The GeoGrapher Graph Setup dialog box allows you to change various graph settings.
The specific settings that are available for modification in this dialog box vary
depending on the graph type. The possible variables that can be changed here include:
• Elements
• X-Axis Variable
• Y-Axis Variable
• Element Attribute
• Scenario
The GeoGrapher Options dialog box is divided into two main tabs:
Chart Tab
The Chart tab allows you to define overall Chart display parameters. This tab is
further subdivided into the following second-level sub-tabs:
• Series—This tab contains a pane that displays the series that are associated with
the current graph. The check box next to each list item determines whether or not
the corresponding series is visible in the graph display. The Up and Down arrow
buttons move the highlighted series up or down one line in the list. The five addi-
tional buttons on this tab are as follows:
– Add—Adds a new series to the current graph.
– Delete—Removes the currently highlighted series.
Note: Only user-defined series can be deleted from the graph display.
The default factory-defined series cannot be deleted.
• Panel—The Panel sub-tab is further subdivided into the following third-level sub-
tabs:
– Background—This sub-tab contains the following controls:
- Color (Button)—This button lets you specify the chart background color.
- Browse (Button)—This button allows you to browse the hard drive for
background images.
- Inside (Check Box)—Restrict the background image to display inside the
chart rectangle only.
• Walls—This sub-tab contains the following controls, which are identical for each
of the Wall third-level sub-tabs (Left, Right, Bottom, Back):
– Color (Button)—Determines the presence of and settings for the wall color.
– Border (Button)—Determines the presence of and settings for the wall
border.
– Pattern (Button)—Determines the presence of and settings for the wall
pattern.
– Gradient (Button)—Determines the presence of and settings for the wall
gradient.
– Visible (Check Box)—Enables/disables visibility of the wall.
– Dark 3D (Check Box)—Enables/disables 3D surface shading of the wall.
This check box is active only when a Size greater than o has been specified in
the Size control.
– Size (Up/Down Increment Control)—Determines the depth of the wall in
3D graphs.
– Transparent (Check Box)—Enables/disables visibility of the wall.
Series Tab
The Series tab contains parameters dependant on the series type concerned. The list
box at the top of the Series tab shows which series you are editing. This tab is further
subdivided into the following second-level sub-tabs:
13.6 Contours
Contours includes:
The Contour Map Manager contains the information required to generate contours for
a calculated network, organized as follows:
Note: In addition to using selection sets. You can also add nodes to a
special zone that will ensure that they are excluded from the
contouring point set. Cybernet 2 users might recall that Zone
number 99 was reserved for this purpose. You should create a
zone named Do not contour. You can then add the nodes that
you do not want to be included in the contour set. You can
change the name of the contour exclusion zone by editing the
file, HAESTAD.INI, and setting the variable,
ExcludeFromContouringTag, equal to any string label. The
exclusion label is not case-sensitive.
The Contour Plot window displays the results of a contour map specification as accu-
rate, straight-line contours.
View the changes in the mapped attribute over time by using WaterCAD’ new anima-
tion feature. Click the Play button to automatically advance through the time step
increments selected in the Increment bar.
The plot can be printed or exported as a .DXF file using the File button at the top of
the window. In AutoCAD mode, you can export the contours directly to your
AutoCAD drawing by clicking File > Export to AutoCAD.
The Contour Smoothing option displays the results of a contour map specification as
smooth, curved contours.
The plot can be printed or exported as a .DXF file using the command buttons at the
top of the window.
Normal contouring routines only include model nodes, such as junctions, tanks and
reservoirs. When spot elevations are added to the drawing, however, you can create
more detailed elevation contours and enhanced pressure contours.
These enhanced contours include not only the model nodes, but also the interpolated
and calculated results for the spot elevations. Enhanced pressure contours can help the
Stand-Alone to understand the behavior of the system even in areas that have not been
included directly in the model.
You can apply contour labels after the contour plot has been exported to the AutoCAD
drawing. The labeling commands are accessed from the Tools menu. The following
options are available:
• End—Allows you to apply labels to one end, both ends, or any number of
selected insertion points. After selecting this labeling option, AutoCAD will
prompt you to Select Contour to label. After selecting the contour to label,
AutoCAD prompts for an Insertion point. Click in the drawing view to place
labels at specified points along the contour. When prompted for an Insertion point,
clicking the Enter key once will prompt you to select point nearest the contour
endpoint. Doing so will apply a label to the end of the contour closest to the area
where you clicked. Clicking the Enter key twice when prompted for an Insertion
point will apply labels to both ends of the contour.
• Interior—This option applies labels to the interior of a contour line. You will be
prompted to select the contour to be labeled, then to select the points along the
contour line where you want the label to be placed. Any number of labels can be
placed inside the contour in this way. Clicking the label grip and dragging will
move the label along the contour line.
• Group End—Choosing this option opens the Elevation Increment dialog box.
The value entered in this dialog box determines which of the contours selected
will be labeled. If you enter 2, only contours representing a value that is a multiple
of 2 will be labeled, and so on. After clicking OK in this dialog box, you will be
prompted to select the Start point for a line. Contours intersected by the line drawn
thusly will have a label applied to both ends, as modified by the Elevation Incre-
ment that was selected.
• Group Interior—Choosing this option opens the Elevation Increment dialog box.
The value entered in this dialog box determines which of the contours selected
will be labeled. If you enter 2, only contours representing a value that is a multiple
of 2 will be labeled, and so on. After clicking OK in this dialog box, you will be
prompted to select the Start point for a line.
• Change Settings—Allows you to change the Style, Display Precision, and Font
Height of the contour labels.
• Delete Label—Prompts to select the contour from which labels will be deleted,
then prompts to select the labels to be removed.
• Delete All Labels—Prompts to select which contours the labels will be removed
from, then removes all labels for the specified contours.
In addition to the elevations at junction nodes and other network elements, supple-
mental spot elevations can be entered throughout the model without adding unneces-
sary model nodes.
Note: These spot elevations have no effect on the network model, but
can better define the terrain surface throughout the drawing. The
result is that elevation contours and enhanced pressure
contours can be generated with more detail. This gives the
Stand-Alone a better prediction of the system’s behavior, even in
areas where the model has been skeletonized.
Because spot elevations are not included in the actual piping network, there is very
little information in the spot elevation editor. The data consists of the following:
For spot elevations that are outside the model bounds, there
may not be three adjacent model nodes. If this is the case, the
enhanced hydraulic grade will be determined to be zero, which
may result in negative pressures. This does not necessarily
demonstrate that there are poor conditions in the system. It
indicates that the spot elevations may cover a wider area than
the model itself.
13.7 Profile
A profile is a graph that plots a particular attribute across a distance, such as ground
elevation along a section of piping. As well as these side or sectional views of the
ground elevation, profiles can be used to show other characteristics, such as hydraulic
grade, pressure, and constituent concentration.
Although profiles in general are not limited to a specific alignment, piping network
models are usually concerned with a specific profile alignment type called a network
walk (for more information, see “Walk” on page 13-554).
Setting up a profile is a matter of selecting the walk and the attribute on which the
profile is to be based. The Profile Setup dialog box includes:
In addition, the network walk can be manipulated by using some of the associated
options:
Note: In AutoCAD mode, you cannot use the right-click context menu
command Repeat to re-open the Profile Setup dialog box.
• Reverse—Reverse the order of the walk. The first node in the list becomes the
last, and the last node becomes the first.
• Remove All—Remove all elements from the current walk.
• Remove All Previous—Remove all elements that appear before the selected
element in the list. If the selected element is a pipe, the associated node will not be
removed.
• Remove All Following—Remove all elements that appear after the selected
element in the list. If the selected element is a pipe, the associated node will not be
removed.
When everything is set up to your satisfaction, click the Profile button to generate the
graph.
The Profile Plot window displays the results of an analysis in a profile format. The
plot can be copied to the Windows clipboard or printed out directly. By selecting the
Options > Graph Options menu button, you can also adjust the titles, axes, colors,
and other characteristics of the graph.
Note: For an extended period simulation, the extents of the axes are
determined based on the minimum and maximum attribute
values for the entire time step, not just the current time step.
This is done so that stepping through the time steps gives a
more accurate portrayal of the system behavior without
rescaling.
There is also a time toolbar on the Profile Plot window that allows you to follow the
profile through extended period simulation results (for more information, see “Steady-
State/Extended Period Simulation” on page 9-378).
Profiles can be exported to the AutoCAD drawing using the File menu on the Profile
Plot dialog box (for more information, see “Profile Plot” on page 13-553). Profiles
will be exported to an insertion point below the current drawing extents.
13.7.4 Walk
A walk is a collection of nodes and pipes that follows a specific path through the
network. It can include any type of Network Element, but cannot include annotations
or spot elevations.
A walk cannot double back on itself, so once a pipe has been selected it cannot be
included elsewhere in the walk.
After clicking the Select From Drawing button to define a walk, you will be returned
to the drawing editor. If there are already elements in the current walk, they will be
displayed in a highlighted mode. Otherwise, you need to begin a new walk by clicking
any pipe. The pipe and its end nodes will then be highlighted. Continue clicking pipes
to add them to the walk, or click highlighted end pipes to remove them from the
current walk.
Once you have selected a walk, press the Escape button on your keyboard, or right-
click with the mouse and select Done.
The data calculated in different scenarios (see “Scenarios” on page 8-364) can be
compared through the use of the Scenario Comparison window. This allows you to
create an annotated drawing to display the differences in the values for any two
scenarios.
The Annotation Comparison Wizard is used to create a drawing that contains text
elements displaying the differences between specific attributes of two scenarios (for
more information, see “Scenarios” on page 8-364). The Annotation Comparison
Wizard is identical to the Annotation Wizard (see “The Annotation Wizard” on
page 13-510) except it has one additional step. This step involves selecting the two
scenarios you wish to compare.
The value in Scenario 1 is subtracted from the value of Scenario 2, and the difference
is displayed. Therefore, if any specified attribute’s value is greater in Scenario 2 than
it is in Scenario 1, the difference is displayed as a positive number. If the value is
smaller in Scenario 2 than in Scenario 1, it is displayed as a negative number.
For example, suppose your model contains two scenarios. One is named 2002 Condi-
tions, and the other is named 2010 Conditions. To create a drawing that displays the
difference in velocity in a pipe between the 2002 scenario and the 2010 scenario, you
would use the Annotation Comparison Wizard. You could choose the 2002 scenario as
Scenario 1, and the 2010 scenario as Scenario 2. You would then complete the rest of
the steps in the wizard. The drawing produced would show positive values where the
velocity increased under 2010 conditions and negative values where the velocity
decreased under 2010 conditions.
The Scenario Comparison window allows you to view, print, export, and modify
scenario comparison annotations (for more information, see “Element Annotation” on
page 13-509).
Along the top of the window is a row of buttons that perform the various functions
listed below:
• File > Export To DXF—Exports the drawing in the standard .DXF file format.
For more information, see “Advanced DXF Import Techniques” on page 16-606.
• File > Export To AutoCAD (available only in AutoCAD mode)—Export the
drawing to the current AutoCAD drawing.
• Zoom Tools—Provides standard zoom capabilities for navigating within the
drawing.
• Options > Annotation Manager—Opens the Annotation Comparison Wizard to
add, delete, or modify the scenario comparison annotations. For more informa-
tion, see “Annotation Comparison Wizard” on page 13-555.
• Options > Annotation Height Multiplier—Modifies the text height for the
scenario comparison annotations.
• Options > Find Element—Allows you to locate an element by its label.
• Print Preview—Opens the Print Preview window to view how the printed pages
will look.
• Close—Closes the Scenario Comparison window.
• Help—Get quick access to this help topic.
Several user interface elements are available to let you modify the scenarios that are
being compared, and to control when the scenario comparison annotations are
updated. These interface elements are described in more detail below.
• Scenario 1—This row of controls is similar to the Analysis Toolbar on the main
window. This field allows you to choose, from the list of available scenarios, the
one that will be the baseline in the comparison.
• Scenario 2—This row of controls is identical to those described above in
Scenario 1, but instead of defining the baseline for the comparison, the scenario
you pick here will be compared to the baseline.
In Stand-Alone mode, several Graphic Annotation tools are provided for enhancing
the appearance of your drawing. Graphic annotations can be manipulated like any
other element in the Graphical Editor. You can add, move, and delete them just as you
would with any network elements.
To add graphic annotation to your drawing, use Tools > Layout > Graphic Annota-
tion, or use the tool palette located along the left side of the main window. The avail-
able tools are:
Tip: The program will calculate the area of a closed polyline. Right-
click the polyline for which you wish to determine the area and
select Enclosed Area.
• Border Tool—Add rectangles to your drawing for creating borders such as prop-
erty lines.
• Text Tool—Add text to your drawing for adding explanatory notes, titles, or
labels for non-network elements.
13.9.1 Legend
Legends are used to display the ranges of the active link and node color coding. The
legend tool adds a color coding legend to the drawing. This legend is automatically
updated as the color coding is modified.
Tip: You can double-click a color coding legend in the drawing to edit
the associated color coding parameters.
Editing of the legend figure is not required. In Stand-Alone mode, multiple legends
may be placed in the drawing to assist you when printing specified regions within the
drawing.
Access the scale dialog box by right-clicking on a color coding legend and selecting
the Scale Legend option.
The dialog box consists of a single numeric entry field. The value entered here is a
multiplier that is applied to the default legend size. The default legend size is deter-
mined automatically based on the scale of the drawing and the text height multiplier.
Therefore, a value of 2 entered in the Scale field will result in a Legend twice as big as
the default size; a value of 3 results in a legend three times as big as the default, and so
on.
• Copy—Copies the plot onto the Windows Clipboard for use in other applications.
For more information, see “Other Toolbar Buttons” on page 2-82.
• Print—Outputs the contents of the Plot window to the printer. For more informa-
tion, see “Other Toolbar Buttons” on page 2-82.
• Options > Graph Options—Allows you to customize the plot by changing the
graph’s axes, fonts, titles, etc. For more information, see “Graph Options” on
page 13-560.
• Close—Close the Plot window. For more information, see “Other Toolbar
Buttons” on page 2-82.
• Help—Provides access to help for the Plot window. For more information, see
“Using the Online Help” on page 2-72.
This window provides you with a preview of what will be printed. The window
contains the following buttons:
• Pg Up/Pg Dn—Navigate between pages of the report. For more information, see
“Other Toolbar Buttons” on page 2-82.
• Copy—Copy the reports to the Windows Clipboard. For more information, see
“Other Toolbar Buttons” on page 2-82.
• Print—Output the report to the printer. For more information, see “Other Toolbar
Buttons” on page 2-82.
• Options—For more information, see “Other Toolbar Buttons” on page 2-82.
– Print Setup—Change printer options, such as portrait or landscape page
layout.
– Fit to Page—The Fit to Page check box will not appear if the Print Preview
window does not contain a drawing, or if the drawing is in schematic mode.
When checked, the drawing will be scaled to fit within a single page. When
not checked, the drawing will be output using the drawing scale.
• Close—Close the Print Preview window. For more information, see “Other
Toolbar Buttons” on page 2-82.
• Help—Provides access to help for the Print Preview window. For more informa-
tion, see “Using the Online Help” on page 2-72.
These features allow you to customize the way a graph or pie chart looks. The dialog
box is divided into several tabs:
Titles
• Titles—There are three sets of titles for a graph: Graph title, X-Axis title and Y-
Axis title. Each title set contains two levels: title and subtitle. A pie chart has a
title and a subtitle.
• Title Font—This feature allows you to select and change the text font type for
specific items on the graph or pie chart. Use the selection list to choose the item
for which to change the font, then click the Ellipsis (...) button to select the
desired font type from the list of available fonts currently installed on your PC.
Note: You can specify to use grid lines for one or both axes.
• X-Axis—Place a check mark in this box to view grid lines corresponding to the
X-Axis labels.
• Y-Axis—Place a check mark in this box to view grid lines corresponding to the Y-
Axis labels.
• Line Color—Use this selection list to define the color to use for both axes grid
lines.
• Line Style—Use this selection list to define the line type (solid, dashed, etc) to
use for both axes grid lines.
• Fill Color—Use this selection list to define the color to use for background fill
within the plotting boundaries of the graph.
• Save as Default—Place a check mark in this box to save the current grid settings
as the default for subsequent graphs.
Legend
• Show Legend—A check mark designates that the legend will be included on the
graph or pie chart. Turn the check mark off if you do not wish to show the legend.
• Series—Each series represents a different curve on the graph or a slice on the pie
chart. If the graph contains only one curve, or the pie chart contains only one slice,
then it is designated as Series 1. Scroll through the list and select the desired curve
or slice (series number). Then, use one of the options below to customize it:
– Label—Name for the selected curve (series).
– Line Color—Color for the selected curve (series).
– Line Style (for graphs only)—Style for the selected curve (series).
– Line Width (for graphs only)—Width for the selected curve (series).
– Symbol (for graphs only)—Data point symbol to use for the selected curve
(series).
• Save as Default—Place a check mark in this box to save the current legend
settings as the default for subsequent graphs.
Engineering Libraries 14
The Haestad Methods’ Engineering Libraries and Library Managers are powerful and
flexible facilities for managing specifications of common materials, objects, or
components that are shared across projects. Some examples of objects that are speci-
fied through engineering libraries include pipe materials, pipe sections (in StormCAD
and SewerCAD), and sanitary loads (in SewerCAD only). You can modify engi-
neering libraries and the objects they contain by using the Tools > Engineering
Libraries option, or by clicking the Ellipsis (...) buttons available next to the fields in
dialog boxes that make use of library objects.
The data for each engineering library is stored in a tabular ASCII file with the exten-
sion .HLB.
Tip: We strongly recommend that you only edit these files using the
built-in facilities available by selecting Tools > Engineering
Libraries. If absolutely necessary, these library files may be
edited or repaired using any ASCII editor.
The standard set of engineering libraries shipped with your Haestad Methods product
resides in the product’s program directory. By default, each project you create will use
the objects in these default libraries. In special circumstances, you may wish to create
custom libraries to use with one or more projects. You can do this by copying a stan-
dard library or by creating a new library and setting the path in the Engineering
Library Manager to the path for the custom library.
When you change the properties for an object in an engineering library, those changes
will affect all projects that use that library object. At the time a project is loaded, all of
its engineering library objects are synchronized to the current library. Objects are
synchronized based on their label. If the label is the same, then the object’s values will
be made the same. If any library referenced in a Library Manager path cannot be
found at the location specified, then the standard library in the program directory will
be used. Once a project is created, it is not necessary to have access to the engineering
library in order for that project to be edited or analyzed.
• Library—This column lists the kind of object stored in the referenced library.
• Path—This column lists the path to the library to be used for objects of a certain
kind within the current project. By default, the path will reference the standard
library shipped with your Haestad Methods product. To browse for other libraries
of the same type that you may have already created, select the library, and click
the Browse column.
The buttons will perform their respective actions for the row that is currently high-
lighted. These buttons are as follows:
Note: Most users do not need to create custom libraries or edit the
library paths. You only need to change path values if you wish to
create and use custom libraries.
• Browse—Click this button if you wish to search your computer or network and
locate other engineering libraries. To reference a library in the path field, the
library must already exist. To create it you may copy a standard library using
Windows File Manager or Explorer, or click New as described below.
• Edit—Click this button if you wish to add, delete, or edit the objects within a
specific kind of engineering library.
• New—Click this button if you wish to create a new library.
The engineering library editor is where you add, delete, or edit the objects within a
specific kind of engineering library. To access the engineering library editor, select the
appropriate library and click Edit. The Engineering Library Editor dialog box consists
of a table with two columns:
The following command buttons appear on the Engineering Library dialog box:
• Insert—Insert a new, unlabeled object into the current library. You must then
click the Edit button to edit the label and add the appropriate values before the
library will be valid. Library objects will be sorted by label in ascending alphabet-
ical order the next time you open the Engineering Library Editor dialog box.
• Duplicate—Create a copy of the currently highlighted library object.
• Delete—Delete the object represented by the highlighted row. Note that this
command always deletes objects from the library, but never deletes an object from
your current project if it is in use. To change the library object that is currently in
use by a project, proceed to the dialog box containing the field where the library
object is referenced and select a different library object.
• Edit—Access the object properties editor.
• Usage—Use this button to specify specific uses for the material. (This only
applies to the material engineering library.)
Material Properties
A customizable library of materials is provided. Materials provide the pipe or channel
with a default value for the roughness coefficient used in the friction equations. There-
fore, a material must be defined with the following properties:
• Culvert Inlet Material Type—Limits the type of culvert inlets that are available
when the material is used as the culvert material (used in CulvertMaster). The
inclusion of this property allows the sharing of libraries among Haestad Methods’
products.
• Manning’s Coefficient—Default value for Manning’s n. This is a number gener-
ally between 0.009 and 0.300. For more information, see “Manning’s Equation”
on page B-731.
• Roughness Height—Default value for absolute roughness height. This will be
used in conjunction with the Darcy-Weisbach friction equation. The roughness
height has units of length, typically mm or ft. For more information, see “Darcy-
Weisbach Equation” on page B-729.
• Kutter’s n Coefficient (StormCAD and SewerCAD)—Default value for
Kutter’s formula. This is a unitless number generally between 0.009 and 0.300.
• C Coefficient—Default value for Hazen William’s C. This is a unitless number
generally between 60 and 150. For more information, see “Hazen-Williams Equa-
tion” on page B-729.
The check boxes next to each item specify whether the friction method will be avail-
able for the material. For example, some materials, such as asphalt, only have
Manning’s n values defined.
Usage
This dialog box only applies to the Material Library. Usage is what specifies the type
of section or pipe that will be available for each material. Use the following
commands to select which sections you would like to be available for each material:
[ > ]: Adds the selected items from the Available Items list
to the Selected Items list.
[ >> ]: Adds all of the items in the Available Items list to the
Selected Items list.
[ < ]: Removes the selected items from the Selected Items
list.
[ << ]: Removes all items from the Selected Items list.
• Type—General type of fitting or loss element. This field is used to limit the
number of minor loss elements available in choice lists. For example, the minor
loss choice list on the valve dialog box only includes minor losses of type valve.
You cannot add or delete types.
• K Coefficient—Headloss coefficient for the minor loss. This unitless number
represents the ratio of the headloss across the minor loss element to the velocity
head of the flow through the element.
Liquid Properties
An editable library of liquids is provided. All hydraulic or hydrologic networks trans-
port a particular liquid. Liquids are defined with the following properties:
Constituent Properties
An editable library of constituents is provided. Constituents are used in water quality
analyses where the tracking of the growth or decay of a constituent is desired. The
Constituent dialog box contains the following two tabs:
• General Tab—This tab allows you to input general constituent properties, such as
the name of the constituent, diffusivity, and concentration. For more information,
see “General Tab” on page 14-568.
• Reaction Rates Tab—This tab allows you to input the reaction order and reaction
rate for Bulk and Wall reactions. For more information, see “Reaction Rates Tab”
on page 14-569.
General Tab
The water quality module of WaterCAD can track the growth or decay of a substance
by reaction as it travels through a distribution system. In order to do this it needs to
know the rate at which the substance reacts and how this rate might depend on
substance concentration. Reactions can occur both within the bulk flow and with
material along the pipe wall. Bulk fluid reactions can also occur within tanks.
WaterCAD allows a modeler to use different reaction rates for the two zones of reac-
tion. This tab allows you to input the reaction order and reaction rate for Bulk and
Wall reactions. This tab is divided into two sections:
• Bulk Reaction Section—Bulk flow reactions are reactions that occur in the main
flow stream of a pipe or in a storage tank, unaffected by any processes that might
involve the pipe wall. The following input fields are available in this section:
– Order—This value is used to set the order of reactions occurring in the bulk
fluid. WaterCAD is capable of modeling nth order reactions.
– Bulk Reaction Rate—Default bulk reaction rate coefficient assigned to all
pipes. Use a positive number for growth, a negative number for decay, or 0 if
no bulk reaction occurs.
• Wall Reaction Section—Wall reactions are reactions that occur with material on
or near the pipe wall. The rate of this reaction can be considered to be dependent
on the concentration in the bulk flow. The following components comprise this
section:
– Order—This value is used to set the order of reactions occurring at the pipe
wall. The value can be 0 or 1.
– Roughness Correlated—This check box will make all pipe wall reaction
coefficients dependent on pipe roughness.
– Wall Reaction Rate—This input field is active when the Roughness Corre-
lated check box is clear. This value indicates the wall reaction rate coefficient
assigned to all pipes. Use a positive number for growth, a negative number for
decay, or 0 if no wall reaction occurs. The units used by this field will change
depending on the Order that is specified.
Shapefile and 15
Database Connections
Haestad Methods’ GIS/Database Connection feature provides the modeler with the
ability to dynamically exchange data with a variety of applications. You can establish
a connection between your hydraulic model and relational and non-relational database
management systems (RDBMS and DBMS), spreadsheets, and ESRI shapefiles. The
term external file is used to generically refer to any one of these types of files. Where
information pertains to a specific type of external file, that type will be used.
The purpose of the GIS/Database Connection system is to provide you with a safe and
convenient means of exchanging data with external files. This system has several
advantages over providing an open file format for direct manipulation by the end user.
Generality—Open file formats have a specific form that must be adhered to. This
restrictiveness is problematic for both the developer and the end user. Developers are
now under additional constraints when modifying the software. They must be cogni-
zant of the fact that users may depend on this format, and are therefore less free to
modify it. The end user, on the other hand, has no control over this format, and is at
the mercy of the developer. A new version may change the format completely, and all
of your existing data must be converted. In addition, the file format is rarely conve-
nient for an end user since it is typically chosen for efficient processing by the
program. The GIS/Database Connection system allows you to exchange data between
the model and any arbitrarily defined external files. This flexibility allows you to set
up a database or spreadsheet, and it frees the developer to use a file format that is most
efficient for the program.
Unit Conversion—The quantities used in hydraulic models almost always have some
unit associated with them. For example, pipe lengths are typically expressed in meters
or feet. General purpose database and spreadsheet applications do not support the
concept of unitized numbers. A pipe length, for example, is represented as 100.0. Is
that 100.0 meters or 100.0 feet? The GIS/Database Connection interface allows you to
specify the database unit so the numbers can be converted from the model unit to the
database unit and vice versa.
Virtually all model inputs and calculated results can be exchanged through the GIS/
Database Connection system. The system not only supports the update of existing
model elements and external file records, but also the creation and deletion of these
elements and records. For example, by performing a Sync In operation (explained in
detail below), an entire hydraulic model can be built from data stored in a spreadsheet.
Likewise, an empty spreadsheet can be completely populated with data from an
existing hydraulic model by performing a Sync Out operation. The spreadsheet can be
kept synchronized with the hydraulic model over the course of a project as new
elements are added or deleted, and the input and output data is modified.
• Connections
• Table or Shapefile Links
• Field Links
The first tier is the Connection. Connections are organized and managed by Connec-
tion Managers. There are two types of Connection Managers: a Database Connection
Manager (see “Database Connection Manager” on page 15-574) and a Shapefile
Connection Manager (see “Shapefile Connection Manager” on page 15-586). As the
names imply, the first manages connections to databases and spreadsheets, and the
second manages connections to ESRI shapefiles. The Connection Managers are
similar, and provide an interface for adding, editing, deleting, duplicating, and
synchronizing Connections.
To exchange data between the model and external files, a Connection must be created
and then synchronized. The two synchronization operations that can be performed on
a Connection are Sync In and Sync Out. Sync In synchronizes the model to the data
contained in external files. In this case, the model acts as a consumer of the data, and
external files act as the data provider. Sync Out synchronizes external files to the data
contained in the model. Thus, for Sync Out, the model is the data provider and
external files are the consumers. Exactly what data is exchanged during synchroniza-
tion depends on how the Connection is defined. Intuitively, a Connection must specify
which files are to be connected to the model, and what data in each file is to be
exchanged.
The second tier is the Table or Shapefile Link. A Database Connection uses these links
to gather and store information. Each Connection can contain one or more Table or
Shapefile Links. Each of these links specifies the type of external file with which to
exchange data (implied with shapefile links), the name of the file, and, if the file
contains multiple tables, which table within the file is of interest.
The third tier of the system is the Field Link. Each Table or Shapefile Link uses one or
more Field Links to specify exactly what data in the external file is going to be
exchanged. A Field Link defines the fundamental mapping between a field in an
external file and a field in the model. For example, a field link may be used to map the
GRND_FT field of an external database file to the Ground Elevation attribute of the
model.
In summary, a Connection defines a link between the model and external files. Table
or Shapefile Links and Field Links are used to specify files, tables, and fields to be
linked. Once a Connection is created, it can be synchronized in or out. The synchroni-
zation action will update models (“in” direction) or the external files (“out” direction).
The rest of this section provides details on the dialog boxes and windows used to
interact with the GIS/Database Connection system. Although Database Connections
and Shapefile Connections are similar in concept, there are differences in the inter-
faces and options. Therefore, they will be discussed in separate sections.
This manager, accessed by selecting File > Synchronize > Database Connections,
helps you track and work with database connections. On the left side of this dialog box
is a list of the current Database Connections.
There are several options available in the Database Connection Manager, including:
When synchronizing in, output fields such as hydraulic grade line or computed pipe
flow will not be updated. If an attempt is made to update an output field during a
Synchronize In operation, a Read Only Warning will be issued in the status log, indi-
cating which attribute could not be updated.
When synchronizing out, all mapped information will be overwritten in the database
files, including input and output conditions.
The Database Connection Manager (see “Database Connection Manager” on page 15-
574) is initialized with four standard database connections for importing and
exporting model data using simple File menu commands. These standard connections
are as follows:
• [Project Export - SI]—Used for the File > Export > Database command when the
global unit system is set to System International.
• [Project Export - US]—Used for the File > Export > Database command when the
global unit system is set to US Customary.
• [Project Import - SI]—Used for the File > Import > Database command when the
global unit system is set to System International.
• [Project Import - US]—Used for the File > Import > Database command when the
global unit system is set to US Customary.
The purpose of the standard database connections is to provide a powerful yet easy-to-
use method of exposing the model data to external applications using a standard data-
base format, Microsoft Access database (.MDB). This method is powerful because it
provides you with all the flexibility and functionality of a user-defined database
connection, such as unit conversion and type coercion. It is easy to use because it is
predefined with all of the standard model data, and requires nothing more than a file
name to execute.
• The target database for a standard database connection is determined at the time it
is synchronized. During a Synchronize In operation, you will be prompted to
choose an existing Microsoft Access Database (.MDB). During a Synchronize
Out, you will be prompted for the name of a new Access database. If an existing
filename is chosen, a warning will indicate that the existing file will be over-
written.
• The field names of the external database tables are editable from within the Table
Link Editor (for more information, see “Database Table Link Editor” on page 15-
579).
• The Database Type on the Table Link Editor cannot be changed.
• Standard connections can be reset to their factory default values. To do this, select
a standard connection from the list in the Database Connection Manager, and click
the Reset button.
By default, the standard database connections include a table link for each element
type, and field links for all the attributes related to that element type, with some minor
exceptions. The default units for the specified unit system (SI or US) are used for unit-
ized attributes. The Key Label field is designated as the key field for each of the table
links, and it is created as an index for the table during database creation. No duplicates
are allowed.
As noted above, the field links external field names can be edited directly within the
Table Link Editor. It is valid to have more than one internal attribute mapped to a
single external field name. Although this is not the case for the standard connections
in their factory default state, you can create this condition. Under this condition, the
following behaviors will be observed:
• Import (Synchronize In)—All of the attributes will be populated with the value
of the database field if it is a valid value for the specified attributes.
• Export (Synchronize Out)—The database field will be populated with the last
non-blank attribute value.
By default, the Standard Database Export creates Microsoft Office 2000 Access files.
These files cannot be read with Office 97. If you want to use Office 97, you need to
use a text editor to edit the HAESTAD.INI file located in your HAESTAD directory,
and replace the line:
ConnectionDatabaseFormat=0
with:
ConnectionDatabaseFormat=3
The Database Connection Editor is used for defining the group of table links to be
included in the connection. The Database Connection Editor has tabs for Database
Connection (see “Database Connection Tab” on page 15-578) and Synchronization
Options (see “Synchronization Options Tab” on page 15-579).
There are three standard operation buttons at the bottom of the dialog box:
• OK—Accepts the current condition of the connection, including any changes that
have been made.
• Cancel—Closes the Database Connection Editor without saving any changes.
• Help—Opens the context-sensitive help system.
• Database Type—Type of database to which the link will be made. There are
many types of external files that can be linked into the model. Among these are
Btrieve, Dbase, Excel, FoxPro, Jet (.MDB files, such as Access), Lotus, and
Paradox, as well as Oracle, Sybase, SQL Server, or any other Open Database
Connectivity (ODBC) compliant database.
• Database File—File referenced by the table link. To browse directories and
specify a file path, click the Ellipsis (...) button.
• Database Table—Once the external file has been selected, it will be scanned for
tables (or worksheets), which will then be available for selection from this field.
Only one table can be linked for each table link, but table links can be easily
duplicated and edited from the Database Connection Editor (for more informa-
tion, see “Database Connection Editor” on page 15-577).
• Table Type—Defines the type of data that can be mapped for this particular table
link. For example, a Pipe type of table link means that the available model
attributes to be mapped are items such as material, roughness coefficient, flow
rate, and velocity.
• Key\Label Field—Key by which the entire database-model mapping is defined.
The model references each element by a unique alphanumeric label, and the data-
base must contain the same labels in one of the columns. If the key field for you
data type is numeric, you will want to be sure that your model labels include
numbers only. Make sure that there are no duplicate element labels/keys within
the data source.
The Field Links group is a manager for the attribute mapping. The tabular list in this
group has three field columns:
Note: Clicking the button in the Field Links cell will open the
Quick Attribute Selector (for more information, see “Quick
Attribute Selector” on page 2-56). This will allow you select
attributes from organized categories to more easily find needed
attributes.
• Database—Each item in this column is a heading from the database table, which
correlates to the item in the model being mapped.
• Unit—This column defines the units of the values in the database. During a
synchronization operation, the values will automatically be converted to the
appropriate units to maintain the desired unit systems in both the model and the
database. No conversion on your part is required.
In addition to the standard table operations of Insert, Duplicate, and Delete, the Field
Links Manager offers the following additional operation:
• Select—Opens the Select Field Links dialog box (see “Select Field Links” on
page 15-581) for an efficient method of selecting the fields of interest from the
available model fields.
• Available Items—Model attributes that are available for mapping in the current
Table or Shapefile Link.
• Selected Items—Model attributes that have been selected for mapping.
The following buttons are provided to move items from one list to the other:
Note: The Select Field Links dialog box provides functions similar to
the Table Setup dialog box. For more information on topics such
as selecting multiple attributes, see “Selected Table Columns” on
page 7-333).
• [>]—Moves the selected item or items from the Available Items list to the
Selected Items list.
• [>>]—Moves all items from the Available Items list to the Selected Items list.
• [<]—Moves the selected item or items from the Selected Items list to the Avail-
able Items list.
• [<<]—Moves all items from the Items Selected list to the Available Items list.
15.1.4 ODBC
Although most computers with Windows will have ODBC present, the exact data-
bases you can interface via ODBC will depend on the databases and drivers installed
on your computer.
ODBC is powerful because it is generic and can access many database systems,
including mainframe, GIS, and legacy systems. However, because ODBC must be
general, it is slower, more complex, and more difficult to use than working directly
with a database. When you have the option to work directly with a database, you will
usually find it faster and easier than going through ODBC.
For specific information about ODBC in your environment, see your database
vendor’s documentation. For general information on ODBC, see the online help for
the ODBC Data Source Administrator Program. To find the Administrator Program,
go to the Control Panel of your computer and double-click the ODBC icon. Choose
the Help button on the dialog box that appears, and go to the Contents tab.
Note: You will also see database systems such as Microsoft Jet or
Excel that are supported directly via choices in the Database
Type list. In general, the Database Connection feature will work
faster by choosing these database systems directly rather than
going through ODBC.
If you choose a data source from the Administrator Program, upon returning to the
Table Link Editor (see “Database Table Link Editor” on page 15-579) you will see an
ODBC connect string in the Database File field, rather than a file path. This connect
string is a series of key = value pairs, separated by semicolons. It specifies the data-
base location, security parameters, and access options needed by the particular ODBC
driver you are using. In general, you should not edit this string in any way as you
could introduce an error that would prevent the ODBC driver from accessing the data
source you have selected.
Using ODBC to access SQL Server databases will result in an error #3197 if the
synchronization attempts to delete a database record. To avoid this error, clear
Remove Objects on the Synchronization Options tab of the Database Connection
Editor (for more information, see “Database Connection Editor” on page 15-577).
If this happens, confirm that ODBC is installed and operating correctly on your
computer. Double-check that the ODBC data source you are trying to reference actu-
ally exists and is accessible by other programs in your environment. Check the
HAESTAD.LOG file for error messages pertaining to ODBC. If none of these steps
helps you correct the problem, please call Haestad Methods’ Technical Support.
Given the diversity of ODBC database drivers and the difficulty of reproducing your
networked computing environment, we cannot guarantee that the Database Connec-
tion feature will function with all ODBC databases. However, we will try to determine
the source of your problem and offer a fix or workaround if possible.
If you edit the connect string manually, you will need to re-enter the dependent fields
such as Database Table and Field Links.
When WaterCAD works with database connections, it is using a file with an .HDC
extension, which stores the information regarding database files, table links, and field
mapping.
When you open a WaterCAD project file (.WCD), WaterCAD first looks for a file in
the same directory and with the same filename but with the .HDC extension. If it finds
this file, it uses the database connectivity information contained therein. If it does not
find this file, then it defaults to a file in the installed WaterCAD directory called
Wtrc.HDC.
If there are several people working on different projects on different computers, but
they still wish to have common connectivity information, the appropriate .HDC file
can be copied (and renamed if necessary) to the individual local drives.
From the File menu, select Synchronize > Database Connections to open the Data-
base Connection Manager. Click Add.
• Add—Creates a new shapefile connection. This will open the Shapefile Connec-
tion Wizard (for more information, see “Shapefile Connection Wizard” on
page 15-586).
• Edit—Changes the configuration of the currently selected connection. This will
open the Shapefile Connection Editor (for more information, see “Shapefile
Connection Editor” on page 15-587).
• Duplicate—Duplicates the selected connection.
• Delete—Deletes the selected connection from the list.
• Synchronize In—Updates the network attributes from the shapefiles linked to the
selected connection.
• Synchronize Out—Updates all shapefiles within the connection from the current
status of the model.
Synchronize Now?
The last step in the Shapefile Connection Wizard (see “Shapefile Connection Wizard”
on page 15-586), the Synchronize Now? Window, allows you to specify whether you
wish to synchronize the Shapefile Connection immediately after editing it in the
wizard. The following options are available:
The Shapefile Connection Editor is similar to the Database Connection Editor (for
more information, see “Database Connection Editor” on page 15-577). It offers the
tabs for Shapefile Connection and Synchronization Options.
Shapefile Connection
The Shapefile Connection tab of the Shapefile Connection Editor is similar to the
Database Connection tab of the Database Connection Editor (for more information,
see “Database Connection Editor” on page 15-577). It contains the following:
The Shapefile Link Wizard is used when adding new Shapefile Links to a Shapefile
Connection, or when editing the existing links of a Shapefile Connection. The first
step of the wizard is bypassed when editing an existing link. The basic steps of the
wizard are as follows:
• Import Shapefile—Choose the shapefile to which you would like to connect, and
the Key/Label field to specify the column in the shapefile that contains the
matching element labels in the network. Define as many field links as necessary.
For each link, specify the model attribute, the associated shapefile column, and
the Unit in which the shapefile attribute is stored. For more information, see
“Import Shapefile Link Editor” on page 15-591.
• Shapefile Link Summary—Quick review of the details specified in the wizard.
For more information, see “Shapefile Link Summary” on page 15-589.
As with all wizards, you can move forward or backward through the process to make
changes. Click the Finished button when you are done making changes to the Shape-
file Link.
The Import Shapefile Wizard will guide you step-by-step through the process of
importing ESRI shapefiles (for more information, see “Shapefile Format” on page 15-
596). These are the basic steps for importing shapefiles:
• Select Element Types—Select the type of network elements you wish to import.
For more information, see “Select Element Types” on page 15-590.
• Shapefile Synchronization Options—Specify the spatial data unit and configure
other options. For more information, see “Shapefile Synchronization Options” on
page 15-590.
• Import Shapefile—Browse to and select the shapefiles you would like to import,
and select the Key/Label field to specify the column in the shapefile that contains
the matching element labels in the network. Define as many field links as neces-
sary. For each link, specify the network attribute, the associated shapefile column,
and the Unit in which the shapefile attribute is stored. For more information, see
“Import Shapefile Link Editor” on page 15-591.
• Create Shapefile Connection—Select whether you want to establish a Shapefile
Connection. The Shapefile Connection allows you to update the shapefile with
values from your model, or to update your model from the shapefile. For more
information, see “Create Shapefile Connection” on page 15-592.
While using the wizard, you can move forward or backward through the process to
make changes by clicking the Next and Back buttons. Click the Finished button when
you are done making changes to import shapefiles.
To select an element type for Shapefile Import, Export, or Connection, put a check
mark in the corresponding box.
The first group of options is only available when editing a Shapefile Connection.
These options are exactly the same as their counterparts in Database Synchronization
Options (see “Synchronization Options Tab” on page 15-579), and are as follows:
The rest of the options are available during the Shapefile Import Wizard or through the
Shapefile Connection Editor.
Shapefile Unit—Choose a unit from the available list. This is the unit of the spatial
data in the shapefile. For example, if the X and Y coordinates of the shapefile repre-
sent feet, choose feet from the list. If they represent meters, select meters. This unit
must be the same for every shapefile in the Shapefile Connection. If you wish to
import shapefiles that have different spatial data units, create a separate connection for
each unit.
As noted in the Table Link Editor (see “Database Table Link Editor” on page 15-579),
to create a pipe from an external file it is necessary for a pipe to have a start node and
stop node associated with it. Typically, these connectivity associations are created by
synchronizing the + Start Node and + Stop Node attributes of the pipe. Since a shape-
file contains spatial data, it is also possible to establish these associations based on the
location of nodes relative to the end points of the pipe. The following options allow
you to customize this behavior:
• Shapefile—Location of the file that is being referenced by the shapefile link. This
is identical to the Database File parameter of the Table Link Editor.
• Key/Label Field—Key by which the entire shapefile/model mapping is defined.
• Field Links—Identical to the Field Links group of the Database Table Link
Editor.
From the File menu, select Import > Shapefile to access the Import Shapefile Wizard
(for more information, see “Import Shapefile Wizard” on page 15-589).
• Choose the element types that you wish to import by selecting one or more of the
check boxes in the list, and then click the Next button.
• Configure the options for this import. First, select the unit for the spatial data of
the shapefile. Then, if appropriate for your situation, click the Establish by
Spatial Data check box in the When Missing Connectivity Data group, and
enter a value in the Tolerance field. For more information, see “Shapefile
Synchronization Options” on page 15-590. Click the Next button to proceed to the
Shapefile Link Editors.
• You will be presented with an Import Shapefile Link Editor (see “Import Shape-
file Link Editor” on page 15-591) for each element type you choose to import.
Perform the following steps for each Import Shapefile Link Editor:
– Enter the name of the shapefile you wish to import for the specified element
type. Click the Ellipsis (...) button to interactively browse for and select your
shapefile.
– Choose the Key/Label field to define the column in the shapefile that maps to
the element labels in the model.
– Define as many field links as necessary by selecting the model attribute and
the associated shapefile column and unit. Use the Select button for making the
selection process more efficient. Click the Next button.
• Click the Add Shapefile Connection check box if you wish to create a persistent
link between the shapefiles you are importing and the model. If you choose to
create a Shapefile Connection, enter an alphanumeric label to identify the connec-
tion. Click the Finished button to import the shapefiles.
This program has the capability of exporting network elements in the ESRI shapefile
format (for more information, see “Shapefile Format” on page 15-596). The ESRI
shapefile is actually three files that together define the spatial and non-spatial
attributes of a map feature. In the case of Haestad Methods hydraulic models, map
features are network elements (e.g., pipes, junctions). Exporting shapefiles creates
brand new files. If you are exporting a shapefile to a directory that already contains a
shapefile of the same name, the existing shapefile will be completely overwritten. If
you wish to update the shapefile rather than overwriting it, use the Shapefile Connec-
tion feature.
• Select Element Types—Choose the type of network elements you wish to export.
Each type of network element will have its own shapefile associated with it. This
component is identical to the Import Wizard’s Select Element Types component.
For more information, see “Select Element Types” on page 15-590.
• Export Shapefile Link Editor—Enter a name for each shapefile you wish to
create. Each shapefile name must be no more than eight characters in length, and
should not be duplicated. Define as many field links as necessary. For each link,
specify the network attribute. The shapefile variable will default to a preset value,
which can be edited. For more information, see “Export Shapefile Link Editor” on
page 15-594.
While using the Wizard, you can move forward or backward through the process by
clicking the Next and Back buttons. When you are finished defining it, click the
Finished button to create the shapefile.
• Shapefile—The name and location for the file that is being exported. The shape-
file name is limited to eight characters.
The Field Links group is used to specify the attributes and shapefile column headings
that you wish to export, as follows:
Note: The spatial data in the shapefiles being created will be in the
current display unit for map coordinates. For example, if the X
and Y or Northing and Easting values in the model are displayed
in meters at the time of the export, then the spatial data in the
shapefiles created will also be in meters.
From the File menu, select Export > Shapefile to access the Export Shapefile Wizard
(for more information, see “Export Shapefile Wizard” on page 15-593).
• Select the element types that you wish to export by selecting one or more of the
check boxes in the list, then click the Next button.
• You will be presented with an Export Shapefile Link Editor (see “Export Shape-
file Link Editor” on page 15-594) for each element type you choose to export.
Perform the following steps for each Export Shapefile Link Editor:
– Enter the name of the shapefile you wish to create for the specified element
type. Click the Ellipsis (...) button to interactively browse for a directory in
which to store the shapefile.
– Define as many field links as necessary by selecting the model attribute and
providing a name for the associated shapefile column. Use the Select button
for making the selection process more efficient. Click the Next button to
continue.
– Click the Add Shapefile Connection check box if you wish to create a persis-
tent link between the shapefiles you are exporting and the model. If you
choose to create a Shapefile Connection, enter an alphanumeric label to iden-
tify the connection. Click the Finished button to export shapefiles.
When WaterCAD works with shapefile connections, it is using a file with an .HSC
extension, which stores the information regarding the shapefiles and field mapping for
each element type.
When you open a WaterCAD project file (.WCD), WaterCAD first looks for a file in
the same directory and with the same filename but with the .HSC extension. If it finds
this file, it uses the shapefile connectivity information contained therein. If it does not
find this file, it defaults to a file in the installed WaterCAD directory called Wtrc.HSC.
If there are several people working on different projects on different computers, but
they still wish to have common connectivity information, the appropriate .HSC file
can be copied (and renamed if necessary) to the individual local drives.
An 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—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—A binary file with an extension of .SHX. It contains the byte position
of each record in the main file.
• Database File—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.
This feature allows you to quickly construct a network based on the entities contained
in an AutoCAD drawing. 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
and Blocks can be converted to any available node type.
To help alleviate some of the problems that you may encounter during the import
process, a comprehensive drawing review is also performed. During the conversion
process, the network is analyzed and potential problems are flagged for review. After
performing the conversion, the Drawing Review window (see “Drawing Review
Window” on page 5-267) will allow you to navigate to and fix any problems that are
encountered.
Depending on how your drawing layers are set up, you may be able to save yourself a
considerable amount of data entry time by converting your drawing in multiple passes.
For example, if your 12-inch pipes are located on a 12InchPipes layer, 18-inch pipes
are on a 18InchPipes layer, etc., you can import layers one at a time. Just set up your
prototypes prior to importing that layer.
To assist you in this process, your conversion settings will be retained between
imports. Therefore, on subsequent passes you will need to revise your prototypes and
specify the next layer to be imported.
The Polyline to Pipe Wizard will guide you step-by-step through the process of
converting your entities to elements.
• Step 1—The import behavior depends on the mode in which you are working:
Stand-Alone—Specify the .DXF file that you would like to import. For more
information, see “Polyline to Pipe Wizard—Step 1 (Stand-Alone Mode Only)” on
page 16-601.
AutoCAD—This step is skipped. You will be asked to select the entities to
convert before accessing the Wizard.
• Step 2—Specify the polyline to pipe conversion options. For more information,
see “Polyline to Pipe Wizard—Step 2” on page 16-602.
• Step 3—Specify how T-intersections are to be handled. For more information, see
“Polyline to Pipe Wizard—Step 3” on page 16-602.
• Step 4—Specify how blocks should be converted (for .DXF files that contain
blocks). For more information, see “Polyline to Pipe Wizard—Step 4 (for .DXF
Files with Blocks)” on page 16-603.
• Step 5—Configure prototypes. For more information, see “Polyline to Pipe
Wizard—Step 5” on page 16-603.
• Step 6—Specify the layers to be imported. For more information, see “Polyline to
Pipe Wizard—Step 6” on page 16-604.
Note: If you are running in AutoCAD mode, this step will be skipped.
AutoCAD-mode users will be asked to select the entities to be
converted before accessing the Polyline to Pipe wizard.
• DXF Filename—Specify the name of the .DXF file you would like to import. Use
the Browse button to select the file interactively.
• DXF Unit—Specify the .DXF conversion unit (the unit that your .DXF file is in).
For example, if your drawing is in SI units, specify meters (m). If your drawing is
in architectural units, specify inches (in).
Note: If the conversion does not yield the desired results, you can
repeat the conversion process using different settings. Be sure
to save your project before performing the conversion.
This step allows you to specify the following Polyline to Pipe conversion options:
In general, you will want to create a default node at polyline endpoints. However, if
your network already contains nodes at polyline endpoints, or if your drawing
contains blocks at polyline endpoints that are to be converted to nodes, you may wish
to specify that the polyline not be converted. Polylines that cannot be converted,
because one or both end nodes are missing, will be flagged for review at the end of the
conversion process.
Note: The tolerance that you specify in Step 2 (see “Polyline to Pipe
Wizard—Step 2” on page 16-602) will also be used for T-
intersection processing.
This step allows you to specify how T-intersections (pipe split candidates) should be
handled.
Nodes that fall within the specified tolerance of a pipe are referred to as pipe-split
candidates. There are two ways to handle these:
• Join the pipes at the intersection—The pipe-split candidate will be used to split
the intersecting pipe.
• Do not join the intersecting pipes—Pipe-split candidates will be flagged for
later review using the Drawing Review window.
Note: When you select an AutoCAD block, the preview pane will
display the graphical representation of that block. This step will
be skipped if there are no AutoCAD Blocks in your drawing.
If your AutoCAD drawing contains blocks, this step will appear, allowing you to
convert AutoCAD blocks, if desired.
If you would like to convert blocks to nodes, activate the Yes toggle. A table with two
columns will appear, allowing you to map the AutoCAD blocks you would like to
convert to any of the available node element types. The AutoCAD block column
provides you with a list of available blocks to convert. The Element column provides
you with a list of available node element types.
For each AutoCAD block you would like to convert, specify the type of node element
you would like to create.
Specify the layers that contain the entities you would like to convert. Use the Preview
Drawing button to preview the elements on the selected layers. This step can be used
in conjunction with the Prototype step to allow you to convert your drawing in
multiple passes (for more information, see “Converting Your Drawing in Multiple
Passes” on page 16-600).
Drawing Preview
Use the Preview Drawing button to view the elements in the .DFX file that will be
converted.
Next to the Preview Drawing button is a check box labeled Only include elements that
will be converted.
Turn the toggle on to preview the entities that will be converted. The entities to be
converted are based on the settings you specified in the Polyline to Pipe Wizard (see
“Polyline to Pipe Wizard” on page 16-600), such as type of line entities, blocks, and
layers to be converted.
1. Select the File > Import > DXF Background command to access the Import
DXF File dialog box.
2. Select the .DXF file you wish to import, and click the Open button.
Note: You will be able to redefine all elements, except pipes, as blocks
in AutoCAD. Pipes will be exported as polylines, so you will be
able to set their line weight in AutoCAD.
A project can be saved in a format for use by AutoCAD, and many other common
CAD-based applications. When you use the Export command, a window appears so
that you can enter the file name, drive, and directory of the .DXF file you are saving.
A status bar appears at the bottom of the screen as the file is being exported.
To export the drawing plan view, select File > Export > DXF file.
When exporting a DXF file from WaterCAD in Stand-Alone mode, pipes will be
exported as Polyline entities, allowing you to change the line weights in AutoCAD.
Miscellaneous elements (flow arrows, control symbols, etc), nodes, pumps, and valves
will be exported as Block entities (named HMI_CKV, HMI_CSRC, HMI_FARW,
HMI_PS, JUNCTION, TANK, RESERVOIR, PUMP, PRV, PBV, PSV, FCV and
TCV) allowing you to redefine them in AutoCAD.
If you would like to change the appearance of these blocks in your AutoCAD drawing,
you can redefine them as follows:
To begin, start AutoCAD and create thirteen separate drawing files named
HMI_CKV.DWG, HMI_CSRC.DWG, HMI_FARW.DWG, HMI_PS.DWG, JUNC-
TION.DWG, TANK.DWG, RESERVOIR.DWG, PUMP.DWG, PRV.DWG,
PBV.DWG, PSV.DWG, FCV.DWG and TCV.DWG. Save these drawings in your
AutoCAD directory.
To import the network .DXF file into an existing AutoCAD drawing file, you will
have to perform a couple of preliminary steps:
Tip: To save time, you can perform the above steps in a new
AutoCAD drawing file and save it with the name WaterCAD.DWG.
Now, instead of performing the above steps, insert this new
drawing into your existing drawing file immediately before
importing a network .DXF file.
You are now ready to import a .DXF file into your existing AutoCAD drawing.
WaterCAD features optional support for AutoCAD integration. You can determine if
you have purchased AutoCAD functionality for your WaterCAD by using the Help >
About menu option. Click the Registration button to view the feature options that
have been purchased with your application license. If AutoCAD support is enabled,
then you will be able to run your WaterCAD application in both AutoCAD and Stand-
Alone mode.
The AutoCAD functionality has been implemented in a way that is the same as the
Stand-Alone base product. Once you become familiar with the Stand-Alone mode,
you will not have any difficulty using the product in AutoCAD mode.
In AutoCAD mode, you will have access to the full range of functionality available in
the AutoCAD design and drafting environment. The standard environment is extended
and enhanced by an AutoCAD ObjectARX WaterCAD client layer that lets you
create, view, and edit the native WaterCAD network model while in AutoCAD.
• Lay out network pipes and structures in fully-scaled mode in the same design and
drafting environment that you use to develop your engineering plans. You will
have access to any other third party applications that you currently use, along with
any custom LISP, ARX, or VBA applications that you have developed.
• Use native AutoCAD insertion snaps to precisely position WaterCAD elements
with respect to other entities in the AutoCAD drawing.
• Use native AutoCAD commands such as ERASE, MOVE, and ROTATE on
WaterCAD model entities with automatic update and synchronization with the
model database.
• Output contours to your AutoCAD drawing, and interactively label them.
• Control destination layers for model elements and associated label text and anno-
tation, giving you control over styles, line types, and visibility of model elements.
In AutoCAD mode, Haestad Methods’ products provide a set of extended options and
functionality beyond those available in Stand-Alone mode (for more information, see
“Stand-Alone and AutoCAD Mode” on page 2-48). This additional functionality
provides enhanced control over general application settings and options and extends
the command set, giving you control over the display of model elements within
AutoCAD.
• Element editing functionality has been extended by adding the Scale Elements
and Rotate Labels commands, accessible under the Edit > Modify Elements menu,
and the Change Widths command under the Edit > Pipes menu.
• You can control the appearance and destination of all model elements using the
Element Properties command (see “Element Properties” on page 17-612) under
the Tools menu. For example, you can assign a specific layer for all outlets, as
well as assign the label and annotation text style to be applied.
17.1.2 Toolbars
• Command Tools—Enables the Command Toolbar for quick access to the main
commands, including computations, tables, graphic reports, Quick View, and
direct access to the Haestad Methods Web Site.
• Layout Tools—Enables the Layout Toolbar for access to the Tool Palette.
• Analysis Toolbar—Enables the Analysis Toolbar to control the current scenario
and provide quick access to the Scenario Manager (see “Scenario Control Center”
on page 8-366), the Active Topology Selection dialog box (see “Active Topology
Selection Dialog Box” on page 9-420), the Darwin Calibrator (see “Darwin Cali-
brator” on page 10-421), and the Capital and Energy Cost Managers (see “Capital
Cost Manager” on page 11-448 and “Energy Cost Manager” on page 11-452), as
well as time and animation controls.
When working in the AutoCAD mode, you may work with Haestad Methods’ prod-
ucts in many different AutoCAD scales and settings. However, Haestad Methods’
product elements can only be created and edited in model space.
In AutoCAD mode, you can control display of element labels using the check box in
the Drawing Options dialog box.
The following commands allow you to customize the drawing by turning the visibility
of flow arrows and labels on or off:
• Drawing File (.DWG)—The AutoCAD drawing file contains the custom entities
that define the model, in addition to the planimetric base drawing information that
serves as the model background.
• Model File (.WCD)—The native WaterCAD model database file that contains all
the element properties, along with other important model data. WaterCAD .WCD
files can be loaded and run using the Stand-Alone mode. These files may be
copied and sent to other WaterCAD users who are interested in running your
project. This is the most important file for the WaterCAD model.
The two files will have the same base name. It is important to understand that
archiving the drawing file is not sufficient to reproduce the model. You must also
preserve the associated .WCD file.
Since the .WCD file can be run and modified separately from the .DWG file using
Stand-Alone mode, it is quite possible for the two files to get out of sync. Should you
ever modify the model in Stand-Alone mode and then later load the AutoCAD .DWG
file, the WaterCAD program will compare file dates, and automatically use the built-in
AutoCAD synchronization routine.
• First, WaterCAD will compare the drawing model elements with those in the
server model. Any differences will be listed. WaterCAD enforces network topo-
logical consistency between the server and the drawing state. If model elements
have been deleted or added in the .WCD file during a Stand-Alone session, or if
proxy elements have been deleted, WaterCAD will force the drawing to be consis-
tent with the native database by restoring or removing any missing or excess
drawing custom entities.
• After network topology has been synchronized, WaterCAD will compare other
model and drawing states such as location, labels, and flow directions. Again, any
differences between the drawing client and server data will be listed, and a
message box will open to give you a chance to indicate which state, drawing, or
model server should be adopted during the second stage of synchronization.
You can run the Synchronization check at any time using the command WTRC-
SYNCSERVER.
AutoCAD uses Drawing*.dwg as its default drawing name. Saving your drawing as
the default AutoCAD drawing name (for instance Drawing1.dwg) should be avoided,
as it makes overwriting model data very likely. When you first start AutoCAD, the
new empty drawing is titled Drawing*.dwg, regardless of whether one exists in the
default directory. Since Haestad Methods’ modeling products create model databases
associated with the AutoCAD drawing, the use of Drawing*.dwg as the saved name
puts you at risk of causing synchronization problems between the AutoCAD drawing
and the Haestad Methods modeling files.
When working in the AutoCAD mode, this feature will display a tabbed dialog box
with tables containing different model element types and their associated properties,
along with the properties of the element’s layer, label, and annotation. To modify an
attribute, double-click each associated grid cell. Setting changes made in this dialog
box will be used for any newly created elements. Property changes will be performed
on all elements of the given type. If the Apply to Existing Object check box is
selected, modifications made in this dialog box are performed on a global basis. To
restrict global changes to a certain layer for a particular element type, use the
*current* option setting for the attribute of interest.
When running in AutoCAD mode, this dialog box appears when you double-click the
layer name (*current* by default) in the Layer column of the Element Properties
dialog box. To access this, select Tools > Element Properties. It displays a list of the
available layers and their properties from the current AutoCAD drawing. Click the
appropriate field to select a layer. The *current* option will use whatever layer is set
to current in your AutoCAD drawing.
When running in AutoCAD mode, this dialog box appears when you double-click the
text style name (*current* by default) in the Text Style column of the Labels and
Annotation tabs of the Element Properties dialog box. This is accessed by selecting
Tools > Element Properties. It displays a list of the available text styles and their prop-
erties from the current AutoCAD drawing. Click the appropriate field to select a text
style. The *current* option will use whatever text style is set to current in your
AutoCAD drawing.
In AutoCAD mode, this menu selection will open an element editor for any specific
element. Select Edit > Edit Element, then select an element. This command is also
available by choosing the Select tool, then clicking an element in the drawing pane. In
addition, double-clicking an element will open the element editor for that element.
The Edit Element command works with the current selection to allow you to generate
filtered reports. For more information on working with selections, see “Selecting
Elements (AutoCAD Mode)” on page 5-260.
In AutoCAD mode, this command removes all elements in the current selection. For
more information on working with selections, see “Selecting Elements (AutoCAD
Mode)” on page 5-260.
In AutoCAD mode, these commands are selected from the Edit menu. They are used
for scaling and rotating model entities.
Scale Elements
In AutoCAD mode, this menu selection resizes an element based upon a scale factor.
After choosing this command, select an element or group of elements, and enter the
scale factor to be applied.
Rotate Labels
In AutoCAD mode, this menu selection rotates the figure label. After choosing this
command, select an element or group of elements, and enter the desired rotation in
degrees.
Modify Pipes
Pipes (see “Pressure Pipe Editor” on page 6-277) may follow a non-linear alignment,
since in pressure systems minor losses can be safely lumped with friction losses
without significantly affecting model accuracy. WaterCAD uses the following special-
ized commands for editing pipes in AutoCAD:
• Insert Bend—Use this command to add a bend to a pipe. In AutoCAD, you will
be prompted to select a pipe to bend. Select the pipe and the location you want the
bend to appear. The pipe alignment will automatically conform to this location.
• Remove Bend—Use this command to remove a specific bend from a pipe. In
AutoCAD, you will be prompted to select a pipe and the specific bend to remove.
• Remove All Bends—Use this command to completely straighten a pipe that
contains bends. In AutoCAD, you will be prompted to select a pipe, and all bends
will disappear.
• Change Widths—Use this command to change pipe widths. After choosing this
command, select a pipe or group of pipes and enter the desired width. Note that
the width entered is equivalent to the AutoCAD polyline width.
Edit Elements
In AutoCAD mode, this menu command is used to open a spreadsheet FlexTable
editor or a selection of one or more network figures. You are prompted to select
figures on which to build a table.
This means that you can perform standard AutoCAD commands (see “AutoCAD
Commands” on page 17-615) as you normally would, and the model database will be
updated automatically to reflect these changes.
It also means that the model will enforce the integrity of the network topological state.
Therefore, if you delete a nodal element such as a junction, its connecting pipes will
also be deleted since their connecting nodes topologically define model pipes.
Using ObjectARX technology ensures the database will be adjusted and maintained
during Undo and Redo transactions.
A custom model element has certain native text entities associated with it for
displaying label and annotated property values. These associated label and annotation
entities may be edited separately from the model element itself. However, most
drawing edits made directly to a model element will be applied in the appropriate
fashion against its associated label and annotation entities. Thus, if you drag an
element to a new location, the annotation and label locations will update as well.
When running in AutoCAD mode, Haestad Methods’ products make use of all the
advantages that AutoCAD has, such as plotting capabilities and snap features. Addi-
tionally, AutoCAD commands can be used as you would with any design project. For
example, Haestad Methods’ elements and annotation can be manipulated using
common AutoCAD commands.
In AutoCAD mode, running the AutoCAD Explode command will transform all
Haestad Methods custom entities into equivalent AutoCAD native entities. When a
Haestad Methods custom entity is exploded, all associated database information is
lost. Be certain to save the exploded drawing under a separate filename.
Use Explode to render a drawing for finalizing exhibits and publishing maps of the
model network. You can also deliver exploded drawings to clients or other individuals
who do not own a Haestad Methods Product license, since a fully exploded drawing
will not be comprised of any ObjectARX proxy objects. For more information, see
“Working with Proxies” on page 17-619.
When using AutoCAD mode, the AutoCAD commands Move, Scale, Rotate, Mirror,
and Array can be used to move elements. For more information, see “Selecting
Elements (AutoCAD Mode)” on page 5-260.
To move a node, execute the AutoCAD command by either typing it at the command
prompt or selecting it. Follow the AutoCAD prompts, and the node and its associated
label will move together. The connecting pipes will shrink or stretch depending on the
new location of the node.
When using AutoCAD mode, the AutoCAD commands Move, Scale, Rotate, Mirror,
and Array can be used to move element text labels. For more information, see
“Selecting Elements (Stand-Alone Mode)” on page 5-259.
To move an element text label separately from the element, click the element label you
wish to move. The grips will appear for the label. Execute the AutoCAD command
either by typing it at the command prompt, by selecting it from the tool palette, or by
selecting it from the right-click menu. Follow the AutoCAD prompt, and the label will
be moved without the element.
When using AutoCAD mode, the Snap menu is a standard AutoCAD menu that
provides options for picking an exact location of an object. See the Autodesk
AutoCAD documentation for more information.
17.6 Undo/Redo
Note: If you use the native AutoCAD undo, you are limited to a single
redo level. The WaterCAD undo/redo is faster than the native
AutoCAD undo/redo. If you are rolling back WaterCAD model
edits, it is recommended that you use the menu-based
WaterCAD undo/redo.
In AutoCAD mode, you have two types of undo/redo available to you. From the Edit
menu, you have access to WaterCAD undo and redo. Alternatively, you can perform
the native AutoCAD undo and redo by typing at the AutoCAD command line. The
implementations of the two different operation types are quite distinct.
Whenever you use a native AutoCAD undo, the server model will be notified when
any WaterCAD entities are affected by the operation. WaterCAD will then synchro-
nize the model to the drawing state. Wherever possible, the model will seek to map the
undo/redo onto the model server’s managed command history. If the drawing’s state is
not consistent with any pending undo or redo transactions held by the server,
WaterCAD will delete the command history. In this case, the model will synchronize
the drawing and server models.
In addition to the standard options available under the Pipe layout command (accessed
by clicking the button in the WaterCAD Tools toolbar, or by selecting the Tools >
Layout > Pipe menu option), you may elect to use an existing AutoCAD line, polyline,
or arc as a template to define an equivalent WaterCAD pipe or series of pipes.
While you are in the Pipe Layout command, you may invoke the Entity conversion
option by using the Entity keyword, or by selecting Entity from the right-mouse
button context menu. Once selected, you will be prompted to choose an entity to use
as a basis for a new pipe, and conditionally specify the type of nodal WaterCAD
element to use at each end of the pipe.
Note: This is an automated batch process that requires some care and
attention with respect to the selection set that is going to be
used as a basis for generating actual WaterCAD model elements.
For instance, it may be desirable to select like-sized pipe
elements during each pass. This way, you can use the
prototyping capabilities to their greatest advantage. A little time
spent in planning and strategizing a series of individual
conversion steps will go a long way toward preventing
confusion, which could necessitate later re-conversions.
for the selection of entities to convert, and the selection is followed by the Polyline to
Pipe Conversion Wizard that leads you through a sequence of steps defining the basis
of the batch conversion. For more information, see “AutoCAD Polyline-to-Pipe
Conversion” on page 16-599.
If you open a WaterCAD drawing file on an AutoCAD workstation that does not have
the WaterCAD application installed, you will get an AutoCAD Proxy Information
message box. This is because the executable logic for managing the AutoCAD entities
is not available, and the WaterCAD modeling elements are not associated with the
WaterCAD native database.
WaterCAD proxy objects can be moved and erased. However, doing so will put the
drawing state out of sync with the model database if the drawing is saved with its orig-
inal name. If this happens, and you later reload the drawing on an AutoCAD station
that is running a WaterCAD application, the application will automatically load and
will attempt to reconcile any differences it finds by automatically loading its Database
Synchronization routine. (for more information, see “Drawing Synchronization” on
page 17-610).
Automated 18
Skeletonization
Skeletonization is the process of selecting only the parts of the hydraulic network that
have a significant impact on the behavior of the system for inclusion in a water distri-
bution model. For example, including each individual service connection, valve, and
every one of the numerous other elements that make up the actual network would be a
huge undertaking for larger systems. The portions of the network that are not modeled
are not ignored; rather, the effects of these elements are accounted for within the parts
of the system that are included in the model.
As you can see, there is a junction at each service tap and a pipe and node at each
house for a total of 48 junctions and 47 pipes within this subdivision.
To perform a low level of skeletonization, the nodes at each house could be removed
along with the connecting pipes that tie in to the service line. The demands at each
house would be moved to the corresponding service tap. The resulting network would
now look like this:
There are now 19 junctions and 18 pipes in the subdivision. The demands that were
assigned to the junctions that were removed are moved to the nearest upstream junc-
tion. The only information that has been lost is the data at the service connections that
were removed.
A further level of skeletonization is possible if you remove the service taps and model
only the ends and intersections of the main pipes. In this case, re-allocating the
demands is a bit more complex. The most accurate approximation can be obtained by
associating the demands with the junction that is closest to the original demand junc-
tion (as determined by following the service pipe). In the following diagram, these
service areas are marked with a dotted line.
To fully skeletonize this subdivision, the pipes and junctions that serve the subdivision
can be removed, and the demands can be assigned to the point where the branch
connects to the rest of the network, as shown in the following diagram:
Data scrubbing is the simplest, and generally the first, step of the skeletonization
process. In fact, some automated skeletonizers rely entirely on this reduction tech-
nique. (Data scrubbing is called Smart Pipe Removal in Skelebrator.) Data scrubbing
consists of removing all pipes that meet user-specified criteria, such as diameter,
roughness, or other attributes. Criteria combinations can also be applied, such as:
Remove all 2-inch pipes that are less than 200 feet in length.
This step of skeletonization is especially useful when the model has been created from
GIS data, since GIS maps generally contain much more information than is necessary
for the hydraulic model. Examples of elements that are commonly included in GIS
maps, but not necessarily in the distribution model, are service connections and isola-
tion valves. Removing these elements generally has a negligible impact on the accu-
racy of the model, depending on the application for which the model is being used.
Branch trimming is a recursive process; as dead-end pipes and junctions are removed,
other junctions and pipes can become the new dead-ends—if they meet the trimming
criteria, these elements may also be removed. You specify whether this process
continues until all applicable branches have been trimmed or if the process should
stop after a specified number of trimming levels.
The only situation that presents a drawback to this type of skeletonization is the
obvious one; information and results cannot be obtained from non-existent elements.
During water quality or fire flow analysis, information on these trimmed elements
may be desired but unavailable. Again, having multiple models utilizing various
levels of skeletonization is the solution to this potential drawback.
Series pipe removal, also known as intermediate node removal or pipe merging, is the
next skeletonization technique. It works by removing nodes that have only two adja-
cent pipes and merging these pipes into a single one. As with Branch trimming, any
demands associated with the junctions being removed must be reallocated to nearby
nodes, and generally a number of strategies for this allocation can be specified.
An evenly-distributed strategy simply divides the demand equally between the two
end nodes of the newly merged pipe. A distance-weighted technique divides the
demands between the two end nodes based on their proximity to the node being
removed. These strategies can be somewhat limiting, and maintaining an acceptable
level of network hydraulic precision while removing nodes and merging pipes is made
more difficult with this restrictive range of choices.
Other criteria are also used to set the allowable tolerances for relative differences in
the attributes of adjacent pipes and nodes. For example, an important consideration is
the elevation difference between nodes along a pipe-merge candidate. If the junctions
mark critical elevation information, this elevation (and by extension, pressure) data
would be lost if this node attribute is not accounted for when the pipes are merged.
Another set of criteria would include pipe attributes. This information is needed to
prevent pipes that are too different (as defined by the tolerance settings) hydraulically
from being merged. It is important to compare certain pipe attributes before merging
them to ensure that the hydraulic behavior will approximate the conditions before the
merge. However, requiring that pipes have exactly matching criteria limits the number
of elements that could potentially be removed, thus reducing the level of skeletoniza-
tion that is possible.
In other words, although it is desirable for potential pipe merge candidates to have
similar hydraulic attributes, substantial skeletonization is difficult to achieve if there
are even very slight variances between the hydraulic attributes of the pipes, since an
exact match is required. This process is, however, very good at merging pipes whose
adjacent nodes have no demand and that have exactly the same attributes. Removing
these zero-demand junctions and merging the corresponding pipes has no effect on the
model’s hydraulics, except for loss of pressure information at the removed junctions.
Skelebrator includes:
The first step that Skelebrator performs is Smart Pipe Removal, which is an improved
version of the data scrubbing technique described in “Generic—Data Scrubbing” on
page 18-624. The main drawback of standard data scrubbing procedures is that they
have no awareness of the effects that removing elements from the model will have on
the calculated hydraulics. This can easily cause network disconnections and lead to a
decrease in the accuracy of the simulated network behavior.
This added intelligence protects the model’s integrity by eliminating the possibility of
inadvertently introducing catastrophic errors during the model reduction process.
elements have been removed during this skeletonization step and re-creating any
elements that have been erroneously removed can be a lengthy and error-prone
process. These considerations are addressed automatically and transparently by the
Skelebrator’s advanced network traversal algorithm.
Tip: If you want to combine only pipes with the same hydraulic
characteristics (i.e., diameter and roughness) then, to a series
pipe removal operation add a pipe tolerance of 0.0 and a
roughness tolerance of 0.0. Also make sure to deselect the Use
Equivalent Pipes option.
The Skelebrator Series Pipe Merging technique overcomes the basic drawbacks to
series pipe removal that were mentioned previously (see “Generic—Series Pipe
Removal” on page 18-625) in two ways:
First, the demand reallocation strategies normally available for this step are not
comprehensive enough, limiting you to choosing from an even demand distribution or
a distance-weighted one. This limitation can hinder your ability to maintain an accept-
able level of hydraulic parity.
Second, and more importantly, this technique is effective because it lets you specify
tolerances that determine if the pipes to be merged are similar enough that combining
them into a single pipe will not significantly impact the hydraulic behavior of the
network. This increases the number of potential merge candidates over requiring exact
matches, thereby increasing the scope of skeletonization but affecting hydraulics,
since differences in hydraulic properties are ignored.
J1 J2 J3
P1 P2
J1 J3
P1
Diameter: 8 in.
Roughness: 120
To counter the hydraulic effects of merging pipes with different hydraulic attributes, a
unique hydraulic equivalency feature has been developed. This feature works by
determining the combination of pipe attributes that will most closely mimic the
hydraulic behavior of the pipes to be merged, and applying these attributes to the
newly merged pipe. By generating an equivalent pipe from two non-identical pipes,
the number of possible removal candidates (and thus, the potential level of skeleton-
ization) is greatly increased.
J1 J2 J3
P1 P2
J1 J3
P1
Parallel Pipe Merging is the process of combining pipes that share the same two end
nodes into a single hydraulically equivalent pipe. This skeletonization strategy relies
on the hydraulic equivalency feature described in “Skelebrator—Series Pipe Merging”
on page 18-628.
To merge parallel pipes, you specify which of the two pipes is the “dominant” one.
The length of the dominant pipe becomes the length of the merged pipe, as does either
the diameter or the roughness value of the dominant pipe. You specify which of the
two attributes to retain (diameter or roughness) and the program determines what the
value of the other attribute should be in order to maintain hydraulic equivalence.
For example, the dominant pipe has a diameter of 10 inches and a C factor of 120; one
of these values is retained. The pipe that will be removed has a diameter of 6 inches
and a C factor of 120. If the 10-inch diameter value is retained, the program performs
hydraulic equivalence calculations to determine what the roughness of the new pipe
should be in order to account for the additional carrying capacity of the parallel pipe
that is being removed.
Because this skeletonization method removes only pipes and accounts for the effect of
the pipes that are removed, the network hydraulics remain intact while increasing the
overall potential for a higher level of skeletonization.
Skelebrator offers numerous other features that improve the flexibility and ease-of-use
of the skeletonization process.
The Skeletonization Preview option allows you to preview the effects that a given
skeletonization step, or method, will have on the model. This important tool can assist
the modeler in finding potential problems with the reduced model before a single
element is removed from it.
Before skeletonization is begun or between steps, you can use Skelebrator’s protected
element feature to manually mark any junctions or pipes as non-removable. Any pipes
marked in this way will always be preserved by the Skelebrator, even if the elements
meet the removal criteria of the skeletonization process in question. This option
provides the modeler with an additional level of control as well as improving the flex-
ibility of the process.
The ability of the Skelebrator to preserve network integrity by not removing elements
that would cause the network to be invalidated is an important timesaving feature that
can prevent this common error from happening. There may be circumstances,
however, when you do not want or need this additional check, so this option can be
switched off.
For the utmost control over the skeletonization process, you can perform a manual
skeletonization. This feature allows you to step through each individual removal
candidate. The element can then be removed or marked to be excluded from the skele-
tonization. You can save this process and choices you made and reuse them in an auto-
matic skeletonization of the same model.
18.3.6 Skelebrator—Conclusion
With the overwhelming amount of data now available to the water distribution
modeler, some degree of skeletonization is appropriate for practically every model,
although the extent of the skeletonization varies widely depending on the intended
purpose of the model. In light of this, it has become desirable to maintain multiple
models of the same system, each for use in different types of analysis and design.
A model that has been minimally skeletonized serves as a water quality and fire flow
analysis model, while energy cost estimating is performed using a model with a higher
degree of skeletonization.
These features, and others such as the Skeletonization Preview (see “Skeletonization
Preview” on page 18-637) and Manual Skeletonization (see “Manual Skeletonization”
on page 18-639), greatly expedite and simplify the process of generating multiple,
special-purpose water distribution models, each skeletonized to the optimal level for
their intended purpose.
• We strongly recommended that you first make a copy of your model as a safe
guard before proceeding with Skelebration. In ArcGIS (ArcCatalog or ArcMap),
there is no ability to undo your changes after they have been made.
• We strongly recommended that you eliminate all scenarios other than the one to
be skeletonized from a model prior to skeletonization.
• For information on the reasons for these recommendations, see “Important Skele-
brator Information” on page 18-653.
Use Skelebrator’s skeletonization manager to define how you are going to skeletonize
your network. The basic unit in Skelebrator is an operation. An operation defines and
encapsulates the settings required to be defined in order to perform some reduction
process on your hydraulic network. Skelebrator provides these types of operation that
may be used to reduce the size of your mode:
1. Click the skeletonization technique you want to use: Smart Pipe Removal, Branch
Collapsing, Series Pipe Merging, Parallel Pipe Merging.
2. Click New.
3. Type the name you want to use for the operation you are creating, or keep the
default name.
4. Click OK. The respective operation editor will be displayed.
5. Choose your settings and conditions.
6. Click OK.
Edit—Click Edit (or double-click an operation) to edit the currently selected opera-
tion. If there is no operation listed, you must first Add one by selecting New.
Delete—Click Delete to remove the currently selected operations from the list.
Export—Select Export to export the current Skelebrator setup. All your defined
Skelebrator operations, batch run settings, and protected element settings will be
saved to an .SKE file of your choice. (An .SKE file is a file in XML, eXtensible
Markup Language, format that contains all of the settings related to your skelebra-
tion.) We strongly recommended that you do not manually modify the contents of any
.SKE file.
Protected Pipes—Click the Protected Pipes button to specify that certain pipes in
your model are protected from being removed as part of the skeletonization process.
Under all circumstances, pipes listed as protected will not be removed by Skelebrator.
For more information, see “Protected Pipes and Protected Junctions” on page 18-641.
Skeletonization Preview
Skeletonization preview lets you review the affects of a skeletonization on your model
without actually making any changes to or deletions from your model. To use the
preview feature:
Print Preview: Use Print Preview to review how your network will print.
For more information, see “Print Preview Window” on
page 13-559.
Close: Click Close to exit the preview window.
If you click the Manual Skeletonization button, the Manual Skeletonization Review
dialog box opens. The manual skeletonization review dialog box lists the proposed
skeletonization actions for the particular skeletonization process selected. The
contents of the action list window (to the left of the buttons) will vary depending on
the type of operation being run. For Smart Pipe Removal and Branch Collapsing each
Skelebrator action will have one pipe associated with it whereas Series and Parallel
Pipe Merging will have two pipes associated with each action. For Smart Pipe
Removal, when network integrity is enforced, the contents of the action list are
updated, after every executed action, to reflect only valid actions, after each action is
performed.
Previous1—Click Previous to preview the previous element to the one you have
selected in the Manual Skeletonization Review dialog box.
Execute—Click Execute to run Skelebrator only for the selected Skelebrator action.
In the case of Smart Pipe Removal and Branch Collapsing the associated pipe will be
removed from the model, and associated loads redistributed as specified. Additionally,
for branch collapsing, one junction will be removed. For Series Pipe Merging two
pipes and one junction will be removed, associated loads redistributed as specified and
an equivalent pipe added as a replacement, if the option is selected. Otherwise, the
properties of the dominant pipe will be used to create a new pipe. For Parallel Pipe
Merging, one pipe will be removed and the remaining pipe will be updated to the
hydraulic equivalent, if you selected hydraulic equivalency.
Auto Next?1—Select this check box if you wish for Skelebrator to immediately
advance to the next pipe element in the action list. This is the equivalent of clicking
Execute then clicking Next immediately afterwards.
Close—Click Close to exit the Manual Skeletonization Review dialog box. Any
remaining actions listed will not be executed.
Zoom1—Select a Zoom at which you want to display elements you preview using Go
To, Previous, and Next.
Batch Run
Note: The batch run manager does not become available until at least
one Skelebrator operation is added.
All operations selected into the lower window of the batch run
manager dialog box will be executed during a batch run. There is
no need to select (highlight) the operations before running them.
Conversely, selecting only some operations in this window does
not mean only those operations will be run.
If you click the Batch Run button, the Batch Run Manager opens. Use the Batch Run
Manager to select the skeletonization strategies you want to use and the order in which
you want to run them.
Operations appearing in the top window are the operations you have defined and
which are available for use in a batch run. Any operations in this window may be
selected for a batch run. The same operation can be selected multiple times.
Click Add to add a selected operations to the lower window. Any operations in the
lower window are selected as part of the batch run. Use the Remove, Move Up, and
Move Down buttons to manage the makeup and order of the operations in the batch
run list.
Click GO > Run Batch to commence an automatic skeletonization using the opera-
tions you have defined in your batch run.
Click GO > Preview to preview the results of the operations you have defined in your
batch run.
Note: Simply by its presence in the left hand side removable elements
window an element is not guaranteed to be skeletonized. In
order to be skeletonized the element must meet all other
conditional, tolerance and topological criteria, be active in the
current topological alternative and have no external references
such as calibration observed data, simple control references,
logical control references, VSP control node references, or WQ
(Water Quality) Trace Node references. Only then will the
element be skeletonized.
The Protected Elements Manager provides a way of making certain elements in your
model immune to skeletonization. Use this feature to mark important elements in your
model as not skeletonizable. Note that only pipes and junctions may be protected from
skeletonization since all other node elements (valves, pumps, tanks and reservoirs) are
already immune to skeletonization. (TCVs are the noted exception to this rule and
may be treated as junctions, if selected, during Series Pipe Merging.)
Elements displayed in the left hand side window are potential skeletonization candi-
dates and elements displayed in the right hand side window are immune to skeleton-
ization.
Junctions/Base Demand—If you choose to set up protection for junctions, the Junc-
tions and Base Demand column headings are displayed. Clicking these column head-
ings lets you sort the list of elements.
Pipes/Diameter—If you choose to set up protection for pipes, the Pipes and Diameter
column headings display. Clicking these column headings lets you sort the list of
elements.
You can use the CTRL and SHIFT keys to select multiple
elements at once. Double-clicking an element will move it to the
opposite list.
>—to protect the selected elements. If you subsequently click OK, that element
cannot be removed by Skelebrator.
<—to unprotect the selected elements. If you subsequently click OK, that element is
available for removal by Skelebrator.
When you add or edit a removal operation, the Smart Pipe Removal Operation Editor
dialog box opens. Removal operations have two sets of parameters, Settings and
Conditions.
2. Click Conditions to edit or create pipe conditions. You can add more than one
condition.
3. Click Add to add pipe conditions. You can add more than one condition.
4. Or, select an existing condition and click Edit to modify a selected condition.
The condition editor lets you define pipe conditions that determine which pipes are
included in the Smart pipe Removal process. It is acceptable to define an operation
that has no conditions (the default). In this case no pipes will be excluded from the
skeletonization based on any of their physical attributes alone.
When you add or edit a Branch Collapsing operation, the Branch Collapsing Opera-
tion Editor dialog box opens. Branch Collapsing operations have two sets of parame-
ters, Settings and Conditions.
When you add or edit a Series Pipe Merging operation, the Series Pipe Merging Oper-
ation Editor dialog box opens. Operations have two sets of parameters, Settings and
Conditions.
If modify diameter is selected, the new pipe’s roughness is kept constant and
the diameter adjusted such that the head loss through the pipe remains
constant. Conversely if modify roughness is selected, the new pipe’s diameter
is kept constant and the roughness adjusted such that the head loss through the
pipe remains constant.
– Load Distribution Strategy—Select how you want the load distributed from
junctions that are removed.
- Equally Distributed puts 50% of the load on the starting and ending
junctions of the post-skeletonized pipe.
Note: If either of the uncommon nodes of the two pipes being merged
are not junction nodes, then the selected load distribution
strategy is ignored and all load is moved to the junction node. If
both uncommon nodes are not junctions, then skeletonization is
only carried out if the common junction node has zero demand.
– Apply Minor Losses—Select Apply Minor Losses if you wish for Skele-
brator to preserve any minor losses attached to the pipes in your network. For
Series Pipe Merging the minor losses for the original pipes are summed and
added to the resulting pipe. If this option is not selected then the minor loss of
the resulting pipe will be set to zero.
Note: In the case where not all nodes connected to the two pipes are
junctions, tolerances are only evaluated based upon the junction
type nodes. For example, if a tolerance of 5gpm was defined this
would not invalidate the merging of two pipes that had one
uncommon node that was a pump, for example. The tolerance
condition would be evaluated based only upon the two junction
type nodes.
The Pipe Condition Editor lets you set select parameters that determine which
pipes are included in the skeletonizing process. Tolerances can also be speci-
fied for both pipe and junction conditions.
In the context of series pipe merging, pipe tolerances are calculated between
the specified attribute of the two pipes to be merged. For example, a tolerance
on diameter of 2-in. means that only pipes within a range of 2-in. diameter of
each other will be merged (i.e., a 6-in. and an 8-in. pipe would be merged, an
8-in. and a 12-in. pipe would not).
In the context of series pipe merging, junction tolerances are calculated on all
present junctions. If all three nodes are junctions, then all three junctions will
be used to evaluate the tolerance. For example, a tolerance of 10 ft. on eleva-
tion would mean that the two pipes would not be merged unless all of the
three junctions had an elevation within 10 ft. of each other.
When you add or edit a Parallel Pipe Merging operation, the Parallel Pipe Merging
Operation Editor dialog box opens. Operations have two sets of parameters, Settings
and Conditions.
Use Equivalent Pipes—Select Use Equivalent Pipe if you want Skelebrator to adjust
remaining pipes to accommodate the removal of other pipes in series.
Equivalent Pipe Method—Select whether you wish to modify the dominant pipe
roughness or the dominant pipe diameter for the equivalent pipe calculations.
• Modify Diameter
• Modify Roughness
If modify diameter is selected, the new pipe’s roughness is kept constant and the diam-
eter adjusted such that the head loss through the pipe remains constant. Conversely, if
modify roughness is selected, the new pipe’s diameter is kept constant and the rough-
ness adjusted such that the head loss through the pipe remains constant.
Minor Loss Strategy—If your network models minor losses, select what you want
Skelebrator to do with them.
• Use Ignore Minor Losses if you want to ignore any minor losses in parallel pipes.
Resulting merged pipes will have a minor loss of 0.
• Use Skip Pipe if Minor Loss > Max to protect from skeletonization any pipes
that have a higher minor loss than a value you set for the Maximum Minor Loss.
• Use 50/50 Split to apply 50% of the sum of the minor losses from the parallel
pipes to the replacement pipe that Skeletonizer uses.
Maximum Minor Loss—If you select Skip Pipe if Minor Loss > Max from the Minor
Loss Strategy drop-down list, any pipes with a minor loss value greater than the value
you set will not be removed by Skelebrator.
This dialog box appears when the New button is clicked in the Skeletonization
Manager. The text field allows you to enter a identifying label for the newly created
operation.
This dialog box appears when the Rename button is clicked in the Skeletonization
Manager. The text field allows you to change the identifying label for the highlighted
operation.
This dialog box appears following the successful completion of an automatic skele-
tonization operation. The text pane provides information concerning the operation that
was performed, including the model name, date, the length of time the operation took
to run, and the number of elements that were deleted.
Conditions and Tolerances are used in Skelebrator to define the scope of Skelebrator
operations. They consists of an attribute (e.g., diameter), an operator (e.g., less than)
and a unitized value (e.g., 6 inches). These values together define the effect of the
condition. The examples just listed when combined into a condition would reduce the
scope of an operation to only skeletonizing pipes with a diameter less than 6 inches.
Conditions and tolerances are cumulative. That is with every additional condition, the
number of pipes able to be skeletonized will be reduced. Setting conflicting conditions
such as diameter < 6-in. and diameter > 8-in. will result in no pipes being able to be
skeletonized since conditions are joined with the logical AND operator. It is not
possible to specify OR conditions or tolerances.
It is possible to specify no conditions for a particular operation. In that case all pipes
are valid for skeletonization based on their physical attributes.
However, conditions and tolerances are not the only elements that determine whether
a pipe will be skeletonized. For a pipe to be skeletonized it has to meet all of the
following criteria:
• Be valid in terms of the network topology with respect to the particular skeleton-
ization operation. That is, during Branch Reduction the pipe has to be part of a
branch. Any pipes whose topology dictates they are not part of a branch will not
be skeletonized.
• Must not be an element that is inactive as part of a topological alternative. All
inactive topological elements are immune to skeletonization.
• Must not be referenced by a logical control, simple control, or calibration
observed data set.
• Must not be connected to a VSP control node or the trace node for WQ analysis.
• Must not be a user-protected element.
• Must meet all user defined conditional and tolerance criteria.
Attribute—Select the Attribute that you want to use to determine which pipes to skel-
etonize. These include:
• Diameter
• Length
• Roughness
• Minor Loss Coefficient
• Check Valve
• Bulk Reaction Rate
• Wall Reaction Rate
Operator—Select an operator that defines the relationship between the attribute you
select and the value you select for that attribute. For example, if you select an attribute
of Diameter, an operator of Less Than, and a value of 6 in., then any pipes with less
than a 6-in. diameter are valid for skeletonization. Depending on operation type,
Tolerance may also be an option for operator. When using a tolerance, a tolerance (as
opposed to a condition) is defined. For example, in the context of Series Pipe Merging
where two pipes are being merged, a tolerance of 2-in. diameter means that those
pipes will only be merged if their diameters are within 2-in. of each other.
Value—The label, units, and appropriate value range depend on the attribute you
select.
Attribute—Select the Attribute that you want to use to determine which junctions to
trim. These include:
• Base Demand
• Emitter Coefficient
• Elevation
Operator—Select an operator that defines the relationship between the attribute you
select and the value you select for that attribute. For example, if you select an attribute
of Base Demand, an operator of Less Than, and a value of 50 gpm, any pipes with end
nodes with a base demand less than 50 gpm are valid for skeletonization.
Value—The label, units, and appropriate value range depend on the attribute you
select.
Junction tolerances are only evaluated against junctions. For example, if two series
pipes are to be merged, but their common node is a pump, any defined junction toler-
ance is evaluated based on the two end nodes only.
Where only one junction exists, as may be the case when allowing skeletonization of
TCVs, tolerance conditions are not evaluated and do not limit the scope of the skele-
tonization.
In ArcGIS (ArcCatalog or ArcMap), there is no ability to undo your changes after they
have been made. Skelebrator makes transactions against the GEMS database without
the ability to rollback those changes. From within WaterCAD v6 (Stand Alone or
AutoCAD), and WaterGEMS Modeler, changes can be undone on a global level by
not saving the model after skeletonizing. However, any changes made prior to skele-
bration will also be lost if this method of avoiding committing skeletonization changes
is used.
Making a copy of your model up front will ensure that you can always get back to
your original model if problems occur.
For example, a second scenario that references all the same alternatives as the scenario
being skeletonized except for, say, the demand alternative, will itself be seemingly
skeletonized (its topological and physical alternatives etc are modified) except that the
values of demands in its local demand records have no way of being factored into the
skeletonization process. Due to this, demands may actually be lost since pipes that
were deleted (e.g., dead ends) did not have their local demands relocated upstream.
Relocated demands will represent the result of merging the demands in the parent
alternative, and not those of the child alternative where local records are present.
Due to the behavior of skeletonization with respect to scenarios and alternatives, and
to save possible confusion after skeletonization, it is very strongly recommended that
you eliminate all other scenarios (other than the one to be skeletonized) from the
model prior to skeletonization. Some exceptions, however, exist to this recommenda-
tion and may provide some additional flexibility to those users who have a strong
desire to skeletonize multiple scenarios. In general, it is strongly recommended that
multiple scenario skeletonization be avoided.
A multiple scenario model can be successfully skeletonized only if all of the following
conditions are met:
As a simple example, consider a model with two scenarios, Base and Fire Flow. The
Base scenario references a set of parent (base) alternatives, and the Fire Flow scenario
references all the same alternatives, except for the demand alternative, where it refer-
ences a child alternative of the Base scenario demand alternative, with local records at
junctions A-90 and A-100 which are to model the additional flow at the fire flow junc-
tions. This model meets all of the above 3 conditions and thus skeletonization of this
model can be conducted successfully for all scenarios in the model, but only if all of
the following skeletonization rules are adhered to:
The reason the base scenario (a) must be selected for skeletonization is so that only
parent (base) alternatives are modified by skeletonization. This is so that changes
made to alternatives propagate down the parent-child hierarchy. If skeletonization was
to occur on a scenario that referenced child alternatives, then the changes made to the
scenario will not propagate back up the parent-child hierarchy, and would result in
incorrect results.
The reason for the element protections (b) is to limit the scope of skeletonization to
the data common to both scenarios. That is, any model elements that possess any local
records in any referenced child alternative, are excluded from the skeletonization
since the differences in properties between the child and parent alternatives cannot be
resolved in a skeletonization process that acts for all intents and purposes on a single
scenario. This idiom can be extended to other alternative types besides the demand
alternative.
In addition to saving skelebrator operations and batch run settings, protected element
information is saved. Ideally, this information should be stored only with the model
that it pertains to, because it only makes sense for that model, but that limitation
would prevent skelebrator settings to be shared between different projects or users.
The caveat of allowing protected element information to be saved in a file that is sepa-
rate to the original model, and thus be able to be shared between users, is that the situ-
ation is created whereby importing an .SKE file that was created with another model
can result in meaningless protected element information being imported, in the
context of the new model.
However, your protected element information will probably be valid if you import a
skelebrator .SKE file that was created using the same original model, or a model that
is closely related to the original. The reason for this is that protected element informa-
tion is stored in an .SKE file by recording the element’s GEMS IDs from the GEMS
database. For the same or closely related models, the same pipes and junctions will
still have the same GEMS IDs and, so will remain correctly protected.
Protected element behavior for imported files is not guaranteed because a potential
problem arises when elements that were deleted from the model were previously
marked as protected and where the following three things have happened in order:
1. Modeling elements (pipes, junctions) have been deleted from the model.
2. The model database is compacted (thus making available the IDs of deleted
elements for new ones).
3. New elements (pipes, junctions) have been added to the model after compaction,
potentially using IDs of elements that have been deleted earlier.
From the above steps, it is possible that the IDs of new pipe or junction elements are
the same as previously protected and deleted elements, thereby causing the new
elements to be protected from skeletonization when they should not necessarily be
protected.
Skeletonization occurs on only active topology, but considers all topology. That is,
any inactive topology of a model is unable to be skeletonized, but is not outright
ignored for skeletonization purposes. This fact can be used to perform spatial skele-
tonization. For example, if you only wish to skeletonize a portion of your model, you
can temporarily deactivate the topology you wish to be immune to skeletonization,
remembering of course, to reactivate it after you have completed the skeletonization
process. Any points where inactive topology ties in to the active topology will not be
compromised. To better explain this, consider two series pipes that are not merged by
series pipe removal. Under most circumstances two series pipes that meet the
following conditions will be skeletonized:
• Meet topological criteria (e.g., that the two pipes are in series and have a common
node that is legal to remove, i.e., not a tank, reservoir, valve or pump)
• Meet all conditional and tolerance based criteria
• Are not protected from skeletonization
• Have a common node that is not protected from skeletonization
• Have no simple control or logical control references
• Have no calibration references including to the junctions they are routed between
• Are routed between nodes that are free of references from variable speed pumps
(VSPs)
• Are routed between nodes that are free from Water Quality (WQ) trace analysis
references
• Are routed between nodes that represent at least one junction, if the common node
is a loaded junction (so the load can be distributed)
• Do not have opposing check valves
The two series pipes still may not be skeletonized if any inactive topology could be
affected by the execution of the skeletonization action. For example, if the two series
pipes have an additional, but inactive pipe connected to their common node, and if the
series pipe removal action was allowed to proceed, the common node would be
removed from the model, and the inactive topology would become invalid. This is
prevented from occurring in Skelebrator.
WaterSafe 19
WaterSafe is an extension of the WaterCAD water quality simulation capability. It
allows you to run multiple constituent, trace, and age analyses, and it also incorporates
previously unavailable statistical results. Enhanced reporting and graphing capabili-
ties improve your ability to compare, examine and predict the effects of various water
quality scenarios.
Edit—This command opens the Analysis Project Editor for the currently high-
lighted analysis project.
Scenario—The scenario chosen in the Scenario menu dictates the active topology,
physical, demand, initial settings, and operational alternatives that will be used while
calculating the analysis project.
Start Time—The Start Time specifies the beginning of the time period that the anal-
ysis project will simulate. Any time-based controls that are applied in the scenario’s
operational alternative will be affected by the start time chosen here.
Duration—The Start Time specifies the length of the time period that the analysis
project will simulate.
Hydraulic Time Step—Enter the time interval between hydraulic solutions for this
calculation. The hydraulic time step is the maximum amount of time that the hydraulic
conditions of the network are assumed to be constant.
Trace Node—The Trace Node pane lists the nodes that will be included in the trace
analysis project. To add elements to the list pane (and thus, to the analysis project)
click the Insert button. After at least one element has been added to the list pane, you
can remove elements from the list pane by highlighting them and clicking the Delete
button.
The Select Trace Nodes dialog box allows you to select the trace nodes that will be
included in the trace analysis project. The dialog box is divided into two panes:
The Type menu allows you to filter the elements that are available in the left pane. The
left pane contains the nodes that are available for inclusion in the analysis project, as
modified by the Type menu. By default, the Water Sources option is selected here,
which enables display of all source nodes. Selecting Junction, for instance, causes the
left pane to display only junction nodes; selecting Tanks displays only tanks in the left
pane, and so on.
The right pane contains the nodes that have been selected for inclusion in the analysis
project.
Elements can be moved between the panes using the following buttons:
[>]—This button moves the highlighted element from the left pane to the right pane.
[>>]—This button moves all of the elements in the left pane to the right pane.
[<]—This button moves the highlighted element from the right pane to the left pane.
[<<]—This button moves all of the elements in the right pane to the left pane.
Additionally, single elements can be moved from one pane to the other by simply
double-clicking them.
Scenario—The scenario chosen in the Scenario menu dictates the active topology,
physical, demand, initial settings, and operational alternatives that will be used while
calculating the analysis project.
Start Time—The Start Time specifies the beginning of the time period that the anal-
ysis project will simulate. Any time-based controls that are applied in the scenario’s
operational alternative will be affected by the start time chosen here.
Duration—The Start Time specifies the length of the time period that the analysis
project will simulate.
Hydraulic Time Step—Enter the time interval between hydraulic solutions for this
calculation. The hydraulic time step is the maximum amount of time that the hydraulic
conditions of the network are assumed to be constant.
The Select Constituent Alternatives dialog box allows you to select the constituent
alternatives that will be included in the constituent analysis project. The dialog box is
divided into two panes:
The left pane contains the alternatives that are available for inclusion in the analysis
project.
The right pane contains the alternatives that have been selected for inclusion in the
analysis project.
Alternatives can be moved between the panes using the following buttons:
[>]—This button moves the highlighted alternative from the left pane to the right
pane.
[>>]—This button moves all of the alternatives in the left pane to the right pane.
[<]—This button moves the highlighted alternative from the right pane to the left
pane.
[<<]—This button moves all of the alternatives in the right pane to the left pane.
Additionally, single alternatives can be moved from one pane to the other by simply
double-clicking them.
Scenario—The scenario chosen in the Scenario menu dictates the active topology,
physical, demand, initial settings, and operational alternatives that will be used while
calculating the analysis project.
Start Time—The Start Time specifies the beginning of the time period that the anal-
ysis project will simulate. Any time-based controls that are applied in the scenario’s
operational alternative will be affected by the start time chosen here.
Duration—The Start Time specifies the length of the time period that the analysis
project will simulate.
Hydraulic Time Step—Enter the time interval between hydraulic solutions for this
calculation. The hydraulic time step is the maximum amount of time that the hydraulic
conditions of the network are assumed to be constant.
Age Alternative—The Age Alternative pane lists the alternatives that will be
included in the age analysis project. To add alternatives to the list pane (and thus, to
the analysis project) click the Insert button. After at least one alternative has been
added to the list pane, you can remove alternatives from the list pane by highlighting
them and clicking the Delete button.
The Select Age Alternatives dialog box allows you to select the age alternatives that
will be included in the age analysis project. The dialog box is divided into two panes:
The left pane contains the alternatives that are available for inclusion in the analysis
project.
The right pane contains the alternatives that have been selected for inclusion in the
analysis project.
Alternatives can be moved between the panes using the following buttons:
[>]—This button moves the highlighted alternative from the left pane to the right
pane.
[>>]—This button moves all of the alternatives in the left pane to the right pane.
[<]—This button moves the highlighted alternative from the right pane to the left
pane.
[<<]—This button moves all of the alternatives in the right pane to the left pane.
Additionally, single alternatives can be moved from one pane to the other by simply
double-clicking them.
19.5 Graphing
Graphing includes:
The graph setup dialog boxes for each analysis project type allow you to specify the
elements that will be graphed.
The left pane contains all of the available elements of the type specified in the
Element Type drop-down list.
The right pane contains all of the elements that have been selected for inclusion in the
graph.
Elements can be moved between the panes using the following buttons:
[>]—This button moves the highlighted element from the left pane to the right pane.
[<]—This button moves the highlighted element from the right pane to the left pane.
Additionally, single elements can be moved from one pane to the other by simply
double-clicking them.
The left pane contains all of the available elements of the type specified in the
Element Type drop-down list.
The right pane contains all of the elements that have been selected for inclusion in the
graph.
Elements can be moved between the panes using the following buttons:
[>]—This button moves the highlighted element from the left pane to the right pane.
[<]—This button moves the highlighted element from the right pane to the left pane.
Additionally, single elements can be moved from one pane to the other by simply
double-clicking them.
The left pane contains all of the available elements of the type specified in the
Element Type drop-down list.
The right pane contains all of the elements that have been selected for inclusion in the
graph.
Elements can be moved between the panes using the following buttons:
[>]—This button moves the highlighted element from the left pane to the right pane.
[<]—This button moves the highlighted element from the right pane to the left pane.
Additionally, single elements can be moved from one pane to the other by simply
double-clicking them.
The graph display window allows you to view graphs and change graph settings as
desired.
The following time step controls are available in this dialog box:
Above the graph display are the time step and animation controls. These include
VCR-style controls to move through the time steps or to animate the graph view and
the Increment combo box which controls how many time steps are skipped when the
Forward or Reverse buttons are clicked. This increment also controls which time steps
are displayed during animation.
By clicking the down arrow next to the Play button, you can access the following
Animation Options:
• Animation Delay—Opens a dialog box that allows you to set the delay between
animated frames.
• Animate All Windows—If this option is selected, every window capable of being
animated will then animate when the play button is clicked. If the option is not
selected, then only the current window will animate.
If you right-click with the mouse over the drawing pane, a context menu appears,
offering the following options:
• Copy Image—This command copies the currently displayed graph to the clip-
board, to be pasted into a compatible graphics application.
• Copy Format—This command stores the settings used by the current graph to be
re-used in another graph. To re-use a copied format, right-click and choose Paste
Format.
• Paste Format—This command applies to the current graph settings that were
previously copied from another graph. To copy settings from another graph, right-
click and choose Copy Format.
• Graph Setup—This command opens the GeoGrapher Graph Setup dialog box
(see “GeoGrapher Graph Setup” on page 13-532).
• Graph Options—This command opens the GeoGrapher Options dialog box (see
“GeoGrapher Options” on page 13-533.
Note: The display units for the various attributes cannot be manually
changed through the graph display dialog box. Instead, the
graph will automatically use the unit that is assigned to a given
attribute in the WaterCAD project. To change the unit that is
used, first change it in the project (see“FlexUnits” on page 4-252),
then open WaterSafe and create your graph.
The following buttons are found along the top of the graph display dialog box:
• Copy Image—This command copies the currently displayed graph to the clip-
board, to be pasted into a compatible graphics application.
• Copy Format—This command stores the settings used by the current graph to be
re-used in another graph. To re-use a copied format, right-click and choose Paste
Format.
• Paste Format—This command applies to the current graph settings that were
previously copied from another graph. To copy settings from another graph, right-
click and choose Copy Format.
• Graph Options—This command opens the GeoGrapher Options dialog box (see
“GeoGrapher Options” on page 13-533).
• Print Preview—This command opens the print preview dialog box for the graph
display (see “Table Print Preview Dialog Box” on page 19-670).
• 3D—Toggles 3 dimensional perspective on/off.
• Marks Visible—Toggles labels detailing graph values on/off.
This dialog box displays a print preview of the current pie or bar chart. The dialog box
contains two radio buttons that allow you to select the page orientation, as follows:
• Portrait—When this button is selected, the chart will be printed in portrait orien-
tation (page will be taller than it is wide).
• Landscape—When this button is selected, the chart will be printed in landscape
orientation (page will be wider than it is tall).
Clicking the Print button sends the currently displayed printer to the default printer.
The Preview Chart dialog box is accessible by right-clicking on the bar/pie chart and
selecting Print Preview.
Copy—This button copies the currently displayed table to the Windows clipboard.
Preview—This button opens the “Table Print Preview Dialog Box” on page 19-670,
allowing you to display a print preview of the currently displayed table.
Report Variable—This menu changes depending on the type of analysis project that
is being viewed.
• Trace Node—This drop-down list appears on the statistical reports for trace anal-
ysis projects. The options included in the list are the trace nodes that were selected
in the trace analysis project editor.
• Alternative—This drop-down list appears on the statistical reports for constituent
and age analysis projects. The options included in the list are the alternatives that
were selected in the constituent or age analysis project editor.
Start Time—This menu, in conjunction with the Finish Time drop-down list, allows
you to select the time frame that is presented in the report. Select the hour at which
you want the report to begin.
Finish Time—This menu, in conjunction with the Start Time drop-down list, allows
you to select the time frame that is presented in the report. Select the hour at which
you want the report to end.
Tip: The table can be sorted by any of the column attributes. Click
the column heading once to sort ascending and twice to sort
descending.
Tabular Report—This table is the main body of the report dialog box. The various
statistical results are displayed here in tabular format.
• Node Tab—This table displays statistical results for all of the nodes contained in
the scenario that was chosen during the analysis project setup.
• Links Tab—This table displays statistical results for all of the pipes contained in
the scenario that was chosen during the analysis project setup.
The Color Coding dialog box allows you to create user defined attributes in your
WaterCAD model based on the statistical analysis attributes displayed in the table.
You can then color-code by these user defined attributes in WaterCAD.
The dialog box consists of a check box for each of the statistical attributes in the
report; Average, Variance, Deviation, Minimum, Maximum, Min. Record Time, and
Max Record Time. There is also an All check box which selects all of the attributes.
Place a check in the corresponding box of each of the attributes for which you want a
user-defined attribute to be created, then click the OK button.
The Print Preview dialog box displays the tabular report as it will appear when
printed. The following controls are available in this dialog box:
Zoom—This button allows you to set the zoom level of the preview pane.
Preview Pane Layout Buttons—This button allows you to control the number of pages
that are simultaneously displayed in the preview pane. The following choices are
available:
• One Page
• Two Pages
• Three Pages
• Four Pages
• Six Pages
Page—This control allows you to select the page that is currently displayed in the
preview pane.
The following attributes are calculated and displayed in the statistical report:
• Average
• Maximum
– Trace Analysis—the maximum flow percentage contributed to a node by a
trace source node over a period of time between the user-selected Start Time
and Finish Time.
– Constituent Analysis—The maximum concentration at a node for the simu-
lated constituent over a period of time between the user-selected Start Time
and Finish Time.
• Minimum
– Trace Analysis—The minimum flow percentage contributed to a node by a
trace source node over a period of time between the user-selected Start Time
and Finish Time.
– Constituent Analysis—The minimum concentration at a node for the simu-
lated constituent over a period of time between the user-selected Start Time
and Finish Time.
The Unit Selection dialog box allows you to set the parameters for all the units used.
The dialog box consists of the following controls:
The Unit Selection dialog box allows you to set the parameters for all the units used.
The dialog box consists of the following controls:
Frequently Asked A
Questions
If the information you need is not available in this section, click the Search tab at the
top of the Help window for an index. To make your work easier, WaterCAD and the
Help system are designed to be used together. If you have a high-resolution display
monitor, you will probably find it helpful to size the frames of both the program and
the Help windows so that they fit side by side. Then, while using the program, you can
use the right mouse button or the Help button in any dialog box to update the Help
window with context-sensitive Help.
• Cybernet v1 Drawing
• Cybernet v2 drawing
• WaterCAD/Cybernet v3 and v4 Files
Cybernet v1 Drawing
No support is available for importing a Cybernet v1 drawing directly into WaterCAD.
If you want to import a Cybernet v1 drawing, load it into Cybernet v2 (for DOS) and
re-save the data as a Cybernet v2 drawing. The data can then be imported into
WaterCAD following the procedure described below.
If you are running WaterCAD in AutoCAD mode, open the drawing that contains the
Cybernet v2 data. The import Wizard of WaterCAD will automatically begin
importing the data.
Cybernet v2 drawing
If you are running WaterCAD in Stand-Alone mode, you must first convert the
Cybernet v2 drawing into a special C2W file format that can then be imported into
WaterCAD. This is accomplished by using one of the C2W utilities inside any of the
following AutoCAD versions: AutoCAD 12, 13 DOS, 13 Windows, 14, 2000, or
2002. Consult the C2W utilities help for specifics on its use.
When using the C2W utility in AutoCAD 12 or 13, there are certain limitations to the
amount of data imported:
This section is intended to offer you some insight about the tools in this version of
WaterCAD that are different from Cybernet v2 methods.
We have seen the questions that arise in technical support. We designed WaterCAD
v3, v4, and v5 specifically to help you avoid many of these problems, while offering
even more flexibility and a much friendlier interface.
This offers an amazing amount of flexibility, especially since both interfaces can be
used with the exact same hydraulic model. Organizations now have the flexibility to
allow AutoCAD users and non-AutoCAD users to work with the same model, without
struggling through any type of intermediate conversion. Even the style of the two
interfaces is similar with identical toolbars and menus.
The Modeling Control Center in Cybernet v2 served two purposes: tabular reporting
and scenario management (including calculation). In WaterCAD, these same purposes
are served by two separate objects, which are each better than anything that has come
before: FlexTables and Scenario Management.
With features like sorting, filtering, and global editing, you can review and adjust your
data in a fraction of the time it used to take, and with none of the hassle. Even the vari-
ables and sequences that are presented in tabular form are totally customizable to fit
your needs.
With WaterCAD database connectivity, your hydraulic model can easily be linked to
virtually any major database, spreadsheet, or GIS product currently in use today.
Shapefile wizards and flexible database linking tools make the process simple and
straightforward, without anchoring you to a specific database layout or units system.
For more information, see “Shapefile and Database Connections” on page 15-571.
Scenario Management
Cybernet v2 had two levels of definition: the base data as entered in the AutoCAD
interface or through the Edit menu in the MCC, and scenario changes as entered
through the Setup Analysis menu. Although this was far better than any competing
scenario management, it was very limited and certainly not oriented toward data-
reuse.
WaterCAD has a whole new outlook on scenarios, stemming from the basic principle
that every system has unknowns. If there is only one unknown, such as junction
demand, for example, the options are quite simple. With the addition of more
unknowns, the options quickly become difficult to manage. How can a modeler keep
track of so many unknowns? Through alternatives and inheritance.
Alternatives are collections of very specific data, such as junction demands, or pump
and valve operational settings. A scenario references a certain combination of these
alternatives, similar to a slot machine rolling different symbols in and out of each
position. Rather than several similar scenarios each holding onto individually adjusted
data, they can instead each reference some of the same alternatives (just as several slot
machine combinations can show the same symbol). This not only allows for far more
flexibility, it also greatly reduces the amount of data that is handled. This greatly
reduces the chance of that data being mishandled.
In WaterCAD, there is no limit to the extent of inheritance that could exist. To follow
the example given above, Phase II inherits its data from Phase I, and then has what-
ever changes are specific to Phase II rehabilitation. Likewise, Phase III inherits from
Phase II, and so on. Best of all, if something changes in Phase I, that change is inher-
ited through the hierarchy such that all of the children (Phase II, Phase III, etc.) reflect
the new data.
There is a scenario tutorial for the Stand-Alone editor, and there is a scenario Wizard
to help you through your first few scenario creations. Once you have seen what alter-
natives and inheritance can do for your model, you will be glad that you spent a few
minutes becoming familiar with them.
Combined with batch runs, which is running several scenarios in sequence, scenario
management has reached a level that most modelers have only dreamed of until now.
Demand Alternatives
With the new scenario management, demand loading also has all new flexibility.
Rather than being limited to Avg. Day, Max Day, Peak Hr., User 1 and User 2, there
are an unlimited number of demand alternatives available in WaterCAD. You can still
have global demand and global roughness factors for your WaterCAD model, so you
can make minor adjustments during calibration without having to generate new alter-
natives.
Composite Demands
As well as having an unlimited number of demand alternatives, there is also no limit to
the number of different demand types you can have. Cybernet v2 was limited to five
demand types (1, 2, 3, 4, and Fixed), but WaterCAD allows as many different types
necessary. Also, they can have alpha-numeric labels, such as Residential, Commer-
cial, and Industry XYZ. This enables you to model service connections with much
more detail, because you can specify diurnal demand patterns for any number of
special individual customers.
In addition to demands, WaterCAD also provides inflow, or flows that are introduced
into the system.
Perhaps the best improvement for demands, however, is the ability to attribute more
than one type of demand to a given junction node. An unlimited number of different
customer types can all contribute to the total demand at a single junction, so there is no
need to estimate an equivalent demand type or add another demand type to a fake
junction immediately adjacent to another node.
Control Valves
Cybernet v2 provided you with three types of controlling valves: Pressure Reducing
Valves (PRVs), Pressure Sustaining Valves (PSVs), and Flow Control Valves (FCVs).
WaterCAD also provides them, plus two additional types: Pressure Breaker Valves
(PBVs) that create a constant headloss across the valve, and Throttle Control Valves
(TCVs) that allow you to adjust minor loss coefficients based on system pressures,
HGLs, or time.
Cybernet v2 also allowed a valve setting of Maintain Always for PRVs and FCVs.
These settings were primarily used to simulate a pump for preliminary design work.
Through numerous support calls and dozens of inaccurate models, however, we found
that this feature was often misused, resulting in frustration. These Maintain Always
settings are no longer supported in WaterCAD. Instead, we offer a wider variety of
pump options to encourage modelers to make better educated guesses and better
preliminary design decisions.
In WaterCAD, three-point pump curves are still fully supported, as are multi-point
pump curves. In fact, there is no limit to the number of points you can enter to approx-
imate the pump’s exponential curve.
Although we continue to discourage the use of constant horsepower pumps (for many
of the same reasons we discouraged the use of Maintain Always setting for valves),
this type of pump is still available in WaterCAD. However, do not use one unless you
have actually looked at a constant horsepower curve. It only resembles the shape of a
typical pump curve over a very short range near the best efficiency point, and diverges
from this curve rapidly as the curve becomes asymptotic to both the head and
discharge axes.
If you are performing a preliminary design or if you have another purpose that
requires you to estimate pump characteristics based on insufficient data, consider
using a one-point pump curve. This allows you to enter the design point and approxi-
mate a curve based on a typical pump curve. Of course, nothing beats having actual
pump test data so you can generate a truly accurate representation of your pump, and,
subsequently, an accurate representation of the remainder of your system.
In Summary
There are many more features and enhancements in WaterCAD, and they appear in
every dialog box and button. The following are two very important points that we
would like to emphasize as you prepare to use WaterCAD for the first time:
Select File > Import > Network and choose EPANet (inp). Then, from the File Open
dialog box, select the file you would like to import. During the import procedure, you
will be prompted for a map scale factor (for more information, see “Map Scale Factor”
on page 4-249). You may also be asked to specify the Unit of Concentration (for more
information, see “Concentration Units Import” on page A-681).
This program supports the import of KYPIPE 1.0, 2.0 and 3.0 data sets. If the data set
does not include geometry data, all nodes will be assigned a coordinate of (0,0). This
has no effect on the hydraulic state of the model. Pipe lengths will not be computed
based on the coordinates of the end nodes, but will be taken directly from the KYPIPE
data set.
This program only supports the import of the pipes and nodes of a KYPIPE model.
You must insert pumps, valves, and tanks into the current project.
A series of spot elevations can be imported from an ASCII text file, which might be
generated from a survey data recorder or another software program. These ASCII files
can contain a combination of the information that is required for spot elevations, such
as the label, coordinates, and elevation. The fields in the text file are usually separated
by either blank spaces or commas.
All of the spot elevations in the current project can be exported to an ASCII text file,
from which they can be brought into a spreadsheet, word processor, or other program.
These ASCII files can contain a combination of the information that is required for
spot elevations, such as the label, coordinates, and elevation. The fields in the text file
are usually separated by either blank spaces or commas.
• Pumps and valves used to be represented in the model as links, and had To and
From Node attributes. Now pumps and valves are represented as nodes, and have
To and From Pipe attributes.
• Pumps and valves exported to the Links Table will not be restored to the model. If
you try to import a Link Table with pumps and valves, they will be created as new
pipes of zero length and at coordinates of (0,0).
• The import of pump and valve tables will work as expected, with the exception of
the items listed above.
If, after performing the above operation you continue to receive Non-Continuable
Protection Violation or Out of Memory errors, please contact Haestad Methods
ClientCare Support for assistance.
Hydropneumatic tanks can be modeled using a regular tank element and converting
the tank pressures into equivalent water surface elevations. Based on the elevation
differences, the tank’s cross-sectional area can then be determined.
For example, consider a hydropneumatic tank that operates between 50 psig and 60
psig. The tank’s storage volume is approximately 50 cubic feet.
The tank base elevation is chosen to be equal to the ground elevation, and the pres-
sures are converted into feet of water (1 psi = 2.31 feet). It is apparent that the tank
operates between levels of 115.5 feet and 138.6 feet. The difference between the levels
is 23.1 feet, which brings us to a needed cross-section of 2.16 square feet.
A groundwater well is modeled using a combination of a reservoir and a pump. Set the
hydraulic grade line of the reservoir at the static groundwater elevation. The hydraulic
grade line can be entered on the reservoir tab of the reservoir editor dialog box, or
under the Reservoir Surface Elevation column heading in the Reservoir Report.
Pump curve data can be entered on the Pump Tab of the Pump Editor. The following
example will demonstrate how to adjust the manufacturer’s pump curve to account for
drawdown at higher pumping rates. Drawdown occurs when the well is not able to
recharge quickly enough to maintain the static groundwater elevation at high pumping
rates.
EXAMPLE:
1260 0
1180 8300
1030 12400
Based on field conditions and test results, the following drawdown data is known:
40 8300
72 12400
To account for the drawdown, the pump curves should be offset by the difference
between the static and pumped groundwater elevations. Subtract the drawdown
amount from the pump head, and use these new values for your pump curve head data.
The following adjusted pump curve data is based on the drawdown and the manufac-
turers pump data.
1260 0
1140 8300
958 12400
With some water distribution models, parallel pipes are not allowed. This forces you
to create an equivalent pipe with the same characteristics.
With this program, however, you can create parallel pipes by drawing the pipes with
the same end nodes. To avoid having pipes drawn exactly on top of one another, it is
recommended that the pipes have at least one vertex, or bend, inserted into them.
Parallel pumps can be modeled by inserting a pump on different pipes that have the
same From and To Nodes. Pumps in series (one pump discharges directly into another
pump’s intake) can be modeled by having the pumps located on the same pipe. The
following figure illustrates this concept:
If the pumps are identical, the system may also be modeled as a single, composite
pump that has a characteristic curve equivalent to the two individual pumps. For
pumps in parallel, the discharge is multiplied by the number of pumps, and used
against the same head value. Two pumps in series result in an effective pump with
twice the head at the same discharge.
For example, two pumps that can individually operate at 150 gpm at a head of 80 feet
connected in parallel will have a combined discharge of 2•150 = 300 gpm at 80 feet.
The same two pumps in series would pump 150 gpm at 2•80 = 160 feet of head. This
is illustrated as follows:
Parallel VSPs
Variable speed pumps can also be modeled in parallel. If you use the Fixed Head
pump type, both parallel VSPs must be set to the same target node. The program will
attempt to meet the fixed head requirements you set using only one of the pumps. If
the fixed head cannot be met with only one of the pumps, the second pump will be
turned on, and the relative speed settings of the pumps will be adjusted to compensate.
If tanks are hydraulically close, as in the case of several tanks adjacent to each other, it
is better to model these tanks as one composite tank with the equivalent total surface
area of the individual tanks.
This process can help to avoid fluctuation that may occur in cases where the tanks are
modeled individually. This fluctuation is caused by small differences in flow rates to
or from the adjacent tanks, which offset the water surface elevations enough over time
to become a significant fluctuation. This results in inaccurate hydraulic grades.
Fire Hydrant flow can be modeled by using a short, small diameter pipe with large
Minor Loss, in accordance with the hydrant’s manufacturer. Alternatively, hydrants
can be modeled using Flow Emitters. For more information, see “Estimating Hydrant
Discharge Using Flow Emitters” on page A-691.
If you are unable to model an existing system back to the source, but would still like to
model a connection to this system, a reservoir and a pump with a three-point pump
curve may be used instead. This is shown below:
The reservoir simulates the supply of water from the system. The Elevation of the
reservoir should be equal to the elevation at the connection point.
The pump and the pump curve will simulate the pressure drops and the available flow
from the existing water system. The points for the pump curve are generated using a
mathematical formula (given below), and data from a fire flow test. The pipe should
be smooth, short and wide. For example, a Roughness of 140, length of 1 foot, and
diameter of 48 inches are appropriate numbers.
Please note that it is ALWAYS best to model the entire system back to the source. This
method is only an approximation, and may not represent the water system under all
flow conditions.
Qr = Qf * [(Hr/Hf)^.54]
1. The first point is generated by measuring the static pressure at the hydrant
when the flow (Q) is equal to zero.
Q = 0 gpm
H = 90psi or 207.9 feet of head (90 * 2.31)
(2.31 is the conversion factor used to convert psi to feet of head).
2. The engineer chooses a pressure for the second point, and the flow is calcu-
lated using the Formula below. The value for Q should lie somewhere
between the data collected from the test.
Q=?
H = 55 psi or 127.05 feet (55 * 2.31) (chosen value)
Formula:
Qr = Qf * (Hr/Hf)^.54
Qr = 800 * [((90 - 55) / (90 - 22))^.54]
Qr = 800 * [(35 / 68)^.54]
Qr = 800 * [.514^.54]
Qr = 800 * .69
Qr = 558
Therefore,
Q = 558 gpm
3. The third point is generated by measuring the flow (Q) at the residual pressure
of the hydrant.
Q = 800 gpm
H = 22 psi or 50.82 ft. of head (22 * 2.31)
Pump curve values for this example:
Discharge
Head (ft.)
(gpm)
207.9 0
127.05 558
50.82 800
A tank element in WaterCAD is modeled as a bottom feed tank. Some tanks, however,
are fed from the top, which is different hydraulically and should be modeled as such.
To model a top feed tank, start by placing a pressure sustaining valve (PSV) at the end
of the tank inlet pipe. Set the elevation of the PSV to the elevation of the inlet to the
tank. The pressure setting of the PSV should be set to zero to simulate the pressure at
the outfall of the pipe.
Next, connect the downstream end of the PSV to the tank with a short, smooth, large
diameter pipe. The pipe must have these properties so that the headloss through it will
be minimal.
The tank attributes can be entered normally using the actual diameter and water eleva-
tions.
The outlet of the tank can then proceed to the distribution system.
Another way to model the discharge from a hydrant is to use flow emitters. A flow
emitter relates the discharge to pressure immediately upstream of the emitter using:
Q = KP n
The pressure exponent, n, is a variable that can be set in the Hydraulic Analysis
Options section of the Calculation Options dialog box (for more information, see
“Hydraulic Analysis Options” on page 9-392). The default value is 0.5, which should
be used when using flow emitters to model hydrant outlets.
You should be able to model a hydrant as a flow emitter and enter the appropriate
value for K. Not all of the energy available immediately upstream of the hydrant is
lost, however. Instead, some of the energy is converted into increased velocity head,
especially for the smaller (2.5 in, 63 mm) hydrant outlet.
In order to accurately model a hydrant, the model must be given an overall K value,
which includes head loss through a hydrant and conversion of pressure head to
velocity head. AWWA Standards C502 and C503 govern the allowable pressure drop
through a hydrant. For example, the standards state that the 2.5 in. outlet must have a
pressure drop less than 2.0 psi (1.46 m) when passing 500 gpm (31.5 l/s).
The energy equation can be written between a pressure gauge immediately upstream
of the hydrant and the hydrant outlet:
1
K= 1
⎛ 1 1 1 1 ⎞ 2
⎜ ⎟
⎜ 2 gC c 2 ( D 4 − D 4 ) + k 2 ⎟
⎝ F F O P ⎠
The difference between K and k is that K includes the terms for conversion of velocity
head to pressure head. k is known, but K is the value needed for modeling.
A typical hydrant lateral in North America is 6 in. (150 mm) and typical outlet sizes
are 2.5 in. (63 mm) and 4.5 in. (115 mm). Values for k vary from minimum values,
which can be back calculated from AWWA standards, to much higher values actually
delivered by hydrants. Values for K for a range of k values for 6 in. (150 mm) pipes
are given below.
Outlet k k K K
Nominal (in.) gpm, psi l/s, m gpm, psi l/s, m
The coefficients given are based on a 5 ft. (1.5 m) burial depth and a 5.5 in. (140 mm)
hydrant barrel. A range of values is given because each manufacturer has a different
configuration for hydrant barrels and valving. The lowest value is the minimum
AWWA standard.
With WaterCAD, it is possible to model the behavior of variable speed pumps (VSP),
whether they are controlled by variable frequency drives, hydraulic couplings or some
other variable speed drive. Workarounds that were previously used, such as pumping
through a pressure-reducing valve, are no longer needed.
The parameter that is used to adjust pump speeds is the relative speed. The relative
speed is the ratio of the pump’s actual speed to some reference speed. The reference
speed generally used is the full speed of the motor. For example, if the pump speed is
1558 rpm while the motor is a 1750-rpm motor, the relative speed is 0.89. This rela-
tive speed is used with the pump affinity laws to adjust the pump head characteristic
curve to model the pump.
If only a steady state run is being made and the pump relative speed is known, the
speed of the variable speed pump can be set in the General tab of the pump dialog box.
However, if the conditions that control the pump are not known at the start or an EPS
run is being made, then variable speed behavior must be described in more detail.
The second type of control is Fixed Head control, where the pump speed is adjusted to
maintain a head somewhere in the system. For water distribution pumping into a pres-
sure zone with no storage, this is usually some pressure sensor on the downstream side
of the pump. For wastewater pumping, the pump may be operated to maintain a
constant wet well level on the suction side (i.e., flow matching).
To indicate that a pump is behaving as a VSP, first check the box next to Variable
Speed Pump? at the top of the VSP tab. This will change the remaining boxes on the
tab from gray to white.
Pattern Based
If you want to provide the actual pump relative speeds, Pattern Based should be
selected from the VSP Type menu. The default pattern is Fixed, which corresponds to
constant speed performance at a speed from the General tab.
Usually, you will want to specify a series of pump relative speeds. To do this, click the
Ellipsis (…) button next to Pump Speed Pattern. This will open the Pattern Manager
dialog box (for more information, see “Pattern Manager” on page 9-394). Click the
Add button, and the Pattern Editor dialog box will appear (for more information, see
“Pattern Editor” on page 9-395). From this dialog box, you can assign a label (name)
to the new Pattern and complete the series of multipliers (i.e., relative speeds) versus
time. Clicking OK twice will return you to the VSP tab.
A difficulty in using Pattern Based speeds is that the pattern that would work well for
one scenario may not work well for other scenarios. For example, tanks will run dry or
fill and shut off for a slightly different scenario than the one for which the pattern was
created.
Fixed Head
Fixed head control is achieved by selecting Fixed Head from the VSP Type? menu.
Once Fixed Head is selected, you must describe how the control is implemented.
You must identify a node that controls the pump. This is the node where some type of
pressure or water level sensor is located. This can be done by:
• Using the menu and picking the node from the list
• Clicking the Ellipsis (…) button and using the Select Element dialog box (for
more information, see “Single Element Selection Dialog Box” on page 5-260)
• Clicking the Select From Drawing button (see “Select From Drawing Button” on
page 5-261) and picking the node from the drawing
In selecting the control node, you must choose a node that is actually controlled by the
VSP. For example, the selected node must be in the same pressure zone (i.e., one that
is not separated from the pump by another pump or PRV) and should not have a tank
directly between the node and the pump.
You must then select the head to be maintained at that node. If the node selected for
control is a tank, then the Target Head is set as the initial head in the tank. If a junction
node is selected, the head must be a feasible head. If a physically infeasible head is
given, the problem may not be solved or some unrealistic flow may be forced to meet
this head (e.g., backward flow through pump).
You also have the option of setting the maximum relative speed of the pump, which
would usually correspond to the rated speed of the motor. The default value for this is
1.0. You can have the model ignore this limit by placing a large value in the field for
maximum speed.
When the relative pump speed reaches maximum speed (usually 1.0), the model treats
the pump essentially as a constant speed pump. In the case of pumps controlled by a
junction node, when the conditions warrant, the pump will once again behave as a
VSP.
However, for pumps controlled by tanks, the pump will run at a maximum speed for
the remainder of the EPS run, once they reach maximum speed. To get the pump to
switch back to variable speed operation, you need to insert a control statement that
switches the pump back to variable speed. Consider the example below:
PMP-1 tries to maintain 280 ft. discharge at node T-1 on the discharge side of the
pump, but pump (PMP-1) switches to full speed when the flow is so great that it
cannot maintain 280 ft. In that case, the water level drops below 280 ft. As demand
decreases, the level increases until it reaches 280 ft., at which time variable speed
operation begins again. To make this occur in the model, you must use a logical
control (see “Logical Controls” on page 9-397) to restore variable speed operation:
The scenario management feature was designed to let you model “What If?” situations
by easily switching between different input data sets without having to re-enter data.
Comparing different output results is just as simple.
1. Open the Scenario Control Center dialog box by clicking the Scenario
Control Center button next to the drop-down scenario list in the main
application window.
2. Click the Scenario Wizard button in the upper left of the Scenario Control Center
dialog box.
3. Complete each step in the Scenario Wizard—Name the new scenario, choose
which scenario to base it on, and choose the alternatives to be included. Click
Next between each step, and click Finish when you are done.
4. Close the Scenario Control Center dialog box. Notice the scenario you have just
created is displayed as the current scenario in the Scenario choice list in the main
application window.
5. Proceed to modify your model with the changes you want recorded in the new
scenario.
You can access of hundreds of commonly asked questions at our online Knowledge
Base.
The quickest way to access the Knowledge Base is to click the Globe Icon in
the product toolbars. This will automatically log you on to our website. Simply
click the Knowledge Base icon next to the Haestad product of interest.
If the computer you are using does not have internet access, you can log on to Knowl-
edge Base at an alternate computer by going to http://www.haestad.com and entering
the ClientCare portion of the website. You can then log on with the Product ID located
in the back of the user’s manual or your PID number.
If you’ve found your way to this section, then you are probably looking for an answer
to a problem that you cannot find elsewhere. Please refer to the list below if you are
having problems running Darwin Calibrator (you keep getting unsatisfactory solu-
tions) or if you receive this message while running a calibration: The calibration
engine was unsuccessful. See the help system for troubleshooting tips.
If you are receiving the engine unsuccessful message, try the following:
• Take note of the error message that is provided along with the calibration engine
was unsuccessful message. It may provide a clue as to why your calibration didn’t
run and save you from having to go any further through this list!
• Ensure that the scenario model upon which the calibration is based will run prop-
erly in WaterCAD. Select Analysis > Compute, select the steady state button, and
click GO. If the run obtains either a yellow or green light, then the hydraulic
model runs and this is not the problem.
• Ensure that all your roughness and demand group settings are valid and reason-
able. For example, ensure that roughness adjustments and/or demand adjustments
are not such that your hydraulic model might have difficulty converging. For
example, make sure that you are not allowing demands to be set too high or pipes
too rough, causing excessive amounts of head loss.
• If you have a large number of pipes assigned to status groups, review the need to
include all of those pipes as status decisions and try to minimize the number of
pipes in status groups.
• You may be experiencing low system memory. When running Darwin Calibrator,
be sure to close any other unused applications and if adjusting advanced GA
parameters ensure that you are using a cut probability of more than a few percent,
and a splice probability of less than 90 percent. If your system doesn’t have much
RAM (<128Mb), you may also wish to increase the amount of allocated virtual
memory that your system is using. Windows 98/ME users should let Windows
manage virtual memory, however, Windows NT4/2000/XP users may wish to
increase the size of their system paging file. Please see your Microsoft Windows
documentation for information on virtual memory settings specific to your oper-
ating system.
If you are having problems getting reasonable calibration solutions, try the following:
• Ensure that the Time field for each of your field data measurement sets corre-
sponds to the time of day that your measurements were taken. The reason being
that the time entered in your field data set is used to determine demand multipliers
(from hydraulic patterns), which are in turn used to calculate the junction
demands that will be simulated within the GA calibration engine. (The demand at
a junction during a GA calibration run is the product of its baseline demands and
the demand factors at the time specified for the field data set.) Pump settings and
control settings, etc., are also determined from the time setting you specify.
Demand multiplier adjustments and additional junction demands (e.g., fire flow
tests) are in addition to, not in lieu of, junction demands already calculated from
pattern multipliers. Also note that a steady state run in WaterCAD will run with
only junction baseline demands applied, whereas a GA calibration run based on a
steady state scenario will still use pattern multipliers for the specified time.
• Modifying the status of a link can have significant effects on hydraulic results and
your chances of finding good calibration solutions. If you are using a number of
status group adjustments, you should review why you need those adjustment
groups. It may be better to experiment with these kinds of adjustments manually,
or get somebody to find out whether that valve really is closed and remove the
status decision from the GA calibration. In general, try to keep status adjustment
decisions to a minimum.
• Make sure that your adjustment groupings are logical. For example, junctions are
grouped by similar pattern or demands for demand groups and pipes are grouped
by similar size, age and location for roughness groups.
• Ensure that you do not have too many adjustment groups or the allowable ranges
and increments for those groups do not allow too many choices for each group.
For example, a roughness group allowed to vary between a Hazen-Williams C of
80 and a Hazen-Williams C of 130, with an increment of 0.1 equates to 500
different possible roughness settings for one group. This is far too high! Try to
choose lower and upper bounds, and an increment that will give you no more than
10-12 possible values. If need be, you can start off with course settings (say 80 to
130 with an increment of 5) initially, and gradually refine the allowable range and
increment to refine your calibration solutions. This applies to both roughness
adjustment groups and also to demand adjustment groups.
• Make sure that you have sufficient and quality field data and that it has been
entered correctly. In general, it is a good idea to have as many (or more) field data
measurements as adjustment groups for the calibration, or else your calibration
problem is under-specified. This means that there is likely to be multiple calibra-
tion solutions that produce the same or very similar hydraulic results (e.g., solu-
tions that exhibit compensating errors). In theory, there is only one correct
solution, however, due to limits observed for many practical model calibrations,
the more quality field data you can provide, the better chance you have of finding
a solution that is close to the real situation. When assessing the number of field
observations that you have, consider that each individual observation should
contribute unique and accurate information to the calibration. For example, pres-
sure measurements made at two junctions in different parts of the distribution
system are likely to be more valuable than two measurements made at locations
close to each other in the distribution system. In fact, the two measurements taken
at points close together may only be as good as one measurement. That is, both
measurements say the same thing about the system. Simply, the field data you
collect and enter into Darwin Calibrator should be data that represents times when
your system is experiencing high demand, even if it is only the result of such
activities as fire flow tests. The reason for this is that during times of normal
demands, the head loss across the system is usually on the same order of magni-
tude as the error in measuring head loss. Therefore, small errors in measurement
can lead to huge errors in roughness coefficient or demand.
• Make sure that you haven’t entered field data observations that are made impos-
sible to achieve by any observed boundary conditions, such as an observed grade
out for a PRV set to a different grade.
Note: Tank levels, pump speed settings, and valve settings are all used
by the calibration engine as boundary conditions and as such
these field data entries will not appear in the calibration report
summary. That is, these quantities are set as fixed in the
calibration simulations and the calibration does not try to match
these data. All other quantities are used as observed quantities
that the calibration engine tries to match by adjusting
parameters defined in your adjustment groups.
• Make sure you are using the correct boundary conditions. If you have entered
observations for tank levels etc., ensure that you have not made any errors in
entering the data.
• If after following the tips in this check list you are still experiencing problems, or
just to learn more about the GA or Darwin Calibrator itself, see “Darwin Cali-
brator Methodology” on page B-748.
Note: The change of units affects only the data in the Table. It DOES
NOT change the units within your network design.
In a Table, you may change the units of all the data within any column. To change the
units:
• Select Use Local Units from the Options menu in the Tabular Report dialog box.
• Right-click the column heading, or any data item within a column.
• Select Properties from the shortcut menu.
• Change the units and select OK. All data items in that column will change to the
selected units.
These changes will affect all symbols and text, including color coding legends, but
will not have any effect on pipe lengths.
• Select Tools > Color Coding, or click the Color Coding (rainbow) button on the
toolbar.
• In the Color Coding dialog box, select the attribute you would like to color code.
• Click the Initialize button to automatically build a range of colors. You may
decide to modify these default ranges. Alternatively, pick a color for the first and
last values in the list and click the Ramp button. This will automatically generate
a gradient range based on a combination of the specified colors.
• Click OK to color code the drawing.
All link or node elements and their labels will be colored based on the specified
ranges. You can also use the Initialize button to quickly set up and modify Color
Coding Options. A Color Coding Legend may be inserted into the drawing by using
the Legend tool (see “Legend” on page 13-558) located on the Tool Palette.
Due to popular request, Haestad Methods has implemented the separation of elements
and their labels. This gives you much more control over the placement and formatting
of the labels, in addition to resolving the problem of color coding labels with
elements. However, if you open an old drawing (version 3.1 or earlier) with existing
color coding on the labels, this color coding will not dynamically update.
The solution to this problem is to move the labels to a different layer, and assign a
neutral color to them. To do this, select Tools > Element Properties, and choose the
Labels tab. Assign a new layer to the labels for all the elements, and check Apply to
Existing Objects.
• Click and hold the mouse wheel while moving to pan the drawing view.
• Scroll the drawing view horizontally by rolling the mouse wheel.
• Hold down the Ctrl button while scrolling with the mouse wheel to zoom in and
out in the drawing view.
When laying out pipes using the Pipe Layout tool, this program will allow you to draw
pipes with multiple bends by using the Control key on your keyboard.
1. Click the Pipe Layout tool to begin laying out your network.
2. Move the mouse to the desired location, and click to insert the first element.
3. The layout tool will rubber-band, indicating that a pipe will be inserted when the
next element is added.
In Stand-Alone mode:
1. At this point, hold down the Control key. The cursor appearance will change to a
Crosshair to indicate that pipe bends will be added.
2. While holding the Control key down, click to insert any number of pipe bends.
3. When you are through adding pipe bends, release the Control key.
4. The appearance of the cursor will change to reflect the next element to be added.
5. Click with the mouse to terminate the pipe and add the next element.
In AutoCAD mode:
In AutoCAD Mode:
Note: There is no limit on the number of vertices that a pipe may have.
Of the two methods, the second one is preferred, since, after you have exported
your design from Darwin Designer to a new scenario, you will most likely want to
verify the performance of the design directly within WaterCAD. If you have used
method one to add fire flows, then you will have to add those fire flows to your
current (or new) demand alternative in order to simulate the design against the
same demands as in your design event. If you had used method two, however,
then you would not need to create any additional demand alternatives, since you
had already done that.
2. How do I consider emergency conditions and facility outages?
Emergency conditions, such as pipe breaks and facility outages, can be handled in
Darwin Designer by using the boundary-conditions feature of a design event to
close pipes that would normally be open. For example, you may want to consider
the effect of a water treatment plant being out of service. This can be achieved by
adding any connecting pipes to the design-event boundary conditions and setting
their status to closed.
3. Designer only sizes or rehabilitates pipes. How can I consider the inclusion of
new facilities?
Selection of new facilities may be achieved by using various modeling tech-
niques, an example of which follows.
Selecting the location of a new tank:
a. You can select the location of a new tank modeling the new proposed tank in
the representative scenario. Given a specific tank location you will need to
enter the tank elevation, diameter, and other size information as if it existed—
but, connect the tank to the system with a short small diameter pipe. Give the
new pipe an obvious label such as New Tank Connector.
The pipe that connects the tank to the system should have a length of 1 and a
diameter of 0.01.
b. Create a new Design group and label it as New Tank Connector, or some-
thing similar, and add the connecting pipe to the new group.
c. In Darwin Designer, create a new pipe option group, label it New Tank, or
something similar, and add the following data:
Diameter Cost
0 0
X Cost of Tank
Where, X is some large diameter sufficient for the expected flows to and from
the tank.
d. In your local design run group, enable the new pipe group by clicking Active
and select the New Tank option group.
Darwin Designer can now connect the tank to the system and incur the cost
specified in the above table, or it will construct a 0 diameter pipe (no pipe)
and the tank will not be included in the system. Note that it is up to you to
make sure that sufficient demand cases are investigated to verify the tank’s
design and that tank operation is independently verified through an EPS simu-
lation.
Using similar logic Designer could be used to consider the inclusion exclu-
sion of pump stations, valves, water treatment facilities, reservoirs and so on.
6. Designer keeps coming up with pipe sizes that change up or down in size. I
wouldn’t construct such a design; what can I do?
Darwin Designer applies a competent genetic algorithm to optimize the design. It
does not require or have any domain-specific knowledge about the water system,
which ensures it is a generic tool, but also causes some side-effect for some design
cases—like giving up-or-down pipe sizes. In particular, the solutions are evalu-
ated by comparing the fitness values of solutions. Darwin Designer will assume a
pipeline with pipe sizes that go up and down (to meet required pressures as closely
as possible) is better than one that has a constant size that exceeds the pressures at
some locations, since there is no specific penalty assigned to the fitness of a solu-
tion that has pipes that change up and down in size. It is, therefore, up to you to
control the eventual design and this can be done by different means, as follows:
a. The first means is simply to make manual adjustments to a design after
Darwin Designer has finished, in order to clean up the design and make it a
practical design. Cleaning up a design may technically move you away from
the cheapest design, but an inexpensive design that won’t be constructed is of
little use. You may find that not much cleaning up is necessary. Quick edits to
diameters or rehab actions like can be performed effectively in Darwin
Designer by using a manual design run.
b. Another thing to consider when analyzing a Darwin Designer design is
whether the chosen pipe sizes are a function of the lengths of pipe in your
model.
To better illustrate this concept, consider a run of four pipes in series, each
with different lengths. For these four pipes, the controlling pressure is the
downstream-most junction, and all intermediate junctions are well above the
required pressure. Now, after Darwin Designer finishes designing the run of
pipe, it selects the first pipe as a 16 in., the second as 12 in., the third as 16 in.
and the fourth as 12 in. It is unlikely that this design would be constructed as-
is, but if the pipes themselves represented sufficient length of pipe, then it
may be practical to construct a portion of the pipeline as 16 in. and a portion
as 12 in. If this is the case, then you need to look at the model to determine
why Darwin Designer is changing the third pipe back up to 16 in. It may be
that since the downstream-most junction is the only controlling node, that
Darwin Designer is merely trying to achieve the right head-loss in the total
pipe length, by choosing the length of pipe that should be 16 in. and the length
that should be 12 in. Of course, it is still constrained by the individual pipe
lengths in the model, but if they are different, the optimization algorithm will
use this fact to its advantage. In this case, it may very well be that Designer is
saying construct a total of 1500 ft. of 16-in. and 1000 ft. of 12-in. pipe, and
not necessarily 850 feet of 16-in., 600 feet of 12-in., 650 feet of 16-in., and
400 feet of 12-in. pipe in sections. Use engineering judgment when analyzing
the results.
c. Another means of achieving more constructible designs from Darwin
Designer is to group in the same group pipes that would be constructed the
same size. For example, a rising main would most likely be constructed a
single size, and it would thus make sense to include all the model pipes that
make up the rising main in the same design group. What you don’t want to do
by grouping pipes is artificially design the system even before you have had a
chance to optimize it.
7. When sizing new pipes, Darwin Designer can choose a zero-size, which
means, do not construct that pipe. Is it possible to do a similar thing for reha-
bilitation actions?
It is possible to do the same thing for rehabilitation actions. To create a rehabilita-
tion action that represents a Do Nothing option, simply follow these steps:
a. Create a pre-rehab diameter versus post-rehab diameter function that defines
at least two diameters that cover the domain of diameters in your model. For
example, mi.n pipe size through max. pipe size and make the pre-rehab diam-
eter the same as the post-rehab diameter. This function will define that the
diameter of any single pipe remains the same before and after the rehab
action.
b. Create a diameter versus unit cost function that defines at least two diameters
that cover the domain of diameters in your model. E.g., min. pipe size through
max. pipe size and make the cost for each diameter zero. This function will
thus define that the cost for the rehab action, regardless of pipe size is zero.
c. Create a pre-rehab diameter versus post-rehab roughness function that defines
at least two diameters that cover the domain of diameters in your model. E.g.,
min. pipe size through max. pipe size and make the post-rehab roughness, the
roughness of the current pipes to which the Do Nothing option will be an
option. This function will thus define that the resulting roughness stays the
same as the original values.
Create a Do Nothing rehab action that references each of the above functions. If
selected by Designer, the Do Nothing action will leave the same diameter, cost
nothing, and leave the same roughness: in effect, doing nothing.
8. Do I have to change the parameters or can I simply use the defaults?
In most circumstances it is not necessary to change the parameters in order to run
Darwin Designer, however, you may wish to modify certain values as follows:
a. Random Seed—The Darwin Designer optimization algorithm depends on the
generation of pseudo-random numbers through a random number generator.
The reason the numbers are pseudo-random is that they are generated by a
mathematical formula, and hence the resulting series of numbers is not actu-
ally random at all. In order to make the random numbers different the random
Note: The upper limit values for population size, maximum era
number, and era generation number are problem-dependent. For
larger design models, you should use greater values than for
smaller models.
9. Is there a way to select design and rehab group pipes from the model
drawing?
You cannot select pipes directly from the drawing in this first release of Darwin
Designer. For this reason, we recommend you identify pipe groups and create
appropriately-named selection sets before starting Darwin Designer. When you
have defined the necessary selection sets, they can be used directly within Darwin
Designer. Selection sets can also be used to define pressure and flow constraints,
and to select boundary condition elements.
10. Darwin Designer cannot find a feasible solution. How do I work out what is
going wrong?
It is very likely that in using Darwin Designer, you will encounter situations
where Darwin Designer cannot find a feasible solution. This happens even to
those experienced in genetic-algorithm optimization and is due to the fact that the
determination of which designs are feasible and which aren’t is assessed by a
computer subject to the information you tell it. That is, the rules are applied, with
no exceptions.
For example, if you want a minimum of 20 psi across the board, Darwin Designer
will determine as infeasible any solution that does not have 20 psi at every junc-
tion. If you have a couple of junctions that are part of the detail of a tank inlet
valving, for example, then maybe you don’t really require 20 psi at those junc-
tions. Perhaps what you really mean is that you want 20 psi at all service junc-
tions. In that case, you’ll find where an engineer would have said the design is
feasible (because the design only fails the 20 psi requirement at non-service junc-
tions), but Darwin Designer is unable to make that determination, since it was told
20 psi was required at all junctions. The process by which you can get around
these kinds of issues is simply to identify them, correct them, and then re-run the
optimization. For the case of the 20 psi junction example, the fix might be to
create a selection set (in WaterCAD) of the junctions that are service junctions,
and only use those junctions as pressure constraint junctions. (The selection set
can be selected from within Darwin Designer.)
Along these same lines, you may also want to consider if any of the following
things might be causing trouble, before calling technical support:
a. Check for constraint violations in the results. Check both pressure and flow
constraints for the presence of constraint violations. If any violations exist,
you will need to determine why the junctions and/or pipes at which the viola-
tions occur are problematic. Maybe a minimum pressure constraint is simply
impossible to meet due to the junction elevation, etc. Other things to check for
are the applicability of blanket minimum and maximum pressures and veloci-
ties to modeling elements in detail models of pump stations, and the like. If
you find anything, then you need either to change the model, or modify/
remove the offending constraint and run the optimization again.
b. Make sure you have sufficient design options for a feasible design. That is,
make sure that you have a sufficient range of pipe sizes and/or rehabilitation
actions available to Darwin Designer to find a valid design.
c. Make sure that you haven’t specified competing design events. While it may
be possible to meet one design event or another separately, it may be impos-
sible to meet two together if they compete with each other. For example, one
design event might specify that a minimum pressure is required, and as such
the corresponding pipe taking the flow to that location needs to be large,
however, in the next design event with similar demands, a minimum velocity
constraint means the pipe has to be sized smaller. It may be impossible to
meet both design events with the single pipe size. To test this, build runs up by
performing initially with only one design event, then adding more in. If all of
a sudden after adding in a design event no more feasible solutions can be
found, then you can try to work out what in the most recently added design
event is causing the problem.
d. For multi-objective and maximum benefit optimizations, make sure you have
sufficient budget specified. It may just be that you have not given Darwin
Designer sufficient budget to allow a feasible design to be found. Try
increasing the budget.
For more information, see “Designer keeps coming up with strange results. What am I
doing wrong?” on page A-705.
WaterCAD Theory B
WaterCAD is a state-of-the-art software tool primarily for use in the modeling and
analysis of water distribution systems. However, the methodology is applicable to any
fluid system with the following characteristics:
Examples of systems with these characteristics include potable water systems, sewage
forcemains, fire protection systems, well pumps, and raw water pumping.
The WaterCAD algorithms are anticipated to grow and evolve to keep pace with the
state of the practice in water distribution and water quality modeling. Because the
mathematical solution methods are being continually extended, this manual deals
primarily with the fundamental principles underlying these algorithms, and focuses
less on the details of the implementation of the algorithms.
B.1 Acknowledgements
WaterCAD was designed, developed and programmed by Haestad Methods’ staff of
Software Engineers and Civil Engineers. This program is intended to represent the
latest technology in Windows-based Water Distribution Analysis and Design.
In practice, pipe networks consist not only of pipes, but of miscellaneous fittings,
services, storage tanks and reservoirs, meters, regulating valves, pumps, and elec-
tronic and mechanical controls. For modeling purposes, these system elements are
organized into the following categories:
An event or condition at one point in the system can affect all other parts of the
system. While this complicates the approach that the engineer must take to find a solu-
tion, there are some governing principles that drive the behavior of the network,
including the Conservation of Mass and Energy Principle (see “Conservation of Mass
and Energy” on page B-717), and the Energy Principle (see “The Energy Principle” on
page B-715).
The two modes of analysis are Steady-State Network Hydraulics and Extended Period
Simulation (for more information, see “Steady-State/Extended Period Simulation” on
page 9-378). This program solves for the distributions of flows and hydraulic grades
using the Gradient Algorithm.
The energy referred to in this principle represents the total energy of the system minus
the sum of the potential, kinetic, and internal (molecular) forms of energy, such as
electrical and chemical energy. The internal energy changes are commonly disre-
garded in water distribution analysis because of their relatively small magnitude.
Elevation Head: z
These quantities can be used to express the headloss or head gain between two loca-
tions using the energy equation (for more information, see “The Energy Equation” on
page B-716).
In addition to pressure head, elevation head, and velocity head, there may also be head
added to the system, by a pump for instance, and head removed from the system due
to friction. These changes in head are referred to as head gains and headlosses, respec-
tively. Balancing the energy across two points in the system, you then obtain the
energy equation:
p1 V2 p V 2
+ z1 + 1 + h p = 2 + z 2 + 2 + hL
γ 2g γ 2g
The components of the energy equation can be combined to express two useful quanti-
ties, which are the hydraulic grade and the energy grade.
Hydraulic Grade
The hydraulic grade is the sum of the pressure head (p/g) and elevation head (z). The
hydraulic head represents the height to which a water column would rise in a piezom-
eter. The plot of the hydraulic grade in a profile is often referred to as the hydraulic
grade line, or HGL.
Energy Grade
The energy grade is the sum of the hydraulic grade and the velocity head (V2/2g).
This is the height to which a column of water would rise in a pitot tube. The plot of the
hydraulic grade in a profile is often referred to as the energy grade line, or EGL. At a
lake or reservoir, where the velocity is essentially zero, the EGL is equal to the HGL,
as can be seen in the following figure.
Conservation of Mass
At any node in a system containing incompressible fluid, the total volumetric or mass
flows in must equal the flows out, less the change in storage. Separating these into
flows from connecting pipes, demands, and storage, you obtain:
Conservation of Energy
The conservation of energy principle states that the headlosses through the system
must balance at each point. For pressure networks, this means that the total headloss
between any two nodes in the system must be the same regardless of what path is
taken between the two points. The headloss must be sign consistent with the assumed
flow direction (i.e., gain head when proceeding opposite the flow direction and lose
head when proceeding in the flow direction).
The same basic principle can be applied to any path between two points. As shown in
the figure above, the combined headloss around a loop must equal zero in order to
achieve the same hydraulic grade (see “Hydraulic and Energy Grades” on page B-
716) as at the beginning.
The gradient algorithm for the solution of pipe networks is formulated upon the full
set of system equations that model both heads and flows. Since both continuity and
energy are balanced and solved with each iteration, the method is theoretically guaran-
teed to deliver the same level of accuracy observed and expected in other well-known
algorithms such as the Simultaneous Path Adjustment Method (Fowler) and the
Linear Theory Method (Wood).
In addition, there are a number of other advantages that this method has over other
algorithms for the solution of pipe network systems:
• The method can directly solve both looped and partly branched networks. This
gives it a computational advantage over some loop-based algorithms, such as
Simultaneous Path, which require the reformulation of the network into equiva-
lent looped networks or pseudo-loops.
• Using the method avoids the post-computation step of loop and path definition,
which adds significantly to the overhead of system computation.
• The method is numerically stable when the system becomes disconnected by
check valves, pressure regulating valves, or modeler’s error. The loop and path
methods fail in these situations.
• The structure of the generated system of equations allows the use of extremely
fast and reliable sparse matrix solvers.
The derivation of the Gradient Algorithm starts with two matrices and ends as a
working system of equations.
Given a network defined by N unknown head nodes, P links of unknown flow, and B
boundary or fixed head nodes, the network topology can be expressed in two inci-
dence matrices:
and
fi = fi (Qi )
These matrix elements that define known or iterative network state can be used to
compute the final steady-state network represented by the matrix quantities for
unknown flow and unknown nodal head.
These topologic and quantity matrices can be formulated into the generalized matrix
expression using the laws of energy and mass conservation:
A 12 Q = q
A second diagonal matrix that implements the vectorized head change coefficients is
introduced. It is generalized for Hazen-Williams friction losses in this case:
⎡R Q n1 −1 ⎤
⎢ 1 1 ⎥
⎢ n2 −1 ⎥
R2 Q2
⎢ ⎥
A 11 =⎢ ... ⎥
⎢ ... ⎥
⎢ n −1
⎥
⎢⎣ R P QP P ⎥⎦
This yields the full expression of the network response in matrix form:
⎡ A 11 A 12 ⎤ ⎡Q⎤ ⎡− A 10H f ⎤
⎢ ⎥ =
⎣ A 21 0 ⎦ ⎢⎣H ⎥⎦ ⎢⎣ q
⎥
⎦
with
⎡n1 ⎤
⎢ ⎥
n2
N= ⎢ ⎥
⎢ ... ⎥
⎢ ⎥
⎣ nP ⎦
The final recursive form of the Newton-Raphson algorithm can now be derived after
matrix inversion and various algebraic manipulations and substitutions (not presented
here). The working system of equations for each solution iteration, k, is given by:
−1
{ −1
}
H k +1 = −(A 21 N −1 A 11 A12 ) −1 A 21 N −1 (Q k + A11 A10 H f ) + (q − A 21Q k )
−1
Q k +1 = (1 − N −1 )Q k − N −1 A 11 (A12 H k +1 + A10 H f )
The solution for each unknown nodal head for each time iteration is computationally
intensive. This high-speed solution utilizes a highly optimized sparse matrix solver
(see “The Linear System Equation Solver” on page B-722) that is specifically tailored
to the structure of this matrix system of equations.
Sources:
Todini, E. and S. Pilati, “A gradient Algorithm for the Analysis of Pipe Networks,”
Computer Applications in Water Supply, Vol. 1—Systems Analysis and Simulation,
ed. By Bryan Callback and Chin-Hour Or, Research Studies Press LTD, Watchword,
Hertfordshire, England.
The Conjugate Gradient method (see “The Gradient Algorithm” on page B-719) is
one method that, in theory, converges to an exact solution in a limited number of steps.
The Gradient working equation can be expressed for the pressure network system of
equations as:
Ax = b
where:
x = Hk + 1
{ −1
}
b = − A 21 N −1 (Q k + A 11 A 10 H f ) + (q − A 21Q k )
A = A 21(NA 11 ) −1 A 12 = A 21DA 12
and it can be seen that the nature of the topological matrix components yield a total
working matrix A that is:
• Symmetric
• Positive definite
• Stieltjes type
Because the system is symmetric and positive definite, a Cholesky factorization can
be performed to give:
A = LLT
where L is lower triangular with positive diagonal elements. Making the Cholesky
factorization allows the system to be solved in two steps:
y = L−1b
x = (LT ) −1 y
The use of this approach over more general sparse matrix solvers that implement
traditional Gaussian elimination methods without consideration to matrix symmetry is
preferred, since performance gains are considerable. The algorithm utilized in this
software solves the system of equations using a variant of Cholesky’s method which
has been optimized to reduce fill-in of the factorization matrix, thus minimizing
storage and reducing overall computational effort.
Pumps are an integral part of many pressure systems. Pumps add energy, or head
gains, to the flow to counteract headlosses and hydraulic grade differences within the
system.
A pump is defined by its characteristic curve, which relates the pump head, or the
head added to the system, to the flow rate. This curve is indicative of the ability of the
pump to add head at different flow rates. To model behavior of the pump system, addi-
tional information is needed to ascertain the actual point at which the pump will be
operating.
The system operating point is based on the point at which the pump curve crosses the
system curve representing the static lift and headlosses due to friction and minor
losses (for more information, see “Minor Losses” on page B-732). When these curves
are superimposed, the operating point can easily be found. This is shown in the figure
below.
As water surface elevations and demands throughout the system change, the static
head (Hs) and headlosses (HL) vary. This changes the location of the system curve,
while the pump characteristic curve remains constant. These shifts in the system curve
result in a shifting operating point over time.
Q1 n
= 1
Q2 n2
and
2
h1 ⎛ n1 ⎞
=⎜ ⎟
h 2 ⎜⎝ n 2 ⎟⎠
• Constant Power—These pumps may be useful for preliminary designs and esti-
mating pump size, but should not be used for any analysis for which more accu-
rate results are desired.
• Design Point (One-Point)—A pump can be defined by a single design point (Hd
@ Qd). From this point, the curve’s interception with the head and discharge axes
is computed as Ho = 1.33•Hd and Qo = 2.00•Qd. This type of pump is useful for
preliminary designs, but should not be used for final analysis.
• Standard (Three-Point)—This pump curve is defined by three points—the
shutoff head (pump head at zero discharge), the design point (as with the single-
point pump), and the maximum operating point (the highest discharge at which
the pump performs predictably).
• Standard Extended—The same as the standard three-point pump, but with an
extended point at the zero pump head point. This is automatically calculated by
the program.
• Custom Extended—The custom extended pump is similar to the standard
extended pump, but allows you to enter the discharge at zero pump head.
• Multiple Point—This option allows you to define a custom rating curve for a
pump. The pump curve is defined by entering points for discharge rates at various
heads. Since the general pump equation, shown below, is used to simulate the
pump during the network computations, the user-defined pump curve points are
used to solve for coefficients in the general pump equation:
Y = A − (B × Q C )
The Levenberg-Marquardt Method is used to solve for A, B and C based on the given
multiple-point rating curve.
There are several types of valves that may be present in a pressurized system. These
valves have different behaviors and different responsibilities, but all valves are used
for automatically controlling parts of the system. They can be opened, closed, or throt-
tled to achieve the desired result.
Chezy’s Equation
Chezy’s equation is rarely used directly, but it is the basis for several other methods,
including Manning’s equation. Chezy’s equation is:
Q =C⋅ A ⋅ R⋅S
Colebrook-White Equation
The Colebrook-White equation is used to iteratively calculate for the Darcy-Weisbach
friction factor:
Free Surface:
⏐ k ⎞⎟
= −2 log ⎯
1 2.51 ⎟⎟
⎯
⎯ +
f ⎯
®12.0 R Re f ⎟⎟⎠
⏐ k ⎞⎟
= −2 log ⎯
1 2.51 ⎟⎟
⎯
⎯ +
f ⎯
®3.7 D Re f ⎟⎟⎠
Hazen-Williams Equation
The Hazen-Williams Formula is frequently used in the analysis of pressure pipe
systems (such as water distribution networks and sewer force mains). The formula is
as follows:
Q = k ⋅ C ⋅ A ⋅ R0.63 ⋅ S0.54
Darcy-Weisbach Equation
Because of non-empirical origins, the Darcy-Weisbach equation is viewed by many
engineers as the most accurate method for modeling friction losses. It most commonly
takes the following form:
L V2
hL = f ⋅
D 2g
For section geometries that are not circular, this equation is adapted by relating a
circular section’s full-flow hydraulic radius to its diameter:
D = 4R
R⋅S
Q = A ⋅ 8g ⋅
f
Where: Q = Discharge (m3/s, cfs)
The Swamee and Jain equation can then be used to calculate the friction factor. For
more information, see “Swamee and Jain Equation” on page B-730.
1.325
f =
©⏐ ⎞⎟⎤
2
™ln ⎯
ε + 5. 74 ⎟⎥
™⎯ ⎯ 3.7 D Re0.9 ⎟⎠⎥⎦
⎛ ®
The friction factor is dependent on the Reynolds number of the flow, which is depen-
dent on the flow velocity, which is dependent on the discharge. As you can see, this
process requires the iterative selection of a friction factor until the calculated
discharge agrees with the chosen friction factor.
Manning’s Equation
Manning’s equation, which is based on Chezy’s equation, is one of the most popular
methods in use today for free surface flow. For Manning’s equation, the roughness
coefficient in Chezy’s equation is calculated as:
R1/ 6
C=k⋅
n
Substituting this roughness into Chezy’s equation, you obtain the well-known
Manning’s equation:
k
Q= ⋅ A ⋅ R2 / 3 ⋅ S1/ 2
n
Minor losses in pressure pipes are caused by localized areas of increased turbulence
that create a drop in the energy and hydraulic grades at that point in the system. The
magnitude of these losses is dependent primarily upon the shape of the fitting, which
directly affects the flow lines in the pipe.
The equation most commonly used for determining the loss in a fitting, valve, meter,
or other localized component is:
V2
hm = K
2g
Typical values for fitting loss coefficients are included in the Fittings Table. For more
information, see “Fitting Loss Coefficients” on page B-747.
Generally speaking, more gradual transitions create smoother flow lines and smaller
headlosses. For example, the figure below shows the effects of entrance configuration
on typical pipe entrance flow lines.
A dissolved substance will travel down the length of a pipe with the same average
velocity as the carrier fluid while at the same time reacting (either growing or
decaying) at some given rate. Longitudinal dispersion is usually not an important
transport mechanism under most operating conditions. This means there is no inter-
mixing of mass between adjacent parcels of water traveling down a pipe.
∂C i ∂C i
-------- = – u i -------- + r ( C i )
∂t ∂x
Where: Ci = Concentration (mass/volume) in pipe i
At junctions receiving inflow from two or more pipes, the mixing of fluid is taken to
be complete and instantaneous. Thus the concentration of a substance in water leaving
the junction is the flow-weighted sum of the concentrations from the inflow pipes.
Ci x = 0 =
∑ jε I k Q j C j x = L + Q k, ext C k, ext
j
----------------------------------------------------------------------------------------
∑ jε I k Qj + Qk, ext
Where: I = Link with flow leaving node k
Ik = Set of links with flow into k
Lj = Length of link j
It is convenient to assume that the contents of storage facilities (tanks and reservoirs)
are completely mixed. This is a reasonable assumption for many tanks operating under
fill-and-draw conditions, providing that sufficient momentum flux is imparted to the
inflow (Rossman and Grayman, 1999). Under completely mixed conditions the
concentration throughout the tank is a blend of the current contents and that of any
entering water. At the same time, the internal concentration could be changing due to
reactions.
∂( V s C s )
-------------------
∂t
- = ∑ i ε I s Q i C i x = L – ∑ j ε O s Q j Cs + r ( Cs )
i
While a substance moves down a pipe or resides in storage, it can undergo reaction
with constituents in the water column. The rate of reaction can generally be described
as a power function of concentration:
n
r = kC
When a limiting concentration exists on the ultimate growth or loss of a substance, the
rate expression becomes:
(n – 1)
R = K b ( C L – C )C
(n – 1)
R = K b ( C – C L )C
R = Kb C
R = Kb ( CL – C )
This model can be applied to the growth of disinfection by-products, such as trihalom-
ethanes, where the ultimate formation of by-product (CL) is limited by the amount of
reactive precursor present.
R = Kb C ( CL – C )
This model assumes that substance A reacts with substance B in some unknown ratio
to produce a product P. The rate of disappearance of A is proportional to the product of
A and B remaining. CL can be either positive or negative, depending on whether either
component A or B is in excess, respectively. Clark (1998) has had success in applying
this model to chlorine decay data that did not conform to the simple first-order model.
Note: These expressions apply only for values of Kb and CL used with
Michaelis-Menton kinetics.
Kb C
R = ----------------
-
CL – C
As a special case, when a negative reaction order n is specified, WaterCAD will utilize
the Michaelis-Menton rate equation, shown above for a decay reaction. (For growth
reactions the denominator becomes CL + C.) This rate equation is often used to
describe enzyme-catalyzed reactions and microbial growth. It produces first-order
behavior at low concentrations and zero-order behavior at higher concentrations. Note
that for decay reactions, CL must be set higher than the initial concentration present.
1.365 ( 100UVA )
K b = – 0.32 UVA --------------------------
DOC
C L = 4.98UVA – 1.91DOC
Zero-Order Growth
(CL = 0, Kb = 1, n = 0)
R = 1.0
This special case can be used to model water age, where with each unit of time the
concentration (i.e., age) increases by one unit.
The relationship between the bulk rate constant seen at one temperature (T1) to that at
another temperature (T2) is often expressed using a van’t Hoff-Arrehnius equation of
the form:
( T2 – T1 )
K b2 = K b1 θ
Where: θ = Constant
In one investigation for chlorine, q was estimated to be 1.1 when T1 was 20 deg. C
(Koechling, 1998).
While flowing through pipes, dissolved substances can be transported to the pipe wall
and react with material such as corrosion products or biofilm that are on or close to the
wall. The amount of wall area available for reaction and the rate of mass transfer
between the bulk fluid and the wall will also influence the overall rate of this reaction.
The surface area per unit volume, which for a pipe equals 2 divided by the radius,
determines the former factor. The latter factor can be represented by a mass transfer
coefficient whose value depends on the molecular diffusivity of the reactive species
and on the Reynolds number of the flow (Rossman et. al, 1994).
For first-order kinetics, the rate of a pipe wall reaction can be expressed as:
2k w k f C
r = -------------------------
R ( kw + kf )
R = Pipe radius
For zero-order kinetics, the reaction rate cannot be any higher than the rate of mass
transfer, so:
r = MIN ( k w, k C ) ( 2 ⁄ R )
f
Where: kw = Mass/area/time
D
k f = Sh ----
d
In fully developed laminar flow, the average Sherwood number along the length of a
pipe can be expressed as:
0.0668 ( d ⁄ L )ReSc
Sh = 3.65 + --------------------------------------------------------------------
2⁄ 3
1 + 0.04 [ ( d ⁄ L )ReSc ]
For turbulent flow the empirical correlation of Notter and Sleicher (1971) can be used:
0.88 1⁄ 3
Sh = 0.0149Re Sc
When applied to a network as a whole, Equations 1-3 represent a coupled set of differ-
ential/algebraic equations with time-varying coefficients that must be solved for Ci in
each pipe i and Cs in each storage facility s. This solution is subject to the following
set of externally imposed conditions:
• Initial conditions that specify Ci for all x in each pipe i and Cs in each storage
facility s at time 0
• Boundary conditions that specify values for Ck,ext and Qk,ext for all time t at
each node k which has external mass inputs
• Hydraulic conditions which specify the volume Vs in each storage facility s and
the flow Qi in each link i at all times t
than hours) to accommodate the short times of travel that can occur within pipes. As
time progresses, the size of the most upstream segment in a pipe increases as water
enters the pipe while an equal loss in size of the most downstream segment occurs as
water leaves the link. The size of the segments in between these remains unchanged.
The following steps occur at the end of each such time step:
1. The water quality in each segment is updated to reflect any reaction that may have
occurred over the time step.
2. The water from the leading segments of pipes with flow into each junction is
blended together to compute a new water quality value at the junction. The
volume contributed from each segment equals the product of its pipe’s flow rate
and the time step. If this volume exceeds that of the segment, then the segment is
destroyed and the next one in line behind it begins to contribute its volume.
3. Contributions from outside sources are added to the quality values at the junc-
tions. The quality in storage tanks is updated depending on the method used to
model mixing in the tank (see “Figure B-6: Behavior of Segments in the
Lagrangian Solution Method”on page B-741).
4. New segments are created in pipes with flow out of each junction, reservoir, and
tank. The segment volume equals the product of the pipe flow and the time step.
The segment’s water quality equals the new quality value computed for the node.
To cut down on the number of segments, this step is only carried out if the new
node quality differs by a user-specified tolerance from that of the last segment in
the outflow pipe. If the difference in quality is below the tolerance, then the size of
the current last segment in the outflow pipe is increased by the volume flowing
into the pipe over the time step.
This process is then repeated for the next water-quality time step. At the start of the
next hydraulic time step, the order of segments in any links that experience a flow
reversal is switched. Initially each pipe in the network consists of a single segment
whose quality equals the initial quality assigned to the upstream node.
2 Time t
3 2 1 2 1
2 Time t + ∆t
3 2 3 2 1
B.4.8 References
Dunlop, E.J., WADI Users Manual, Local Government Computer Services Board,
Dublin, Ireland, 1991.
George, A. & Liu, J. W-H., Computer Solution of Large Sparse Positive Definite
Systems, Prentice-Hall, Englewood Cliffs, NJ, 1981.
Hamam, Y.M., & Brameller, A., “Hybrid method for the solution of piping networks,”
Proc. IEE, Vol. 113, No. 11, pp. 1607-1612, 1971.
Liou, C.P. and Kroon, J.R., “Modeling the propagation of waterborne substances in
distribution networks,” J. AWWA, 79(11), 54-58, 1987.
Notter, R.H. and Sleicher, C.A., “The eddy diffusivity in the turbulent boundary layer
near a wall,” Chem. Eng. Sci., Vol. 26, pp. 161-171, 1971.
Osiadacz, A.J., Simulation and Analysis of Gas Networks, E. & F.N. Spon, London,
1987.
Rossman, L.A., Boulos, P.F., and Altman, T., “Discrete volume-element method for
network water-quality models,” Journal of Water Resource Planning and Manage-
ment, Vol. 119, No. 5, 505-517, 1993.
Rossman, L.A., Clark, R.M., and Grayman, W.M., “Modeling chlorine residuals in
drinking-water distribution systems,” Journal of Environmental Engineering, Vol.
120, No. 4, 803-820, 1994.
Rossman, L.A. and Boulos, P.F., “Numerical methods for modeling water quality in
distribution systems: A comparison,” Journal of Water Resource Planning and
Management, Vol. 122, No. 2, 137-146, 1996.
Rossman, L.A. and Grayman, W.M., “Scale-model studies of mixing in drinking water
storage tanks,” Journal of Environmental Engineering, Vol. 125, No. 8, pp. 755-761,
1999.
Salgado, R., Todini, E., & O’Connell, P.E., “Extending the gradient method to include
pressure regulating valves in pipe networks,” Proc. Inter. Symposium on Computer
Modeling of Water Distribution Systems, University of Kentucky, May 12-13, 1988.
Todini, E. & Pilati, S., “A gradient method for the analysis of pipe networks,” 1987.
Roughness Values:
Coefficients:
b. Steel
c. Cast iron
d. Wrought iron
e. Corrugated metal
Pipe Material C
Brass 130-140
Cast-iron
Copper 130-140
Glass 140
Lead 130-140
Plastic 140-150
Steel
Pipe Material C
Riveted 110
Tin 130
Typical pipe roughness values are shown below. These values may vary depending on
the manufacturer, workmanship, age, and many other factors.
Manning’s Hazen-
Darcy-Weisbach
Material Coefficient Williams
Roughness Height
n C
Concrete:
Manning’s Hazen-
Darcy-Weisbach
Material Coefficient Williams
Roughness Height
n C
Steel
For similar fittings, the K-value is highly dependent on things such as bend radius and
contraction ratios.
Expansion—Sudden Cross
Computer models have become an essential tool for the management of water distri-
bution systems around the world. There are numerous purposes for using a computer
model to simulate the flow conditions within a system. A model can be employed to:
• Ensure adequate quantity and quality service of the potable water resource to the
community
• Evaluate planning and design alternatives
• Assess system performance
• Verify operating strategies for better management of the water infrastructure
system
• Perform vulnerability studies to assess risks that may be presented and affect the
water supply
For these purposes, a model is constructed in which data describing network elements
of pipes, junctions, valves, pumps, tanks, and reservoirs are assembled in a systematic
manner to predict pipe flow and junction hydraulic grade lines (HGL) or pressures
within a water distribution system.
Computer models are significant investments for water companies. To ensure a good
investment return and correct use of the models, the model must be capable of
correctly simulating flow conditions encountered at the site. This is achieved by cali-
brating the models. A calibration involves the process of adjusting model characteris-
tics and parameters so that the model’s predicted flows and pressures match actual
observed field data to some desirable or acceptable level. This is described in more
detail in Walski, Chase and Savic (2001).
Calibration of a water distribution model is a complicated task. There are many uncer-
tain parameters that need to be adjusted to reduce the discrepancy between the model
predictions and field observations of junction HGL and pipe discharges. Pipe rough-
ness coefficients are often considered for calibration. However, there are many other
parameters that are uncertain and affect junction HGL and pipe flow rate. To minimize
errors in model parameters and eliminate the compensation error of calibration param-
eters (Walski 2001), you should consider calibrating all the model parameters, such as
junction demand, operation status of pipes and valves, and pipe roughness coeffi-
cients.
Calibrating water distribution network models relies upon field measurement data,
such as junction pressures, pipe flows, water levels in storage facilities, valve settings,
pump operating status (on/off), and pump speeds. Among all the possible field obser-
vation data, junction HGL and pipe flows are most often used to evaluate the good-
ness-of-fit of the model calibration. Other parameters, such as tank levels, valve
settings, and pump operating status/speed are used as boundary conditions that are
recorded when collecting a set of calibration observations of junction pressures and
pipe flow rates.
Field observation data are measured and collected at different times of the day and at
various locations on site, which may correspond to various demand loadings and
boundary conditions. In order for the model simulation results to more closely repre-
sent observed data, simulation results must use the same demand loading and
boundary conditions as observed data. Thus, the calibration process must be
conducted under multiple demand loading and operating boundary conditions.
the model parameters, and calculates it again to produce a new set of simulation
results. This may have to be repeated many times to make sure that the model
produces a calibrated prediction of the water distribution network in the real world.
The traditional calibration technique is, among other things, quite time consuming.
Calibration Formulation
An optimized calibrator is formulated and developed for facilitating the calibration
process of a water distribution model. The parameters are obtained by minimizing the
discrepancy between the model-predicted and the field-observed values of junction
pressures (hydraulic grades) and pipe flows for given boundary conditions. The opti-
mized calibration is then defined as a nonlinear optimization problem with three
different calibration objectives.
Calibration Objectives
The goodness-of-fit of model calibration is evaluated by the discrepancy between the
model simulated and field measured junction HGL and pipe flow. The goodness-of-fit
score is calculated by using a user-specified fitness-point-per-hydraulic head for junc-
tions and fitness-point-per-flow for pipes. This allows a modeler to flexibly weight the
evaluation of both pipe flow and junction hydraulic head.
2 2
NH
⎛ Hsimnh − Hobsnh ⎞ NF
⎛ Fsimnf − Fobsnf ⎞
∑ w ⎜
nh ⎜
Hpnt
⎟
⎟ + ∑ wnf ⎜⎜
Fpnt
⎟⎟
minimize np =1 ⎝ ⎠ nf =1 ⎝ ⎠
NH + NF
NH
Hsimnh − Hobsnh NF Fsimnf − Fobsnf
∑ wnh
np =1 Hpnt
+ ∑ wnf
nf =1 Fpnt
minimize
NH + NF
Calibration Constraints
Optimized calibration is conducted by satisfying two type constraints, the hydraulic
system constraints and calibration parameter bound constraints. The system
constraints are a set of implicit equations that ensure the conservation of flow conti-
nuity at nodes and energy for the loops within a water distribution system. Each trial
solution generated by the GA is analyzed using WaterCAD hydraulic network solver.
The calibration bound constraints are used to set the minimum and maximum limits
for the pipe roughness coefficients and junction demand multiplier. They are given as
follows.
Pipes that have the same physical and hydraulic characteristics are allowed to be
grouped as one calibration link, and one new roughness coefficient or one roughness
coefficient multiplier is assigned to all the pipes in the same group. Junctions that have
the same demand patterns and within a same topological area can also be aggregated
as one calibration junction, to which a same demand multiplier is calculated and
assigned. Calibration parameters are bounded by prescribed upper and lower limits
and adjusted with a user-prescribed incremental value. For example, a Hazen-Will-
iams C value for a pipe or a group of pipes will be computed within a range of 40 to
140, and by an increment of 5. Demand multipliers may range from 0.8 to 1.2 by 0.1.
Parameter aggregation is useful at reducing the calibration dimension, however
caution needs to be exercised when grouping pipes and junctions, as this may affect
the accuracy of the model calibration.
One generation produced by the genetic algorithm is then complete. The fitness
measure is taken into account when performing the next generation of the genetic
algorithm operations. To find the optimal calibration solutions, fitter solutions will be
selected by mimicking Darwin’s natural selection principal of survival of the fittest.
The selected solutions are used to reproduce a next generation of calibration solutions
by performing genetic operations. Over many generations, the solutions evolve, and
the optimal or near optimal solutions ultimately emerge. There are numerous varia-
tions of genetic algorithms over last decade. Many successful applications of GA to
solving model calibration have been carried out for optimized calibration of water
resource systems (Wang 1992; Wu 1994; Babovic etc. 1994; Wu and Larsen 1996).
More recently, a competent genetic algorithm (also called fast messy GA), which has
been demonstrated the most efficient GA for the optimization of a water distribution
system (Wu & Simpson 2001), has been used for the optimized calibration. A brief
overview is given in the following section.
Darwin Designer uses a genetic algorithm (GA) generic search paradigm to help
hydraulic engineers efficiently plan and design a water distribution system.
The optimization model can be established to include the combination and aggrega-
tion of sizing new pipes and rehabilitating old pipes, multiple demand loading condi-
tions, and various boundary system conditions. This will enable a modeler to optimize
either an entire water system or a portion of the system with the minimum cost and
maximum benefit. The cost effective design and/or rehabilitation solution is deter-
mined by the least cost, the maximum benefit, or the trade-off between the cost and
benefit. You can select any one of three optimization models to best suit your project
needs.
Both model level 1 and 2 are single-objective optimization while level 3 is the multi-
objective optimization. A modeler is able to select optimization model for a study. The
optimization framework including both the cost and benefit functions is given in the
following sections.:
Design Variables
Two types of design variables are used for the optimal design and rehabilitation of
water distribution systems. They are pipe sizes (d) and design actions (e).
0 ⎧ 0 ⎫
∀i, ∀d i ∈ D = ⎨ d m, m = 1, …, DC ⎬
⎩ ⎭
Design Action: Design action is introduced as a design variable for
optimizing the rehabilitation alternatives (e.g.
cleaning, relining, replacement, parallel pipe, etc.)
for existing pipes. A modeler can define a set of
possible actions that can be applied to a group of
pipes. The pipes within one pipe group will have the
same rehabilitation action, given as:
0 ⎧ 0 ⎫
∀k, ∀e k ∈ E = ⎨ e m, m = 1, …, EC ⎬
⎩ ⎭
Total cost of a network design and rehabilitation is the sum of the new pipe cost (Cnew
), rehabilitation pipe cost (Crehab ) and pipe break repairing cost (Crepair ). Thus the
total cost is given as:
The cost of a new design pipe is defined as a function of pipe length. Let the total
number of design pipes be DP, and let ck(dk) be the cost per unit length of the k-th
pipe diameter selected from a set of available pipe diameter D0 of DC choices. The
new pipe cost is given as:
DP
C cnew = ∑ Ck ( dk )Lk
k=1
The cost of a rehabilitation pipe is associated with the pipe diameter and the rehabili-
tation action. Let ck(ek, dk) be cost per unit length of a pipe for the kth rehabilitation
action ek chosen from a set of possible action E0 of EC choices for the existing pipe of
diameter dk. The cost of rehabilitation pipes is formulated as:
RP
C rehab = ∑ ck (dk,ek)Lk
k=1
For the pipes that are grouped into one design link, the same pipe size or rehabilitation
action will be applied to the pipes.
Pipe renovation or rehabilitation will effectively improve the pipe structure condition,
and consequently reduce the pipe break repair cost. For the rehabilitation pipes that
the action of doing-nothing (leaving a pipe as it is) is assigned to, a cost of repairing
pipe break is incurred to account for the potential cost in a planning horizon (such as
10 years). Assuming bj(t) the number of breaks per mile at year t for pipe j, Cbj the
repair cost per break of pipe j. The total cost of pipe repair over a period of ny years is
given as:
RB ny
b j tCb j
C break = ∑ ∑ -----------------
(1 + r)
-
t
j=0 t=0
Benefit Functions
The benefits of a design and rehabilitation result from hydraulic performance
improvement (hydraulic benefit), excess hydraulic capacity (capacity benefit), and
pipe rehabilitation improvement (rehabilitation benefit). The hydraulic benefit is
measured by using a surrogate of the junction pressures. The hydraulic capacity
benefit is modeled by the excess flow through the emitters at user-selected junctions,
while the rehabilitation benefit is defined as the pipe roughness improvement. There-
fore, the overall benefit is noted as:
Pressure Benefits
The benefit of the hydraulic performance is measured by using junction pressure (P)
improvements. The pressure improvement is proposed as a ratio of pressure difference
between the actual pressure and a user-defined reference pressure. The benefit is
normalized by the junction demand (JQ). The factors are also introduced to enable a
modeler to convert and customize the hydraulic benefit function.
ND ⎧ RJ b
ref ⎫
⎪ ⎛ JQ i, k ⎞ ( P i, k – P i, k ) ⎪
HYbenefit = ⎨a
⎪
∑
⎝ JQtotal ∑
⎜ ----------------------⎟ ---------------------------------
k⎠ ref
P i, k
- ⎬
⎪
k = 1⎩ i = 1 ⎭
RJ
JQtotal k = ∑ JQi, k
i=1
Rehabilitation Benefit
Rehabilitation improves water supply by increasing the pipe capacity and improving
the pipe roughness. To maximize the value of every dollar spent on rehabilitation, a
rehabilitation action should favor the actual improvement of the pipe smoothness.
Thus the rehabilitation benefit is quantified by the roughness improvement ratio and
normalized by the rehabilitated pipe length.
RP new old
( Ci – C i )L i
RHbenefit = e ∑ ------------------------------------------
old
C i L total
-
i=1
RP
L = ∑ Li
i=1
The benefit from a design and rehabilitation can also be quantified by using the unit-
ized average flow and pressure increase across the entire system. The benefit func-
tions can be simply given as follows.
Average Pressure Increase: With the unitized benefit function, you can evaluate
the average flow and pressure enhancement for your
investment. It is worth being aware of the value of
the dollars spent on your design and/or rehabilitation.
JN
∑ Pj – Pmin
j=1
Pavg = -------------------------------------
JN
Design Constraints: Each design trial solution is analyzed by a number of
hydraulic simulation runs corresponding to the
multiple demand conditions. The system responses,
such as junction pressures, flow velocities, and
hydraulic gradients, will be checked against the
design criteria you set.
Pipe Size Constraint: A list of available pipe sizes (and costs) is specified
and used as a commonly shared data by all the pipe
groups. For each group, you specify the minimum
and maximum diameters, which narrows the scope of
the optimization problem. Pipe size is selected from a
list of commercially available pipe diameters within
the range of the minimum and maximum limit, such
as:
min max
Di ≤d i ≤D i , ∀i
d i ∉ D i = {d i, 1 , d i, 2 , …, d i, n}
max
HG i, j ≤HG i, j , ∀t, i = 1, …, NP ; j = 1, …, NDM
There is no need to modify or simplify the system hydraulics and design criteria to fit
multi-objective GA. Single-objective optimization is used to identify the optimal or
near-optimal solutions according to the sole objective function. As soon as a solution
is found better than the current-best solution, it is accepted. Multi-objective optimiza-
tion is to locate the non-inferior (or non-dominated) solutions in solution space. Solu-
tion A is called non-inferior to solution B if and only if solution A is no worse than
solution B in all the objectives. It is also said that solution A dominates solution B or
that solution A is a non-dominated solution. A global non-dominated solution is
defined as the solution that is no worse than any other feasible solutions in all the
objectives. There exist multiple global non-dominated solutions. The task of a multi-
objective optimization is to search for all the global non-dominated or non-inferior
solutions also known as the Pareto-optimal set or Pareto-optimal front.
approach (Wu et al. 2002) provides a powerful design optimization tool to assist
hydraulic engineers to practically and efficiently design a water distribution system. It
offers capability of three levels of optimization design analysis, including minimum
cost design, maximum benefit design and cost-benefit trade-off design optimization.
The working mechanics of a genetic algorithm are derived from a simple assumption
(Holland 1975) that the best solution will be found in the solution region that contains
a relatively high proportion of good solutions. A set of strings that represent the good
solutions attains certain similarities in bit values. For example, 3-bit binary strings
001, 111, 101 and 011 have a common similarity template of **1, where asterisk (*)
denotes a don’t-care symbol that takes a value of either 1 or 0. The four strings repre-
sent four good solutions and contribute to the fitness values of 10, 12, 11, and 11 to a
fitness function of:
x⁄ 3
f ( x 1, x 2, x 3 ) = x 1 + x 2 + 10
Where, x1, x2 and x3 directly takes a bit value as an integer from left to right. In
general, a short similarity template that contributes an above-average fitness is called
a building block. Building blocks are often contained in short strings that represent
partial solutions to a specific problem. Thus, searching for good solutions uncovers
and juxtaposes the good short strings, which essentially designate a good solution
region, and finally leads a search to the best solution.
Goldberg et al. (1989) developed the messy genetic algorithm as one of the competent
genetic algorithm paradigms by focusing on improving GA’s capability of identifying
and exchanging building blocks. The first-generation of the messy GA explicitly
initializes all the short strings of a desired length k, where k is referred as to the order
of a building block defined by a short string. For a binary string representation, all the
combinations of order-k building blocks requires a number of initial short strings of
length k for an l-bit problem:
k l
n = 2 ⎛ --⎞
⎝ k⎠
For example, the initial population size of short strings, by completely enumerating
the building blocks of order 4 for a 40-bit problem, is more than one million. This
made the application of the first-generation messy GA to a large-scale optimization
problem impossible. This bottleneck has been overcome by introducing a building
block filter procedure (Goldberg et al. 1993) into the messy GA. The filter procedure
speeds up the search process and is called a fast messy GA.
The fast messy GA emulates the powerful genetic-evolutionary process in two nested
loops, an outer loop and an inner loop. Each cycle of the outer loop, denoted as an era,
invokes an initialization phase and an inner loop that consists of a building block
filtering phase and a juxtapositional phase. Like a simple genetic algorithm, the messy
GA initialization creates a population of random individuals. The population size has
to be large enough to ensure the presence of all possible building blocks. Then a
building block filtering procedure is applied to select better-fit short strings and reduce
the string length. It works like a filter so that bad genes not belonging to building
blocks are deleted, so that the population contains a high proportion of short strings of
good genes. The filtering procedure continues until the overall string length is reduced
to a desired length k. Finally, a juxtapositional phase follows to produce new strings.
During this phase, the processed building blocks are combined and exchanged to form
offspring by applying the selection and reproduction operators. The juxtapositional
phase terminates when the maximum number of generations is reached, and the cycle
of one era iteration completes. The length of short strings that contains desired
building blocks is often specified as the same as an era, starting with one to a
maximum number of era. Because of this, preferred short strings increase in length
over outer iterations. In another words, a messy GA evolves solutions from short
strings starting from length one to a maximum desired length. This enables the messy
GA to mimic the natural and biological evolution process that a simple or one cell
organism evolves into a more sophisticated and intelligent organism. Goldberg et al.
(1989, 1993) has given the detail analysis and computation procedure of the messy
GA.
B.6.4 References
Cohon, J.L., Multi-objective Programming and Planning. Academic Press, New York,
1978.
Goldberg, D. E., Korb, B., & Deb, K., “Messy genetic algorithms: Motivation, anal-
ysis, and first results,” Complex Systems, 3, 493-530, 1989.
Goldberg, D. E., Deb, K., Kargupta, H., & Harik G., “Rapid, Accurate Optimization of
Difficult Problems Using Fast Messy Genetic Algorithms,” IlliGAL Report No.
93004, Illinois Genetic Algorithms Laboratory, University of Illinios at Urbana-
Champaign, Urbana, IL 61801, 1993.
Walski, T.M., “Model Calibration Data: The Good, The Bad and The Useless,” J.
AWWA, 92(1), p. 94, 2000.
Walski, T. M., “Understanding the adjustments for water distribution system model
calibration,” Journal of Indian Water Works Association, April-June, 2001, pp151-
157, 2001.
Walski, T.M., Chase, D.V. and Savic, D.A., Water Distribution Modeling, Haestad
Press, Waterbury, CT, 2001.
Wang Q.J., “The Genetic Algorithm and its Application to Conceptual Rainfall-
Runoff Models,” Water Resources Research, Vol.27, No.9, pp2467-2482, 1991.
Wu, Z. Y., Boulos, P.F., Orr, C.H., and Ro, J.J., “An Efficient Genetic Algorithms
Approach to an Intelligent Decision Support System for Water Distribution
Networks,” in Proceedings of the Hydroinformatics 2000 Conference, Iowa, IW, July
26-29, 2000.
Wu, Z. Y., Boulos P. F., Orr C.-H. and Ro J. J., “Rehabilitation of water distribution
system using genetic algorithm,” Journal of AWWA, Vol. 93, No. 11, pp74-85, 2001.
Wu Z.Y. & Larsen C.L., “Verification of hydrological and hydrodynamic models cali-
brated by genetic algorithms,” Proc. of the 2nd International Conference on Water
Resources & Environmental Research, Vol. 2, Kyoto, Japan, pp175-182, 1996.
Wu, Z. Y. and Simpson A. R., “An Efficient Genetic Algorithm Paradigm for Discrete
Optimization of Pipeline Networks,” International Congress on Modeling and Simula-
tion, Hobart, Tasmania, Australia, 8-11 December, 1997b.
Wu, Z. Y. and Simpson A. R., “Messy Genetic Algorithm for Optimal Design of Water
Distribution Systems,” Research Report, No. 140, Department of Civil & Environ-
mental Engineering, University of Adelaide, South Australia., 1996
Wu, Z. Y, Walski, T., Mankowski, R., Cook, J. Tryby, M. and Herrin G., “Optimal
Capacity of Water Distribution Systems,” in Proceeding of 1st Annual Environmental
and Water Resources Systems Analysis (EWRSA) Symposium, Roanoke, VA, May 19-
22, 2002.
Power is the rate at which energy can be transferred, and there are several different
powers that are associated with the pumping process. In order for power to be trans-
ferred to the water, it needs to go through several steps: from the electrical wires into
the pump motor, from the motor into the pump, and finally from the pump to the water
itself. Each transfer results in energy losses.
Water power is the power associated with the water itself, and is a function of the fluid
characteristics, the gain in head, and the rate of discharge.
PW = ρ · g · ∆H · Q
Brake power is the power at the pump itself, and is related to the water power by:
PW = PB · ep
In other words, the pump efficiency represents the ability of the pump to transfer
power from the pump itself to the water. The pump efficiency varies over the oper-
ating range of the pump, so it is important to model pump efficiency as closely as
possible to ensure an accurate representation of your system.
Motor power is the power that the pump’s motor receives from the electrical utility,
and is related to the pump brake power by:
PB = PM · em
In other words, the motor efficiency represents that ability of the motor to transfer
power from the electrical lines to the pump itself. For most pumps, the motor effi-
ciency can be considered to be constant over the whole operating range of the pump.
For example, if a motor has an efficiency of 90% (0.90) and the variable speed drive
has an efficiency of 85% (0.85) at the speeds being used, then the motor efficiency
should be entered as 76.5% (0.765).
You are encouraged to find the drive efficiency data for the specific drive that is being
used. See “Table B-6: Variable Speed Drive Efficiency”on page B-767 for some
typical data for variable speed drive efficiency, found in the report, “Operations and
Training Manual on Energy Efficiency in Water and Wastewater Treatment Plants,”
TREEO Center, University of Florida, 1986.
100 83 85 83
90 82 78 75
70 81 59 56
50 76 43 33
These corrections should not be made to alternatives with constant speed pumps. If
you are performing an analysis to compare constant and variable speed pump, you
should set up two alternatives: one for the constant speed pump and a second for the
variable speed pump.
B.7.5 Energy
E=P·t
Although water energy and pump energy could be calculated, the motor energy is the
primary consideration for water distribution systems because this is the energy that the
utility is billed for.
B.7.6 Cost
There are several different methods that an electrical provider may use to bill for their
energy.
Tank storage can have a considerable effect on the estimated energy costs for a
system. As tanks fill or drain, they also act as an energy (and therefore cost) storage
element. If a tank is full when a simulation begins and empty when it ends, there is an
energy deficit—at some point the pumps will need to operate again in order to
replenish the tank. Likewise, if a tank begins empty and fills over the course of a
simulation, that represents an energy credit when the total daily cost is calculated.
For energy costs and storage costs, the total computed cost is adjusted according to the
ratio of a single day to the analysis duration. For peak usage cost, a daily cost is
computed by dividing the peak usage cost by the number of days in a billing cycle.
WaterCAD variable speed pumping feature will allow designers to make better deci-
sions by empowering them to fully evaluate the advantages and disadvantages associ-
ated with VSPs for their unique application.
Within WaterCAD there are two different ways to model VSPs depending on the data
available to describe pump operations. The relative speed factor is a unitless number
that quantifies the rotational speed of the pump drive shaft. 1) If the relative speed
factor (or for EPS simulations a series of factors) is known, a pattern based VSP can
be used. 2) If the relative speed factor is unknown, it can be estimated using the VSP
with WaterCAD new Automatic Parameter Estimation eXtension (APEX).
• Pattern Based VSPs—The variable speed pumping model lets you adjust pump
performance using the relative speed factor. A single relative speed setting or a
pattern of time varying relative speed factors can be applied to the pump. This is
especially useful when modeling the operation of existing VSPs in your system.
The Affinity Laws are used to adjust pump performance according to the relative
speed factor setting. For more information, see “Pump Theory” on page B-723.
• VSPs with APEX—APEX can be used in conjunction with the VSP model to
estimate an unknown relative speed setting sufficient to maintain an operating
objective. APEX uses an explicit algorithm to solve for unknown parameters
directly (Boulos and Wood, 1990). This technique has proven to be powerful,
robust, and computationally efficient for estimation of network parameters and
has been improved to allow use for steady state and extended period simulations.
To use APEX for estimating relative speed factors, the control node and control
level setting for the pump must be selected and the pump curve and operating
range for the pump must be defined. The following paragraphs provide guidelines
for performing these tasks.
• Control Node Location—The location of the control node is an important
consideration that affects pump operating efficiency, pressure maintenance perfor-
mance, and, in rare instances, the stability of the parameter estimation calculation.
The algorithm has been designed to allow multiple VSPs to operate within one
pressure zone of a network; however, the pump and control node pairs should be
decoupled from one another. In other words, a control node should be located such
that only the pump it controls influences it. If the pressure zone of the model
contains a tank or reservoir (hydraulic boundary conditions), consider making the
boundary condition the control node as opposed to selecting a pressure junction
near the boundary. This will eliminate the possibility of specifying a set of
hydraulic conditions that are impossible to maintain, and thus reduce the possi-
bility of computational failure.
• Setting the Target Head—The control node target head is the constant elevation
of the hydraulic grade line (HGL) that the VSP will attempt to maintain. The
target head at the control node must be within the physical limitations of the VSP
as it has been defined (pump curve and maximum speed setting). If the target head
is greater then the maximum head, the pump can generate at the demanded flow
rate the pump will automatically revert to fixed speed operation at the maximum
relative speed setting, and the target head will not be maintained.
Tip: Navigating to the target head settings—The VSP target head for
junction nodes can be set on the VSP tab of the Pump dialog
box, and for tanks on the Section tab of the Tank dialog box by
adjusting the initial level.
on the normal operating range of the drive motor. To set the proper maximum
value, you must determine the drive motor’s normal operating speed and
maximum operating speed (the maximum speed at which the drive motor
normally operates, not the speed at which the drive catastrophically fails). The
relative speed factor is defined as the quotient of the current operating speed and
the normal operating speed. Thus the maximum relative speed factor is the
maximum operating speed of the drive divided by the normal operating speed. For
example, a maximum relative speed factor of 2.0 means that the maximum speed
is two times the normal operating speed, and a maximum relative speed factor of
1.0 means that the maximum operating speed is equal to the normal operating
speed.
• Defining the Pump Curve—In order to determine the relative speed factor using
APEX, the pump curve must be smooth and continuously differentiable; thus a
one point or three point power function curve definition must be used. For best
results, the curve should be defined for the normal operating speed of the pump
(corresponding to a relative speed factor equal to 1.0, regardless of the maximum
speed setting).
The VSP model and APEX have been designed to fully integrate with the simple and
rule based control framework within WaterCAD. You must keep in mind that the defi-
nition of controls requires that the state (On, Off, Fixed Speed Override) and speed
setting of a VSP be properly managed during the simulation. Therefore, the interac-
tions between VSPs and controls can be rather complex. We have tried to the extent
possible to simplify these interactions while maintaining the power and flexibility to
model real world behaviors. The paragraphs that follow describe guidelines for
defining simple and logical controls with VSPs.
• Pattern based VSPs—The pattern of relative speed factors specified for a VSP
takes precedence over all simple and logical control commands. Therefore, the
use of controls with pattern based VSPs is not recommended. Rather, the pattern
of relative speed factors should be defined such that control objectives are implic-
itly met.
• VSPs with APEX—A VSP can be switched into any one of three different states.
When the VSP is On, the APEX will estimate the relative speed sufficient to
maintain a constant pressure head at the control node. When the VSP is Off, the
relative speed factor and flow through the pump are set to zero, and the pressure
head at the control node is a function of the prevailing network boundary and
demand conditions. When the control state of a VSP is Fixed Speed Override, the
pump will operate at the maximum speed setting and the target head will no
longer be maintained. The Temporarily Closed state for a VSP indicates that the
check valve (CV) within the pump has closed in response to prevailing hydraulic
conditions, and that the target head cannot be maintained. The VSP control node
can be specified at any junction node or tank in a network model. As described
below, however, the behavior of simple and logical controls depends on the type
of control node selected.
• Junction Nodes—When the VSP control node type selected is a junction node,
the VSP will behave according to some automatic behaviors in addition to the
controls defined for the pump. If the head at the control node is above the target
head, the pump state will automatically switch to Off. If the head at the control
node is less then the target head, the pump state will automatically switch to On.
The VSP will automatically switch into and out of the Fixed Speed Override and
Temporarily Closed states in order to maintain the fixed head at the control node
and prevent reverse flow through the pump. Additional controls can be added to
model more complex use cases.
• Tanks—When the VSP control node is a tank, you must manage the state of the
pump through control definitions, allowing for flexible modeling of the complex
control behaviors that may be desired for tanks. If a VSP has a state of On, the
pump will maintain the current level of the tank. For example, at the beginning of
a simulation if a VSP has status of on, it will maintain the initial level of the tank.
As the simulation progresses and the pump happens to turn off, temporarily close,
or go into fixed speed override, the level in the tank will be determined in
response to the hydraulic conditions prevailing in the network. When the VSP
turns on again, it will maintain the current level of the tank, not the initial level.
Thus control statements must be written that dictate what state the pump should
switch to depending on the level in the tank. A pump station with a VSP and a
fixed-speed pump operating in a coordinated fashion can be used to model tank
drain and fill operations.
The VSP model is fully integrated with the energy cost manager for easy estimation of
pump operating costs. When comparing the energy efficiency of fixed speed and vari-
able speed pumps, however, it is important to bear in mind that the pumps are not
maintaining the same pressures in the network. The performance of the pumps should
be compared in such a way that takes this difference into account; otherwise the
comparison is of little value. For example, consider a comparison between a VSP and
a fixed-speed pump is prepared, but the target head at the control node is greater than
the head maintained there by the fixed speed pump. The VSP energy efficiency
numbers will be disappointing because the VSP is maintaining higher pressures.
The concept of a minimum acceptable head (or pressure) can be useful when evalu-
ating the performance of fixed speed and variable speed pumps. Both pumps should
be sized and operated such that the pressure is equal to, or greater than, the minimum
acceptable head. In this way, the heads maintained by the respective pumps can be
used to define equivalency between the respective designs. When the comparison is
thoughtfully designed and conducted, it is likely that the energy efficiency improve-
ments possible with VSPs will come to light more clearly.
B.8.3 References
These equations can be solved for equivalent diameter or roughness (C, n or k). With
the Darcy-Weisbach equation, the equations are solved only for D because there are
situations where the roughness can be negative. Both solutions are presented. In
general, there will be one pipe that is the dominant pipe, and the properties of that pipe
will be used when a decision must be made. There will be some default rule for
picking the dominant pipe, but you will be able to override it.
You will not use equivalent lengths because you want to preserve the system geom-
etry. For pipes in series, you will add the lengths of the two pipes while for pipes in
parallel. You will use the length of the dominant pipe, as follows:
Lr = L1 + L 2
B.9.1 Principles
The equations derived below are based on the following principles. The equations
below are for two pipes, but can be extended to n pipes.
Qr = Q1 + Q2
where Q = flow, r refers to the resulting pipe, and 1 and 2 refer to the pipes being
removed.
hr = h1 + h2
Qr = Q1 + Q2
and
hr = h1 + h2
As long as the units are consistent, then any appropriate units can be used. For
example, if the diameters are in feet, then the resulting diameter will be in feet.
KL Q 1.85
h = ------------- ⎛ ----⎞
4.87 ⎝ C⎠
D
K depends on the units but cancels out in equivalent pipe calculations.
Series Pipes
For series pipes, the length is based sum of the lengths.
Solved for C:
0.54
Lr
-------------
2.63
Dr
C r = ---------------------------------------------------
⎛ Li ⎞ 0.54
⎜
⎝
∑ ----------------------------⎟
4.87 1.85
Di Ci ⎠
Solved for D:
0.205
Lr
---------------
0.38
Cr
D r = --------------------------------------------------------
⎛ Li ⎞ 0.205
⎜
⎝
∑------------------------------⎟
4.87 1.85
Di Ci ⎠
Parallel Pipes
Solved for C:
0.54 2.63
Lr Ci Di
C r = -------------
Dr
2.63 ∑ ------------------
Li
0.54
-
Solved for D:
2
KL ( n Q )
h = -----------------------
5.33
D
Series Pipes
Solved for n:
2.66 2 0.5
Dr ⎛ Li n ⎞
n r = ------------- ⎜ ∑ i ⎟
------------
-
0.5 ⎜ 5.33⎟
Lr ⎝ Di ⎠
Solved for D:
⎛ ⎞ 0.188
⎜ ⎟
⎜ L n2 ⎟
r r
D r = ⎜ ---------------------⎟
⎜ 2⎟
⎜ Li n ⎟
∑ r
⎜ -------------⎟
⎝ D 5.33⎠
i
Parallel Pipes
Solved for n:
2.66
Dr
-------------
0.5
Lr
n r = --------------------
2.66
Di
∑ -------------
Li n
0.5
Solved for D:
⎛ 2.66 0.376
0.5 D i ⎞⎟
Dr = ⎜ Lr n ∑ -------------
⎜ 0.5 ⎟
⎝ L i n⎠
2
h = KLfQ
-----------------
5
D
It is the roughness, k—not f—that is a property of the pipe. While f behaves well, the
roughness can take on negative values in the parallel pipe case. Therefore, only solu-
tions for D will be developed.
The other problem with the Darcy-Weisbach equation is that D and f are not uniquely
related and depend on the Reynolds number, which is a function of velocity. So the
question that must be first answered is, Which value of f should be used in the equa-
tions? This is especially tricky when the individual pipes have different value of k.
First, a velocity of 1 m/s will be used as a reference velocity to calculate Reynolds
number for the individual pipes. Second, an iterative solution must be used to solve
for D. That is:
1.325
f = --------------------------------------------------
-
⎛ k ⎞ 2
5.74
ln ⎜ ------------ + -------------⎟
⎝ 3.7D Re 0.9⎠
where
Re = VD
--------
ν
ν must be selected so that the units cancel. Typical values are 1.00e-6 m2/s or 1.088e-
5 ft.2/sec.
Series Pipes
⎛ ⎞ 0.2
⎜ ⎟
⎜ Lr ff ⎟
D r = ⎜ ----------------⎟
⎜ L i f i⎟
⎝ Di ⎠
∑
⎜ --------- 5⎟
Parallel Pipes
⎛ ⎛ 2.5 ⎞ 2 ⎞ 0.2
Di
D r = Lr f r ⎜
⎜
∑ --------------------⎟ ⎟
⎜ ⎜ 0.5⎟ ⎟
⎝ ⎝ ( Li f i ) ⎠ ⎠
Check Valves
Most pipes will not have check valves and the resulting valves will not. For series
pipes, if any pipe has a check valve, then the resulting pipe will have a check valve.
For parallel pipes, if both pipes have check valves, then the resulting pipe will have a
check valve.
The degenerative case is when one of the parallel pipes has a check valve. This should
not happen in terms of good engineering. If it does, the parallel pipes should not be
combined and a warning message should be issued.
Minor Losses
For pipes in series, the minor loss coefficients should be added. The differences in
diameter between the original pipe and the resulting pipe should be negligible. You
should be given the option to ignore minor losses in series pipes.
For pipes in parallel, you should be given the option to ignore minor losses, not skele-
tonize pipes with significant minor losses (e.g., if total Km > 100) or account for them
as a change in diameter.
One possible short heuristic for handling minor losses in parallel pipes is to realize
that you are splitting the minor loss over two pipes. If the pipes are roughly the same
length, roughness, and diameter, then the minor loss coefficient will be cut approxi-
mately in half. I worked through the math for coming up with an equivalent minor loss
coefficient and it’s a mess. Using half the minor loss coefficient isn’t exactly correct,
but it pretty much accounts for things.
Numerical Check
To check the equations, I’ll run through examples of each. I will solve for head loss in
each pipe individually and then combine to see how the head loss in the equivalent
pipe compares for series pipes and for parallel, I’ll see how the flow compares. I’ll
stick with the SI units (i.e., flow in m3/s, D, L and h in m).
Series
Use Q = 1 m3/s, and solve for head loss. Pipe 1 is the dominant pipe.
Table B-7: Comparison between the Sum of the Headlosses from the
Two Pipes and the Headloss from the Equivalent Pipe
Resulting,
Resulting,
Pipe 1 Pipe 2 solve for
solve for D
C,n
0.75k,
Diameter 1 0.75 0.88
0.855n
Parallel
Table B-8: Comparison between the Sum of the Flows from the Two
Pipes and the Flow from the Equivalent Pipe
Resulting,
Resulting,
Pipe 1 Pipe 2 solve for
solve for D
C,n
Table B-8: Comparison between the Sum of the Flows from the Two
Pipes and the Flow from the Equivalent Pipe (Cont’d)
Resulting,
Resulting,
Pipe 1 Pipe 2 solve for
solve for D
C,n
• “Naïve Method”
• “Plane Sweep Method”
A Thiessen polygon of a site, also called a Voronoi region, is the set of points that are
closer to the site than to any of the other sites.
Let P = {p1, p2,…pn} be the set of sites, and V = {v(p1), v(p2),…v(pn)} represent the
Voronoi regions or Thiessen polygons for Pi, which is the intersection of all of the half
planes defined by the perpendicular bisectors of pi and the other sites. Thus, a naïve
method for constructing Thiessen Polygons can be formulated as follows:
Step 1 For each i such that i = 1, 2,…, n, generate n - 1 half planes H(pi,pj), 1 </= j </
= n, i <> j, and construct their common intersection v(pi).
This naïve procedure is, however, very inefficient for generating Thiessen polygons.
The computation time increases exponentially as the number of sites increases. There
are many other more competent methods for constructing a Thiessen polygon.
1. Q <------- P.
2. Choose and delete the left-most point, say pi from Q.
3. L <------- the list consisting of a single region ϕ(V(pi).
4. While Q is not empty, repeat Steps 1-3.
5. If w is a site, say w = pi, do:
a. Find region ϕ(V(pi) on L containing pi.
b. Replace ϕ(V(pi) on L by the sequence (ϕ(V(pj), h-(pi, pj), (ϕ(V(pi)), h+(pi, pj),
ϕ(V(pj).
c. Add to Q the intersection of h-(pi, pj) with the intermediate lower half hyper-
bola on L, and the intersection of h+(pi, pj) with the immediate upper half
hyperbola on L.
b. Delete from Q any intersection of h±(pi, pj) or h±(pi, pk) with others.
c. Add to Q any intersection of h with its immediate upper half hyperbola and its
immediate lower half parabola on L.
d. Mark ϕ(qt) as a Voronai vertex incident to h±(pi, pj), h±(pi, pk), and h.
7. Repeat all half hyperbolas ever listed on L, all the Voronai vertices marked in the
preceding step, and the incidence relations among them.
Scenario Management C
Guide
By investing a little time now to understand scenario management, you can avoid
unnecessary editing and data duplication. Take advantage of scenario management to
get a lot more out of your model, with much less work and expense.
In contrast to the old methods of scenario management (editing or copying data), auto-
mated scenario management using inheritance gives you significant advantages:
These advantages, while obvious, may not seem compelling for small projects. It is as
projects grow to hundreds or thousands of network elements that the advantages of
true scenario inheritance become clear. On a large project, being able to maintain a
collection of base and modified alternatives accurately and efficiently can be the
difference between evaluating optional improvements and being forced to ignore
them.
This is not intended as a step-by-step guide to using the software. If you are a moder-
ately experienced Windows software user, you should have no difficulty learning and
exploring the scenario management interface.
Excellent tutorials and context-sensitive online help are also available within the soft-
ware itself. These learning tools will prove to be of tremendous assistance to you for
all aspects of the software, and should certainly not be ignored if you are having diffi-
culty. For more information, just click the Help button, which is available from
anywhere within the program. In addition, contact Haestad Methods information on
the different training services it offers.
Although either of these methods may be adequate for a relatively small system, the
data duplication, editing, and re-editing becomes very time-consuming and error-
prone as the size of the system and the number of possible conditions increase. Addi-
tionally, comparing conditions requires manual data manipulation, because all output
must be stored in physically separate data files.
• Minimize the number of project files the modeler needs to maintain (one, ideally)
• Maximize the usefulness of scenarios through easy access to things such as input
and output data, and direct comparisons
• Maximize the number of scenarios you can simulate by mixing and matching data
from existing scenarios (data reuse)
• Minimize the amount of data that needs to be duplicated to consider conditions
that have a lot in common
The restaurant does not have to create a new recipe for every possible meal (combina-
tion of courses) that could be ordered. They can just assemble any meal based on what
the customer orders for each alternative course. Salad 1, Entrée 1, and Dessert 2 might
then be combined to define a complete meal.
Generalizing this concept, we see that any scenario references one alternative from
each category to create a big picture that can be analyzed. Note that different types of
alternatives may have different numbers and types of attributes, and any category can
have an unlimited number of alternatives to choose from.
But what about the other objective: minimizing the amount of data that needs to be
duplicated to consider conditions that have a lot of common input? Surely an entire set
of pipe diameters should not be re-specified if only one or two change?
In the natural world, a child inherits characteristics from a parent. This may include
such traits as eye-color, hair color, and bone structure. There are two significant differ-
ences between the genetic inheritance that most of us know and the way inheritance is
implemented in software:
For example, suppose a child has inherited the attribute of blue eyes from his parent.
Now the child puts on a pair of green-tinted contact lenses to hide his natural eye
color. When the contact lenses are on, we say his natural eye color is overridden
locally, and his eye color is green. When the child removes the tinted lenses, his eye
color instantly reverts to blue, as inherited from his parent.
Dynamic inheritance does not have a parallel in the genetic world. When a parent’s
characteristic is changed, existing children also reflect the change. Using the eye-color
example, this would be the equivalent of the parent changing eye color from blue to
brown, and the children’s eyes instantly inheriting the brown color also. Of course, if
the child has already overridden a characteristic locally, as with the green lenses, his
eyes will remain green until the lenses are removed. At this point, his eye color will
revert to the inherited color, now brown.
This dynamic inheritance has remarkable benefits for applying wide-scale changes to
a model, fixing an error, and so on. If rippling changes are not desired, the child can
override all of the parent’s values, or a copy of the parent can be made instead of a
child.
We can even apply this inheritance to our restaurant analogy as follows. Inherited
values are shown as gray text, local values are shown as black text.
Note: If the vegetable of the day changes (say from green beans to
peas), only Entrée 1 needs to be updated, and the other entrées
will automatically inherit the vegetable attribute of “Peas”
instead of “Green Beans.”
• “Entrée 2 is just like Entrée 1, except for the meat and the starch.”
• “Entrée 3 is just like Entrée 2, except for the meat.”
Carrying through on our meal example, consider a situation where you go out to
dinner with three friends. The first friend places his order, and the second friend orders
the same thing except for the dessert. The third friend orders something totally
different, and you order the same meal as hers except for the salad.
The four meal scenarios could then be presented as follows (inherited values are
shown as gray text, local values are shown as black text):
• “Meal 2 is just like Meal 1, except for the dessert.” The salad and entrée alterna-
tives are inherited from Meal 1.
• “Meal 3 is nothing like Meal 1 or Meal 2.” A totally new base or root is created.
• “Meal 4 is just like Meal 3, except for the salad.” The entrée and dessert alterna-
tives are inherited from Meal 3.
Although true water distribution scenarios include such alternative categories as initial
settings, operational controls, water quality, and fire flow, we are going to focus on the
two most commonly changed sets of alternatives: demands and physical properties.
Within these alternatives, we are going to concentrate on junction baseline demands
and pipe diameters.
Now we can create a child scenario from Average Day that inherits the physical alter-
native, but overrides the selected demand alternative. As a result, we get the following
scenario hierarchy:
Since no physical data (pipe diameters) have been changed, the physical alternative
hierarchy remains the same as before.
Another scenario is also created to reference these new demands, as shown below:
Note again that we did not change any physical data, so the physical alternatives
remain the same.
Notice that no changes need to be made to the scenarios to reflect these corrections.
The three scenarios can now be calculated as a batch to update the results.
When these results are reviewed, it is determined that the system does not have the
ability to adequately supply the system as it was originally thought. The pressure at J-
2 is too low under peak hour demand conditions.
• A much larger diameter is proposed for P-1 (the pipe from the reservoir). This
physical alternative is created as a child of the Preliminary Pipes alternative,
inheriting all the diameters except P-1’s, which is overridden.
• Slightly larger diameters are proposed for all pipes. Since there are no commonal-
ities between this recommendation and either of the other physical alternatives,
this can be created as a base (root) alternative.
This time, the demand alternative hierarchy remains the same since no demands were
changed. The two new scenarios (Peak, Big P-1, Peak, All Big Pipes) can be batch run
to provide results for these proposed improvements.
Next, features like Scenario Comparison Annotation (from the Scenario Control
Center) and comparison Graphs (from the element editor dialog boxes) can be used to
directly determine which proposal results in the most improved pressures.
Also note that it would be equally effective in this case to inherit the Avg. Day, Big P-
1 scenario from Avg. Day (changing the physical alternative) or to inherit from Peak,
Big P-1 (changing the demand alternative). Likewise, Max. Day, Big P-1 could inherit
from either Max. Day or Peak, Big P-1.
Neither the demand nor physical alternative hierarchies were changed in order to run
the last set of scenarios, so they remain as they were.
C.18 Conclusion
These are the fundamental concepts behind the architecture of Haestad Methods’
scenario management. To learn more about actually using scenario management in
Haestad Methods software, start by running the scenario management tutorial from
the Help menu or from within the Scenario Control Center itself. Then load one of the
SAMPLE projects and explore the scenarios defined there. For context-sensitive help,
press F1 or the Help button any time there is a screen or field that puzzles you.
Haestad Methods’ scenario management feature gives you a powerful tool for
modeling real-world engineering scenarios when analyzing system response to
different demands, reviewing the impacts of future growth, and iterating to find the
least expensive design. That means you will be able to finish your projects faster,
spend less money, and improve your bottom line.
Capital Cost D
Estimating
• Elements included in costing—The first step is to select the elements from the
model that you want to include in a given Cost Scenario. This set of elements may
include all the elements in the model if, for instance, you are modeling a new
subdivision, or a subset of the elements if you are expanding an existing system.
• Unit Costs—The second level of data is the costs associated with each element.
The costs for each element are broken down into two types, construction and non-
construction. Construction costs are specified on a per unit basis where the unit
can be either an item (e.g., $/hydrant) or a length unit (e.g., $/ft. or $/m). Most unit
costs are constants, but unit costs for pipe elements and gravity structures can also
be specified as a function of diameter or some other property of the element using
a unit cost function. A unit cost function defines the relationship between the unit
cost for an element and some attribute of that element. Non-construction costs can
be specified as either a percentage of the total construction costs or as a lump sum
amount.
The early sections of this appendix describe how to handle cost data for each
element. Entering the cost data for individual elements does not involve the
use of the Cost Manager portion of the program. The Cost Manager is used to
sum the costs of the elements and prepare project cost reports. The Cost Manager is
accessed by clicking the Cost Manager button, or by selecting Analysis > Compute
Costs. Costs for individual elements can be calculated without entering the Cost
Manager.
The Cost Manager also provides a way of viewing the calculated costs at user-selected
levels of detail.
Level of Detail
The cost analysis feature is extremely flexible with regard to the level of detail in
which you can develop cost estimates. At the simplest level, you may want to capture
all the costs of a pipe in a single $/ft. or $/m unit cost. At the other extreme, you may
break down the cost of a pipe into numerous cost items, including materials, installa-
tion, repaving, hydrants, services, valves, land, engineering, inspection, legal, permits,
and contribution to a capital clearing account, plus an explicit allowance for omissions
and contingencies. Either approach can be easily accommodated using the Cost
Manager.
Multiple Scenarios
The cost data that you enter is stored in a Cost Alternative, so you can easily change
the cost data that is used from Scenario to Scenario. For instance, you may have
several phases of construction for which you wish to separately compute the associ-
ated costs. You can do this by creating two Cost Alternatives, one containing the cost
data for the elements in phase one, and another containing the costs for the elements in
phase two. By creating the appropriate Scenarios to reference these Alternatives, you
can quickly compute and compare the costs associated with each phase.
Thus far, data entry has been described for individual elements. However, in most
cases, unit costs are the same for a given type of item regardless of the element with
which it is associated. For example, a service line may cost $1200, and you want to
use that same unit price for all elements. You can define these costs by either using:
prototypes, globally editing the costs, or using unit cost functions.
Prototypes
If you know that you will be using the Cost Manager before you begin your project,
the Prototype feature allows you to easily establish default cost data by using the Cost
tab. For instance, if you know that all your pipes are going to have construction cost
items for material and installation, valves, and service connections, you can enter
these items into the construction cost table, along with their unit costs. Then, when
you have finished laying out your system, you can select the Pipe Editor and update
the appropriate quantity for each of these items.
For example, the pipe prototype may have an item labeled Service Connection with a
quantity of 0 and a unit cost of 750. Then, for each element, the labels and unit costs
will appear with the default values from the prototype, and you only need to specify
the quantity of each item.
D (in.) 6 8 10 12 14 16
The two cost functions are essentially the same at the actual discrete diameters. The
method that you choose is strictly a matter of individual preference or dependent on
the data you have. Graphs of the formula and tabular unit cost functions given above
are shown below:
• New roads
• Cross country with rock
• Downtown urban area
• Old neighborhood
• Boring under highway
A typical list of cost functions (in this case for pipes) is shown below. Note that you
can build a new cost function by adding it or by duplicating and editing an existing
function.
$/ft = d + a (x-c)b
In general, typical ranges for the coefficients for pipe cost functions in $/ft. where
diameter (span) is expressed in inches are:
The figure below shows the effects of the coefficients on the shape of the cost curve.
If you have few data points, it is best to set c and d to zero, b to 1.6, and see what value
of the a coefficient best fits the cost data. Try using a spreadsheet graph for this. Then,
adjust b to get the curvature of the cost curve, and c and d to get the correct x- and y-
axis intercepts.
Setting up a cost table involves typing in pairs of values in the Unit Cost Function
Editor dialog box. While the independent variables for the formula cost functions
were required to be numbers, the independent variables for tabular functions can be
numeric or text values, as shown below.
Note: In a circular gravity pipe, the rise and span both equal the
diameter.
• Numeric Variables
– Rise
– Structure Depth
– Structure Diameter
– Pipe Diameter
– Minor Loss Coefficient
– Complex Pipe Elements
• Text Variables
– Section Size
– Material Type
Sometimes a single pipe may actually have different unit costs along its length.
Consider a 500 foot pipe that has an 80 foot stream crossing part way along the pipe,
320 feet of cross country pipe, and 100 feet of pipe laid in an old neighborhood. There
are two ways to approach costing this kind of pipe element:
• Set up three separate model elements (i.e., pipes), each with its own cost function.
This method is the most straightforward way, even though it increases the number
of pipes the hydraulic model must solve.
• Or, set up one 500 foot pipe with the cost function for cross country pipe and add
the following: a cost item for the additional cost of the stream crossing with a
quantity of 80 feet and a unit price of, say, $20/ft., and a cost item for the addi-
tional cost of laying pipe in the old neighborhood with a quantity of 100 feet and a
unit price of $30/ft., where the $20 and $30 represents the incremental costs for
the more expensive pipe laying. The difficulty with this approach is that the add-
on cost is independent of pipe size. If the add-on costs are a function of pipe size,
new cost functions for those items can be defined.
While cost data is entered in the Element Editors, FlexTables, and Cost Alternatives,
these costs must be associated with a Scenario. This is done in the Scenario Control
Center by selecting the Cost Alternative to be used with a Scenario. Each Scenario has
a cost associated with it, which means that there may be many Scenarios with the
same cost. This occurs when the Cost and Physical Alternatives are the same for a
particular Scenario even though the Scenarios may have a different demand alterative
or initial condition. However, you can control which Scenarios will appear in the Cost
Manager.
D.3.2 Application
For example, consider a pipe on Jones Street that is assigned a cost function in a Cost
Alternative that is based on the diameter of the pipe. In Physical Properties Alternative
1, the pipe is given a diameter of 12 inches; in Physical Properties Alternative 2, it is
given a diameter of 16 inches. When Physical Properties Alternative 1 is combined in
a Scenario with the Cost Alternative, it will generate a cost for the 12-inch Jones
Street pipe, and when Physical Properties Alternative 2 is combined with the Cost
Alternative, it will generate a cost for the 16-inch.
For example, you may have ten elements, such as nine pipes and a pump station, that
have costs calculated for them in the model. Seven of the pipes will be installed on the
north side of town in a single project, while two pipes and a pump station will be
installed in the south side under a different project. When defining the Cost Alterna-
tive, you set up one Cost Alternative with the seven north side pipes, and another Cost
Alternative with the two south side pipes and the pump station. Checking the Include
in Cost Calculation box in the Cost Alternative Editor under the Cost Manager deter-
mines which elements are part of the cost analysis for each Scenario.
The Cost Manager can calculate costs for every Scenario created in the Scenario
Control Center. However, some Scenarios may share the same Cost Alternative and
Physical Alternative, and differ only in the loading (demand) or initial conditions. In
these cases, the costs will be the same for the different Scenarios. You may therefore
want to view the costs for only a few of the available Scenarios. This can be done by
selecting Active Scenarios in the Cost Manager and checking the appropriate boxes.
Only those Scenarios that are selected as active in the Cost Manager will have costs
calculated for them.
The cost reports are formatted as FlexTables, so the columns can be adjusted and
display properties changed. The tables can also be exported to a tab delimited or
comma delimited file, or copied to the Windows Clipboard and pasted into other soft-
ware. The actual values displayed in the cells, not the formulas, are copied, so the
numerical values should not be adjusted once they are exported. That is, if the unit
cost or quantity is changed, the totals will not automatically update in the spreadsheet.
For any element, costs can be viewed under the Cost tab of the element dialog box. If
there are more than three construction or non-construction costs, not all will be visible
at once. The costs can be viewed in a report like the one shown below by selecting
Report > Cost Report. To obtain a printout, select Print Preview and Print.
Just as the model contains some standard pipe and node tables, they also contain stan-
dard cost tables. These can be viewed from the Tabular Reports dialog box by
selecting Node Cost Report or Pipe Cost Report. In this view, it is possible to sort or
filter elements and use all the functionality of FlexTables to customize the look of the
table. The table can also be exported, copied, and printed. You can filter out elements
not included in the cost calculation by selecting Options > Filter > Custom.
The costs can be viewed for an entire Scenario (project) in the Cost Manager itself.
The costs are presented in a tree structure such that you can expand or collapse various
branches of the tree to suit the level of detail desired.
More attractive tables are available by selecting Cost Reports. There are four levels of
detail available, as shown in the examples below:
Element Summary gives construction and non-construction costs for each element.
Project Summary gives totals for each type of element (e.g., Pipes, Tanks, etc.).
Pipe Costs gives the total length and cost for the pipes included in the cost analysis.
The costs for each type of element are divided into two types—construction and non-
construction. The definition of each type of cost depends to a certain extent on you.
However, in general, the difference between the two types of costs is that construction
costs are based on a unit cost multiplied by a quantity, while non-construction costs
are specified as either a lump sum or as a percentage of the total construction costs.
The method of specifying non-construction costs is identical for every element. There
are slightly different options for specifying construction costs, depending on the type
of element to which you are assigning the cost. These nuances will be explained in
more detail in the sections that follow.
While cost management for the various elements shares most features, different types
of elements have some special behaviors. The four distinct categories are pipes, nodes
with cost functions, nodes without cost functions, and pump stations. Each type is
described in more detail in the corresponding topics.
EXAMPLE:
Consider 650 feet of a 10-inch diameter pipe with the following cost data:
8 45
10 55
12 60
Each pipe can have as many construction cost items as you wish, which means
that any number of unit cost functions can be used for a single pipe. For instance,
you could have unit cost functions for materials, excavation, or resurfacing. The
advantage of specifying the costs in terms of unit cost functions is that as the
physical characteristics of the pipe change, the cost for the element is automati-
cally updated.
For elements that support unit cost functions (manholes, inlets, and junctions), the
function can be defined in the Cost Manager and assigned to the construction cost
item. As with pipes, if a unit cost function is assigned to a construction cost item, then
the unit cost is computed based on some attribute. The difference is that for pipes the
unit cost function computes a cost per length (e.g., ft. or m), while for nodal elements
the unit cost function computes a cost for the item (e.g., structure). So if a unit cost
function is assigned to a construction cost item, the quantity will default to 1, and the
unit will default to each. A quick way to determine if an element supports cost func-
tions is to look at the element dialog box. If it is possible to select the Advanced
button, then you can assign a cost function to that element. It is in the Advanced
Options dialog box that cost functions can be assigned to items, as described later in
this document.
The construction cost of a tank, a type of element that does not support unit cost
functions, may consist of the following items:
For an inlet, you could use a unit cost function so that the construction costs for
the element are updated as the design is changed. Consider an inlet with the
following cost data.
6 3000
8 3500
10 4000
• 1 subsurface structure 8-ft. deep at $3500 (calculated from the unit cost func-
tion)
• 1 surface inlet at $2000
The Cost tab for this item would appear as shown below:
Pump stations are a special case of nodal elements. In terms of the hydraulic model, a
pump station with three pumps makes up three hydraulic elements. However, in terms
of cost estimating, a pump station is a single entity. There are two ways to address this
situation. You can either apportion the costs evenly between the three elements or
aggregate the cost for the entire pump station on a single pump. From a reporting and
management perspective, it often makes the most sense to assign all the costs to a
single pump as illustrated below:
The sum of all these costs is the total cost for the element and would show up only in
the selected pump. The other two pumps at the station would have zero cost. In the
screen capture below, note that only three items are shown in the table, but the table
can be scrolled to show the remaining items.
There are numerous indirect costs that are applied to construction projects. The termi-
nology describing these costs varies depending on local conventions, whether a public
or private utility is involved, and whether construction is being done with force
account labor or outside contractors. There are numerous items that can be included in
these indirect costs, such as:
It is important not to count the allowance for O&C twice by including an allowance on
an element-by-element basis, and then another allowance for the project as a whole.
The dialog boxes and reports below illustrate how the construction and non-construc-
tion costs for the following elements will appear in Cost tab of the Element Editor
dialog box and in the cost report for each element.
• Tank:
– 1 steel tank at $250000
– 600 ft. of fencing at $15/ft.
– Site clearing and grading at $20000
– 1 SCADA system and radio transmitter at $20000
– Engineering and inspection at 12% of construction
– 2 acres of land at $50000/acre
Haestad Methods E
Haestad Methods offers software solutions to civil engineers throughout the world for
analyzing, modeling, and designing all sorts of hydrologic and hydraulic systems,
from municipal water and sewer systems to stormwater ponds, open channels, and
more. With point-and-click data entry, flexible units, and report-quality output,
Haestad Methods is the ultimate source for your modeling needs.
In addition to the ability to run in Stand-Alone mode with a CAD-like interface, some
of our products—WaterCAD, WaterCAD, StormCAD and SewerCAD—can be totally
integrated within AutoCAD. These programs also share numerous powerful features,
such as scenario management, unlimited undo/redo, customizable tables for editing
and reporting, customizable GIS, database and spreadsheet connection, and annota-
tion.
Be sure to contact us or visit our Web site at http://www.haestad.com to find out about
our latest software, books, training, and open houses.
E.1 Software
Haestad Methods software includes:
• “WaterGEMS”
• “WaterCAD”
• “SewerCAD”
• “StormCAD”
• “PondPack”
• “FlowMaster”
• “CulvertMaster”
• “WaterSafe”
• “PumpMaster”
E.1.1 WaterGEMS
WaterGEMS brings the concept of water modeling and GIS integration to the next
level. It is the only water distribution modeling software that provides full, completely
seamless integration with GIS applications. Now the combined functionality of
WaterCAD and GIS can be utilized simultaneously, synthesizing the distinct advan-
tages of each application to create a modeling tool with an unprecedented level of
freedom, power, efficiency, and usability.
You can design, create, display, edit, run, and map, water models from within the GIS
environment, and view the results of the simulations as native GIS maps or with tradi-
tional Haestad Methods modeling tools. Further, you can use WaterObjects to
customize WaterGEMS to meet your specific needs. These abilities, in conjunction
with the cross-product functionality provided by the core Unified Data and Object
Model architecture, provide a powerful cutting-edge solution for your modeling
projects.
E.1.2 WaterCAD
WaterCAD is the definitive model for complex pressurized pipe networks, such as
municipal water distribution systems. You can use WaterCAD to perform a variety of
functions, including steady-state and extended-period simulations of pressure
networks with pumps, tanks, control valves, and more.
WaterCAD abilities also extend into public safety and long-term planning issues, with
extensive water quality features, including: automated fire protection analyses,
comprehensive scenario management, skeletonization, calibration, cost analysis, and
enterprise-wide data sharing faculties. Further, you can use WaterObjects to customize
WaterCAD to meet your specific needs.
E.1.3 SewerCAD
SewerCAD is a powerful design and analysis tool for modeling sanitary sewage
collection and pumping systems. With SewerCAD, you can develop and compute
sanitary loads, tracking and combining loads from dry-weather and wet-weather
sources. You can also simulate the hydraulic response of the entire system (gravity
collection and pressure force mains), observe the effects of overflows and diversions,
and even automatically design selected portions of the system. Output covers every-
thing from customizable tables and detailed reports to plan and profile sheets.
E.1.4 StormCAD
StormCAD is a highly-efficient model for the design and analysis of storm sewer
collection systems. From graphical layout and intelligent network connectivity to flex-
ible reports and profiles, StormCAD covers all aspects of storm sewer modeling.
Surface inlet networks are independent of pipe connectivity, and inlet hydraulics
conform to FHWA HEC-22 methodologies. Gradually varied flow algorithms and a
variety of popular junction loss methods are the foundation of StormCAD’s robust
gravity piping computations, which handle everything from surcharged pipes and
diversions to hydraulic jumps.
E.1.5 PondPack
E.1.6 FlowMaster
FlowMaster is efficient software for the design and analysis of a wide variety of
hydraulic elements, such as pressure pipes, open channels, weirs, orifices, and inlets.
FlowMaster’s Hydraulics Toolbox can create rating tables and performance curves for
any variables, using popular friction methods. Inlet calculations follow the latest
FHWA guidelines, and irregular section roughness can be weighted based on any
popular techniques.
E.1.7 CulvertMaster
CulvertMaster helps engineers design new culverts and analyze existing culvert
hydraulics, from single barrel crossings to complex multi-barrel culverts with
roadway overtopping. CulvertMaster computations use HDS No. 5 methodologies,
and allow you to solve for whatever hydraulic variables you don’t know, such as
culvert size, peak discharge, and headwater elevation. Output capabilities include
comprehensive detailed reports, rating tables, and performance curves.
E.1.8 WaterSafe
WaterSafe is an add-on module for WaterCAD and WaterCAD. It allows you to run
multiple constituent, trace, and age analyses, and it also incorporates previously
unavailable statistical results. Enhanced reporting and graphing capabilities improve
your ability to compare, examine and predict the effects of various water quality
scenarios.
E.1.9 PumpMaster
PumpMaster is software service for the selection of pumps from pump manufacturer
catalogs provided through three different solutions: a stand-alone application, an
online catalog, and a programmable pump library for use within Haestad Method
products. Features include: Automated selection of pumps based on a basic criterion
(duty point) or more elaborate parameters (application, pump type, speed, etc), Simul-
taneous access to catalogs from multiple pump manufacturers, and Enhanced work
flow and design capabilities for complex pump stations, such as variable speed
pumping or analyzing arrangements of identical and multiple size pumps.
• JumpStart Seminars
• Comprehensive Workshops
• Publication-Based Programs
E.3.1 Accreditations
Haestad Methods has achieved the highest levels of accreditation from both the Inter-
national Association for Continuing Education and Training (IACET), and the Profes-
sional Development Registry for Engineers and Surveyors (PDRES). In addition to
Haestad Methods’ own prestigious certifications, these endorsements enable modelers
to earn Continuing Education Units (CEUs) and Professional Development Hours
(PDHs) for their satisfactory participation in various training and educational
programs.
Use the Globe button to access the Haestad Methods’ knowledge base and
instant software updates for ClientCare subscribers, etc.
Now you can go online to manage your own account information, such as to conve-
niently maintain your products, customize your communication settings, or indicate
your areas of interest. Just visit the accounts section at http://www.haestad.com.
E.4.2 CivilProjects.com
E.4.3 CivilQuiz.com
The WaterTalk™, SewerTalk™, and StormTalk™ online forums will keep you up-to-
date with the latest tips and tricks in hydraulic and hydrologic modeling. Post your
engineering questions and share your unique modeling experiences with a global audi-
ence of thousands of professionals. For more information, visit http://
www.haestad.com and click the links to use the forums.
Glossary F
Age: An analysis for the age of water determines how long the
water has been in the system, and is a general water
quality indicator.
Available Fire Flow: Amount of flow available at a node for fire protection
while maintaining all fire flow pressure constraints.
Base Elevation & Level: Elevation from which all tank levels are measured. For
example, a tank level of two meters represents a water
surface elevation two meters above the base elevation.
Boundary Node: Node with a known hydraulic grade. It may be static
(unchanging with time), such as a reservoir, or dynamic
(changes with time), such as a tank. Every pipe network
must contain at least one boundary node. In order to
compute the hydraulic grade at the other nodes in the
network, they must be reachable from a boundary.
Bulk Reaction Coefficient: Coefficient used to define how rapidly a constituent
grows or decays over time. It is expressed in units of 1/
time, for first-order reactions.
Calc. Min. System Pressure: Minimum calculated pressure of all junctions in the
system during fire flow withdrawal at a node.
Calc. Min. Zone Pressure: Minimum calculated pressure of all junctions in the same
zone as the node where fire flow withdrawal occurs.
Calc. Residual Pressure: Calculated pressure at the junction node where the fire
flow withdrawal occurs.
Calculation Unready: An element that does not have all the required
information for performing an analysis is considered to
be calculation unready.
C-Coefficient: Roughness coefficient used in the Hazen-Williams
Equation.
Messages Light: A light that appears on the Tab of the Messages sheet.
The light will be red if errors occurred during the
analysis, yellow if there are warnings or cautions, and
green if there are no warnings or errors.
Metadata: Additional information (aside from tabular and spatial
data) that makes the data useful. Includes characteristics
and information that are required to use the data but are
not contained within the data itself.
Minimum Elevation: The lowest allowable water surface elevation in a tank. If
the tank drains below this point, it will automatically shut
off from the system.
Minimum System Junction: The junction where the calculated minimum system
pressure occurs.
Minimum System Pressure: The minimum pressure allowed at any junction in the
entire system as result of fire flow withdrawal. If the
pressure at a node anywhere in the system falls below
this constraint while withdrawing fire flow, fire flow will
not be satisfied. A fire flow analysis may be configured
to ignore this constraint.
Minimum Zone Junction: The junction where the calculated minimum zone
pressure occurs.
Minimum Zone Pressure: The minimum pressure to maintain at all junction nodes
within a Zone. The model determines the available fire
flow such that the minimum zone pressures do not fall
below this target pressure. Each junction has a zone
associated with it, which can be specified in the
junction’s input data. If you do not want a junction node
to be analyzed as part of another junction node’s fire flow
analysis, move it to another Zone.
Minor Loss: The field that presents the total minor loss K value for a
pipe or valve. If an element has more than one minor
loss, each can be entered individually by clicking the
Ellipsis (…) button.
Modeler/Stand-Alone: The Haestad Methods software environment, and not the
AutoCAD one.
Mouse Buttons: The left mouse button is the primary button for selecting
or activating commands. The right mouse button is used
to activate shortcut context menus and help. Note that the
mouse button functions can be redefined using the
Windows Control Panel. If your mouse is equipped with
a mouse wheel, you can use it for various panning and
zooming functions.
Status Pane: The area at the bottom of the window used for displaying
status information.
Storage Node: Special type of node where a free water surface exists,
and the hydraulic head is the elevation of the water
surface above sea level.
Table Links: A table link must be created for every database table or
spreadsheet worksheet that is to be linked to the current
model. Any number of Table Links may reference the
same database file.
TCV: Throttle control valve (see “Valve Theory” on page B-
726)
To Node: Represents a pipe’s ending node. Positive flow rates are
in the direction of from towards to. Negative flow rates
are in the opposite direction.
To Pipe: The pipe that connects to the downstream side of a valve
or pump.
Total Active Volume: The volume of water between minimum elevation and
maximum elevation of a tank. This is an input value for
variable area tanks.
Total Storage Volume: The holding capacity of a tank. It is the sum of the
maximum hydraulically active storage volume and the
hydraulically inactive storage volume.
Total Needed Fire Flow: If you choose to add the fire flow to the baseline demand,
the Total Needed Fire Flow is equal to the Needed Fire
Flow plus the baseline demand. If you choose not to add
the fire flow to the baseline demand, the Total Needed
Fire Flow is equal to the Needed Fire Flow.
Trace (Source Ident.): Determines what percentage of water at any given point
originated at a chosen tank, reservoir, or junction.
Trials: The maximum value for genetic algorithm trials is
determined by what you set for Stopping Criteria. Note
that you can set a number larger than (Maximum Era
Number)*(Era Generation Number)*(Population Size),
but calculations beyond that number (for this example,
the value is 45,000) are less likely to produce significant
improvements in optimization.
Valve Status: A valve can have several different status conditions:
Closed (no flow under any condition), Active (throttling,
opening, or closing dependent on system pressures and
flows), and Inactive (wide open, with no regulation).
References G
Benedict, R. P., Fundamentals of Pipe Flow, John Wiley and Sons, Inc., New York,
1980.
Roberson, John A., John J. Cassidy, and Hanif M. Chaudhry, Hydraulic Engineering,
Houghton Mifflin Company, Massachusetts, 1988.
Roberson, John A. and Clayton T. Crowe, Engineering Fluid Mechanics 4th Edition,
Houghton Mifflin Company, Massachusetts, 1990.
Rossman, Lewis A. et al., “Numerical Methods for Modeling Water Quality in Distri-
bution Systems: A Comparison,” Journal of Water Resources Planning and Manage-
ment, ASCE, New York, 1996.
Todini, E. and S. Pilati, “A Gradient Algorithm for the Analysis of Pipe Networks,”
Computer Applications in Water Supply, Volume 1 - Systems Analysis and Simulation,
ed. Bryan Coulbeck and Chun-Hou Orr, Research Studies Press Ltd., Letchworth,
Hertfordshire, England.
Walski, Thomas M., Water System Modeling Using CYBERNET, Waterbury, Connect-
icut, Haestad Methods, 1993.
Symbols toolbar 81
trace 391
.BAK 506 water age 389
.MDB 506 water quality 389, 390, 391
.PDF 28 analysis results report 70, 516
animation options 82, 530, 666
annotation 139, 140, 141, 509, 510
A comparison wizard 555
multipliers 247
abbreviated labels 341 size 700
accuracy 392 annotation wizard 510
action apply minor losses 647
rehabilitation 479 assigning costs to model elements 815
actions tab 404 attribute
active scenario 81 annotation 510
active scenarios 798 inheritance 790
active topology 353, 354, 419 auto prompting 244
active topology alternative 353 AutoCAD 607
address command line 57
See contacting Haestad Methods. 45 commands 615
adjustments drawing synchronization 610
demand 431 DXF 605, 606
advanced options 316 element scale 613
advective transport in pipes 733 entities 615
aerial view 266, 267 exporting DXF file 605
affinity laws 724 importing DXF files 606
age 837 importing WaterCAD 619
alternative 358 importing WaterCAD DXF files 605
analysis 389 multiple sessions 240
alternative 348, 349 proxies 619
alternatives 116, 345, 346, 372, 787, 788 rebuild figure labels 610
child 346 undo/redo 617
editor 349, 365 AutoCAD mode 48, 607
inheritance 789, 790 graphical layout 608
manager 347 project files 610
merge 346 toolbars 609
analysis Autodesk 607
constituent 390 automated skeletonization 621
fire flow 385, 386 auto-refresh 85
hydraulic 377, 378, 379, 714, 715
options 380
H
I
Haestad forums 835
Haestad Methods 37 impeller 724
about us 829 Import
accreditations 834 WaterCAD 619
certification 833 import 59
continuing education 833 command 239
e-mail addresses 45 Cybernet 674, 675, 676, 677, 679, 680
publications 833 database 575
software 829 database and shapefile data created in v3 682
training 833 DXF files into AutoCAD 605, 606
Web site 45 EPANET 681
Haestad Methods Knowledge Base 696 KYPIPE 681
Haestad Press 833 polyline to pipe 58
Haestad.log 44 shapefile link editor 591
Hazen-Williams equation 729 spot elevations 682
coefficients 746 submodels 59
roughness values 745 WaterCAD 59, 60, 619
head 384 import/export tips 674
head per fitness point 440 importing demands 301
X - Y mode 245
X coordinate 245
Y coordinate 245
yellow 362
zone 328
manager 328
zoom 65, 79, 265, 266