HAMMER V8i User's Guide
HAMMER V8i User's Guide
Creating Models
Modeling Capabilities
Technical Reference
Menus
Glossary
Index 1193
Troubleshooting
• Batch morph
Note: Bentley HAMMER can open and import files from earlier
versions but files created with this version are not backward
compatible to earlier versions.
Bentley HAMMER's graphical interface makes it easy to quickly lay out a complex
network of pipes, tanks, pumps, and surge control equipment. You can also use
FlexTables or preset libraries to rapidly copy model parameters. If you already have a
steady-state model of your system in WaterCAD or WaterGEMS, Bentley HAMMER
can use that model file directly - saving you time and eliminating transcription errors.
• Reduce the number and severity of transient forces resulting from transient pres-
sure shocks, where applicable. Transient forces and pressures can loosen joints or
grow cracks, increasing leaks and non-revenue water.
• Analyze hydropower systems complete with characteristic turbine representations
to simulate load rejection, acceptance and variation cases.
• Prepare operation checklists for use in emergencies such as power failures, pipe
breaks, and component (valve, pump) and/or control failures.
• Develop standards to ensure major water users do not damage the water system.
Information can be provided to industries to avoid sudden water takings or load
rejection. Safe speeds to open or close fire hydrants can be provided to the fire and
waterworks department.
• Provide additional information (with respect to steady-state models) to help select
pumps, locate elevated tanks, and size air valves.
The .wtg file and the drawing file (.dwh, dgn, dwg or .sqlite) file contain user
supplied data that makes it easier to view the model and should also be zipped and
transmitted with the model when moving the model.
Other files found with the model are results files. These can be regenerated by running
the model again. In general these are binary files which can only be read by the model.
Saving these files makes it easy to look at results without the need to rerun the model.
Because they can be easily regenerated, these files can be deleted to save space on the
storage media.
When archiving a model at the end of the study, usually only the *.wtg.sqlite, *.wtg
files, and the platform specific supporting files (*.dwh, *.dgn, *.dwg or *.sqlite) need
to be saved.The file extensions are explained below:
When the Specify Custom Results File Path option (found under Tools > Options >
Project Tab) is on for the project, the result files will be stored in the custom path spec-
ified when the project is closed. When the project is open, all of the applicable result
files (if any) will be moved (not copied) to the temporary directory to be worked on.
The result files will then be moved back to the custom directory when the project is
closed.
The advantages of this are that moving a file on disk is very quick, as opposed to
copying a file, which can be very slow. Also, if you have your project stored on a
network drive and you specify a custom results path on your local disk, then you will
avoid network transfer times as well. The disadvantages are that, should the program
crash or the project somehow doesn’t close properly, then the results files will not be
moved back and will be lost.
If you then wish to share these results files with another user of the model, you can use
the Copy Results To Project Directory command (Tools > Database Utilities > Copy
Results To Project Directory) to copy the results files to the saved location of the
model. The user receiving the files may then use the Update Results From Project
Directory command (Tools > Database Utilities > Update Results From Project Direc-
tory) to copy the results files from the project directory to their custom results file
path.
You can open model files by simply dragging them (from Windows Explorer, for
example) into the application window (stand alone version only). You can drag either
the .wtg or the .sqlite associated with the model.
You can drag multiple files into the application at once. All files must be of a valid
type (.wtg or .sqlite) for this to work.
or
From the File menu, choose Exit.
Note: If you have made changes to the project file without saving, the
following dialog box will open. Click Yes to save before exiting, No to
exit without saving, or Cancel to stop the operation.
The Help window consists of two panes - the navigation pane on the left and the
topic pane on the right.
2. To get help on a dialog box control or a selected element:
Press <F1> and the Help window opens (unless it is already open) and shows the
information about the selected element.
To expand a subtopic
Click the expand (+) icon to the left of the subtopic heading or the heading
itself.
To collapse a subtopic
Click the collapse (-) icon to the left of the subtopic heading or the heading
itself.
1. On the Contents tab, click the folder symbol next to any book folder (such
as Getting Started, Using Scenarios and Alternatives) to expand its
contents.
2. Continue expanding folders until you reach the desired topic.
3. Select a topic to display its content in the topic pane.
To display the next or previous topic according to the topic order shown in the
Contents tab
To display the next topic, click the right arrow or to display the previous topic, click
the left.
Note: If you select an entry that has subtopics, a dialog box opens
from which you can select the desired subtopic. In this case,
select the subtopic and click the Display button.
A search string finds any topic that contains all of the words in the string. You
can improve the search by enclosing the search string in quotation marks. This
type of search finds only topics that contain the exact string in the quotation
marks.
1. In the Contents, Index, or Search tabs, select the desired help topic.
2. Click the Favorites tab.
The selected help topic automatically displays in the “Current topic” field
at the bottom of the tab.
3. Click the Add button.
To display a topic from your Favorites list
Note: Your PC must be connected to the Internet to use the Check for
SELECT Updates button.
Troubleshooting
Due to the multitasking capabilities of Windows, you may have applications running
in the background that make it difficult for software setup and installations to deter-
mine the configuration of your current system.
Caution: After you install Bentley HAMMER V8i, make certain that you
restart any antivirus software you have disabled. Failure to
restart your antivirus software leaves you exposed to
potentially destructive computer viruses.
4. Try running the installation or uninstallation again (without running any other
program first).
If these steps fail to successfully install or uninstall the product, contact Technical
Support.
Standard Toolbar
Edit Toolbar
Analysis Toolbar
Scenarios Toolbar
Compute Toolbar
View Toolbar
Help Toolbar
Layout Toolbar
Tools Toolbar
Zoom Toolbar
Standard Toolbar
The Standard toolbar contains controls for opening, closing, saving, and printing
Bentley HAMMER projects.
To Use
Edit Toolbar
The Edit toolbar contains controls for deleting, finding, undoing, and redoing actions
in Bentley HAMMER.
To Use
Analysis Toolbar
The Analysis toolbar contains controls for analyzing Bentley HAMMER projects.
To Use
Scenarios Toolbar
The Scenarios toolbar contains controls for creating scenarios in Bentley HAMMER
projects.
To Use
Compute Toolbar
The Compute toolbar contains controls for computing Bentley HAMMER projects.
To Use
View Toolbar
The View toolbar contains controls for viewing Bentley HAMMER projects.
To Use
Open the Named Views manager where you can Named Views
create, view, and manage named views.
Open the Aerial View manager where you can Aerial View
zoom to different elements in the project.
Help Toolbar
The Help toolbar provides quick access to the some of the commands that are avail-
able in the Help menu.
To Use
Layout Toolbar
The Layout toolbar is used to lay out a model in the Bentley HAMMER drawing pane.
To Use
Tools Toolbar
The Tools toolbar provides quick access to the same commands that are available in
the Tools menu.
To Use
Open the TRex wizard where you can select the data Trex
source type, set the elevation dataset, choose the model
and features.
Open the LoadBuilder manager where you can create and Load Builder
manage Load Build templates.
Open the Demand Control Center manager where you Demand Control
can add new demands, delete existing demands, or Center
modify existing demands.
Open the Unit Demand Control Center manager where Unit Demand
you can add new unit demands, delete existing unit Control Center
demands, or modify existing unit demands.
Open the User Data Extension dialog box, which allows User Data
you to add and define custom data fields. For example, Extensions
you can add new fields such as the pipe installation date.
Ensures consistency between the database and the model Update Database
by recalculating and updating certain cached information. Cache
Normally this operation is not required to be used.
This command copies the model result files (if any) from Update Results
the project directory (the directory where the project from Project
.sqlite file is saved) to the working temp location for Directory
Bentley HAMMER (%temp%\Bentley\HAMMER). This
allows you to make a copy of the results that may exist in
the model's save directory and replace the current results
being worked on with them.
This command copies the result files that are currently Copy Results to
being used by the model to the project directory (where Project Directory
the project .sqlite is stored).
Open a Batch Assign Isolation Valves window where you Assign Isolation
can find the nearest pipe for each selected isolation and Valves to Pipes
assign the valve to that pipe.
Open the Options dialog box, which allows you to change Options
Global settings, Drawing, Units, Labeling, and
ProjectWise.
Zoom Toolbar
The Zoom toolbar provides access to the zooming and panning tools.
To Use
Set the view so that the entire model is visible in Zoom Extents
the drawing pane.
Activate the manual zoom tool, where you can Zoom Window
specify a portion of the drawing to enlarge.
Open up the Zoom Center dialog box where you Zoom Center
can set X and Y coordinates and the percentage of
Zoom.
Return the zoom level to the most recent previous Zoom Previous
setting.
Reset the zoom level to the setting that was active Zoom Next
before a Zoom Previous command was executed.
This button also does not appear in the Zoom
toolbar by default.
Toolbar buttons represent Bentley HAMMER V8i menu commands. Toolbars can be
controlled in Bentley HAMMER V8i using View > Toolbars. You can turn toolbars on
and off, move the toolbar to a different location in the work space, or you can add and
remove buttons from any toolbar.
To turn toolbars on
Click View > Toolbars, then click in the space to the left of the toolbar you want to
turn on.
Click View > Toolbars, then click the check mark next to the toolbar you want to turn
off.
Move your mouse to the vertical dotted line on the left side of any toolbar, then drag
the toolbar to the desired location. If you move a toolbar away from the other toolbar,
the toolbar becomes a floating dialog box.
1. Click the down arrow on the end of the toolbar you want to customize. A series of
submenus appear, allowing you to select or deselect any icon in that toolbar.
2. Click Add or Remove Buttons then move the mouse cursor to the right until all
of the submenus appear, as shown as follows:
3. Click the space to left of the toolbar button you want to add. A check mark is
visible in the submenu and the button opens in the toolbar.
or
Click the check mark next to the toolbar button you want to remove. The button
will no longer appear in the toolbar.
The following table lists all the Bentley HAMMER V8i managers, their toolbar
buttons, and keyboard shortcuts.
Toolbar Keyboard
Button Manager Shortcut
Toolbar Keyboard
Button Manager Shortcut
Compute. <F9>
When you first start Bentley HAMMER V8i, only two managers are displayed: the
Element Symbology and Background Layers managers. This is the default workspace.
You can display as many managers as you want and move them to any location in the
Bentley HAMMER V8i workspace.
• If you return to the default workspace, the next time you start Bentley HAMMER
V8i, you will lose any customizations you might have made to the dynamic
manager display.
To open a manager
2. If the manager is not already docked, you can drag it to the top, left- or right-side,
or bottom of the Bentley HAMMER window to dock it. For more information on
docking managers, see Customizing Managers.
Customizing Managers
When you first start Bentley HAMMER V8i, you will see the default workspace in
which a limited set of dock-able managers are visible. You can decide which managers
will be displayed at any time and where they will be displayed. You can also return to
the default workspace any time.
Floating—A floating manager sits above the Bentley HAMMER V8i workspace like
a dialog box. You can drag a floating manager anywhere and continue to work.
Docked static—A docked static manager attaches to any of the four sides of the
Bentley HAMMER V8i window. If you drag a floating manager to any of the four
sides of the Bentley HAMMER V8i window, the manager will attach or dock itself to
that side of the window. The manager will stay in that location unless you close it or
make it dynamic. A vertical pushpin in the manager’s title bar indicates its static state;
click the pushpin to change the manager’s state to dynamic. When the push pin is
pointing downward (vertical push pin), the manager is docked.
• Close a docked manager by left clicking on the x in the upper right corner of the
title bar.
• Change a docked manager into a floating manager by double-clicking the title bar,
or by dragging the manager to the desired location (for example, away from the
side of the Bentley HAMMER V8i window).
• Change a static docked manager into a dynamically docked manager by clicking
the push pin in the title bar.
• Switch between multiple docked managers in the same location by clicking the
manager’s tab.
Docked dynamic—A docked dynamic manager also docks to any of the four sides of
the Bentley HAMMER V8i window, but remains hidden except for a single tab. Show
a docked dynamic manager by moving the mouse over the tab, or by clicking the tab.
When the manager is showing (not hidden), a horizontal pushpin in its title bar indi-
cates its dynamic state.
• Close a docked manager by left-clicking on the x in the upper right corner of the
title bar.
• Change a docked dynamic manager into a docked static manager by clicking the
push pin (converting it from vertical to horizontal).
• Switch between multiple docked managers in the same location by moving the
mouse over the manager’s tab or by clicking the manager’s tab.
Closed—When a manager is closed, you cannot view it. Close a manager by clicking
the x in the right corner of the manager’s title bar. Open a manager by selecting the
manager from the View menu (for example, View > Element Symbology), or by
selecting the button for that manager on the appropriate toolbar.
WaterObjects is a set of application and business logic upon which WaterCAD, Water-
GEMS and HAMMER are built. You may think of WaterObjects as the foundation or
core workings of the WaterCAD, WaterGEMS and HAMMER applications. Given
that WaterObjects is essentially invisible to any user running WaterCAD, WaterGEMS
and HAMMER, you might wonder why we decided to give it a special name! The
reason is that the application and business logic embodied by WaterObjects is generi-
cally re-usable by external parties (and that means you too) in order to create your
own custom application extensions or features. So in the most general sense WaterOb-
jects is something that allows 3rd parties to extend the functionality of WaterCAD,
WaterGEMS and HAMMER, without having to request the functionality from
Bentley and then wait for it to be released in a future version of the software. While
the feature is called "WaterObjects", a large majority of the feature is also applicable
to Bentley storm and sewer products too. Time you invest in customizing WaterCAD
or WaterGEMS for example, will have re-use potential for other Bentley Municipal
Products applications.
The answer to this question depends on whether you are a programmer or not. If you
are a programmer and are familiar with the terms API, .Net, Interface, Namespace and
also with a .Net compliant language such as VB.Net, C#.Net or C++.Net you may be
able to pick up WaterObjects pretty quickly, but if you are not a programmer you may
need to work with one to do the programming for you.
More information about the technical details of WaterObjects can be found in docu-
mentation that accompanies WaterObjects.
http://www.bentley.com/en-US/Corporate/Bentley+Partner+Program/Tech-
nology+Partners/Developers.htm
http://ftp2.bentley.com/dist/collateral/Web/BPP/BDNMemberGuide.pdf
http://www.bentley.com/en-US/Products/WaterGEMS/WaterObjects.NET-
Bentley.htm
It should be noted that internally the Bentley Municipal Products development group
predominantly use C# and C++ to develop with WaterObjects. WaterObjects itself is
also predominantly written in these two languages. We do not have any direct experi-
ence with many of the other possible languages that may be used.
Typically you would choose a language that you or your programmer is most familiar
with in order to maximize productivity. If possible, and all other things being equal,
you'll find that Bentley will be able to support you more easily if you stick to one of
the languages Bentley uses and is familiar with such as VB.NET, C# or C++.Net.
Those familiar with macros and programming Microsoft Office will typically be used
to using VBA (Visual Basic for Applications) to customize those applications. Since
WaterObjects, however, is a .NET API, it cannot be used with VBA. To solve the
problem of Microsoft Office leveraging application logic and APIs written in .NET,
Microsoft introduced a technology called VSTO. The latest version of this at the time
of writing is VSTO2005SE and this allows users to write add-ins for the Microsoft
Office suite that can use either VB.NET or C# as the programming language. The
documentation that comes with WaterObjects includes more description on VSTO and
how to use it. Note that this is a step up in complexity from regular WaterObjects.NET
development.
Whether or not you are doing the programming yourself you'll need to base your
design on what you are trying to achieve with the program. First it will be necessary to
document the goals of the application. In the software development industry this is
typically done from the user's point of view and is called creating "user stories". To
that end, put yourself into the shoes of the end-users for your program and document
the workflows that the user would expect to encounter. This can be as detailed as it
needs to be including how the user would start the program, and what they do when
the program is running.
Options for starting a WaterObjects program will depend on the nature of the program
developed, but may include:
In addition to starting the program you'll need to define the inputs and the expected
outputs. Inputs may include human entered input or file based input (such as a Water
model, or tabular data) and output may include things like raw data, reports, graphs
and tables in desired formats (e.g. an Excel spreadsheet, Oracle database or a Notepad
file). In arriving at the outputs the details of any specific calculations will need to be
documented. Finally, you'll need to determine where you want to store the output from
your calculations. Choices for storing output may include:
The above process sounds like it may be tricky, particularly when some of the answers
potentially require some advance knowledge of how things are going to turn out. This
is precisely why in software development an iterative development approach is
commonly adopted. In an iterative approach a the overall program requirements are
kept initially to a minimum and then staged in bite sized pieces with the progress of
the development being demonstrated by the programmer to the stakeholders at regular
intervals. This process is sometime called "Agile" software development. More can be
found out about Agile development by searching on-line.
Bentley HAMMER is a very efficient and powerful tool for simulating hydraulic tran-
sients in pipelines and networks. The quick-start lessons give you hands-on experi-
ence with many of Bentley HAMMER's features and capabilities. These detailed
lessons will help you to explore and understand the following topics:
Another way to become acquainted with Bentley HAMMER is to run and experiment
with the sample files, located in the \Bentley\HAMMER8\Samples folder. Remember,
you can press the F1 key to access the context-sensitive help at any time.
1. You need to analyze the system as it was designed (without any surge-protection
equipment) to determine its vulnerability to transient events.
2. You can select and model different surge-protection equipment to control transient
pressures and predict the time required for friction to attenuate the transient
energy.
3. You can present your results graphically to explain your surge-control strategy
and recommendations for detailed design.
You can create an initial steady-state model of your system within Bentley HAMMER
directly, using the advanced Bentley HAMMER Modeler interface, or import one
from an existing steady-state model created using other software. In this lesson, you
will assemble a hydraulic transient model using both methods to learn their respective
advantages and note the similarities between them.
Creating a Model
Bentley HAMMER is an extremely efficient tool for laying out a water-transmission
pipeline or even an entire distribution network. It is easy to prepare a schematic model
and let Bentley HAMMER take care of the link-node connectivity and element labels,
which are assigned automatically. For a schematic model only pipe lengths must be
entered manually to complete the layout. You may need to input additional data for
some hydraulic elements prior to a run.
The water system is described as follows: a water-pumping station draws water from a
nearby reservoir (383 m normal water level) and conveys 468 L/s along a dedicated
transmission pipeline to a reservoir (456 m normal water level) for a total static lift of
456 – 383 = 73 m. The elevation of the constant-speed pump is 363 m and its speed is
1760 rpm. Transmission main data are given in tables Nodes and Elevations and
Link (Pipe) Properties and Steady State HGL. Other data will be discussed below,
as you add or modify each hydraulic element in this system.
1. Click File > New to start a new project. This starts Bentley HAMMER's graphical
element editor, so you can draw the system by inserting hydraulic elements.
2. Click the Tools menu and select Options. Go to the Drawing tab and change the
3. Go to the Units tab, click the Reset Defaults button and change the Default unit
system for this project to System International.
Click OK.
5. Add a Junction element to the right of Res1 and rename it PJ1. Change the
Elevation to 363.00m.
6. Add a Pump element to the right of PJ1 and rename it PMP1. Change the
Elevation to 363.00m.
7. Add 7 more Junction elements in a line to the right of PMP1. Rename them and
set their elevations according to the data in the table below:
Nodes and Elevations
J-3 J1 408.00
J-4 J2 395.00
J-5 J3 395.00
J-6 J4 386.00
J-7 J5 380.00
J-8 J6 420.00
8. Add a Reservoir element to the right of J6. Rename it Res2 and change the Eleva-
tion to 456.00m and the Elevation (Inlet/Outlet Invert) to 453.00m.
9. Add pipes connecting each of the node elements. Click the Pipe button on
the Layout toolbar.
a. Click Res1.
b. Click PJ1.
c. Click PMP1.
d. Continue clicking each node in turn from left to right.
e. After you've clicked Res2, right-click and select Done to finish laying out the
pipe.
10. When editing data for a large number of elements, it can be more convenient to do
so using FlexTables. Click the View menu and select the FlexTables command. In
the FlexTables Manager, double-click Pipe Table.
11. In the FlexTable, you can edit white fields only; yellow fields are read-only. When
all of the elements in the table should have the same value for an attribute, you can
globally edit them to set them all at once. Right-click the Diameter column and
select Global Edit. Leave the Operation at Set and enter 600.00 as the value. Click
OK.
12. Right-click the Has User Defined Length? column and select Global Edit. Leave
the Operation at Set and place a check in the Value box, then click OK.
13. Enter data for each of the pipes using the data in the table below. You can use the
Global Edit function to enter the Wave Speed.
Link (Pipe) Properties and Steady State HGL
14. After you have finished editing the data, close the FlexTable. The final piece of
element data we need to define is the pump definition. Click the Components
menu and select Pump Definitions.
15. Click the New button to create a new pump definition. Under Pump Definition
Type select Design Point (1 Point). Enter a value of 468 L/s for the Design Flow
and 81.30m for the Design Head. Click the Close button.
16. Highlight pump PMP1. In the Properties Editor click the Pump Definition field
and select Pump Definition - 1 from the list.
17. In the drawing view, some of the elements and element labels may overlap,
obscuring one another. You can reposition element labels. Zoom in on an element
label and click on it. If done correctly, only the label will be highlighted; if the
element and label are highlighted, try clicking again. When the element label is
highlighted, a dot will appear near the highlighted label; this is called the label's
grip.
18. Click on the grip, hold down the mouse button, and move it to the desired loca-
tion, then let go of the mouse button. Reposition the labels so that all of them are
visible. When you are finished the model should look like this:
19. We can now calculate the steady-state initial conditions of the model. Click the
Compute Initial Conditions button.
20. Close the Calculation Summary window and the User Notifications window.
21. Click File > Save As to select a directory and save your file with a name such as
Lesson1.wtg.
Any change in flow or pressure, at any point in the system, can trigger hydraulic tran-
sients. If the change is gradual, the resulting transient pressures may not be severe.
However, if the change of flow is rapid or sudden, the resulting transient pressure can
cause surges or water hammer. Since each system has a different characteristic time,
the qualitative adjectives gradual and rapid correspond to different quantitative time
intervals for each system.
There are many possible causes for rapid or sudden changes in a pipe system,
including power failures, pipe breaks, or a rapid valve opening or closure. These can
result from natural causes, equipment malfunction, or even operator error. It is there-
fore important to consider the several ways in which hydraulic transients can occur in
a system and to model them using Bentley HAMMER.
In this lesson, you will simulate the impact of a power failure lasting several minutes.
It is assumed that power was interrupted suddenly and without warning (i.e., you did
not have time to start any diesel generators or pumps, if any, prior to the power
failure). The purpose of this type of transient analysis is to ensure the system and its
components can withstand the resulting transient pressures and determine how long
you must wait for the transient energy to dissipate.
For many systems, starting backup pumps before the transient energy has decayed
sufficiently can cause worse surge pressures than those caused by the initial power
failure. Conversely, relying on rapid backup systems to prevent transient pressures
may not be realistic given that most transient events occur within seconds of the
power failure while isolating the electrical load, bringing the generator on-line, and re-
starting pumps (if they have not timed out) can take several minutes. (See Part 3—
Configuring the Bentley HAMMER Project.)
Before running the Bentley HAMMER model you have created in Part 1, you need to
set certain run-time parameters such as the fluid properties, piping system properties,
run duration, and output requirements.
This will output the transient history (or temporal variation of flow, head, and air
or vapor volumes) at the pump and nearby nodes (you can also add other points of
interest, such as P7 / Res2).
6. Change the Run Duration Type to Time.
7. Enter a Run Duration (Time) value of 140 seconds.
8. Change the Pressure Wave Speed to 1250 m/s.
9. Leave the Vapor Pressure value at the default value of -97.9 kPa.
10. Change the Generate Animation Data field to True.
11. Close the Calculation Options manager.
12. Report Paths are created through the Profile Manager. Click the View menu and
select Profiles.
13. In the Profiles manager, click the New button.
14. In the Profile Setup dialog click the Select From Drawing button.
15. You will be returned to the drawing view; click PMP1 and then Res2 - all the
intermediate points should be selected automatically. Then right-click and select
Done (or click the checkmark button in the Select toolbar).
16. In the Profile Setup dialog, click the Open Profile button.
17. In the Profile Series Options dialog that appears, click OK to accept the default
profile settings.
18. Check that the profile looks like the one below, then close the Profile.
19. In the Profiles manager, highlight the newly created profile Profile - 1 and click
the Rename button. Enter the name Main Path. The hammer symbol in the upper
right of the profile icon indicates that this profile is a Transient Report Path,
meaning that during a transient analysis results will be saved for this profile.
20. Close the Profiles manager.
21. Save the file with the same name (Lesson1.wtg) using File > Save. You are now
ready to run a transient analysis. (See Part 4—Performing a Transient Analysis.)
In this section, you will first simulate transient pressures in the system due to an emer-
gency power failure without any protective equipment in service. After a careful
examination of your results, you will select protective equipment and simulate the
system again using Bentley HAMMER to assess the effectiveness of the devices you
selected to control transient pressures. See Analysis with Surge-Protection Equipment.
1. Double-click PMP1. In the Properties editor change the Pump Type (Transient)
value to Shut Down After Time Delay.
2. Set the other pump parameters:
a. Diameter (Pump Valve): Set the inside diameter of the pump's discharge
flange to 600 mm.
b. Time (Delay Until Shutdown): Set this to 5 seconds. For convenience, it is
assumed that the power failure occurs after 5 seconds, so that point histories
will show the initial steady state during this period.
c. Pump Valve Type: set to default (Check Valve). The power failure is assumed
to be instantaneous and the check valve is allowed to close without any delay
(zero) to protect the pump from damage.
3. Click the Pump Definition field and select Edit Pump Definitions.
4. In the Pump Definitions dialog, click the Efficiency tab. Change the Pump Effi-
ciency type to Constant Efficiency, and the Pump Efficiency value to 85 %.
5. Click the Transient tab. Set the following parameters:
a. Inertia (Pump and motor): This is the combined pump, shaft, and motor
inertia: set it to 17.2 kg - m2. This value can be obtained from the manufac-
turer or estimated from its power rating
b. Speed (Full): Set this to 1760 rpm.
c. Specific Speed: Select SI=25, US=1280.
d. Reverse Spin Allowed?: Uncheck this box. Not allowing reverse spin assumes
there is a check valve on the discharge side of the pump or that the pump has a
nonreverse ratchet mechanism.
8. When the run is completed, the Transient Calculation Summary opens automati-
cally, displaying calculation options used during the run, initial conditions, and
extreme pressure and head values.
By default, Bentley HAMMER does not generate output for every location or every
time step, since this would result in very large file sizes (tens or hundreds of mega-
bytes). For the specific report points or paths (e.g., profiles) you specified prior to the
run, you can generate several types of graphs or animations to visualize the results:
1. HGL Profile: Bentley HAMMER can plot the steady-state hydraulic grade line
(HGL) as well as the maximum and minimum transient head envelopes along the
Main path.
2. Time History: Bentley HAMMER can plot the time-dependent changes in tran-
sient flow, and head and display the volume of vapor or air at any point of interest.
3. Animations: You can animate to visualize how system variables change over time
after the power failure. Every path and history on the screen is synchronized and
animated simultaneously. Note how transient pressures stabilize after a while.
It is important to take the time to carefully review the results of each Bentley
HAMMER run to check for errors and, if none are found, learn something about the
dynamic nature of the water system.
Click the Analysis menu and open the Transient Results Viewer . If prompted
for the version of the viewer to use you can select either version.
Profile the Main Path and plot the various time history graphs. Depending on your
• The graph for the Main path shows that a significant vapor cavity forms at the
local high point at the knee of the pipeline (i.e., the location where the steep pipe
section leaving the pumps turns about 90 degrees to the horizontal in the pump
station).
• Viewing the animation a few times shows that a vapor pocket grows at node J1 (as
the water column separates) and subsequently collapses due to return flow from
the receiving reservoir Res2. The resulting transient pressures are very sudden and
they propagate away from this impact zone, sending a shock wave throughout the
pipeline.
• The time history at the pump shows that the check valve closes before these pres-
sure waves reach the pump (zero flow), effectively isolating it from the system
and protecting it against damage.
It is clear that high pressures are caused by the sudden collapse of a vapor pocket at
node J1. You could install a Hydropneumatic Tank at junction J1 to supply flow into
the pipeline upon the power failure, keeping the upstream water column moving and
minimizing the size of the vapor pocket at the high point (or even preventing it from
forming). You can test this theory by simulating the system again using Bentley
HAMMER and comparing the results with those of the unprotected run:
4. Now we must update our report points and report path to reflect the replacement
of J1 with HT-1. Click Analysis > Calculation Options and double-click the Base
Calculation Options under the Transient Solver.
5. Click the ellipsis button in the Report Points Collection field.
6. Add P1 / HT-1 and P2 / HT-1 to the Selected Items list. Click OK.
7. Click View > Profiles and Edit the Main Path Profile. Click Yes when prompted to
auto-repair the profile. The profile will open and will now include the hydropneu-
matic tank. Close the Profile and the Profiles manager.
8. Select File > Save As and save the file with a new name: Lesson1_Protection.wtg.
Note: Rather than editing the original model and saving it as a new file,
a better way is to create a new scenario in the original model for
the transient protection simulation. We will investigate
scenarios in Lesson 2.
9. Click the Compute Initial Conditions button. Close the Calculation Summary and
the User Notifications dialog.
10. Click the Compute button. Close the Transient Calculation Summary and the User
Notifications dialog.
11. Click the Analysis menu and select Transient Results Viewer.
12. Click the Profile button on the Profiles tab.
As you can see, installing a Hydropneumatic Tank at node J1 has significantly reduced
transient pressures in the entire pipeline system. Due to this protection equipment, no
significant vapor pocket forms at the local high point. However, it is possible that a
smaller tank could provide similar protection.
It is also possible that other protection equipment could control transient heads and
perhaps be more cost-effective as well. Before undertaking additional Bentley
HAMMER simulations, it is worthwhile to compare and contrast the results with or
without the Hydropneumatic Tank.
Bentley HAMMER provides many ways to visualize the simulated results using a
variety of graphs and animation layouts. You must specify which points and paths
(profiles) are of interest, as well as the frequency to output prior to a run, or Bentley
HAMMER will not generate this output to avoid creating excessively large output
files. For small systems, you can specify each point and every time step, but this is not
advisable for large water networks.
For the same reason, Bentley HAMMER only generates the Animation Data (for on-
screen animations) if you select this option in the transient calculation options.
Note: To achieve shorter run times and conserve disk space, try to
avoid generating voluminous output, such as Animation Data or
Output Databases, at an early stage of your hydraulic transient
analysis. Fast turnaround makes your evaluation of different
alternatives more interactive and challenges you to apply good
judgement as you compare your mental model of the system
with Bentley HAMMER's results—a good habit which is like
estimating an answer in your head when using a calculator.
While you are still evaluating many different types or sizes of surge-protection equip-
ment, you can often compare their effectiveness just by plotting the maximum tran-
sient head envelopes for most of your Bentley HAMMER runs. At any time, or once
you feel you are close to a definitive surge-control solution, you can use Bentley
HAMMER to generate the animation data files by setting Generate Animation Data to
True in the Transient Calculation Options. After the run, you can open the Transient
Results Viewer from the Analysis menu.
Note: Once you have generated the animation data files, you will be
able to display animations without running the HAMMER V8i
simulation again. This saves a lot of time when comparing the
results of several surge-control alternatives.
2. Click the Animate button. This loads the animation data and Animation Control.
3. On the Animation Controller, click the play button to start the animation.
Using the Bentley HAMMER Transient Results Viewer, you can plot a transient
history at any point in the system to display the temporal variation of selected parame-
ters (such as pressures and flow).
4. To view numerical data for the time history, click the Data tab. From here, you can
sort the data by right-clicking on the column header and choosing Sort. You can
also change the units and precision for the results by right-clicking on the column
header and choosing Units and Formatting.
Click OK to save these settings and leave the FlexUnits Manager. From now on, Head
will be displayed in ft. and Flow will be displayed in l/s.
1. Import the steady-state WaterCAD model into Bentley HAMMER and verify it.
2. Select a transient event to analyze and run the Bentley HAMMER model.
3. Annotate and color-code the resulting map, profiles, and time histories using
Bentley HAMMER's powerful, built-in visualization capabilities.
Inspecting the steady-state model results using Bentley HAMMER reveals that
the water transmission main now carries only 210 L/s of water from the pumping
station to reservoir Res2 at elevation 456 m. A local main takes water from the
transmission main at a tee located about 400 m from the pumping station, distrib-
uting 265 L/s to a nearby subdivision. The part of the subdivision close to the
pumping station has lower ground (and therefore water main) elevations, while
the far end has higher ground elevations. Your goal is to identify transient issues
for this system and recommend surge protection alternatives.
3. Prior to running the transient analysis of this system, you need to select some
profiles and points of interest.
4. Click Analysis > Calculation Options. Double-click on Base Calculation Options
under Transient Solver. Click the ellipsis button in the Report Points Collection
field. Add nodes PMP1D:PMP1, P1:J1, P2:J1, P2:J2, P8:J2, P27:J19, P28:J19,
P47:J34, and P50:J37 to the Selected Items list (you learned how to do this in
Lesson 1).
Click OK.
– Create a profile named Path1 and add pipes PMP1D, P1, P2, P3, P4, P5, P6,
and P7 to it.
– Create a profile named Path2 and add pipes PMP1D, P1, P2, P8, VLV1U,
VLV1D, P9, P10, P14, P48, P49, and P50 to it.
– Create a profile named Path3 and add pipes PMP1D, P1, P2, P8, VLV1U,
VLV1D, P9, P15, P22, P24, P28, P30, P46, and P47 to it.
Note: You can set HAMMER to always compute the initial conditions
prior to computing a transient simulation. To do this click the
Analysis menu and then click Always Compute Initial
Conditions.
11. Click the Compute button. Close the Transient Calculation Summary.
12. Click the Analysis menu and select Transient Results Viewer. To view a plot of
the maximum and minimum head envelopes along Path1, Path2, and Path 3,
choose the profile from the pulldown and select Profile. The envelopes along
Path1 should look like the following figure.
13. To generate a plot of the hydraulic transient history at the pumping station, select
the Time History tab in the Transient Results Viewer. To see hydraulic grade and
flow results, choose Time History: PMP1D:PMP1 and Graph Type: Hydraulic
Grade, Flow and Air/Vapor Volume. There should be no significant change in the
steady-state conditions with time.
Results from the Bentley HAMMER run you have just completed do not show any
change in the steady-state heads and flows throughout the water network as time
passes. This indicates the calculated initial conditions can be considered as valid. You
are now ready to proceed with the hydraulic transient analysis for this network.
In Lesson 1, you simulated the transient pressures resulting from a sudden power
failure. In this lesson you will learn how to simulate transient pressures in a water
distribution network triggered by an emergency pump shutdown and restart. Although
a power failure often results in the worst-case conditions, restarting before friction has
dissipated the transient energy can cause higher extreme pressures than the initial
power failure.
In order to generate transient events for a rapid but controlled emergency pump shut-
down and restart, you need to set appropriate pump characteristics to control the speed
at which this pump can shut down and restart. One of the ways to do this is to use a
variable-frequency drive (VFD), also known as a variable-speed pump.
seconds into the simulation. Then at 25 seconds into the simulation the pump will
start to speed up linearly from zero to reach full speed at 30 seconds. Close to
leave the Patterns manager.
5. In the Pump Properties, under Transient (Operational), click the Operating Rule
drop-down list and select Operational (Transient, Pump) - Pattern 1.
6. Click Analysis > Calculation Options. Double-click Base Calculation Options
under Transient Solver. Change the Generate Animation Data field value to True.
You will need the animation data later to animate the results on screen. Close the
Calculation Options manager.
7. Click the Compute button. Close the Transient Calculation Summary and User
Notifications windows.
8. Click the Analysis menu and select Transient Results Viewer.
9. Plot the Time History for Hydraulic Grade, Flow, and Air/Vapor Volume at end
point PMP1D:PMP1 (i.e., the discharge side of the pump). It should look like the
following figure and have these characteristics:
– After the emergency pump shutdown, pressure and flow drop rapidly,
followed by a large upsurge pressure (at about 15 s) after flow returning to the
pumping station collapses the vapor pockets at the high points. The check
valve on the discharge side of the pump keeps the flow at zero during the
initial and subsequent pressure oscillations (until the pump restarts).
– The maximum transient head resulting from the pump restart does not exceed
the maximum head reached about ten seconds after the initial power failure.
This is because flow supplied by the pump prevents vapor pockets from
reforming and collapsing again.
– The system approaches a new steady state after 50 seconds and it has essen-
tially stabilized to a new steady state by 90 seconds.
– As expected, the final steady state is similar to the initial steady state.
10. Plot the Hydaulic Grade and Air/Vapor Volume to see the maximum and
minimum transient head envelopes along Path1, Path2, and Path3. The Path3
envelopes should look like the following figure:
In these figures,
– Subatmospheric transient pressures occur in almost half of the pipeline. Full
vacuum pressure (–10 m) occurs at the knee of the pipeline (near the pump
station) and at the local high point in the distribution network.
– Maximum transient pressure heads are of the order of 100% above steady-
state pressures along the majority of Path3. This is likely very significant
compared to the pipes' surge-tolerance limit, especially if the network
contains older pipes. It would be useful to show the pipe's working pressure
and surge-tolerance limit on the paths to assess whether it can withstand these
high pressures.
12. Identify the fastest ramp times and shortest time delay which do not result in unac-
ceptable transient pressures anywhere in the system. Since the maximum transient
envelopes depend on these two variables, several valid solutions are possible. You
can document your solution in the operations manuals for the pumping station and
verify its accuracy upon commissioning.
Note: The volume of vapor or air reported at a node is the sum of the
volumes at every end point of all connected nodes. Since a pipe
may have volumes elsewhere than at its end point, node and
pipe volumes may not match. If more than two pipes connect to
a node, the volume reported on a path (or profile) plot may not
match the volume reported for that node's history, or in the
Drawing Pane, because a path can only include two of the pipes
connecting to that node.
13. The results indicate that significant pressures occur in the system. After viewing
the animations, it becomes even more clear that:
– High pressures result from the collapse of significant vapor pockets at local
high points. Inspection of the transient histories at end-points P2:J1 and
P27:J19 confirms that vapor pockets collapse at around these times.
– The pump restarts at 25 s or 20 s after the start of the emergency pump shut-
down, just as the high-pressure pulse from the collapse of a vapor pocket at
node J1 is reaching the pump station. This pulse closes the check valve
against the pump for a while, until it reaches its full speed and power at
around 30 s.
– Transient pressure waves travel throughout the system, reflecting at reser-
voirs, dead-ends, and tanks. This results in complex but essentially periodic
disturbances to the pump as it attempts to re-establish a steady state.
– As expected, the final steady-state head and flow are similar to the initial
steady state.
The model has already been set up to use the new protection equipment using the
Active Topology Alternative. In the drawing, you'll notice grey pipes and nodes adja-
cent to the J1 and J19 areas.
Active Topology is a way to model multiple network layouts in the same model. You
can mark elements as Inactive for certain scenarios, but Active in others.
We will create a new Active Topology Alternative in which the new Hydropneumatic
Tank and Surge Tank (and their adjoining pipes) are Active and the elements they are
replacing (J1 and J19 and their adjoining pipes) are Inactive.
3. Close the Alternatives manager. Click the Analysis menu and select Scenarios.
Click the New button and select Child Scenario. Name the new scenario With
Protection.
4. Double-click the new scenario to open the Properties editor and change the Active
Topology Alternative to With Protection. In the Scenarios manager, make sure the
With Protection scenario is highlighted, and then click the Make Current button.
With the new scenario active, any edits made to the active topology will only
affect the new With Protection scenario (and by extension the With protection
Active Topology alternative).
5. Click the Tools menu and select Active Topology Selection. The Active Topology
Selection toolbar appears.
11. Click the Done button in the Active Topology Selection toolbar.
12. Since we are using different elements we need to update our report points and
report paths (profiles).
a. In the Transient Solver Base Calculation Options, under the Report Points
Collection, add P1-1:HT-1 and P2-1:HT-1. P1:J1 and P2:J1 are now inactive
so there will be no results to show for those node, however you can leave
them on the list in case you recomputed the Base scenario again.
b. The existing profiles now contain inactive elements, so no results will be
shown for them under the With Protection scenario. Therefore create three
new profiles as follows:
- Create a profile named Path 1- Protection and add pipes PMP1D, P1-1,
P2-1, P3, P4, P5, P6, and P7 to it.
- Create a profile named Path 2 - Protection and add pipes PMP1D, P1-1,
P2-1, P8, VLV1U, VLV1D, P9, P10, P14, P48, P49, and P50 to it.
- Create a profile named Path 3 - Protection and add pipes PMP1D, P1-1,
P2-1, P8, VLV1U, VLV1D, P9, P15, P22, P24-1, P28-1, P30, P46, and
P47 to it.
13. Click the Compute Initial Conditions button. Close the Calculation Summary.
14. Click the Compute button. Close the Transient Calculation Summary and User
Notifications windows.
15. Once the run completes click the Analysis menu and select Transient Results
Viewer. Use the Profile button to generate graphs of the transient head envelopes
for Path 1 - Protection, Path 2 - Protection, and Path 3 - Protection. The envelope
along Path 3 - Protection should look like the following figure:
16. Compare the transient head envelopes and transient histories for Bentley
HAMMER runs with different parameters, without and with protection:
– You may be able to reduce the size (and cost) of the Hydropneumatic Tank
and Surge Tank by changing their parameters until surge pressures are unac-
ceptable (for example, try a Hydropneumatic Tank with a volume of 5000 L).
– Instead of the Hydropneumatic Tank and Surge Tank, you can also try
installing a two-way or "combination" Air Valve at nodes J1 and J19.
17. Before recommending a surge-protection strategy for this system, you need to
perform a transient analysis of an emergency power failure and other possible
transient events.
In the design of a surge-control strategy for a water distribution network, the extreme
states are usually of the greatest interest. Bentley HAMMER has built-in capabilities
to visualize maximum and minimum simulated flows, heads, pressures, and volumes
(vapor or air) throughout the pipe system. You can color-code nodes and pipes
according to these different parameters.
In this part of the lesson, you will learn how to use Bentley HAMMER's color-coding
features to make your presentation more intuitive and compelling to your audiences.
1. In Bentley HAMMER, click File > Open and open the file
Lesson2_WaterGEMS_Finished.wtg.
2. Click the Compute Initial Conditions button. Close the Calculation Summary.
3. Click the Compute button. Close the Transient Calculation Summary and User
Notifications windows.
4. Click the Analysis menu and select Transient Thematic Viewer. By default,
Bentley HAMMER uses Maximum Head results for both the pipes and nodes for
color-coding.
5. On the Pipes tab click the Calculate Range button and select Full Range. This
automatically populates the Minimum and Maximum values for the currently
selected Field Name.
6. In the right side of the window click the Initialize button. Initialize automatically
breaks the range between the maximum and minimum values into the number of
specified steps and assigns a color to each.
7. Click the Ramp button. Ramp chooses colors to make a gradient between the first
and last colors used. Click the third color box and select yellow. Click the 4th
color box and select orange.
8. Click the Use Gradient checkbox in the lower left. When this option is selected,
HAMMER will color code segments within pipes individually, rather than using a
single color for each pipe. Your Pipe tab should now look like this.
9. Click the Apply button and minimize the Transient Thematic Viewer. Your
network should now look like this:
10. In the Transient Thematic Viewer click the Nodes tab. Change the Field Name to
Pressure (Maximum Transient).
Click OK.
11. Click the Calculate Range button and select Full Range.
12. Click the Initialize button. Click the color box in the first row and select a light
blue color. Click the color box in the last row and select a dark blue. Click the
Ramp button. The dialog should now look like this:
13. Click the Apply button. You can minimize the Transient Thematic Viewer, but
don't close it; it must remain open for as long as you want the network elements to
be color coded. Your model should now look like this:
14. Try different variables at pipes and nodes to try to make your presentation more
descriptive. For example, you could try the following:
– You can change the values that are used in each range. Making the first two
steps encompass a larger portion of the value range will cause more of the
pipes to be colored green, indicating normal to high heads in this system.
– For pipes, set the percentage corresponding to the dark blue color so that
subatmospheric pressures are displayed in this color, alerting you to potential
pathogen intrusion and heavy pipe or joint pressure cycling.
– For nodes, experiment with the percentages corresponding to yellow and
orange until they correspond to the pipe's working pressure or surge-tolerance
limit.
Some parts in the subdivision also experience high pressures. For example, the color-
coded map and the Results section of the Element Editor indicate that the point with
the highest elevation in the subdivision, node J34, experiences the lowest minimum
transient pressure, while the lowest point in the network, node J37, experiences the
largest maximum transient pressure.
MicroStation Environment
Stand-Alone
The Stand-Alone Editor is the workspace that contains the various managers, toolbars,
and menus, along with the drawing pane, that make up the Bentley HAMMER V8i
interface. The Bentley HAMMER V8i interface uses dockable windows and toolbars,
so the position of the various interface elements can be manually adjusted to suit your
preference.
You change the drawing view of your model by using the pan tool or one of the zoom
tools:
Panning
Zooming
Drawing Style
Panning
You can change the position of your model in the drawing pane by using the Pan tool.
or
If your mouse is equipped with a mousewheel, you can pan by simply holding
down the mousewheel and moving the mouse to reposition the current view.
or
Select View > Pan, then click anywhere in the drawing, hold down the mouse
button and move the mouse to reposition the current view
Zooming
You can enlarge or reduce your model in the drawing pane using one of the following
zoom tools:
The current zoom level is displayed in the lower right hand corner of the interface,
next to the coordinate display.
Zoom Extents
The Zoom Extents command automatically sets the zoom level such that the entire
model is displayed in the drawing pane.
To use Zoom Extents, click Zoom Extents on the Zoom toolbar. The entire model is
displayed in the drawing pane.
or
Zoom Window
The Zoom Window command is used to zoom in on an area of your model defined by
a window that you draw in the drawing pane.
To use Zoom Window, click the Zoom Window button on the Zoom toolbar, then click
and drag the mouse inside the drawing pane to draw a rectangle. The area of your
model inside the rectangle will appear enlarged.
or
Select View > Zoom > Zoom Window, then draw the zoom window in the drawing
pane.
The Zoom In and Zoom Out commands allow you to increase or decrease, respec-
tively, the zoom level of the current view by one step per mouse click.
To use Zoom In or Zoom Out, click either one on the Zoom toolbar, or select View >
Zoom > Zoom In or View > Zoom > Zoom In.
If your mouse is equipped with a mousewheel, you zoom in or out by simply moving
the mousewheel up or down respectively.
Zoom Realtime
The Zoom Realtime command is used to dynamically scale up and down the zoom
level. The zoom level is defined by the magnitude of mouse movement while the tool
is active.
Zoom Center
The Zoom Center command is used to enter drawing coordinates that will be centered
in the drawing pane.
1. Choose View > Zoom > Zoom Center or click the Zoom Center icon on the Zoom
toolbar.. The Zoom Center dialog box opens.
Enables you to zoom to specific elements in the drawing. You must select the elements
to zoom to before you select the tool.
Zoom Previous returns the zoom level to the most recent previous setting. To use
Zoom Previous, click View > Zoom > Zoom Previous or click the Zoom Previous icon
from the Zoom toolbar.
Zoom Next returns the zoom level to the setting that was active before a Zoom
Previous command was executed. To use Zoom Previous, click View > Zoom > Zoom
Next or click the Zoom Next icon from the Zoom toolbar.
Available through the Properties dialog box of each layer in the Element Symbology
manager, the Zoom Dependent Visibility feature can be used to cause elements, deco-
rations, and annotations to only appear in the drawing pane when the view is within
the zoom range specified by the Minimum and Maximum Zoom values.
Zoom Out Limit (%) The minimum zoom level, as a percent of the
default zoom level used when creating the project,
at which objects on the layer will appear in the
drawing. The current zoom level is displayed in
the lower right hand corner of the interface, next
to the coordinate display. You can also set the
current zoom level as the minimum by right-
clicking a layer in the Element Symbology
manager and selecting the Set Minimum Zoom
command. The zoom out limit is especially
important in GIS style symbology because the
symbols and text can become very large. (As you
zoom out, the Zoom Level as a percent decreases.
Once it drops below the zoom out limit, the
objects will no longer appear.)
The numerical value for zoom out limit should be smaller than zoom in limit or else
the element will not be visible at all.
The current zoom level is displayed at the bottom right of the drawing.
Drawing Style
Elements can be displayed in one of two styles in the Stand-Alone version; GIS style
or CAD style.
Under GIS style, the size of element symbols in the drawing pane will remain the
same (relative to the screen) regardless of zoom level. Under CAD style, element
symbols will appear larger or smaller (relative to the drawing) depending on zoom
level.
There is a default Drawing Style that is set on the Global tab of the Options dialog.
The drawing style chosen there will be used by all elements by default. Changing the
default drawing style will only affect new projects, not existing ones.
You can change the drawing style used by all of the elements in the project, or you can
set each element individually to use either drawing style.
1. Double-click the element in the Element Symbology manager dialog to open the
Properties manager.
2. In the Properties manager, change the value in the Display Style field to the
desired setting.
Click the Drawing Style button in the Element Symbology manager and select the
desired drawing style from the submenu that appears.
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 to open the Aerial View window.
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 the AutoCAD environment, see the AutoCAD online help for a detailed explana-
tion.
In Stand-Alone environment, 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. Alternately,
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.
Use background layers to display pictures behind your network in order to relate
elements in your network to structures and roads depicted in the picture. You can add,
delete, edit and rename background layers in the Background Layers Manager. The
Background Layers manager is only available in the Stand-Alone version of Bentley
HAMMER. The MicroStation, ArcGIS, and AutoCAD versions each provide varying
degrees of native support for inserting raster and vector files.
You can add multiple pictures to your project for use as background layers, and turn
them off and on. Additionally, you can create groups of pictures in folders, so you can
hide or show an entire folder or group of pictures at once.
To add or delete background layers, open the Background Layers manager choose
View > Background Layers.
You can use shapefiles, AutoCAD DXF files, and raster (also called bitmap) pictures
as background images for your model. The following raster image formats are
supported: bmp, jpg, jpeg, jpe, jfif, gif, tif, tiff, png, and sid.
Using the Background Layer manager you can add, edit, delete, and manage the back-
ground layers that are associated with the project. The dialog box contains a list pane
that displays each of the layers currently contained within the project, along with a
number of button controls.
When a background layer is added, it opens 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. If the layers in the list pane are
contained within one or more folders, clearing the check box next to a folder causes all
of the layers within that folder to become invisible.
You can copy/paste background layers and folders by right-clicking them and
selecting Copy/Paste. When a folder is copied in this way all of the contents of that
folder are also copied.
You can create folders in Background Layers to organize your background layers and
create a group of background layers that can be turned off together. You can also
create folders within folders. When you start a new project, an empty folder is
displayed in the Background Layers manager called Background Layers. New back-
ground layer files and folders are added to the Background Layers folder by default.
1. Choose View > Background Layers to open the Background Layers manager.
2. In the Background Layers manager, click the New button, then click New Folder
from the shortcut menu.
Or select the default Background Layers folder, then right-click and select New >
Folder from the shortcut menu.
– If you are creating a new folder within an existing folder, select the folder,
then click New > New Folder. Or right-click, then select New > Folder from
the shortcut menu.
3. Right-click the new folder and select Rename from the shortcut menu.
4. Type the name of the folder, then press <Enter>.
1. Click View > Background Layers to open the Background Layers manager.
2. In the Background Layers managers, select the folder you want to delete, then
click the Delete button.
– You can also right-click a folder to delete, then select Delete from the shortcut
menu.
1. Click View > Background Layers to open the Background Layers manager.
2. In the Background Layers managers, select the folder you want to rename, then
click the Rename button.
– You can also right-click a folder to rename, then select Rename from the
shortcut menu.
3. Type the new name of the folder, then press <Enter>.
– You can also rename a background layer folder by selecting the folder, then
modifying its label in the Properties Editor.
In order to add background layers to projects use the Background Layers manager.
When you start a new project, an empty folder in the Background Layers manager
called Background Layers is displayed. New background layer files and folders are
added to the Background Layers folder by default.
1. Click View > Background Layers to open the Background Layers manager.
2. In the Background Layers managers, click the New button, then click New File
from the shortcut menu.
Or right-click on the default Background Layers folder and select New > File
from the shortcut menu.
– To add a new background layer file to an existing folder in the Background
Layer manager, select the folder, then click New > New File. Or right-click,
then select New > File from the shortcut menu.
3. Navigate to the file you want to add as a background layer and select it.
– If you select a .dxf file, the DXF Properties dialog box opens.
4. After you add the background layer, you might have to use the Pan button to move
the layer within the drawing area; Zoom Extents does not center a background
image.
You can also copy an entire folder; the contents of the folder will also be copied.
• Select the background layer you want to delete, then click the Delete button.
• Or, right-click the background layer, then select Delete from the shortcut
menu.
To edit the properties of a background layer
You can edit a background layer in two ways: you can edit its properties or its position
in a list of background layers displayed in the Background Layers manager.
The order of a background layer determines its Z level and what displays if you use
more than one background layer. Background layers at the top of the list display on
top of the other background layers in the drawing pane; so, background layers that are
lower than the top one in the list might be hidden or partially hidden by layers above
them in the list.
Select the background layer whose position you want to change in the list of Back-
ground Layers manager, then click the Shift Up or Shift Down buttons to move the
selected background layer up or down in the list.
Select the background layer you want to rename, then click the Rename button.
Or, right-click the background layer that you want to rename, then select Rename
from the shortcut menu.
Turn your background layers on or off by using the check box next to the background
layer file or folder than contains it in the Background Layers manager.
Image Properties
This dialog box opens when you are adding or editing a background-layer image other
than a .dxf or .shp.
Resolution Select the clarity for images that are being used as
background images.
Use Compression If you check this option you can compress the
image in memory so that it takes up less RAM.
When checked there may be a slight color
distortion in the image.
Image Position Table Position the background layer with respect to your
drawing.
• X/Y Image displays the size of the image you
are using for a background and sets its posi-
tion with respect to the origin of your drawing.
You cannot change this data.
• X/Y Drawing displays where the corners of the
image your are using will be positioned rela-
tive to your drawing. By default, no scaling is
used. However, you can scale the image you
are using by setting different locations for the
corners of the image you are importing. The
locations you set are relative to the origin of
your Bentley HAMMER V8i drawing.
Shapefile Properties
Use the Shapefile Properties dialog box to define a shapefile background layer. In
order to access the Shapefile Properties dialog box, click New File in the Background
Layers manager, then select a .shp file.
Use the following controls to define the properties of the background layer:
Line Color Sets the color of the layer elements. Click the
Ellipsis (...) button to open a Color palette
containing more color choices.
DXF Properties
The DXF Properties dialog box is where you define a .dxf file as the background
layer. In order to open the .dxf properties, click New File In the Background Layers
manager, then select a .dxf file.
Use the following controls to define the properties of the background layer:
Filename Lists the path and filename of the .dxf file to use
as a background layer.
Line Color Sets the color of the layer elements. Click the
Ellipsis (...) button to open a Color palette
containing more color choices. Only when Default
Color is not selected.
Default Color Use the default line color included in the .dxf file
or select a custom color in the Line Color field by
unchecking the box.
Size Sets the size of the symbol for each point element
in the .dxf.
In the Stand-Alone client flow arrows are automatically displayed after a model has
been calculated (by default). You can also toggle the display of flow arrows on/off
using the Show Flow Arrows control in the Properties dialog when Pipe is highlighted
in the Element Symbology manager (see Annotating Your Model).
MicroStation Environment
In the MicroStation environment you can create and model your network directly
within your primary drafting environment. This gives you access to all of MicroSta-
tion’s powerful drafting and presentation tools, while still enabling you to perform
Bentley HAMMER V8i modeling tasks like editing, solving, and data management.
This relationship between Bentley HAMMER V8i and MicroStation enables
extremely detailed and accurate mapping of model features, and provides the full
array of output and presentation features available in MicroStation. This facility
provides the most flexibility and the highest degree of compatibility with other CAD-
based applications and drawing data maintained at your organization.
Bentley HAMMER V8i features support for MicroStation integration. You run
Bentley HAMMER V8i in both MicroStation and stand-alone environment.
The MicroStation functionality has been implemented in a way that is the same as the
Bentley HAMMER V8i base product. Once you become familiar with the stand-alone
environment, you will not have any difficulty using the product in the MicroStation
environment.
In the MicroStation environment, you will have access to the full range of function-
ality available in the MicroStation design and drafting environment. The standard
environment is extended and enhanced by using MicroStation’s MDL (MicroStation
Development Language) client layer that lets you create, view, and edit the native
Bentley HAMMER V8i network model while in MicroStation.
MDL is a complete development environment that lets applications take full advan-
tage of the power of MicroStation and MicroStation-based vertical applications. MDL
can be used to develop simple utilities, customized commands or sophisticated
commercial applications for vertical markets.
• Lay out network links and structures in fully-scaled environment in the same
design and drafting environment that you use to develop your engineering plans.
• Have access to any other third party applications that you currently use, along
with any custom MDL applications.
• Use native MicroStation insertion snaps to precisely position Bentley HAMMER
V8i elements with respect to other entities in the MicroStation drawing.
• Use native MicroStation commands on Bentley HAMMER V8i model entities
with automatic update and synchronization with the model database.
• Control destination levels for model elements and associated label text and anno-
tation, giving you control over styles, line types, and visibility of model elements.
• Drawing File (.DGN)—The MicroStation drawing file contains the elements that
define the model, in addition to the planimetric base drawing information that
serves as the model background.
• Model File (.wtg)—The model file contains model data specific to Bentley
HAMMER, including project option settings, color-coding and annotation
settings, etc. Note that the MicroStation .dgn that is associated with a particular
model may not necessarily have the same filename as the model’s .wtg file.
• Database File (.sqlite)—The model database file that contains all of the input and
output data for the model. Note that the MicroStation .dgn that is associated with a
particular model may not have the same filename as the model’s .sqlite file.
When you start Bentley Bentley HAMMER for MicroStation, you will see the dialog
below. You must identify a new or existing MicroStation dgn drawing file to be asso-
ciated with the model before you can open a Bentley Bentley HAMMER model.
Either browse to an existing dgn file or create a new file using the new button on the
top toolbar. Once you have selected a file, you can pick the Open button.
Once a drawing is open, you can use the Bentley HAMMER Project drop down menu
to create a new Bentley HAMMER project, attach an existing project, or import a
project.
There are a number of options for creating a model in the MicroStation client:
If you want to trace the model on top of a dgn or other background file, you would
load the background into the dgn first by using either File/Reference or File/Raster
Manager Then you start laying out elements over top of the background.
In the MicroStation environment, our products provide a set of extended options and
functionality beyond those available in stand-alone environment. This additional func-
tionality provides enhanced control over general application settings and options and
extends the command set, giving you control over the display of model elements
within MicroStation.
It is important to be aware that there are two lists of menu items when running Bentley
HAMMER in MicroStation:
• Full element symbol editing functionality is available through the use of custom
cells. All elements and graphical decorations (flow arrows, control indicators,
etc.) are contained within a Bentley HAMMER .cel file.To do this open the .cel
file that's in the WTRG install directory in MSTN (at the first, Open dialog), and
then using the File>models you can select each of the WTRG symbols and change
them using normal MSTN commands. Then when you create a new dgn and start
laying out the WTRG elements, the new symbols will be used.
• The more powerful Selection tools are in the MicroStation select menu.
• Element symbols like junction are circles that are not filled. The user must pick
the edge of the circle, not inside the circle to pick a junction.
• The MicroStation background color is found in Workspace>Preferences>View
Options. It can also be changed in Settings>Color Tab.
• Zooming and panning are controlled by the MicroStation zooming and panning
tools.
• Depending on how MicroStation was set up, a single right click will simply clear
the last command, while holding down the right mouse button will bring up the
context sensitive menu. There are commands in that menu (e.g. rotate) that are
not available in Bentley HAMMER stand alone.
You can control the appearance and destination of all model elements using the
Element Levels command under the View menu. For example, you can assign a
specific level for all outlets, as well as assign the label and annotation text style to be
applied. Element attributes are either defined by the MicroStation Level Manager,
using by-level in the attributes toolbox, or by the active attributes. You can change the
element attributes using the change element attributes tool, located in the change
attributes toolbox, located on the MicroStation Main menu.
Bentley HAMMER toolbars are turned off by default when you start. They are found
under View>Toolbars and they can be turned on. By default they will be floating tool-
bars but they can be docked wherever the user chooses.
Note: Any MicroStation tool that deletes the target element (such as
Trim and IntelliTrim) will also remove the connection of that
element to Bentley HAMMER. After the Bentley HAMMER
connection is removed, the element is no longer a valid wtg link
element and will not show properties on the property grid. The
element does not have properties because it is not part of the
WTRG model. It's as if the user just used MSTN tools to layout a
rectangle in a WTRG dgn. It's just a dgn drawing element but has
nothing to do with the water model.
When using Bentley HAMMER V8i in the MicroStation environment, there are three
files that fundamentally define a Bentley HAMMER V8i model project:
• Drawing File (.DGN)—The MicroStation drawing file contains the elements that
define the model, in addition to the planimetric base drawing information that
serves as the model background.
• Model File (.wtg)—The model file contains model data specific to Bentley
HAMMER, including project option settings, color-coding and annotation
settings, etc. Note that the MicroStation .dgn that is associated with a particular
model may not have the same filename as the model’s .wtg file.
• Database File (.sqlite)—The model database file that contains all of the input and
output data for the model. Note that the MicroStation .dgn that is associated with a
particular model may not have the same filename as the model’s .sqlite file.
To send the model to another user, all three files are required.
It is important to understand that archiving the drawing file is not sufficient to repro-
duce the model. You must also preserve the associated .wtg and .sqlite files.
There are two File>Save As commands in MicroStation. SaveAs in MSTN is for the
dgn, and allows the user to, for example, change the dgn filename that they're working
with .wtg model filenames in this case stay the same. The Project's SaveAs allows the
user to change the filename of the .wtg and .sqlite files, but it doesn't change the dgn's
filename. Keep in mind that the dgn and model filenames don't have any direct corre-
lation. They can be named the same, but they don't have to be.
• Element Properties
• Element Levels Dialog
• Text Styles
Element Properties
When working in the MicroStation environment, this feature will display a dialog box
containing fields for the currently selected element’s associated properties. To modify
an attribute, click each associated grid cell. To open the property grid, pick
View>Properties from the Bentley HAMMER menu.
To control display of elements in the selected levels, use the Level Display dialog box.
To access the Level Display dialog, click the Settings menu and select the Level >
Display command.
To move Bentley HAMMER elements to levels other than the default (Active) level,
select the elements and use the Change Element Attribute command.
If you want to freeze elements in levels, select Global Freeze from the View Display
menu in the Level Display dialog.
You can create new Levels in the Level Manager. To access the Level Manager, click
the Settings menu and select the Level > Manager command.
To control the display of levels, use level filters. Within MicroStation, you can also
create, edit, and save layer filters to DWG files in the Level Manager. To access the
Level Manager, click the Settings menu and select the Level > Manager command.
Layer filters are loaded when a DWG file is opened, and changes are written back
when the file is saved. To create and edit Level Filters,
To assign a level, use the pulldown menu next to an element type (under the Element
Level column heading) to choose the desired level for that element. You can choose a
seperate level for each element and for each element’s associated annotation.
You cannot create new levels from this dialog; to create new levels use the MicroSta-
tion Level Manager. To access the Level Manager, click the Settings menu and select
the Level > Manager command.
Text Styles
You can view, edit, and create Text Style settings in the MicroStation environment by
clicking the MicroStation Element menu and selecting the Text Styles command to
open the Text Styles dialog.
To open the View Associations dialog, click View > View Assocations.
MicroStation has support for opening multiple View windows on the current design
drawing. By default, each MicroStation View reflects the current Scenario and the
current Symbology Definition. View Associations allows you to control the Scenario
and Symbology Definition to display in each MicroStation View.
The View Associations window allows you to see (and change) the Symbology Defi-
nition and Scenario associated with each MicroStation View.
Located along the top of the window are two toolbars buttons for controlling the view
association mode:
The first toolbar button controls the Symbology Definition mode, and the second
controls the Scenario mode.
Synchronized mode: In Synchronized mode, all Views reflect the active Scenario
and active Symbology-Definition. If you change the active Scenario, all views will
update to reflect that change; similar for a change to the active Symbology Definition.
A small padlock symbol ( ) will appear on the icon to indicate if Synchronized mode is
active.
Note: The default setting for View Associations (for Scenarios and
Symbology-Definitions) is "Synchronized" mode. Scenarios and
Symbology definition modes can each be controlled separately.
For convenience, these same mode toolbar buttons are available at the top of the
Scenario management Window and the Element Symbology management window.
Changes to current Scenario and current Symbology Definition will be applied to the
active MicroStation View (for synchronized mode, changes you make will be
reflected in all Views).
See also:
Scenarios Manager
• Edit Elements
• Deleting Elements
• Modifying Elements
Edit Elements
Elements can be edited in one of two ways in the MicroStation environment:
Properties Editor Dialog: To access the Properties Editor dialog, click the Bentley
HAMMER View menu and select the Properties command. For more information
about the Properties Editor dialog, see Property Editor.
FlexTables: To access the FlexTables dialog, click the Bentley HAMMER View
menu and select the FlexTables command. For more information about the FlexTables
dialog, see Viewing and Editing Data in FlexTables.
Deleting Elements
In the MicroStation environment, you can delete elements by clicking on them using
the Delete Element tool, or by highlighting the element to be deleted and clicking your
keyboard’s Delete key.
Note: Any MicroStation tool that deletes the target element (such as
Trim and IntelliTrim) will also remove the connection of that
element to Bentley HAMMER. After the Bentley HAMMER
connection is removed, the element is no longer a valid wtg link
and will not show properties on the property grid.
Modifying Elements
In the MicroStation environment, these commands are selected from the shift-right-
click shortcut menu (hold down the Ctrl key while right-clicking). They are used for
scaling and rotating model entities.
Context Menu
Certain commands can be activated by using the right-click context menu. To access
the context menu, right-click and hold down the mouse button until the menu appears.
This means that you can perform standard MicroStation commands (see MicroStation
Commands on page 3-117) 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,
which means that nodes and pipes will remain connected even if individual elements
are moved. 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 MDL technology ensures the database will be adjusted and maintained during
Undo and Redo transactions.
MicroStation Commands
When running in the MicroStation environment, Bentley HAMMER makes use of all
the advantages that MicroStation has, such as plotting capabilities and snap features.
Additionally, MicroStation commands can be used as you would with any design
project. For example, our products’ elements and annotation can be manipulated using
common MicroStation commands. To get at the MicroStation command line (called
the "Key-In Browser, the user can pick Help>Key-In Browser or hit the Enter key.
Moving Elements
When using the MicroStation environment, the MicroStation commands Move, Scale,
Rotate, Mirror, and Array (after right clicking on the label ) can be used to move
elements.
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 MicroStation 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 MicroStation prompt, and the label
will be moved without the element.
Snap Menu
When using the MicroStation environment, you can enable the Snaps button bar by
clicking the Settings menu and selecting the Snaps > Button Bar command. See the
MicroStation documentation for more information about using snaps.
Background Files
Adding MicroStation Background images is different than in stand alone. You need to
go to File>References>Tools>Attach. Background files to be attached with this
command include .dgn, .dwg and .dxf files. Raster files should be attached using
File>Raster Manager. GIS files (e.g. shapefiles) may need to be converted to the
appropriate CAD or raster formats using GeoGraphics to be used as background. See
MicroStation for details about the steps involved in creating these backgrounds.
Annotation Display
Some fonts do not correctly display the full range of characters used by Bentley
HAMMER’s annotation feature because of a limited character set. If you are having
problems with certain characters displaying improperly or not at all, try using another
font.
Multiple models
You can have two or more Bentley HAMMER models open in MicroStation.
However, you need to open them in MicroStation, not in wtg. In MicroStation choose
File > Open and select the .dgn file.
In a 2-d source model the contours are created in their own 3-d model, which is refer-
enced to the default model. In order to manipulate the contours you'll need to activate
the respective model, then make any modifications, then switch back. On the same
token, in order to delete the contours you need to delete the model that they're actually
a part of.
In a 3-d source model the contours are added directly to the model, and all manipula-
tions can be done directly in the main drawing.
Working in AutoCAD
The AutoCAD environment lets you create and model your network directly within
your primary drafting environment. This gives you access to all of AutoCAD’s
drafting and presentation tools, while still enabling you to perform Bentley
HAMMER V8i modeling tasks like editing, solving, and data management. This rela-
tionship between Bentley HAMMER V8i and AutoCAD enables extremely detailed
and accurate 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.
Bentley HAMMER V8i features support for AutoCAD integration. You can determine
if you have purchased AutoCAD functionality for your license of Bentley HAMMER
V8i 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 Bentley HAMMER
V8i application in both AutoCAD and stand-alone environment.
The AutoCAD functionality has been implemented in a way that is the same as the
Bentley HAMMER base product. Once you become familiar with the stand-alone
environment, you will not have any difficulty using the product in the AutoCAD envi-
ronment.
HKEY_LOCAL_MACHINE\SOFTWARE\Bentley\ProjectWise
iDesktop Integration\XX.XX\Configuration\AutoCAD"
Value: 'On'
To access the Registry Editor, click Start > Run, then type
regedit. Using the Registry Editor incorrectly can cause
serious, system-wide problems that may require you to re-
install Windows to correct them. Always make a backup
copy of the system registry before modifying it.
In the AutoCAD environment, you will have access to the full range of functionality
available in the AutoCAD design and drafting environment. The standard environ-
ment is extended and enhanced by an AutoCAD ObjectARX Bentley HAMMER V8i
client layer that lets you create, view, and edit the native Bentley HAMMER V8i
network model while in AutoCAD.
If you install AutoCAD after you install Bentley HAMMER, you must manually inte-
grate the two by selecting Start > All Programs > Bentley >Bentley HAMMER >
Integrate Bentley HAMMER with ArcGIS-AutoCAD-MicroStation. The integra-
tion utility runs automatically. You can then run Bentley HAMMER in the AutoCAD
environment.
The Integrate Bentley HAMMER with AutoCAD-ArcGIS command can also be used
to fix problems with the AutoCAD configuration file. For example, if you have Civil-
Storm installed on the same system as Bentley HAMMER V8i and you uninstall or
reinstall CivilStorm, the AutoCAD configuration file becomes unusable. To fix this
problem, you can delete the configuration file then run the Integrate Bentley
HAMMER with AutoCAD-ArcGIS command.
Menus
In the AutoCAD environment, in addition to AutoCAD’s menus, the following
Bentley HAMMER V8i menus are available:
• Project
• Edit
• Analysis
• Components
• View
• Tools
• Report
• Help
The Bentley HAMMER V8i menu commands work the same way in AutoCAD and
the Stand-Alone Editor. For complete descriptions of Bentley HAMMER V8i menu
commands, see Menus.
Many commands are available from the right-click context menu. To access the menu,
first highlight an element in the drawing pane, then right-click it to open the menu.
Drawing Setup
When working in the AutoCAD environment, you may work with our products in
many different AutoCAD scales and settings. However, Bentley HAMMER elements
can only be created and edited in model space.
Symbol Visibility
In the AutoCAD environment, you can control display of element labels using the
check box in the Drawing Options dialog box.
• 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 (.wtg)—The native Bentley HAMMER V8i model database file that
contains all the element properties, along with other important model data.
Bentley HAMMER V8i .etc files can be loaded and run using the Stand-Alone
Editor. These files may be copied and sent to other Bentley HAMMER V8i users
who are interested in running your project. This is the most important file for the
Bentley HAMMER V8i model.
• wtg Exchange Database (.wtg.sqlite)—The intermediate format for wtg project
files. When you import a wtg file into Bentley HAMMER V8i, you first export it
from wtg into this format, then import the .wtg.sqlite file into Bentley HAMMER
V8i. Note that this works the same in the Stand-Alone Editor and in AutoCAD.
The three files 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 .etc and wtg.sqlite file.
Since the .etc file can be run and modified separately from the .dwg file using the
Stand-Alone Editor, it is quite possible for the two files to get out of sync. Should you
ever modify the model in the Stand-Alone Editor and then later load the AutoCAD
.dwg file, the Bentley HAMMER V8i program compares file dates, and automatically
use the built-in AutoCAD synchronization routine.
Click one of the following links to learn more about AutoCAD project files and
Bentley HAMMER V8i:
Drawing Synchronization
Whenever you open a Bentley HAMMER V8i-based drawing file in AutoCAD, the
Bentley HAMMER V8i model server will start. The first thing that the application
will do is load the associated Bentley HAMMER V8i model (.wtg) file. If the time
stamps of the drawing and model file are different, Bentley HAMMER V8i will auto-
matically perform a synchronization. This protects against corruption that might
otherwise occur from separately editing the Bentley HAMMER V8i model file in
stand-alone environment, or editing proxy elements at an AutoCAD station where the
Bentley HAMMER V8i application is not loaded.
• First, Bentley HAMMER V8i will compare the drawing model elements with
those in the server model. Any differences will be listed. Bentley HAMMER V8i
enforces network topological consistency between the server and the drawing
state. If model elements have been deleted or added in the .wtg file during a
Bentley HAMMER session, or if proxy elements have been deleted, Bentley
HAMMER V8i will force the drawing to be consistent with the native database by
restoring or removing any missing or excess drawing custom entities.
• After network topology has been synchronized, Bentley HAMMER V8i will
compare other model and drawing states such as location, labels, and flow direc-
tions.
You can run the Synchronization check at any time using the following command:
HAMRSynchronize
This section describes how to work with elements using AutoCAD commands,
including:
• Moving Elements
• Moving Element Labels
• Snap Menu
• Polygon Element Visibility
• Undo/Redo
• Contour Labeling
This means that you can perform standard AutoCAD commands (see Working with
Elements Using AutoCAD Commands) as you normally would, and the model data-
base 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.
When running in the AutoCAD environment, Bentley Systems’ products make use of
all the advantages that AutoCAD has, such as plotting capabilities and snap features.
Additionally, AutoCAD commands can be used as you would with any design project.
For example, our products’ elements and annotation can be manipulated using
common AutoCAD commands.
Explode Elements
In the AutoCAD environment, running the AutoCAD Explode command will trans-
form all custom entities into equivalent AutoCAD native entities. When a 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 Bentley Systems Product license, since a fully exploded drawing
will not be comprised of any ObjectARX proxy objects.
Moving Elements
When using the AutoCAD environment, the AutoCAD commands Move, Scale,
Rotate, Mirror, and Array can be used to move elements.
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.
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.
Snap Menu
When using the AutoCAD environment, 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.
To access the AutoCAD Draw Order toolbar, right-click on the AutoCAD toolbar and
click the Draw Order entry in the list of available menus.
By default, polygon elements are filled. You can make them unfilled (just borders
visible) using the AutoCAD FILL command. After turning fill environment OFF, you
must REGEN to redraw the polygons.
Undo/Redo
The menu-based undo and redo commands operate exclusively on Bentley HAMMER
V8i elements by invoking the commands directly on the model server. The main
advantage of using the specialized command is that you will have unlimited undo and
redo levels. This is an important difference, since in layout or editing it is quite useful
to be able to safely undo and redo an arbitrary number of transactions.
Whenever you use a native AutoCAD undo, the server model will be notified when
any Bentley HAMMER V8i entities are affected by the operation. Bentley HAMMER
V8i will then synchronize 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 transac-
tions held by the server, Bentley HAMMER V8i will delete the command history. In
this case, the model will synchronize the drawing and server models.
Note: If you use the native AutoCAD undo, you are limited to a single
redo level. The Bentley HAMMER V8i undo/redo is faster than the
native AutoCAD undo/redo. If you are rolling back Bentley
HAMMER V8i model edits, it is recommended that you use the
menu-based Bentley HAMMER V8i undo/redo.
Contour Labeling
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.
Note: Contours are only views unless they are exported to to native
format, and only native format contours can be edited.
Working in ArcGIS
Bentley HAMMER V8i provides three environments in which to work: Bentley
HAMMER V8i Stand-Alone Mode, AutoCAD Integrated Mode, and ArcMap Inte-
grated Mode. Each mode provides access to differing functionality—certain capabili-
ties that are available within Bentley HAMMER V8i Stand-Alone mode may not be
available when working in ArcMap Integrated mode, and vice-versa. In addition, you
can use ArcCatalog to perform actions on any Bentley HAMMER V8i database. Some
of the advantages of working in GIS mode include:
• Full functionality from within the GIS itself, without the need for data import,
export, or transformation
• The ability to view and edit multiple scenarios in the same geodatabase
• Minimizes data replication
• GIS custom querying capabilities
• Lets you build models from scratch using practically any existing data source
• Utilize the powerful reporting and presentation capabilities of GIS
A firm grasp of GIS basics will give you a clearer understanding of how Bentley
HAMMER V8i interacts with GIS software. Click one the following links to learn
more:
• ArcGIS Integration
• ArcGIS Applications
ArcGIS Integration
Bentley HAMMER V8i features full integration with ESRI’s ArcGIS software,
including ArcView, ArcEdit, and ArcInfo. The following is a description of the func-
tionality available with each of these packages:
ArcView can edit shapefiles and personal geodatabases that contain simple
features such as points, lines, polygons, and static annotation. Rules and relation-
ships can not be edited with ArcView.
• ArcEdit—ArcEdit provides all of the capabilities available with ArcView in addi-
tion to the following:
– Coverage and geodatabase editing
If you install ArcGIS after you install Bentley HAMMER V8i, you must manually
integrate the two by selecting Run > All Programs > Bentley >Bentley HAMMER >
Integrate Bentley HAMMER V8i with AutoCAD-ArcGIS. The integration utility runs
automatically. You can then run Bentley HAMMER V8i in ArcGIS mode.
Under certain circumstances, you may wish to unregister Bentley HAMMER V8i
from ArcGIS. These circumstances can include the following:
• To avoid using a license of Bentley HAMMER V8i when you are just using
ArcMap for other reasons.
• If Bentley HAMMER V8i and another 3rd party application are in conflict with
one another.
ArcGIS Applications
ArcView, ArcEdit, and ArcInfo share a common set of applications, each suited to a
different aspect of GIS data management and map presentation. These applications
include ArcCatalog and ArcMap.
You can use ArcCatalog to manage spatial data, database design, and to view and
record metadata associated with your Bentley HAMMER V8i databases.
The Bentley HAMMER V8i ArcMap client refers to the environment in which
Bentley HAMMER V8i is run. As the ArcMap client, Bentley HAMMER V8i runs
within ESRI’s ArcMap interface, allowing the full functionality of both programs to
be utilized simultaneously.
• A Bentley HAMMER V8i .sqlite file—this file contains all modeling data, and
includes everything needed to perform a calculation.
• A Bentley HAMMER V8i .wtg file—this file contains data such as annotation and
color-coding definitions.
• A geodatabase association—a project must be linked to a new or existing geoda-
tabase.
Note: You must be in an edit session (Click the ArcMap Editor button
and select the Start Editing command) to access the various
Bentley HAMMER V8i editors (dialogs accessed with an ellipsis
(...) button) through the Property Editor, Alternatives Editor, or
FlexTables, even if you simply wish to view input data and do not
intend to make any changes.
There are a number of options for creating a model in the ArcMap client:
• Create a model from scratch—You can create a model in ArcMap. You’ll first
need to create a new project and attach it to a new or existing geodatabase. See
Managing Projects In ArcMap and Attach Geodatabase Dialog for further details.
You can then lay out your network using the Bentley HAMMER V8i toolbar. See
Laying out a Model in the ArcMap Client.
• Open a previously created Bentley HAMMER V8i project—You can open a
previously created Bentley HAMMER V8i model. If the model was created in the
Stand Alone version, you must attach a new or existing geodatabase to the project.
See Managing Projects In ArcMap and Attach Geodatabase Dialog for further
details.
• Import a model that was created in another modeling application—You can
import a model that was created in EPANET. See Importing Data From Other
Models for further details.
The Project Manager lists all of the projects that have been opened during the ArcMap
session. The following controls are available:
1. From the Project Manager, click the Add button and select the Add New Project
command. Or, from the Bentley HAMMER V8i menu, click the Project menu and
select the Add New Project command.
2. In the Save As dialog that opens, specify a name and directory location for the
new project, then click the Save button.
3. In the Attach Geodatabase dialog that opens, click the Attach Geodatabase button.
Browse to an existing geodatabase to import the new project into, or create a new
geodatabase by entering a name for the geodatabase and specifying a directory.
Click the Save button.
4. Enter a dataset name.
5. You can assign a spatial reference to the project by clicking the Change button,
then specifying spatial reference data in the Spatial Reference Properties dialog
that opens.
6. In the Attach Geodatabase dialog, click the OK button to create the new project.
1. From the Project Manager, click the Add button and select the Add Existing
Project command. Or, from the Bentley HAMMER V8i menu, click the Project
menu and select the Add Existing Project command.
2. In the Open dialog that opens, browse to the location of the project, highlight it,
then click the Open button.
3. If the project is not associated with a geodatabase, the Attach Geodatabase dialog
opens, allowing you to specify a new or existing geodatabase to be connected to
the project. Continue to Step 4. If the project has already been associated with a
geodatabase, the Attach Geodatabase will not open, and the project will be added.
4. In the Attach Geodatabase dialog, click the Attach Geodatabase button. Browse to
an existing geodatabase to import the new project into, or create a new geodata-
base by entering a name for the geodatabase and specifying a directory. Click the
Save button.
• Geodatabase Field—This field displays the path and file name of the geodata-
base that was selected to be associated with the project.
• Geodatabase Button—This button opens an Import To or Create New Geodata-
base dialog, where you specify an existing geodatabase or enter a name and direc-
tory for a new one.
• Dataset Name—Allows you to enter a name for the dataset.
• Spatial Reference Pane—Displays the spatial reference currently assigned to the
geodatabase.
• Spatial Data Coordinates Unit—Choose the unit system that are used by the
spatial data coordinates.
• Change Button—Opens the Spatial Reference Properties dialog, allowing you to
change the spatial reference for the geodatabase.
You must be in an edit session (Click the ArcMap Editor button and select the Start
Editing command) to lay out elements or to enter element data in ArcMap. You must
then Save the Edits (Click the ArcMap Editor button and select the Save Edits
command) when you are done editing. The tools in the toolbar will be inactive when
you are not in an edit session.
Using GeoTables
A GeoTable is a flexible table definition provided by Bentley HAMMER for use in the
ArcMap environment. Initially, Bentley HAMMER creates a geodatabase and a
representative set of feature classes for each domain element type (i.e. Junction, Pipe,
etc.) These feature class definitions are quite simple, consisting of geometry, the
Bentley HAMMER ID and the Bentley HAMMER feature type. These feature classes
are then linked to the GeoTable definition through the use of an ArcMap Join. This
allows for any Bentley HAMMER data defined in the GeoTable definition, to be used
natively by any ArcMap function. To view this data in a tabular manner, right-click on
a Bentley HAMMER feature class in the ArcMap table of contents and Open Attribute
Table. You will then see the original feature class fields are now joined to the fields
defined in the GeoTable.
The data underneath the GeoTable definition is dynamic. That is, it will change based
upon the current scenario and timestep. By managing our data in this context, Bentley
HAMMER provides ultimate flexibility for using the viewing and rendering tools
provided by the ArcMap environment.
Note that the GeoTable settings are not project specific, but are stored on your local
machine - any changes you make will carry across all projects. This means that if you
have ArcMap display settings based on attributes contained in customized GeoTables,
you will have to copy the AttributeFlexTables.xml file (located in the C:\Documents
and Settings\All Users\Application Data\Haestad\Bentley\HAMMER\1 folder) for
these display settings to work on another computer.
To Edit a GeoTable
1. In the FlexTable Manager list pane, expand the GeoTables node if necessary.
2. Double-click the GeoTable for the desired element type.
3. By default, only the ID, Label, and Notes data is included in the GeoTable. To add
attributes, click the Edit button.
4. In the Table setup dialog that opens, move attributes from the Available Columns
list to the Selected columns list to include them in the GeoTable. This can be
accomplished by double-clicking an attribute in the list, or by highlighting
attributes and using the arrow buttons (a single arrow button moves the high-
lighted attribute to the other list; a double arrow moves all of them).
5. When all of the desired attributes have been moved to the selected columns, click
OK.
When the Bentley HAMMER Renderer is activated, inactive topology (that is,
Bentley HAMMER elements whose Is Active? property is set to false) will display
differently and flow arrows will become visible in the map (if applicable). The inac-
tive topology will either turn to the inactive color, or will become invisible, depending
on your settings in the options dialog. Flow arrows will appear on the pipes if the
model has results and the Show Flow Arrows menu item is activated. See Show Flow
Arrows (ArcGIS) for more details.
When working with Bentley HAMMER projects with a large number of elements,
there can be a performance impact when the Bentley HAMMER Renderer is acti-
vated.
When Show Flow Arrows is activated, it allows the Bentley HAMMER Renderer to
draw flow arrows on pipe elements to indicate the direction of flow in a project with
results.
The Show Flow Arrows menu item only causes flow arrows to be drawn if the Bentley
HAMMER Renderer is activated. See Bentley HAMMER Renderer for more details.
When working with Bentley HAMMER projects with a large number of elements,
there can be a performance impact when the Show Flow Arrows menu item is acti-
vated.
Layer Symbology
This dialog allows you to initialize the range. The Layer Symbology dialog is
accessed by clicking HAMMER > Tools > Layer Symbology.
By default, elements that fall outside of the defined range will not be displayed.
Choose the "Include Undefined?" option to display elements that fall outside the
defined range.
Since the Bentley HAMMER datastore is an open database format, multiple applica-
tion clients can open, view, and edit a Bentley HAMMER project simultaneously. This
means that a single project can be open in Bentley HAMMER Stand-Alone, ArcMap,
and ArcCatalog all at the same time. Each client is just another “view” on the same
data, contained within the same files.
Bentley HAMMER will automatically update the GEMS datastore to reflect changes
made to a project in ArcCatalog or ArcMap. To synchronize the datastore and the
geodatabase manually, click the File\Synchronize…GEMS Project.
Rollbacks
Bentley HAMMER automatically saves a backup copy of the GEMS project database
whenever a project is opened. It will update this backup every time you save the
project. In Stand-Alone mode, some session states are not saved in the GEMS data-
base. Examples include color coding setup and label locations. These data are saved
separately from the GEMS project database. Therefore, if a user terminates a session
before saving, then all edits made subsequent to the last save will be discarded. The
restoration of the automatic project backup is termed a rollback.
If you want the rollback to be performed, close ArcMap/ArcCatalog and then click
Yes in the Multiple Locks dialog box. Bentley HAMMER will then ignore all
changes, and revert to the original saved data.
If you elect not to perform the rollback, Bentley HAMMER automatically synchro-
nizes to reflect the current project database state, the very next time it is opened and no
project data is lost. To close Bentley HAMMER without performing a rollback,
simply click No in the Multiple Locks dialog box. Bentley HAMMER will then exit
without saving changes. Note that the changes made outside of Bentley HAMMER
will still be applied to the geodatabase, and Bentley HAMMER will synchronize the
model with the geodatabase when the project is again opened inside Bentley
HAMMER. Therefore, even though the changes were not saved inside Bentley
HAMMER, they will still be applied to the GEMS datastore the next time the
project is opened.
Project data is never discarded by Bentley HAMMER without first giving you an
opportunity to save.
1. Click Open
2. Browse to it in the Open dialog and then click Open.
Note: When creating new elements, make sure that the Create New
Feature option is selected in the Task pulldown menu, and that
the correct layer is selected in the Target pulldown menu.
If you already have an .mxd file for the model, click the Open button, browse to it in
the Open dialog, then click Open.
In the Add Data dialog that opens, browse to your model’s .sqlite file. Double click it
and select the feature datasets, then click the Add button to add them to the map.
To start adding elements to the model, click the Editor button and select the Start
Editing command from the submenu that opens.
Click the Start Node for the new pipe, then double-click the Stop Node to place the
pipe.
When you are finished laying out elements and editing their associated data, click the
Editor button and select Stop Editing from the submenu that opens. A dialog will open
with the message “Do you want to save your edits?”. Click the Yes button to commit
the edits to the database, No to discard all of the edits performed during the current
editing session, and Cancel to continue editing.
Note: When creating new elements, make sure that the Create New
Feature option is selected in the Task pulldown menu, and that
the correct layer is selected in the Target pulldown menu.
Because ArcGIS lacks a Save As command and because changing the name of your
Bentley HAMMER project files will break the connection between the geodatabase
and the model files, creating backups or copies of your project requires the following
procedure:
1. Make a copy of the wtg, wtg.sqlite, mdb (geodatabase), and dwh (if present).
2. Open the wtg file in a text editor, look for the “DrawingOptions” tag, and change
the “ConnectionString” attribute to point to the new copy of the geodatabase.
(e.g. ConnectionString=”.\GeoDB.sqlite”).
3. Open the geodatabase in MS Access, look for the table named “WaterGEM-
SProjectMap”, and edit the value in the “ProjectPath” column to point to the new
copy of the wtg file. (e.g. “.\Model.wtg”).
Bentley HAMMER supports a limited export of model features and results to Google
Earth through the Microstation V8i and ArcGIS 9.3 platforms. The benefits of this
functionality include:
• Share data and information with non Bentley HAMMER users in a portable open
format,
Steps for using the export feature in each platform are described below.
In general, the process involves creation of a Google Earth format file (called a KML
- Keyhole Markup Language - file). This file can be opened in Google Earth. Google
Earth however is not a "platform" as ArcGIS is because it is not possible to edit or run
the model in Google Earth. It is simply for display.
Once the KML file has been generated in Bentley HAMMER it can be viewed in
Google Earth by opening Google Earth (version 3 or later) and selecting File > Open
and selecting the KML file that was created.
The layers you open in Google Earth will appear as "Temporary Places" in the Places
manager. These can be checked or unchecked to turn the layers on or off.
For the purpose of describing the export process these steps will assume that the
model you wish to export has been defined (laid out) in terms of a well-known spatial
reference (coordinate system). The model if opened in the Bentley HAMMER stand
alone interface is in scaled drawing mode (Tools --> Options --> Drawing Tab -->
Drawing Mode: Scaled).
Q1: Do you already have a *.dgn (Microstation drawing file)? If yes go to Q2, else
follow steps 1 to 6.
6. After the model has been imported save the *.dgn. in Microstation, File --> Save.
Q2: Do you have a spatial reference defined in the dgn? If yes go to Q3, else
follow steps 1 and 2 below.
Q3: Have you configured the Google Earth Export settings? If yes go to step Q4,
else follow steps 1 and 2 below.
1. In Microstation choose Tools --> Geographic --> Google Earth Settings. Ensure
that the Google Earth Version is set to version 3.
2. If you have Google Earth installed on your machine you may find it convenient
for the export to open the exported Google Earth file directly. If so, ensure that the
"Open File After Export" setting is checked. If you do not have Google Earth
installed uncheck this option. Please consult the Microstation documentation for
the function of other settings. In most cases the defaults should suffice.
Q4: Have you set up your model as you wish it to be displayed in Google Earth?
If yes go to "Exporting to Google Earth from Microstation", else follow step 1
below.
1. Use the Bentley HAMMER Element Symbology to define the color coding and
annotation that you wish to display in Google Earth.
For the purpose of describing the export process these steps will assume that the
model you wish to export has been defined (laid out) in terms of a well-known spatial
reference (coordinate system). The model if opened in the Bentley HAMMER stand
alone interface is in scaled drawing mode (Tools --> Options --> Drawing Tab -->
Drawing Mode: Scaled).
Q1: Do you already have a *.mxd (ArcMap map file)? If yes go to Q2, else follow
steps 1 to 10.
9. Once the model add process is complete save the map file (*.mxd).
10. Go to Q3.
Q2 Do you have a spatial reference defined in the geodatabase? If yes go to Q3,
else follow steps 1 to 9 below.
1. Prior to exporting to Google Earth you should configure the layers that you wish
to export. Many of the layer properties supported in ArcMap presentation can be
used with Google Earth export. Please consult the ArcGIS documentation for
detailed instructions on layer properties. Some basic examples are provided.
2. Right click on a layer, for example the Pipes layer, and choose Properties.
3. Select the Fields tab.
4. Change the Primary Display Field to Label. (If this field is not available, you need
to make sure the Bentley HAMMER project is open. See details below.)
5. Click on the HTML Popup tab.
6. Check "Show content for this layer using the HTML Popup tool."
7. Click "Verify" to see the fields. (These can be customized by editing your Bentley
HAMMER GeoTables). This table will be viewable inside Google Earth after
exporting.
8. Repeat steps 1 through 6 above for each layer you wish to export.
Note: You can export all layers at once using the Map to KML tool.
Google Earth images generally do not possess the accuracy of engineering drawings.
However, in some cases, a user can create a background image (as a jpg or bmp file)
and draw a model on that image. In general this model will not be to scale and the user
must then enter pipe lengths using user defined lengths.
There is an approach that can be used to draw a roughly scaled model in the stand
alone platform without the need to employ user define lengths which can be fairly
time consuming. The steps are given below:
1. Open the Google Earth image and zoom to the extents that will be used for the
model. Make certain that the view is vertical straight down (not tilted). Using
Tools > Ruler, draw a straight line with a known length (in an inconspicuous part
of the image). Usually a 1000 ft is a good length as shown below:
2. Save the image using File > Save > Save Image and assign the image a file name.
3. Open Bentley HAMMER and create a new project.
4. Import the file as a background using View > Background > New > New File.
Browse to the image file and pick Open.
5. You will see the default image properties for this drawing. Write down the values
in the first two columns of the lower pane and Select OK.
6. The background file will open in the model with the scale line showing. Zoom to
that scaled line. Draw a pipe as close the exact length as the scale line as possible.
Look at the Length (scaled) property of that line. (In this example it is 391.61 ft.)
This means that the background needs to be scaled by a factor of 1000/391.61 =
2.553.
7. Close the background image by selecting View > Background > Delete and Yes.
Delete the pipe and any end nodes.
8. Reopen the background image using View > Background > New > New File. This
time do not accept the default scale. Instead multiply the values in the two right-
most (image) columns by the scale factor determined in step 6 to obtain the values
in the two leftmost columns (drawing). For example, the scale factor was (2.553)
to the Y value for the top left corner becomes 822 x 2.553 = 2099. Fill in all the
image values.
9. The image will appear at the correct (approximate) scale. This can be checked by
drawing a pipe on top of the scale line in the background image. The Length
(scaled) of the pipe should be nearly the same as the length of the scale line.
Delete than line and any nodes at the end points.
10. The model is now roughly scaled. Remember that the lengths determined this way
are not survey accuracy and are as accurate as the care involved in measuring
lengths. They may be off by a few percent which may be acceptable for some
applications.
Manipulating Elements
Using Prototypes
Zones
Engineering Libraries
Hyperlinks
Using Queries
Starting a Project
When you first start Bentley HAMMER V8i, the Welcome dialog box opens.
Quick Start Lessons Opens the online help to the Quick Start Lessons
Overview topic.
Open Existing Project Opens an existing project. When you click this
button, a Windows browse dialog box opens
allowing you to browse to the project to be
opened. If you have ProjectWise installed and
integrated with Bentley HAMMER, you are
prompted to log into a ProjectWise datasource if
you are not already logged in.
Show This Dialog at When selected, the Welcome dialog box opens
Start whenever you start Bentley HAMMER V8i. Turn
off this box if you do not want the Welcome dialog
box to open whenever you start Bentley HAMMER
V8i.
Click the Help menu and select the Welcome Dialog command.
In the Welcome dialog, turn off the box labeled Show This Dialog at Start.
In the Welcome dialog, turn on the box labeled Show This Dialog at Start.
All data for a model are stored in Bentley HAMMER as a project. Bentley HAMMER
project files have the file name extension .wtg. You can assign a title, date, notes and
other identifying information about each project using the Project Properties dialog
box. You can have up to five Bentley HAMMER projects open at one time.
To start a new project, choose File > New or press <Ctrl+N>. An untitled project is
opened in the drawing pane.
To open an existing project, choose File > Open or press <Ctrl+O>. A dialog box
opens allowing you to browse for the project you want to open.
To switch between multiple open projects, select the appropriate tab at the top of the
drawing pane. The file name of the project is displayed on the tab.
This version of the software includes a change in the database format used to store
modeling data. Microsoft Access .sqlite files will be automatically converted to the
new .sqlite format when they are opened. Existing .sqlite files will be left untouched
after the conversion. New files will be only created in this new format.
• Older versions of this software are not able to read .sqlite files.
• After conversion, .sqlite files will not be accessed/needed for the usage of this
software. It is still a good practice to keep existing .sqlites as data back-ups/
history tracking.
• .sqlite files will be added automatically to existing and new ProjectWise sets.
The Project Properties dialog box allows you to enter project-specific information to
help identify the project. Project properties are stored with the project.
The dialog box contains the following text fields and controls:
File Name Displays the file name for the current project. If
you have not saved the project yet, the file name is
listed as “Untitledx.wtg.”, where x is a number
between 1 and 5 chosen by the program based on
the number of untitled projects that are currently
open.
1. Choose File > Project Properties and the Project Properties dialog box opens.
2. Enter the information in the Project Properties dialog box and click OK.
Setting Options
You can change global settings for Bentley HAMMER in the Options dialog box.
Choose Tools > Options. The Options dialog box contains different tabs where you
can change settings.
Click one of the following links to learn more about the Options dialog box:
General Settings
Show Status Pane When turned on, activates the Status Pane
display at the bottom of the Bentley HAMMER
stand-alone editor. This check box is turned
on by default.
Window Color
Layout
Sticky Tool Palette When turned on, activates the Sticky Tools
feature. When Sticky Tools is turned on, the
drawing pane cursor does not reset to the
Select tool after you create a node or finish a
pipe run in your model, allowing you to
continue dropping new elements into the
drawing without re-selecting the tool. When
Sticky Tools is turned off, the drawing pane
cursor resets to the Select tool after you
create a node. This check box is selected by
default.
This dialog allows you to change the behavior of command prompts back to their
default settings. Som,e commands trigger a command prompt that can be suppressed
by using the Do Not Prompt Again check box. You can turn the prompt back on by
accessing this dialog and unchecking the box for that prompt type.
Geospatial Options
Result Files
Specify Custom When checked, allows you to edit the results file
Results File Path? path and format by enabling the other controls in
this section.
Root Path Allows you to specify the root path where results
files are stored. You can type the path manually or
choose the path from a Browse dialog by clicking
the ellipsis (...) button.
Path Format Allows you to specify the complete path that you
wish to use for storing your result files for the
current project. You can type the path manually
and/or use predefined attributes from the menu
accessed with the [>] button. One of the
predefined choices is the Root Path. It is
recommended that you start building your Path
Format with this Root Path choice. Then
optionally extend this path with the other
predefined choices.
Pipe Length
Round Pipe Length to The program will round to the nearest unit
Nearest specified in this field when calculating scaled pipe
length
Drawing Scale
Annotation Multipliers
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.
Text Options
Align Text with Pipes Turns text alignment on and off. When it is turned
on, labels are aligned to their associated pipes.
When it is turned off, labels are displayed
horizontally near the center of the associated pipe.
Reset Defaults - SI Resets the unit and formatting settings to the original
factory defaults for the System International (Metric)
system.
Reset Defaults - US Resets the unit and formatting settings to the original
factory defaults for the Imperial (U.S.) system.
Default Unit System Specifies the unit system that is used globally across
for New Project the project. Note that you can locally change any
number of attributes to the unit system other than the
ones specified here.
Note: The conversion for pressure to ft. (or m) H20 uses the specific
gravity of water at 4C (39F), or a specific gravity of 1. Hence, if
the fluid being used in the simulation uses a specific gravity
other than 1, the sum of the pressure in ft. (or m) H20 and the
node elevation will not be exactly equal to the calculated
hydraulic grade line (HGL).
Update server on Save When this is turned on, any time you save your
Bentley HAMMER project locally using the File >
Save menu command, the files on your
ProjectWise server will also be updated and all
changes to the files will immediately become
visible to other ProjectWise users. This option is
turned off by default.
For more information about ProjectWise, see the Working with ProjectWise topic.
– Leave Out—Leaves the project checked out so others cannot edit it and
retains any changes you have made since the last server update to the files on
your local computer. Select this option if you want to exit Bentley HAMMER
V8i but continue working on the project later. The project files may be
synchronized when the files are checked in later.
• In the Bentley HAMMER Options dialog box, there is a ProjectWise tab with a
Update server on Save check box. This option, when turned on, can significantly
affect performance, especially for large, complex projects. When this is checked,
any time you save your Bentley HAMMER project locally using the File > Save
menu command, the files on your ProjectWise server will also be updated and all
changes to the files will immediately become visible to other ProjectWise users.
This option is turned off by default, which means the ProjectWise server version
of the project will not be updated until the files are checked in.
• Use the File > Update Server Copy command to update the files on your Project-
Wise server with all changes made to the files, which will immediately become
visible to other ProjectWise users. Note that this command saves the project and
any edits that have been made before it updates the ProjectWise files.
• In the SS2 release of Bentley HAMMER, calculation result files are not managed
inside ProjectWise. A local copy of results is maintained on the user’s computer,
but to ensure accurate results the user should recalculate desired scenarios for
projects when the user first opens them from ProjectWise.
If you have enabled ProjectWise integration, you can perform the following Project-
Wise operations from within Bentley HAMMER:
c. Keep the default entries for the rest of the fields in the dialog box.
d. Click OK. There will be two new files in ProjectWise; a *.wtg and a
*.wtg.sqlite.
c. Keep the default entries for the rest of the fields in the dialog box.
d. Click Open.
• Using File > Save As—If there are background files assigned to the model, the
user is prompted with two options: copy the background layer files to the project
folder for use by the project, or remove the background references and manually
reassign them once the project is in ProjectWise to other existing ProjectWise
documents.
• Using File > Open—Using this method, background layer files are not locked in
ProjectWise for the current user to edit. The files are intended to be shared with
other users at the same time.
To add a background layer file reference to a project that exists in ProjectWise:
Using File > Save As—When you use File > Save As on a project that is already in
ProjectWise and there are background layer files, you are prompted with two options:
you can copy all the files to the local project folder for use by the project, or you can
remove the background references and manually reassign them after you have saved
the project locally.
PWDIR=""
and change it so that it refers to the directory where a supported version of the Project-
Wise Explorer is installed, such as
PWDIR="C:\Program Files\Bentley\ProjectWise\"
For the MicroStation platform, you must enable the ProjectWise iDesktop integration
for Microstation when installing the ProjectWise Explorer client software. You can
also Change the ProjectWise Explorer installation to enable this from the Windows
Control Panel.
The ProjectWise administrator can assign background maps to folders, against which
the contained documents or projects will be registered and displayed. For documents
such as Municipal Products Group product projects, ProjectWise Geospatial can auto-
matically retrieve the embedded spatial location. For documents that are nonspatial,
the document can simply inherit the location of the folder into which it is inserted, or
users can explicitly assign a location, either by typing in coordinates, or by drawing
them.
Each document is indexed to a universal coordinate system or SRS, however, the orig-
inating coordinate system of each document is also preserved. This enables search of
documents across the boundary of different geographic, coordinate, or engineering
coordinate systems.
For a complete description of how to work with ProjectWise Geospatial, for example
how to add background maps and coordinate systems, see the ProjectWise Geospatial
Explorer Guide and the ProjectWise Geospatial Administrator Guide.
Whenever the project is saved and the ProjectWise server is updated, the stored spatial
location on the server, which is used for registration against any background map, will
be updated also. (Note the timing of this update will be affected by the "Update Server
When Saving" option on the Tools-Options-ProjectWise tab.)
Most of the time the bounding box stored in the project will be correct. However, for
performance reasons, there are some rare situations (e.g., moving the entire model)
where the geometry can become out of date with respect to the model. To guarantee
the highest accuracy, the user can always manually update the geometry by using
"Compact Database" or "Update Database Cache" as necessary, before saving to
ProjectWise.
The Spatial Reference System (SRS) for a project is viewed and assigned on the
Tools-Options-Project tab in the Geospatial group.
The SRS is a standard textual name for a coordinate system or a projection, designated
by various national and international standards bodies. The SRS is assumed to define
the origin for the coordinates of all modeling elements in the project. It is the user's
responsibility to set the correct SRS for the project, and then use the correct coordi-
nates for the contained modeling elements. This will result in the extents of the
modeling features being correct with respect to the spatial reference system chosen.
The SRS is stored at the project database level. Therefore, a single SRS is maintained
across all geometry alternatives. The product does not manipulate or transform geom-
etries or SRS's - it simply stores them.
The primary use of the project's SRS is to create correct spatial locations when a
managing a project in the ProjectWise Integration Server's spatial management
system.
The SRS name comes from the internal list of spatial reference systems that Project-
Wise Spatial maintains on the ProjectWise server and is also known as the "key
name." To determine the SRS key name, the administrator should browse the coordi-
nate system dictionary in the ProjectWise administrator tool (under the Coordinate
Systems node of the datasource), and add the desired coordinate system to the data-
source. For example, the key name for an SRS for latitude/longitude is LL84, and the
key name for the Maryland State Plane NAD 83 Feet SRS is MD83F.
ProjectWise Spatial uses the SRS to re-project the project's spatial location to the
coordinate system of any spatial view or background map assigned by the adminis-
trator.
If the project's SRS is left blank, then ProjectWise will simply not be updated with a
spatial location for that project.
If the project's SRS is not recognized, an error message will be shown, and Project-
Wise will simply not be updated with a spatial location for that project.
Geospatial Administrators can control whether users can edit spatial locations through
the ProjectWise Explorer. This is governed by the checkbox labeled "This user is a
Geospatial Administrator" on the Geospatial tab of the User properties in the Project-
Wise Administrator.
Users should decide to edit spatial locations either through the ProjectWise Explorer,
or through the Municipal application, but not both at the same time. The application
will update and overwrite the spatial location (coordinate system and geometry) in
ProjectWise as a project is saved, if the user has added a spatial reference system to
the project. This mechanism is simple and flexible for users - allowing them to choose
when and where spatial locations will be updated.
Junctions
Hydrants
Tanks
Reservoirs
Pumps
Valves
Spot Elevations
Turbines
Air Valves
Hydropneumatic Tanks
Surge Valves
Check Valves
Rupture Disks
Surge Tanks
Other Tools
Pipes
Pipes are link elements that connect junction nodes, pumps, valves, tanks, and reser-
voirs. Each pipe element must terminate in two end node elements.
1. Click a pressure pipe in your model to display the Property Editor, or right-click a
pressure pipe and select Properties from the shortcut menu.
2. In the Physical: Minor Losses section of the Property Editor, set the Specify Local
Minor Loss? value to False.
3. Click the Ellipses (...) button next to the Minor Losses field.
4. In the Minor Loses dialog box, each row in the table represents a single minor
loss type and its associated headloss coefficient. For each row in the table,
perform the following steps:
a. Type the number of minor losses of the same type to be added to the
composite minor loss for the pipe in the Quantity column, then press the Tab
key to move to the Minor Loss Coefficent column.
b. Click the arrow button to select a previously defined Minor Loss, or click the
Ellipses (...) button to display the Minor Loss Coefficients to define a new
Minor Loss.
5. When you are finished adding minor losses to the table, click Close. The
composite minor loss coefficient for the minor loss collection appears in the Prop-
erty Editor.
6. Perform the following optional steps:
– To delete a row from the table, select the row label then click Delete.
– To view a report on the minor loss collection, click Report.
Column Description
Minor Loss Coefficient The type of minor loss element. Clicking the
arrow button allows you to select from a list of
previously defined minor loss coefficients.
Clicking the Ellipses button next to this field
displays the Minor Loss Coefficients manager
where you can define new minor loss coefficients.
The following management controls are located above the minor loss coefficient list
pane:
The tab section is used to define the settings for the minor loss that is currently high-
lighted in the minor loss list pane. The following controls are available:
Minor Loss Tab This tab consists of input data fields that allow you
to define the minor loss.
Minor Loss 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 the valve type. You
cannot add or delete types.
Minor Loss 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.
Library Tab This tab displays information about the minor loss
that is currently highlighted in the minor loss list
pane. If the minor loss is derived from an
engineering library, the synchronization details
can be found here. If the minor loss was created
manually for this project, the synchronization
details will display the message Orphan (local),
indicating that the minor loss was not derived
from a library entry.
Notes Tab This tab contains a text field that is used to type
descriptive notes that will be associated with the
minor loss that is currently highlighted in the
minor loss list pane.
Virtual Links
A user can specify that a user defined conduit or pressure pipe has a section type of
"Virtual" by setting the section type to "Virtual" in the property grid for conduits or "Is
virtual" property to True in the property grid for pressure pipes. The behavior of a
virtual link depends on the active solver and whether the link is a conduit or pressure
pipe. Gutters and channels cannot be virtual.
Virtual links pass the flow from the upstream node to the downstream nodes but do
not always calculate hydraulic properties such as velocity and head loss. Virtual links
usually have length but this is only to assist in plotting the link in a profile drawing.
Depending on the solver, the rise of the virtual link may not be shown in the profile. In
some solvers (e.g. GVF-convex), the "Is virtual = True" setting is ignored and
Virtual links enable the same model file to be used with different solvers even though
the solvers have very different ways of representing different physical facilities. The
explicit solver internally represents pumps as links with essentially no length while
the GVF solver represents pumps as points which must be connected to non-virtual
pipes at each end. To make these two solvers compatible, in a model (e.g.
SewerGEMS, SewerCAD, CivilStorm or StormCAD) which represents pumps as
points, virtual links must be inserted on the suction and discharge side of pump nodes.
These virtual pipes and the pump node are combined into a single effective link when
the model is run in the explicit solver and the results are later applied to model
elements.
Similarly, control structures (e.g. weirs, orifices) are represented as links in the
explicit solvers but are properties of links in the implicit and GVF solvers. The control
structures need to be associated with virtual links to work with the explicit solver.
For details on using virtual links as conduits or pressure pipes, see help topics Virtual
Conduits and Virtual Links.
Virtual Conduits
User defined conduits can be treated as virtual conduits by setting the Section Type to
Virtual. Virtual conduits are not available in the Conduit Catalog.
In the implicit and explicit solvers, the virtual conduits have length but no diameter/
rise and span. In these solvers, the virtual conduit must have a control structure (e.g.
weir, orifice) assigned to it. If a control structure link is imported from an EPA-
SWMM model, a virtual conduit is created with the control structure.
For the GVF solver, virtual conduits can only be used for diversion links. If a control
structure is placed on a diversion link, it will be ignored since the diversion is
controlled with the diversion rating table or cutoff value.
When switching between the solvers, it is best to set up two physical alternatives when
flow splits are involved. The one associated with the implicit or explicit solvers will
have a control structure while the one with the GVF solvers with be a diversion link.
Both of them can be virtual. It is best to make these links short so that they look like
point structures in profiles.
The Bentley storm and sanitary sewer models treat pumps as nodes connected to
suction and discharge piping. However, not all solvers were set up with that represen-
tation and not all pumps have suction lines (e.g. submersible pumps).
In the GVF solvers, there is no benefit from using virtual pressure pipes. For the GVF-
convex solver, they are treated as not virtual even if they were set up as virtual in
another solver (with the diameter and length taken from prototype properties). In the
GVF-rational solver, no head loss is calculated for the virtual pressure pipes. When
moving between solvers, the user should remember that head loss is calculated in the
GVF-convex solver so the results may not agree between solvers.
In the implicit solver, pressure pipes connected to pups may or may not be virtual.
When implicit pressure pipes are virtual, no head loss is calculated and the flow is
simply moved from the upstream to the downstream nodes on the pipe. For example, a
virtual suction pipe can be used to represent a submersible pump which has no suction
pipe but is shown with a suction pipe in the drawing.
In the explicit solver, no head loss is calculated for virtual pressure pipes. When a
SWMM model is imported into a Bentley model, a virtual pressure pipe is placed on
both the suction and discharge side of the pump and the explicit solver is set as the
default.
In general, the most accurate calculation of pump flows result if virtual pipes are not
used. If they must be used, then they should be kept short in the drawing. For example,
in SWMM, it is possible to have the discharge side of a pump connected to a node
thousands of feet away with no consideration of the interconnecting force main. This
should be avoided if accuracy in pump behavior is important.
When moving a model between solvers, where virtual pipes are used in the implicit
and explicit solvers, it is advisable to set up a different physical alternative for the
solvers.
Junctions
Junctions are non-storage nodes where water can leave the network to satisfy
consumer demands or enter the network as an inflow. Junctions are also where chem-
ical constituents can enter the network. Pipes are link elements that connect junction
nodes, pumps, valves, tanks, and reservoirs. Each pipe element must terminate in two
end node elements.
Export
(a) If the pressure P is positive, then it acts like an orifice discharging to atmosphere
wherein the outflow/demand is Q = Qi. summed over all the connected branches, i.
The pressure varies quadratically with the discharge from the initial conditions - so
that the diameter of the orifice is not explicitly required by the transient solver;
(b) on the other hand when the pressure drops below zero, there is no net inflow or
outflow (Q = 0), while if the pressure declines to the vapor pressure of the liquid, the
rate of change of the vapor volume, Xi, in each branch is described by the relation dXi
/ dt = - Qi.
The continuity equation for the junction of two or more pipes states that the net inflow
Q = Qi is zero when the pressure P exceeds the liquid's vapor pressure. On the other
hand, at vapor pressure, the volume in each branch Xi grows in time according to the
ordinary differential equation dXi / dt = - Qi.
During a transient analysis, a junction with no demand and only one pipe connected to
it is treated as a dead-end junction by the transient solver.
Dead ends are important during a transient analysis because large positive pressure
waves tend to 'reflect' off a dead end as negative pressure waves of the same magni-
tude. If the initial static pressure is too low, this can cause cavitation.
When the pressure reaches the vapor pressure of the liquid, the equation dX1 / dt = -
Q1 serves to provide the rate of change of the volume of the cavity.
Hydrants
Hydrants are non-storage nodes where water can leave the network to satisfy
consumer demands or enter the network as an inflow. Hydrants are also where chem-
ical constituents can enter the network.
Mannings n: 0.012
Tanks
Tanks are a type of Storage Node. A Storage Node is a special type of node where a
free water surface exists, and the hydraulic head is the elevation of the water surface
above some datum (usually sea level). The water surface elevation of a tank will
change as water flows into or out of it during an extended period simulation.
Water Level/Elevation
The user can choose either Elevation or Level as the Operating Range Type. The water
level in a tank can be described based on either the hydraulic grade line elevation
(Elevation) or the water level above the base elevation (Level).
Active Topology
By default a tank is active in a model. A tank can be made inactive (not used in calcu-
lations) by changing the Is active? property to False. If a tank is made inactive, any
connective pipes should also be made inactive as otherwise this will give an error.
In a variable area tank, the cross-sectional geometry varies between the minimum and
maximum operating elevations. A depth-to-volume ratio table is used to define the
cross sectional geometry of the tank.
Inlet Type
In general, tank inlet and outlet piping are treated as being connected to the tank at the
bottom and have only a single altitude valve that shuts the tank off from the rest of the
system when the tank reaches its maximum level or elevation. However, some tanks
are filled from the top or have altitude valves (sometimes called a "Float Valve") that
gradually throttle before they shut. This can be controlled by setting the Has Separate
Inlet? Property to True. The user must pick which of the pipes connected to the tank is
the inlet pipe which is controlled or top fill. (If there is a valve vault at the tank with a
altitude valve on the fill line and a check valve on the outlet, these should be treated as
two pipes from the tank even if there is a single pipe from the tank to the vault.)
If the tank is a top filled tank (which may refer to a side inflow tank above the bottom
but below the top), the user should set Tank Fills From Top? To true and set the invert
level (relative to the base) of the inflow pipe at its highest point. Water will not flow
into the tank through that pipe unless the hydraulic grade is above that elevation.
If the inlet valve throttles the flow as it nears full, the user should set "Inlet Valve
Throttles?" to True. The user must then enter the discharge coefficient for the valve
when it is fully open, the level at which the valve begins to close and the level at
which it is fully closed. These levels must be below the top level and any pumps
controlled by the valve should not be set to operate at levels above the fully closed
level. The closure characteristics are determined by the Valve Type which the user
selects from a drop down menu.
When the tank is described as having a separate inlet, additional results properties are
calculated beyond the usual values of tank levels (elevations) and flow. The user can
also obtain the relative closure of the inlet valve, the calculated discharge coefficient,
the head loss across the valve, and the inlet and outlet hydraulic grade of the valve and
finally the inlet valve status.
If this analysis is a constituent analysis, the user may specify the bulk reaction rate in
the tank by setting "Specify local bulk rate?" to True and setting the "Bulk reaction
rate (Local)" value.
The Complete Mixing model assumes that all water that enters a tank is instanta-
neously and completely mixed with the water already in the tank. It applies well to a
large number of facilities that operate in filland-draw fashion with the exception of tall
standpipes.
The Two-Compartment Mixing model divides the available storage volume in a tank
into two compartments, both of which are assumed completely mixed. The inlet/outlet
pipes of the tank are assumed to be located in the first compartment. New water that
enters the tank mixes with the water in the first compartment. If this compartment is
full, then it sends its overflow to the second ompartment where it completely mixes
with the water already stored there. When water leaves the tank, it exits from the first
compartment, which if full, receives an equivalent amount of water from the second
compartment to make up the difference. The first compartment is capable of simu-
lating short-circuiting between inflow and outflow while the second compartment can
represent dead zones. The user must supply a single parameter, which is the fraction of
the total tank volume devoted to the first compartment. This value canbe determined
during calibration if this model is selected.
The FIFO Plug Flow model assumes that there is no mixing of water at all during its
residence time in a tank. Water parcels move through the tank in a segregated fashion
where the first parcel to enter is also the first to leave. Physically speaking, this model
is most appropriate for baffled tanks that operate with simultaneous inflow and
outflow such as ideal clear wells at water treatment plants. There are no additional
parameters needed to describe this mixing model.
The LIFO Plug Flow model also assumes that there is no mixing between parcels of
water that enter a tank. However in contrast to FIFO Plug Flow, the water parcels
stack up one on top of another, where water enters and leaves the tank on the bottom.
This type of model might apply to a tall, narrow standpipe with an inlet/outlet pipe at
the bottom and a low momentum inflow. It requires no additional parameters be
provided.
Reservoirs
Reservoirs are a type of storage node. A Storage Node is a special type of node where
a free water surface exists, and the hydraulic head is the elevation of the water surface
above sea level. The water surface elevation of a reservoir does not change as water
flows into or out of it during an extended period simulation.
Pumps
Pumps are node elements that add head to the system as water passes through.
1. Click a pump in your model to display the Property Editor, or right-click a pump
and select Properties from the shortcut menu.
2. In the Physical section of the Property Editor, click the Ellipses (...) button next to
the Pump Definitions field. The Pump Definitions dialog box opens.
3. In the Pump Definitions dialog box, each item in the list represents a separate
pump definition. Click the New button to add a new definition to the list.
For more information about pump definitions, see the following topics:
The following controls are available in the pump definitions dialog box:
Head Tab 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
Pump Definition type field.
Pump Definition A pump is an element that adds head to the system as water passes
Type through it. This software can currently be used to model six
different pump types:
• Constant Power—When selecting a Constant Power
pump, the following attribute must be defined:
• Pump Power—Represents the water horsepower,
or horsepower that is actually transferred from the
pump to the water. Depending on the pump's effi-
ciency, the actual power consumed (brake horse-
power) may vary.
• Design Point (One-Point)—When selecting a Design
Point pump, the following flow vs. head points must be
defined:
• Shutoff—Point at which the pump will have zero
discharge. It is typically the maximum head point on
a pump curve. This value is automatically calcu-
lated for Design Point pumps.
• 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 unpredict-
ably, or its performance may decline rapidly. This
value is automatically calculated for Design Point
pumps.
• Standard (Three-Point)—When selecting a Standard
Three-Point pump, the following flow vs. head points
must be defined:
• 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 unpredict-
ably, or its performance may decline rapidly.
Efficiency Tab This tab allows you to specify efficiency settings for
the pump that is being edited.
Pump Efficiency Allows you to specify the pump efficiency type for the
pump that is being edited. The following efficiency
types are available:
• Constant Efficiency—This efficiency type main-
tains the efficiency determined by the input value
regardless of changes in discharge. When the
Constant Efficiency type is selected, the input field
is as follows:
• 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.
• Best Efficiency Point—This efficiency type
generates a parabolic efficiency curve using the
input value as the best efficiency point. When the
Best Efficiency Point type is selected, the input
fields are as follows:
• BEP Flow—The flow delivered when the
pump is operating at its Best Efficiency point.
• BEP Efficiency—The efficiency of the pump
when it is operating at its Best Efficiency
Point.
• Define BEP Max Flow—When this box is
checked the User Defined BEP Max Flow field
is enabled, allowing you to enter a maximum
flow for the Best Efficiency Point. The user
defined BEP Max Flow value will be the
highest flow value on the parabolic efficiency
curve.
• User Defined BEP Max Flow—Allows you to
enter a maximum flow value for the Best Effi-
ciency Point. The user defined BEP Max Flow
value will be the highest flow value on the
parabolic efficiency curve.
• Multiple Efficiency Points—This efficiency type
generates an efficiency curve based upon two or
more user-defined efficiency points. These points
are linearly interpolated to form the curve. When
the Multiple Efficiency Points type is selected, the
input field is as follows:
• Efficiency Points Table—This table allows
you to enter the pump's efficiency at various
discharge rates.
Motor Tab This tab allows you to define the pump's motor
efficiency settings. It contains the following controls:
Transient Tab This tab allows you to define the pump's Bentley
HAMMER-specific transient settings. It contains the
following controls:
Library Tab This tab displays information about the pump that is
currently highlighted in the Pump Curves Definition
Pane. If the pump is derived from an engineering
library, the synchronization details can be found here.
If the pump was created manually for this project, the
synchronization details will display the message
Orphan (local), indicating that the pump was not
derived from a library entry.
Notes Tab This tab contains a text field that is used to type
descriptive notes that will be associated with the pump
that is currently highlighted in the Pump Curves
Definition Pane.
4. You can save your new pump definition in Bentley HAMMER’ Engineering
Libraries for future use. To do this, perform these steps:
– To rename a pump definition, select the label of the pump definition you want
to rename, click Rename, then type the new name.
– To view a report on a pump definition, select the label for the pump definition,
then click Report.
A variable speed drive introduces some inefficiency into the pumping system. The
user needs to supply a curve relating variable speed drive efficiency to pump speed.
This data should be obtained from the variable speed drive manufacturer but is often
difficult to find. Variable frequency drives (VFD) are the most common type of vari-
able speed drive used. The graph below shows the efficiency vs. speed curves for a
typical VFD: Square D (Schneider Electric) model ATV61:
The Pump Curve dialog is only available for Multiple Point pump type. The pump is
defined by entering points in the Flow vs. Head table. Click the New button to add a
new row and click the Delete button to delete the currently highlighted row.
The Flow-Efficiency Curve dialog is only available for the Multiple Efficiency Points
efficiency curve type. The curve is defined by entering points in the Flow vs. Effi-
ciency table. Click the New button to add a new row and click the Delete button to
delete the currently highlighted row.
The Speed-Efficiency Curve dialog is only available for Variable Speed Drive pumps
(Is Variable Speed Drive? is set to True). The curve is defined by entering points in the
Speed vs. Efficiency table. Click the New button to add a new row and click the
Delete button to delete the currently highlighted row.
• Brake Horsepower at the BEP: The brake horsepower in kilowatts at the pump’s
BEP (best efficiency point).
• Rotational Speed: The rotational speed of the pump in rpm.
When you click the OK button, the calculated inertia value will be automatically
populated in the Inertia (Pump and Motor) field on the Bentley HAMMER tab of the
Pump Definition dialog.
1.48 2
I motor = 118 P N kgm
7 3 0.9556 2
: I pump = 1.5 10 P N kgm
The 'Export ' property should be set to 'Flow', the 'Sinusoidal' property should be set to
'False' and a flow pattern should be set up to represent the pump flow throughout the
simulation. The element representing the suction side of the pump should have posi-
tive flow values (representing flow leaving the system), while the element repre-
senting the discharge side of the pump should have positive flow values (representing
inflow to the system). HAMMER will then compute the appropriate suction and
discharge head values. An example of possible flow patterns is given below for a
pump slowing from 250 gpm to 0 gpm over 30 seconds:
0.0 250
30.0 0
0.0 -250
30.0 0
However it should be noted that this approximation does not take into account impor-
tant pump parameters like inertia and rotational speed or the behavior of the pump in
each of the four quadrants of operation. Therefore it is up to the engineer to determine
whether this approximation is suitable for each particular use-case.
Pump Fundamentals
A pump is a type of rotating equipment designed to add energy to a fluid. For a given
flow rate, pumps add a specific amount of energy, or total dynamic head (TDH), to the
fluid’s energy head at the pump’s suction flange.
• Shut Down After Time Delay—four-quadrant pump curve built in: A pump
between two pipe segments which shuts down after a user-specified time delay.
Useful to simulate a power failure.
• Constant Speed - No Pump Curves—no pump curve: A simplified constant-speed
pump element between two pipe segments.
• Constant Speed - Pump Curve: constant-speed pump between two pipes, which
supports user-defined pump curves.
• Variable Speed/Torque—four-quadrant pump curve built in: A variable-speed (or
torque) pump between two pipes. Also known as a variable-frequency drive or
VFD.
• Pump Start - Variable Speed/Torque— four-quadrant pump curve built in: A vari-
able-speed (or torque) pump between two pipes. Also known as a variable-
frequency drive or VFD. This variable speed pump type always displays the
nominal head and flow values, allowing the user to change them.
Only the last two allow you to change the speed of the pump during a simulation. The
information needed to describe a pump’s hydraulic characteristics depends on the type
selected, but the following are common parameters:
Pump Inertia
If a pump’s speed will be controlled (i.e., ramped up or down, started or shut down
during the simulation period) you need to enter the pump’s rotational inertia. Inertia is
the product of the rotating weight with the square of its radius of gyration. Pumps with
more rotating mass have more inertia and take longer to stop spinning after power
fails or the pump is shut off. The trend has been towards lighter pumps with less
inertia.
Transient Tip: Pumps with higher inertias can help to control transients
because they continue to move water through the pump
for a longer time as they slowly decelerate. You can
sometimes add a flywheel to increase the total inertia
and reduce the rate at which flow slows down after a
power failure or emergency shut down: this is more
effective for short systems than for long systems.
The value of inertia you enter in Bentley HAMMER V8i must be the sum of all
components of the particular pump which continue to rotate and are directly
connected to the impeller, as follows:
If the motor and pump inertia are not available, they can be estimated separately and
then summed (if they remain coupled after a power failure) using an empirical relation
developed by Thorley:
7 3 0.9556 2
I pump = 1.5 10 P N kgm
1.48
I motor = 118· (P / N ) kgm 2
(4.1)
Specific Speed
“Table 4-3: Specific Speeds for Typical Pump Categories in both Unit Systems”on
page 4-220 shows typical values of specific speed for which an exact four-quadrant
representation is built into Bentley HAMMER V8i. Centrifugal pumps tend to have
lower specific speeds than axial-flow or multi-stage pumps. Few four-quadrant char-
acteristic curves are available because they require painstaking laboratory work.
The results of hydraulic transient simulations are not as sensitive to the specific speed
selected, provided that a check valve is installed. You do not need to add a check valve
because every pump in Bentley HAMMER V8i has a built-in check valve immedi-
ately downstream of the pump.
Table 4-3: Specific Speeds for Typical Pump Categories in both Unit
Systems
SI Metric 25 94 145
Most pumps used in water and wastewater systems are equipped with check valves to
preclude reverse flow and/or nonreverse or ratchet mechanisms that prevent the pump
impeller from reversing its spin direction. This usually restricts the pump’s operation
to the first quadrant. Provided such a pump will operate continuously at constant
speed throughout the numerical simulation and never allow reverse flow or spin, a
standard multipoint pump curve provides a rigorous and sufficient representation. The
Constant Speed - Pump Curve under Pump Type (Transient) enables you to repre-
sent this pump configuration during a transient analysis.
If you have the multipoint pump curve, you can enter it directly in HAMMER or
import it from another model or datasource. The pump curve is used by HAMMER to
adjust the flow produced by the pump in response to changing system heads at its
suction and discharge flanges throughout the simulation period.
If a pump curve is not available, but you can obtain the rated head and flow from the
SCADA system or other measurements, enter these as the Nominal Flow and
Nominal Head, and select the four-quadrant curves whose Specific Speed is closest
to your pump: centrifugal, axial-flow (single and double-suction) and multistage
(including vertical turbines), as shown in “Table 4-3: Specific Speeds for Typical
Pump Categories in both Unit Systems”on page 4-220, then select the Constant Speed
- No Pump Curve option under Pump Type (Transient). You can also use one of these
in-built four-quadrant characteristic curves if reverse flow or spin is possible, but you
do not have these data for your pump. This will yield a physically meaningful answer,
even if the parameters are inexact. The four quadrant characteristics curves are used
for all pump types except Constant Speed - Pump Curve.
In practice, automatic start and stop sequences can be controlled to achieve any ramp
time using a programmable logic controller (PLC). However, there may be limits to
the minimum speed or torque which can be achieved. The period of time over which
soft-starters can control the motor may be limited. Finally, operational reasons may
require that startup, shifting and shutdown sequences be shortened as much as
possible—but safely. Bentley HAMMER V8i helps you estimate safe ramp times to
make the most of your pump’s capabilities.
Bentley HAMMER V8i does not currently model loop-back controllers, which can
modify the VFD’s speed or torque to achieve a specific head or flow at some location
in the system. This is because the pump may stabilize to a new steady state within a
few seconds, including during a power failure or a normal stop or start, for a typical
transient event and the loop-back controller is likely not engaged during such opera-
tions.
The default options are to plot both the head and efficiency curve at the current time.
The types of curves can be turned off by unchecking the boxes. A plot for a single
time step look like the graph below.
The graph shows both the head and efficiency curve and highlights the operating point
for the current time step. If the pump is Off, the operating point is plotted at the origin.
The buttons on top of the drawing control the display. The first button enables the user
to modify the look of the graph by changing colors, fonts, legends, etc. The second
button prints the graph while the third is a print preview. The fourth copies the graph
to the clipboard.
In the case of an EPS run, if the user wants to view more than the current time step, he
should pick Selected Times from the drop down.
If the pump is a constant speed pump, then a single head and efficiency curve are
shown with multiple points showing each selected time.
If a variable speed pump is selected, then a separate head and efficiency curve are
generated for each time step.
If the user picks Current Time for an EPS run, it is possible to user the Time Browser
to animate the pump curve and operating points moving over time.
A Variable Speed Pump Battery element represents multiple variable speed pumps
that meet the following criteria:
Parallel variable speed pumps (VSPs) are operated as one group and led by a single
VSP, the so-called lead VSP, while the other VSPs at the same battery are referred as
to as lag VSPs. A lag VSP turns on and operates at the same speed as the lead VSP
when the lead VSP is not able to meet the target head and turns off when the lead VSP
is able to deliver the target head or flow.
From the standpoint of input data, Variable Speed Pump Batteries are treated exactly
the same as single pump elements that are defined as variable speed pumps of the
Fixed Head Type with one exception; number of Lag Pumps must be defined in the
Lag Pump Count field.
When simulating a Pump Battery in a transient analysis, the pump battery is converted
to an equivalent pump using the following conversion rules:
1. The Flow (Initial) of the equivalent pump is the total flow of all the running
pumps in the pump battery.
2. The Inertia of the Pump and Motor of the equivalent pump is the sum of all the
inertia values for all the running pumps.
3. The Specific Speed of the equivalent pump is the Specific Speed value that is
closest to the result of the following equation:
sqrt(number of running pumps) * Specific Speed of pump battery
Pump Stations
A pump station element provides a way for a user to indicate which pumps are in the
same structure, serving the same pressure zone. It provides a graphical way to display
the pumps associated with the station. A pump station is not a hydraulic element in
that it is not directly used in a hydraulic analysis but rather it is a collection of pumps
which are the hydraulic elements.
A pump station is a polygon element which displays which pumps are in the station by
dashed lines connecting the pumps with the station polygon centroid. A pump does
not need to be inside the polygon to be a pump assigned to the station and pumps
inside the polygon still need to be assigned to the station. The only information saved
with a pump station is the geometry of the station and the list of pumps assigned to the
station.
Usually the pumps and associated piping are laid out before the station is drawn.
However, the station polygon can be drawn first. The station element is created by
picking the pump station element icon from the layout menu and drawing a
polygon around the extents of the station. When the polygon is complete, the user
right clicks and selects "Done".
Individual pump elements are assigned to a station by selecting the pump element and
in the Pump Station property, picking the pump station which the pump is associated.
A dashed line is drawn from the pump to the station. This also can be done in the
physical alternative for pumps. To assign several pumps at once, a global edit can be
used provided that at least one pump has already been assigned to that station.
Sometimes a pump station structure can house pumps pumping to more than one pres-
sure zone (e.g. medium service and high service). For the purposes of Bentley
HAMMER, this would be two (or more) pump station polygon elements, one for each
pressure zone.
The property grid contains a Controls collection field that opens a filtered controls
editor that only displays the controls associated with the pumps in the selected pump
station.
Click the New button to select a pump from the drawing view to be added to the pump
station. Click Delete to remove the currently highlighted pump from the pump station.
Click the Report button to generate a report containing the list of pumps included in
the pump station as well as their associated pump definitions. Click the Zoom To
button to focus the drawing view on the pump that is highlighted in the list.
Valves
A valve is a node element that opens, throttles, or closes to satisfy a condition you
specify. The following valve types are available in Bentley HAMMER V8i:
Flow Control Valve FCVs are used to limit the maximum flow rate
(FCV) through the valve from upstream to downstream.
FCVs do not limit the minimum flow rate or
negative flow rate (flow from the To Pipe to the
From Pipe).
Throttle Control Valve TCVs are used as controlled minor losses. A TCV
(TCV) is a valve that has a minor loss associated with it
where the minor loss can change in magnitude
according to the controls that are implemented for
the valve. If you don’t know the headloss
coefficient, you can also use the discharge
coefficient, which will be automatically converted
to an equivalent headloss coefficient in the
program. To specify a discharge coefficient,
change the Coefficient Type to Discharge
Coefficient.
General Purpose Valve GPVs are used to model situations and devices
(GPV) where the flow-to-headloss relationship is
specified by you rather than using the standard
hydraulic formulas. GPVs can be used to represent
reduced pressure backflow prevention (RPBP)
valves, well draw-down behavior, and turbines.
Isolation Valves Isolation Valves are used to model devices that can
be set to allow or disallow flow through a pipe.
If you have a single minor loss value for a valve, you can type it in the Minor Loss
field of the Properties window. If you have multiple minor loss elements for a valve
and would like to define a composite minor loss, or would like to use a predefined
minor loss from the Minor Loss Engineering Library, access the Minor Losses dialog
by clicking the ellipsis button in the Minor Losses field of the Properties window.
1. Click a valve in your model to display the Property Editor, or right-click a valve
and select Properties from the shortcut menu.
2. In the Physical: Minor Losses section of the Property Editor, set the Specify Local
Minor Loss? value to False.
3. Click the Ellipses (...) button next to the Minor Losses field.
4. In the Minor Losses dialog box, each row in the table represents a single minor
loss type and its associated headloss coefficient. For each row in the table,
perform the following steps:
a. Type the number of minor losses of the same type to be added to the
composite minor loss for the valve in the Quantity column, then press the Tab
key to move to the Minor Loss Coefficent column.
b. Click the arrow button to select a previously defined Minor Loss, or click the
Ellipses (...) button to display the Minor Loss Coefficients to define a new
Minor Loss.
5. When you are finished adding minor losses to the table, click Close. The
composite minor loss coefficient for the minor loss collection appears in the Prop-
erty Editor.
6. Perform the following optional steps:
– To delete a row from the table, select the row label then click Delete.
– To view a report on the minor loss collection, click Report.
To model a GPV, the user must define a head loss vs. flow curve. This is done by
picking Component > GPV Head Loss Curve > New. The user would then fill in a
table with points from the curve.
The user can create a library of these curve or read them from a library. Because there
is so much variability in the equipment that can be modeled using GPVs, there is no
default library.
Once the GPV head loss curve has been created, the user can place GPV elements like
any other element. Once placed, the user assigns a head loss curve to the specific GPV
using "General Purpose Head Loss Curve" in the property grid.
A GPV can also have an additional minor loss. To specify that, the user must provide
a minor loss coefficient and the (effective) diameter of the valve.
A GPV does not act as a check valve. Flow can move in either direction through the
valve. Therefore, when modeling a device like a RPBP, it may be necessary to place a
check valve on one of the adjacent pipes to account for that behavior.
Note that minor losses do not apply to the following valve types: General Purpose
Valve and Valve With Linear Area Change. These two valve types do not support a
(fully) open status and always apply the head/flow relationship defined by their head-
loss curve and discharge coefficient respectively.
6. Select the headloss curve entry you want to use and click the Select button.
7. Click the Close button.
• PRV
• PSV
• PBV
• FCV
• TCV
• GPV
The following management controls are located above the valve characteristic list
pane:
The tab section is used to define the settings for the minor loss that is currently high-
lighted in the valve characteristic list pane. The following controls are available:
Valve Characteristic This tab consists of input data fields that allow you
Tab to define the valve characteristic.
Notes Tab This tab contains a text field that is used to type
descriptive notes that will be associated with the
valve characteristic that is currently highlighted in
the valve characteristic list pane.
This dialog is used to define a valve characteristic entry in the Valve Characteristics
Engineering Library.
• Relative Closure: Percent opening of the valve (100% = fully closed, 0% = fully
open).
• Relative Discharge Coefficient:The discharge coefficient of the valve relative to
the fully open discharge coefficient. A Relative Discharge Coefficient of 100%
represents a fully open valve (exactly equal to the fully open discharge coeffi-
cient) and 0% represents a discharge coefficient of zero (fully closed).
Click New to add a new row to the table. Click Delete to remove the currently high-
lighted row from the table. You can hold down the Ctrl key while clicking on items in
the list to select multiple entries at once.
The purpose of several of the valve types included in Bentley HAMMER is simply to
impart a head loss in the system, similar in some ways to a minor loss. One example
here is the Throttle Control Valve (TCV). The TCV supports a head loss coefficient
(or discharge coefficient) that is used to determine the head loss across the valve. It is
important to note, however, that the head loss coefficient on the TCV is actually
different from a minor loss in the way it is used by the computation. The minor loss
applies when the valve is fully open (inactive) and the head loss coefficient applies
when the valve is active. This same principle applies to other valve types such as
General Purpose Valves (GPVs), Pressure Breaker Valves (PBVs) and Valves with a
Linear Area Change (VLAs), the only difference being that GPVs use a headloss/flow
curve, PBVs use a headloss value and VLAs use a discharge coefficient, instead of a
head loss coefficient, to define the valve's behavior when it is in the active state.
In some cases a minor loss coefficient sounds like it could be a duplicate of another
input value, but the way in which it is used in the computation is not the same.
With SELECT series 4, there is a new PRV property "Modulate Valve during Tran-
sient" which, when set to True, enables HAMMER to adjust the valve opening during
a transient run. The default value for this property is False. This property is saved in
the Transient alternative.
When "Modulate Valve during Transient" is set to True, the user must set the
"Opening rate coefficient" and Closure rate coefficient". The units for these properties
are % change in opening/second/foot of HGL difference between the control valve
setting and the calculated pressure at the previous time step (xxx %/sec/ft or yyy %/
sec/m). These values are highly valve specific. The default values are for both rates.
The closing and opening rates for a given valve may be different. Values will be lower
for larger valves and will be much higher for direct acting valves than pilot controlled
valves. The values should be calibrated using high speed pressure loggers. A reason-
able initial estimate may be on the order of 0.1.
Where:
While modulation is possible in any type of control valve, HAMMER SELECT series
4 only supports this behavior in PRV's.
Inaccurate results may occur if the valve becomes fully open or fully closed during a
run or the pressure drops below vapor pressure at the valve. The percent closure for
the valve can be found in temporary file C:\Users\FirstName.Last-
Name\AppData\Local\Temp\Bentley\HAMMER\ PRVCLOSURE.TXT.
If the user selects False for "Modulate Valve during Transient", it is still possible to
adjust valve opening during a transient run by changing the default value for "Oper-
ating Rule" from Fixed to an Operational (Transient Valve) pattern that the user has
established under Patterns. In these patterns, the relative closure is a function of time.
(See help topic Pattern Manager.)
Spot Elevations
Spot elevations can be placed to better define the terrain surface throughout the
drawing. They have no effect on the calculations of the network model. Using spot
elevations, elevation contours and enhanced pressure contours can be generated with
more detail. The only input required for spot elevation elements is the elevation value.
Turbines
In a hydroelectric power plant, turbines convert the moving water’s kinetic energy to
mechanical (rotational) energy. Each turbine is mechanically coupled with a generator
that converts rotational energy to electrical energy. Each generator's output terminal
transmits electricity to the distribution grid. At steady state, the electricity produced
by the turbine-generator system is equal to the electrical grid load on the generator.
drives a generator to produce electricity. Water emerges from the turbine through the
draft tube and tailrace and flows into the downstream reservoir. Surge tanks can be
connected to the penstock and/or tailrace to limit the magnitude of transient pressures,
especially if the length of the upstream conduit/penstock or if (rarely) the tailrace is
relatively long.
Hydraulic turbines and penstocks often operate under high pressure at steady-state.
Rapid changes such as electrical load rejection, load acceptance or other emergency
operations can result in very high transient pressures that can damage the penstock or
equipment. During load rejection, for example, the wicket gates must close quickly
enough to control the rapid rise in rotational speed while keeping pressure variations
in the penstock and tailrace within established tolerances. Using Hammer, designers
can verify whether the conduits and flow control equipment are likely to withstand
transient pressures that may occur during an emergency.
Electrical load varies with time due to gradual variations in electricity demand in the
distribution grid. Depending on the type of turbine, different valves are used to control
flow and match the electrical load. Turbines can be classified into two broad catego-
ries: a) impulse turbine, and b) reaction turbine.
Impulse Turbine
An impulse turbine has one or more fixed nozzles through which pressure is converted
to kinetic energy as a liquid jet(s) – typically the liquid is water. The jet(s) impinge on
the moving plates of the turbine runner that absorbs virtually all of the moving water's
kinetic energy. Impulse turbines are best suited to high-head applications. One defini-
tion of an impulse turbine is that there is no change in pressure across the runner.
In practice, the most common impulse turbine is the Pelton wheel shown in the figure
below. Its rotor consists of a circular disc with several “buckets” evenly spaced around
its periphery. The splitter ridge in the centre of each bucket divides the incoming
jet(s) into two equal parts that flow around the inner surface of the bucket. Flow partly
fills the buckets and water remains in contact with the air at ambient (or atmospheric)
pressure.
Once the free jet has been produced, the water is at atmospheric pressure throughout
the turbine. This results in two isolated hydraulic systems: the runner and everything
upstream of the nozzle (including the valve, penstock and conduit). Model the
penstock independently using regular pipe(s), valve(s) and a valve to atmosphere for
the nozzle. Transients occur whenever the valve opens or closes and the penstock
must withstand the resulting pressures.
Reaction Turbines
The figure below is a schematic of a typical reaction turbine. A volute casing and a
ring of guide vanes (or wicket gate around the circumference) deliver water to the
turbine runner. The wicket gate controls the flow passing through the turbine and the
power it generates. A mechanical and/or electrical governor senses gradual load varia-
tions on the generator and opens or closes the wicket gates to stabilize the system (by
matching electrical output to grid load).
The runner must always be full to keep losses to a minimum, in contrast to an impulse
turbine where only a few of the runner blades are in use at any moment. Therefore,
reaction turbines can handle a larger flow for a given runner size. The number of
runner blades varies with the hydraulic head–the higher the head the more blades.
Reaction turbines are classified according to the direction of flow through the runner.
In a radial-flow turbine, the flow path is mainly in the plane of rotation: water enters
the rotator at one radius and leaves at a different radius–the Francis turbine being an
example of this type. In an axial-flow turbine, the main flow direction is parallel to the
axis of rotation – the Kaplan turbine being an example of this type. The term: mixed
flow turbine is used when flow is partly radial and partly axial.
Each of these categories corresponds to a range of specific speeds that can be calcu-
lated from the turbine's rated power, rotational (synchronous) speed and head.
Note that there is no option in HAMMER to change the runner blade angle of a
Kaplan turbine, so it is assumed the runner blade angle is constant during the transient
analysis. Engineering judgment should be used to determine if this approximation is
satisfactory in each case.
The primary hydraulic variables used to describe a turbine in the above schematic are:
Q = Flow
H = Head
N = Rotational speed
I = Rotational Inertia
w = Wicket gate position (% open)
M = Electrical load or torque
Electrical Load or Torque on the turbine-generator system varies with the electrical
load in the distribution grid. In steady-state operation, the electrical torque and the
hydraulic torque are in dynamic equilibrium. From a hydraulic perspective, electrical
torque is an external load on the turbine-generator unit.
Speed is another possible control variable for numerical simulations. For turbines,
however, the governor strives to keep the turbine at synchronous speed by varying the
wicket gate position during load variation and acceptance (assuming a perfect
governor). If field data were available, the speed could be used to determine whether
the model simulates the correct flow and pressures.
Once the time-varying electrical torque and wicket gate positions are known, the
turbine equations (Numerical Representation of Hydroelectric Turbines), HAMMER
solves flow, Q, and rotational speed, N, in conjunction with the characteristic curves
for the turbine unit(s). This yields the transient pressures for the load rejection, load
acceptance, emergency shutdown, operator error or equipment failure. The possible
emergency or transient conditions are discussed separately in the sections that follow.
Load Rejection
Load rejection occurs when the distribution grid fails to accept electrical load from the
turbine-generator system. After the load is rejected by the grid, there is no external
load on the turbine-generator unit and the speed of the runner increases rapidly. This
can be catastrophic if immediate steps are not taken to slow and stop the system. To
keep the speed rise within an acceptable limit, the wicket gates must close quickly and
this may result in high (followed by low) hydraulic transient pressures in the penstock.
Since load rejection usually results in the most severe transient pressures, it typically
governs the design of surge control equipment.
During load rejection, the generation of electrical power by the turbine-generator unit
should decrease to zero as quickly as possible to limit the speed rise of the unit. To
accomplish this, the wicket gates close gradually in order to reduce flow. The table
below shows an example of electrical load and wicket gate position versus time to
simulate load rejection. In a real turbine a governor would control the wicket gate
closure rate, however the turbine governor is not modeled explicitly in HAMMER and
the user controls the rate of wicket gate closure.
If the power generated by the water flowing through the turbine is greater than the
electrical load, then the turbine will speed up; if the electrical load is greater, the
turbine will slow down.
Note: Load and gate position are entered in different parameter tables
in HAMMER because they may not use the same time intervals.
HAMMER interpolates automatically as required.
Table 4-4: Load and Wicket Gate Changes for Load Rejection
0 350 100
1 100 50
2 0 0
Instant Load Rejection is similar to the Load Rejection case, except the electrical load
on the turbine drops instantaneously to zero (i.e. the turbine is disconnected from the
generator).
During instant load rejection, the generation of electrical power by the turbine-gener-
ator unit should decrease to zero as quickly as possible to limit the speed rise of the
unit. To accomplish this, the wicket gates close gradually in order to reduce flow. The
table below shows an example of wicket gate position versus time to simulate Instant
Load Rejection. In a real turbine a governor would control the wicket gate closure
rate, however the turbine governor is not modeled explicitly in HAMMER and the
user controls the rate of wicket gate closure..
0 100
1 50
2 0
Load Acceptance
Full load acceptance occurs when the turbine-generator unit is connected to the elec-
trical grid. Transient pressures generated during full load acceptance can be significant
but they are usually less severe than those resulting from full load rejection.
HAMMER assumes the turbine initially operates at no-load speed (NLS), and the
turbine generates no electrical power. When the transient simulation begins,
HAMMER assumes the electrical grid is connected to the output terminal of the
generator and wicket gates have to be open as quickly as possible to meet the power
demand - all without causing excessive pressure in the penstock.
Note that in this case, HAMMER assumes the turbine governor is 'perfect' - in other
words the power produced by the turbine always equals the electrical load. Therefore
the user doesn't need to enter an electrical load; just a curve of wicket gate position
versus time, and the turbine's rated flow and head. Under the Load Acceptance case
the turbine will always operate at its rated (or synchronous) speed. .
0 0
1 50
2 100
Load Variation
Load variation on the turbine-generator unit can occur due to the diurnal changes in
electricity demand in the distribution grid. During load variation, the governor
controls the wicket gate opening to adjust flow through the turbine so that the unit can
match the electrical demand. The water column in the penstock and conduit system
accelerates or decelerates, resulting in pressure fluctuations.
The transient pressures that occur during general load variation may not be significant
from a hydraulic design perspective since they are often lower than the pressure
generated during a full load rejection or emergency shutdown.
At steady-state, the turbine-generator system usually runs at full load with the wicket
gates 100% open. The amount of electricity produced by the system depends on the
flow through the wicket gates. A decrease in electrical load requires a reduction in the
wicket gate opening to adjust the flow.the table below shows an example of typical
user input to simulate transient pressures for load variation.
Note that in this case, HAMMER assumes the turbine governor is 'perfect' - in other
words the power produced by the turbine always equals the electrical load. Therefore
the user doesn't need to enter an electrical load; just a curve of wicket gate position
versus time. Under the Load Variation case the turbine will always operates at its
rated (or synchronous) speed..
0 100
5 85
10 70
15 57
20 43
30 30
35 35
42 42
55 57
65 70
80 85
90 100
– Speed (Rotational) denotes the rotation of the turbine blades per unit time,
typically as rotations per minute or rpm. The power generated by the turbine
depends on it.
– Specific Speed enables you to select from four-quadrant characteristic curves
to represent typical turbines for three common types: 30, 45, or 60 (U.S.
customary units) and 115, 170, or 230 (SI metric units). You can enter your
own four-quadrant data in the XML library (Appendix B).
The equation to estimate specific speed for a turbine is as follows:
5---
0.5 4
ns = n p H
In US units n is in rpm, P is in hp, and H is in ft.
In SI units n is in rpm, P is in kW, and H is in m.
– Turbine Curve For a transient run, HAMMER uses a 4-quadrant curve based
on Specific Speed, Rated Head, and rated Flow. This is only used for steady
state computations.
– Flow (Rated) denotes the flow for which the turbine is rated.
– Head (Rated) denotes the head for which the turbine is rated.
– Electrical Torque Curve defines the time vs torque response for the turbine.
Only applies to the Load Rejection operating case.
The New button adds a new row to the table; the Delete button removes the currently
selected row from the table, and the Report button generates a preformatted report
displaying the Head vs. Flow data points for the current turbine curve.
Note: During a Steady State of EPS run (used to determine the initial
conditions for a transient analysis), the head/flow for this
element is held constant at the initial head/flow value on the
sinusoidal or user-defined pattern. The head/flow only varies
during a transient analysis.
The New button adds a new row to the table; the Delete button removes the currently
selected row from the table, and the Report button generates a preformatted report
displaying the Time vs. Flow (or Head) data points for the Periodic Head-Flow curve.
Air Valves
Air valves are installed at local high points to allow air to come into the system during
periods when the head drops below the pipe elevation and expels air from the system
when fluid columns begin to rejoin. The presence of air in the line limits subatmo-
spheric pressures in the vicinity of the valve and for some distance to either side, as
seen in profiles. Air can also reduce high transient pressures if it is compressed
enough to slow the fluid columns prior to impact.
There are essentially two ways in which an active air valve can behave during the
transient simulation:
1. Pressure below atmospheric - air valve is open and acts to maintain pressure to 0
on the upstream end and maintains the same flow on the upstream and down-
stream side.
2. Pressure above atmospheric - air valve is closed and acts as any junction node.
If an air valve becomes open during the initial conditions calculation (steady state or
EPS), the hydraulic grade on the downstream side may be less than the pipe elevation.
This can be displayed as the hydraulic grade line drawn below the pipe. This should be
interpreted as a pressure pipe that is not flowing full. Full flow resumes at the point
where the hydraulic grade line crosses back above the pipe.
Because air valves have the possibility to switch status during a steady state or EPS,
they can lead to instability in the model especially if there are many air valves in the
system. To improve the stability of the model, it is desirable to force some of the
valves closed. This can be done by setting the property "Treat air valve as junction" to
True for those valves that are expected to be closed anyway.
If all of the pumps upstream of an air valve are off during a steady state or EPS, the
pressure subnetwork is disconnected in that area and the model will issue warning
messages for all nodes in that vicinity indicating that they are disconnected.
Note: In the rare event that you need to model an air valve that is open
during the initial conditions, the initial air volume will need to be
entered. The friction factors in the adjacent pipes may also need
to be checked, as the head loss computed by the initial
conditions calculation may not be a true head loss. It may be
necessary to specify the initial conditions manually (by setting
the 'Specify Initial Conditions?' Transient Solver calculation
option to True - see Calculation Options for details - then manually
typing in values for the fields grouped under Transient Initial in
the Property Editor.
– Diameter (Large Air Outflow Orifice): Refers to the discharge of air when
the local air volume is greater than or equal to the transition volume (TV), or
the air pressure is less than or equal to the transition pressure (TP) (depending
on which trigger is used to switch the outflow orifice size). This diameter is
typically large enough that there is little or no restriction to air outflow.
Generally air flows out the large air outflow orifice for some time before
switching to the small air outflow orifice for the final stages or air release.
– Diameter (Air Inflow Orifice): Diameter of the air inflow orifice (the orifice
through which air enters the pipeline when the pipe internal pressure is less
than atmospheric pressure). This diameter should be large enough to allow the
free entry of air into the pipeline. By default, this diameter is considered infi-
nite (i.e. there is no restriction to air inflow).
The diameters of these orifices don't change during the transient simulation. This type
of air valve should be used when air enters the valve through a specific size opening,
and leaves the system through another specific size opening, without any transition.
The opening that allows air outflow is typically smaller, in order to control air release.
Here are some examples of when the Double Acting air valve type would be used:
• An air valve with an "anti-slam", spring loaded disc with perforations, which
opens under vacuum conditions. When pressure returns, the spring closes the disc
and air is forced to exit through the small perforations. The air inflow orifice
would be the size of the opening through which air flows when the disc rises off
the seat. The air outflow orifice would be the equivalent orifice size of the perfo-
rations in the disc.
• An air valve with a spring loaded orifice that admits air on vacuum conditions and
a separate, smaller opening that expels air. The spring loaded orifice would be the
air inflow orifice and the smaller opening would be the air outflow orifice.
Triple Acting - This type of air valve has three actions:
1. Air Inflow
2. Air Outflow through a large orifice
3. Air Outflow through a small orifice
Air inflow passes through an opening with a fixed size. Air outflow first passes
through a large-sized opening, which switches to a smaller sized opening just before
all of the air has escaped. This cushions the air pocket collapse and subsequent colli-
sion of the water columns. This type of air valve should be used when the opening
through which air is expelled changes based on some condition. The condition to
trigger the reduction in size of the outflow orifice can either be based on a pressure
differential or an air volume. Typically a float is used to decrease the opening size, but
not always.
Here are some examples of when the Triple Acting air valve type would be used:
• An air valve similar to the one seen in the above diagram, consisting of two open-
ings and a float. When the volume of air in the system becomes less than the "tran-
sition volume", the float rises, which partially closes the outlet opening. The air
inflow orifice would be the size of the "inlet" opening. The "large air outflow
orifice" would be the full size of the outlet opening. The "small air outflow
orifice" would be the size of the outlet opening after the float has risen.
• An air valve with a float that closes off the outlet opening completely, forcing air
out of a separate, smaller opening. The "large air outflow orifice" would be a
diameter equivalent to the size of the main outlet opening plus the small opening.
The "small air outflow orifice" would be the size of the separate, smaller opening
alone.
• An "anti-slam" air valve with a disc or float that first allows air outflow to freely
pass out of a large opening. As air velocity increases, the float is "blown" into
position by the pressure differential it creates, forcing air out of a smaller opening.
The "large air outflow orifice" would be the large size opening (before the float
rises) and the "small air outflow orifice" would be the smaller sized opening (after
the float rises). "Transition Pressure" would be selected as the outflow orifice
trigger type.
Vacuum Breaker - This type of air valve has only one operation: air inflow. During
subatmospheric pressure, air enters through the air inflow orifice diameter. The
outflow orifice diameter is assumed to be very small (effectively zero) so it doesn't let
air out. When looking at the detailed report, you may notice the air volume change as
the air pocket is compressed, but the mass of air in the pipe doesn't reduce. There are
probably a limited number of applications for this type valve, but it may be used for a
draining pipeline.
Note: Any air pocket left in the system due to a vacuum breaker valve
is assumed to be expelled out of the system by some other
means. HAMMER currently cannot track the behavior of these
trapped air pockets (the underlying assumption is that the air
must exit the system where it came in)
It is possible for liquid to be discharged through this valve for a period after the air has
been expelled, unlike the other air valve types, which closes when all the air has been
evacuated from the pipeline. Typically you will want the valve to be fully closed after
all air has been expelled, but before too much water has been expelled.
The tab section is used to define the settings for the air flow curve that is currently
highlighted in the air flow curve list pane. The following controls are available:
Air Flow Curve Tab This tab consists of input data fields that allow you
to define the air flow curve.
Flow (Free Air) The volume of air flow at the associated pressure.
Pressure (Line) The pressure at the air flow curve point. Note that
only gauge pressure values are supported, not
absolute pressure.
Library Tab This tab displays information about the air flow
curve that is currently highlighted in the air flow
curve list pane. If the curve is derived from an
engineering library, the synchronization details
can be found here. If the curve was created
manually for this project, the synchronization
details will display the message Orphan (local),
indicating that the curve was not derived from a
library entry.
Notes Tab This tab contains a text field that is used to type
descriptive notes that will be associated with the
air flow curve that is currently highlighted in the
air flow curve list pane.
Note: The Air Flow result attribute shown in the detailed report shows
the volumetric flow rate of air at the conditions present inside
the pipeline.
The following buttons are located above the curve points table on the left:
• Delete—Deletes the currently highlighted row from the curve points table.
Hydropneumatic Tanks
A pressure vessel connected to the system and containing fluid in its lower portion and
a pressurized gas, usually air, in the top portion. A flexible and expandable bladder is
sometimes used to keep the gas and fluid separate. When the tank is being filled
(usually from a pump), the water volume increases and the air is compressed. When
the pump is turned off, the compressed air maintains pressure in the system until the
water drains and the pressure drops.
In Bentley HAMMER there are two ways of modeling water fluctuations in hydrop-
neumatic tanks during Steady State / EPS (initial conditions) simulations:
The data requirements for each method differ. Both methods require:
Note: Specifying these on and off HGL levels does not mean that
logical controls have been established. You must still set up
logical controls for the pumps feeding the tank and these control
levels should not be significantly different from the HGL on and
off levels.
The results from a steady state run are the flows in and out of the tanks. These results
should be the same for both the constant area and gas law tanks. The results of an EPS
run are the flow plus the HGL and pressure in the tank over time. These results will be
slightly different for each type of tank especially at very high and very low pressures,
provided that the effective volume is close to the actual effective volume that is physi-
cally possible given the control settings, gas volume and tank volume.
When using the Gas Law method, the tank is modeled using a form of the ideal gas
law for an isothermal fluid:
(P + Patm) Vair = K
Where:
P = gauge pressure
Patm = atmospheric pressure
Vair = volume of air in tank.
When using this method, you must specify the volume of liquid in the tank, the total
volume of the tanks and the initial pressure (or HGL). You can also override the
default atmospheric pressure of 32 ft.
Over the narrow range of pressures normally found in hydropneumatic tanks, the
constant area tank approximation and the gas law model give comparable results
although the gas law model is more theoretically correct. As the range of pressures
increases, the gas law model diverges from the constant area tank at high pressures.
During a transient simulation there are two basic types of tank: (a) direct interface
between the liquid and gas, and (b) gas contained in a bladder. Both utilize the expan-
sion/contraction of a gas according to the gas law: P Vk = constant, where P is the
absolute pressure, V is the volume and the exponent k lies between 1.0 and 1.2. In the
case of (b), the initial volume is determined from the isothermal gas law, PV =
constant, for given values of preset pressure, tank volume and initial (gauge) pipe
pressure. At the mouth of the vessel, there is a differential orifice with head loss H =
Hl - Hg = b d Q2 / (2g Aor2), where the subscripts l, g and or refer to the liquid, gas and
orifice, respectively, b is the head loss coefficient and d = di for inflow (Q > 0) and -1
for outflow (Q < 0). By definition, d asserts that head losses are di times greater for
inflow than for outflow - typical value of di is 2.5.
With respect to a bladder vessel, the pre-set pressure can range from zero gauge
(atmospheric pressure) to some higher pressure. Prior to and during a transient compu-
tation:
• HAMMER assumes the bladder is at the pre-set pressure but isolated from the
system.
• HAMMER assumes a (virtual) isolation valve is opened, such that the (typically
higher) system pressure is now felt by the bladder. HAMMER computes the new
(typically smaller) volume of the air inside the bladder.
• When the transient occurs, HAMMER expands or contracts the volume inside the
bladder accordingly.
• After the simulation is complete, you can look in the .RPT and/or .OUT text file(s)
to see what the preset pressure, pre-transient volume (at system pressure) and
subsequent variations in pressure and volume have occurred.
The tank type with a direct interface between the liquid and gas can be classified as
one of three different types: 'sealed', 'vented' or 'dipping tube'
A vented hydropneumatic tank is effectively a sealed tank with the addition of an air
valve at the top. This allows air at atmospheric pressure to enter the tank during a
downsurge so that the device behaves like a one-way surge tank. During an upsurge,
the air valve typically throttles the air outflow so that the gas within the tank is
compressed and acts as a 'cushion' against transients (just like a sealed hydropneu-
matic tank). This device offers several practical benefits - for example since the tank
typically has no gas inside, there is no need for compressors or a bladder to ensure a
required gas volume is maintained.
A dipping tube hydropneumatic tank has a dipping (or ventilation) tube inside with an
air valve at the top. During normal operation the air valve is closed, the water level is
above the bottom of the dipping tube, and gas is compressed in the 'compression
chamber'. If the hydraulic grade line drops (e.g. after a pump stop) the dipping tube
tank acts like a regular (sealed) hydropneumatic tank until the water surface drops
below the bottom of the dipping tube, after which the air valve opens and allows air to
enter at atmospheric pressure. At this point the tank is acting like a surge tank that is
open to atmosphere. If the hydraulic grade line increases again (e.g. if pumps come
on), air will be expelled until the hydraulic grade line rise enough to close the air
valve. At this point the water surface will be above the bottom of the dipping tube and
the tank will act like a regular sealed hydropneumatic tank once again.
• Elevation (base) - The elevation of the base of the tank. It is used as a reference
when entering initial hydraulic grade in terms of "level" (i.e., if the "elevation
(base)" is set to 20m and the operating range is set to "level", a "level (initial)"
value of 1.0 represents an elevation of 21m).
• Operating Range Type - Specify whether the initial hydraulic grade of the tank is
based on levels measured from the base elevation or as elevations measured from
the global datum (zero). For example, if the base elevation is 20m, you want the
initial hydraulic grade to be 70m., and you want to use levels, then select "level"
for this field and enter 50m as the initial level.
• HGL (Initial) or Level (Initial) - Depending on the operating range type
selected, this represents the known boundary hydraulic grade at the tank during
steady state. It is the water surface elevation plus the pressure head of the
compressed gas in the hydropneumatic tank. The transient simulation will begin
with this head. However, if you've selected "true" for the "Treat as Junction"
attribute, the transient simulation will ignore this value and instead use the
computed steady state hydraulic grade
• Liquid Volume (Initial) - This represents the volume of liquid in the tank at the
start of the initial conditions, corresponding to the initial HGL. This includes the
inactive volume below the affective volume, when using the "constant area
approximation" tank calculation model.
Note: The "atmospheric pressure head" field is not used during the
transient simulation. The transient calculation engine assumes
an atmospheric pressure head of 1 atm or 10.33 m.
• HGL on/HGL off - Exposed when using the constant area approximation
method. The "HGL on" field is the lowest operational hydraulic grade desired,
and the "HGL off" is the highest operational hydraulic grade desired. Corre-
sponding controls should be entered to turn the pump on and off during an EPS
simulation. Note that typically a transient simulation will use steady state initial
conditions, so these fields are not considered; only the steady state HGL and user-
entered gas volume are used to define the initial volume and head for the transient
simulation.
• Volume (effective) - Exposed when using the constant area approximation
method. Represents the volume between the HGL on and HGL off fields.
Both methods typically yield similar results within the "effective" control range, but
the gas law is technically more accurate.
• Diameter (Tank Inlet Orifice) - This is the size of the opening between the gas
vessel and the main pipe line. It is typically smaller than the main pipe size. It is
used to compute the correct velocity through the tank inlet, so the correct headloss
is computed based on the minor loss coefficient (the standard head loss equation is
used: Hl = K*V2/2g.)
• Diameter (Dipping Tube) - The diameter of the dipping or ventilation tube
within the hydropneumatic tank (only applicable for the Dipping Tube tank type).
• Volume (Compression Chamber) - The volume of the air around the dipping
tube that is compressed once the water level elevation exceeds the bottom of the
dipping tube.
• Air Flow Calculation Method - Specify whether the air valve air flow rate is
determined by user-entered curves of pressure vs. air flow rate, or whether it is
calculated based on a user-entered orifice diameter (not applicable for a sealed
hydropneumatic tank). The calculated Air Flow result attribute shown in the
detailed report shows the volumetric flow rate of air at the conditions present
inside the pipeline.
• Diameter (Air Inflow Orifice) - This is the equivalent orifice size of the opening
that allows air to enter the tank.
• Diameter (Air Outflow Orifice) - This is the equivalent orifice 1size of the
opening that allows air to leave the tank.
• Air Flow Curve (Air Inflow Orifice) - The curve that defines the rate of air
inflow (a 'free air' rate, measured at atmospheric pressure) into the tank versus the
differential pressure across the air valve.
• Air Flow Curve (Air Outflow Orifice) - The curve that defines the rate of air
outflow (a 'free air' rate, measured at atmospheric pressure) out of the tank versus
the differential pressure across the air valve.
• Elevation (Top of Dipping Tube) - The elevation of the top of the dipping tube
and the dipping tube-type hydropneumatic tank.
1.
• Minor Loss Coefficient (Outflow) - This is the 'k' coefficient for computing
headlosses using the standard headloss equation, H = kV2/2g. It represents the
headlosses for tank outflow. If you lump other minor losses through the tank
assembly (bends, fittings, contractions, etc) into this coefficient, keep in mind that
the velocity is calculated using the area of the "diameter (tank inlet orifice)" that
you entered.
• Ratio of Losses - This is the ratio of inflow to outflow headloss. For flows into
the tank (inflows), the "minor loss coefficient" is multiplied by this value and the
losses are computed using that. For flows out of the tank, HAMMER only uses the
"Minor Loss coefficient". So, if you enter a minor loss coefficient of 1.5 and a
ratio of losses of 2.5, the headloss coefficient used when the tank is filling would
be 1.5 X 2.5 = 3.75.
• Gas Law Exponent - refers to the exponent to be used in the gas law equation.
(the 'k' in PVk = constant) The usual range is 1.0 to 1.4. The default is 1.2.
• Volume of Gas (Initial) - When not using a bladder, the initial volume of gas is an
important attribute. This is a required input field, representing the volume of gas
inside the tank at the steady state pressure (initial conditions hydraulic grade
minus tank physical elevation). During the transient simulation, this gas volume
expands or compresses, depending on the transient pressures in the system. For
example, consider a 500 L tank with base elevation of 20 m and initial hydraulic
grade of 70 m. This means that the pressure head is ~50 m. So, the user needs to
decide how much space (volume) the entrapped gas pocket would take up, at this
pressure.
Note: If you are not specifying initial conditions and not treating the
tank as a junction, then the initial gas volume is not required and
the field will not show up. This is because it is either computed
from the initial conditions gas volume (which is the full tank
volume minus the initial liquid volume for a steady state) or
based on the preset pressure (if using the bladder option)
• Has Bladder? - Denotes whether the gas is contained within a bladder. If it is set
to "True", Bentley HAMMER automatically assumes that the bladder occupied
the full-tank volume at the preset pressure at some time and that the air volume
was compressed to a smaller size by the steady-state pressure in the system. The
"Volume of gas (initial)" is not used in this case, since it is calculated based on the
full tank size, preset pressure and steady state pressure.
• Pressure (Gas-Preset) - This is the pressure (not a hydraulic grade) in the gas
bladder before it is exposed to pipeline pressure; the pressure when it fills the
entire tank volume. Often called the "precharge" pressure; it is only exposed when
selecting "true" for "Has bladder?"
• Report Period - used to report extended results in the Transient Analysis Detailed
Report. Represents a timestep increment. For example, entering '10' would cause
extended results to be reported every 10 timesteps.
• Elevation Type - This allows you to specify the type of approach used in tracking
the gas-liquid interface (a new feature as of version 08.11.01.32). By default, the
liquid surface elevation is not tracked and is essentially assumed to be fixed, at the
tank physical bottom elevation. For more information on how this option is used
for tracking the liquid elevation, see Tracking the Air-Liquid Interface.
Fixed
This is the default option for the "Elevation Type" field and is consistent with the
behavior of previous versions (prior to 08.11.01.32). The liquid elevation is assumed
to be at a fixed location during the transient simulation, equal to the bottom of the
tank. The gas pressure used in the gas law equation is then equal to the hydraulic grade
line within the tank, plus the atmospheric pressure, minus the tank's base elevation.
This is acceptable for most cases, mainly because the elevation difference between the
range of possible liquid levels is typically quite small. So, it does not account for
much of a pressure difference. This can be observed by adjusting the "Elevation"
attribute in the tank properties.
Mean Elevation
Selecting "Mean Elevation" exposes the "Liquid Elevation (Mean)" field, which
allows you to specify a custom liquid (water surface) elevation, instead of assuming it
is equal to the tank bottom (as is with the "fixed" option). It represents the average
elevation of the liquid/gas interface throughout a transient simulation. This is useful in
cases where the liquid elevation is significantly higher than the tank bottom, but
doesn't move significantly during a transient simulation. So, although no tracking of
changes in liquid elevation occurs, it allows you to get a more accurate calculation in
some cases. The absolute gas pressure used in the gas law equation during the calcula-
tions based on the mean elevation that you enter.
Variable Elevation
Selecting "Variable Elevation" exposes the "Variable Elevation Curve" field, which
allows you to enter a table of liquid elevation versus equivalent diameter. The variable
level hydropneumatic tank type is for users who have detailed information about the
tank's geometry and want to perform as accurate a simulation as possible. Typically,
this type of representation would be selected in the detailed design stage. It would also
be appropriate in the case of low-pressure systems and/or relatively tall tanks with
large movements of the interface relative to the HGL of the gas. The initial liquid level
is determined from the initial gas volume which is an input parameter. The tank cross-
sectional area at any elevation is interpolated from an input table of the vessel's geom-
etry spanning the range from the pipe connection at the bottom to the top of the tank.
Reporting
The variable level hydropneumatic tank type is for users who have detailed informa-
tion about the tank's geometry and want to perform as accurate a simulation as
possible. Typically, this type of representation would be selected in the detailed
design stage. It would also be apropos in the case of low-pressure systems and/or rela-
tively tall tanks with large movements of the interface relative to the HGL of the gas.
The initial liquid level is determined from the initial gas volume which is an input
parameter. The tank cross-sectional area at any elevation is interpolated from an
input table of the vessel's geometry spanning the range from the pipe connection at the
bottom to the top of the tank.
The New button adds a new row to the table; the Delete button removes the currently
selected row from the table, and the Report button generates a preformatted report
displaying the Liquid Elevation vs. Diameter (Equivalent) data points for the current
elevation curve.
Acces this dialog by setting the hydropneumatic tank’s Elevation Type to Variable
Elevation and by clicking the ellipsis button in the Variable Elelvation Curve field.
Surge Valves
Surge Valve elements represent a surge-anticipator valve (SAV), a surge relief valve
(SRV), or both of them combined. A SAV opens on low pressure in anticipation of a
subsequent high pressure. A SRV opens when pressure exceeds a threshold value.
There are three optional valve configurations as defined by the attribute SAV/SRV
type: (1) Surge Anticipator Valve, (2) Surge Relief Valve, and (3) Surge Anticipator &
Relief Valve.
For the SAV, at full opening it's capacity is represented by the discharge coefficient
Cv, while the valve characteristics at partial openings are provided by the valve curves
discussed in Closing Characteristics of Valves (note that there is no user-specified
valve currently provided for the SAV).
Check Valves
There are several types of check valves available for the prevention of reverse flow in
a hydraulic system. The simplest and often most reliable are the ubiquitous swing
check valves, which should be carefully selected to ensure that their operational char-
acteristics (such as closing time) are sufficient for the transient flow reversals that can
occur in the system. Some transient flow reversal conditions can occur very rapidly;
thus, if a check valve cannot respond quickly enough, it may slam closed and cause
the valve or piping to fail.
Check valves that have moving discs and parts of significant mass have a higher
inertia and therefore tend to close more slowly upon flow reversal. Check valves with
lighter checking mechanisms have less inertia and therefore close more quickly.
External counterweights present on some check valves (such as swing check valves)
assist the valve closing following stoppage of flow. However, for systems that experi-
ence very rapid transient flow reversal, the additional inertia of the counterweight can
slow the closing time of the valve. Spring-loaded check valves can be used to reduce
closing time, but these valves have higher head loss characteristics and can induce an
oscillatory phenomenon during some flow conditions.
It is important that the modeler understand the closing characteristics of the check
valves being used. For example, ball check valves tend to close slowly, swing check
valves close somewhat faster (unless they are adjusted otherwise), and nozzle check
valves have the shortest closing times. Modeling the transient event with closing times
corresponding to different types of check valves can indicate if a more expensive
nozzle-type valve is worthwhile.
• Open Time: Amount of time to open the valve, from the fully closed position,
after the specified Pressure (Threshold) value is exceeded. This establishes the
rate of opening if the valve’s closure is partial.
• Closure Time: Amount of time to close the valve, from the fully open position,
after reverse flow is sensed. This establishes the rate of opening if the valve’s
closure is partial.
• Allow Disruption of Operation?: Allows you to define whether an operation
(opening or closing) can be terminated prematurely due to a signal to reverse.
• Pressure (Threshold): The pressure difference between the upstream and down-
stream side that triggers the valve to (re)open the (closed) valve. If 0 is entered,
the valve (re)opens when the upstream pressure esceeds the downstream pressure.
Rupture Disks
A rupture disk node is located between two pipes. It is designed to fail when a speci-
fied threshold pressure is reached. This creates an opening in the pipe through which
flow can exit the system to atmosphere.
If the disk is intact, then this node is represented as a typical Junction. After the
threshold pressure is exceeded, it is presumed that the disk has blown off and the
liquid rushes out of the newly-created orifice discharging to atmosphere.
Models a point where flow leaves the pipe network and discharges to atmosphere.
There are three choices for the Discharge Element Type:
is described by the relation dXi / dt = - Qi, with the total volume X being the
summation over all branch volumes Xi. After the valve closes, it behaves like a
Junction element (and as a dead end junction if there is only a single branch
connected).
• Rating Curve - releases water from the system to atmosphere based on a custom-
izable rating curve relating head and flow. Below a certain value of head, the
discharge is zero; in stage-discharge relations, head is equivalent to level for
which the discharge increases with increasing level.
This element represents a fixed-diameter orifice which breaks pressure, useful for
representing choke stations on high-head pipelines.
This element functions either as a check valve that closes instantaneously and remains
closed when reverse flow occurs, or as a positive-acting leaf valve closing linearly
over the prescribed time. An ideal valve useful for verifying best-case assumptions or
representing motorized valves.
The head loss/discharge coefficient accounts for the vena contracta by means of a
formula for two-dimensional flow solved with the Schwartz-Christoffel transforma-
tion.
If the check valve closes, it remains shut independent of the pressure difference across
it. When the valve is closed, independent vapor pockets can exist on both sides of the
valve.
Surge Tanks
A surge tank (also known as a stand pipe) typically has a relatively small volume and
is located such that its normal water level is typically equal to the hydraulic grade line
at steady state. When low transient pressures occur, the tank feeds water into the
system by gravity to avoid subatmospheric pressure at the tank connection and
vicinity.
There are two different surge tank types, as defined in the attribute called Surge Tank
Type.
This node can operate in three distinct modes during a transient analysis: normal
(level between the top and the connecting pipe(s) at the bottom); weir overflow (level
at the top) with the cumulative volume being tracked and printed in the output log; and
drainage (level at the elevation of the connecting branch(es)).
If equipped with an optional check valve, it becomes a one-way surge tank which
supplies the pipeline with liquid whenever the adjacent head is sufficiently low (the
refilling operation is a slow process which is not represented in HAMMER). During
normal operation, the continuity equation applied to this node is dHT / dt = Q / A,
where HT is the tank level, A is the tank's cross-sectional area and Q = Qi is the net
inflow to the tank. At the mouth of the tank, there is a differential orifice with head
2
loss H = H – H T = bdQ 2gA 2 , where the subscripts T and or
or
refer to the tank and orifice, respectively, b is the head loss coefficient and d = di for
inflow (Q > 0) and -1 for outflow (Q < 0). By definition, d (known as the Ratio of
Losses in HAMMER) asserts that head losses are di times greater for inflow than for
outflow. A typical value of di is 2.5.
A user can optionally choose a Section type for the Simple Surge Tank. The choices
are: a). Circular - so a tank diameter is required; b). non-circular - so an equivalent
cross-sectional area is required; or c). variable area - where the cross-sectional area is
provided in a table as a function of elevation. Note that for variable area tanks there is
There are numerous modes of operation for differential surge tanks ranging from
drainage, with the entry of air into the pipeline, to overflow from the tank. Other
modes are distinguished by the riser level relative to the orifice elevation and the tank
level versus the top of the riser. For "normal" operation, the tank level is between the
orifice and the top of the riser. During a powerful upsurge, the upper riser will over-
flow into the tank to complement the orifice flow.
• Combination Air Valve (CAV)—is installed at local high points to allow air to
come into the system during periods when the head drops below the pipe elevation
and expels air from the system when water columns begin to rejoin. The presence
of air in the line limits subatmospheric pressures in the vicinity of the valve and
for some distance to either side, as shown on HAMMER profile graphs. Air can
also reduce high transient pressures if it is compressed enough to slow the water
columns prior to impact. This valve requires the following parameters:
– Initial Air Volume near the valve at the start of the simulation. The default
value is zero. If there is an initial air volume, pressure at the valve must be
equal to zero at the start of the simulation.
– Small Outflow Diameter is the size of the opening that releases air from the
system when the volume of air is less than the Transition Volume. This diam-
eter is typically small enough to throttle air flow, compressing any air
remaining in the system.
– Transitional Volume is the threshold volume of air at which the outflow
diameter changes between the smaller and bigger size. The default value of
this parameter is zero.
– Outflow Diameter is the size of the opening that releases air from the system
when the volume of air is greater than, or equal to, the Transition Volume.
This diameter is typically larger than the Small Outflow Diameter. Because it
is rare for this to throttle, the default value of this diameter is considered to be
infinite.
– Inflow Diameter is the size of the opening that lets air enter the system. This
diameter is typically large to allow the free entry of air without throttling. By
default, this diameter is considered infinite in HAMMER.
• Air Valve (Slow-Closing) between 2 Pipes—allows air into the system freely
when the head drops to below the pipe elevation and releases air and/or fluid from
the pipe when head increases again. Also known as a downsurge relief valve.
Unlike a CAV, the large outlet closes over a preset time period. This valve requires
the following parameters:
– Time to close the valve. Valve starts to close only when air begins to exit the
pipe. If air reenters, then the valve opens fully again.
– Diameter is the size of the valve opening for inflow and outflow.
- Diameter is not used by HAMMER but useful for display. Flow through
the valve is determined based on the Cv at Full Opening and valve type. It
is assumed that the percent of open-area curve for each valve type corre-
sponds to its Cv curve.
- Threshold Pressure is the critical pressure below which the SAV opens.
- Type of SAV provides five options: Needle, Circular Gate, Globe, Ball,
and Butterfly.
- Time to Open is the time required to open the SAV fully upon activation.
- Open Time is the time the SAV remains fully open (i.e., the time between
the valve's opening and closing phases).
- Time to Close is the time required to close the SAV fully. SAV must be
closed as soon as pressures are relieved to avoid developing too high a
return-flow velocity. SAV may not be able to close against extremely high
reverse-flow velocities for certain pilot configurations.
- CV at Full Opening refers to the valve coefficient, which is a function of
flow through the valve and the corresponding pressure drop across it.
– SAV/SRV between 2 Pipes—operates in the same way and requires the same
parameters as the SAV/SRV at End of 1 Pipe hydraulic element described
previously.
Other Tools
• Border tool
• Text tool
• Line tool.
You can add, move, and delete graphical annotations as you would with any network
element (see Manipulating Elements on page 4-301).
Border Tool
The Border tool adds rectangles to the drawing pane. Examples of ways to use the
Border tool include drawing property lines and defining drawing boundaries.
Text Tool
The text tool adds text to the drawing pane. Examples of ways to use the Text tool
include adding explanatory notes, titles, or labels for non-network elements. The size
of the text in the drawing view is the same as the size of labels and annotations. You
can define the size of text, labels, and annotation in the Drawing tab of the Tools >
Options dialog.
Line Tool
The Line tool is used to add lines and polylines (multi segmented lines) to the drawing
pane. Bentley HAMMER V8i can calculate the area inside a closed polyline. Exam-
ples of ways to use the Line tool include drawing roads or catchment outlines.
The pump and turbine characteristics used in Bentley HAMMER are defined in the
following files:
The 'QuadrantCurves.txt' file is available for users to enter their own data.
Both files contain characteristics for pump/turbine units of a particular specific speed.
When defining a pump or turbine in the HAMMER application itself, users should
select the closest available specific speed to the unit they are modeling.
If the actual pump or turbine characteristics are available, users should enter those
using them methods described in this document.
General
The files start with the following header:
Each file is then broken into two sections - one for pumps and one for turbines - as
indicated by the following lines in the file:
[PUMPS]
[TURBINES]
Pump Data
Pump data can be specified in one of two formats: circular format, or Suter format.
Details for the different formats are as follows.
Circular
The relative values of Q (flow) and N (speed) along lines of 100% head (QH and NH)
and 100% torque (QM and NM) are entered at a suitable interval throughout the entire
operating range of the pump. HAMMER can then use these curves to calculate the
values of head and torque for any values of Q and N using homologous relations.
The data file format is given below - fields in italics need to be replaced with appro-
priate values:
HEAD: NHD
QH,1 NH,1
QH,2 NH,2
. .
. .
QHNHD NH,NHD
TORQUE: NMD
QM,1 NM,1
QM,2 NM,2
. .
. .
QM,NMD NM,NMD
Where NHD and NMD are the number of head and torque data points respectively.
The discharges and speeds are given in percent (%) and are relative to the pump's
rated discharge and speed. The specific speed must be entered as an integer value so
that it can be correctly parsed to appear in the HAMMER user interface. Also note that
large positive and negative Flow, Speed pairs are recommended in order to properly
describe the asymptotes of the 4 quadrant curves.
An example of pump characteristics using this format is presented in the figure below:
Suter Format
An alternative file format uses a method attributed to Suter, described in Fluid Tran-
sients (Wylie & Streeter, 1978). In this format, pump characteristic data is presented in
terms of two angular functions, WH(x) and WB(x) which are determined using the
following relations:
HEAD: NHD
x1 WH1
x2 WH2
. .
. .
xNHD WHNHD
TORQUE: NMD
x1 WB1
x2 WB2
. .
. .
xNMD WBNMD
Where NHD and NMD are the number of head and torque data points respectively.
An example of pump characteristics entered using this format is given in the figure
below:
Turbines
The turbine data format is similar to that used for circular format for pumps, except
data is also required for different wicket gate positions. Suter format is not currently
supported for turbines. In addition, turbines in HAMMER are always expected to
operate in the first quadrant of operation (positive flow and positive speed).
NUMGATES: NG
. . .
. . .
. . .
. . .
. . .
. . .
Where NG represents the number of different wicket gate openings described in the
data; WGi represents a particular gate opening value; ND is the number of data points
for the associated gate opening value; H, Q and P represent head, flow and power
respectively (the first subscript of H, Q and P denotes wicket gate position index,
while the second one is the data index for that wicket gate position);
(a) WGi, Hi,j , Qi,j and Pi,j are in percent (%) relative to rated head, flow and power (H,
Q and P), or full gate opening (WG)
(d) WGi should be between 20% and 100% (inclusive). Below 20% gate opening,
HAMMER currently assumes a linear decrease in flow until the time the gate opening
equals 0%.
An example of turbine characteristics is given in the figue below (note: some data is
omitted so the figure can fit on a single page).
• Periodic Head/Flow Element using Head: A reservoir with the HGL determined
from the sinusoidal wave properties, or from the head pattern. Only the initial
(time zero) HGL is applied so that the steady state analysis will correspond to the
transient initial conditions.
• Periodic Head/Flow Element using Flow: A junction with demand determined
from the sinusoidal wave properties, or from the flow pattern. Only the initial
(time zero) flow is applied so that the steady state analysis will correspond to the
transient initial conditions.
• Air Valve: If the "Treat Air Valve as Junction" property is set to True the Air Valve
is loaded as a junction with no demand. If the "Treat Air Valve as Junction" prop-
erty is set to False, the air valve is loaded such that it opens the system to atmo-
sphere. This is most commonly used to simulate high points in pumped sewer
systems, so the default behavior is to treat the air valve as a junction.
• Hydropneumatic Tank: A hydropneumatic tank is loaded as a normal tank with
the properties of the tank being dictated by the tank calculation model that is used.
1. Click an element symbol on the Layout toolbar. The mouse cursor changes to the
element symbol you selected.
2. Click in the drawing pane to add the element to your model.
3. Click again to add another element of the same type to your model.
4. To add a different element, click on the desired element symbol in the Layout
toolbar, then click in the drawing pane.
5. To stop adding elements, right-click in the drawing pane to display a shortcut
menu, then click Done.
The layout tool is used to quickly add new elements to your model without having to
select a new element button on the Layout toolbar. When the layout tool is active, you
can right-click in the drawing pane to select different elements and pipes to add to the
model.
Layout Tool
Manipulating Elements
You can manipulate elements in your model in any one of the following ways:
• Assign isolation valves to pipes—This tool finds the nearest pipe for each of the
specified isolation valves and assigns the valve to that pipe. See Assign Isolation
Valves to Pipes Dialog Box.
• Batch split pipes—This tool allows you to split pipes with neighboring nodes that
are found within the specified tolerance. See Batch Pipe Split Dialog Box.
• Batch morph nodes—This tool allows you to morph a selected node type into
another type of node element as a batch operation. See Batch Morph.
• Merge nodes in close proximity—allows you to merge together nodes that fall
within a specified tolerance of one another. See Merge Nodes in Close Proximity.
• Select links adjacent to one or more nodes—This command lets you select all link
elements attached to one or more nodes. See Select Adjacent Links.
Note: You can change the selection color in the Options dialog box,
which is accessible by selecting Tools > Options.
Click the first element, then click additional elements while holding down Shift or
Ctrl.
To select all of the elements in your model, select Edit > Select All.
To select all elements of the same type (for example, all junction chambers), select
Edit > Select by Element, then click the desired element type.
All elements of the selected type appear in red, including connecting pipes.
Select Tool
Click the Select tool then click any blank space in the drawing pane.
or
or
To delete an element
or
Splitting Pipes
You may encounter a situation in which you need to add a new element in the middle
of an existing pipe.
– If you choose to split the pipe, the element 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 element. To do this, drag the
element into position along the pipe to be split, then right-click the node and select
Split <Pipe Label> from the shortcut menu (where <Pipe Label> is the name of the
pipe to be split).
Reconnect Pipes
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.
1. Right-click the pipe to be disconnected close to the end of the pipe nearest the end
that you want disconnected.
2. The pipe is now connected to the junction that it will remain connected to and
your mouse cursor. Hover the mouse cursor over the junction to which you would
like to connect the pipe and click the left mouse button. The pipe will now be
connected to this junction.
You can model curved pipes in Bentley HAMMER by using the Bend command,
which is available by right-clicking in the Drawing Pane when placing a link element.
Bentley HAMMER does not account for any additional head loss due to the curvature
because in most cases the increased head loss is negligible. If you feel the extra head
loss is significant, it is possible to increase the Manning's n value to account for such
losses.
1. Select the desired link element using the Layout button on the Layout toolbar.
2. Place the first segment of the curved pipe in your model, then right click and
select Bend from the shortcut menu.
3. Repeat Step 2 for each segment in the curved pipe. Be sure to insert bends to
clearly show the curved alignment.
4. When the curved pipe is complete, right click and select the next downstream
element.
The Assign Isolation Valves to Pipes tool finds the nearest pipe for each of the speci-
fied isolation valves and assigns the valve to that pipe.
Also process isolation When this box is checked, the assign operation
valves that already will also assign to the nearest pipe those valves
have an associated pipe that are already assigned to a pipe.
Allow assignment to When this box is checked, pipes that are marked
inactive pipes Inactive will not be ignored during the assignment
operation.
The relationship between an isolation valve and their referenced pipe is displayed in
the drawing pane with a dashed line, like this:
The Batch Pipe Split dialog allows you to split pipes with neighboring nodes that are
found within the specified tolerance.
Allow splitting with When this box is checked, nodes that are marked
inactive nodes Inactive will not be ignored during the split
operation.
Pipes will be split by every junction that falls within the specified tolerance. To
prevent unwanted pipe splits, first use the Network Navigator’s “Network Review >
Pipe Split Candidates” query to verify that the tolerance you intend to use for the
Batch Split operation will not include nodes that you do not want involved in the pipe
split operation.
We provide a number of Network Navigator queries that will help you find "potential"
problems (see Using the Network Navigator).
1. Review and clean up your model as much as possible prior to running the "batch
split" operation. Run the "duplicate pipes" and "nodes in close proximity" queries
first. (Click the View menu and select Queries. In the Queries dialog expand the
Queries-Predefined tree. The Duplicate Pipes and Nodes in Close Proximity
queries are found under the Network Review folder.)
2. Next, use the network navigator tool to review "pipe split candidates" prior to
running batch split.
a. Using the network navigator tool, run the "pipe split candidates" query to get
the list of potential batch split candidate nodes. Take care to choose an appro-
priate tolerance (feel free to run the query multiple times to settle on a toler-
ance that works best; jot down the tolerance that you settle on, you will want
to use that same tolerance value later when you perform the batch split opera-
tion).
b. Manually navigate to and review each candidate node and use the "network
navigator" remove tool to remove any nodes that you do not want to process
from the list.
c. After reviewing the entire list, use the network navigator "select in drawing"
tool to select the elements you would like to process.
d. Run the batch split tool. Choose the "Selection" radio button to only process
the nodes that are selected in the drawing. Specify the desired tolerance, and
press OK to proceed.
Batch Morph
This tool allows you to morph a selected node type into another type of node element
as a batch operation.
• All: All nodes in the model will be morphed to the specified Target Element
Type.
• Selection: Only the nodes that are currently selected in the drawing pane will be
morphed to the specified Target Element Type.
• Selection Set: Only those nodes that are contained within the selection set speci-
fied in the drop down list will be morphed to the specified Target Element Type.
Check the Allow Morphing of Inactive Nodes? box to include nodes set as Inactive
in the batch operation.
Finally, select the Target Element Type that the selected nodes will be morphed into.
Note: Users can morph junction elements into Isolation Valves using
two steps: First, morph the desired junctions into TCV's, GPV's,
or PBV's. Then use the Skelebrator "Inline Isolation Valve
Replacement" operation.
This dialog allows you to merge together nodes that fall within a specified tolerance of
one another.
To access the dialog, right-click one of the nodes to be merged and select the Merge
nodes in close proximity command.
Node to keep: Displays the node that will be retained after the merge operation.
Tolerance: Allows you to define the tolerance for the merge operation. Nodes that fall
within this distance from the "Node to keep" will be available in the "Nodes to merge"
pane.
Refresh: Refreshes the nodes displayed in the "Nodes to merge" pane. Click this
button after making a change to the tolerance value to update the list of nodes avail-
able for the merge operation.
Select nodes to merge: Toggle this button on to select the nodes that are selected in
the "Nodes to merge" pane in the drawing pane.
Nodes to merge: This pane lists the nodes that fall within the specified tolerance of
the "Node to keep". Nodes whose associated boxes are checked will be merged with
the Node to keep when the Merge operation is initiated.
Merge: Performs the merge operation using the nodes whose boxes are checked in the
"Nodes to merge" list.
This command allows you to select all link elements attached to one or more nodes.
To find all links adjacent to a single node, right-click the node and click the Select
Adjacent Links command.
You can also find all links adjacent to a group of selected nodes; with multiple nodes
selected in the drawing view, right-click one of them and click the Select Adjacent
Links command.
Double-click the element in the drawing pane. The Property Editor displays the
attributes of the selected element.
or
Select the element whose properties you want to edit, then select View > Properties
or click the Properties button on the Analysis toolbar.
Property Editor
The Property Editor is a contextual dialog box that changes depending on the status of
other dialog boxes. For example, when a network element is highlighted in the
drawing pane, the Property Editor displays the attributes and values associated with
that element. When one of the manager dialog boxes is active, the Property Editor
displays the properties pertaining to the currently highlighted manager element.
Attributes displayed in the Property Editor are grouped into categories. An expanded
category can be collapsed by clicking the minus (-) button next to the category
heading. A collapsed category can be expanded by clicking the plus (+) button next to
the category heading.
You can change the sorting to alphabetical by clicking the Search button and selecting
“Arrange Alphabetically”.
For the most efficient data entry in Text Box style fields, instead of clicking on the
Field, click on the label to the left of the field you want to edit, and start typing. Press
Enter to commit the value, then use the Up/Down keyboard arrows to navigate to the
next field you want to edit. You can then edit the field data without clicking the label
first; when you are finished editing the field data, press the Enter key, and proceed to
the next field using the arrow keys, and so on.
Find Element
The top section of the Property Editor contains the Find Element tool. The Find
Element tool is used to:
Property Search
You can search for a specific attribute by typing the name of the attribute into the
When you have entered one or more search terms, only those properties containing the
search term will be displayed in the property editor.
When the box contains search terms the Search button turns to a Clear button .
Click this button to clear the terms from the search box.
To match multiple items, enter the desired list of terms separated by semicolon
without spaces in between.
A maximum of 12 search terms are stored in the search box. Click the down arrow to
view the last 12 search terms that were used; clicking an entry in this list will make
that search term active.
Labeling Elements
When elements are placed, they are assigned a default label. You can define the
default label using the Labeling tab of the Tools > Options dialog.
You can also relabel elements that have already been placed using the Relabel
command in the element FlexTables.
Relabeling Elements
You can relabel elements from within the Property Editor.
To relabel an element
1. Select the element in the Drawing Pane then, if the Property Editor is not already
displayed, select View > Properties.
2. In the General section of the Property Editor, click in the Label field, then type a
new label for the element.
To use the Set Field Options dialog box, right-click any numerical field that has units,
then select Units and Formatting.
Date/Time Formats
You can pick from various predetermined date/time formats. The following is a list of
supported formats, and a sample of what the format will look like for 1 year, 1 month,
1 day, 1 hour, 1 minute, and one second into the simulation.
Choose View > Named Views to open the Named View dialog box.
Bentley HAMMER contains powerful features that let you view or analyze subsets of
your entire model. You can find these elements using the Network Navigator (see
Using the Network Navigator). The Network Navigator is used to choose a selection
set, then view the list of elements in the selection set or find individual elements from
the selection set in the drawing.
In order to use the Network Navigator, you must first create a selection set. There are
two ways to create a selection set:
• From a selection of elements—You create a new selection set in the Selection Sets
Manager, then use your mouse to select the desired elements in the drawing pane.
• From a query—Create a query in the Query Manager, then use the named query to
find elements in your model and place them in the selection set.
The Selection Sets Manager is used to create, edit, and navigate to selection sets. The
Selection Sets Manager consists of a toolbar and a list pane, which displays all of the
selection sets that are associated with the current project.
To open Selection Sets, click the View menu and select the Selection Sets command,
press <Ctrl+4>, or click the Selection Sets button on the View toolbar.
You can view the properties of a selection in the Property Editor by right-clicking the
selection set in the list pane and selecting Properties from the shortcut menu.
You use the Network Navigator to view the elements that make up a selection set.
1. Open the Network Navigator by selecting View > Network Navigator or clicking
the Network Navigator button on the View toolbar.
2. Select a selection set from the Selection Set drop-down list. The elements in the
selection set appear in the Network Navigator.
1. Select all of the elements you want in the selection set by either drawing a selec-
tion box around them or by holding down the Ctrl key while clicking each one in
turn.
2. When all of the desired elements are highlighted, right-click and select Create
Selection Set.
3. Type the name of the selection set you want to create, then click OK to create the
new selection set. Click Cancel to close the dialog box without creating the selec-
tion set.
4. Alternatively, you can open the Selection Set manager and click the New button
and select Create from Selection. Bentley HAMMER V8i prompts you to select
one or more elements.
This dialog box opens when you create a new selection set. It contains the following
field:
New selection set name Type the name of the new selection set.
You create a dynamic selection set by creating a query-based selection set. A query-
based selection set can contain one or more queries, which are valid SQL expressions.
1. In the Selection Sets Manager, click the New button and select Create from
Query. The Selection by Query dialog box opens.
2. Available queries appear in the list pane on the left; queries selected to be part of
the selection set appear in the list pane on the right. Use the arrow buttons in the
middle of the dialog to add one or all queries from the Available Queries list to the
Selected Queries list, or to remove queries from the Selected list.
– You can also double-click queries on either side of the dialog box to add them
to or remove them from the selection set.
The Selection by Query dialog box is used to create selection sets from available
queries. The dialog box contains the following controls:
Available Queries Contains all the queries that are available for your
selection set. The Available Columns list is
located on the left side of the dialog box.
Selected Queries Contains queries that are part of the selection set.
To add queries to the Selected Queries list, select
one or more queries in the Available Queries list,
then click the Add button [>].
1. Right-click the element to be added, then select Add to Selection Set from the
shortcut menu.
2. In the Add to Selection Set dialog box, select the selection set to which you want
to add the element.
3. Click OK to close the dialog box and add the element to the selected selection set.
Click Cancel to close the dialog box without creating the selection set.
1. Select all of the elements to be added by either drawing a selection box around
them, or by holding down the Ctrl key while clicking each one in turn.
2. When all of the desired elements are highlighted, right-click and select Add to
Selection Set.
3. In the Add to Selection Set dialog box, select the selection set to which you want
to add the element.
4. Click OK to close the dialog box and add the element to the selected selection set.
Click Cancel to close the dialog box without creating the selection set.
This dialog box opens when you select the Add to Selection Set command. It contains
the following field:
You can easily remove elements from a static selection set in the Selection Set
Element Removal dialog box.
1. Display the Selection Sets Manager by selecting View > Selection Sets or
clicking the Selection Sets button on the View toolbar.
2. In the Selection Sets Manager, select the desired selection set then click the Edit
button.
3. In the Selection Set Element Removal dialog box, find the element you want to
remove in the table. Select the element label or the entire table row, then click the
Delete button.
4. Click OK.
This dialog opens when you click the edit button from the Selection Sets manager. It is
used to remove elements from the selection set that is highlighted in the Selection
Sets Manager when the Edit button is clicked.
You can perform group-level deletions and reporting on elements in a selection set by
using the Select In Drawing button in the Selection Sets Manager.
1. Open the Selection Sets Manager by selecting View > Selection Sets or clicking
the Selection Sets button on the View toolbar.
2. In the Selection Sets Manager, highlight the selection set that contains elements
you want to delete.
3. Click the Select In Drawing button in the Selection Sets Manager to highlight all
of the selection set’s elements in the drawing pane.
– If there is only one selection set listed in the Selection Sets manager, you
don’t have to highlight it before clicking the Select In Drawing button.
4. Shift-click (hold down the Shift key and click the left mouse button) any selected
elements that you do not want to delete.
5. Right-click and select Delete. The highlighted elements in the selection set are
deleted from your model.
1. Open the Selection Sets Manager by selecting View > Selection Sets or clicking
the Selection Sets button on the View toolbar.
2. In the Selection Sets Manager, highlight the selection set that contains elements
you want to report on.
3. Click the Select In Drawing button in the Selection Sets Manager to highlight all
of the selection set’s elements in the drawing pane.
– If there is only one selection set listed in the Selection Sets manager, you
don’t have to highlight it before clicking the Select In Drawing button.
4. Shift-click (hold down the Shift key and click the left mouse button) any selected
elements that you do not want to include in the report.
5. Right-click and select Report. A report window displays the report.
To open the Network Navigator, click the View menu and select the Network Navi-
gator command, press <Ctrl+3>, or click the Network Navigator button on the
View toolbar.
Predefined Queries
Network
Network queries include “All Elements” queries for each element type, allowing you
to display all elements of any type in the Network Navigator.
Network Review
• Find Connected - Locates all the connected elements to the selected element in
the network.
• Find Adjacent Nodes - Locates all node elements connected upstream or down-
stream of the selected element or elements.
• Find Adjacent Links - Locates all link elements connected upstream or down-
stream of the selected element or elements.
• Find Disconnected - Locates all the disconnected elements in the network by
reporting all the elements not connected to the selected element.
• Find Shortest Path - Select a Start Node and a Stop Node. The query reports the
shortest path between the two nodes based upon the shortest number of edges.
• Trace Upstream - Locates all the elements connected upstream of the selected
downstream element.
• Trace Downstream - Locates all the elements connected downstream of the
selected upstream element.
• Isolate - Select an element that needs to be serviced. Run the query to locate the
nearest isolation valves. In order to service the element, this will identify where
shut off points and isolation valves are located.
• Find Initially Isolated Elements - Locates elements that are not connected or
cannot be reached from any boundary condition.
Input
Input Queries include a number of queries that allow you to find elements that satisfy
various conditions based on input data specified for them. Input queries include:
• Pipes with Hyperlinks - Locates all pipes that have one or more associated
hyperlinks.
• Nodes with Hyperlinks - Locates all nodes that have one or more associated
hyperlinks.
Results
Results Queries include a number of queries that allow you to find elements that
satisfy various conditions based on output results calculated for them. Results queries
include:
• Negative Pressures - Locates all nodes that have negative calculated pressure
results.
• Pumps Operating Out of Range - Locates all pumps whose Pump Exceeds
Operating Range? result attribute displays True.
• Pumps Cannot Deliver Flow or Head - Locates all pumps whose Cannot
Deliver Flow or Head? result attribute displays True.
• Valves Cannot Deliver Flow or Head - Locates all valves whose Cannot Deliver
Flow or Head? result attribute displays True.
• Empty Tanks - Locates all tanks whose Status (Calculated) result attribute
displays Empty.
• Full Tanks - Locates all tanks whose Status (Calculated) result attribute displays
Full.
• Off Pumps - Locates all pumps whose Status (Calculated) result attribute displays
Off.
• Closed Control Valves - Locates all control valves whose Status (Calculated)
result attribute displays Closed.
• Inactive Control Valves - Locates all control valves whose Status (Calculated)
result attribute displays Inactive.
• Closed Pipes - Locates all pipes whose Status (Calculated) result attribute
displays Closed.
• Failed Fire Flow Constraints - Locates all elements whose Satisfies Fire Flow
Constraints? result attribute displays False.
• Self-Cleansing Pipes - Locates all pipes that satisfy the user-defined criteria for
self-cleansing pipes (Shear Stress, Velocity, or Shear Stress and Velocity).
The Duplicate Labels query is accessed through View > Network Navigator > Queries
- Predefined > Input > Duplicate Labels.
This opens the following dialog where the user can control the behavior of the query:
The element type parameter enables the user to search for duplicate queries across all
elements or within a specific type of element.
Spot elevations are not included as a choice because duplicate spot elevations are not
usually problematic.
The second choice in the dialog enables the user to control whether blank labels
should be considered as duplicates.
The defaults for these parameters are to consider all elements and blank labels should
be considered.
The query returns a list of elements with duplicate labels with their ID and Type. The
user can highlight those elements in the drawing, zoom to individual elements and
modify them as desired.
It is important to distinguish between the Pressure Zone Manager and the Zone
Manager. The pressure zone manager identifies which elements are included within a
pressure zone. It is specific to the current scenario and is not a permanent property of
the elements. A Zone is a property that can be assigned to any element. It can be based
on any criteria you desire. Assignment of an element to a Zone based on what Pressure
Zone it is in can be performed by identifying a representative element within a pres-
sure zone and assigning that zone to every node element in the pressure zone. Zones
are further described here: Zones)
The Pressure Zone Manager identifies elements in a pressure zone, by starting at one
element and tracing through the network until it reaches a boundary element which
can include closed pipes, closed isolation valves, pumps or any control valve. You can
determine which types of elements can serve as pressure zone boundaries. Once all
elements within a pressure zone have been identified, the pressure zone manager
moves to an element outside of the pressure zone and searches for elements within
that pressure zone. This continues until all elements have been assigned to a zone or
are serving as zone boundaries.
You may find that the pressure zone manager has identified more pressure zones than
are in the system. This is due to the fact that the manager assigns all elements to a
pressure zone so that there are pressure zones for example, between the plant clearwell
and the high service pumps or between the reservoir node representing the ground-
water aquifer and the well pump. These "pressure zones" only contain a small number
of elements.
Start the pressure zone manager by selecting Analysis > Pressure Zone or clicking the
When the pressure zone manager opens, you will see a left pane which lists the
scenarios for which pressure zone studies have been set up. The first time, it will be
blank. In the right pane, You see the Summary tab which lists the scenarios for which
the pressure zone manager has been run and the number of pressure zones which were
identified in the run.
To begin a pressure zone study, select New from the top of the left pane, and then pick
which scenario will be used for the study. You can perform pressure zone studies for
any scenario.
Once the scenario has been selected, you can define which elements are to be used as
pressure zone boundary elements using the Options tab in the right pane. The user
choose from the following settings:
1. Always use
3. Do not use
5. (Control Valves Only) Use When Active - When this is selected as the default status
for a valve-type, elements of that valve-type will only be included as boundary nodes
in the Pressure Zone tracing if their Status (Initial) field is set to "Active", and will be
ignored otherwise.
6. (Control Valves Only) Use when Closed or Active - When this is selected as the
default status for a valve-type, elements of that valve-type will only be included as
boundary nodes in the Pressure Zone tracing if their Status (Initial) field is set to
"Active" or "Closed", and will be ignored otherwise.
It is also possible to specify that an individual element behave differently from the
default behaviors in the bottom right pane by clicking the Select from Drawing button
at the top of the table and picking the element from the drawing.
Zone Scope
Once the settings have been established, select the scenario to be run in the left pane.
Click the Zone Scope tab in the right pane.
The first choice in the Zone Scope tab is whether to identify pressure zones for the
entire network of a subset of the network. The default value is "Entire network".
If you want to run the pressure zone manager for a portion of the system, you should
select Network Subset from the drop down menu and then click on the box to the right
of the drop down arrow. This opens the drawing where you can make a selection using
the standard selection tools as shown below. The fourth button enables you to select
by drawing a polygon around the elements while the fifth button enables you to
choose a previously created selection set. Remember to Right click "Done" when
finished drawing the polygon.
Upon picking the green check mark, the Zone Scope dialog opens again, displaying
the elements selected.
You can now run the pressure zone identification part of the pressure zone manager.
However, if you want to associate pressure zones identified with Zones in the Zone
Manager, the bottom of the right pane is the place to make that association. Each Zone
is associated with a Representative Element - that is, an element that you are certain
will be in the pressure zone associated with the Zone. For example, if Tank A is in the
"Tank A Zone", then Tank A is a logical choice for the representative element. If a
zone is to be named after the PRV feeding the zone, it is best to relabel the node on the
downstream side of the PRV as something like "PRV Z Outlet" and choose that as the
representative element. You can access the Zone Manager by selecting the button at
the top of the lower right pane. All of the Zones in the Zone Manager are listed in the
column labeled Zone but you do not need to identify a representative element in each.
It is best to set up Zones before starting the pressure zone manager. In that way, the
drop down list under Representative Element on the Zone Scope tab (see below) will
be populated.
To identify pressure zones, select the Compute button (4th button on top of the left
pane). The pressure zone manager runs and prepares statistics on each pressure zone
as shown below.
Overall Results
For each pressure zone, the number of nodes, the number of boundary (isolation)
elements, the number of pipes, the length of pipe in the zone, the volume of water in
the zone and the color associated with the zone in the drawing are displayed in the top
right pane.
The lower portion of the right pane provides information on the individual elements in
each pressure zone indicating the pipes and nodes in each zone and the pipes and
nodes that serve as boundaries each in their own tab. You can also create selection sets
corresponding to elements in each pressure zone by picking a pressure zone in the
center pane (called Label), and then clicking the Create a Selection Set button on top
of the lower right pane.
At this point, the pressure zones are labeled Pressure Zone - x, where x is a number
indicating the order in which the pressure zone was identified. These pressure zones
can be associated with the Zones using the fifth button, Export Pressure Zone. This
opens up the Export dialog which lists the Zones that will be associated with the pres-
sure zones based on representative elements.
The options at the bottom of the dialog control whether the Zone assignments that will
be made will overwrite existing Zone assignments.
After selecting OK, each element in a pressure zone that has a representative element
is assigned the Zone name associated with that representative element.
The fourth button performs a flow balance on each pressure zone. For each Pressure
Zone, it displays the Zone (if one is associated with the pressure zone), net inflow
(flow across the boundaries but not including flow originating from tanks and reser-
voirs in the pressure zone), the demand in that zone, the minimum and maximum
elevations in the pressure zone, the minimum and maximum hydraulic grade lines in
the pressure zone, and the minimum and maximum pressure in the pressure zone. If
the scenario is not steady state, then the results correspond to the current time step.
The lower pane displays the flow through each boundary element. If the hydraulics
have not been calculated for this system, a message is given that the model needs to be
calculated.
For more information, see Pressure Zone Flow Balance Tool Dialog Box.
The sixth button color codes the drawing by pressure zone. Each zone is colored
according to the color displayed in the rightmost column of the table. In the image
below, the main zone is blue, the red zone is boosted through a pump, the magenta
zone is a reduced zone fed through a PRV and the green zone is a well.
Other buttons such as Report, Refresh, Export to Selection Set, Zoom to and Copy
behave as they do for other Bentley HAMMER features.
This dialog allows you to associate pressure zones with zones using representative
elements.
The table of export data contains a row for each pressure zone, as well as a row for the
boundary elements. The first column specifies the pressure zone. The second column
specifies the zone, specified by you, to assign the elements of the pressure zone to.
This comun consists of pull-down menus containing all of the model's zones. Addi-
tionally, there is an ellipsis (...) button that will bring up the Zone Manager if you need
to add/remove/modify the model's zones (see Zones for more information). The third
column is informational. It lists the representative element for the selected zone,
which is specified in the Pressure Zone Manager (see Using the Pressure Zone
Manager).
The special <Boundary Elements> pressure zone contains all of the boundary
elements for every pressure zone. The other pressure zones each contain all of the
elements in that pressure zone, excluding the boundary elements that seal off that
pressure zone.
If you do not assign a zone to each pressure zone in the table before clicking the OK
button, a warning will appear prompting you to do so.
The two Options radio buttons are mutually exclusive. "Overwrite Existing Zones"
specifies that all elements in the pressure zones will be assigned to the corresponding
zone chosen in the table. "Only Update Unassigned Zones" specifies that only those
elements in the pressure zone that are not currently assigned to any zone will be
assigned to the corresponding zone in the table. The exception is the <Boundary
Elements> pressure zone, which will always be exported as if the "Overwrite Existing
Zones" option is selected.
The "Highlight Pressure Zone In Drawing" toolbar button causes the elements of the
pressure zone in the current row of the table to be highlighted in the drawing. This
option gives allows you to see what elements are going to be affected by the export
operation.
The Flow Balance Tool dialog box allows you to perform a flow balance and/or a
volume balance on each pressure zone.
For each Pressure Zone, it displays the Zone (if one is associated with the pressure
zone), net inflow (flow across the boundaries but not including flow originating from
tanks and reservoirs in the pressure zone) or net volume, the demand in that zone, the
minimum and maximum elevations in the pressure zone, the minimum and maximum
hydraulic grade lines in the pressure zone, and the minimum and maximum pressure
in the pressure zone.
The Report button allows you to generate a preformatted report containg all of the
data displayed in the tabels.
The Copy buttons (above the Pressure Zones and Boundary Elements tables) will
copy the contents of the table to the clipboard in a format that is compatible with
spreadsheet programs like Excel.
The Highlight Pressure Zone In Drawing button will toggle on/off highlighting of the
the pressure zone for the currently active row in the Pressure Zone table.
For Volume balance, the sum of the flows over the run is found using the following
formula:
Where:
The value of Qi is the net flow into the pressure zone at the start of the i-th time step.
ti is the difference in time between the start and end of that time step (because of
pump cycling, the time step size changes).
Using Prototypes
Prototypes allow you to enter default values for elements 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 12-inch pipes, use the Prototype
manager to set the Pipe Diameter field to 12 inches. When you create a new pipe in
your model, its diameter attribute will default to 12 inches.
• From the Prototypes manager: The Prototypes manager consists of a toolbar and a
list pane, which displays all of the elements available in Bentley HAMMER.
• From the Drawing Pane: Right-click an element to use the settings and attributes
of that element as the current prototype.
Note: Changes to the prototypes are not retroactive and will not affect
any elements created prior to the change.
or
Press <Ctrl+6>
or
The list of elements in the Prototypes manager list pane is expandable and collapsible,
once you’ve created additional prototypes. Click on the Plus sign to expand an
element and see its associated prototypes. Click on the Minus sign to collapse the
element.
Each element in the list pane contains a default prototype; you cannot edit this default
prototype. The default prototypes contain common values for each element type; if
you add elements to your model without creating new prototypes, the data values in
the default prototypes appear in the Property Editor for that element type.
3. Select the element type for which you want to create a prototype, then click New.
The list expands to display all the prototypes that exist for that element type.
Each element type contains a default prototype, which is not editable, and any
prototypes that you have created. The current set of default values for each
element type is identified by the Make Current icon.
4. Double-click the prototype you just created. The Property Editor for the element
type opens.
5. Edit the attribute values in the Property Editor as required.
6. To make the new prototype the default, click the Make Current button in the
Prototypes Manager.
The icon next to the prototype changes to indicate that the values in the prototype
will be applied to all new elements of that type that you add to your current
project.
7. Perform the following optional steps:
– To rename a prototype, select the prototype in the list and click the Rename
button.
– To delete a prototype, select the prototype in the list and click the Delete
button.
– To view a report of the default values in the prototype, select the prototype in
the list and click the Report button.
1. Right-click the element you want to act as the current proptotype for newly
created elements of that type.
2. Select Create Prototype from the context menu.
3. Enter a name for the new prototype in the Create New Prototype dialog that
appears.
4. Click OK.
Zones
The Zones manager allows you to manipulate zones quickly and easily. Zones listed in
the Zones 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 a toolbar.
or
Delete—Deletes an existing zone. You can hold down the Ctrl key while clicking on
items in the list to select multiple entries at once.
Engineering Libraries
Engineering Libraries are powerful and flexible tools that you use to manage specifi-
cations of common materials, objects, or components that are shared across projects.
Some examples of objects that are specified through engineering libraries include
constituents, pipe materials, patterns, and pump definitions.
You can modify engineering libraries and the items they contain by using the Engi-
neering Libraries command in the Components menu.
You work with engineering libraries and the items they contain in the Engineering
Libraries dialog box, which contains all of the project’s engineering libraries. Indi-
vidual libraries are compilations of library entries along with their attributes.
By default, each project you create in Bentley HAMMER uses the items in the 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 standard library or creating a new
library.
When you change the properties for an item in an engineering library, those changes
affect all projects that use that library item. At the time a project is loaded, all of its
engineering library items are synchronized to the current library. Items are synchro-
nized based on their label. If the label is the same, then the item’s values will be made
the same.
The default libraries that are installed with Bentley HAMMER V8i are editable. In
addition, you can create a new library of any type and can then create new entries of
your own definition.
Note: The data for each engineering library is stored in an XML file in
your Bentley HAMMER V8i program directory. We strongly
recommend that you edit these files only using the built-in tools
available by selecting Tools > Engineering Libraries.
When you select a library entry in the tree view, the attributes and attribute values
associated with the entry are displayed in the editor pane on the right side of the dialog
box.
Right-clicking a Library icon in the tree view opens a shortcut menu containing the
following commands:
Add Existing Library Adds an existing engineering library that has been
stored on your hard drive as an .xml file to the
current project.
Right-clicking a Category icon in the tree view opens a shortcut menu containing the
following commands:
Right-clicking a Folder icon in the tree view opens a shortcut menu containing the
following commands:
Right-clicking a Library Entry icon in the tree view opens a shortcut menu containing
the following commands:
The Engineering Libraries dialog box contains an explorer tree-view pane on the left,
a library entry editor pane on the right, and the following icons above the explorer tree
view pane:
You can share engineering libraries with other Bentley HAMMER users in your orga-
nization by storing the engineering libraries on a network drive. All users who will
have access to the shared engineering library should have read-write access to the
network folder in which the library is located.
This dialog allows you to define pattern curves for the Air Flow Curve Engineering
Library.
The following buttons are located above the curve points table on the left:
• Delete—Deletes the currently highlighted row from the curve points table.
• Time From Start—Lets you specify the amount of time from the Start Time of
the pattern to the time step point being defined.
• Relative Closure—The percentage closed the valve is at the associated time.
This dialog allows you to define pattern curves for the Air Flow Curve Engineering
Library.
The following buttons are located above the curve points table on the left:
• Delete—Deletes the currently highlighted row from the curve points table.
• Time From Start—Lets you specify the amount of time from the Start Time of
the pattern to the time step point being defined.
• Multiplier—Lets you specify the multiplier value associated with the time step
point.
This dialog allows you to define pattern curves for the Air Flow Curve Engineering
Library.
The following buttons are located above the curve points table on the left:
• Delete—Deletes the currently highlighted row from the curve points table.
This dialog allows you to define pattern curves for the Air Flow Curve Engineering
Library.
The following buttons are located above the curve points table on the left:
• Delete—Deletes the currently highlighted row from the curve points table.
• Time From Start—Lets you specify the amount of time from the Start Time of
the pattern to the time step point being defined.
• Relative Closure—The percentage closed the valve is at the associated time.
Hyperlinks
The Hyperlinks feature is used to associate external files, such as pictures or movie
files, with elements. You can Add, Edit, Delete, and Launch hyperlinks from the
Hyperlinks manager.
To use hyperlinks, choose Tools > Hyperlinks. The Hyperlinks dialog box opens. The
dialog box contains a toolbar and a tabular view of all your hyperlinks.
Once you have created Hyperlinks, you can open the Hyperlinks dialog box from
within a Property dialog box associated with that Hyperlink.
Click the ellipsis (...) in the Hyperlinks field and the Hyperlinks dialog box opens.
To Add a Hyperlink
2. Click New to add a hyperlink. The Add Hyperlink dialog box opens.
7. Click OK.
You can add more than one associated file to an element using the hyperlink
feature, but you must add the associations one at a time.
To Edit a Hyperlink
2. Select the element to edit and click Edit. The Edit Hyperlink dialog box opens.
3. Click the ellipsis (...) to browse to a new file to associate with the hyperlink.
4. Add a description.
5. Click OK
To Delete a Hyperlink
To Launch a Hyperlink
Hyperlinks can be launched from the Hyperlinks dialog box, the Add Hyperlink
dialog box, and from the Edit Hyperlink dialog box. Launch in order to view the
image or file associated with the element, or to run the program associated with the
element.
2. Select the element and click on the Hyperlinks icon. The hyperlink will launch.
Note: Click to open the Add or Edit dialog boxes and click Launch to
open from there.
Using Queries
A query in Bentley HAMMER V8i is a user-defined SQL expression that applies to a
single element type. You use the Query Manager to create and store queries; you use
the Query Builder dialog box to construct the actual SQL expression.
• Project queries—Queries you define that are available only in the Bentley
HAMMER V8i project in which you define them.
• Shared queries—Queries you define that are available in all Bentley HAMMER
V8i projects you create. You can edit shared queries.
• Predefined queries—Factory-defined queries included with Bentley HAMMER
V8i that are available in all projects you create. You cannot edit predefined
queries.
• Create dynamic selection sets based on one or more queries. For more informa-
tion, see To create a Selection Set from a Query.
• Filter the data in a FlexTable using a query. For more information, see Sorting and
Filtering FlexTable Data.
• You can use predefined queries in the Network Navigator. See Using the Network
Navigator for more details.
Queries Manager
The Queries manager is a docking manager that displays all queries in the current
project, including predefined, shared, and project queries. You can create, edit, or
delete shared and project queries from within the Queries Manager, as well as use it to
select all elements in your model that are part of the selected query.
To open the Queries manager, click the View menu and select the Queries command,
The Queries manager consists of a toolbar and a tree view, which displays all of the
queries that are associated with the current project.
Creating Queries
A query is a valid SQL expression that you construct in the Query Builder dialog box.
You create and manage queries in the Query Manager. You also use queries to filter
FlexTables and as the basis for a selection set.
1. Choose View > Queries or click the Queries icon on the View toolbar, or press
<CTRL+5>.
2. Perform one of the following steps:
– To create a new project query, highlight Queries - Project in the list pane,
then click the New button and select Query.
– To create a new shared query, highlight Queries - Shared in the list pane,
then click the New button and select Query.
Note: You can also right-click an existing item or folder in the list pane
and select New > Query from the shortcut menu.
3. In the Select Element Type dialog box, select the desired element type from the
drop-down menu. The Query Builder dialog box opens.
4. All input and results fields for the selected element type appear in the Fields list
pane, available SQL operators and keywords are represented by buttons, and
available values for the selected field are listed in the Unique Values list pane.
Perform the following steps to construct your query:
a. Double-click the field you wish to include in your query. The database
column name of the selected field appears in the preview pane.
b. Click the desired operator or keyword button. The SQL operator or keyword
is added to the SQL expression in the preview pane.
c. Click the Refresh button above the Unique Values list pane to see a list of
unique values available for the selected field. Note that the Refresh button is
disabled after you use it for a particular field (because the unique values do
not change in a single query-building session).
d. Double-click the unique value you want to add to the query. The value is
added to the SQL expression in the preview pane.
Note: You can also manually edit the expression in the preview pane.
e. Click the Validate button above the preview pane to validate your SQL
expression. If the expression is valid, the word “VALIDATED” is displayed in
the lower right corner of the dialog box.
f. Click the Apply button above the preview pane to execute the query. If you
didn’t validate the expression, the Apply button validates it before executing
it.
g. Click OK.
Example Query
To create a query that finds all pipes with a diameter greater than 8 inches and less
than or equal to 12 inches you would do the following:
1. In the Queries dialog, click the New button and select Query.
2. In the Queries - Select Element Type dialog, select Pipe and click OK.
3. In the Query Builder dialog, click the () (Parentheses) button.
4. Double-click Diameter in the Fields list.
5. Click the > (Greater Than) button.
6. Click the Refresh button above the Unique Values list. Double-click the value 8.
7. In the Preview Pane, click to the right of the closing parenthesis.
8. Click the And button.
9. Click the () (Parentheses) button.
10. Double-click Diameter in the Fields list.
11. Click the <= (Less Than or Equal To) button.
12. Double-click the value 12 in the Unique Values list.
See Using the Like Operator for more examples of query usage and syntax.
The top part of the dialog box contains all the controls you need to construct your
query: a list pane displaying all available attributes for the selected element type, an
SQL control panel containing available SQL keywords and operators, and list view
that displays all the available values for the selected attribute. The bottom part of the
dialog box contains a preview pane that displays your SQL expression as you
construct it.
See Using the Like Operator for some examples of query usage and syntax.
All the dialog box controls are described in the following table.
Note: If you receive a Query Syntax Error message notifying you that
the query has too few parameters, check the field name you
entered for typos. This message is triggered when the field name
is not recognized.
Note: The user data does not affect the hydraulic model calculations.
However, their behavior concerning capabilities like editing,
annotating, sorting and database connections is identical to any
of the standard pre-defined attributes.
User data extensions exhibit the same characteristics as the predefined 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, viewed and edited
in the Property Editor or in FlexTables, included in tabular reports or element detailed
reports, annotated in the drawing, color coded, and reported in the detailed element
reports.
Note: The terms “user data extension” and “field” are used
interchangeably here. In the context of the User Data Extension
feature, these terms mean the same thing.
You define user data extensions in the User Data Extensions dialog box.
3. Click the New button to create a new user data extension. A user data extension
with a default name appears under the element type. You can rename the new field
if you wish.
4. In the properties pane on the right, enter the following:
– Type the name of the new field. This is the unique identifier for the field. The
name field in the Property Editor is the name of the column in the data source.
– Type the label for the new field. This is the label that will appear next to the
field for the user data extension in the Property Editor for the selected element
type. This is also the column heading if the data extension is selected to
appear in a FlexTable.
– Click the Ellipses (...) button in the Category field, then use the drop-down
menu in the Select Category dialog box to select an existing category in which
the new field will appear in the Property Editor. To create a new category,
simply type the category name in the field.
– Type a number in the Field Order Index field. This is the display order of
fields within a particular category in the Property Editor. This order also
controls the order of columns in Alternative tables. An entry of 0 means the
new field will be displayed first within the specified category.
– Type a description for the field. This description will appear at the bottom of
the Property Editor when the field is selected for an element in your model.
You can use this field as a reminder about the purpose of the field.
– Select an alternative from the drop-down menu in the Alternative field. This is
the alternative that you want to extend with the new field.
– Select a data type from the drop-down menu in the Data Type field.
- If you select Enumerated, an Ellipses (...) button appears in the Default
Value field. Enumerated user data extensions are fields that present
multiple choices.
– Enter the default value for the new field. If the data type is Enumerated, click
the Ellipses (...) button to display the Enumeration Editor dialog box, where
you define enumerated members.
– To share the new field among two or more element types, select the user data
extension in the list pane, then click the Sharing button or right-click and
select Sharing. In the Shared Field Specification dialog box, select the check
box next to the element or elements that will share the user data extension.
The icon next to the user data extension changes to indicate that it is a shared
field. For more information, see Sharing User Data Extensions Among
Element Types on page 4-383.
– To delete an existing user data extension, select the user data extension you
want to delete in the list pane, then click the Delete button, or right-click and
select Delete.
– To rename the display label of an existing user data extension, select the user
data extension in the list pane, click the Rename button or right-click and
select Rename, then type the new display label.
– To expand the list of elements and view all user data extensions, click the
Expand All button.
– To collapse the list of elements so that no user data extensions are displayed,
click the Collapse All button.
6. Click OK to close the dialog box and save your user data extensions. The new
field(s) you created will appear in the Property Editor for every instance of the
specified element type in your model.
The User Data Extensions dialog box displays a summary of the user data extensions
associated with the current project. The dialog box contains a toolbar, a list pane
displaying all available Bentley HAMMER element types, and a property editor.
The property editor section of the dialog contains following fields, which define your
new user data extension:
Attribute Description
General
Name The unique identifier for the field. The name field in the
Property Editor is the name of the column in the data source.
Label The label that will appear next to the field for the user data
extension in the Property Editor for the selected element type.
This is also the column heading if the data extension is
selected to appear in a FlexTable.
Category The section in the Property Editor for the selected element
type in which the new field will appear. You can create a new
category or use an existing category. For example, you can
create a new field for junctions and display it in the Physical
section of that element’s Property Editor.
Field Order The display order of fields within a particular category in the
Index Property Editor. This order also controls the order of columns
in Alternative tables. An entry of 0 means the new field will be
displayed first within the specified category.
Field The description of the field. This description will appear at the
Description bottom of the Property Editor when the field is selected for an
element in your model. You can use this field as a reminder
about the purpose of the field.
Referenced Displays all the element types that are using the field. For
By example, if you create a field called "Installation Date" and you
set it up to be shared, this field will show the element types that
share this field. So for example, if you set up a field to be
shared by junctions and catch basins, the Referenced By field
would show "Manhole, Catch Basin".
Attribute Description
Units
Data Type Specifies the data type for the user data extension. Click the
down arrow in the field then select one of the following data
types from the drop-down menu:
• Integer—Any positive or negative whole number.
• Real—Any fractional decimal number (for example, 3.14).
It can also be unitized with the provided options.
• Text—Any string (text) value up to 255 characters long.
• Long Text—Any string (text) up to 65,526 characters long.
• Date/Time—The current date. The current date appears
by default in the format month/day/year. Click the down
arrow to change the default date.
• Boolean—True or False.
• Enumerated—When you select this data type, an Ellipses
button appears in the Default Value field. Click the
Ellipses (...) button to display the Enumeration Editor
dialog box, where you can add enumerated members and
their associated values. For more information, see
Enumeration Editor Dialog Box on page 4-385.
Default Value The default value for the user data extension. The default
value must be consistent with the selected data type. If you
chose Enumerated as the data type, click the Ellipses (...)
button to display the Enumeration Editor.
Dimension Specifies the unit type. Click the drop-down arrow in the field to
see a list of all available dimensions. This field is available only
when you select Real as the Data Type.
Storage Unit Specifies the storage units for the field. Click the drop-down
arrow in the field to see a list of all available units; the units
listed change depending on the Dimension you select. This
field is available only when you select Real as the Data Type.
Numeric Selects a number format for the field. Click the drop-down
Formatter arrow in the field to see a list of all available number formats;
the number formats listed change depending on the Dimension
you select. For example, if you select Flow as the Dimension,
you can select Flow, Flow - Pressurized Condition, Flow
Tolerance, or Unit Load as the Numeric Formatter. This field is
available only when you select Real as the Data Type.
You can share user data extensions across multiple element types in Bentley
HAMMER. Shared user data extensions are displayed in the Property Editor for all
elements types that share that field.
The icons displayed next to the user data extensions in the User Data Extensions
dialog box change depending on the status of the field:
• You can select any number of element types with which to share the field. The list
is limited to element types that support the Alternative defined for the Field. For
example, the Physical Alternative may only apply to five of the element types. In
this case, you will only see these five items listed in the Alternative drop-down
menu.
• You cannot use the sharing feature to move a field from one element type to
another. Validation is in place to ensure that only one item is selected and if it is
the same as the original, default selection. If it is not, a message appears telling
you that when sharing a field, you must select at least two element types, or select
the original element type.
• To unshare a field that is shared among multiple element types, right-click the user
data extension you want to keep in the list pane, then select Sharing. Clear all the
element types that you do not want to share the field and click OK. If you leave
only one element type checked in the Shared Field Specification dialog box, it
must be the original element type for which you created the user data extension.
– The fields that were located under the tank and pipe element type root nodes
will be removed completely.
– You can also unshare a field by using the Delete button or right-clicking and
selecting Delete. This will unshare and delete the field.
1. Open the User Data Extensions dialog box by selecting Tools > User Data Exten-
sions.
2. In the list pane, create a new user data extension to share or select an existing user
data extension you want to share, then click the Sharing button.
3. In the Shared Field Specification dialog box, select the check box next to each
element type that will share the user data extension.
4. Click OK.
5. The icon next to the user data extension in the list pane changes to indicate that it
is a shared field.
Select element types to share a user data extension in the Shared Field Specification
dialog box. The dialog box contains a list of all possible element types with check
boxes.
Select element types to share the current user data extension by selecting the check
box next to the element type. Clear a selection if you no longer want that element type
to share the current field.
The Enumeration Editor dialog box opens when you select Enumerated as the Data
Type for a user data extension, then click the Ellipses (...) button in the Default Value
field. Enumerated fields are fields that contain multiple selections - you define these
as members in the Enumeration Editor dialog box.
For example, suppose you want to identify pipes in a model of a new subdivision by
one of the following states: Existing, Proposed, Abandoned, Removed, and Retired.
You can define a new user data extension with the label “Pipe Status” for pipes, and
select Enumerated as the data type. Click the Ellipses (...) button in the Default Value
field in the Property Editor for the user data extension to display the Enumeration
Editor dialog box. Then enter five members with unique labels (one member for each
unique pipe status) and enumeration values in the table. After you close the User Data
Extensions dialog box, the new field and its members will be available in the Property
Editor for all pipes in your model. You will be able to select any of the statuses
defined as members in the new Pipe Status field.
You can specify an unlimited number of members for each user data extension, but
member labels and values must be unique. If they are not unique, an error message
appears when you try to close the dialog box.
• New—Adds a new row to the table. Each row in the table represents a unique
enumerated member of the current user data extension.
• Delete—Deletes the current row from the table. The enumerated member defined
in that row is deleted from the user data extension.
Define enumerated members in the table, which contains the following columns:
The Import dialog box opens after you initiate an Import command and choose the
xml file to be imported. The Import dialog displays all of the elements contained
within the selected xml file. Uncheck the boxes next to a domain element to ignore
them during import.
This dialog allows you to define formulas for use with the Real (Formula) User Data
Extension type.
You construct the formula using the available fields, operators, and functions. All the
dialog box controls are described in the following table.
Customization Profiles can be created for a single project or shared across projects.
There are also a number of predefined profiles.
This dialog box allows you to edit the customization profiles that are created in the
Customization Manager. In the Customization editor you can turn off the visibility of
various properties in the Property Grid.
You can turn off any number of properties and/or entire categories of properties in a
single customization profile.
Tooltip Customization
Tooltip customization allows you to define what data is displayed in the tooltip that
appears when you hover over an element in the drawing pane.
Tooltip Customization settings can be created for a single project or shared across
projects. There are also a number of predefined profiles.
This dialog allows you to define the tooltip customizations on a per-element basis.
On the left is a list of all of the element types. If the box for an element type is
unchecked, no tooltip will be displayed for that element type.
Highlight an element type to define the tooltip in the pane on the upper right. You can
type in the field or use the Append button to select from a number of predefined vari-
ables. After a tooltip using these variables has been defined, these variables will be
populated with the associated values in the drawing pane after the model has been
calculated.
The Preview pane displays an example of how the tooltip will look.
i-Models
The term “i-models” is used to describe a type of Bentley file (container) which can be
used to share data between applications. The formal definition of an i-model is:
i-models can be thought of as similar to shapefiles in that they provide ways to share
data. They are immutable in that they cannot be modified (they are read-only). They
reflect the state of the model file at the time the i-model was created.
i-model support is built on Bentley technology and is not automatically installed with
Bentley HAMMER or other hydraulic products. The software to use i-models is
installed with Microstation and other Microstation based products (versions 08.11.07
or later). If a user attempts to create an i-model and the support for i-model creation is
not installed, an error message to download and install the necessary files is issued.
The i-model files can be installed from the Bentley SELECTdownload site.
An i-model can contain all the elements and their properties for a model for a given
scenario and time-step or the information can be filtered so that only a fraction of the
elements and their properties are incorporated in the i-model.
An i-model is generally much smaller than the .sqlite file for the hydraulic model even
though it does contain results.
For details on publishing and viewing i-models, see Publishing an i-model and
Viewing an i-model.
Publishing an i-model
To create an i-model, select File > Export > Publish i-model once the desired scenario
and time-steps have been selected.
The following dialog opens with the defaults set so that all elements and properties are
included in the i-model.
The top left pane is a summary of this element types are to be included in the i-model.
If a box by the element type is checked, that element type is included. The Table/Prop-
erties column reflects the selections on the right side of the dialog in terms of which
elements and properties are included.
The bottom left portion of the dialog is used to identify which elements are to be
included in the i-model. This can be specified individually for each element type.
If the "Publish a subset of elements based on the Flex Table filters" box is checked,
only those elements that are in the filtered flex table will be included in the i-model.
If the "Exclude topologically inactive elements" box is checked, only active elements
(Is active? = True) are included in the i-model.
The user will usually not need to include all element properties in the i-model. The
right side of the dialog is to identify which properties of the elements are going to be
included in the i-model. The default is "all properties". If the user wants to only
include a subset of properties, the user should create a flex table with only those prop-
erties and select that flex table from the drop down list. Because it is possible to have
multiple flex tables with the same name (e.g. Pipe Table can be a predefined table or a
Project table), the user can explicitly state the table path (e.g. Tables - Predefined or
Tables - Project). If the flex table is filtered, the filter is displayed in the Filter box and
in the left pane, the Is Filtered column is set to True for that element type.
The Properties box on the right side of the dialog shows the properties that are
imported for that element type.
If the box for "Publish project elements in 3D" is selected, the elements will be
published in 3D.
Node cells' z-coordinates are assigned according to their elevation values, at their
cell's insertion point.
• Pipe elevations in gravity applications have more details to be aware of (e.g. rim,
invert and crown elevations).
• References and any extra graphics published (e.g. annotations) are assigned a z-
coordinate of 0.0.
When all settings are established for all element types, the user picks OK.
Upon starting the publishing, the user is asked for the file name for the .dgn file that
will contain the i-model. The user names the file and path as with any other Windows
application.
Viewing an i-model
It is anticipated that numerous applications will be able to view and use i-models.
Initially, i-models can be view using
• Bentley View
• ProjectWise Navigator
• Microstation
If the model is not visible, pick the "Fit View" button. This should make the model
visible. From this view, it is possible to use other commands such as zooming and
panning to navigate around the drawing.
To view the properties of individual elements, pick the Element Information button or
pick Edit > Information in Bentley View or Review > Information in ProjectWise
Navigator. The user can then select an element and its properties will be displayed.
In Microstation and Navigator, it is also possible to view tabular element data for each
element type by selecting File > Item browser. This opens the Items browser for
element types as shown below:
Double clicking on one of the element types or picking the "Show Details" button
from the top of the dialog, opens a table for that element type.
If the tree is expanded before selecting Show Details and an individual element is
selected, the user will see properties for the selected element.
Using ModelBuilder, you map the tables and fields contained within your data source
to element types and attributes in your Bentley HAMMER model. The result is that a
Bentley HAMMER model is created. ModelBuilder can be used in any of the Bentley
HAMMER V8i platforms - Stand-Alone, MicroStation mode, AutoCAD mode, or
ArcGIS mode.
Note: ModelBuilder lets you bring a wide range of data into your
model. However, some data is better suited to the use of the
more specialized Bentley HAMMER modules. For instance,
LoadBuilder offers many powerful options for incorporating
loading data into your model.
ModelBuilder is the first tool you will use when constructing a model from GIS data.
The steps that you take at the outset will impact how the rest of the process goes. Take
the time now to ensure that this process goes as smoothly and efficiently as possible:
• Get familiar with your data—ModelBuilder supports several data source types,
including tabular and geometric. Tabular data sources include spreadsheets, data-
bases, and other data sources without geometric information. Some supported
tabular data source types include Microsoft Excel, and Microsoft Access files.
Geometric data sources, while also internally organized by tables, include
geometric characteristics such as shape type, size, and location. Some supported
geometric data source types include the major CAD and GIS file types
If you obtained your model data from an outside source, you should take the time
to get acquainted with it in its native platform. For example, review spatial and
attribute data directly in your GIS environment. Do the nodes have coordinate
information, and do the pipes have start and stop nodes specified? If not, the best
method of specifying network connectivity must be determined.
Contact those involved in the development of the GIS to learn more about the GIS
tables and associated attributes. Find out the purpose of any fields that may be of
interest, ensure that data is of an acceptable accuracy, and determine units associ-
ated with fields containing numeric data.
Ideally, there will be one source data table for each Bentley HAMMER element
type. This isn’t always the case, and there are two other possible scenarios:
Many tables for one element type—In this case, there may be several tables in
the datasource corresponding to a single GEMS modeling element, component, or
collection. In this case each data source table must be individually mapped to the
Bentley HAMMER table type, or the tables must be combined into a single table
from within its native platform before running ModelBuilder.
One table containing many element types—In this case, there may be entries
that correspond to several Bentley HAMMER table types in one datasource table.
You should separate these into individual tables before running ModelBuilder.
The one case where a single table can work is when the features in the table are
ArcGIS subtypes. ModelBuilder handles these subtypes by treating them as sepa-
rate tables when setting up mappings. See Subtypes for more information.
Note: If you are working with an ArcGIS data source, note that
ModelBuilder can only use geodatabases, geometric networks,
and coverages in ArcGIS mode. See ESRI ArcGIS Geodatabase
Support for additional information.
• Preparing your data—When using ModelBuilder to get data from your data
source into your model, you will be associating rows in your data source to
elements in Bentley HAMMER. Your data source needs to contain a Key/Label
field that can be used to uniquely identify every element in your model. The data
source tables should have identifying column labels, or ModelBuilder will inter-
pret the first row of data in the table as the column labels. Be sure data is in a
format suited for use in ModelBuilder. Where applicable, use powerful GIS and
Database tools to perform Database Joins, Spatial Joins, and Update Joins to get
data into the appropriate table, and in the desired format.
Note: When working with ID fields, the expected model input is the
Bentley HAMMER ID. After creating these items in your Bentley
HAMMER model, you can obtain the assigned ID values directly
from your Bentley HAMMER modeling file. Before synchronizing
your model, get these Bentley HAMMER IDs into your data
source table (e.g., by performing a database join).
To access ModelBuilder: Click the Tools menu and select the ModelBuilder
The ModelBuilder Connections manager allows you to create, edit, and manage
ModelBuilder connections to be used in the model-building/model-synchronizing
process. Each item in this manager represents a "connection" which contains the set of
directions for moving data between a source to a target. ModelBuilder connections are
not stored in a particular project, but are stored in an external xml file, with the
following path:
At the center of this window is the Connections List which displays the list of
connections that you have defined.
The set of buttons on the left of the toolbar allow you to manage your connections:
After initiating a Build or Sync command, ModelBuilder will perform the selected
operation. During the process, a progress-bar will be displayed indicating the step that
ModelBuilder is currently working on.
When ModelBuilder completes, you will be presented with a summary window that
outlines important information about the build process. We recommend that you save
this summary so that you can refer to it later.
Note: Because the connections are stored in a separate xml file rather
than with the project file, ModelBuilder connections are
preserved even after Bentley Bentley HAMMER is closed.
This dialog allows you to specify the datasource associated with the ModelBuilder
connection that is currently highlighted in the ModelBuilder connections manager.
Click the Browse button and select the datasource file.
The 64 bit version of this Bentley software requires the "64-bit Access Database
Engine" (not included with this Bentley software) to be able to support newer MSOf-
fice file formats which can be used in ModelBuilder and SCADAConnect. If you do
not have a compatible version of the Access Database Engine installed and wish to
connect to these data sources, either download and install the 64-bit Access Database
Engine from Microsoft using the following link: http://www.microsoft.com/enus/
download/details.aspx?id=13255 or alternatively, use the 32 bit version of the soft-
ware, which can be accessed from C:\Program Files
(x86)\Bentley\HAMMER\Hammer.exe, which supports these formats without
requiring additional components.
ModelBuilder Wizard
The ModelBuilder Wizard assists in the creation of ModelBuilder connections. The
Wizard will guide you through the process of selecting your data source and mapping
that data to the desired input of your model.
In this step, the data source type and location are specified. After selecting your data
source, the desired database tables can be chosen and previewed.
• Data Source type (drop-down list)—This field allows you to specify the type of
data you would like to work with.
Note: If your specific data source type is not listed in the Data Source
type field, try using the OLE DB data source type. OLE DB can be
used to access many database systems (including ORACLE, and
SQL Server, to name a few).
• Data Source (text field)—This read-only field displays the path to your data
source.
• Browse (button)—This button opens a browse dialog box that allows you to inter-
actively select your data source.
Note: Some Data Source types expect you to choose more than one
item in the Browse dialog box. For more information, see Multi-
select Data Source Types.
• Table/Feature Class (list)—This pane is located along the left side of the form
and lists the tables/feature classes that are contained within the data source. Use
the check boxes (along the left side of the list) to specify the tables you would like
to include.
Tip: The list can be resized using the split bar (located on the right
side of the list).
• Duplicate Table (button) —The duplicate table button is located along the
top of the Table/Feature Class list. This button allows you to make copies of a
table, which can each be mapped to a different element type in your model. Use
this in conjunction with the WHERE clause.
• Remove Table (button) —The remove table button can be used to remove a
table from the list.
• WHERE Clause (field)—Allows you to create a SQL query to filter the tables.
When the box is checked, only tables that meet the criteria specified by the
WHERE clause will be displayed. Click the button to validate the query and
to refresh the preview table.
• Preview Pane—A tabular preview of the highlighted table is displayed in this
pane when the Show Preview check box is enabled.
Note: If both nodes and pipes are imported in the same ModelBuilder
connection, nodes will be imported first regardless of the order
they are listed here.
In this step you will specify the spatial options to be used during the ModelBuilder
process. The spatial options will determine the placement and connectivity of the
model elements. The fields available in this step will vary depending on the data
source type.
• Specify the Coordinate Unit of your data source (drop-down list)—This field
allows you to specify the coordinate unit of the spatial data in your data source.
The default unit is the unit used for coordinates.
• Create nodes if none found at pipe endpoint (check box)—When this box is
checked, ModelBuilder will create a pressure junction at any pipe endpoint that:
a) doesn’t have a connected node, and b) is not within the specified tolerance of an
existing node. This field is only active when the Establish connectivity using
spatial data box is checked. (This option is not available if the connection is
bringing in only point type geometric data.)
ModelBuilder will not create pipes unless a valid start/stop node exists. Choose
this option if you know that there are nodes missing from your source data. If you
expect your data to be complete, then leave this option off and if this situation is
detected ModelBuilder will report errors for your review. For more information
see Specifying Network Connectivity in ModelBuilder.
• Establish connectivity using spatial data (check box)—When this box is
checked, ModelBuilder will connect pipes to nodes that fall within a specified
tolerance of a pipe endpoint. (This option is available if the connection is bringing
in only polyline type geometric data.) Use this option, when the data source does
not explicitly name the nodes at the end of each pipe. For more information, see
Specifying Network Connectivity in ModelBuilder.
• Tolerance (numeric field)—This field dictates how close a node must be to a pipe
endpoint in order for connectivity to be established. The Tolerance field is only
available when the Establish connectivity using spatial data box is checked. (This
option is available if the connection is bringing in only polyline type geometric
data.) Tolerances should be set as low as possible so that unintended connections
are not made. If you are not sure what tolerance to use, try doing some test runs.
Use the Network Review queries to evaluate the success of each trial import.
Note: Pipes will be connected to the closest node within the specified
tolerance.
Because of the variety of different data sources and they way those sources were
created, the user has a wide variety of options to control the behavior of Model-
Builder.
How would you like to handle synchronization between source and destination?:
Note: These options listed above apply to elements (pipes and nodes)
as well as support elements (such as Zones or Controls).
• How would you like to import incoming data? (drop-down list) - This refers to
the scenario (and associated alternatives) into which the data will be imported.
The user can import the data into the Current Scenario or a new child scenario. If
the latter is selected, a new child scenario (and child alternatives) will be created
for any data difference between the source and the active scenario.
• Specify key field used during object mapping (drop-down list) - The key field
represents the field in the model and data source that contains the unique identifier
for associating elements in your model to records in your data source. Refer to the
"Key Field (Model)" topic in the next section for additional guidance on how this
setting applies to ModelBuilder. ModelBuilder provides three choices for Key
Field:
– Label - The element "Label" will be used as the key for associating model
elements with data source records. Label is a good choice if the identifier
field in your data-source is unique and represents the identifier you commonly
use to refer to the record in your GIS.
– <custom> - Any editable text field in your model can be used as the key for
associating model elements with data source records. This is a good choice if
you perhaps don't use labels on every element, or if perhaps there are dupli-
cate labels in your data source.
– GIS-ID - The element "GIS-ID" field will be used as the key for associating
model elements with data source elements. The GIS-ID field offers a number
of advanced capabilities, and is the preferred choice for models that you plan
to keep in sync with your GIS over a period of time.
Refer to the section The GIS-ID Property for more information.
The following options only apply when using the advanced GIS-ID key field option.
• If several elements share the same GIS-ID, then apply updates to all of them?
(check box) - When using the GIS-ID option, ModelBuilder allows you to main-
tain one-to-many, and many-to-one relationships between records in your GIS and
elements in your Model.
For example, you may have a single pipe in your GIS that you want to maintain as
multiple elements in your Model because you have split that pipe into two pipes
elements in the model. You may accomplish this using the native Bentley
HAMMER layout tools to split the pipe with a node; the newly created pipe
segment will be assigned the same GIS-ID as the original pipe (establishing a one-
to-many relationship). By using this option, when you later synchronize from the
GIS into your model, any data changes to the single pipe record in your GIS can
be cascaded to both pipes elements in your model (e.g. so a diameter change to a
single record in the GIS would be reflected in both elements in the model).
– Prompt before cascading updates (check box) - When this box is checked,
ModelBuilder will pause during model generation to present a confirmation
message box to the user each time a cascading update is about to be applied.
Note: This setting only applies if the "Remove objects from destination
if missing from source" option is checked.
In this step, data source tables are mapped to the desired modeling element types, and
data source fields are mapped to the desired model input properties. You will assign
mappings for each Table/Feature Class that appears in the list; Step 1 of the wizard can
be used to exclude tables, if you wish.
• Tables (list)-This pane, located along the left side of the dialog box, lists the data
source Tables/Feature Classes to be used in the ModelBuilder process. Select an
item in the list to specify the settings for that item.
Note: The tables list can be resized using the splitter bar.
There are two toolbar buttons located directly above Tables list (these buttons can
be a great time saver when setting up multiple mappings with similar settings).
• Settings Tab-The Settings tab allows you to specify mappings for the selected
item in the Tables list.
The top section of the Settings tab allows you to specify the common data
mappings:
– Table Type (drop-down list)-This field, which contains a list of all of the
Bentley HAMMER/Hammer element types, allows you to specify the target
modeling element type that the source table/feature class represents. For
example, a source table that contains pipe data should be associated with the
Pressure Pipe element type.
There are three categories of Table Types: Element Types, Components, and
Collections. For geometric data sources, only Element Types are available.
However with tabular data sources all table types can be used. The catego-
rized menu accessed by the [>] button assists in quicker selection of the
desired table type.
- Element Types-This category of Table Type includes geometric elements
represented in the drawing view such as pipes, junctions, tanks, etc.
- Components-This category of Table Type includes the supporting data
items in your model that are potentially shared among elements such as
patterns, pump definitions, and controls.
- Collections-This category of Table Type includes table types that are
typically lists of 2-columned data. For instance, if one table in your
connection consists of a list of (Time From Start, Multiplier) pairs, use a
Pattern collection table type selection.
– Key Fields - This pair of key fields allows you to control how records in your
data source are associated with elements in the model. The Key Fields
element mapping consists of two parts, a data-source part and a model part:
- Key Field (Data Source) (drop-down list)-Choose the field in your data
source that contains the unique identifier for each record.
For one-time model builds -- if you do not have a field that can be
used to uniquely identify each element -- you may use the
<label> field (which is automatically generated by ModelBuilder
for this purpose).
Note: You can define a text User Data Extensions property for use as
your <custom> model key field.
The following optional fields are available for Pipe element types:
- Start/Stop - Select the fields in a pipe table that contain the identifier of
the start and stop nodes. Specify <none> if you are using the spatial
connectivity support in ModelBuilder (or if you want to keep connectivity
unchanged on update). For more information, see Specifying Network
Connectivity in ModelBuilder.
Note: The Coordinate Unit setting in Step 2 of the wizard allows you to
specify the units associated with these fields.
The bottom section of the Settings tab allows you to specify additional data
mappings for each field in the source.
- Field - Field refers to a field in the selected data source. The Field list
displays the associations between fields in the database to properties in
the model.
- Property (drop-down list)-Property refers to a Bentley Bentley
HAMMER property. Use the Property drop-down list to map the high-
lighted field to the desired property.
- Unit (drop-down list)-This field allows you to specify the units of the
values in the database (no conversion on your part is required). This field
only applies if the selected model property is unitized.
• Preview Tab-The Preview tab displays a tabular preview of the currently high-
lighted source data table when the Show Preview check box is checked.
1. In the Field list, select the data source field you would like to define a mapping
for.
2. In the Property drop-down list, select the desired Bentley Bentley HAMMER
target model property.
3. If the property is unitized, specify the unit of this field in your data source in the
Unit drop-down list.
In this step, you are prompted to build a new model or update an existing model.
To build a new model, click the Yes radio button under Would you like to build the
model now?.
If you choose No, you will be returned to the ModelBuilder Manager dialog. The
connection you defined will appear in the list pane. To build the model from the
ModelBuilder Manager, highlight the connection and click the Build Model button.
Create Selection Set options: Often a user wants to view the elements that have been
affected by a ModelBuilder operation. To do this, ModelBuilder can create selection
sets which the user can view and use within the application.
• To create a selection set containing the elements added during the ModelBuilder,
check the box next to "Create selection set with elements added."
• To create a selection set containing the elements for which the properties or geom-
etry were modified during the ModelBuilder, check the box next to "Create selec-
tion set with elements modified."
Refer to the Using the Network Navigator and Manipulating Elements topics for
information about reviewing and correcting model connectivity issues.
After clicking the Browse button to interactively specify your data source, use stan-
dard Windows selection techniques to select all items you would like to include in the
connection (e.g., Ctrl+click each item you would like to include).
• ModelBuilder Warnings
• ModelBuilder Error Messages
ModelBuilder Warnings
ModelBuilder was unable to set the direction of the referenced pump or valve
because direction could not be implied based on the adjacent pipes (e.g. there
should be one incoming and one outgoing pipe).
6. Unable to create < element>; pipe start and stop must be different.
This message indicates that the start and stop specified for this pipe refer to the
same node element.
7. Unable to update <element> topology; pipe start and stop must be different.
This message indicates that the start and stop specified for this pipe refer to the
same node element.
8. Unable to update the downstream edge for <element>.
An unexpected error occurred attempting to set the downstream edge for this
pump or valve.
9. Nothing to do. Some previously referenced tables may be missing from your data
source.
This data source has changed since this connection was created. Verify that tables/
feature-classes in your data source have not been renamed or deleted.
10. One or more input features fall outside of the XYDomain.
This error occurs when model elements have been imported into a new geodata-
base that has a different spatial reference from the elements being created.
Elements cannot be created in ArcMAP if they are outside the spatial bounds of
the geodatabase.
The solution is to assign the correct X/Y Domain to the new geodatabase when it
is being created:
1. In the Attach Geodatabase dialog that appears after you initialize the Create New
Project command, click the Change button.
2. In the Spatial Reference Properties dialog that appears, click the Import button.
3. Browse to the datasource you will be using in ModelBuilder and click Add.
4. Back in the Spatial Reference Properties dialog, click the X/Y Domain tab. The
settings should match those of the datasource.
5. Use ModelBuilder to create the model from the datasource.
• Geodatabase Features
• Geometric Networks
• ArcGIS Geodatabase Features versus ArcGIS Geometric Network
• Subtypes
• SDE (Spatial Database Engine)
Geodatabase Features
The geodatabase stores objects. These objects may represent nonspatial real-world
entities, such as manufacturers, or they may represent spatial objects, such as pipes in
a network. Objects in the geodatabase are stored in feature classes (spatial) and tables
(nonspatial).
The objects stored in a feature class or table can be organized into subtypes and may
have a set of validation rules associated with them. The ArcInfo™ system uses these
validation rules to help you maintain a geodatabase that contains valid objects.
Tables and feature classes store objects of the same type—that is, objects that have the
same behavior and attributes. For example, a feature class called WaterMains may
store pressurized water mains. All water mains have the same behavior and have the
attributes ReferenceID, Depth, Material, GroundSurfaceType, Size, and Pressur-
eRating.
Geometric Networks
ModelBuilder has support for Geometric Networks, and a new network element type
known as Complex Edge. When you specify a Geometric Network data source,
ModelBuilder automatically determines the feature classes that make up the network.
In addition, ModelBuilder can automatically establish model connectivity based on
information in the Geometric Network.
When working with a Geometric Network, you have two options for constructing your
model—if your model contains Complex Edges, then there is a distinct difference. A
Complex Edge can represent a single feature in the Geodatabase, but multiple
elements in the Geometric Network.
For example, when defining your Geometric Network, you can connect a lateral to a
main without splitting the main line. In this case, the main line will be represented as a
single feature in the Geodatabase but as multiple edges in the Geometric Network.
Depending on the data source type that you choose, ModelBuilder can see either
representation. If you want to include every element in your system, choose ArcGIS
Geometric Network as your data source type. If you want to leave out laterals and you
want your main lines to be represented by single pipes in the model, choose ArcGIS
Geodatabase Features as your data source type.
Subtypes
If multiple types of Bentley HAMMER elements have their data stored in a single
geodatabase table, then each element must be a separate ArcGIS subtype. For
example, in a valve table PRVs may be subtype 1, PSVs may be subtype 2, FCVs may
be subtype 3, and so on. With subtypes, it is not necessary to follow the rule that each
GIS/database feature type must be associated with a single type of GEMS model
element. Note that the subtype field must be of the integer type (e.g., 1, 2) and not an
alphanumeric field (e.g., PRV). For more information about subtypes, see ArcGIS
Help.
ModelBuilder has built in support for subtypes. After selecting your data source,
feature classes will automatically be categorized by subtype. This gives you the ability
to assign mappings at the subtype level. For example, ModelBuilder allows you to
exclude a particular subtype within a feature class, or associate each subtype with a
different element type.
ModelBuilder lets you specify an SDE Geodatabase as your data source. See your
ESRI documentation for more information about SDE.
• Explicit connectivity—based on pipe Start node and Stop node (see Step 3 -
Specify Element Create/Remove/Update Options).
• Implicit connectivity—based on spatial data. When using implicit connectivity,
ModelBuilder allows you to specify a Tolerance, and provides a second option
allowing you to Create nodes if none found (see Step 2—Specify Spatial
Options).
The method that you use will vary depending on the quality of your data. The possible
situations include (in order from best case to worst case):
• You have pipe start and stop information—Explicit connectivity is definitely the
preferred option.
• You have some start and stop information—Use a combination of explicit and
implicit connectivity (use the Spatial Data option, and specify pipe Start/Stop
fields). If the start or stop data is missing (blank) for a particular pipe, Model-
Builder will then attempt to use spatial data to establish connectivity.
• You do not have start and stop information—Implicit connectivity is your only
option. If your spatial data is good, then you should reduce your connectivity
Tolerance accordingly.
• You do not have start and stop information, and you do not have any node data
(e.g., you have GIS data that defines your pipes, but you do not have data for
nodes)—Use implicit connectivity and specify the Create nodes if none found
option; otherwise, the pipes cannot be created.
Other considerations include what happens when the coordinates of the pipe ends do
not match up with the node coordinates. This problem can be one of a few different
varieties:
1. Both nodes and pipe ends have coordinates, and pipes have explicit Start/
Stop nodes—In this case, the node coordinates are used, and the pipe ends are
moved to connect with the nodes.
2. Nodes have coordinates but pipes do not have explicit Start/Stop nodes—The
nodes will be created, and the specified tolerance will be used to connect pipe
ends within this tolerance to the appropriate nodes. If a pipe end does not fall
within any node’s specified tolerance, a new node can be created using the Create
nodes if none found option.
3. Pipe ends have coordinates but there are no junctions—New nodes must be
created using the Create nodes if none found option. Pipe ends are then
connected using the tolerance that is specified. . Subsequent pipe ends could then
connect to any newly added nodes if they fall within the specified tolerance.
Another situation of interest occurs when two pipes cross but aren’t connected. If, at
the point where the pipes cross, there are no pipe ends or nodes within the specified
tolerance, then the pipes will not be connected in the model. If you intend for the pipes
to connect, then pipe ends or junctions must exist within the specified tolerance.
Refer to the Using the Network Navigator and Manipulating Elements topics for
information about reviewing and correcting model connectivity issues.
Here are two examples of possible data source tables. The first represents data that is
in the correct format for an easy transition into ModelBuilder, with no modification.
The second table will require adjustments before all of the data can be used by Model-
Builder.
P-2 110 8 75 2 1
In Data Format Needs Editing for ModelBuilder, no column labels have been speci-
fied. ModelBuilder will interpret the first row of data in the table as the column labels,
which can make the attribute mapping step of the ModelBuilder Wizard more difficult
unless you are very familiar with your data source setup.
Correct Data Format for ModelBuilder is also superior to Data Format Needs Editing
for ModelBuilder in that it clearly identifies the units that are used for unitized
attribute values, such as length and diameter. Again, unless you are very familiar with
your data source, unspecified units can lead to errors and confusion.
Finally, Data Format Needs Editing for ModelBuilder is storing the Material and
Subtype attributes as alphanumeric values, while ModelBuilder uses integer ID values
to access this input. This data is unusable by ModelBuilder in alphanumeric format,
and must be translated to an integer ID system in order to read this data.
ModelBuilder can take advantage of this GIS-ID property, and has advanced logic for
keeping your model and GIS source file synchronized across the various model to GIS
associations.
The GIS-ID is a unique field in the source file which the user selects when Model-
Builder is being set up. In contrast to using Label (which is adequate if model
building is a one time operation) as the key field between the model and the source
file, a GIS-ID has some special properties which are very helpful in maintaining long
term updating of the model as the data source evolves over time.
In addition, Bentley HAMMER will intelligently maintain GIS-ID as you use the
various tools to manipulate elements (Delete, Morph, Split, Merge Nodes in Close
Proximity).
• When an element with one or more GIS-IDs is deleted, ModelBuilder will not
recreate it the next time a synchronization from your GIS occurs if the "Recreate
elements associated with a GIS-ID that was previously deleted from the model"
option is left unchecked.
• When an element with one or more GIS-IDs is morphed, the new element will
preserve those GIS-IDs. The original element will be considered as "deleted with
GIS-IDs", which means that it will not be recreated by default (see above).
• When a link is split, the two links will preserve the same GIS-IDs the original pipe
had. On subsequent ModelBuilder synchronizations, any data-change occurring
for the associated record in the GIS can be cascaded into all the split link segments
(see ModelBuilder - additional options).
• When nodes in close proximity are merged, the resulting node will preserve the
GIS-IDs of all the nodes that were removed. On subsequent ModelBuilder
synchronizations into the model, if there are data-update conflicts between the
records in the GIS associated with the merged node in the model, updates from the
first GIS-ID listed for the merged node will be preserved in the model. Note that
in this case, the geometry of the merged node can't be updated in the model. For
synchronizations going from the model to the GIS, data-updates affecting
merged-nodes can be cascaded into all the associated records in the GIS (see
ModelBuilder - additional options).
• If the GIS-ID collection is empty, there is no association between the GIS and this
element.
• If there is a single entry, this element is associated with one record in the GIS.
• If there are multiple entries, this element is associated with multiple records in the
GIS.
• More than one element in the model can have the same GIS-ID, meaning multiple
records on the model are associated with a single record in the GIS.
Note: You can also manually edit the GIS-ID property to review or
modify the element to
GIS association(s).
This dialog box allows you to assign one or more GIS-IDs to the currently selected
element.
Column names are not case sensitive. Column names that contain a space must be
enclosed in brackets:
Brackets are optional for columns names that do not contain a space.
Supported comparison operators are: <, >, <=, >=, <>, =, IN and LIKE.
Multiple logical statements can be combined by using AND, OR and NOT operators.
Parentheses can be used to group statements and enforce precedence.
is valid, while:
is not.
Pump definition information can be extracted from an external data source using
ModelBuilder.
Most of this importing is accomplished by setting up mappings under the Pump Defi-
nition Table Type. However, to import multipoint head, efficiency or speed vs. effi-
ciency curves, the tabular values must be imported under Table Types: Pump
Definition - Pump Curves, Pump Definition - Flow-Efficiency Curve, and Pump
Definition - Speed-Efficiency Curve respectively.
The list of properties that can be imported under Pump Definition is given below. The
only property in the list that is required is a Key or Label. Most of the properties are
numerical values.
• BEP Efficiency
• BEP Flow
• Define BEP Max Flow?
• Design Flow
• Design Head
• GemsID (imported)
• Is Variable Speed Drive?
• Max Extended Flow
• Max Operating Flow
• Max Operating Head
• Motor Efficiency
• Notes
• Pump Definition Type (ID)
• Pump Definition Type (Label)
• Pump Efficiency
• Pump Efficiency (ID)
• Pump Efficiency (Label)
• Pump Power
• Shutoff Head
• User Defined BEP Max Flow
Those properties that are text such as Pump Efficiency and Pump Definition Type are
alphanumeric and must be spelled correctly. For example Standard (3 Point) must be
spelled exactly as shown in the Pump Definition drop down. Properties with a ques-
tion mark above, require a TRUE or FALSE value. Those with ID next to the name
are internal IDs and are usually only useful when syncing out from a model.
To import data, create a table in a data source (e.g. spreadsheet, data base), and then
create columns/fields for each of the properties to be imported. In Excel for example,
the columns are created by entering column headings in the first row of a sheet for
each of the properties. Starting with the second row in the table, there will be one row
for each pump definition to be imported.
Once the table is created in the source file, the file must be saved before it can be
imported.
In the Specify you data source step in the wizard, the user indicates the source file
name and the sheet or table corresponding to the pump definition data. In the Specify
field mappings for each table step, the user selects Pump Definition as the table
type, indicates the name of the pump definition in the Key>Label field and then maps
each of the fields to be imported with the appropriate property in the Attribute drop
down.
When syncing out from the model to a data table, the table must contain column head-
ings for each of the properties to be exported. The names of the columns in the source
table do not need to be identical to the property names in the model.
Importing can best be illustrated with an example. Given the data and graphs for three
pump definitions shown in the graph below, the table below the graph shows the
format for the pump curve definition import assuming that a standard 3 point curve is
to be used for the head curve and a best efficiency curve is to be used for the efficiency
curve. All three pumps are rated at 120 ft of TDH at 200 gpm.
400 40 0 20
BEPe 70 69 65
All three pumps have 95% motor efficiency and a BEP flow of 200.
Label Type Motor Desig Desig Shutof Max Q H@ BEP BEP Eff Variab
Eff nQ nH f Head Max Q Eff Q Type le
Speed
After the import, the three pumps are listed in the Pump Definitions. The curve for the
"Red" pump is shown below:
While most pump definition information can be imported using the Pump Definition
Table Type, tabular data including
To import these curves, first set up the pump definition type either manually in the
Pump Definition dialog or by importing the pump definition through ModelBuilder.
The Pump definition type would be Multiple Point, the efficiency type would be
Multiple Efficiency Points or the Is variable speed drive? box would be checked.
In the field mapping step of the ModelBuilder wizard, the user the Table Type, Pump
Definition - Pump Curve and would use the mappings shown below:
The example below shows an example of importing a Pump Head Curve. The process
and format are analogous for flow-efficiency and speed-efficiency curves.
For the pump curves shown in the figure below, the data table needed is given. Several
pump definitions can be included in the single table as long as they have different
labels.
M5 0 350
M5 5000 348
M5 10000 344
M5 15000 323
M5 20000 288
M5 25000 250
M5 30000 200
H2 0 312
H2 2000 304
H2 4000 294
H2 6000 280
H2 8000 262
H2 10000 241
H2 12000 211
H2 14000 172
Small 0 293
Upon running ModelBuilder to import the table above, three pump definitions would
be created. The one called "Small" is shown below.
Patterns can be imported into the model from external tables using ModelBuilder. This
is a two step process.
In general, the steps of the import are the same as described in the ModelBuilder docu-
mentation. The only steps unique to patterns are described below. All the fields except
the Key/Label fields are optional
The source data files can be any type of tabular data including spreadsheets and data
base tables.
Alphanumeric fields such as those which describe the month or day of the week must
be spelled exactly as used in the model (e.g. January not Jan, Saturday not Sat).
The list of model attributes which can be imported are given below.
• Label
• MONTH [January, February,…]
The month and day are the actual month or day of week, not the word "MONTH".
Labels must be spelled correctly.
To import patterns, start ModelBuilder, create a new set of instructions, pick the file
type, browse to the data file and pick the tables in that file to be imported. Checking
the Show Preview button enables you to view the data before importing.
Then proceed to the Field Mapping step of ModelBuilder to set up the mappings for
the Pattern in the Pattern Table Type. Fields refers to the name in the source table,
Attributes refers to the name in the model.
And the actual Pattern Curve in the Pattern Curve table type.
The tables below show the pattern definition data and the pattern curve for two step-
wise curves labeled Commercial and Residential. These data must be stored in two
different tables although they may be and ideally should be in the same file.)
Residential 3 0.65
Residential 6 0.8
Residential 9 1.3
Residential 12 1.6
Residential 15 1.4
Residential 18 1.2
Residential 21 0.9
Residential 24 0.7
Commercial 3 0.8
Commercial 6 0.85
Commercial 9 1.4
Commercial 12 1.6
Commercial 15 1.3
Commercial 18 0.9
Commercial 21 0.8
Commercial 24 0.8
Time Series data maps onto the following two table types in ModelBuilder: Time
Series, and Time Series Collection. The “Time Series" mapping represents entries in
the TreeView along the left of the form (including the simple "Start Date Time",
"Element", and "Notes" values shown on the right). The "Time Series Collection"
mapping represents the tabular data shown in the table at the bottom right of the form.
To automatically determine the appropriate values for handling Pipe Flow time series
data, we're going to first export a sample from Bentley HAMMER to Excel.
First, create a sample Pipe Flow time series in Bentley HAMMER as shown above.
Next, create a new Excel .xls file. We'll need two "sheets" to receive the data (the
default "Sheet1" and "Sheet2" will do).
Time Series: This is the more difficult of the two Excel sheets we need to set up. To
determine the columns to define in Excel, create a temporary ModelBuilder connec-
tion and get to the "Specify Field Mappings" step (you won't be saving this connec-
tion, so to get past Step 1 of the Wizard, just pick any data source). Navigate to this
step, choose the Time Series table type, and click on the "Property" drop-down field:
Click on the Sheet1 tab in Excel to define the necessary columns for the "Time Series"
table (You don't need all of these columns for Flow Data, but go ahead and define
them all to be sure we don't miss any that are required for your use-case). It should
look something like this:
Again, get to the "Specify Field Mappings" step in ModelBuilder, choose the "Time
Series Collection" table type, and click on the "Property" drop-down field to deter-
mine the columns to define.
Click on the Sheet2 tab in Excel and define the necessary columns for the "Time
Series Collection" table. It should look something like this:
In step 1 of the Wizard, choose "Excel" as the data source type, browse to the Excel
spreadsheet that you created to select it. You should see Sheet1 and Sheet2 in the list
of available tables, select those (and unselect any others that appear).
Navigate through the next few steps, just use the defaults there.
When you reach the Mapping Step, set things up for Sheet1 and Sheet2 as shown
below:
On the last step, click "No" for the "Would you like to build a model now?" prompt
and click [Finish].
Choose the connection you just defined (be sure to close the Excel spreadsheet you
just defined), and click the Sync Out toolbar button.
The sample time series data from Bentley HAMMER will now be available in the
Excel spreadsheet you created.
Using that as a go-by, you should be able to enter the data in the appropriate format to
import in to Bentley HAMMER.
The user needs to understand the nature of the data stored in Oracle and the way it is
stored. For example, the user must know if the data are stored as simple tabular data or
whether the data are spatial data associated with polygons, lines, and points. The user
needs to decide which fields in the database are to be imported into Bentley
HAMMER.
When the user Browses for an Oracle datasource, ModelBuilder opens an Oracle login
form. The user can enter just a service name if they have setup an alias on their system
for the Oracle datasource. The user should contact their administrator for details on
how to setup this alias. Otherwise, the user must enter all of the connection informa-
tion, which includes the computer/host that Oracle is running on, the network port
number that Oracle is using, and the raw Oracle service name. Again, the user should
contact their administrator for those details. The user must also supply a valid Oracle
username and password to log into the data source.
Oracle/ArcSDE Behavior
If creating a ModelBuilder connection to an ArcSDE data source, you can always use
the Geodatabase and/or Geometric Network connection types when running in the
ArcGIS platform. If the ArcSDE has an Oracle database as the back end data store,
and ArcSDE has been configured to use Oracle’s native geometry type (i.e.
SDO_GEOMETRY), you can also use the Oracle connection in ModelBuilder to
interact directly with the Oracle data, which has the benefit of being an option in any
platform, such as Microstation. However you should not synchronize data from the
model out to the Oracle connection if it’s the back end of an ArcSDE data source, as
that may cause problems for the ArcSDE.
Record Types
Calibration Nodes
Elevation data for nodes is not directly used in solving the network equations in
hydraulic models. Instead, the models solve for hydraulic grade line (HGL). Once the
HGL is calculated and the numerical solution process is essentially completed, the
elevations are then used to determine pressure using the following relationship:
p = HGL - z g
If the modeler is only interested in calculating flows, velocities, and HGL values, then
elevation need not be specified. In this case, the pressures at the nodes will be
computed assuming an elevation of zero, thus resulting in pressures relative to a zero
elevation.
If the modeler specifies pump controls or pressure valve settings in pressure units,
then the model needs to compute pressures relative to the elevation of the nodes being
tested. In this case, the elevation at the control node or valve would need to be speci-
fied (or else the model will assume zero elevation). Therefore, an accurate elevation
value is required at each key node where pressure is of importance.
Notice that an HGL of 400 ft. calculated at the hydrant is independent of elevation.
However, depending on which elevation the modeler entered for that node, the pres-
sure can vary as shown. Usually modelers use ground elevation as the elevation for the
node.
How accurate must the elevation data be? The answer depends on the accuracy
desired in pressure calculations vs. the amount of labor and cost allotted for data
collection. For example, the HGL calculated by the model is significantly more
precise than any of the elevation data. Since 2.31 ft.of elevation translates into 1 psi of
pressure (for water), calculating pressure to 1 psi precision requires elevation data that
is accurate to roughly 2 ft. Elevation data that is accurate to the nearest 10 ft. will
result in pressure that is accurate to roughly 4 psi.
The lack of precision in elevation data (and pressure results) also leads to questions
regarding water distribution design. If design criteria state that pressure must exceed
20 psi and the model gives a pressure of 21 (+/- 4) psi or 19 (+/-4) psi, the engineer
relying on the model will have to decide if this design is acceptable.
The data type used by the Elevation Extractor is Digital Elevation Models (DEMs).
Digital Elevation Models, available from the USGS, are computer files that contain
elevation data and routines for interpolating that data to arrive at elevations at nearby
points. DEM data are recorded in a raster format, which means that they are repre-
sented by a uniform grid of cells of a specified resolution (typically 100 ft.). The accu-
racy of points interpolated from the grid depends on the distance from known
DEMs are raster files containing evenly spaced elevation data referenced to a hori-
zontal coordinate system. In the United States, the most commonly used DEMs are
prepared by the U.S. Geological Survey (USGS). Horizontal position is determined
based on the Universal Transverse Mercator coordinate system referenced to the
North American Datum of 1927 (NAD 27) or 1983 (NAD 83), with distances given in
meters. In the continental U.S., elevation values are given in meters (or in some cases
feet) relative to the National Geodetic Vertical Datum (NGVD) of 1929.
DEMs are available at several scales. For water distribution, it is best to use the 30-
meter DEMs with the same spatial extents as the 7.5-minute USGS topographic map
series. These files are referred to as large-scale DEMs. The raster grids for the 7.5-
minute quads are 30 by 30 meters. There is a single elevation value for each 900
square meters. (Some maps are now available with grid spacing as small as 10 by 10
meters, and more are being developed.) Ideally, some interpolation is performed to
determine the elevation value at a given point. The DEMs produce the best accuracy
in terms of point elevations in areas that are relatively flat with smooth slopes but have
poorer accuracy in areas with large, abrupt changes in elevation, such as cliffs and
road cuts.
The Spatial Data Transfer Standard, or SDTS, is a standard for the transfer of earth-
referenced spatial data between dissimilar computer systems. The SDTS provides a
solution to the problem of spatial data transfer from the conceptual level to the details
of physical file encoding. Transfer of spatial data involves modeling spatial data
concepts, data structures, and logical and physical file structures. In order to be useful,
the data to be transferred must also be meaningful in terms of data content and data
quality. SDTS addresses all of these aspects for both vector and raster data structures.
The SDTS spatial data model can be made up of more than one spatial object (referred
to as aggregated spatial objects), which can be thought of as data layers in the Point or
Topological Vector profiles. A Raster Profile can contain multiple raster object record
numbers, which are part of the RSDF module of a Raster Profile data set. Multiple
raster object record numbers must be converted into separate grids by converting each
raster object record number one at a time into an Output grid.
LIDAR is relatively new technology which determines elevation using a light signal
from an airplane. LIDAR elevation data is collected using an aerial transmitter and
sensor and is significantly more accurate and expensive than traditional DEM data.
LIDAR data can be produced in a DEM format and is becoming more widely avail-
able.
Record Types
USGS DEM files are organized into these record types:
• Type A records contain information about the DEM, including name, boundaries,
and units of measure.
• Type B records contain elevation data arranged in “profiles” from south to north,
with the profiles organized from west to east.
• Type C records contain statistical information on the accuracy of the DEM.
There is one Type A and one Type C record for each DEM. There is one Type B
record for each south-north profile.
DEMs are classified by the method with which they were prepared and the corre-
sponding accuracy standard. Accuracy is measured as the root mean square error
(RMSE) of linearly interpolated elevations from the DEM compared to known eleva-
tions. The levels of accuracy, from least accurate to most accurate, are described as
follows:
• Level One DEMs are based on high altitude photography and have a vertical
RMSE of 7 meters and a maximum permitted RMSE of 15 meters.
• Level Two DEMs are based on hypsographic and hydrographic digitizing with
editing to remove identifiable errors. The maximum permitted RMSE is one-half
of the contour interval.
• Level Three DEMs are based on digital line graphs (DLG) and have a maximum
RMSE of one-third of the contour interval.
DEMs will not replace elevation data obtained from field-run surveys, high-quality
global positioning systems, or even well-calibrated altimeters. They can be used to
avoid potential for error which can be involved in manually interpolating points.
Calibration Nodes
An elevation accuracy of 5 ft. is adequate for most nodes; therefore, a USGS topo-
graphic map is typically acceptable. However, for nodes to be used for model calibra-
tion, a higher level of accuracy is desirable. Consider a situation where both the model
and the actual system have exactly the same HGL of 800 ft. at a node (see figure
below). The elevation of the ground (and model node) is 661.2 ft. while the elevation
of the pressure gage used in calibration is 667.1 ft. The model would predict a pres-
sure of 60.1 psi while the gage would read 57.5 psi even though the model is correct.
800 ft.
HGL
661.2 ft.
Model Pressure = 60 psi
A similar error could occur in the opposite direction with an incorrect pressure
appearing accurate because an incorrect elevation is used. This is one reason why
model calibration should be done by comparing modeled and observed HGL values
and not pressures.
Digital Elevation Models were chosen because of their wide availability and since a
reasonable level of accuracy can be obtained by using this data type depending on the
accuracy of the DEM/DTM.
The TRex Terrain Extractor can quickly and easily assign elevations to any or all of
the nodes in the water distribution model. All that is required is a valid Digital Eleva-
tion Model. Data input for TRex consists of:
1. Specify the GIS layer that contains the DEM from which elevation data will be
extracted.
2. Specify the measurement unit associated with the DEM (feet, meters, etc.).
3. Select the model features to which elevations should be applied; all model
features or a selection set of features can be chosen.
TRex then interpolates an elevation value for each specific point occupied by a model
feature. The final step of the wizard displays a list of all of the features to which an
elevation was applied, along with the elevation values for those features. These eleva-
tion values can then be applied to a new physical properties alternative, or an existing
one. In some cases, you might have more accurate information for some nodes (e.g.,
survey elevation from a pump station). In those cases, you should create the elevation
data using DEM data and manually overwrite the more accurate data for those nodes.
The TRex Terrain Extractor simplifies the process of applying accurate elevation data
to water distribution models. As was shown previously, accurate elevation data is vital
when accurate pressure calculations and/or pressure-based controls are required for
the water distribution model in question. All elevation data for even large distribution
networks can be applied by completing a few steps.
In the US, DEM data is usually available in files corresponding to a single USGS 7.5
minute quadrangle map. If the model covers an area involving several maps, it is best
to mosaic the maps into a single map using the appropriate GIS functions as opposed
to applying TRex separately for each map.
When using TRex, it is necessary that the model and the DEM be in the same coordi-
nate system. Usually the USGS DEMs are in the UTM (Universal Transverse
Mercator) with North American Datum 1983 (NAD83) in meters, although some may
use NAD27. Models are often constructed using a state plane coordinate system in
feet. Either the model or DEM must be converted so that the two are in the same coor-
dinate system for TRex to work. Similarly, the vertical datum for USGS is based on
national Vertical Geodetic Datum of 1929. If the utility has used some other datum for
vertical control, then these differences need to be reconciled.
The TRex Terrain Extractor can read the USGS DEM raster data in SDTS format.
Raster profiles provide a flexible way to encode raster data. The SDTS standard
contains small limited subsets called profiles. In a raster transfer, there should be one
RSDF module, one LDEF module and one or more cell modules. Each record in the
RSDF module denotes one raster object. Each raster object can have multiple layers.
Each layer is encoded as one record in the LDEF module. The actual grid data is
stored in the cell module which is referenced by the layer record. A typical USGS
DEM data set contains one RSDF record, one LDEF record and one cell file.
TRex Wizard
The TRex Wizard steps you through the process of automatically assigning elevations
to specified nodes based on data from a Digital Elevation Model or a Digital Terrain
Model.
TRex can load elevation data into model point features (nodes) from a variety of file
types including both vector and raster files. To use raster files as the data source, the
ArcGIS platform must be used. With a vector data source, it is possible to use any
platform. Vector data must consist of either points with an elevation or contours with
an elevation.
In the United States, elevation data can be obtained at the USGS National Map Seam-
less Server. The vertical accuracy may only be +/- 7 to 15 m.
The elevation data source and features to which elevations will be assigned are speci-
fied in the File Selection dialog of the TRex wizard. Valid elevation data sources
include:
DXF files are able to contain both points and lines, therefore the user must indicate
whether the node elevations should be built based on the points in the DXF, or based
on the contour lines in the DXF.
Shapefiles are not allowed to contain mixed geometric data, so TRex can safely deter-
mine whether to build the elevation map based on either elevation point data or eleva-
tion contour lines. The Model Spot Elevation data source type uses existing spot
elevation nodes in the model, which must already have correct elevation values
assigned. Using these as the data source, TRex can determine the elevations for the
other nodes in the model.
Bentley MX (.fil) files can contain multiple terrain models; you must select a single
model to use as the elevation data source.
When running under the ArcGIS platform, additional raster data sources are also
available for direct use in TRex, including TIN, Rasters(grid), USGS(DEM), and
SDTS(DDF) files.
These data sources are often created in a specific spatial reference, meaning that the
coordinates in the data source will be transformed to a real geographic location using
this spatial reference. Care must be taken when laying out the model to ensure that the
model coordinates, when transformed by the model's spatial reference (if applicable),
will overlay the elevation data source in this 'global' coordinate system. If the model
and elevation data source's data don't overlay each other, TRex will be unable to inter-
polate elevation data. GIS products such as Bentley Map and ArcGIS can be used to
transform raster source data into a spatial reference that matches that of the model.
If you are unable to run TRex under ArcGIS (i.e. you are using stand-alone or a CAD
platform), ArcGIS can generally be used to convert the raster data to a point shapefile
that approximates the raster data source. Shapefiles can be always be used in TRex,
regardless of the platform that TRex is running.
• Data Source Type—This menu allows you to choose the type of file that contains
the input data you will use.
• File—This field displays the path where the data file is located. Use the browse
button to find and select the desired file.
• Spatial Reference (ArcGIS Mode Only)—Click the Ellipsis (...) next to this
field to open the Spatial Reference Properties dialog box, allowing you to specify
the spatial reference being used by the elevation data file.
• Select Elevation Field—Select the elevation unit.
• X-Y Units—This menu allows the selection of the measurement unit type associ-
ated with the X and Y coordinates of the elevation data file.
• Z Units—This menu allows the selection of the measurement unit type associated
with the Z coordinates of the elevation data file.
• Clip Dataset to Model—In some cases, the data source contains elevation data
for an area that exceeds the dimensions of the area being modeled. When this box
is checked, TRex will calculate the model’s bounding box, find the larger dimen-
sion (width or height), calculate the Buffering Percentage of that dimension, and
increase both the width and height of the model bounding box by that amount.
Then any data point that falls outside of the new bounding box will not be used to
generate the elevation mesh. If this box isn’t checked, all the source data points
are used to generate the elevation mesh. Checking this box should result in faster
calculation speed and use less memory.
• Buffering Percentage—This field is only active when the Clip Dataset to Model
box is checked. The percentage entered here is the percentage of the larger dimen-
sion (width or height) of the model’s bounding box that will be added to both the
bounding box width and height to find the area within which the source data
points will be used to build the elevation mesh.
• Spatial Reference (ArcGIS Mode Only)—Click the Ellipsis (...) next to this
field to open the Spatial Reference Properties dialog box, allowing you to specify
the spatial reference being used by the Bentley HAMMER model file.
• Also update inactive elements—Check this box to include inactive elements in
the elevation assignment operation. When this box is unchecked, elements that are
marked Inactive will be ignored by TRex.
• All—When this button is selected, TRex will attempt to assign elevations to all
nodes within the Bentley HAMMER model.
• Selection—When this button is selected, TRex will attempt to assign elevations to
all currently highlighted nodes.
• Selection Set—When this is selected, the Selection Set menu is activated. When
the Selection Set button is selected, TRex will assign elevations to all nodes
within the selection set that is specified in this menu.
Note: If the Bentley HAMMER model (which may or may not have a
spatial reference explicitly associated with it) is in a different
spatial reference than the DEM/DTM (which does have a spatial
reference explicitly associated with it), then the features of the
model will be projected from the model’s spatial reference to the
spatial reference used by the DEM/DTM.
The results of the elevation extraction process are displayed and the results can be
applied to a new or existing physical alternative.
• Results Preview Pane—This tabular pane displays the elevations that were
calculated by TRex. The table can be sorted by label by clicking the Label column
heading and by elevation by clicking the Elevation column heading. You can filter
the table by right-clicking a column in the table and selecting the Filter...Custom
command. You can also right-click any of the values in the elevation column to
change the display options.
• Use Existing Alternative—When this is selected, the results will be applied to
the physical alternative that is selected in the Use Existing Alternative menu. This
menu allows the selection of the physical alternative to which the results will be
applied.
• New Alternative —When this is selected, the results will be applied to a new
physical alternative. First, the currently active physical alternative will be dupli-
cated, then the results generated by TRex will be applied to the newly created
alternative. The name of this new alternative must be supplied in the New Alter-
native text field.
• Click Finish when complete, or Cancel to close without making any changes.
To realize the full potential of the model as a master planning and decision support
tool, you must accurately allocate demands while anticipating future demands.
Collecting the necessary data and translating it to model loading data must be
performed regularly to account for changes to the network conditions. Due to the diffi-
culties involved in manually loading the model, automated techniques have been
developed to assist the modeler with this task.
Spatial allocation of demands is the most common approach to loading a water distri-
bution model. The spatial analysis capabilities of GIS make these applications a
logical tool for the automation of the demand allocation process.
LoadBuilder leverages the spatial analysis abilities of your GIS software to distribute
demands according to geocoded meter data, demand density information, and
coverage polygon intersections.
LoadBuilder greatly facilitates the tasks of demand allocation and projection. Every
step of the loading process is enhanced, from the initial gathering and analysis of data
from disparate sources and formats to the employment of various allocation strategies.
The following are descriptions of the types of allocation strategies that can be applied
using LoadBuilder.
Allocation
This uses the spatial analysis capabilities of GIS to assign geocoded (possessing coor-
dinate data based on physical location, such as an x-y coordinate) customer meters to
the nearest demand node or pipe. Assigning metered demands to nodes is a point-to-
point demand allocation technique, meaning that known point demands (customer
meters) are assigned to network demand points (demand nodes). Assigning metered
demands to pipes is also a point-to-point assignment technique, since demands must
still be assigned to node elements, but there is an additional step involved. When using
the Nearest Pipe meter assignment strategy, the demands at a meter are assigned to the
nearest pipe. From the pipe, the demand is then distributed to the nodes at the ends of
the pipe by utilizing a distribution strategy. Meter assignment is the simplest technique
in terms of required data, because there is no need for service polygons to be applied
(see Figure below).
Meter assignment can prove less accurate than the more complex allocation strategies
because the nearest node is determined by straight-line proximity between the demand
node and the consumption meter. Piping routes are not considered, so the nearest
demand node may not be the location from which the meter actually receives its flow.
In addition, the actual location of the service meter may not be known.
The geographic location of the meter in the GIS is not necessarily the point from
which water is taken from the system, but may be the centroid of the land parcel, the
centroid of building footprint, or a point along the frontage of the building. Ideally,
these meter points should be placed at the location of the tap, but the centroid of the
building or land parcel may be all that is known about a customer account.
Billing Meter aggregation is the technique of assigning all meters within a service
polygon to a specified demand node (see Figure below). Service polygons define the
service area for each of the demand nodes.
Due to the need for service polygons, the initial setup for this approach is more
involved than the meter assignment strategy, the trade-off being greater control over
the assignment of meters to demand nodes. Automated construction of the service
polygons may not produce the desired results, so it may be necessary to manually
adjust the polygon boundaries, especially at the edges of the drawing.
Distribution
This strategy involves distributing lump-sum area water use data among a number of
service polygons (service areas) and, by extension, their associated demand nodes.
The lump-sum area is a polygon for which the total (lump-sum) water use of all of the
service areas (and their demand nodes) within it is known (metered), but the distribu-
tion of the total water use among the individual nodes is not. The water use data for
these lump-sum areas can be based on system meter data from pump stations, treat-
ment plants or flow control valves, meter routes, pressure zones, and traffic analysis
zones (TAZ). The lump sum area for which a flow is known must be a GIS polygon.
There is one flow rate per polygon, and there can be no overlap of or open space
between the polygons.
The known flow within the lump-sum area is generally divided among the service
polygons within the area using one of two techniques: equal distribution or propor-
tional distribution:
• The equal flow distribution option simply divides the known flow evenly
between the demand nodes. The equal flow distribution strategy is illustrated in
the diagram below. The lump-sum area in this case is a polygon layer that repre-
sents meter route areas. For each of these meter route polygons, the total flow is
known. The total flow is then equally divided among the demand nodes within
each of the meter route polygons (See Figure).
• The proportional distribution option (by area or by population) divides the
lump-sum flow among the service polygons based upon one of two attributes of
the service polygons-the area or the population. The greater the percentage of the
lump-sum area or population that a service polygon contains, the greater the
percentage of total flow that will be assigned to that service polygon.
Each service polygon has an associated demand node, and the flow that is calculated
for each service polygon is assigned to this demand node. For example, if a service
polygon consists of 50 percent of the lump-sum polygon’s area, then 50 percent of the
flow associated with the lump-sum polygon will be assigned to the demand node asso-
ciated with that service polygon. This strategy requires the definition of lump-sum
area or population polygons in the GIS, service polygons in the model, and their
related demand nodes. Sometimes the flow distribution technique must be used to
assign unaccounted-for-water to nodes, and when any method that uses customer
metering data as opposed to system metering data is implemented. For instance, when
the flow is metered at the well, unaccounted-for-water is included; when the customer
meters are added together, unaccounted-for-water is not included.
In the following figure, the total demand in meter route A may be 55 gpm (3.48 L/s)
while in meter route B the demand is 72 gpm (4.55 L/s). Since there are 11 nodes in
meter route A, if equal distribution is used, the demand at each node would be 5 gpm
(0.32 L/s), while in meter route B, with 8 nodes, the demand at each node would be 9
gpm (0.57 L/s).
Projection
This type of demand estimation can be used in the projection of future demands; in
this case, the demand allocation relies on a polygon layer that contains data regarding
expected future conditions. A variety of data types can be used with this technique,
including future land use, projected population, or demand density (in polygon form),
with the polygons based upon traffic analysis zones, census tracts, planning districts,
or another classification. Note that these data sources can also be used to assign
current demands; the difference between the two being the data that is contained
within the source. If the data relates to projected values, it can be used for demand
projections.
Many of these data types do not include demand information, so further data conver-
sion is required to translate the information contained in the future condition polygons
into projected demand values. This entails translating the data contained within your
data source to flow, which can then be applied using LoadBuilder.
After an appropriate conversion method is in place, the service layer containing the
service areas and demand nodes is overlaid with the future condition polygon layer(s).
A projected demand for each of the service areas can then be determined and assigned
to the demand nodes associated with each service polygon. The conversion that is
required will depend on the source data that is being used. It could be a matter of
translating the data contained within the source, such as population, land area, etc. to
flow, which can then be used by LoadBuilder to assign demands.
Depending on how the layers intersect, service areas may contain multiple demand
types (land uses) that are added and applied to the demand node for that service
polygon.
LoadBuilder Manager
The LoadBuilder manager provides a central location for the creation, storage, and
management of Load Build templates.
LoadBuilder Wizard
The LoadBuilder wizard assists you in the creation of a new load build template by
stepping you through the procedure of creating a new load build template. Depending
on the load build method you choose, the specific steps presented in the wizard will
vary.
In this step, the Load Method to be used is specified. The next steps will vary
according to the load method that is chosen. The load methods are divided into three
categories; the desired category is selected by clicking the corresponding button. Then
the method is chosen from the Load Demand types pane.
• Equal Flow Distribution—This loading method equally divides the total flow
contained in a flow boundary polygon and assigns it to the nodes that fall within
the flow boundary polygon.
• Unit Line—This load method divides the total demand in the system (or in a
section of the system) into 2 parts: known demand (metered) and unknown
demand (leakage and unmeasured user demand).
• Projection by Land Use—This method allocates demand based upon the density
per land use type of each service polygon.
The available controls in this step will vary according to the load method type that was
specified as follows:
– Node Layer—Specify the feature class or shapefile that contains the nodes
that the loads will be assigned to.
– Node ID Field—Specify the feature class database field that contains the
unique identifying label data.
– Billing Meter Layer—Specify the feature class or shapefile that contains the
geocoded billing meter data.
– Load Type Field—Specify the source database field that contains load type
data. Load Type is an optional classification that can be used to assign
composite loads to nodes, which enables different behaviors, multipliers, and
patterns to be applied in various situations. For example, possible load types
may include Residential, Commercial, Industrial, etc. To make use of the
Load Type classification, your source database must include a column that
contains this data.
– Usage Field—Specify the source database field that contains usage data. The
usage field in the source database must contain flow data. Also, use to select
the unit associated with the usage field value.
– Use Previous Run—LoadBuilder’s most time-consuming calculations when
using the Nearest Node strategy are the spatial calculations that are performed
to determine proximity between the meter elements and the node elements.
When this box is checked, the proximity calculations that were generated
from a previous run are used, thereby increasing the overall calculation
performance.
• Nearest Pipe—Input Data—The following fields require data to be specified:
– Pipe Layer—Specify the line feature class or shapefile that contains the pipes
that will be used to determine meter-to-pipe proximity. Note that the pipes in
this layer must connect to the nodes contained in the Node Layer.
– Pipe ID Field—Specify the source database field that contains the unique
identifying label data.
– Node ID Field—Specify the source database field that contains the unique
identifying label data.
– Usage Field—Specify the source database field that contains usage data. The
usage field in the source database must contain flow data. Also, use to select
the unit associated with the usage field value.
– Flow Boundary Layer—Specify the polygon feature class that contains the
flow monitoring meter data.
– Flow Field—Specify the source database field that contains usage data. The
usage field in the source database must contain flow data. Also, use to select
the unit associated with the usage field value.
• Proportional Distribution by Area—Input Data—The following fields require
data to be specified:
– Service Area Layer—Specify the polygon feature class or shapefile that
defines the service area for each node.
– Node ID Field—Specify the source database field that contains the unique
identifying label data.
This step displays the Results Summary pane, which displays the total load, load
multiplier, and hydraulic pattern associated with each load type in a tabular format.
The number of entries listed will depend on the load build method and data types
selected in Step 1.
• Load Type—This column contains an entry for each load type contained within
the database column specified in step one. (Examples include Residential,
Commercial, Industrial, etc.)
• Consumption—This column displays the total load associated with each load
type entry.
• Multiplier—This column displays the multiplier that is applied to each load type
entry. Multipliers can be used to account for peak loads, expected future loads, or
to reflect unaccounted-for-loads. This field can be edited.
• Pattern—This column displays the hydraulic pattern associated with each
demand type entry. A different pattern can be specified using the menu contained
within each cell of this column. New patterns cannot be created from this dialog
box; see the Pattern manager help topic for more information regarding the
creation of new patterns.
In addition to the functionality provided by the tabular summary pane, the following
controls are also available in this step:
This step displays the calculated results in a tabular format. The table consists of the
following information:
In this step, the load build template is given a label and the results are exported to an
existing or new load alternative. This step contains the following controls:
• Label—This field allows a unique label to be assigned to the load build template.
• Override an Existing Alternative—Choosing this option will cause the calcu-
lated loads to overwrite the loads contained within the existing load alternative
that is selected.
• Append to an Existing Alternative—Choosing this option will cause the calcu-
lated loads to be appended to the loads contained within the existing load alterna-
tive that is selected. Loads within the existing alternative that are assigned to a
specific node will not be overwritten by newly generated loads assigned to the
same node; the new loads will be added to them.
• New Alternative—Choosing this option will cause the calculated loads to be
applied to a new load alternative. Enter your text into this field. The Parent Alter-
native field will only be active when this option is selected.
The LoadBuilder Run Summary dialog box details important statistics about the
results of a completed LoadBuilder run, including the number of successfully added
loads, file information, and informational and/or warning messages.
The Unit Line Flow Method divides the total demand in the system (or in a section of
the system) into 2 parts: known demand (metered) and unknown demand (leakage and
unmeasured user demand).
The following diagram shows a sample pipe. The known (metered) demands at nodes
a and b are qa and qb respectively. The unknown demand is computed by considering
if there are users on none, one, or both sides of the pipe. This is accounted for using
the coefficient, K.
Where
li = length of Pipei
Ki = coefficient indicating the capability of Pipei to consume water
If there are no users on either side of the pipe (the pipe is only used to transfer water to
another part of the system), then K is 0. If there are users along only one side of the
pipe (for example, pipes along a river), K is 0.5. If both sides of the pipe supply water
to users, K is 1.
The equations below are used to determine the total demands at nodes a and b:
m
1 Q totalunknown
a 2 n
Q a = q + --- ----------------------------------- Ki li
K j l j
i=1
j = 1
m
1 Q totalunknown
b 2 n
Q b = q + --- ----------------------------------- Ki li
K j l j
i=1
j = 1
Where
The following diagrams illustrate how Thiessen polygons would be generated manu-
ally. The Thiessen Polygon Creator does not use this method, although the results
produced by the generator are consistent with those that would be obtained using this
method.
In the second diagram, the circles are drawn around each junction.
In the third diagram, bisector lines are added by drawing a line where the circles inter-
join.
In the final diagram, the network is overlaid with the polygons that are created by
connecting the bisector lines.
The Thiessen Polygon Creator allows you to quickly create polygon layers for use
with the LoadBuilder demand allocation module. This utility creates polygon layers
that can be used as service area layers for the following LoadBuilder loading strate-
gies:
The Thiessen Polygon Creator dialog box consists of the following controls:
The Thiessen Polygon Creator requires a boundary to be specified around the area in
which Thiessen Polygons will be created. This is to prevent the outside edge of the
polygons along the perimeter of this area from extending to infinity. The generator can
automatically create a boundary using the Buffering Percentage value, or it can use a
previously created polygon feature class as the boundary.
A border polygon feature class can be created in ArcCatalog and edited in ArcMap.
To create a border feature class, you will need a Bentley HAMMER V8i model that
has had at least one scenario published as an ESRI feature data set. Then, follow these
steps:
The polygon feature class you just created can now be used as the boundary during
Thiessen polygon generation. For more information about creating and editing feature
classes, see your ArcGIS documentation.
The Demand Control Center provides demand editing capabilities which can:
Note: To view statistics for the demands listed in the Demand Control
Center, right-click the Demand column heading and select
Statistics from the context menu.
This dialog allows you to assign a demand and demand pattern to the currently
selected element or elements. The dialog appears after you have used the Add
Demands command in the Demand Control Center or the Unit Demand Control
Center and then selected one or more elements in the drawing pane. The dialog itself
will vary depending on whether it was accessed from the Demand Control Center or
the Unit Demand Control Center.
Enter a demand value in the Demand field, then choose a previously created pattern in
the Pattern list, create a new pattern by clicking the ellipsis button to open the Patterns
dialog, or leave the default value of Fixed if the demand does not vary over time.
Enter the number of individual unit demands in the Unit Demands <Count> field.
Choose a previously defined unit load from the Unit Load list, or create a new one in
the Unit Demands dialog by clicking the ellipsis button. Choose a previously created
pattern in the Pattern list, create a new pattern by clicking the ellipsis button to open
the Patterns dialog, or leave the default value of Fixed if the demand does not vary
over time.
A unit demand consists of a unit (person, area) multiplied by a unit demand (gal/
capita/day, liters/sq m/day, cfs/acre). The units are assigned to node elements (like
junctions) while the unit demands are created using the Unit Demands dialog box. If
the unit demands are not assigned to nodes but to polygons in a GIS, then it is best to
use LoadBuilder to import the loads.
There are two sections of the Unit Demands dialog box: the Unit Demands Pane on
the left and the tab section on the right. The Unit Demands Pane is used to create, edit,
and delete unit demands. This section contains the following controls:
New Creates a new unit demand. When you click the new
button, a submenu opens containing the following choices:
• Area—Creates a new Area-based unit demand.
• Count—Creates a new Count-based unit demand.
• Population—Creates a new Population-based unit
demand.
The tab section is used to define the settings for the unit demand that is currently high-
lighted in the unit demands list pane.
Unit Demand Tab This tab consists of input data fields that allow you
to define the unit demand. The available controls
will vary depending on the type of unit demand
being defined.
Notes Tab This tab contains a text field that is used to type
descriptive notes that will be associated with the
unit demand that is currently highlighted in the
Unit Demand list pane.
In order to access the Unit Demand Control Center go to Tools > Unit Demand
Control Center or click the Unit Demand Control Center icon. The Unit Demand
Control Center opens.
Note: To view statistics for the demands listed in the Unit Demand
Control Center, right-click the Unit Demand or Demand (Base)
column headings and select Statistics from the context menu.
In order to access PDD choose Components > Pressure Dependent Demand Functions
or click Pressure Dependent Demand Functions to open the Pressure Dependent
Demand Functions dialog box.
Delete Deletes an existing demand. You can hold down the Ctrl key
while clicking on items in the list to select multiple entries at
once.
Properties tab
Function Type - Either Power Function or Piecewise Linear. Power Function is used to
define the exponential relationship between the nodal pressure and demand. The ratio
of actual supplied demand to reference demand is defined as a power function of the
ratio of actual pressure to reference pressure.
Power Function Exponent - The coefficient that defines the power function relation-
ship between the demand ratio and pressure ratio.
Pressure Threshold is the maximum pressure above which the demand is kept
constant.
If the function type chosen is Piecewise Linear then the following opens.
The Reference Pressure is the pressure at which the demands are fully met at a node.
In the graph below, the demand assigned to the node is 18 gpm and the reference pres-
sure is 40 psi. As the pressure deviates from 40 psi, the actual demand at the node
changes in response to the pressure dependent demand curve (blue line).
In some cases, there is an upper limit to the amount of water that will be used as pres-
sure increases (users will throttle back their faucets). In this case the pressure at which
demand is no longer a function of pressure is called the Pressure Threshold. In the
graph below the pressure threshold is 50 psi.
The pressure threshold must be equal to or greater than the reference pressure. A refer-
ence pressure must be specified to use pressure dependent demand. The threshold
pressure is optional. The user can optionally set the reference pressure to the threshold
pressure. These values can be set globally or the global value can be overridden on a
node by node basis.
This dialog allows you define engineering library entries for Piecewise Linear Curves.
The following buttons are located above the curve points table on the left:
• Delete—Deletes the currently highlighted row from the curve points table.
Skelebrator
Skeletonization
Skeletonization Example
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.
Skeletonization Example
The following series of diagrams illustrate various levels of skeletonization that can
be applied. The diagram below shows a network subdivision before any skeletoniza-
tion has been performed.
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:
Generic—Data Scrubbing
Data scrubbing is usually the first step of the skeletonization process. Some automated
skeletonizers rely entirely on this reduction technique. (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 combi-
nations can also be applied, for example: “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.
Generic—Branch Trimming
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.
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 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.
The first step that Skelebrator performs is Smart Pipe Removal, which is an improved
version of the data scrubbing technique. The main drawback of standard data scrub-
bing 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.
Skelebrator—Branch Collapsing
The Skelebrator Series Pipe Merging technique overcomes the basic drawbacks to
series pipe removal that were mentioned previously 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 allows you to
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
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.
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.
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.
In building a model from an external source such as a GIS, the GIS may be set up such
that isolation valves split a pipe into two separate pipes. These isolation valves are
usually imported into WaterGEMS as throttling control valves (TCV) or general
purpose valves (GPV) with ModelBuilder. This is due to the fact that WaterGEMS
isolation valves are attached to pipes and do not split them.
While models that split pipes with a TCV or GPV will run, they are usually about
twice as large as one that models isolation valves as attached to a single pipe and not
splitting pipes. In Skelebrator, it is possible to automatically convert all or a selection
of valves into WaterGEMS isolation valves, and merge the pipes on either side of the
valve into a single pipe element. This process is shown graphically below. The pipes
that are merged are treated the same as they are under the series pipe merging option
except that the isolation valve element is maintained at its original location and can be
used for segmentation.
See Inline Isolating Valve Replacement for details on using this option.
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.
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 and Manual Skeleton-
ization, 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 eliminate all scenarios other than the one to
be skeletonized from a model prior to skeletonization.
• Skelebrator reduces a Bentley HAMMER model and applies its changes to the
model’s Bentley HAMMER datastore, which is contained within an .sqlite file.
Skelebrator cannot view or make changes to a standard GIS geodatabase.
• To use Skelebrator with a GIS geodatabase, you must first use ModelBuilder to
create a Bentley HAMMER datastore from the GIS data.
• To use Skelebrator with a CAD drawing, you must firstuse ModelBuilder to create
a Bentley HAMMER datastore from the CAD file.
Skeletonizer Manager
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
• Branch Collapsing
• Parallel Pipe Merging
• Series Pipe Merging
• Smart Pipe Removal
• Inline Isolating Valve Replacement
1. Click the skeletonization technique you want to use: Branch Collapsing, Parallel
Pipe Merging, Series Pipe Merging, Smart Pipe Removal.
2. Click New and select from the menu.
Batch Run - Choose which of your defined skeletonization operations to run and
in what order to run them. Use Batch Run if you want to run skeletonization oper-
ations for more than one option, for example, a combination of Smart Pipe
Removal, Branch Collapsing, Series Pipe Merging, or Parallel Pipe Merging oper-
ations and where the order of applied operations is important.
Batch Run
When Default Skelebrator Group is highlighted, the Batch Run tab is opened with the
Batch Run Manager in view. Use the Batch Run Manager to select the skeletonization
strategies you want to use and the order 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.
you have defined in your batch run or click Preview to preview the results
of the operations you have defined in your batch run prior to running it.
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.
This section describes how to use the selection tools to create Skelebrator-specific
selection sets.
The first item listed is a selection set which is automatically created by Skele-
brator. When you select a selection set menu item, the IDs are retrieved and
applied to the selection. Only valid elements are selected.
The Custom Queries menu will contain menu items that allow you to create
custom, non-persisting queries for the valid elements.
Since this menu only contains custom queries for valid elements, any results
passed back from the query execution will be applied to the selection. In this
example only junctions and pipes can be selected so you can only create custom
queries for junctions and pipes.
The next set of menus are for the available queries. The queries are processed in
the following order: Project, Shared, and Predefined. Each menu item for the
queries represents the equivalent folder in the query manager View > Queries.
5. Click FIND to open the Domain Element Search window. Click to get
results for pipes and junctions. You can only select one row at a time. In order to
make your selection, select the row and click OK. If the element is not already
selected, it will be selected.
Manual Skeletonization
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.
• Auto Next?—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.
• Zoom—Select a Zoom at which you want to display elements you preview using
Go To, Previous, and Next.
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.
3. Click Add to add conditions. You can add pipe and/or junction conditions. You
can add more than one condition.
4. Or, select an existing condition and click Edit to modify a selected condition. You
can add and edit Junction and Pipe Conditions.
You can set select parameters that determine which pipes are included in the skel-
etonizing process in the Conditions tab. In Branch Collapsing, the junctions
referred to (in junction conditions) are the two end junctions of the pipe being
trimmed. Tolerances can also be defined for junctions. Tolerances work by
limiting the pipes skeletonized only to the ones that have the specified attribute
within the specified tolerance. For example, in Branch Collapsing a tolerance on
junction elevation of 3 feet would limit skeletonization to pipes that had both end
junctions with an elevation within three feet of each other.
When you add or edit a Parallel Pipe Merging operation, the Parallel Pipe Merging
Operation Editor controls become active in the control pane on the right.
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.
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.
- Proportional to Dominant Criteria assigns loads proportional to the
attribute used to select the dominant pipe. For example, if diameter is the
dominant attribute and one pipe is 6-in., while the other is 8-in. (14-in.
total length), 8/14 of the load will go to the upstream node, while 6/14
will go to the downstream node.
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.
a. Click Add to add conditions. You can add pipe and/or junction conditions.
You can add more than one condition.
b. Or, select an existing condition and click Edit to modify a selected condition.
You can add and edit Junction and Pipe Conditions.
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 allows you to set select parameters that determine which
pipes are included in the skeletonizing process. Tolerances can also be specified for
both pipe and junction conditions.
In the context of series pipe merging, pipe tolerances are calculated between the spec-
ified 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 eval-
uate the tolerance. For example, a tolerance of 10 ft. on elevation 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 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 allows you to 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.
In many GIS models, isolating valves split pipes into two segments, creating large
numbers of redundant pipes that affect model performance and unnecessarily increase
model complexity. This feature allows you easily remove the isoation valves, merge
the adjacent pipe segments, and assign new isolation valve elements to the newly
created pipes.
When you add or edit an Inline Isolating Valve Replacement operation, the Inline
Isolating Valve Replacement Operation Editor dialog box opens. Operations have two
sets of parameters, Settings and Conditions.
• Allow Isolation Valve replacement of the following valve types: Check the
boxes for each of the valve types (TCV, PBV, GPV) that you want Skelebrator to
replace with isolation valves.
• Maximum Number of Removal Levels: Set the maximum number of pipe
segments to remove for each isolation valve in the original model.
• Dominant Pipe Criteria: Select the criteria by which Skelebrator determines the
dominant pipe (the one that will be kept after the operation). The dominant pipe is
the pipe whose properties are retained as appropriate. For example, when merging
a 6-in. pipe and an 8-in. pipe, if diameter is selected as the dominant pipe criteria
then the larger diameter pipe (e.g., 8-in.) will provide the properties for the new
pipe. That is, the 8-in. pipe's diameter, roughness, bulk reaction rate, etc., will be
used for the new pipe
• 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.
• Apply Minor Losses: When this box is checked minor losses associated with the
newly created valve will be applied.
Conditions and Tolerances are used in Skelebrator to define the scope of Skelebrator
operations. They consist 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:
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 Flow
• Elevation
• Emitter Coefficient.
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.
This dialog box opens following the successful completion of an automatic skeleton-
ization 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 modified.
Click the Save Statistics button on the Statistics tab to save the summary to a text file.
Click the Copy Statistics button to copy the summary to the Windows clipboard. The
Messages tab displays warning, error, and success messages as applicable.
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 a .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 a .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 skeletonization.
For example, if you only wish to skeletonize a portion of your model, you can tempo-
rarily 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 condi-
tions 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)
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.
Scenarios
Alternatives
Scenario management can dramatically increase your productivity in the "What If?"
areas of modeling, including calibration, operations analysis, and planning.
These advantages may not seem compelling for small projects, however, as projects
grow to hundreds or thousands of network elements, 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 or ignoring them.
The history of what-if analyses can be divided into two periods: Distributed Scenarios
and Self Contained Scenarios.
Distributed Scenarios
Traditionally, there have only been two possible ways of analyzing the effects of
change on a software model:
Although either of these methods may be adequate for a relatively small system, the
data duplication, editing, and re-editing become very time-consuming and error-prone
as the size of the system and the number of possible conditions increase. Also,
comparing conditions requires manual data manipulation, because all output must be
stored in physically separate data files.
Distributed Scenarios
Self-Contained Scenarios
The process of working with scenarios is similar to the process of manually copying
and editing data but without the disadvantages of data duplication and troublesome
file management. This process allows you to cycle through any number of changes to
the model, without fear of overwriting critical data or duplicating important informa-
tion. It is possible to directly change data for any scenario, but an audit trail of
scenarios can be useful for retracing the steps of a calibration series or for under-
standing a group of master plan updates.
A Familiar Parallel
Although the structure of scenarios may seem a bit difficult at first, if you have ever
eaten at a restaurant, you should be able to understand the concept. A meal (scenario)
is comprised of several courses (alternatives), which might include a salad, an entrée,
and a dessert. Each course has its own attributes. For example, the entrée may have a
meat, a vegetable, and a starch. Examining the choices, we could present a menu as in
the following figure:
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. Different types of alterna-
tives may have different numbers and types of attributes, and any category can have
an unlimited number of alternatives to choose from.
Inheritance
The separation of scenarios into distinct alternatives (groups of data) meets one of the
basic goals of scenario management: maximizing the number of scenarios you can
develop by mixing and matching existing alternatives. Two other primary goals have
also been addressed: a single project file is used, and easy access to input data and
calculated results is provided in numerous formats through the intuitive graphical
interface.
In order to meet the objective of minimizing the amount of data that needs to be dupli-
cated, and in order to consider conditions that have a lot of common input, you use
inheritance.
In the natural world, a child inherits characteristics from a parent. This may include
such traits as eye-color, hair color, and bone structure.
Overriding Inheritance
A child can override inherited characteristics by specifying a new value for that char-
acteristic. These overriding values do not affect the parent and are therefore consid-
ered local to the child. Local values can also be removed at any time, reverting the
characteristic to its inherited state. The child has no choice in the value of his inherited
For example, a child has inherited the attribute of blue eyes from his parent. If the
child puts on a pair of green tinted contact lenses to hide his natural eye color, his
natural eye color is overridden locally, and his eye color is green. When the tinted
lenses are removed, the eye color reverts to blue, as inherited from the parent.
Dynamic Inheritance
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.
Any changes that are made to the model belong to the currently active scenario and
the alternatives that it references. If the alternatives happen to have children, those
children will also inherit the changes unless they have specifically overridden that
attribute. The following figure demonstrates the effects of a change to a mid-level
alternative. Inherited values are shown as gray text, local values are shown as black
text.
Inheritance has an application every time you hear the phrase, "just like x except for
y." Rather than specifying all of the data from x again to form this new condition, we
can create a child from x and change y appropriately. Now we have both conditions
with no duplicated effort.
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 (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."
Just as a child alternative can inherit attributes from its parent, a child scenario can
inherit which alternatives it references from its parent. This is essentially the phrase
“just like x except for y”, but on a larger scale.
Using the meal example, consider a situation where you go out to dinner with three
friends. The first friend orders a meal and the second friend orders the same meal with
a different dessert. The third friend orders a different meal and you order the same
meal with a different 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 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, the focus here is on the two
most commonly changed sets of alternatives: demands and physical properties. Within
these alternatives, the concentration will be on junction baseline demands and pipe
diameters.
During model construction, only one alternative from each category is going to be
considered. This model is built with average demand calculations and preliminary
pipe diameter estimates. You can name the scenario and alternatives, and the hierar-
chies look like the following (showing only the items of interest):
In this example, the local planning board also requires analysis of maximum day
demands, so a new demand alternative is required. No variation in demand is expected
at J-2, which is an industrial site. As a result, the new demand alternative can inherit J-
2’s demand from Average Day while the other two demands are overridden.
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:
No physical data was changed, so the physical alternatives remain the same.
Correcting an Error
This analysis results in acceptable pressures until it is discovered that the industrial
demand is not actually 500 gpm—it is 1,500 gpm. However, due to the inheritance
within the demand alternatives, only the Average Day demand for J-2 needs to be
updated. The changes effect the children. After the single change is made, the demand
hierarchy is as follows:
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.
To counter the headloss from the increased demand load, two possible improvements
are suggested:
• 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.
It is decided that enlarging P-1 is the optimum solution, so new scenarios are created
to check the results for average day and maximum day demands. Notice that this step
does not require handling any new data. All of the information to be modeled is
already present in the alternatives.
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). 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 the same.
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 an unlimited number of scenarios that reuse or share data in existing
alternatives, submit multiple scenarios for calculation in a batch run, switch between
scenarios, and compare scenario results—all with a few mouse clicks.
Scenarios Manager
The Scenario Manager allows you to create, edit, and manage an unlimited number of
scenarios. There is one built-in default scenario—the Base scenario. If you want, 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.
The Scenario Manager consists of a hierarchical tree view and a toolbar. The tree view
displays all of the scenarios in the project. If the Property Editor is open, clicking a
scenario in the list causes the alternatives that make up the scenario to open. If the
Property Editor is not open, you can display the alternatives and scenario information
by selecting the desired scenario and right-clicking on Properties.
Expand All Opens all scenarios within all folders in the list.
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 exist until you explicitly delete them. By
accessing the Alternative Manager, you can delete the
referenced alternatives and data records.
• Base Scenarios—Contain all of your working data. When you start a new project,
you 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.
Creating Scenarios
You create new scenarios in the Scenario Manager. A new scenario can be a Base
scenario or a Child scenario.
2. Click New and select whether you want to create a Base Scenario or a Child
Scenario. When creating a Child scenario, you must first select the scenario from
which the child is derived in the Scenario Manager tree view.
By default, a new scenario comprises the Base Alternatives associated with each
alternative type.
3. Double-click the new scenario to edit its properties in the Property Editor.
Editing Scenarios
Scenarios can be edited in two places:
• The Scenario Manager lists all of the project’s scenarios in a hierarchical tree
format and displays the Base/Child relationship between them.
• The Property Editor displays the alternatives that make up the scenario that is
currently selected in the Scenario Manager, along with the scenario label, any
notes associated with the scenario, and the calculation options profile that is used
when the scenario is calculated.
To edit a scenario
Alternatives
Alternatives are the building blocks behind scenarios. 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.
Scenarios allow you to specify the alternatives you want to analyze. In combination
with scenarios, you can perform calculations on your system to see the effect of each
alternative. Once you have determined an alternative that works best for your system,
you can permanently merge changes from the preferred alternative to the base alterna-
tive.
When you first set up your system, the data that you enter is stored in the various base
alternative types. If you want to see how your system behaves, for example, by
increasing the diameter of a few select pipes, you can create a child alternative. You
can make another child alternative with even larger diameters and another with
smaller diameters. The number of alternatives that can be created is unlimited.
Note: WaterGEMS, WaterCAD, and HAMMER all use the same file
format (.wtg). Because of this interoperability, some alternatives
are exposed within a product even though that data is not used
in that product (data in the Transient Alternative is not used by
WaterGEMS, data in the Water Quality, Energy Cost, Flushing,
etc. alternatives is not used in HAMMER, etc.).
Alternatives Manager
The Alternative Manager allows you to create, view, and edit the alternatives that
make up the project scenarios. The dialog box consists of a pane that displays folders
for each of the alternative types which can be expanded to display all of the alterna-
tives for that type and a toolbar.
This dialog box presents in tabular format the data that makes up the alternative being
edited. Depending on the alternative type, the dialog box contains a separate tab for
each element that possesses data contained in the alternative.
The Alternative 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 check box is selected, the record on that line has been modified and the data is
local, or specific, to this alternative.
If the check box is cleared, 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 is reflected in the child. The records on these rows reflect the
corresponding values in the alternative's parent.
When the editor has tabs for various element types, you can determine whether the
alternative contains data for that element type by the icon next to the element type ; if
it is highlighted , the alternative contains data for that element type. If the element
type is not used in the current model the tab is marked with an icon .
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).
Remember that all data inherited from the base alternative are changed when the base
alternative changes. Only local data specific to a child alternative remain unchanged.
Creating Alternatives
New alternatives are created in the Alternative Manager dialog box. A new alternative
can be a Base scenario or a Child scenario. Each alternative type contains a Base alter-
native in the Alternative Manager tree view.
Editing Alternatives
You edit the properties of an alternative in its own alternative editor. The first column
in an alternative editor contains check boxes, which indicate the records that have
been changed in this alternative.
• 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 is reflected in the child. The records on these
rows reflect the corresponding values in the alternative’s parent.
• Select the alternative to be edited in the Alternative Manager and click Edit
In either case, the Alternative Editor dialog box for the specified alternative opens,
allowing you to view and define settings as desired.
The Active Topology Alternative allows you to 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.
For each tab, the same setup applies—the tables are divided into four columns. The
first column displays whether the data is Base or Inherited, the second column is the
element ID, the third column is the element Label, and the fourth column allows you
to choose whether or not the corresponding element is Active in the current alterna-
tive.
To make an element Inactive in the current alternative, clear the check box in the Is
Active? column that corresponds to that element’s Label.
When creating an active topology child alternative, you may notice that the elements
added to the child scenario become available in your model when the base scenario is
the current scenario.
To create an active topology alternative so that the elements added to the child
scenario do not show up as part of the base scenario
Note: If you add new elements in the base scenario, they will show up
in the child scenario.
Physical Alternative
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.
Each type of network element has a specific set of physical properties that are stored
in a physical properties alternative.To access the Physical Properties Alternative select
Analysis > Alternatives and select Physical Alternative.
The Physical Alternative editor for each element type is used to create various data
sets for the physical characteristics of those elements.
Demand Alternatives
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.
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.
Operational Alternatives
The Operational Alternative is where you can specify controls on pressure pipes,
pumps, as well as valves.
The Operational Controls alternative allows you to create, modify and manage both
logical controls and logical control sets.
Age Alternatives
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.
Constituent Alternatives
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 drop-down list provides default values for
table entries. This software provides a user-editable library of constituents for main-
taining these values, which may be accessed by clicking the Ellipsis (...) next to the
Constituent menu.
• Constituent Source Type - there are four ways in which you can specify a
constituent entering a system:
– A concentration source fixes the concentration of any external inflow entering
the network, such as flow from a reservoir or from a negative demand placed
at a junction.
– A mass booster source adds a fixed mass flow to that entering the node from
other points in the network.
– A flow paced booster source adds a fixed concentration to that resulting from
the mixing of all inflow to the node from other points in the network.
– A setpoint booster source fixes the concentration of any flow leaving the node
(as long as the concentration resulting from all inflow to the node is below the
setpoint).
• Pattern (Constituent) - The name of the constituent pattern created under
Component > Patterns that the constituent will follow. The default value is
"Fixed".
• Is Constituent Source? - This attribute should be set to True if the element is to
be a source in the scenario. Setting it to False will turn off the source even if there
are values defined for Concentration (Base) or Mass Rate (Base).
or
Trace Alternative
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 Fire Flow Alternative window is divided into sections which contain
different fields to create the fire flow.
Pipe Set The set of pipes associated with the current node
where velocities are tested during a fire flow
analysis.
Fire Flow (Needed) Flow rate required at the junction to meet fire flow
demands. This value will be added to the
junction’s baseline demand or it will replace the
junction’s baseline demand, depending on the
default setting for applying fire flows.
Fire Flow (Upper Maximum allowable fire flow that can occur at a
Limit) withdrawal location. This value 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. This value will be added to the
junction’s baseline demand or it will replace the
junction’s baseline demand, depending on the
default setting for applying fire flows.
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 selected for
use in the Scenario along with the fire flow
alternative.
Fire Flow Auxiliary This setting controls whether the fire flow analysis
Results Type will save "auxiliary results" (a snap shot result set
of the fire flow analysis hydraulic conditions) for no
fire flow nodes, just the failing fire flow nodes, if
any, or all fire flow nodes. For every fire flow node
that attracts auxiliary results a separate result set
(file) is created. When enabling this setting be
conscious of the number of fire flow nodes in your
system and the potential disk space requirement.
Use Pipe Velocity Defines whether to include in the stored fire flow
Greater Than? auxiliary results, results for pipes that exceed a
defined velocity value. Such pipes might indicate
bottle necks in the system under the fire flow
conditions.
Each fire flow alternative has a set of default parameters that are applied to each junc-
tion in the fire flow set. When a default value is modified, you will be prompted to
decide if the junction records that have been modified from the default should be
updated to reflect the new default value.
Column Description
Specify Local Fire Select this check box to allow input different from
Flow Constraints? the global values. When you select this check box,
the fields in that row turn from yellow (read-only)
to white (editable).
Fire Flow (Needed) Flow rate required at a fire flow junction to satisfy
demands.
Fire Flow Upper Limit Maximum allowable fire flow that can occur at a
withdrawal 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.
Column Description
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.
The Energy Cost Alternative allows you to specify which tanks, pumps, and variable
speed pump batteries 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. You can
also run a report.
Transient Alternative
The Transient Alternative allows you to edit and view data that is used for Bentley
HAMMER transient calculations. There is a tab for each element type, each
containing the Bentley HAMMER specific attributes for that element type.
Flushing Alternative
The flushing alternative allows you to define flushing events and the conditions of a
flushing analysis.
The Failure History alternative allows you to edit data associated with pipe break
analysis.
Column Description
Use Local When this box is checked the value entered in the
Duration of Pipe corresponding Duration of Pipe Failure History
Failure History? column will override the duration set in the Length of
Pipe Break History field.
Column Description
Number of Breaks The number of pipe breaks in the duration of the pipe’s
failure history.
Cost of Break The cost of each break in the duration of the pipe’s
failure history.
Pipe Break Group The pipe break group to which the associated pipe
belongs.
Duration of Pipe The local duration of the pipe failure history. This
Failure History column becomes editable for pipes that have the Use
Local Duration of Pipe Failure History? box checked.
The User Data Alternative allows you to edit the data defined in the User Data Exten-
sion command for each of the network element types. The User Data Alternative
editor contains a tab for each type of network element and is project specific.
Scenario Comparison
The scenario comparison tool enables you to compare input values between any two
scenarios to identify differences quickly. While WaterGEMS/CAD/HAMMER users
have previously had the capability to open a child scenario or alternative and compare
it with its parent, this tool greatly extends that capability in that you can compare any
two scenarios or alternatives (not necessarily parent-child) and very easily detect
differences.
The scenario comparison tool can be started by picking Tools > Scenario Comparison
or by selecting the Scenario Comparison button from the toolbar . If the button is
not visible, it can be added using the "Add or Remove Buttons" drop down from the
Tools toolbar (see Customizing Bentley HAMMER Toolbars and Buttons).
On first opening the scenario comparison tool, the dialog below opens which gives an
overview of the steps involved in using the tool. Pick the New button (leftmost).
This opens a dialog which allows you to select which two scenarios will be compared.
The scenario manager button next to each selection gives you the ability to see the tree
view of scenarios. Chose OK to begin the scenario comparison tool. This initially
displays a list of alternatives and calculation options, with the ones with identical
properties displayed with a yellow background and those with different properties
displayed with a pink background. The background color can be changed from pink to
any other color by selecting the sixth button from the left and then selecting the
desired color.
The dialog below shows that the Active Topology, Physical, Demand and Constituent
alternatives are different between the scenarios. There is a second tab for Calculation
Options which shows if the calculation options are different between scenarios.
This display can also be copied to the clipboard using the Copy button.
The alternatives that have differences are also shown in the left pane with a red mark
as opposed to the green check indicating that there are no differences.
This initially returns a summary of the comparison which indicates the time when the
comparison was run, which scenarios were involved and number of elements and
attributes for which there were differences.
By picking "Differences" in the left pane for the alternative of interest, you can view
the differences. In this display, only the elements and properties that are different are
shown with a pink background. In the example below, only 7 pipes had their diameters
changed and only 3 of those had difference C-factors. There are separate tables for
each element type that had differences.
Using the buttons on top of the right pane, when Differences is selected, you can
create a selection set of the elements with differences or highlight those elements in
the drawing. This is very useful for finding elements with differences in a large model.
This dialog box allows you to select the color used to highlight differences between
the scenarios being compared in the Scenario Comparison tool.
To choose another color, click the ellipsis button, select the new color from the palette,
and click OK.
Some of the Differences types (such as Demand) may include collections of data
(multiple demands within a single Demand Collection). By clicking the ellipsis button
next to one of these collections you can open this dialog, which displays a table that
breaks down the collection by the individual pieces of data.
Check Data/Validate
Calculate Network
Flow Emitters
Parallel VSPs
Calculation Options
Patterns
Controls
Active Topology
External Tools
• 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.
Steady-State Simulation
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.
In Bentley HAMMER V8i, a steady state simulation (Analysis > Compute Initial
Conditions) can be used to establish the initial conditions for the transient simulation.
See Calculate Network for details.
Note: Do not confuse the below referenced EPS simulation with the
transient simulation. An EPS simulation can be used in
HAMMER to establish the initial conditions for the transient
simulation (Analysis > Compute Initial Conditions). When
computing the transient simulation (Analysis > Compute) the
hydraulic conditions at the time selected from the "Initialize
Transient Run at Time" calculation option are used as the initial
conditions for the transient simulation. See Calculate Network for
details.
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 Bentley HAMMER.
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.
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, more detailed tank information, and operational rules
for pumps and valves.
With Bentley HAMMER's added simulation power comes a higher computation cost,
since many time steps must be calculated for a transient solution, using more complex
equations to track dynamic changes systemwide. Fortunately, Bentley HAMMER
automatically adjusts its solution method to minimize execution time, while delivering
detailed and accurate solutions. Bentley HAMMER uses one or both of these algo-
rithms:
Method of Characteristics (MOC) solution of the full continuity and momentum equa-
tions for a Newtonian fluid (i.e., elastic theory), which account for the fact that liquids
are compressible and that pipe walls can expand under high pressures.
Bentley HAMMER uses MOC system-wide for every simulation by default. The
simpler, faster rigid-column algorithm can also applied in specific reaches for a few
special applications if you enable this option. Although the MOC is preferred, due to
its greater accuracy, both methods are described separately below.
Rigid-Column Simulation
For example, mass oscillations can occur when a vacuum-breaker or combination air
valve lets air into the system at a local high point (to limit subatmospheric pressures).
The water columns separate and move away from the high point as air rushes in to fill
the space between them. Eventually, flow reverses towards the high point, where the
air may be compressed as it is expelled. This back-and-forth motion of the water
columns may repeat many times until friction dissipates the transient energy.
From the Transient Solver Calculation Options, set Run Extended CAV to True.
Bentley HAMMER will track the extent of the air pocket and the resulting mass-oscil-
lation and water column accelerations. Bentley HAMMER still calculates the system-
wide solution using MOC and elastic theory; it uses rigid-column theory only for the
pipes nearest the high point. This results in more accurate solutions, without
increasing execution times.
Elastic Simulation
Elastic theory is suitable for simulating changes in hydraulic transient flow or head of
all types, whether gradual, rapid, or sudden in terms of the system's characteristic
time. A popular and proven way to implement an elastic theory solver is the Method
of Characteristics (MOC).
The MOC is an algebraic technique to compute fluid pressures and flows in a pressur-
ized pipe system. Two partial differential equations for the conservation of momentum
and mass are transformed to ordinary differential equations that can be solved in
space-time along straight lines, called characteristics. Frictional losses are assumed to
be concentrated at the many solution points.
The data requirements of hydraulic models increase with the complexity of the
phenomena being simulated. A steady-state model's simple dataset and system repre-
sentation are sufficient to determine whether the network can supply enough water to
meet a certain average demand. An extended-period simulation (EPS) model requires
additional data, but it can indicate whether the system can provide an acceptable level
of service over a period of minutes, hours, or days. EPS models can also be used for
energy-consumption studies and water-quality modeling.
Data requirements for hydraulic transient simulations are greater than for EPS or
steady-state runs. In addition to the information required by a steady-state model, you
also need to determine the following:
Hydraulic transients occur whenever a change in flow and/or pressure is rapid with
respect to the characteristic time of the system. The rapid changes in pressure and
momentum that occur during a transient cause liquids [and gases] to exert transient
forces on piping and appurtenances. This is highly significant for in-plant, buried and
freely-supported piping because:
• If pressures and flows change during the transient event, the force vectors will
likewise change in magnitude and direction. This has fundamental implications
for the design of thrust blocks and restraints.
• Due to weight, transient forces are always three-dimensional even for horizontal
pipelines. For buried piping, these forces are also resisted in three dimensions at
discrete points (thrust blocks), transversely due to contact with the earth, and
longitudinally due to pipe friction with the soil.
• Transient forces are not linearly proportional to transient pressures. A small
increase in transient pressure can develop proportionally larger transient forces.
This is because the forces are not a linear function of the pressures.
• Thrust blocks or restraints designed for the steady-state or "operating case" times
a (constant) safety factor can often be inadequate to resist transient forces, espe-
cially for systems with high operating pressures, temperatures or mass.
Codes such as ASME B31.3 refer to a fluid transient as a "Dynamic" operating case,
which may also include sudden thrust due to relief valves that pop open or rapid
piping accelerations due to an earthquake. It is advisable to investigate fluid-structure
interactions (FSI) that can develop for dynamic cases but the decision to undertake
such analysis is largely up to the designer; except for boilers or nuclear installations.
Prior to the advent of inexpensive computing, transient and pipe stress calculations
were onerous and virtually impossible to perform for large piping systems or plants.
The increased analysis and design involved can be justified in terms of achieving a
greater understanding of the system to ensure safe operations with minimum down-
time. Designers are well-advised to follow the following steps:
• Reduce wear and tear from pressure cycling due to rapid industrial demand
changes, incorrect control-valve operations, or water-column separation.
• Reduce the risk of pipe breaks, leaks, and unaccounted-for water (UFW) by opti-
mizing normal and emergency procedures to minimize transient pressure shock
waves. This will also minimize transient thrust forces.
• Verify thrust block designs using time-dependent load vectors. Transient forces
are a more rigorous design basis than the conventional method, whereby thrust
blocks are sized to resist steady-state forces. Transient thrust can be orders of
magnitude greater than steady state thrust. Transient thrust can also change direc-
tion as flows and pressures oscillate and dampen to the new steady-state.
• Predict overflows at outfalls or spills to the environment more accurately.
• Manage the risk of contamination during subatmospheric transient pressures,
which can suck air, dirt, and contaminants into your system.
During a hydraulic transient event, the hydraulic-grade line (HGL), or head, at some
locations may drop low enough to reach the pipe’s elevation, resulting in sub-atmo-
spheric pressures or even full-vacuum pressures. Some of the water may flash from
liquid to vapor while vacuum pressures persist, resulting in a temporary water-column
separation. When system pressures increase again, the vapor condenses to liquid as
the water columns accelerate toward each other (with nothing to slow them down
unless air entered the system at a vacuum breaker valve) until they collapse the vapor
pocket; this is the most violent and damaging water hammer phenomenon possible.
Bentley HAMMER V8i makes a number of assumptions with respect to the formation
of air or vapor pockets and the resulting water column separation:
• Bentley HAMMER V8i models volumes as occupying the entire cross section of
the pipe. This may not be realistic for small volumes, since they could overlie the
liquid and not create column separation, as in the case of air bubbles, but this does
not result in significant errors.
In each case, the assumptions are made so that Bentley HAMMER V8i’s results
provide conservative predictions of extreme transient pressures.
Although higher wave speeds are conservative for typical systems composed of a
single pipe material, such as pipelines, consider a few extra model runs to assess the
sensitivity of the hydraulic transient simulation results to global changes in wave
speed; you can change it in the Transient Solver Calculation Options Properties >
Pressure Wave Speed field.
The Wave Speed Reduction Factor calculation option allows you to model the reduc-
tion in celerity that occurs at low pressure. Entering a value below 1.0 will result in
the following behavior:
1. At the start of a simulation, the wave speed equals the user entered value.
2. If the pressure at any pipe segment drops below the pipe elevation (i.e. negative
pressure), then the wave speed will be reduced. The (linear) rate at which it is
reduced is equal to: (original wave speed - [Wave Speed Reduction Factor *orig-
inal wave speed]) / Decrease Time).
3. If the pressure becomes positive again before the wave speed has been adjusted
down to its fully reduced value (Wave Speed Reduction Factor *original wave
speed), then the wave speed will start to increase back up to the original value.
The (linear) rate at which it is increased is equal to: (original wave speed - [Wave
Speed Reduction Factor *original wave speed]) / Increase Time).
4. Alternatively, if the pressure stays negative for long enough, the wave speed will
be adjusted all the way down to: (Wave speed reduction factor *original wave
speed). It will be held at this value until the pressure in the pipe segment is posi-
tive again, at which point it will start to be increased. The rate will be as described
in #3 above.
Consider the below graph of wave speed for a pipe segment over time:
[-1] indicates a reduction in wave speed due to pressure falling below zero.
[1] indicates an increase in wave speed due to pressure becoming positive again
[2] indicates that the wave speed has been fully reduced (to the wave speed reduction
factor * the original wave speed)
Therefore, the graph indicates that the pressure first dropped below zero, but became
positive shortly after, before the wave speed was fully reduced. It then dropped again
and remained negative long enough for the wave speed to fully reduce. Next, the pres-
sure became positive again but fell back below zero shortly after, before the wave
speed returned to the original value.
Warning! Using very short pipes (in a pump station) and very long
pipes (transmission lines) in the same Bentley HAMMER V8i
model could require excessive adjustments to the wave
speed. If this happens, Bentley HAMMER V8i prompts you to
subdivide longer pipes to avoid resulting inaccuracies.
A smaller time step may cause Bentley HAMMER V8i to track the formation and
collapse of very fine vapor pockets, each of which may result in pressure spikes with
low magnitudes but high frequencies. If your Bentley HAMMER model includes
excessively short pipes (perhaps introduced on import) that result in a small time step,
it may be possible to merge them automatically using Tools > Skelebrator Skeleton-
izer, enabling faster solutions without sacrificing accuracy. See Using the Skelebrator
Software for more information on the Skelebrator Skeletonizer tool.
You can also select the time step from the Analysis > Transient Time Step Options
dialog.
Validate
This feature allows you to validate your model against typical data entry errors, hard
to detect topology problems, and modeling problems.You can validate the model
before detailed calculations are begun by clicking the Analysis menu and selecting the
Validate command. The process produces either a dialog box stating No Problems
Found or a status log (see “Status Log” on page 12-539) with a list of messages. The
data check algorithm performs the following validations:
The validation process generates two types of messages. A warning message means
that a particular part of the model (e.g., 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.
Note: If your model will not run due to error messages and you do not
know how to proceed, please contact Bentley Systems’ support
staff (see Contacting Bentley Systems About Haestad Methods
Products).
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 valves not being connected on both its intake and
discharge sides.
In Bentley HAMMER, flow emitters are devices associated with junctions that model
the flow through a nozzle or orifice (i.e., orifice demand). The demand or flow rate
through the emitter varies in proportion to the pressure at the junction raised to some
power. The constant of proportionality is termed the discharge coefficient. For nozzles
and sprinkler heads, the exponent on pressure is 0.5 and the manufacturer usually
states the value of the discharge coefficient as the flow rate in gpm through the device
at a 1 psi pressure drop (or L/s at a 1 m pressure drop).
Emitters are used to model flow through sprinkler systems and irrigation networks.
They can also simulate leakage in a pipe connected to the junction (if a discharge coef-
ficient and pressure exponent for the leaking crack or joint can be estimated) or to
compute a fire flow at the junction.
In Bentley HAMMER V8i, any demand at a node is called a consumption node and
is treated as an orifice discharging to atmosphere that cannot allow air back into the
system during periods of subatmospheric pressure. This is because the majority of
water demands entered into hydraulic models are really the sum of several houses or
demand points, each located at a significant distance from the point where their aggre-
gate demand is being modeled. By default, Bentley HAMMER V8i assumes that any
air allowed into the system at the individual demand points cannot reach the aggregate
demand location. If this is not the case, use one of the following hydraulic elements:
System Pressure
Hydraulic
Elements
Positive Negative
Pressure
Consumption No flow
dependent
Orifice to Pressure
Air intrusion
Atmosphere dependent
As part of its expert witness and break-investigation service, GENIVAR has calibrated
and validated Bentley HAMMER V8i’s numerical simulations for different fluids and
systems for clients in the civil (water and wastewater), mining (slurry), and hydro-
power sectors. Comparisons between computer models and validation data can be
grouped into the following three categories:
• Cases for which closed-form analytical solutions exist given certain assump-
tions. If the model can directly reproduce the solution, is considered valid for this
case. The example file (\\HAMR\Samples) hamsam01.hif is a validation case
against the Joukowski equation.
• Laboratory experiments with flow and pressure data records. The model is cali-
brated using one set of data and, without changing parameter values, it is used to
match a different set of results. If successful, it is considered valid for these cases.
• Field tests on actual systems with flow and pressure data records. These compar-
isons require threshold and span calibration of all sensor groups, multiple simulta-
neous datum and time base checks and careful test planning and interpretation.
Sound calibrations match multiple sensor records and reproduce both peak timing
and secondary signals—all measured every second or fraction of a second.
The differences between computer model results and actual system measurements are
caused by several factors, including the following difficulties:
• Precise determination of the pressure-wave speed for the piping system is diffi-
cult, if not impossible. This is especially true for buried pipelines, whose wave
speeds are influenced by bedding conditions and the compaction of the
surrounding soil.
• Precise modeling of dynamic system elements (such as valves, pumps, and
protection devices) is difficult because they are subject to deterioration with age
and adjustments made during maintenance activities. Measurement equipment
may also be inaccurate.
• Unsteady or transient friction coefficients and losses depend on fluid velocities
and accelerations. These are difficult to predict and calibrate even in laboratory
conditions.
• Prediction of the presence of free gases in the system liquid is sometimes impos-
sible. These gases can significantly affect the pressure-wave speed. In addition,
the exact timing of vapor-pocket formation and column separation are difficult to
simulate.
Calibrating model parameters based on field data can minimize the first source of
error listed above. Conversations with operators and a careful review of maintenance
records can help obtain accurate operational characteristics of dynamic hydraulic
elements. Unsteady or transient friction coefficients and the effects of free gases are
more challenging to account for.
Fortunately, friction effects are usually minor in most water systems and vaporization
can be avoided by specifying protection devices and/or stronger pipes and fittings able
to withstand subatmospheric or vacuum conditions, which are usually short-lived.
For systems with free gas and the potential for water-column separation, the numerical
simulation of hydraulic transients is more complex and the computed results are more
uncertain. Small pressure spikes caused by the type of tiny vapor pockets that are
difficult to simulate accurately seldom result in a significant change to the transient
envelopes. Larger vapor-pocket collapse events resulting in significant upsurge pres-
sures are simulated with enough accuracy to support definitive conclusions.
Consequently, Bentley HAMMER V8i is a powerful and essential tool to design and
operate hydraulic systems provided the results are interpreted carefully and scruti-
nized as follows:
• Perform what-if analyses to consider many more events and locations than can be
tested, including events that would require destructive testing.
• Determine the sensitivity of the results to different operating times, system config-
urations, and operating- and protective-equipment combinations.
• Based on a calibrated or uncalibrated model, predict the effects of proposed
system capacity and surge-protection upgrades by comparing them against each
other.
These are facilitated if transient pressure or flow measurements are available for your
system, but valid conclusions and recommendations can usually be obtained using
Bentley HAMMER V8i alone.
Recording should not begin until all air is released from the pipeline connection and
the pressure measurement interval is defined. Typically, at least two measuring loca-
tions should be established in the system and the flow-control operation should be
closely monitored. The timings of all recording equipment must be synchronized. For
valves, the movement of the position indicator is recorded as a function of time. For
pumps, rotation or speed is measured over time. For protection devices such as one-
way and two-way surge tanks and hydro-pneumatic tanks, the level is measured over
time.
• Field measurements can clearly indicate the evolution of the transient. The
pressure-wave speed for a pipe with typical material and bedding can be deter-
mined if the period of the transient (4 L/a) and the length (L) between measure-
ment locations is known. If there is air in the system, the measured wave speed
may be much lower than the theoretical speed.
• If friction is significant in a system, real-world transients attenuate faster than the
numerical simulation, particularly during longer time periods (t > 2 L/a). Poor
friction representation does not explain lack of agreement with an initial transient
pulse.
In general, if model peaks arrive at the wrong time, the wave speed must be adjusted.
If model peaks have the wrong shape, the description of the control event (pump shut-
down or valve closure) should be adjusted. If the transient dies off too quickly or
slowly in the model, the friction losses must be adjusted. If there are secondary peaks,
important loops and diversions may need to be included in the model.
valve to close (Time (For Valve to Close)). (Note: a value of zero for the time
for the valve to close indicates that the valve will close instantaneously once it
senses reverse flow). HAMMER will compute the time it takes for the pump
to shut down based on the pump's inertia and speed. If the pump operates
outside of the normal quadrant of operation (i.e. either the pump speed, flow
or both becomes negative), HAMMER will compute the pump operation
using built in four-quadrant pump curves. The four-quadrant curves used for
each pump are specified by selecting the appropriate specific speed for the
pump.
To model the effect of ramping up and down of variable speed pumps, or
starting a pump up can be simulated by setting the "Pump Type (Transient) to
"Variable Speed" and then specifying an Operation Transient Pump Pattern
under Components > Patterns.
b. Operating hydrant or other discharge. Opening of a hydrant, blowoff, sprin-
kler or other discharge can be modeled in two ways - Discharge to Atmo-
sphere or Periodic Head Flow Element.
For discharge to atmosphere, select Valve as the Discharge Element type and
specify the initial status. If the valve is initially closed at the start of the tran-
sient simulation, it will open and vice versa. Set the time to start operating and
the time to be fully open; the valve opening increases linearly. Set the emitter
value for the element by specifying the pressure drop at some flow rate. For
example, a standard 2.5 in. (100 mm) hydrant outlet would have a pressure
drop of roughly 10 psi at 500 gpm.
c. To use a periodic head flow element, the user should specify that the operation
is not sinusoidal (False) and then select whether they will specify the flow or
head. For most devices, the user knows the flow. Then the user creates the
flow (head) vs. time pattern by clicking the ellipsis button next to Collection.
d. Operating in-line valves. Operating in-line valves such as butterfly, gate or
globe valves is simulated using a Throttling Control Valve (TCV) element
(although a Valve with linear area can sometimes also be used). With the
throttling control valve, the user must specify the Operational rule which is
created in the Components > Patterns > Operational (Transient Valves) and
select one of those patterns as the Operating Rule for the valve.
4. Calculation options. The user must then set up the calculation options under
Calculation options > Transient Solver. Among the minimum items that must be
specified are the Run Duration (which can be based on time or number of time
steps) and global Pressure Wave Speed. The user can also override the wave speed
for individual pipes in the Transient alternative > Pipes (in which case they should
set the global Pressure Wave Speed to zero). If the user wishes to view anima-
tions, it is necessary to change the Generate Animation Data property to True.
5. Set up scenario. The user then creates the scenario just as in WaterGEMS being
sure to include the correct Transient alternative and Transient Solver Calculation
options. It is best to run a steady state solution first as a check and then run the
transient problem.
6. Viewing Results. While summary transient results (e.g. maximum pressure,
minimum velocity, etc) can be viewed in FlexTables, Graphs and Profiles (under
the Tools menu) the time varying transient results are viewed using the Transient
Results Viewer under the Analysis menu. The user can view profiles along the
pre-selected profile paths or plots of head, pressure, flow and vapor pocket
volume.
Elements in the plan view may be color coded based on the summary transient
results by using the Element Symbology tools under the View menu. However,
additional detail can be seen by using the Transient Thematic Viewer to color code
elements, since the Transient Thematic Viewer individually color codes the inte-
rior segments of each pipe.
1. If the Specify Initial Conditions calculation option is True, then the discharge
coefficient is taken from the valve's Discharge Coefficient (Initial) input field.
Otherwise the initial conditions for the Transient calculation are taken from the
pressure engine.
2. If the valve is a TCV, then the discharge coefficient is copied from the Initial
Settings fields. Depending on the Coefficient Type field, the discharge coefficient
will be taken from either Discharge Coefficient (Initial), or calculated based on
Headloss Coefficient Setting (Initial).
3. If the valve calculated status is Active, then the discharge coefficient is calculated
from the flow and headloss result values.
4. If the valve is Inactive or Closed, then the minor loss coefficient is used to calcu-
late the discharge coefficient.
5. If the minor loss equals zero, then a very large discharge coefficient is used.
Calculate Network
There are two main types of calculations in HAMMER:
1. Steady State / EPS analysis (for computing the initial conditions for a transient
analysis)
2. Transient analysis
Every transient analysis needs a set of 'initial conditions' - i.e. flows, pressures, tank
levels, etc. at the start of the transient analysis. You can specify the initial conditions
manually (by setting the Specify Initial Conditions? Transient Solver calculation
option to True - see Calculation Options for details - then manually typing in values
for the fields grouped under Transient Initial in the Property Editor), but it is generally
more efficient to have HAMMER compute them via a Steady State or EPS run.
The Steady State / EPS calculations in HAMMER are the same as Steady State / EPS
runs in Bentley WaterCAD and Bentley WaterGEMS. So, if you already have a
WaterCAD or WaterGEMS model, you can open that in HAMMER and use it to
compute the initial conditions. If you are starting from a new model, the process for
setting up and running a Steady State / EPS analysis is as follows:
5. Optionally, verify and/or adjust the settings in Hydraulics section to change the
general algorithm parameters used to perform Steady State / EPS calculations.
6. Click Compute Initial Conditions to start the Steady State / EPS calculations, or
alternatively set up a transient analysis as described below and compute the initial
conditions and transient analysis simultaneously.
Once the initial conditions are established a transient analysis can be performed by
following these steps:
1. Set up an event to initiate the transient - for example specify a pump that will shut
down, or a valve that will close. This is generally done by setting appropriate
values in the Transient (Operational) group of properties in the Property Editor.
(For more information refer to the documentation on the specific model.)
2. Click the Analysis toolbar and select Calculation Options.
3. In the Calculation Options dialog, double-click Base Calculation Options under
the Transient Solver folder, or create a new set of Calculations Options and
double-click it. This will open the Property Editor.
4. In the Property Editor, set the Run Duration Type to Time or Time Steps, and then
set the Run Duration. (Note: a transient analysis typically uses a very small time
step, and the transient events are generally over quickly, so a typical Run Duration
might be 1 or 2 minutes.)
5. If you used an EPS simulation to compute the initial conditions, specify the EPS
result timestep that represents the transient analysis initial conditions by setting
the Initialize Transient Run as Time property to the appropriate value. (Note:
the value you enter should be in hours from the start of the EPS run. HAMMER
will use the closest available EPS result timestep to the value you enter here).
6. Optionally, specify the Report Points that you wish to save calculation results for,
as well as the Report Times when you want to save results. The choices are: Peri-
odically - periodically save results according to the Report Period; At Specific
Times - as specified in the Report Times Collection; At All Times; and At No
Times. (Note: a transient analysis can produce a large amount of result data.
Using the Periodically option can reduce output file sizes and improve calcula-
tion performance.)
7. Optionally, choose to save animation data by setting Generate Animation Data
to True. This will enable you to display animations of the results in the Transient
Result Viewer after the transient analysis is complete.
8. Optionally, verify and/or adjust the general algorithm parameters used to perform
the Transient Analysis. For more information refer to Calculation Options.
9. Click Compute to start the transient analysis. If you have not yet computed the
initial conditions you should confirm that the Always Compute Initial Condi-
tions menu item is checked on (click Analysis > Always Compute Initial Condi-
tions to toggle this option on and off). If the initial conditions do not change from
one transient analysis to another you can save (a typically small amount of) time
by leaving Always Compute Initial Conditions off.
10. If the model is not set up correctly you will receive a warning message. Check the
User Notifications for information, or perform a full validation (click Analysis >
Validate) for more details.
11. Once the calculation is complete the Transient Calculation Summary will appear.
Here you can review a summary of results.
12. You can now open the Transient Results Viewer to view graphs and profiles
showing the results of the Transient Analysis.
Time—Allows you to choose the time step. The values at this time step will be used
as the initial conditions for the HAMMER transient calculations.
All—When this button is selected, initial conditions will be applied to all elements in
the model.
Selection Set—When this button is selected, initial conditions will be applied only to
the elements contained within the specified selection set.
For example, if a pipe has a length of 10 ft and the wave speed is 1000 ft/s, then the
time step required to simulate this pipe without adjustment is 0.01 seconds (= 1 ft /
1000 ft/s). However, if the time step was set to 0.02 seconds, the pipe length would
need to be adjusted to 20 ft (= 0.02 s x 1000 ft/s), or the wave speed would need to be
reduced to 500 ft/s (= 10 ft / 0.02 s) to satisfy the requirement that a sharp pressure-
wave front can travel the length of one of the pipe's interior segments in one time step.
In general, a smaller calculation time step will produce a more accurate solution but
will take longer to compute. However, using a larger time step (and adjusting pipe
lengths or wave speeds) can produce accurate simulation results with much shorter
simulation times, so this is generally recommended.
The calculation time step used in Bentley HAMMER can be defined by the user, or
the user can elect to have Bentley HAMMER automatically select a time step for
them. If Bentley HAMMER selects the time step, it will attempt ensure the time step
provides a good trade off between solution accuracy and the time taken to compute the
simulation. The time step selected by Bentley HAMMER generally requires some
adjustment to the pipe lengths or wave speeds. The adjustments are done automati-
cally by Bentley HAMMER, but the user is able to select whether they want the length
or wave speed adjusted. Similarly, if a user enters their own time step, Bentley
HAMMER will adjust the pipe lengths or wave speed accordingly and once again the
user can select which of these parameters is adjusted.
Note: Using very short pipes (in a pump station) and very long pipes
(transmission lines) in the same Bentley HAMMER model could
require excessive adjustments to the length or wave speed. If
this happens, Bentley HAMMER prompts you to subdivide
longer pipes or reduce the time step to avoid resulting
inaccuracies.
In addition, many short pipes in a model will prompt Bentley HAMMER to select a
smaller time step - increasing the time taken to compute a simulation. (Note: it may be
possible to remove short pipes from the model using the Skelebrator tool.)
Regardless of whether a user-defined, or automatic time step is used, users are advised
to conduct a sensitivity analysis using a run with a very small user-defined time step to
satisfy themselves that the time step they are using produces satisfactory results. (The
appropriate time step to use for this will depend on the model, but a value like 0.01 s is
suggested.) If the run using a very small time step produces results that correlate well
with results obtained using a larger time step, then it should be valid to adopt the
larger time step.
Likewise, there is no hard and fast rule which determines the maximum amount of
adjustment that can be applied to pipe lengths of wave speeds without adversely
affecting the results, so users should investigate the sensitivity of results to different
levels of adjustment. However, users should keep in mind that, if the mean pipe length
adjustment is significant, this means that the mass of liquid analyzed in the model is
significantly different to the mass of liquid in the real system.
There are two ways for a user to indicate that they want to use their own time step:
1. In the Calculation Options for the Transient Solver, set 'Is User Defined Time
Step' equal to True. Or;
2. In the Transient Time Step Options, check the 'Use Custom Time Step' box.
This dialog shows the time step suggested by HAMMER and the adjustments to
lengths or wavespeeds it requires. You can also choose to define a custom time step.
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 Demand Adjust-
ments, Unit Demand Adjustments, or Roughness Adjustments are set to Active in the
Calculation Option properties and adjustments have been specified, the active adjust-
ments will be 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.
For example, assume node J-10 has two demands, a 100 gpm fixed pattern demand
and a 200 gpm residential pattern demand, for a total baseline demand of 300 gpm. If
you enter a demand adjustment multiplier of 1.25, the input to the numerical engine
will be 125 gpm and 250 gpm respectively, for a total baseline demand of 375 gpm at
node J-10. If you use the Set operation to set the demands to 400, the demand will be
adjusted proportionally to become 133 and 267 gpm, for a total baseline of 400 gpm.
In addition, if a junction has an inflow of 100 gpm (or a demand of -100 gpm), and the
adjustment operation Set demand of 200 gpm, then the inflow at that junction will be -
200 gpm (equivalent to a demand of 200 gpm).
The Adjustments dialog is divided into three tabs, each containing a table of adjust-
ments and controls to control the data within the table. These controls are as follows:
• Unit Demands—Use this adjustment tab to temporarily adjust the unit demands
at all junction nodes in the system that have demands for the current scenario, or a
subset of junctions contained within a previously created selection set.
– Scope—Use this field to specify the elements that the adjustment will be
applied. Choose <Entire Network> to apply the adjustment to every node with
a unit demand, or choose a subset of nodes by selecting one of the previously
created selection sets from the list.
– Unit Demand—Use this field to specify the unit demands to which the
adjustment will be applied. Choose <All Unit Demands> to perform the
adjustment on every unit demand in the model. Choose one of the unit
demands in the list to apply the adjustment to only the specified unit demand.
– Operation—Choose the operation to be performed in the adjustment using
the value specified in the Value column.
– Value—Type the value for the adjustment.
Check Data/Validate
This feature allows you to validate your model against typical data entry errors, hard
to detect topology problems, and modeling problems. When the Validate box is
checked, the model validation is automatically run prior to calculations. It can also be
run at any time by clicking Validate . The process will produce either a dialog
box stating No Problems Found or a Status Log with a list of messages.
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.
User Notifications
User notifications are messages about your model. These messages can warn you
about potential issues with your model, such as slopes that might be too steep or
elements that slope in the wrong direction. These messages also point you to errors in
your model that prevent Bentley HAMMER V8i from solving your model.
The User Notifications dialog box displays warnings and error messages that are
turned up by Bentley HAMMER V8i’s validation routines. If the notification refer-
ences a particular element, you can zoom to that element by either double-clicking the
notification, or right-clicking it and selecting the Zoom To command.
The User Notifications dialog box consists of a toolbar and a tabular view containing a
list of warnings and error messages.
User Notifications displays warnings and error messages in a tabular view. The table
includes the following columns:
This dialog lists the elements that are referred to by a time-sensitive user notification
message. In the User Notification dialog, there is a time column that displays the time-
step during which time-sensitive messages occur. These messages will say “during
this time-step” or “for this time-step”, and do not display information about the refer-
enced element or elements. Double-clicking one of these messages in the User Notifi-
cations dialog opens the User Notification Details dialog, which does provide
information about the referenced element(s).
You can double-click messages in the User Notification Details dialog to zoom the
drawing pane view to the referenced element.
6.
The results of the Post Calculation Pricessor analysis are then displayed in a previ-
ously defined user defined field. To learn more about user defined fields see User Data
Extensions.
Start Time Specify the start time for the period of time that
will be analysed.
Stop Time Specify the stop time for the period of time that
will be analysed.
Select From Drawing Allows you to select additional elements from the
drawing pane and add them to the table.
Flow Emitters
Flow Emitters are devices associated with junctions that model the flow through a
nozzle or orifice. In these situations, the demand (i.e., the flow rate through the
emitter) varies in proportion to the pressure at the junction raised to some power. The
constant of proportionality is termed the discharge coefficient. For nozzles and sprin-
kler heads, the exponent on pressure is 0.5 and the manufacturer usually states the
value of the discharge coefficient as the flow rate in gpm through the device at a 1 psi
pressure drop.
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 Bentley HAMMER V8i reports in its output results includes both the normal
demand and the flow through the emitter.
n
Q = kP
Where
Q is flow.
P is pressure.
n is the emitter exponent and is set globally in the calculation options for the run; it is
dimensionless but affects the units of k. The default value for n is 0.5 which is a
typical value for an orifice.
Parallel VSPs
Variable speed pumps (VSPs) can be modeled in parallel. This allows you to model
multiple VSPs operated at the same speed at one pump station. To model this, a VSP
is chosen as a “lead VSP”, which will be the primary pump to deliver the target head.
If the lead VSP cannot deliver the target head while operating at maximum speed, then
the second VSP will be triggered on and the VSP calculation will determine the
common speed for both VSPs. If the target head cannot be delivered while operating
both VSPs at the maximum speed, then another VSP will be triggered on until the
target head is met with all the available VSPs.
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:
Calculation Options
Calculations depend on a variety of parameters that may be configured by you.
Choose Analysis > Calculation Options, Alt+3, or click the button to open the
Calculations Options dialog box.
The following controls are available from the Calculation Options dialog box.
To view the Steady State/EPS Solver properties of the Base Calculation Options
Select Base Calculation Options under Steady State/EPS Solver and double click to
open the Properties dialog box.
The following calculation option parameters are available for user configuration:
Select Transient Solver Base Calculation Options and double click to open the Proper-
ties dialog box.
The following calculation option parameters are available for user configuration:
• Initial Flow Consistency—Flow changes that exceed the specified value are
listed in the output log as a location at which water hammer occurs as soon as
simulation begins. The default value is 0.02 cfs.
• Initial Head Consistency—Head changes that exceed the specified value are
listed in the output log as a location at which water hammer occurs as soon as
simulation begins. The default value is 0.1 ft.
• Friction Coefficient Criterion—For pipes whose Darcy-Weisbach friction coef-
ficient exceeds this criterion, an asterisk appears beside the coefficient in the pipe
information table in the output log. The default value is 0.02.
• Report History After—Set the time at which reporting begins. The default value
is 0.02.
• Show Extreme Heads After—Sets the time to start output of the maximum and
minimum heads for a run. You can set these to show beginning at time = 0 (right
away), after the first maximum or minimum, or after a specified time delay.
• Transient Friction Method—Select Steady, Quasi-Steady, or Unsteady friction
method to be used for transient calculations.
• Generate Extended Output Log?—When this value is set to true, the output log
includes additional information for every node, such as the flow, head, and vapor/
air volumes at the first, second and last timesteps.
• Show Pocket Opening/Closing—Toggles whether the list of vapor pockets open
and close times will be appended to the output text file.
• Enable Text Reports—Toggles the generation of ASCII output text files on or
off. These can become voluminous for simulations with many time steps and they
are not required for the operation of the FlexTables or graphics. Some users prefer
to set this setting to False.
• Report Points—Choose the report points type from the following:
– No Points—No report points are defined.
– All Points—All nodes in the model are report points.
– Selected Points—Selecting this option makes the Report Points Collection
field active, allowing you to define the report points.
• Report Points Collection—Clicking the ellipsis button in this field opens the
Report Points Collection dialog, allowing you to choose the report points from the
list of available points, or select them in the drawing.
• Report Times—Choose whether to report Periodically, At Specific Times, At No
Times, or At All Times.
• Report Period—Specify the equal intervals of time (default) at which reports are
generated. This option is only available when the Report Times property is set to
Periodically.
• Report Times Collection—Opens the Report Times Collection dialog, allowing
you to specify the times step to be reported. This option is only available when the
Report Period property is set to At Specific Times.
• Flow Tolerance—Flows below this value are assumed to be zero when running
the transient calculations. This option is generally used to filter out insignificant
flows that could otherwise cause numerical problems during the calculation. See
Flow Tolerance for more details.
• Round Pipe Head Values?—Specifies whether pipe head values should be
rounded or not. This option is generally used to filer out insignificant differences
that could otherwise cause numerical probelms during the calculation.
• Initialize Transient Run at Time—If the “Specify Initial Condition” field is set
to True, the transient simulation is initialized using results from a steady-state or
extended period simulation. Enter a time here to initialize the transient simulation
using results from the corresponding EPS time step.
• Specify Initial Conditions?—If set to True, you can manually specify the initial
conditions for a transient simulation.
To create a new calculation option
1. Choose Analysis > Calculation Options and the Calculation Options dialog box
opens.
2. Choose New.
3. Double-click on the newly created calculation option to open the Calculation
Options Properties dialog box.
There are two ways that you can limit the output data that is written to the result file
from the water engine: by time step and by element. Limiting the reported results in
this way will produce a smaller result file, thereby improving performance when
copying results files during open and save operations. It also conserves hard disk
space.
By default, the Overide Reporting Time Step calculation option is set to <All>. Under
this setting, all results for all time steps are written to the results file.
To limit the output results to a specific interval (such as every 2 hours, every 4 hours,
etc) set the Overide Reporting Time Step calculation option to Constant. The
Reporting Time Step calculation option will become available. Enter the constant
interval at which output results should be written to the results file in this field.
To limit the output results to specific time steps, set the Overide Reporting Time Step
calculation option to Variable. The Reporting Time Steps calculation option will
become available. Click the elipsis (...) button in this field to open the Reporting Time
Steps dialog.
By default, the Output Selection Set calculation option is set to <All>. Under this
setting, all results for all elements are written to the results file.
By choosing a previously created selection set in this field, you can limit the output
data written to the results file to only include data for the elements that are contained
within the specified selection set.
• All of the time steps are reported on and written to the results file.
• None of the time steps are reported on and written to the results file.
• Time steps that fall within the specificed constant interval are reported on and
written to the results file.
The first row in this dialog will always be 0.00 hours, which is the beginning of the
first time range. To specify the first range of time, enter the end time step in the second
row, for example 24 hours. Specify the type in the first row, for example <All>. In this
example, all time steps between hour 0 (the start of the simulation) and hour 24 will be
written to the results file. To specify further ranges of time, add new rows with the
New button. Remove rows with the Delete button. The last range in the dialog will
start at the time specified in the last row and end at the end of the simulation.
Click the [>] button to add a highlighted point from the Available Items list to the
Selected Items list.
Click the [>>] button to add all Available Items to the Selected Items list.
Click the [<] button to remove a highlighted point from the Selected Items list,
returning it to the Available Items list.
Click the [<<] button to remove all report points from the Selected Items list,
returning them to the Available Items list.
Click the Select From Drawing button to choose points from the drawing pane.
Click the [>] button to add a highlighted time step from the Available Items list to the
Selected Items list.
Click the [>>] button to add all Available time steps to the Selected Items list.
Click the [<] button to remove a highlighted time step from the Selected Items list,
returning it to the Available Items list.
Click the [<<] button to remove all time steps from the Selected Items list, returning
them to the Available Items list.
Flow Tolerance
The transient calculation requires that there is not excessive friction in the pipelines.
In some cases when the initial flow and headloss along a pipe are both very small,
HAMMER will compute large friction factors for these pipes (generally because very
low velocities result in small Reynolds number values, which results in high friction
factors under laminar flow). This prompts an error message which prevents the model
from running. To prevent this, it is possible to specify a Flow Tolerance value below
which any flow is rounded down to zero. This prevents the friction factor error,
because the friction factor for pipes with zero initial flow is based solely on the rough-
ness parameter entered for the pipe. However, if the Flow Tolerance is adjusted, it is
suggested that the 'Round Pipe Head Values?' parameter is set to 'True' and the pipe
heads are rounded to a similar level of accuracy as the flows. This helps ensure that
the head at either end of a pipe with zero initial flow is the same.
Note however, that in the majority of cases it is suggested that the default value is used
for these parameters.
For simple systems or if the time required to compute the HAMMER model is not a
concern, it is ideal (but not always necessary) to set run durations long enough to
allow a final steady state to be achieved once all transient energy attenuates. This is
quite manageable in many cases, such as for the sample file sample02.wtg, which
requires about 30 to 40 seconds to reach a final steady state. Each system requires a
different amount of time to reach a final steady state.
For larger systems, you can use the following guidelines to decide on the most appro-
priate run duration:
1. First run HAMMER for only a few time steps to identify the sources of transients
(remember to output every time step in the Report Times setting of the Transient
Solver Calculation Options). You can also check for input errors by clicking
Compute. Finally, click Compute to run the model, and then look for errors in
the steady-state model or other initial transients in the comments at the end of the
output file (.out).
2. Run HAMMER again for a duration of T=4 L/a (or greater) to verify that your
simulation includes the maximum and minimum transient heads. These normally
occur within this time frame. A longer run duration may be required if air pockets
form or if a gas vessel or surge tank is installed, due to the persistence of oscilla-
tions in the system.
3. Run HAMMER again for a duration of T=20 L/a or greater, whatever is enough to
allow friction to attenuate the transient energy and, consequently, to let the system
approach or achieve a final steady state. See Selecting the Transient Friction
Method.
The preceding procedure increases the likelihood that you will correctly simulate the
key aspects of the hydraulic transient event for your system. However, remember that
L is only a characteristic length which may not be directly applicable to branched or
looped networks or plants. Always use sound engineering judgment in reviewing
HAMMER results and interpreting the output.
Vapor Pressure
A liquid's vapor pressure limit is defined as the absolute pressure below which it
flashes into its gas phase (vapor or steam for water) for the fluid temperature at which
the system is operating. Vapor pressure is a fundamental parameter for any hydraulic
transient analysis. Low transient pressures can cause a liquid to vaporize and, once
one or more of these vapor pockets collapse later on, result in very large transient
pressures, which may break pipes or other system components.
The Transient Friction Method option enables you to select the methodology for
determining flow resistance and friction losses during calculations. This can be
accessed from the Transient Solver calculation options (Analysis > Calculation
Options). Available methodologies include:
• Steady Friction
• Quasi-steady Friction
• Unsteady Friction, also known as transient friction
For more information on the theory for each of these friction models, see Friction and
Minor Losses.
• If a pipe has zero flow at the initial steady-state, HAMMER use the Friction Coef-
ficient specified in the Pipe Physical properties.
• If a pipe has a nonzero flow at the initial steady-state, HAMMER automatically
calculates a Darcy-Weisbach friction factor, f, based on the heads at each end of
the pipe, the pipe length and diameter, and the flow in the pipe. It uses this calcu-
lated value in the transient simulation.
Transient Tip: Quasi-steady and unsteady friction models are the result
of current research by others. Results should be
compared with those obtained with a steady friction
model. Always use engineering judgement when
interpreting transient simulation results.
Previous versions of the software had a calculation option called "Use EPANET
Compatible Results?" which was used to turn off computational changes Bentley had
made to the core engine calculation that would change results compared to the results
for an equivalent model run in the US EPA's EPANET software. In the current version
of the software, however, the "Use EPANET Compatible Results?" has been replaced
by a new "Engine Compatibility" calculation option that offers 4 choices as follows:
1. WaterGEMS 2.00.12
2. WaterGEMS 2.00.10
3. EPANET 2.00.12
4. EPANET 2.00.10
Previously, the "Use EPANET Compatible Results?" option was functionally the same
as having choices 2 and 4 only. When the previous property was set to false, you were
using option 2. When the previous property was set to true, you were using option 4.
For this release of the software we have extended the engine support to include
compatibility modes that include the revised engine convergence algorithms in
EPANET 2.00.12, in addition to keeping the old behavior that was based on EPANET
2.00.10.
For those interested in what each engine compatibility mode means in more detail we
provide the following compatibility matrix.
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:
• Pattern Manager
Pattern Manager
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. You can also define daily and
monthly multipliers for any pattern.
The following management controls are located above the pattern list pane:
Tip: Use the Report button to view or print a graph or detailed report
of your pattern.
The right half of the dialog consists of controls that allow you to define the settings for
the pattern that is currently selected in the list of patterns on the left side of the dialog.
• 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).
• Pattern Format—The following pattern formats are available:
Hourly patterns consist of a number of time step points, defined in the table below the
Pattern Format control on the Hourly tab.
• Time From Start—The amount of time from the Start Time of the pattern to the
time step point being defined.
• Multiplier—The multiplier value associated with the time step point.
• Relative Closure—The percentage of full flow that the valve allows at the associ-
ated time step point. This attribute is only available for Operational (Transient,
Valve) pattern types.
• Relative Speed Multiplier—The percentage of full speed that the pump is
running at during the associated time step point. This attribute is only available for
Operational (Transient, Pump) pattern types.
• Gate Opening Percent —The percentage compared to fully open for the turbine
gate opening at the associated time step point. This attribute is only available for
Operational (Transient, Turbine) pattern types.
Daily and Monthly factors are defined in the same way as hourly ones, the difference
being that rather than defining time steps you enter multipliers for each day of the
week (for Daily patterns) or for each month of the year (for monthly patterns).
A graph of the currently selected pattern is displayed in the lower right corner of the
dialog.
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.
Controls
Controls give you a way to specify the status and setting for virtually any element
based on almost any property of the system. Controls are included in a scenario when
they are specified in the Operational Alternative. The controls become part of an
Operational Alternative when you specify the name of a Control Set to use in a given
Operational Alternative.
The Control Manager is the main work center for controls. The Control Manager
manages all controls, conditions, actions, and control sets in the system. The 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.
Controls Tab
The Controls tab allows you to manage all controls defined in the system. Controls
can be one of two types: simple or logical. Simple controls are made up of an IF
condition and a THEN action statement. Logical controls are made up of an IF condi-
tion, a THEN action, and an optional ELSE action, and can be assigned a priority for
resolving potential conflicts between logical controls.
•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—Creates a new control.
– Delete—Deletes the highlighted control.
– Refresh—Refreshes the highlighted control
– Report—Generates a summary of the selected control, listing the ID, condi-
tions, actions, and elements incorporated into the control.
• Below the toolbar is a set of filters that allow you to only display controls that
meet criteria defined by the filter settings. The following filters are available:
– Type—When a Type filter other than <All> is specified, only controls of that
type will be displayed in the Controls list.
– Priority—When a Priority filter other than <All> is specified, only controls
of that priority will be displayed in the Controls list.
– Condition Element—When a Condition filter other than <All> is specified,
only controls containing the selected Condition element will be displayed in
the Controls list.
– Action Element—When an Action filter other than <All> is specified, only
controls containing the selected Action element will be displayed in the
Controls list.
You can edit or create controls consisting of an IF condition, a THEN action, and an
optional ELSE action. The lower pane is split into sections:
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.
• Status Pane—When one or more filters are active, the lower left corner of the
dialog will show the number of controls currently displayed out of the number of
total controls. Additionally, a FILTERED flag is displayed in the lower right
corner.
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.
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 func-
tionality 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.
Note: Logical Controls are not executed during Steady State analyses.
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 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—Create a simple or composite condition.
– Duplicate—Copy the selected condition.
– Delete—Deletes the selected condition.
– Refresh—Refreshes the selected condition.
– Report—Generates a summary of the selected condition.
• Below the toolbar is a set of filters that allow you to only display controls that
meet criteria defined by the filter settings. The following filters are available:
– Control Set—When a control set is specifed, only conditions that are a
component of that control set are displayed in the Conditions list.
Simple Conditions
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, 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…).
– Hydraulic Grade—This attribute is used to create a condition based on a
specified hydraulic grade at the corresponding junction (e.g., If J-1 has a
hydraulic grade of…).
– Pressure—This attribute is used to create a condition based on a specified
pressure at the corresponding junction (e.g., If J-1 has a pressure of…).
• 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…).
• 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.
Composite Conditions
When a Composite Condition is being defined or edited, the lower part of the dialog
box is comprised of a two column table and two buttons. The buttons are as follows:
• 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.
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 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, where you can create a
new logical action.
- 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.
- 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.
- Report—Generates a summary of the highlighted action.
– Below the toolbar is a set of filters that allow you to only display controls that
meet criteria defined by the filter settings. The following filters are available:
- Control Set—When a control set is specifed, only actions that are a
component of that control set are displayed in the Actions list.
- Type—When a Type filter other than <All> is specified, only actions of
that type will be displayed in the Actions list.
- Action Element—When an Action Element filter other than <All> is
specified, only actions containing the selected Element will be displayed
in the Actions list.
• The controls used to create or edit an action vary depending on whether the action
is simple or composite:
Simple Actions
• 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 box, 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 speci-
fied 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.
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
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.
Composite Actions
When a Composite Action is being defined or edited, the lower section of the dialog
box is comprised of a single column table and two buttons. The Table contains a list of
the Actions to be used. Each row is a drop-down list that allows you to choose an
action that was already created beforehand.
%# 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.
The Control Sets tab allows you to create, modify and manage control sets. Control
sets are a way to organize your controls, and also provide the means to use different
controls in different scenarios.
A Control Set is made up of one or more 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 control.
• New—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.
The left pane, labeled Available 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.
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.
Control Wizard
The Control Wizard lets you quickly create pump controls based on tank HGL.
• Pump: Choose the pump to be controlled. You can select it from the menu, click
the ellipsis (...) button to use the Find function, or click the cursor button to select
the pump from the drawing.
• Tank: Choose the controlling tank. You can select it from the menu, click the
ellipsis (...) button to use the Find function, or click the cursor button to select the
tank from the drawing.
• On Operator: This field allows you to specify the relationship between the HGL
and the target On value for the HGL. The choices include Greater Than (>),
Greater Than Or Equal To (>=), Less Than (<), Less Than Or Equal To (<=),
Equal To (=), or Not Equal To (<>).
• On HGL: The HGL value at which the pump turns on.
• Off Operator: This field allows you to specify the relationship between the HGL
and the target Off value for the HGL. The choices include Greater Than (>),
Greater Than Or Equal To (>=), Less Than (<), Less Than Or Equal To (<=),
Equal To (=), or Not Equal To (<>).
• Off HGL: The HGL at which the pump turn off.
Click the New button above the table to add a new row; click the Delete button to
remove the currently selected row.
Active Topology
The Active Topology functionality allows you to make elements inactive (and to
change them back to active again), so as to either be excluded (when inactive) or
included (when active) from the network and its calculations. This lets you create
before and after scenarios and alternatives for proposed construction projects and to
test the redundancy, if any, in existing networks.
1.checking or unchecking the "Is active?" box in the alternative manager under the
Active Topology Manager,
3. picking True of False in property grid next to "Is active?" for individual elements,
another way of making elements active or inactive is the Active Topology Selection
Tool, which is accessed under Tools > Active Topology Selection.
When you select the Active Topology Selection command, a Select tool opens.
Selecting elements at this time can make them active or inactive according to the
commands below.
Making an element "inactive" means that the element remains in the data file but it is
not included in any hydraulic analysis calculations. Inactive elements will appear in
FlexTables but calculated values will be set to NA.
Changing the active status using this tool only affects the Active Topology Alternative
of the current scenario.
The Done, Add, and Remove commands are also available from the right-click
context menu while the Select tool is active.
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.
External Tools
Use the External Tool Manager to manage custom menu commands, which are then
located in the Tools menu for quick accessibility.
Click Tools>External Tools to create a custom menu command from any executable
file. Executable file types include:
• .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.
• New—Creates a new external tool in the list pane.
• Delete—Deletes the currently highlighted tool.
• Rename—Allows you to rename the currently highlighted tool.
• Command—This field allows you to enter the full path to the executable file that
the tool will initiate. Click the ellipsis button to open a Windows Open dialog to
allow you to browse to the executable.
• Arguments—This optional field allows you to enter command line variables that
are passed to the tool or command when it is activated. Click the > button to open
a submenu containing predefined arguments. Arguments containing spaces must
be enclosed in quotes. The available arguments are:
– Project Directory—This argument passes the current project directory to the
executable upon activation of the tool. The argument string is %(ProjDir).
– Project File Name—This argument passes the current project file name to the
executable upon activation of the tool. The argument string is %(ProjFile-
Name).
– Project Store File Name—This argument passes the current project datastore
file name to the executable upon activation of the tool. The argument string is
%(ProjStoreFileName).
– Working Directory—This argument passes the current working directory to
the executable upon activation of the tool. The argument string is %(Proj-
WorkDir).
• Test—This button executes the external tool using the specified settings.
Modeling Tips
The paragraph presents some FAQs related to modeling water distribution networks
with Bentley HAMMER V8i. Also, please keep in mind that Bentley Systems offers
workshops in North America and abroad throughout the year. These workshops cover
these modeling topics in depths and many more in a very effective manner. The
following modeling tips are presented:
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:
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.
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 Bentley HAMMER V8i 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. 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
( 4 4 ) 2
2 gC F c F DO DP k
Dp = diameter of pipe
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.
K
Outlet k k K
gpm/psin,
Nominal (in.) gpm, psi l/s, m l/s, m
l/s/mn
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 Bentley HAMMER V8i, 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, change the Is Variable Speed Pump?
attribute in the Properties dialog to True. This will enable the VSP Type attribute,
allowing you to specify the VSP type.
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. Click the Add button, and the Pattern Editor dialog box will appear. 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.
• Clicking the Select From Drawing button 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 to restore variable speed operation:
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.
Variable speed pumps (VSPs) can be modeled in parallel. This allows you to model
multiple VSPs operated at the same speed at one pump station. To model this, a VSP
is chosen as a “lead VSP”, which will be the primary pump to deliver the target head.
If the lead VSP cannot deliver the target head while operating at maximum speed, then
the second VSP will be triggered on and the VSP calculation will determine the
common speed for both VSPs. If the target head cannot be delivered while operating
both VSPs at the maximum speed, then another VSP will be triggered on until the
target head is met with all the available VSPs.
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:
below the target level, the VSP will be forced to increase the speed, up to the
maximum allowable speed as specified, to meet the target tank level. If the tank level
is greater than the target level, the VSP speed will be reduced or shut off to permit the
tank supply system demand and thus the tank level can be gradually lowered to the
target level.
Note: When the target level is missed due to either too high demand or
too much inflow into the wet well, the VSP will be operating at
the fixed speed until the target level can be reestablished,
however, the reestablished target level may not be exactly the
same as the initial target head. This is because the VSP is forced
back by using the given time step, the pump is operated as a
fixed speed pump to move the amount of water within one time
step, so that the level cannot be exact unless the time step is
small enough to ensure the exact amount of water is moved out
the tank to maintain the exact target. The smaller the time step,
the closer it will be to returning to the target.
Unlike the vsp controlled by discharge side tank, when the wet well level is below the
target level, suction side controlled vsp will slow down in speed to allow the water
level to increase to the target level. When the wet well water level is above the target
level, a vsp will speed up to move the flow out of well in order to reduce the water
level at the wet well.
The workflow is the same as the VSP controlled by a discharge side tank, except that
the user needs to set the attribute of Is Suction Side Variable Speed Pump to True in
the property grid.
Note: When the target level is missed due to either too high demand or
too much inflow into the wet well, the VSP will be operating at
the fixed speed until the target level can be reestablished,
however, the reestablished target level may not be exactly the
same as the initial target head. This is because the VSP is forced
back by using the given time step, the pump is operated as a
fixed speed pump to move the amount of water within one time
step, so that the level cannot be exact unless the time step is
small enough to ensure the exact amount of water is moved out
the tank to maintain the exact target. The smaller the time step,
the closer it will be to returning to the target.
Bentley HAMMER facilitates the fixed flow VSP modeling. It automatically calcu-
lates the required pump speed, up to the maximum relative speed factor, to move the
required flow through a pump. Multiple vsps can be in parallel and expected to deliver
different target flows. To apply this feature, follow the steps as below.
1. Click on a VSP.
2. Set the attribute Is Variable Speed pump? to True.
3. Set VSP Type as Fixed Flow
4. Specify the maximum relative speed factor
5. Specify the Target Flow for the vsp
In the case of a VSPB, the target flow will be evenly divided among all the lead and
lag VSPs.
Contours
Using Profiles
Reporting
Graphs
Calculation Summary
• Normal graphs and profiles don't show any time varying results from transient
simulation - all you can see are the extreme results like Pressure (Maximum, Tran-
sient).
• Profiles don't show any results for the intermediate points along a pipe.
• Clicking Plot automatically displays the selected variables on a graph so you can
annotate, save, and print it.
• Clicking Animate displays the selected variables on a graph and automatically
loads the compact Animation Controller so you can animate all on-screen graphs.
You can also save the screen layouts you prepare (as an .ani file) for use in future
presentations.
• Play Controls: Like other media devices, these controls let you play forward or
backward, stop, or advance by a single frame forward or backward.
• Menus: Similar to those on the Viewer but only showing applicable commands.
• Time Value: Shows the time step or frame for which results are currently
displayed onscreen for point histories or path (profile) graphs (not shown).
• Clock: The large, easy-to-read clock displays minutes, seconds, and hundredths of
a second. Transient pressure pulses can travel fast enough to require this degree of
simulation and display accuracy.
• Sliders: Control animation speed (in frames per second) and frame position.
Manipulate them during an animation to jump ahead or change speed.
By default, the new Transient Results Viewer is used. To revert to the older Java Tran-
sient Results Viewer:
The available options are YES, NO, PROMPT (settings will not be case sensitive)
pROmpt = opens a prompt that allows you to choose which viewer to use
These menu commands are only available from within the Transient Results Viewer.
Open this menu by right-clicking on a graph axis.
The formatting category includes the following menu commands to format the
contents of the output variable graphs (in Viewer) to obtain report-ready figures:
• Format Graph: Opens a dialog to select the axis titles and labels, major and
minor grid lines, tick marks, background color, and outline style.
• Format Data: Opens a dialog to select the line type, color, and thickness for each
output variable (head, flow, or volume) displayed in the current graph. For the
currently selected output variable, you can specify an offset value to create a new
line parallel to it; for example, to show a pipeline's surge pressure tolerance. You
can also limit your formatting selections to a Line Segment, to show different pipe
materials along a pipeline, for example.
• Copy Symbols: Copies all symbols in the current graph pane to the Windows
clipboard.
• Paste Symbols: Pastes the symbols previously copied to the Windows clipboard
into the current graph pane.
• Copy Data: Copies the output variable line data shown in the current graph pane
so you can paste it into another graph.
• Paste Data (-): Clears the contents of the current graph pane, then pastes the
output variable line data previously copied to the Windows clipboard into the
current graph pane.
• Paste Data (+): Pastes the output variable line data previously copied to the
Windows clipboard into the current graph pane so you can compare the results of
two HAMMER project files. All results are displayed at the correct scale using the
units set for the graph.
The draw category includes the following menu commands, which are available in
the Viewer only:
• Draw Lines: Draws vertical, horizontal, or diagonal lines and allows you to
specify their line type, color, and thickness.
• Draw Text: Allows you to enter vertical or horizontal text labels.
• Draw Symbols: Displays a graphical list of hydraulic symbols you can insert into
the current graph pane.
The node symbols category includes the following menu commands, which are avail-
able in the Viewer only:
These menu commands are only available from within the Transient Results Viewer
by right-clicking anywhere except the graph axes.
• FlexUnits: Opens the FlexUnits manager, from which you can select the units of
measurement, display precision, and whether or not to use scientific notation.
Please note that changes made here are local to the current instance of the Tran-
sient Results Viewer. If the Transient Results Viewer is closed and re-opened, the
units will be reset to the units used in the main HAMMER interface.
The graph display category includes the following menu commands to adapt the
appearance of each graph for use on-screen or as a printed figure:
• Show Frame (Ctrl + F): Toggles the display of the frames that convert an on-
screen plot to a report-ready figure, complete with your company logo, project
number, date, and a title block.
• Page View (Ctrl + V): Toggles the display of the page outline to help you visu-
alize how it will look after printing. With HAMMER figures, what you see is what
you get (WYSIWYG) so there is no need for a print preview command.
• Lock Aspect Ratio (Ctrl + L): Toggles the display of the frames between figure
format, in which the length and width are scaled to the paper size, and on-screen
format, for which you can set the length and width by dragging the corner of the
graph window.
• Show Title Bar (Ctrl + T): Toggles the display of the graph window's title bar.
Turn title bars off to maximize the display area; for example, when animating.
The print and save category includes the following menu commands to specify
printing options:
• Page Setup: Opens a dialog box in which you can select a printer, set page orien-
tation, and set margin widths.
• Print (Ctrl + P): Prints the current graph according to the graph display options
currently shown in the graph window.
• Save (Ctrl + S): Saves the current graph file to disk, overwriting any previous
version of the same name. Remember to save your work often.
• Save As: Saves the current graph file to disk under a different filename. A dialog
box prompts you to enter the drive, directory, and new file name.
The data sources category includes the following menu commands to specify or
modify data sources:
• Set Data From: Opens an .rpt file and plots the selected variables in the current
graph window, after deleting the current graph contents.
• Add Data From: Opens an .rpt file and plots the selected variables in the current
graph window, without deleting the current graph contents. Useful for comparing
the results of two similar HAMMER projects.
• Close (Ctrl + F4): Closes the current graph window without saving its contents.
• Normal graphs and profiles don't show any time varying results from transient
simulation - all you can see are the extreme results like Pressure (Maximum, Tran-
sient).
• Profiles don't show any results for the intermediate points along a pipe.
To open the Transient Results Viewer click the Analysis menu and select Transient
• Profiles Tab
• Time Histories TabTime Histories Tab
Profiles Tab
This tab allows you to view profile results from transient simulations.
• Profile: Select the Profile path you want to plot or animate. Only Profile paths
marked as Transient Report Paths will be available from this menu. For details on
setting up Profiles and Transient Report Paths, refer to the Using Profiles section.
• Graph Type: Select the attribute(s) that will be displayed on the plot/animation.
• Profile Button: Opens the Transient Profile Viewer Dialog Box.
• Count: This field displays the number of points along the profile path.
• Length: This field displays the length of the profile path.
• From Point: This field displays the start point of the profile path.
• To Point: This field displays the end point of the profile path.
Maximum Volume
Maximum Head
Initial Head
Minimum Head
Elevation
You can also animate the profile using the time controls along the top of the dialog (if
you have set the Generate Animation Data? Calculation Option to True; see Calcula-
tion Options for more information).
• Profile Options: Clicking this button opens the Transient Profile Viewer
Options Dialog Box, allowing you to specify the transient profile options.
Clicking on the arrow on the right side of the button opens a submenu containing
the following commands:
– Save As Default Profile Settings: Choose this command to set the current
profile options as your new defaults.
– Apply Default Settings: Choose this command to apply your previously
saved default settings to the current profile.
– Restore Factory Defaults: Choose this command to reset the default profile
settings back to the factory defaults.
• Print Preview: Opens a print preview window containing the current view
of the profile. You can use the Print Preview dialog box to select a printer and
preview the output before you print it. Clicking on the arrow on the right side of
the button opens a submenu containing the following commands:
– Fit to Page: Resizes the profile view so that it fits on a single page.
– Scaled: Displays the profile at the scale defined in the Transient Profile
Viewer Options Dialog Box.
• Export to DXF: Opens an Export to DXF dialog, allowing you to export the
current profile as a .dxf file.
• Zoom In: Increases the magnification of the area that is clicked when this
tool is active.
• Go to Start: Sets the currently displayed time step to the beginning of the
simulation.
• Color Tab: This tab contains a table that is comprised of rows for each attribute
layer. For each layer, click the Is Visible checkbox to display that attribute. You
can also select a color for each layer in the Color column.
• Text Tab: This tab contains a table that is comprised of rows for each text layer.
For each layer you can seelct a font, font size, and font color.
This tab allows you to plot a graph of the transient results at report points.
• Working Scenario: Displays the scenario for which transient results are currently
displayed.
• End Point: This field displays the report point of the Time History.
• Count: This field displays the number of time steps in the transient simulation.
• Chart Settings: Clicking this button opens the Chart Options Dialog Box,
allowing you to specify the graph display options. Clicking on the arrow on the
right side of the button opens a submenu containing the following commands:
– Title: Toggles on/off the graph title.
– Legend: Toggles on/off the graph legend.
– Save As Default Profile Settings: Choose this command to set the current
graph options as your new defaults.
– Apply Default Settings: Choose this command to apply your previously
saved default settings to the current graph.
– Restore Factory Defaults: Choose this command to reset the default graph
settings back to the factory defaults.
• Print Preview: Opens a print preview window containing the current view
of the profile. You can use the Print Preview dialog box to select a printer and
preview the output before you print it.
• Zoom : Zooms in on a section of the profile. When the tool is toggled on, you
can zoom in on any area of the profile by clicking on the chart to the left of the
area to be zoomed, holding the mouse button, then dragging the mouse to the right
(or the opposite extent of the area to be magnified) and releasing the mouse button
when the area to be zoomed has been defined.
To zoom back out, click and hold the mouse button, drag the mouse in the oppo-
site direction (right to left), and release the mouse button.
• Go to Start: Sets the currently displayed time step to the beginning of the
simulation.
To work with annotations, open the Element Symbology manager. ChooseView >
Element Symbology or press <Ctrl+1> to open.
Use the Element Symbology manager to control the way that elements and their asso-
ciated labels are displayed.
Note that element types that are not used in the current model are marked with an icon
.
The dialog box contains a pane that lists each element type along with the following
icons:
;
Use folders in the Element Symbology manager to create a collection of color coding
and/or annotation that can be turned on or off at the same time.
Adding Folders
Use element symbology folders to control whether related annotations and/or color
coding displays. To create a folder in the Element Symbology manager:
Deleting Folders
Click View > Element Symbology. In the Element Symbology manager, right-click
the theme folder you want to delete, then select Delete.
Or, select the folder you want to delete, then click the Delete button.
Renaming Folders
Click View > Element Symbology. In the Element Symbology manager, right-click
the theme folder you want to rename, then select Rename.
Or, select the folder you want to rename, then click the Rename button.
To add an annotation
Note: If you add an annotation that uses units, you can type “%u” in
the prefix or suffix field to display the units in the drawing pane.
5. Select the initial X- and Y- offset for the annotation. Offset is measured from the
center of the node or polygon or midpoint of the polyline.
6. If needed, set an initial height multiplier. Use a number greater than 1 to make the
annotation larger and a number between 0 and 1 to make the annotation smaller. If
you use a negative number, the annotation is flipped (rotated 180 degrees).
7. If you have created selection sets, you can apply your annotation only to a partic-
ular selection set by selecting that set from the Selection Set menu. If you have not
created any selection sets, then the annotation is applied to all elements of the type
you are using.
8. After you finish defining your annotation, click Apply and then OK to close the
Annotation Properties dialog box and create your annotation. In order to close the
dialog box without creating an annotation click Cancel.
To delete an annotation
Click View > Element Symbology. In the Element Symbology manager, right-click
an annotation you want to delete, then select Delete.
Or, select the annotation you want to delete, then click the Delete button.
To edit an annotation
Click View > Element Symbology. In the Element Symbology manager, right-click
the annotation you want to edit, then select Edit.
Or, select the annotation you want to edit, then click the Edit button and the Annota-
tion Properties dialog box will open where you can make changes.
Rename an annotation
Click View > Element Symbology. In the Element Symbology manager, right-click
the annotation you want to rename, then select Rename.
Or, select the annotation you want to rename, then click the Rename button.
To copy an annotation
1. Click View > Element Symbology. In the Element Symbology manager, right-
click the annotation you want to copy, then select Copy.
2. Right-click on the element type and folder (if applicable) under which you want
the annotation to be copied and select Paste.
Annotation Properties
Use the Annotation Properties dialog box to define annotation settings for each
element type.
Initial Offset Checkbox When this box is checked, changes made to the
X and Y Offset will be applied to current and
subsequently created elements. When the box is
unchecked, only subsequently created elements
will be affected.
Initial Height Multiplier Sets the initial size of the annotation text. Set
this at the time you create the annotation.
Clicking OK will cause the new value to be used
for all subsequent elements that you place.
Clicking Apply will cause the new value to be
applied to all elements.
To create an annotation, type the text as you want it to appear in the drawing. You can
add element attributes to the text string by clicking the Append button and selecting
the attribute from the categorized list.
The dialog box contains a list pane that displays each of the definitions currently
contained within the project, a display pane that details the settings for the currently
highlighted definition, along with a toolbar. The toolbar consists of the following
buttons:
When you create a new definition, all of the annotation and color settings will be
turned off. To change the settings for a definition, change the current symbology defi-
nition to the one you want to edit in the Element Symbology Manager and make the
desired changes there (i.e. turn on/off the desired elements, create new annotations
and color coding and turn them on or off, etc.).
To work with color coding, go to View > Element Symbology > New Color Coding to
open the Color Coding Properties dialog box.
Properties
Color Map
Above Range Size Displays the size that is applied to elements whose
value for the specified attribute fall outside the
range defined in the color maps table. This
selection is available if you choose Size or Color
and Size from the Options list.
Or, select the element you want to add the color coding, click the New button, and
select New Color Coding.
3. The Color Coding Properties dialog box opens. Select the properties you want to
color code from the Field Name and Selection Set menus. Once you’ve selected
the Field Name, more information opens.
4. In the Color Maps Options menu, select whether you want to apply color, size, or
both to the elements you are coding.
a. Click Calculate Range. This automatically sets the maximum and minimum
values for your coding. These values can be set manually.
b. Click Initialize. This automatically creates values and colors in the Color
Map. These values can be set manually.
5. After you finish defining your color coding, click Apply and then OK to close the
Color Coding Properties dialog box and create your color coding, or Cancel to
close the dialog box without creating a color coding.
6. Click Compute to compute your network.
c.
Click View > Element Symbology. In the Element Symbology manager, right-click
the color coding you want to delete, then select Delete.
Or, select the color coding you want to delete, then click the Delete button.
Click View > Element Symbology. In the Element Symbology manager, right-click
the color coding you want to edit, then select Edit.
Or, select the color coding you want to edit, then click the Edit button.
Click View > Element Symbology. In the Element Symbology manager, right-click
the color coding you want to rename, then select Rename.
Or, select the color coding you want to rename, then click the Rename button.
1. Click View > Element Symbology. In the Element Symbology manager, right-
click the color coding you want to copy, then select Copy.
2. Right-click on the folder under which you want the defintion to be copied and
select Paste.
You can add color coding legends to the drawing view. A legend displays a list of the
colors and the values associated with them for a particular color coding definition.
Right-click the color coding definition in the Element Symbology dialog and select
the Insert Legend command.
1. Right-click the legend in the drawing view and select the Scale command.
2. Move the mouse to resize the legend and click the left mouse button to accept the
new size.
Right-click the color coding definition in the Element Symbology dialog and select
the Remove Legend command.
Right-click the color coding definition in the Element Symbology dialog and select
the Refresh Legend command.
Contours
Using Bentley HAMMER you can visually display calculated results for many
attributes using contour plots.
The Contours dialog box is where all of the contour definitions associated with a
project are stored. Choose View > Contours to open the Contours dialog box.
The dialog box contains a list pane that displays all of the contours currently contained
within the project, along with a toolbar.
Contour Definition
The Contour Definition dialog box contains the information required to generate
contours for a calculated network.
Contour
Label Height When contours are created, there are labels (text)
Multiplier placed on the end of the index contours. This text
has a default size. The Label Height Multiplier
field allows you to scale the text size for these
labels up/down.
Contour Plot
The Contour Plot window displays the results of a contour map specification as accu-
rate, straight-line contours.
The plot can be printed or exported as a .DXF file. Choose File > Export > DXF to
export the plot.
The Contour Browser dialog box displays the X and Y coordinates and the calculated
value for the contour attribute at the location of the mouse cursor in the drawing view.
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
modeler to understand the behavior of the system even in areas that have not been
included directly in the model.
Using Profiles
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.
The Profiles dialog box is where you can create, view, and edit profile views of
elements in the network.
The dialog box contains a list pane that displays all of the profiles currently contained
within the project, along with a toolbar.
By default, all profiles are created as Transient Report Paths. A Transient Report Path
is denoted by a small hammer icon.
You can right-click a profile in the Profile Manager and uncheck the Transient Report
Path toggle command in the context menu. When unchecked, transient analysis results
will not be saved for that profile. Reducing the number of Transient Report Paths can
reduce output file sizes and improve calculation times.
Profile Setup
Setting up a profile is a matter of selecting the adjacent elements on which the profile
is based. When you click on New in the Profiles dialog box the following dialog box
opens.
Select From Drawing Selects and clears elements for the profile.
Remove All Previous Removes all elements that appear before the
selected element in the list. If the selected element
is a pipe, the associated node is not removed.
Remove All Following Removes all elements that appear after the
selected element in the list. If the selected element
is a pipe, the associated node is not removed.
Open Profile Closes the Profile Setup dialog box and opens the
Profile Series Options dialog box.
You can edit your list of profile elements at any time and compute your network with
the Profile Viewer dialog box open, but you must click Refresh to update the display
of that dialog box if you do make changes.
Note that certain changes made to the network (morphing one element into another,
reconnecting pipes) can break existing profiles that include the modified element(s). If
this happens, delete the last node before the break (where the modified element is) in
the profile setup dialog and edit it accordingly to add the modified elements.
Note: In AutoCAD mode, you cannot use the shortcut menu, you must
re-open the Profile Setup dialog box.
The user has selected R-220 and J-40; the profile is the shortest
path between the selected elements
If one or more elements along the shortest path is Inactive, Bentley HAMMER will
select the shortest path that avoids the inactive elements, as shown below:
The user has again selected R-220 and J-40 but J-30 is Inactive.
The profile is the shortest path around the inactive element
You can include inactive elements in a profile; to do so, create a profile along the
desired path up to the first inactive element. Then click on each inactive pipe that you
wish to include in the profile until the profile path is complete, or your path returns to
the active elements again.
The Profile Series Options dialog box allows you to adjust the display settings for the
profile view. You can define the legend labels, the scenario (or scenarios), and the
attribute (or attributes) that are displayed in the profile plot.
The Series Label Format field allows you to define how the series will be labeled in
the legend of the profile view. Clicking the [>] button allows you to choose from
predefined variables such as Field name and Element label.
The Scenarios pane lists all of the available scenarios. Check the box next to a
scenario to display the data for that scenario in the profile view. The Expand All
button opens all of the folders so that all scenarios are visible; the Collapse button
closes the folders.
The Elements pane lists all of the elements that will be displayed in the profile view.
The Expand All button expands the list tree so that all elements are visible; the
Collapse button collapses the tree.
The Fields pane lists all of the available input and output fields. Check the box next to
a field to display the data for that field type in the profile view. The Expand All button
opens all of the folders so that all fields are visible; the Collapse button closes the
folders. The Filter by Field Type button allows you to display only Input or Output
fields in the list. Clicking the [>] button opens a submenu that contains all of the avail-
able fields grouped categorically.
Note that profiles don't show any results for the intermediate points along a pipe. To
see the results of transient calculations for these intermediate points, you will need to
use the Transient Results Viewer.
The Show this dialog on profile creation check box is enabled by default; uncheck this
box to skip this dialog when a new profile is created.
Profile Viewer
When you complete setting up your profile a Profile viewer will open which contains
the profile in graph or data format.
Chart Settings Opens the Chart Options dialog box to view and
modify the display settings for the current profile
plot.
Animation Controls
1. Choose View > Profiles or click the Profiles Manager icon on the View toolbar to
open the Profiles manager.
2. Click New .
To create a profile, the user can select the beginning and ending element of the
profile and then pick the green check. The shortest path between those
elements will be used to draw the profile. If the user wants to create a profile
along a path other than the shortest path, the user should initially draw the
path through the first element that the profile will be forced through and then
add elements as described below. The profile will display in the drawing in
red and the node elements that the user selected along the profile will be in
purple.
b. To add elements to the profile, click elements in the drawing pane. (By
default, the Add button is active in the Select dialog box.) You can only
add elements to either end of your selection.
When the Add button is toggled on, you can select elements to add to the
profile; elements that you successfully select are highlighted in red.
c. To remove elements from the profile, click the Remove button in the
Select dialog box. Thereafter, elements you select in the drawing pane are
removed from the profile. You can only remove elements from either end of
your selection.
When the Remove button is toggled on, you can remove elements from the
profile; unselected elements are not highlighted.
d. When you are finished adding elements to your profile, click the Done
button in the Select dialog box.
5. The Profile Setup dialog box opens and displays a list of the elements you
selected.
6. Click Open Profile to close the Profile Setup dialog box and open the Profile
Series Options box.
Note: If you want to close the Profile Setup box without saving your
changes, click Cancel or close the dialog.
7. Select the Scenarios, Elements, and Fields to be included in the Profile. Then
click OK. By default the Elevation and Hydraulic Grade fields are selected for the
current scenario.
You can edit a profile to change the elements that it uses or the order in which those
elements are used.
.
Or, select the profile you want to edit, then click Edit .
3. The Profile Setup dialog box opens. Modify the profile as needed and click Open
Profile to save your changes or Cancel to exit without saving your changes.
To delete a profile
Click View > Profiles to open the Profiles manager. In the Profiles manager, right-
Or, select the profile you want to delete, then click Delete.
To rename a profile
Click View > Profiles to open the Profiles manager. In the Profiles manager, right-
Or, select the profile you want to rename, then click Rename.
Click View > Profile to open the Profiles Manager, the click the Highlight button
Or, select the profile, then right click the Highlight command.
There is an additional right click option, "Transient Report Path". This is used when a
WaterGEMS/CAD model is imported into HAMMER for transient analysis. A report
on transients is prepared for any path for which this option is checked.
To view a profile
Note: You can edit your list of profile elements at any time and
compute your network with the Profile Viewer dialog box open,
but you must click Refresh to update the display of that dialog
box if you do make changes.
6. If you want to print you can use Print Preview to see what it will look like and
then Print.
To animate a profile
You can view all elements in the project, all elements of a specific type, or any subset
of elements. Additionally, to ease data input and present output data for specific
elements, FlexTables can be:
• Filtered
• Globally edited
• Sorted.
If you need to edit a set of properties for all elements of a certain type in your network,
you might consider creating a FlexTable and making your changes there rather than
editing each element one at a time in sequence.
FlexTables can also be used to create results reports that you can print, save as a file,
or copy to the Windows clipboard for copying into word processing or spreadsheet
software.
To work with FlexTables, select the FlexTables manager or go to View > FlexTables
<Ctrl+7> to open the FlexTables manager if it is closed.
FlexTables
Using the FlexTables manager you can create, manage, and delete custom tabular
reports. The dialog box contains a list pane that displays all of the custom FlexTables
currently contained within the project, along with a toolbar.
Note that element types that are not used in the current model are marked with an icon
.
You can add, delete, and rename folders in the FlexTable manager to organize your
FlexTables into groups that can be turned off as one entity. You can also create folders
within folders. When you start a new project, Bentley HAMMER V8i displays two
items in the FlexTable manager: Tables - Project (for project-level FlexTables) and
Tables - Shared (for FlexTables shared by more than one Bentley HAMMER V8i
project). You can add new FlexTables and FlexTable folders to either item or to
existing folders.
FlexTables are displayed in the FlexTable dialog box. The dialog box contains a
toolbar, the rows and columns of data in the FlexTable, and a status bar.
Opening FlexTables
To open FlexTables
1. Click View > FlexTables or click the FlexTables button on the View toolbar to
open the FlexTables manager.
2. Perform one of the following steps:
– Right-click the FlexTable you want to open, then select Open.
– Select the FlexTable you want to open, then click the Open button.
– Double-click the FlexTable you want to open.
• Project-level FlexTables are available only for the project in which you create
them.
• Shared tables are available in all projects.
1. Click View > FlexTables or click the FlexTables button on the View toolbar to
open the FlexTables manager.
2. In the FlexTables manager, right-click Tables - Project or Tables - Shared, then
select New > FlexTable.
Or, select Tables - Project or Tables - Shared, click the New button, then select
FlexTable.
3. The Table Setup dialog box opens.
4. Select the Table Type to be created.
5. Filter the table by element type.
6. Select the items to be included by double-clicking on the item or select the item
and click the Add arrow to move to the Selected Columns pane.
7. Click OK.
8. The table displays in the FlexTables manager; you can type to rename the table or
accept the default name.
Deleting FlexTables
Click View > FlexTables to open the FlexTables manager. In the FlexTables manager,
right-click the FlexTable you want to delete, then select Delete.
Or, select the FlexTable you want to delete, then click the Delete button. You cannot
delete predefined FlexTables.
To rename FlexTables
1. Click View > FlexTables or click the FlexTables button on the View toolbar to
open the FlexTables manager.
2. Perform one of the following steps:
– Right-click the FlexTable you want to rename, then select Rename.
– Select the FlexTable you want to rename, then click the Rename button.
– Click the FlexTable you want to rename, to select it, then click the name of
the FlexTable.
Editing FlexTables
You can edit a FlexTable to change the columns of data it contains or the values in
some of those columns.
Editable columns: Columns that contain data you can edit are displayed
with a white background. You can change these
columns directly in the FlexTable and your changes
are applied to your model when you click OK.
The content in the FlexTable columns can be
changed in other areas, such as in a Property Editor
or managers.
If you make a change that affects a FlexTable outside
the FlexTable, the FlexTable is updated automatically
to reflect the change.
Non-editable columns: Columns that contain data you cannot edit are
displayed with a yellow background and correspond
to model results calculated by the program and
composite values.
The content in these columns can be changed in other
areas, for example a Property Editor or by running a
computation.
If you make a change that affects a FlexTable outside
the FlexTable, the FlexTable is updated automatically
to reflect the change.
To edit a FlexTable
1. Click View > FlexTables to open the FlexTables manager, then you can:
– Right-click the FlexTable, then select Edit.
– Double-click the FlexTable to open it, then click Edit.
– Click the FlexTable to select it, then click the Edit button.
Navigating in Tables
The arrow keys, <Ctrl+End>, <Page Up>, <Page Down>, and <Ctrl+arrow> keys
navigate to different cells in a table.
Using FlexTables, you can globally edit all of the values in an entire editable column.
Globally editing a FlexTable column can be more efficient for editing properties of an
element than using the Properties Editor or managers to edit each element in your
model individually.
If necessary, you might need to first create a FlexTable or edit an existing one to
make sure it contains the column you want to change.
3. Right-click the column heading and select Global Edit.
4. In the Operation field, select what you want to do to data in the column: Add,
Divide, Multiply, Set, or Subtract.
You can sort and filter your FlexTables to focus on specific data or present your data
in one of the following ways:
• Edit the FlexTable; open the Table dialog box and change the order of the selected
tables using the up and down arrow buttons.
The top-most item in the Selected Columns pane appears furthest to the left in the
resulting FlexTable.
• Open the FlexTable, click the heading of the column you want to move, then click
again and drag the column to the new position. You can only move one column at
a time.
To filter a FlexTable
e. Click Apply above the preview pane to validate your SQL expression. If
the expression is valid, the window “Query Successful" opens. Click OK. The
word VALIDATED will be at the bottom of the window.
f. Click
OK.
Double-click the Click the desired operator Click the Refresh
desired field to add it or keyword button to add it button to display the
to the preview pane to the SQL expression in list of available
the preview pane unique values
Double-
click the
desired
unique
value to
add it to
the SQL
expression
in the
preview
pane
Apply
button
The FlexTable displays columns of data for all elements returned by the query and
the word “FILTERED” is displayed in the FlexTable status bar.
The status pane at the bottom of the Table window always shows the number of rows
displayed and the total number of rows available (for example, 10 of 20 elements
displayed).
If you change the values for an attribute that is being sorted or filtered, the sort or filter
operation needs to be reapplied. To do this, use the Apply Sort/Filter command acces-
sible from the right-click context menu.
To reset a filter
3. Click Reset.
4. Click Yes to reset the active filter.
1. Right-click the column heading for the sort or filter operation you want reapplied.
2. Select Apply Sort/Filter.
Discharge
Slope (ft./ Depth (cfs)
ft.) (ft.)
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:
Discharge
Slope (ft./ Depth (cfs)
ft.) (ft.)
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
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.
• Adding/Removing Columns—You can add, remove, and change the order of
columns from the Table Setup dialog box.
• Drag/Drop Column Placement—With the Table window open, select the
column heading of the column that you would like to move and drag the column
to its new location.
• Resizing Columns—With the Table open, click the vertical separator line
between column headings. Notice that the cursor changes shape to indicate that
you can resize the column. Drag the column separator to the left or right to stretch
the column to its new size.
• Changing Column Headings—With the Table window open, right-click the
column heading that you wish to change and select Edit Column Label.
This dialog is where you perform global element relabeling operations for the Label
column of the FlexTable.
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.
for the first element to be relabeled, 5, is entered in the Next field. The value by
which the numeric base of each consecutive element is in increments, 5, is entered
in the Increment field. The minimum number of digits in the ID number, 2, is
entered in the Digits field. If the number of digits in the ID number is less then this
value, zeros are placed in front of it. Click the Apply button to produce the
following labels: P-05-Z1, P-10-Z1, P-15-Z1, and P-20-Z1.
• Append—This operation allows you to append a prefix, suffix, or both to the
selected element labels. Suppose that you have selected the labels 5, 10, 15, and
20, and you wish to signify that these elements are actually pipes in Zone 1 of
your system. You can use the append operation to add an appropriate prefix and
suffix, such as P- and -Z1, by specifying these values in the Prefix and Suffix
fields and clicking the Apply button. Performing this operation yields the labels P-
5-Z1, P-10-Z1, P-15-Z1 and P-20-Z1. You can append only a prefix or suffix by
leaving the other entry field empty. However, for the operation to be valid, one of
the entry fields must be filled in.
The Preview field displays an example of the new label using the currently defined
settings.
The Table Setup dialog box is where you can customize tables through the following
options:
Available Columns Contains all the attributes that are available for
your table design. 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.
Click the Arrow button [>] to open a submenu that
contains all of the available fields grouped
categorically.
Add and Remove Select or clear columns to be used in the table and
Buttons arrange the order the columns appear.
The Add and Remove buttons are located in the
center of the Table Setup dialog box.
• [ > ] Adds the selected items from the Avail-
able Columns list to the Selected Columns list.
• [ >> ] Adds all of the items in the Available
Columns list to the Selected Columns list.
• [ < ] Removes the selected items from the
Selected Columns list.
• [ << ] Removes all items from the Selected
Columns list.
To rearrange the order of the attributes in the
Selected Columns list, select the item to be
You can copy your FlexTable data using the clipboard and paste it into another
Windows application, such as a word-processing application as tab-delimited text.
Caution: Make sure you paste the data you copied before you copy
anything else to the Windows clipboard. If you copy
something else to the clipboard before you paste your
FlexTable data, your FlexTable data will be lost from the
clipboard.
4. Paste <Ctrl+v> the data into other Windows software, such as your word-
processing application.
You can export the data in a FlexTable as tab- or comma-delimited ASCII text for use
in other applications, such as Notepad, spreadsheet, or word processing software.
Create a FlexTable Report if you want to print a copy of your FlexTable and its values.
Note: Instead of Print Preview, you can click Print to print the report
without previewing it.
3. Click Report and select one of the options. A print preview of the report displays
to show what your report will look like.
The Statistics dialog box displays statistics for the elements in a FlexTable. You can
right-click any unitized input or output column and choose the Statistics command to
view the count, maximum value, mean value, minimum value, standard deviation, and
sum for that column.
Using Sparklines
In FlexTable reports, the result columns only show the result value at the current time
step. To visualize how the results vary over time, the graphing feature can be used to
draw the results; while this method works for individual elements, there is no easy
way to see the results over time for all elements at the same time. To address this, the
Sparkline feature has been added. When Sparklines are turned on, a results column is
added to the FlexTable that displays a miniature graph of the result values over time.
To turn on Sparklines for a result attribute, create your FlexTable as usual, then right
click the column heading for the desired result attribute and select Show Sparklines
from the context menu.
When there is a currently active Sparklines column, you can right click the column
heading and select Sparkline Settings to change the display settings for the graphs.
See Sparkline Settings.
To turn Sparklines off, right click the attribute heading and select Hide Sparklines.
Sparkline Settings
This dialog alloows you to specify the settings used for the Sparklines feature.
• Specify Minimum Sparkline Value: When this box is checked, you may specify
the minimum value for the range in the Minimum field.
• Specify Maximum Sparkline Value: When this box is checked, you may specify
the maximum value for the range in the Maximum field.
• Show Out of Range Sparklines: When this box is checked, sparklines that fall
outside the specified range will still be displayed; values that fall below the speci-
fied range will be displayed in the selected Below Range Color and values that fall
above the specified range will be displayed in the selected Above Range Color.
Reporting
Use reporting to create printable content based on some aspect of your model, such as
element properties or results.
You need to compute your model before you can create reports about results, such as
the movement of water in your network. You can also create reports about input data
without computing your model, such as conduit diameters. (To compute your model,
after you set up your elements and their properties, click Compute.)
There are several standard reports available. To access the standard reports, click the
Report menu, then select the report.
Report Options
The Report Options dialog box offers control over how a report is displayed.
Load factory default settings to current view . Click to restore the default
settings to the current view.
Load global default settings to current view . Click to view the stored global
settings as local settings.
Save current view settings to global settings . Click to set the current report
options as the global default.
The header and footer can be fully customized and you can edit text to be displayed in
the cells or select a pre-defined dynamic variable from the cell’s menu.
You can also select fonts, text sizes, and customize spacing, as well as change the
default margins in the Default Margins tab.
This dialog is accessed by right-clicking any element in the drawing pane and
selecting the Results Table command. It displays a summary of a standard selection of
results related to that element type.
Click the Report button to generate a preformatted report containing the data in the
table.
Graphs
Use graphs to visualize your model or parts of your model, such as element properties
or results. The model needs to be computed before you can create graphs. After you
set up your elements and their properties, click the Compute button.
After the model has been calculated, you can graph elements directly from the
drawing view.
Right-click an element in the drawing view and select the Graph command.
1. Click the View menu and choose the Selection Sets command.
2. In the Selection Sets dialog, highlight the selection set to be graphed and click the
Select In Drawing button.
3. Right-click one of the selected elements and select the Graph command.
Graph Manager
The Graph manager contains any graph you have created and saved in the current
session or in a previous session. Graphs listed in the Graph manager retain any
customizations you have applied. You can graph computed values, such as flow and
velocity.
5. Bentley HAMMER V8i assumes initial flow—flow at time 0—in all networks to
be 0; thus, graphs of flow begin at 0 for time 0.
6. If needed, click Chart Settings to change the display of the graph.
Tip: If you want your graph to display over more time (for example, it
displays a 24-hour time period and you want to display a 72-hour
period), click Analysis > Calculation Options and change Total
Simulation Time in the Property Editor.
7. After you create a graph, it is available in the Graph manager. You can select it by
double-clicking it. Also, you can right-click a graph listed in Graph manager to:
– Delete it
Note: Graphs are not saved in Graph manager after you close the
program.
Select the desired graph from the Add to: menu, then click OK. To cancel the
command, click the Cancel button.
Printing a Graph
To print a graph click , or click Print Preview to view your graph then
click print.
You can view the data that your graphs are based on. To view your data, create a
graph, then, after the Graph dialog box opens, click the Data tab.
You can copy this data to the Windows clipboard for use in other applications, such as
word-processing software.
1. Click in the top-most cell of the left-most column to select the entire table, click a
column heading to select an entire column, or click a row heading to select an
entire row.
2. Press <Ctrl+C> to copy the selected data to the clipboard.
3. As needed, press <Ctrl+V> to paste the data as tab-delimited text into other soft-
ware.
To print out the data for a graph, copy and paste it into another application, such as
word-processing software or Notepad, and print the pasted content.
Using the Graph dialog box you can view and modify graph settings. After you create
a graph, you view it in the Graph dialog box.
Graph Tab
Print Opens the Print Preview dialog box to view the current
Preview image and change the print information.
Data Tab
Data Table The Data tab displays the data that make up the
graphs. If there is more than one item plotted, the data
for each plot is provided.
You can copy and paste the data from this tab to the
clipboard for use in other applications, such as
Microsoft Excel.
To select an entire column or row, click the column or
row heading. To select the entire contents of the Data
tab, click the heading cell in the top-left corner of the
tab. Use <Ctrl+C> and <Ctrl+V> to paste your data.
The column and row headings are not copied.
To reset the options to the factory default , click Chart Options > Restore Factory
Default Chart Options, then use the Chart Options > Save Chart Options as
Default command.
The Series Label Format field allows you to define how the series will be labeled in
the legend of the graph. Clicking the [>] button allows you to choose from predefined
variables such as Field name and Element label.
The Scenarios pane lists all of the available scenarios. Check the box next to a
scenario to display the data for that scenario in the graph. The Expand All button
opens all of the folders so that all scenarios are visible; the Collapse button closes the
folders.
The Elements pane lists all of the elements that will be displayed in the graph. The
Expand All button expands the list tree so that all elements are visible; the Collapse
button collapses the tree.
The Fields pane lists all of the available input and output fields. Check the box next to
a field to display the data for that field type in the graph. The Expand All button opens
all of the folders so that all fields are visible; the Collapse button closes the folders.
The Filter by Field Type button allows you to display only Input or Output fields in
the list. Clicking the [>] button opens a submenu that contains all of the available
fields grouped categorically.
Normal graphs don't show any time varying results from transient simulation - all you
can see are the extreme results like Pressure (Maximum, Transient). To see these time-
varying results you will need to use the Transient Results Viewer.
The Show this dialog on profile creation check box is enabled by default; uncheck this
box to skip this dialog when a new profile is created.
For any given element, the most commonly used fields are displayed underneath a
Common folder, colored blue (see screenshot above). To graph all of these attributes
you can simply check the Common box.
• Get familiar with your data - If you obtained your observed data from an outside
source, you should take the time to get acquainted with it. Be sure to identify units
of time and measurement for the data. Be sure to identify what the data points
represent in the model; this helps in naming your line or bar series as it will appear
in the graph.
• Preparing your data - Typically, observed data can be organized as a collection
of points in a table. In this case, the time series data can simply be copied to the
clipboard directly from the source and pasted right into the observed data input
table. Ensure that your collection of data points is complete. That is, every value
must have an associated time value. Oftentimes data points are stored in tab or
comma delimited text files; these two import options are available as well. See the
Sample Observed Data Source topic for an example of the observed data source
file format.
• Specifying the characteristics of your data - The following charecteristics must
be defined:
– Time from Start - An offset of the start time for an EPS scenario.
– Y Dimension - Unit class for the observed data point(s).
– Numeric Formatter - Group of units that correspond to the selected value.
– Y Unit - A preview of the current displayed unit for the selected format.
Note: Go to Tools > Options > Units for a complete list of formats.
1. Click New .
2. Set hours, dimension, and formatter.
Note: Note that the when importing data, the times in the data file must
be valid time-of-day values, like 9:00 or 23:00. They cannot span
multiple days. Therefore values greater than 24 hours, like 25:00,
are invalid.
Below is an example of an Observed Data source for import and graph comparison.
The following table contains a flow meter data collection retreived in the field for a
given pipe. We will bring this observed data into the model for a quick visual inspec-
tion against our model's calculated pipe flows.
0.00 125
0.60 120
3.00 110
9.00 130
13.75 100
18.20 125
21.85 110
With data tabulated as in the table above, we could simply copy and paste these rows
directly into the table in the Observed Data dialog. However if we had too many
points to manage, natively exporting our data to a comma delimited text file may be a
better import option. Text file import is also a better option when our time values are
not formatted in units of time such as hours, as in the table below.
00:00 125
00:36 120
03:00 110
09:00 130
13:45 100
18:12 125
21:51 110
0:00,125
0:36,120
3:00,110
9:00,130
13:45,100
18:12,125
21:51,110
1. Click the Import toolbar button from the Observed Data dialog.
2. Pick the source .csv file.
3. Choose the Time Format that applies, in this case, HH:mm:ss, and click OK.
Note: Changes you make to graph settings are not retained for use
with other graphs.
Click one of the following links to learn more about Chart Options dialog
box:
The Chart tab lets you define overall chart display parameters. This tab is subdivided
into second-level sub-tabs:
• Series Tab
• Panel Tab
• Axes Tab
• General Tab
• Titles Tab
• Walls Tab
• Paging Tab
• Legend Tab
• 3D Tab
Series Tab
Use the Series tab to display the series that are associated with the current graph. To
show a series, select the check box next to the series’ name. To hide a series, clear its
check box. The Series tab contains the following controls:
Up/Down arrows Lets you select the printer you want to use.
Panel Tab
Use the Panel tab to set how your graph appears in the Graph dialog box. The Panel
tab includes the following sub-tabs:
Borders Tab
Use the Borders tab to set up a border around your graph. The Borders tab contains the
following controls:
Border Lets you set the border of the graph. The Border
Editor opens, see Border Editor Dialog Box.
Color Lets you set the color for the bevel effect that you
use; inner and outer bevels can use different color
values.
Size Lets you set a thickness for the bevel effect that
you use; inner and outer bevels use the same size
value.
Background Tab
Use the Background tab to set a color or image background for your graph. The Back-
ground tab contains the following controls:
Gradient Tab
Use the Gradient tab to create a gradient color background for your graph. The
Gradient tab contains the following subtabs and controls:
Format Tab
Colors Tab
Start Lets you set the starting color for your gradient.
Opens the Color Editor dialog box.
End Lets you select the final color for your gradient.
Opens the Color Editor dialog box.
Gamma Correction Lets you control the brightness with which the
background displays to your screen; select or clear
this check box to change the brightness of the
background on-screen. This does not affect printed
output.
Options Tab
Sigma Focus Lets you use the options controls. Select this
check box to use the controls in the Options tab.
Sigma Scale Lets you control how much of the gradient’s end
color is used by the gradient background.
Shadow Tab
Use the Shadow tab to create a shadow for your graph. The Shadow tab contains the
following controls:
Color Lets you set a color for the shadow of your graph.
You might set this to gray but can set it to any
other color.
Axes Tab
Use the Axes tab set how your axes display. It includes the following controls and
subtabs:
Scales Tab
Use the Scales tab to define your axes scales. The Scales tab contains the following
controls:
Increment Displays the increment value you set for the axis.
Log Base If you select a logarithmic scale, set the base you
want to use in the text box.
Minimum Tab
Maximum Tab
Labels Tab
Use the Labels tab to define your axes text. The Labels tab contains the following
subtabs and controls:
Style Tab
Multi-line Lets you split labels or values into more than one
line if the text contains a space. Select this check
box to enable multi-line text.
Format Tab
Values Format Lets you set the numbering format for the axis
labels.
Default Alignment Lets you select and clear the default TeeChart
alignment for the right or left axes only.
Text Tab
Font Lets you set the font properties for axis labels.
This opens the Windows Font dialog box.
Color Lets you select the color for the axis label font.
Double-click the colored square between Font and
Fill to open the Color Editor dialog box (see Color
Editor Dialog Box).
Fill Lets you set a pattern the axis label font. The
Hatch Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Ticks Tab
Use the Ticks tab to define the major ticks and their grid lines. The Ticks tab contains
the following controls:
Grid Lets you set the properties of the graph’s grid lines
that intersect the selected axis. Opens the Border
Editor dialog box.
Ticks Lets you set the properties of the tick marks that
are next to the labels on the label-side of the
selected axis. Opens the Border Editor dialog box.
Inner Lets you set the properties of the tick marks that
are next to the labels on the graph-side of the
selected axis. Opens the Border Editor dialog box.
Centered Lets you align between the grid labels the graph’s
grid lines that intersect the selected axis.
At Labels Only Sets the axis ticks and axis grid to be drawn at
labels only. Otherwise, they are drawn at all axis
increment positions.
Title Tab
Use the Title tab to set the axis titles. The Title tab contains the following subtabs and
controls:
Style Tab
Visible Check box that lets you display or hide the axis
title.
Text Tab
Font Lets you set the font properties for axis title. This
opens the Windows Font dialog box.
Color Lets you select the color for the axis title font.
Double-click the colored square between Font and
Fill to open the Color Editor dialog box (see Color
Editor Dialog Box).
Fill Lets you set a pattern the axis title font. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box
Minor Tab
Use the Minor tab to define those graph ticks that are neither major ticks. The Minor
tab contains the following controls and tabs:
Grid Lets you set the properties of grid lines that align
with the minor ticks. The Border Editor opens, see
Border Editor Dialog Box.
Position Tab
Use the Position tab to set the axes position for your graph. The Position tab contains
the following controls:
General Tab
Use the General tab to preview a graph before you print it and set up scrolling and
zooming for a graph. It includes the following controls:
Print Preview Lets you see the current view of the document as it
will be printed and lets you define the print
settings, such as selecting a printer to use. Opens
the Print Preview dialog box.
Margins Lets you specify margins for your graph. There are
four boxes, each corresponding with the top,
bottom, left, and right margins, into which you
enter a value that you want to use for a margin.
Zoom Tab
Use the Zoom tab to set up zooming on, magnifying, and reducing the display of a
graph. The Zoom tab contains the following controls:
Pen Lets you set the thickness of the border for the
zoom window that surrounds the magnified area
when you click and drag. The Border Editor
opens, see Border Editor Dialog Box.
Minimum pixels Lets you set the number of pixels that you have to
click and drag before the zoom feature is
activated.
Mouse Button Lets you set the mouse button that you use to click
and drag when activating the zoom feature.
Scroll Tab
Use the Scroll tab to set up scrolling and panning across a graph. The Scroll tab
contains the following controls:
Allow Scroll Lets you scroll and pan over the graph. Select this
check box to turn on scrolling, clear the check box
to turn it off.
Mouse Button Lets you set the mouse button that you click to use
the scroll feature.
Titles Tab
The Titles tab lets you define titles to use for your graph. It includes the following
controls and tabs:
Title Lets you set the location of the titles you want to
use. The Titles sub tabs apply to the Title that is
currently selected in the Title drop-down list.
Style Tab
Use the Style tab to display and create a selected title. Type the text of the title in the
text box on the Style tab. The Style tab contains the following controls:
Adjust Frame Lets you wrap the frame behind the selected title
to the size of the title text.
Each title can have a frame behind it (see Format
Tab). By default, this frame is transparent. If you
turn off transparency to see the frame, the frame
can be sized to the width of the graph or set to
snap to the width of the title text.
Select the Adjust Frame check box to set the
width of the frame to the width of the title text;
clear this check box to set the width of the frame
to the width of the graph.
Position Tab
Use the Position tab to set the placement of the selected title. The Position tab contains
the following controls:
Format Tab
Use the Format tab to set and format a background shape behind the selected title. The
Format tab contains the following controls:
Color Lets you set a color for the fill of the shape you
create behind the selected title. The Color Editor
opens, see Color Editor Dialog Box.
Frame Lets you define the outline of the shape you create
behind the selected title. The Border Editor opens,
see Border Editor Dialog Box.
Pattern Lets you set a pattern for the fill of the shape you
create behind the selected title. The Hatch Brush
Editor opens, see Hatch Brush Editor Dialog Box.
Transparent Lets you set the fill of the shape you create behind
the selected title as transparent. If the shape is
completely transparent, you cannot see it, so clear
this check box if you cannot see a shape that you
expect to see.
Transparency Lets you set transparency for the shape, where 100
is completely transparent and 0 is completely
opaque.
Text Tab
Use the Text tab to format the text used in the selected title. The Text tab contains the
following controls:
Font Lets you set the font properties for the text. This
opens the Windows Font dialog box.
Color Lets you select the color for the text. Double-click
the colored square between Font and Fill to open
the Color Editor dialog box (see Color Editor
Dialog Box).
Fill Lets you set a pattern for the text. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Gradient Tab
Note: To use the Gradient tab, clear the Transparent check box in the
Chart > Titles > Format tab.
Use the Gradient tab to create a gradient color background for your axis title. The
Gradient tab contains the following controls:
Format Tab
Colors Tab
Start Lets you set the starting color for your gradient.
End Lets you select the final color for your gradient.
Gamma Correction Lets you control the brightness with which the
background displays to your screen; select or clear
this check box to change the brightness of the
background on-screen. This does not affect printed
output.
Options Tab
Sigma Focus Lets you set the location on the chart background
of the gradient’s end color.
Sigma Scale Lets you control how much of the gradient’s end
color is used by the gradient background.
Shadow Tab
Use the Shadow tab to create a shadow for the background for the selected title. The
Shadow tab contains the following controls:
Color Lets you set a color for the shadow. You might set
this to gray but can set it to any other color. The
Color Editor opens, see Color Editor Dialog Box.
Pattern Lets you set a pattern for the shadow. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Bevels Tab
Note: To use the Gradient tab, clear the Transparent check box in the
Chart > Titles > Format tab.
Use the Bevels tab to create rounded effects for the background for the selected title.
The Bevels tab contains the following controls:
Color Lets you set the color for the bevel effect that you
use; inner and outer bevels can use different color
values.
Size Lets you set a thickness for the bevel effect that
you use; inner and outer bevels use the same size
value.
Walls Tab
Use the Walls tab to set and format the edges of your graph. The Walls tab contains the
following subtabs:
Left/Right/Back/Bottom Tabs
Use the Left, Right, Back, and Bottom tabs to select the walls that you want to edit.
You might have to turn off the axes lines to see the effects (see Axes Tab on page 11-
828) for the back wall and turn on 3D display to see the effects for the left, right, and
bottom walls (see 3D Tab on page 11-848).
The Left, Right, Back, and Bottom tabs contain the following controls:
Gradient Lets you set a color gradient for your walls. The
Gradient Editor opens, see Gradient Editor Dialog
Box.
Paging Tab
Use the Paging tab to display your graph over several pages. The Paging tab contains
the following controls:
Points per Page Lets you scale the graph to fit on one or many
pages. Set the number of points you want to
display on a single page of the graph, up to a
maximum of 100.
Scale Last Page Scales the end of the graph to fit the last page.
Current Page Legend Shows only the current page items when the chart
is divided into multiple pages.
Show Page Number Lets you display the current page number on the
graph.
Legend Tab
Use the Legend tab to display and format a legend for your graph. The Legend tab
includes the following controls:
Style Tab
Use the Style tab to set up and display a legend for your graph. The Style tab contains
the following controls:
Visible Lets you show or hide the legend for your graph.
Font Series Color Sets text in the legend to the same color as the
graph element to which it applies.
Text Style Lets you select how the text in the legend is
aligned and what data it contains.
Dividing Lines Lets you use and define lines that separate
columns in the legend. The Border Editor opens,
see Border Editor Dialog Box.
Position Tab
Use the Position tab to control the placement of the legend. The Position tab contains
the following controls:
Position Lets you place the legend on the left, top, right, or
bottom of the chart.
Custom Lets you use the Left and Top settings to control
the placement of the legend.
Symbols Tab
Use the Symbols tab to add to the legend symbols that represent the series in the
graph. The Symbols tab contains the following controls:
Visible Lets you display the series symbol next to the text
in the legend.
Width Units Lets you set the units that are used to size the
width of the symbol.
Default border Lets you use the default TeeChart format for the
symbol. If you clear this check box, you can set a
custom border using the Border button.
Border Lets you set a custom border for the symbols. You
must clear Default Border to use this option. The
Border Editor opens, see Border Editor Dialog
Box.
Position Lets you put the symbol to the left or right of its
text.
Format Tab
Use the Format tab to set and format the box that contains the legend. The Format tab
contains the following controls:
Color Lets you set a color for the fill of the legend’s box.
The Color Editor opens, see Color Editor Dialog
Box.
Pattern Lets you set a pattern for the fill of the legend’s
box. The Hatch Brush Editor opens, see Hatch
Brush Editor Dialog Box.
Round Frame Lets you round the corners of the legend’s box.
Select this check box to round the corners of the
shape.
Text Tab
Use the Text tab to format the text used in the legend. The Text tab contains the
following controls:
Font Lets you set the font properties for the text. This
opens the Windows Font dialog box.
Color Lets you select the color for the text. Double-click
the colored square between Font and Fill to open
the Color Editor dialog box (see Color Editor
Dialog Box).
Fill Lets you set a pattern for the text. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Gradient Tab
Use the Gradient tab to create a gradient color background for your legend. The
Gradient tab contains the following controls:
Format Tab
Colors Tab
Start Lets you set the starting color for your gradient.
End Lets you select the final color for your gradient.
Gamma Correction Lets you control the brightness with which the
background displays to your screen; select or clear
this check box to change the brightness of the
background on-screen. This does not affect printed
output.
Options Tab
Sigma Focus Lets you set the location on the chart background
of the gradient’s end color.
Sigma Scale Lets you control how much of the gradient’s end
color is used by the gradient background.
Shadow Tab
Use the Shadow tab to create a shadow for the legend. The Shadow tab contains the
following controls:
Color Lets you set a color for the shadow. You might set
this to gray but can set it to any other color. The
Color Editor opens, see Color Editor Dialog Box.
Pattern Lets you set a pattern for the shadow. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Bevels Tab
Use the Bevels tab to create a rounded effects for the legend. The Bevels tab contains
the following controls:
Color Lets you set the color for the bevel effect that you
use; inner and outer bevels can use different color
values.
Size Lets you set a thickness for the bevel effect that
you use; inner and outer bevels use the same size
value.
3D Tab
Use the 3D tab to add a three-dimensional effect to your graph. The 3D tab contains
the following controls:
Zoom Text Lets you magnify and reduce the size of the text in
a graph when using the zoom tool. clear this check
box if you want text, such as labels, to remain the
same size when you use the zoom tool.
Horiz. Offset Lets you adjust the left-right position of the graph.
Vert. Offset Lets you adjust the up-down position of the graph.
Use the Series tab to set up how the series in your graph display. Select the series you
want to edit from the drop-down list at the top of the Series tab.
• Format Tab
• Point Tab
• General Tab
• Data Source Tab
• Marks Tab
Format Tab
Use the Format tab to set up how the selected series appears. The Format tab contains
the following controls:
Color Lets you set a color for the graph of the selected
series. The Color Editor opens, see Color Editor
Dialog Box.
Pattern Lets you set a pattern for the graph of the selected
series. This might only be visible on a three-
dimensional graph (see 3D Tab). The Hatch Brush
Editor opens, see Hatch Brush Editor Dialog Box.
Point Tab
Use the Point tab to set up how the points that make up the selected series appear. The
Point tab contains the following controls:
Pattern Lets you set a pattern for the points in your series.
The Hatch Brush Editor opens, see Hatch Brush
Editor Dialog Box. You must clear Default to use
this option.
Default Lets you select the default format for the points in
your series. This overrides any pattern selection.
Width/Height Lets you set a size for the points in the selected
series.
General Tab
Use the General tab to modify basic formatting and relationships with axes for series
in a graph. The General tab contains the following controls:
Show in Legend Lets you show the series title in the legend. To use
this feature, the legend style has to be Series or
LastValues (see Style Tab).
Sort Sorts the points in the series using the labels list.
This lets you set the number of random points to generate and overrides the points
passed by Bentley HAMMER V8i to the chart control. The Data Source feature can be
useful in letting you set its sources as functions and do calculations between the series
created by Bentley HAMMER V8i.
Marks Tab
Use the Marks tab to display labels for points in the selected series. Series-point labels
are called marks. The Marks tab contains the following tabs and controls:
Style Tab
Use the Style tab to set how the marks display. The Style tab contains the following
controls:
All Series Visible Lets you display marks for all series.
Draw every Sets the interval of the marks that are displayed.
Selecting 2 would display every second mark, and
3 would display every third, etc.
Angle Lets you rotate the marks for the selected series.
Arrow Tab
Use the Arrow tab to display a leader line on the series graph to indicate where the
mark applies. The Arrow tab contains the following controls:
Border Lets you set up the leader line. The Border Editor
opens, see Border Editor Dialog Box.
Pointer Lets you set up the arrow head (if any) used by the
leader line. The Pointer dialog box opens, see
Pointer Dialog Box.
Arrow head Lets you select the kind of arrow head you want to
add to the leader line.
Length Lets you set the size of the leader line and arrow
head, or just the leader line if there is no arrow
head.
Distance Lets you set the distance between the leader line
and the graph of the selected series.
Format Tab
Use the Format tab to set and format the boxes that contains the marks. The Format
tab contains the following controls:
Color Lets you set a color for the fill of the boxes. The
Color Editor opens, see Color Editor Dialog Box.
Pattern Lets you set a pattern for the fill of the boxes. The
Hatch Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Round Frame Lets you round the corners of the boxes. Select
this check box to round the corners of the shape.
Transparency Lets you set transparency for the boxes, where 100
is completely transparent and 0 is completely
opaque.
Text Tab
Use the Text tab to format the text used in the marks. The Text tab contains the
following controls:
Font Lets you set the font properties for the text. This
opens the Windows Font dialog box.
Color Lets you select the color for the text. Double-click
the colored square between Font and Fill to open
the Color Editor dialog box (see Color Editor
Dialog Box).
Fill Lets you set a pattern for the text. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Gradient Tab
Use the Gradient tab to create a gradient color background for your marks. The
Gradient tab contains the following subtabs and controls:
Format Tab
Colors Tab
Start Lets you set the starting color for your gradient.
End Lets you select the final color for your gradient.
Gamma Correction Lets you control the brightness with which the
background displays to your screen; select or clear
this check box to change the brightness of the
background on-screen. This does not affect printed
output.
Options Tab
Sigma Focus Lets you set the location on the chart background
of the gradient’s end color.
Sigma Scale Lets you control how much of the gradient’s end
color is used by the gradient background.
Shadow Tab
Use the Shadow tab to create a shadow for the marks. The Shadow tab contains the
following controls:
Color Lets you set a color for the shadow. You might set
this to gray but can set it to any other color. The
Color Editor opens, see Color Editor Dialog Box.
Pattern Lets you set a pattern for the shadow. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Bevels Tab
Use the Bevels tab to create a rounded effects for your marks. The Bevels tab contains
the following controls:
Color Lets you set the color for the bevel effect that you
use; inner and outer bevels can use different color
values.
Size Lets you set a thickness for the bevel effect that
you use; inner and outer bevels use the same size
value.
Use the Tools tab to add special figures in order to highlight particular facts on a given
chart. For more information, see Chart Tools Gallery Dialog Box on page 11-868. The
Tools tab contains the following controls:
Add Lets you add a tool from the Chart Tools Gallery.
To be usable in the current graph, a tool needs to
be added and set to Active.
Note: Each tool has its own parameters, see Chart Tools Gallery Dialog
Box.
Use the Export tab to save your graph for use in another application. The Export tab
contains the following controls:
Save Lets you create a new file from the contents of the
graph.
Picture Tab
Use the Picture tab to save your graph as a raster image or to copy the graph as an
image to the clipboard. The Picture tab contains the following controls and subtabs:
Format Lets you select the format of the picture you want
to save. GIF, PNG, and JPEG are supported by the
Worldwide Web, a metafile is a more easily
scalable format. A Bitmap is a Microsoft BMP file
that is widely supported on Windows operating
systems, whereas TIFF pictures are supported on a
variety of Microsoft and non-Microsoft operating
systems.
Options Tab
Colors Lets you use the default colors used by your graph
or to convert the picture to use grayscale. This
feature is used when you save the picture as a file,
not by the copy option.
Size Tab
Keep aspect ratio Lets you keep the relationship between the height
and width of the picture the same when you
change the image size. If you clear this check box,
you can distort the picture by setting height or
width sizes that are not proportional to the original
graph.
Note: Changing the size of a graph using these controls might cause
some loss of quality in the image. Instead, try saving the graph
as a metafile and resizing the metafile after you paste or insert it
into its destination.
Native Tab
Data Tab
Series Lets you select the series from which you copy
data.
Format Lets you select a file type to which you can save
the data. This is not used by the Copy function.
Text separator Lets you specify how you want rows of data
separated. This is supported by the Save function
and only by the Copy function if you first saved
using the text separator you have selected, before
you copy.
Use the Print tab to preview and print your graph. The Print tab contains the following
controls and subtabs:
Setup Lets you configure the printer you want to use. For
example, if the selected printer supports printing
on both sides of a page, you might want to turn on
this feature.
Page Tab
Margins Lets you set up top, bottom, left, and right margins
that are used when you print.
Margin Units Lets you set the units used by the Margins
controls: percent or hundredths of an inch.
Format Tab
The Border Editor dialog box lets you define border properties for your graph. The
Border Editor dialog box contains the following controls:
Color Lets you select a color for the border. The Color
Editor dialog box opens, see Color Editor Dialog
Box.
Style Lets you set the style for the border. Solid is an
uninterrupted line.
Use the Gradient Editor dialog box to set a blend of two or three colors as the fill.
Click OK to apply the selection. The Gradient Editor contains the following controls
and tabs:
Format Tab
Colors Tab
Start Lets you set the starting color for your gradient.
End Lets you select the final color for your gradient.
Gamma Correction Lets you control the brightness with which the
background displays to your screen; select or clear
this check box to change the brightness of the
background on-screen. This does not affect printed
output.
Options Tab
Sigma Focus Lets you set the location on the chart background
of the gradient’s end color.
Sigma Scale Lets you control how much of the gradient’s end
color is used by the gradient background.
To access the Gradient Editor dialog box, click Chart Settings in the Graph dialog box,
then click the Tools tab. Select the Axis tab and Color Band tool, then click the
Gradient button.
Use the Color Editor dialog box to select a color. Click the basic color you want to use
then click OK to apply the selection. The Color Editor dialog box contains the
following controls:
To access the Color Editor dialog box, click a Color button in the Chart Options dialog
box.
Use the Color dialog box to select a basic color or to define a custom color. After you
select the color you want to use, click OK to apply the selection.
Custom colors Displays colors you have created and selected for
use.
Color matrix Lets you use the mouse to select a color from a
range of colors displayed.
Add to Custom Colors Adds the current custom color to the Custom
colors area.
To access the Color dialog box, click the Custom button in the Color Editor dialog
box.
Use the Hatch Brush Editor dialog box to set a fill. The Hatch Brush Editor dialog box
contains the following controls and tabs:
Hatch Style Select the pattern you want to use. These display
using the currently selected background and
foreground colors.
Format Tab
Colors Tab
Start Lets you set the starting color for your gradient.
End Lets you select the final color for your gradient.
Gamma Correction Lets you control the brightness with which the
background displays to your screen; select or clear
this check box to change the brightness of the
background on-screen. This does not affect printed
output.
Options Tab
Sigma Focus Lets you set the location on the chart background
of the gradient’s end color.
Sigma Scale Lets you control how much of the gradient’s end
color is used by the gradient background.
Style Lets you define how the graphic is used in the fill.
• Stretch—Resizes the image to fill the usable
space.
• Tile—Repeats the image to fill the usable
space.
• Center—Puts the image in the horizontal and
vertical center.
• Normal—Puts the image in the top-left corner
Use the Pointer dialog box to set up a pointers for use with leader lines. The Pointer
dialog box contains the following controls:
Pattern Lets you set a pattern for the pointers. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box. You must clear Default to use this
option.
Default Lets you select the default format for the pointers.
This overrides any pattern selection.
To access the Pointer dialog box, click Chart Settings in the Graph dialog box, then
click Series > Marks > Arrow.
Use the Change Series Title dialog box to change the title of a selected series. Type the
new series title, then click OK to apply the new name or Cancel to close the dialog
box without making a change.
To access the Change Series title dialog box, click Chart Settings in the Graph dialog
box, then click the Series tab, then the Title button.
Use the Chart Tools Gallery dialog box to add tools to your graph. For more informa-
tion, see Chart Options Dialog Box - Tools Tab on page 11-857.
Click one of the following links to learn more about the Chart Tools Gallery dialog
box:
Cursor
Displays a draggable cursor line on top of the series. After you have added the Cursor
tool to your graph, you can modify the following settings:
Pen Lets you define the cursor tool. The Border Editor
opens, see Border Editor Dialog Box.
Drag Marks
Lets you drag series marks. To use this tool, you must display the marks for a selected
series, see Marks Tab. After you have added the Drag Marks tool to your graph, you
can modify the following settings:
Reset Positions Moves any marks you have dragged back to their
original position.
Drag Point
Lets you drag a series point. After you have added the Drag Point tool to your graph,
you can modify the following settings:
Mouse Button Lets you select the mouse button you click to drag.
Draw Line
Lets you draw a line on the graph by dragging. After you have added the Draw Line
tool to your graph, you can modify the following settings:
Pen Lets you define the line. The Border Editor opens,
see Border Editor Dialog Box.
Button Lets you select the mouse button you click to drag.
Enable Draw Enables the Draw Line tool. Select this check box
to let you draw lines, clear it to prevent you from
drawing lines.
Enable Select Lets you select and move lines that you have
drawn. Select this check box, then click and drag
the line you want to move. clear this check box if
you want to prevent lines from being moved.
Gantt Drag
Lets you move and resize Gantt bars by dragging. This is unused by Bentley
HAMMER V8i.
Image
Displays a picture using the selected series axes as boundaries. After you have added
the Image tool to your graph, you can modify the following settings:
Mark Tips
Displays data in tooltips when you move the cursor over the graph. After you have
added the Mark Tips tool to your graph, you can modify the following settings:
Nearest Point
Lets you define and display an indicator when you are near a point in the selected
series. After you have added the Nearest Point tool to your graph, you can modify the
following settings:
Fill Lets you set the fill for the nearest-point indicator.
The Hatch Brush Editor opens, see Hatch Brush
Editor Dialog Box.
Draw Line Creates a line from the tip of the cursor to the
series point.
Pie Slices
Outlines or expands slices of pie charts when you move the cursor or click them. This
is unused by Bentley HAMMER V8i.
Series Animation
Animates series points. After you have added the Series Animation tool to your graph,
you can modify the following settings:xxxx seems broken.
Steps Lets you select the steps used in the animation. Set
this control towards 100 for smoother animation
and away from 100 for quicker, but less smooth
animation.
Start at min. value Lets you start the animation at the series’
minimum value. clear this check box to set your
own start value.
Start value Sets the value at which the animation starts. To use
this control, you must clear Start at min. value.
Axis Arrows
Lets you add arrows to the axes. The arrows permit you to scroll along the axes. After
you have added the Axis Arrows tool to your graph, you can modify the following
settings:
Border Lets you set the outline of the arrows. The Border
Editor opens, see Border Editor Dialog Box.
Fill Lets you set the fill for the arrows. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Inverted Scroll Lets you change the direction in which the arrows
let you scroll.
Position Lets you set an axis arrow at the start, end, or both
positions of the axis.
Color Band
Lets you apply a color band to your graph for a range of values you select from an
axis. After you have added the Color Band tool to your graph, you can modify the
following settings:
Axis Select the axis that you want to use to define the
range for the color band.
Border Lets you set the outline of the color band. The
Border Editor opens, see Border Editor Dialog
Box.
Pattern Lets you set the fill of the color band. The Hatch
Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Color Lets you set a solid color for the color band. The
Color Editor opens, see Color Editor Dialog Box.
Start Value Sets where the color band begins. Specify a value
on the selected axis.
End Value Sets where the color band ends. Specify a vale on
the selected axis.
Draw Behind Lets you position the color band behind the
graphs. If you clear this check box, the color band
appears in front of your graphs and hides them,
unless you have transparency set.
Color Line
Lets you apply a color line, or plane in three dimensions, at a point you set at a value
on an axis. After you have added the Color Line tool to your graph, you can modify
the following settings:
Axis Select the axis that you want to use to define the
location for the line.
Border Lets you set the outline of the color line. The
Border Editor opens, see Border Editor Dialog
Box.
Value Sets where the color line is. Specify a value on the
selected axis.
Allow Drag Lets you drag the line or lock the line in place.
Select this check box if you want to permit
dragging. clear this check box if you want the line
to be fixed in one location.
Drag Repaint Lets you smooth the appearance of the line as you
drag it.
No Limit Drag Lets you drag the line beyond the axes of the
graph, or constrain the line to boundaries defined
by those axes. Select this check box to permit
unconstrained dragging.
Draw Behind Lets you position the color line behind the graphs.
If you clear this check box, the color band appears
in front of your graphs. This is more noticeable in
3D graphs.
3D Grid Transpose
Swaps the X and Z coordinates to rotate the series through 90 degrees. This is unused
by Bentley HAMMER V8i.
Annotation
Lets you add text to the chart. After you have added the Annotation tool to your graph,
you can modify the following settings:
Options Tab
Text Lets you enter the text you want for your
annotation.
Text alignment Sets the alignment of the text inside the annotation
box.
Cursor Lets you set the style of the cursor when you move
it over the annotation.
Position Tab
Left/Top Lets you set a position from the Left and Top
edges of the graph tab for the annotation.
Callout Tab
Border Lets you set up the leader line. The Border Editor
opens, see Border Editor Dialog Box.
Pointer Lets you set up the arrow head (if any) used by the
leader line. The Pointer dialog box opens, see
Pointer Dialog Box.
Distance Lets you set the distance between the leader line
and the graph of the selected series.
Arrow head Lets you select the kind of arrow head you want to
add to the leader line.
Format Tab
Color Lets you set a color for the fill of the boxes. The
Color Editor opens, see Color Editor Dialog Box.
Pattern Lets you set a pattern for the fill of the boxes. The
Hatch Brush Editor opens, see Hatch Brush Editor
Dialog Box.
Round Frame Lets you round the corners of the boxes. Select
this check box to round the corners of the shape.
Transparency Lets you set transparency for the boxes, where 100
is completely transparent and 0 is completely
opaque.
Text Tab
Font Lets you set the font properties for text. This
opens the Windows Font dialog box.
Color Lets you select the color for the text font. Double-
click the colored square between Font and Fill to
open the Color Editor dialog box.
Fill Lets you set a pattern for the text font. The Hatch
Brush Editor opens.
Gradient Tab
Colors Lets you set the colors used for your gradients.
The Start, Middle, and End selections open the
Color Editor, see Color Editor Dialog Box.
• Start—Lets you set the starting color for your
gradient.
• Middle—Lets you select a middle color for
your gradient. The Color Editor opens. Select
the No Middle Color check box if you want a
two-color gradient.
• End—Lets you select the final color for your
gradient.
• Gamma Correction—Lets you control the
brightness with which the background
displays to your screen; select or clear this
check box to change the brightness of the
background on-screen. This does not affect
printed output.
• Transparency—Lets you set transparency for
your gradient, where 100 is completely trans-
parent and 0 is completely opaque.
Options Lets you control the affect of the start and end
colors on the gradient, the middle color is not
used.
• Sigma—Lets you use the options controls.
Select this check box to use the controls in the
Options tab.
• Sigma Focus—Lets you set the location on
the chart background of the gradient’s end
color.
• Sigma Scale—Lets you control how much of
the gradient’s end color is used by the
gradient background.
Shadow Tab
Color Lets you set a color for the shadow. You might set
this to gray but can set it to any other color. The
Color Editor opens.
Pattern Lets you set a pattern for the shadow. The Hatch
Brush Editor opens.
Bevels Tab
Color Lets you set the color for the bevel effect that you
use; inner and outer bevels can use different color
values.
Size Lets you set a thickness for the bevel effect that
you use; inner and outer bevels use the same size
value.
Page Number
Lets you add a page number annotation. For more information, see Annotation.
Rotate
Lets you rotate the chart by dragging. After you have added the Rotate tool to your
graph, you can modify the following settings:
Outline Lets you set the outline. The Border Editor opens,
see Border Editor Dialog Box.
Use the TeeChart Gallery dialog box to change the appearance of a series.
Series
The available series chart designs include:
• Standard
• Stats
• Financial
• Extended
• 3D
• Other
• View 3D—Lets you view the chart design in two or three dimensions. Select this
check box to view the charts in 3D, clear it to view them in 2D.
• Smooth—Smooths the display of the charts. Select this check box to smooth the
display, clear it to turn off smoothing.
Functions
The available function chart designs include:
• Standard
• Financial
• Stats
• Extended
• View 3D—Lets you view the chart design in two or three dimensions. Select this
check box to view the charts in 3D, clear it to view them in 2D.
• Smooth—Smooths the display of the charts. Select this check box to smooth the
display, clear it to turn off smoothing.
Customizing a Graph
To customize a graph
1. If you do not have your own model, open one of the example files.
2. Create a graph.
a. Click Compute.
b. Close the Calculation Summary.
c. Save your model.
d. Right click an element. To add more than one element press <Shift+click>,
then right-click and select Graph.
e. Click OK after you click the color you want to use. The series that are
changed are those that you highlighted in the Chart > Series tab.
f. Click Outline to open the Border Editor to change the thickness of a line.
g. Select Visible.
h. Change the Width.
i. Make sure the Transparency is set to 0 if you want the line to appear opaque.
j. Click OK after you define the line width and attributes. The series that are
changed are those that you highlighted in the Chart > Series tab.
5. Change the interval between labels, grid, and ticks.
a. Click Chart > Axes > Scales > Change to change the interval between labels
on the axes.
b. Select the Axis you want to change from the list of axes in the Axes area.
c. In the Increment dialog box, type the new value and click OK. This also
changes the distance between major and minor ticks.
6. You can show and hide a grid associated with the major ticks.
a. Click Chart > Axes > Ticks.
b. Select the axis to change the grid, then click Grid.
c. In the Border Editor dialog box, select or clear Visible to show or hide the
grid.
7. You can show and hide a grid associated with the minor ticks.
a. Click Chart > Axes > Minor.
b. Select the axis to change the grid, then click Grid.
c. In the Border Editor dialog box, select or clear Visible to show or hide the
grid.
8. You can set the minimum and maximum range for an axis.
a. Click Chart > Axes > Scales.
b. Select the axis to change the grid, then click Grid.
c. Use the Minimum tab to change the minimum value for an axis. Clear the
Auto check box.
d. Click Change.
e. Set the minimum value for the axis.
f. Use the Maximum tab to change the maximum value for an axis. Clear the
Auto check box.
g. Click Change.
h. Set the maximum value for the axis.
The Time Series Field Data dialog allows you to enter your observed field data and
compare it to the calculated results from the model in graph format. This is especially
useful in comparing time series data for model calibration.
Use this feature to display user-supplied time variant data values alongside calculated
results in the graph display dialog. Model competency can sometimes be determined
by a quick side by side visual comparison of calculated results with those observed in
the field
• Get familiar with your data - If you obtained your observed data from an outside
source, you should take the time to get acquainted with it. Be sure to identify units
of time and measurement for the data. Be sure to identify what the data points
represent in the model; this helps in naming your line or bar series as it will appear
in the graph. Each property should be in a separate column in your data source
file.
• Preparing your data - Typically, observed data can be organized as a collection
of points in a table. In this case, the time series data can simply be copied to the
clipboard directly from the source and pasted right into the observed data input
table. Ensure that your collection of data points is complete. That is, every value
must have an associated time value. Oftentimes data points are stored in tab or
comma delimited text files; these two import options are available as well.
• Starting time series data entry - To create a time series data set, click the
Component menu and select Time Series Field Data. Pick the element type (e.g.
Pipe, Junction) and select the New button on the top row of the dialog. (You may
also right click on the Element Type Name and click the Add button) You will
then see the Select Associated Modeling Attribute dialog where you select the
property (attribute) to be imported. Choose the attribute and click OK. You may
import any number of data sets for any Property and Element. The data set will
have the default name of Property-N (e.g. Flow - 1). To change the name, click
the Rename button (third button along the top of the table).
• Specifying the characteristics of your data - The following charecteristics must
be defined:
– Start Date Time - Specify the date and time the field data was collected. It is
important to ensure that your data shows correctly on the plot compared to the
simulated data. For example, if the calculation Base Date and Start Time
differ from the field data, they will not overlay properly on any graphs of the
corresponding data.
– Element - Choose the element that represents the field data measurement
location. Click the ellipsis button to select the element from the drawing.
– Data Storage Unit - The storage unit doesn’t generally need to be changed,
however it becomes a consideration when the user wants to import/export
time-series data using ModelBuilder. ModelBuilder sets the value using the
underlying (unitless) time-series data field, so (unlike most fields), there is no
conversion of values to storage units when working directly with the field.
To address this issue, you can specify the storage unit associated with the time
series. Note that if the user changes the storage unit, existing values will be
interpreted differently. The user can retain their values by copying them from
the table, changing the unit, and pasting the values back in.
– Time From Start - Specify an offset of the start time and date for an EPS
scenario.
– Attribute Value - Enter the value for the specified attribute at the specified
Time from Start.
You can perform a quick graphical check on the data import by clicking the Graph
button at the top of the data table.
The data is saved with the model file. If you modify the source data file, the changes
will not appear until time series data is imported again.
To add the time series field data to a graph, first create the graph of the property from
an EPS model run (e.g. right click on element and pick Graph). In the Graph options
dialog, select Time Series Field Data and then the name of the time series (in the Field
pane (right pane). The field data will appear in the graph as points (by default) while
the model results will appear as a continuous line. This can be changed using the Chart
Settings button at the top of the graph (third from left).
Calculation Summary
The calculation summary gathers useful information related to the state of the calcula-
tion (e.g. success/failure), status messages for elements (e.g. pump on/off, tank full/
empty), and the system flow results (e.g. flow demanded, flow stored).
The following controls are available in the Calculation Summary dialog box:
The tabs below the time step table contain the following information:
• Run Statistics Tab: This tab displays calculation statistics such as the time the
calculation was completed, how long the calculation took to load and run, and the
number of time steps, links, and nodes that were calculated.
Note: The stats displayed under this tab pertain only to Steady State
and EPS runs. For fire flow and flushing analysis the run times
reported do not include the times for all the nodes to run, just
the base Steady State run.
• Information Tab: This tab displays any element messages for the currently
selected time step.
• Status Messages Tab: This tab displays any status messages for the currently
selected time step.
• Trials Tab: This tab displays the relative flow change for each of the trials for the
currently selected time step.
The Calculation Summary Graph Series Options dialog box allows you to adjust the
display settings for the calculation summary graph. You can define the scenario (or
scenarios), and the attribute (or attributes) that are displayed in the graph.
The Scenarios pane lists all of the available scenarios. Check the box next to a
scenario to display the data for that scenario in the graph. The Expand All button
opens all of the folders so that all scenarios are visible; the Collapse button closes the
folders.
The Fields pane lists all of the available output fields. Check the box next to a field to
display the data for that field type in the graph. The Expand All button opens all of the
folders so that all fields are visible; the Collapse button closes the folders.
Click the tabs in the summary dialog box to see the various types of results:
• Summary Tab
• Initial Conditions Tab
• Extreme Pressure and Heads Tab
Summary Tab
This tab provides a summary of some of the important details about the calculation
options, network elements, and global settings used in the calculation. The following
fields are included in this tab:
This tab displays a table containing the initial conditions for each report path in the
simulation. The table consists of the following columns:
This tab provides the following information as a sorted table in which each line is a
different point simulated in the HAMMER model:
• End Point: The node element that is one of the boundaries for a report path. Each
report path has two end points.
• Upsurge Ratio: The maximum pressure over the steady state pressure.
• Max. Pressure: Maximum pressure calculated for the associated end point.
• Min. Pressure: Minimum pressure calculated for the associated end point.
• Max. Head: Maximum head calculated for the associated end point.
• Min. Head: Minimum head calculated for the associated end point.
Print Preparation
Detailed help for the Print Preparation feature can be found in the PrintPrepara-
tion.chm found in the Bentley/HAMMER folder.
• For Admins: To set up a template, create the Legend rectangle by placing a View-
port Area and choosing the Legend mode.
• For Users: When creating a print model, it's important to note that you must
perform an Insert Legend from Element Symbology command before the
legend will show up in the print model. All the legends that you have inserted will
show up in the viewport area that was set up in the template.
1. Copy/paste:This is the easiest way to move tabular data to and from models.
Simply highlight the data to be copied (or an entire table). Select Copy or CTRL-
C. Move to where the data are to be placed. Select Paste or CTRL-V.
2. ModelBuilder (see Using ModelBuilder to Transfer Existing Data): This is best
for moving data from GIS/CAD/database/spreadsheet sources to and from the
model. Importing to the model is called "Synching in" (Build Model) and
exporting from the model is called "Synching out". To move data between
models, first copy out to an intermediate file (e.g. shape file for element data,
spreadsheet for component data). Two overall types of data can be moved to and
from the model.
a. Element data consists of the actual pipes, nodes, etc that make up the model.
ModelBuilder preserves the correct x-y coordinates and properties of the
elements. This is useful for GIS/CAD data.
b. Component data and collections (e.g. pump definitions, patterns, unit
demands) do not have spatial coordinates. These are written to a spreadsheet/
database file and then imported into another model.
13. Background layers (see Using Background Layers): These are used in the stand
alone version to display a variety of raster and vector images behind the model. In
other platforms, the display of background layers is controlled by the platform
specific native software functions.
14. Copy images to clipboard: To move an image from the model to the clipboard
for use in other applications (e.g. Word. PowerPoint), click on the dialog/image to
get focus, select Alt-PrtSreen. Then paste from clipboard.
15. Exporting Graphs and Profiles (see Graphs and Using Profiles): Graphs and
profiles created with the model can be exported to a variety of formats including
BMP, JPG, PNG, and GIF from the Chart Options dialog.
16. Shared tables (see Viewing and Editing Data in FlexTables): Shared tables are
used to store the format of flex tables so that they can be used by other models.
These are stored in C:\Documents and Settings\<User Name>\Local
Settings\Application Data\Bentley\<Product Name>\8 (under Windows 2003
Server/XP) or C:\Users\<User Directory>\AppData\Local\Bentley\<Product
Name>\8 (under Windows Vista, Windows 7, and Server 2008). Highlight the flex
table, right click, and select Duplicate > As shared flex table.
1. Click the File menu, select Import, then choose Bentley HAMMER Database
from the submenu.
2. Browse to and highlight the wtg.sqlite file to import.
3. Click Open.
1. Click the File menu, select Import, then choose EPANET from the submenu.
2. Browse to and highlight the .inp input file to import.
3. Click Open.
1. Click the File menu, select Export, then choose EPANET from the submenu.
2. Type a name for the input file.
3. Click Save.
For example, the submodel you want to import contains input data that you would like
to transfer in two Physical Alternatives named “Smaller Pipes” and “Larger Pipes”.
The target model contains only one Physical Alternative named “Larger Pipes”. In that
case, the input data in the alternative labeled "Larger Pipes" in the submodel will
replace the alternative with the same name in the target model. Moreover, the alterna-
tive labeled "Smaller Pipes" as well as its input data will be added to the target model
without replacing any existing data on it because there is no existing alternative with
the same label. Notice that imported elements will be assigned default values in those
existing alternatives in the target model that could not be matched.
Notice that regular models can be imported as a submodel of a larger model as their
file format and extension are the same.
For more information about input data transfer, see Exporting a Submodel.
To import a submodel
Exporting a Submodel
You can export any portion of a model as a submodel for import into other projects.
Input data is also stored in the file that is created in the process of Exporting a
Submodel. This input data will be imported following a label-matching strategy for
any element, alternative, scenario, calculation option or supporting data in the
submodel. For more information about input data transfer, see Importing and
Exporting Submodel Files.
To export a submodel
For Bentley Water versions newer than the 2004 , please see the Bentley Water
documentation regarding the Export to Bentley HAMMER command.
Click the File menu and select Import, then choose the Bentley Water 2004 Model
command.
Specify the input data source by selecting a data source type, a data source, and a
geometry data file (*.dat). If you want to update only those elements specified in the
geometry data file, check the associated checkbox. Click Next.
Specify the node, pipe, component, adn elevation table names. When finished, click
Next.
Specify the unit options for the model. When finished, click Finish.
Progress indicator runs. When completed, a Bentley Water Import Summary opens.
The Save button allows you to save the statistics to a Rich Text file (*.rtf). The Copy
button copies the statistics to the Windows clipboard.
When prompted with “Do you wish to synchronize the drawing now?”, click “Yes” to
synchronize immediately or “No” to synchronize later.
Oracle Login
This dialog appears when you choose an Oracle Spatial Data source.
Enter the oracle User ID, Password, and Data Source, then click OK.
The Export to DXF Layer Settings dialog is divided into tabs for Link Layers, Node
Layers, and Polygon Layers.
Each tab contains a table that allows you to specify a prefix and suffix for the associ-
ated dxf layer. The Preview field displays how the label will appear.
The Link Layers tab has additional controls: Entering a value in the Pipe Size Signifi-
cant Digits field allows you to organize the pipe layer into multiple layers taking the
pipe sizes into account using the Layer by Pipe Size checkbox.
If you have v3 installed, installing v8 will add a new command to your v3 File>Export
menu. Open the model to be upgraded in v3 and perform the File>Export>Bentley
Bentley HAMMER Presentation Settings command to obtain a presentation settings
file that can be used when upgrading the model file.
Export to Shapefile
It is possible to export model elements and data to create a shapefile. Unlike the other
export features in Bentley HAMMER V8i, the export to shapefile operation occurs in
a FlexTable as opposed to the File > Export menu. Shapefiles must be created one
element type at a time. That means there will be a separate shapefile to junctions,
pipes, tanks, etc.
To create a shapefile, open the FlexTable for the type of element. Use selection sets or
filtering to reduce the size of the FlexTable to what is desired in the shapefile. Use the
table edit feature to eliminate any columns that are not desired.
When FlexTable is in correct form, pick the first button at the top left of the table
which is the Export button. A Specify File Name to Export dialog ill open, allowing
you to specify the file name and path for the shapefile. When the user names the file
and clicks Save, the dialog below appears.
It is important to insure that any shapefile field names are less than or equal to 10
characters. The default name for shapefile field is the name of the column in the
FlexTable. (If the user changes the name to something different from the FlexTable
column name, the editor remembers it when other shapefiles are created from this
table.) Once the names are acceptable, hit OK to create the shapefile. A shapefile
consisting of .dbf, .shx and .shp files are created.
Engineer’s Reference
References
For modeling purposes, these system elements are organized into the following cate-
gories:
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, and the Energy Principle.
The two modes of analysis are Steady-State Network Hydraulics and Extended Period
Simulation. This program solves for the distributions of flows and hydraulic grades
using the Gradient Algorithm.
The first law of thermodynamics states that for any given system, the change in energy
is equal to the difference between the heat transferred to the system and the work done
by the system on its surroundings during a given time interval.
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.
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:
2 2
p V p V
-----1 + z 1 + -----1- + h p = -----2 + z 2 + -----2- + h L
2g 2g
Where:
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/) 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
energy 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 diagram.
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).
Conservation of Energy
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 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 topology 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
n 1
R2 Q2 2
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
NA 11 A 12 dQ dE
A 21 0 dH dq
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 A 12 ) 1 A 21 N 1 (Q k A 11 A 10 H f ) (q A 21Q k )
1
Q k 1 (1 N 1 )Q k N 1 A 11 (A 12 H k 1 A 10 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
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 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 L1b
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 soft-
ware 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.
Pump Theory
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. 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.
A pump’s characteristic
curve is fixed for a given motor speed and impeller diameter, but can be determined
for any speed and any diameter by applying the affinity laws. For variable speed
pumps, these affinity laws are presented as:
Q1 n
1
Q2 n2
and
2
h 1 n1
h 2 n 2
During preliminary studies, the exact characteristics of the constant horsepower pump
may not be known. In these cases, the assumption is often made that the pump is
adding energy to the water at a constant rate. Based on power-head-flow rate relation-
ships for pumps, the operating point of the pump can then be determined. Although
this assumption is useful for some applications, a constant horsepower pump should
only be used for preliminary studies.
• 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).
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.
Valve Theory
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.
Bentley HAMMER can model distribution system check valves in two ways.
Check valves are generally used on the suction side of pumps. Bentley HAMMER
assumes that all pumps have a check valve on their downstream side. Therefore, a user
should not specify a check valve there..
• Partially opened (i.e., active) to maintain its pressure setting on its upstream side
when the downstream pressure is below this value.
• Fully open if the downstream pressure is above the setting.
• Closed if the pressure on the downstream side exceeds that on the upstream side
(i.e., reverse flow is not allowed).
Colebrook-White Equation
Hazen-Williams Equation
Darcy-Weisbach Equation
Manning’s Equation
Minor Losses
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 CA RS
Colebrook-White Equation
Free Surface:
1 k 2.51
= - 2 log +
f Ł12.0 R Re f ł
1 k 2.51
= - 2 log +
f Ł3. 7 D Re f ł
Hazen-Williams Equation
Q k C A R0.63 S0.54
Darcy-Weisbach Equation
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
RS
Q A 8g
f
Where: Q = Discharge (m3/s, cfs)
A = Flow area (m2, ft.2)
R = Hydraulic radius (m, ft.)
S = Friction slope (m/m, ft./ft.)
f = Darcy-Weisbach friction factor (unitless)
g = Gravitational acceleration constant (m/s2, ft./sec.2)
The Swamee and Jain equation can then be used to calculate the friction factor.
1.325
f =
Ø ø2
Œln e + 5. 74 œ
Œ Ł 3.7 D 0.9 œ
º Re łß
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
Ck
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
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:
Typical values for fitting loss coefficients are included in the Fittings Table.
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.
Engineer’s Reference
This section provides you with tables of commonly used roughness values and fitting
loss 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
Pipe Material C
Lead 130-140
Plastic 140-150
Steel
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
• Improved system performance during emergency water usage events such as fires
and main breaks,
• Reduction of transients produced when pumps start and stop,
• Simplification of flow control procedures.
Bentley HAMMER V8i variable speed pumping feature will allow designers to make
better decisions by empowering them to fully evaluate the advantages and disadvan-
tages associated with VSPs for their unique application.
Within Bentley HAMMER V8i 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 Bentley HAMMER V8i 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.
See Pump Theory for more information about pump curves.
• 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
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.
The VSP model and APEX have been designed to fully integrate with the simple and
rule based control framework within Bentley HAMMER V8i. You must keep in mind
that the definition 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
interactions between VSPs and controls can be rather complex. We have tried to the
extent possible to simplify these interactions while maintaining the power and flexi-
bility 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
variable 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.
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 parallel, you will use the length of the dominant pipe while for pipes
in series, you will add the lengths of the two pipes as follows:
Lr = L1 + L2
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.
Hazen-Williams Equation
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 on the sum of the lengths.
Solved for C:
0.54
Lr
-------------
2.63
Dr
C r = -------------------------------------------------------
Li 0.54
----------------------------
Di Ci
4.87 1.85
Solved for D:
0.205
Lr
---------------
0.38
Cr
D r = -----------------------------------------------------------
Li 0.205
-----------------------------
Di Ci
4.87 1.85
-
Parallel Pipes
Solved for C:
0.54 2.63
Lr Ci Di
Cr = ------------
Dr
2.63
-
------------------
Li
0.54
-
Solved for D:
Manning’s Equation
2
KL n Q
h = -----------------------
5.33
D
Series Pipes
Solved for n:
2 0.5
Dr Li n
2.66
n r = -------------
i
------------
-
0.5 5.33
Lr Di
Solved for D:
0.188
L n2
D r = ------------------------
r r
2
Li n
r
-------------
Di
5.33
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
D i
Dr = Lr n
0.5
-------------
0.5
L i n
Darcy-Weisbach Equation
2
KLfQ
h = -----------------
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 values 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 = ---------------------------------------------------
5.74 2
ln ------------ + -------------
k
3.7D 0.9
Re
where
VD
Re = --------
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
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, run through examples of each. 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, see how the flow compares. 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.
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
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
Naïve 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.
In order to deal with a recoverable calamity, the concept of water supply is introduced
to quantify the supply capacity of a water distribution system. It is defined as a
percentage of the supplied demand over the normal demand. Water companies are
required to comply the minimum water supply level under a calamity of one element
outage, which is expected to be fully repaired within 24 hours. The modeling
approach for evaluating water supply level for the use cases as follows.
Use Cases
Demand Deficit
Solution Methodology
Use Cases
In 1994, the Dutch water authority posted the guideline for water companies to eval-
uate the level of water supply while coping with calamity events. A tentative guideline
requirement is that a water system must meet 75% of the original demand for the
majority of customers and no large group of customers (2000 resident addresses)
should receive less than 75% of their original demand.
The guideline is applicable to all the elements between the source and tap in a water
system and is required to find the effect of every element. In order to calculate the
water supply level under a calamity event, a hydraulic modeling approach is proposed:
1. Take one element at a time out of a model, copying the calamity event of element
outage
2. Run the model for peak hours of all demand types and also the peak hours of tank
filling. The actual demand needs to be modeled as a function of pressure; the
supply is considered unaffected if the pressure is above the required pressure
threshold
3. Evaluate the water supply level for each demand node. If there is less than 2000
resident customers receiving less than 75% of the normal demand, then the
requirement is met. Repeat Step 1 to simulate another calamity event. If the
requirement is not met, continue with step 4.
4. Perform 24 hours pressure dependent demand simulation for the maximum
demand day under the calamity even
5. Sum up the actual demand for each node over 24 hours
6. Check if there is any node where the totalized demand over 24 hours is less than
75% of the maximum day demand; if not, the guideline is met. Otherwise an
appropriate system improvement needs to be identified in order to meet the guide-
line.
UK water companies are required by law to provide water at a pressure that will,
under normal circumstances, enable it to reach the top floor of a house. In order to
assess if this requirement is satisfied, companies are required to report against a
service level corresponding to a pressure head of 10 meters at a flow of 9 liters per
minute. In addition, water companies are also required to report the supply reference
for unplanned and planned service interruptions.
Both use cases provide some generality for water utilities world wide to evaluate the
performance of water systems under emergency and low pressure conditions. An
emergency event can be specified as one set of element outages. In order to quantify
the water supply level under such an event, the demand must be modeled as a function
of nodal pressure. Hydraulic model needs to be enhanced to perform pressure depen-
dent demand simulation and to compute the level of certainty/supply level.
Assume Qi to be the normal demand at node i. Qis,j represents the actual supplied
demand at node i under calamity event j, the supply level at node i for event j is given
as:
Qis, j
Si , j 100%
Qi
This gives the percentage of the demand that a system supplies to node i under
calamity event j. The key is to calculate the actual supply demand Qis under the outage
that may cause lower than required junction pressure. The less the demand, the greater
the impact the calamity is on the system supplied capacity and the more critical the
element is to the system.
Whenever a calamity occurs, the systems pressures are affected. Some locations may
not have the required pressure. Nodal demand, water available at a location, is depen-
dent on the pressure at the node when the pressure is low. Unlike the conventional
approach of demand driven analysis, demand is a function of pressure, Pressure
Dependent Demand (PDD). However, it is believed that a junction demand is not
affected by pressure if the pressure is above a threshold. The junction demand is
reduced when the pressure is dropping below the pressure threshold and it is zero
when the pressure is zero.
PDD can be defined as one of two pressure demand relationships including a power
function and a pressure demand piecewise linear curve (table). The power function is
given as:
0 Hi 0
Qis H i
0 Hi Ht
Qri H ri
H t
Hi Ht
H ri
Where:
A typical PDD power function is illustrated below. The actual demand increases to the
full requested demand (100%) as pressure increases but remains constant after the
pressure is greater than the pressure threshold, namely the percent of pressure
threshold is greater than 100%.
Demand Deficit
When a calamity event is modeled, the total supplied demand may be less than the
normal required demand. The difference between the calculated demand and the
normal required demand is a demand deficit that is evaluated under a prescribed
supply level threshold. The total system demand deficit under one possible calamity
event j:
N
Q j (Qi Qis, j ) when Si , j St
i 1
Q j
Where is the deficit demand at event j and St is the threshold of supply level.
This formula provides the method for evaluating water supply level, element criti-
cality, and modeling pressure dependent demand.
Solution Methodology
The key solution methodology is how to solve for the pressure dependent demand.
Conventionally, nodal demand is a known value. Applying the mass conservation law
to each node and energy conservation law to each loop, the network hydraulics solu-
tion can be obtained by iteratively solving a set of linear and non-linear equations. A
unified formulation for solving network hydraulics is given as a global gradient algo-
rithm (GGA).
Where Q is the unknown pipe discharge and H is the unknown nodal head. q is the set
of nodal demand that is not dependent on the nodal head H.
For pressure dependent demand, the demand is no longer a known value but a function
of nodal pressure. The solution matrix becomes:
A new diagonal matrix A22 is added to the solution matrix. The non-zero diagonal
element is given as
By following the original derivation of GGA, pressure dependent demand formula can
be solved as:
D11 ... A 12 dQ dE
... ... ... ... ...
A21 ... D22 dH dq
The difference from the original GGA is the new diagonal matrix D22, which is the
deviation of A22 of pressure head H.
0 Pi s 0
1
Hi
D22 (i, i ) Qi 0 Pi s Pt
Pt
0 Pi s Pt
The modified GGA is to calculate D22 for each pressure dependent demand node and
add at A(i, i) as follows:
where j denotes the pipe j that is connected with node i. This notation is the same as
the EPANET2 engine code.
An alternative solution method is to directly apply GGA as derived but move the pres-
sure dependent demand term to the right
This method will require no matrix modification of original GGA, but the program
will update the nodal demand according to the pressure head of the left side of the
matrix.
References
Babovic V., Wu Z. Y. & Larsen L. C., “Calibrating Hydrodynamic Models by Means
of Simulated Evolution,” in Proceeding of Hydroinformatics, Delft, Netherlands,
pp193-200, 1994.
Benedict, R. P., Fundamentals of Pipe Flow, John Wiley and Sons, Inc., New York,
1980.
Cohon, J.L., Multi-objective Programming and Planning. Academic Press, New York,
1978.
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.
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 Illinois at Urbana-
Champaign, Urbana, IL 61801, 1993.
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.
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., EPANET User’s Manual (AWWA Workshop Edition), Risk Reduc-
tion Engineering Laboratory, Office of Research and Development, USEPA, Ohio,
1993.
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.
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. 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.
Todini, E. & Pilati, S., “A gradient method for the analysis of pipe networks,” 1987.
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.
Walski, Thomas M., Water System Modeling Using CYBERNET, Waterbury, Connect-
icut, Haestad Methods, 1993.
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.
With Bentley HAMMER V8i, you can analyze drinking water systems, sewage force-
mains, fire protection systems, well pumps, and raw-water transmission lines. You can
change the specific gravity of the fluid to model oil or slurries, for example. Bentley
HAMMER V8i assumes that changes in other fluid properties, such as temperature,
are negligible. It does not currently model fluids with significant thermal variations,
such as can occur in cogeneration or industrial systems.
The Bentley HAMMER V8i algorithms will grow and evolve to keep pace with the
state of the practice in water distribution and wastewater collection modeling. Because
the mathematical solution methods are continually extended, this manual deals prima-
rily with the fundamental principles underlying these algorithms and focuses less on
the details of their implementation.
RELATED TOPICS
14.1 Acknowledgements
Bentley HAMMER V8i is based on technology originally created by Environmental
Hydraulics Group (GENIVAR), led by Dr. Alan Fok, P.Eng., a designated Hydraulic
Specialist, and assisted by Dr. Sheldon Zemell. Bentley Systems and GENIVAR have
forged a long-term collaboration to support and improve Bentley HAMMER V8i. The
software is intended to represent the latest technology in water hammer analysis and
design. Some of the text in this section is adapted from Chapter 13 of Haestad Press’
Advanced Water Distribution Modeling and Management (AWDM), written by Dr.
Edmundo Koelle, Dr. Thomas Walski, P.E., and the Haestad staff, or extracted from
Alan Fok’s past technical publications and Ph. D. thesis.
RELATED TOPICS
Transients can occur in pressurized systems conveying any fluid, including the
following:
Bentley HAMMER V8i has been used extensively to analyze and design water and
wastewater systems, as well as slurry and oil systems. GENIVAR has analyzed steam,
industrial, and cogeneration systems with custom versions and has calculated transient
forces on above-ground anchors.
RELATED TOPICS
The study of hydraulic transients is generally considered to have begun with the works
of Joukowsky (1898) and Allievi (1902). The historical development of this subject
makes for good reading (Wood F., 1970). A number of pioneers made breakthrough
contributions to the field, including R. Angus and John Parmakian (1963), who popu-
larized and refined the graphical calculation method. Benjamin Wylie and Victor
Streeter (1993) combined the method of characteristics with computer modeling. The
field of fluid transients is still rapidly evolving worldwide (Brunone et al., 2000;
Koelle and Luvizotto, 1996; Filion and Karney, 2002; Hamam and McCorquodale,
1982; Savic and Walters, 1995; Walski and Lutes, 1994; Wu and Simpson, 2000).
Various methods have been developed to solve transient flow in pipes. These range
from approximate equations to numerical solutions of the nonlinear Navier-Stokes
equations:
• Arithmetic method—Assumes that flow stops instantaneously (in less than the
characteristic time, 2 L/a), cannot handle water column separation directly, and
neglects friction (Joukowski, 1898; Allievi, 1902).
• Graphical method—Neglects friction in its theoretical development but includes
a means of accounting for it through a correction (Parmakian, 1963). It is time-
consuming and not suited to solving networks or pipelines with complex profiles.
• Design charts—Provides basic design information for simple topologies at a few
specific points (valve closure, pump and pipeline with no protection, surge tank,
or air chamber protection). This method has been replaced by computer programs
(Fok, 1978; Fok, 1980; Fok et al., 1982) based on the transient energy concept and
backed by field and laboratory work (Fok, 1987).
• Wave-plan method—Represents initial transient disturbances as a series of
pulses and tracks reflections at boundaries (Wood et al., 1966).
• Method of Characteristics (MOC)—Most widely used and tested approach,
with support for complex boundary conditions and friction and vaporous cavita-
tion models. Bentley HAMMER V8i uses the MOC. It converts the partial differ-
ential equations (PDEs) of continuity and momentum (e.g., Navier-Stokes) into
ordinary differential equations that are solved algebraicially along lines called
characteristics. An MOC solution is exact along characteristics, but friction,
vaporous cavitation, and some boundary representations introduce errors in the
results (Gray, 1953; Streeter and Lai, 1962; Elansary, Silva, and Chaudhry, 1994).
Haestad Press’ 2002 Advanced Water Distribution Modeling and Management docu-
ments other less-common methods. Transients have also been studied using:
such data. Like all tests, however, data are obtained at a finite number of locations
and generalizing the findings requires assumptions, with uncertainties spread
across the system. At best, tests provide local data and a feel for the systemwide
response. At worst, tests can lead to physically doubtful conclusions limited by
the scope of the test program.
Neither laboratory models nor field testing can substitute for the careful and correct
application of a proven hydraulic transient computer model, such as Bentley
HAMMER V8i.
RELATED TOPICS
The cause of a hydraulic transient is any sudden change in the fluid itself or any
sudden change at the pressurized system’s boundaries, including:
Sudden changes such as these create a transient pressure pulse that rapidly propagates
away from the disturbance, in every possible direction, and throughout the entire pres-
surized system. If no other transient event is triggered by the pressure wave fronts,
unsteady-flow conditions continue until the transient energy is completely damped
and dissipated by friction.
The majority of transients in water and wastewater systems are the result of changes at
system boundaries, typically at the upstream and downstream ends of the system or at
local high points. Consequently, you can reduce the risk of system damage or failure
with proper analysis to determine the system’s default dynamic response, design
protection equipment to control transient energy, and specify operational procedures
to avoid transients. Analysis, design, and operational procedures all benefit from
computer simulations with Bentley HAMMER V8i.
The three most common causes of transient initiation, or source devices, are all
moving system boundaries.
H.G
.L.
H.G.L. H.G.L.
Reservoir
Penstock
Governor
Pump Check
Generator Valve
Valve ow
Fl F lo
Sump w
Gate Tailrace
Turbine
Pumps—A pump’s motor exerts a torque on a shaft that delivers energy to the pump’s
impeller, forcing it to rotate and add energy to the fluid as it passes from the suction to
the discharge side of the pump volute. Pumps convey fluid to the downstream end of a
system whose profile can be either uphill or downhill, with irregularities such as local
high or low points. When the pump starts, pressure can increase rapidly. Whenever
power sags or fails, the pump slows or stops and a sudden drop in pressure propagates
downstream (a rise in pressure also propagates upstream in the suction system).
Valves—A valve can start, change, or stop flow very suddenly. Energy conversions
increase or decrease in proportion to a valve’s closing or opening rate and position, or
stroke. Orifices can be used to throttle flow instead of a partially open valve. Valves
can also allow air into a pipeline and/or expel it, typically at local high points.
Suddenly closing a flow-control valve (with piping on both sides) generates transients
on both sides of the valve, as follows:
• Water initially coming towards the valve suddenly has nowhere to go. As water
packs into a finite space upstream of the valve, it generates a high-pressure pulse
that propagates upstream, away from the valve.
• Water initially going away from the valve cannot suddenly stop, due to its inertia
and, since no flow is coming through the valve to replace it, the area downstream
of the valve may “pull a vacuum,” causing a low-pressure pulse to propagate
downstream.
The similarity of the transient conditions caused by different source devices provides
the key to transient analysis in a wide range of different systems: understand the initial
state of the system and the ways in which energy and mass are added or removed from
it. This is best illustrated by an example for a typical pumping system (see “Figure 14-
2: Typical Locations where Transient Pulses Initiate”on page 14-967):
1. A pump (upstream source device) starts up from the static HGL and accelerates
flow until its input energy reaches a dynamic equilibrium with friction at the
steady HGL.
2. A power failure occurs and the pump stops supplying hydraulic energy; therefore,
the HGL drops rapidly at the pump and a low-pressure pulse propagates down-
stream towards the reservoir. Subatmospheric pressures can occur at the high
point (minimum transient head), but the reservoir maintains downstream pressure
at its liquid level by accepting or supplying liquid as required, often several times
during the transient event.
3. The pressure pulse is reflected toward the pump, but it encounters a closed check
valve (designed to protect the pump against high pressures) that reflects the pulse
as a high pressure toward the reservoir again (maximum transient head).
4. Friction eventually attenuates the transient energy and the system reaches a final
steady state: static HGL, in this case, since pumping has stopped and flow at the
reservoir is zero.
The foregoing discussion illustrates the typical concepts to consider when analyzing
hydraulic transients. Computer models are an ideal tool for tracking momentum,
inertia, and friction as the transient evolves, and for correctly accounting for changes
in mass and energy at boundaries. Note that transients propagate throughout the entire
pressurized system.
Friction ( hf ) Reservoir
Steady HGL
Static HGL
ad
i en t He
ns
Tra Downstream
High Point
im um
Pipeline
Devices Min Source Devices
RELATED TOPICS
High or low transient pressures—These can be applied to piping and joints in a frac-
tion of a second and they often alternate from high to low and vice versa. High pres-
sures resulting from the collapse of vapor pockets are analogous to cavitation in a
pump: they primarily accelerate wear and tear, but they can burst a pipe by over-
coming its surge-tolerance limit. Subatmospheric or even full-vacuum pressures can
combine with overburden and groundwater pressures to collapse pipes by buckling
failure. Groundwater can also be sucked into the piping.
• Check valves at pumps as flow reverses from the downstream reservoir to the
pump.
• Reservoir inlet valves, altitude valves at elevated tanks, or isolation valves if they
close rapidly.
• Local high points where vapor or air pockets collapse.
• Dead ends as they reflect incoming pulses with up to double the wave amplitude.
• Pipe bursts, where flow leaving the system may exceed the steady-state flow (in
systems with high static head compared to the dynamic head).
• Pump startup before transient energy has decayed sufficiently or before all air has
been removed from the line.
• Pump emergency shutdown which may result in water-column separation and
severe transient pressures due to vapor or air pocket formation and collapse.
• Pump shifting during normal operations, which may result in frequent pressure
shocks.
Hydraulic transients can result in the following infrastructure management issues and
risks:
• Premature aging and wear of valves, pipes, and pumps due to high magnitude and/
or frequent pressure shocks.
• Pump cavitation due to low suction head and pipe lining damage due to vacuum
conditions.
• Rapid pump or valve operation by major water users (e.g., a food production
factory) may accelerate the pipe material and anchor fatigue in their vicinity.
• Service interruptions due to repair and maintenance of infrastructure.
RELATED TOPICS
RELATED TOPICS
The best way to arrive at sound, physically meaningful conclusions and recommenda-
tions is to keep these principles in mind whenever you interpret the results of a
hydraulic model. Bentley HAMMER V8i makes this easy by tracking the mass inflow
or outflow of air or water at any location and by plotting or animating the resulting
total energy at any point and time in the system.
RELATED TOPICS
The first law of thermodynamics states that for any given system and time interval, the
change in total energy is equal to the difference between the heat transferred to the
system and the work done by the system on its surroundings. In hydraulic terms,
changes in the total energy of a fluid do not consider changes in its internal (molec-
ular) forms of energy, such as electrical and chemical energy, because these are
usually relatively small.
In hydraulic terms, energy is often represented as energy per unit weight, resulting in
units of length. At any point in a hydraulic system, the total energy of a fluid consists
of three components that can be expressed as an equivalent elevation, or head:
Elevation Head: z
Converting the total energy to an equivalent head allows it to be plotted on the same
scale as elevation for any point in the system, either on pipeline profiles or maps,
allowing engineers to visualize changes as slopes or contour lines, respectively. This
gives a better feel for the resulting behavior of the system, especially when reviewing
the results of an EPS or transient analysis. Further, the difference between this energy
level and the pipeline elevation is equal to the total gauge pressure.
RELATED TOPICS
In addition to pressure head, elevation head, and velocity head, there may also be head
added to the system, for instance, by a pump, and head removed from the system by
friction. These changes in head are referred to as head gains and head losses, respec-
tively. Balancing the energy across two points in the system yields the energy or
Bernoulli equation for steady-state flow:
P1 V2 P V2
+ z1 + 1 + h p = 2 + z2 + 2 + hL
g 2g g 2g
The components of the energy equation can be combined to express two useful quanti-
ties, the hydraulic grade and the energy grade:
• Hydraulic grade—The hydraulic grade is the sum of the pressure head (p/ ) and
elevation head (z). The hydraulic head represents the height to which a water
column would rise in a piezometer. 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.
RELATED TOPICS
QIN D t = QOUT D t + D Vs
RELATED TOPICS
The same basic principle can be applied to any path between two points. The
combined head loss around a loop must be zero to achieve the same hydraulic grade as
at the beginning.
RELATED TOPICS
Hydraulic transient flow is also known as unsteady fluid flow. During a transient anal-
ysis, the fluid and system boundaries can be either elastic or inelastic:
Both branches of transient theory stem from the same governing equations. Bentley
HAMMER V8i uses the more advanced elastic theory systemwide for virtually every
simulation, but it can also switch to the faster rigid-column theory (in specific reaches
and for special applications) to reduce execution time, as discussed in “Rigid-Column
Simulation” on page 7-255.
The continuity equation and the momentum equation are needed to determine V and p
in a one-dimensional flow system. Solving these two equations produces a theoretical
result that usually corresponds quite closely to actual system measurements if the data
and assumptions used to build the numerical model are valid. Transient analysis
results that are not comparable with actual system measurements are generally caused
by inappropriate system data (especially boundary conditions) and inappropriate
assumptions.
¶H dH a 2 ¶V
+V + =0
¶t ¶x g ¶x
The second term on the left-hand side of the preceding equation is small relative to
other terms and is typically neglected, yielding the following simplified continuity
equation, as used in the majority of unsteady models:
¶H a 2 ¶V
+ =0
¶t g ¶x
RELATED TOPICS
¶V ¶V ¶H fV V
+V +g + =0
¶t ¶x ¶x 2D
The last term on the left-hand side represents friction losses in the direction of flow:
fV V
2D
The first term on the left-hand side is the local acceleration term, while the second
term represents the convective acceleration, proportional to the spatial change of
velocity at a point in the fluid, which is often neglected to yield the following simpli-
fied equation:
¶V ¶H fV V
+g + =0
¶t ¶x 2D
Equations and , though rigorous and explicit, incorporate the following assumptions,
which are often not strictly valid in real water systems:
Nevertheless, these assumptions are essentially valid for the majority of the time in the
majority of water systems. Solving these equations yields accurate numerical simula-
tion results in most cases.
RELATED TOPICS
g dH dV fV V
+ + =0
a dt dt 2D C+
dx
= +a
dt
g dH dV fV V
- + + =0
a dt dt 2D C-
dx
= -a
dt
Equations and cannot be solved analytically, but they can be expressed graphically in
space-time as characteristic lines (or curves), called characteristics, that represent
signals propagating to the right (C+) and to the left (C-) simultaneously and from each
location in the system, as shown in the figure below. At each interior solution point,
signals arrive from the two adjacent points simultaneously. A linear combination of H
and V is invariant along each characteristic if friction losses are neglected; therefore,
H and V can be obtained exactly at solution points. With head losses concentrated at
solution points and the assumption that friction is small, an iterative procedure is used
in conjunction with MOC to advance the solution in time.
Transient modeling essentially consists of solving these equations, for every solution
point and time step, for a wide variety of boundary conditions and system topologies.
To obtain a general computer model like Bentley HAMMER V8i, the following addi-
tional capabilities are required:
A derivation of the complete equations for transient analysis (using elastic theory) is
beyond the scope of this manual, but it can be found in other references, such as
Almeida and Koelle (1992) and Wylie and Streeter (1993).
The derivation for incompressible flow and rigid pipe walls is provided in the next
section. The derivation of the wave celerity and pressure-wave speed for compressible
flow and elastic system boundaries is provided next.
RELATED TOPICS
The rigid model assumes that the pipeline is not deformable and the liquid is incom-
pressible; therefore, system flow-control operations affect only the inertial and fric-
tional aspects of transient flow. Given these considerations, it can be demonstrated
using the continuity equation that any system flow-control operations results in instan-
taneous flow changes throughout the system, and that the liquid travels as a single
mass inside the pipeline, causing a mass oscillation. If liquid density and pipe cross
section are constant, the instantaneous velocity is the same in all sections.
Using the fundamental rigid-model equation, the hydraulic grade line can be estab-
lished for each instant. The slope of this line indicates the head loss between the two
ends of the pipeline, which is also the head necessary to overcome frictional losses
and inertial forces in the pipeline. For the case of flow reduction caused by a valve
closure (dQ/dt < 0), the slope is reduced. If a valve is opened, the slope increases,
id)
Head (Rig
Minimum
Pipeline
Figure 14-4: Static and Steady HGL versus Rigid and Elastic Transient
Head Envelopes
The rigid model has limited applications in hydraulic transient analysis because the
resulting equations do not accurately model pressure waves caused by rapid flow-
control operations. The rigid model applies to slower surge or mass oscillation tran-
sients, as defined in “Wave Propagation and Characteristic Time” on page 14-989.
HAMMER only utilizes rigid column theory under certain conditions (see “Extended
CAV Method”).
RELATED TOPICS
Prior to the widespread use of computers, the subject of rigid water column-theory
was very popular. Substantial effort was devoted by numerous researchers and engi-
neers to improve its accuracy and to determine the range of its application. “Figure 14-
5: When to Use Elastic versus Rigid Column Theory for a Valve Closure”on page 14-
983 is a dimensionless plot of valve closure time (divided by half the characteristic
time, L/a) versus the ratio of initial head to transient head in a frictionless (or very low
friction) system. The graph shows that different researchers, beginning in 1933,
proposed various criteria to determine when an elastic solution is necessary and when
a rigid-column solution is sufficiently accurate.
The thick black lines were obtained from computer simulations using both methods
and showing the level of error resulting from using RWCT instead of EWCT (Fok,
1987). The error resulting from RWCT instead of EWCT is shown graphically in
“Figure 14-5: When to Use Elastic versus Rigid Column Theory for a Valve
Closure”on page 14-983. EWCT correctly accounts for fluid compressibility, resulting
in a significantly higher estimate of the maximum transient head than RWCT. Bentley
HAMMER V8i solves every problem using elastic theory and the MOC for maximum
accuracy.
Symbols
g = gravitational acceleration
(m/s)
ho = head loss across valve (m)
a = pressure wave speed (m/s)
Fok’s boundary Vo= initial flow velocity through
valve (m/s)
(1987) between tq = time of valve closure (s)
l = pipe length (m)
EWCT and RWCT
using HAMMER
20 10 5 2.5 % of ERROR
Ho = (gho/avo)
)
,74
73
19
VALVE HEAD,
(
CT
RW
’s
od
Wo
Figure 14-5: When to Use Elastic versus Rigid Column Theory for a Valve
Closure
RELATED TOPICS
The elastic model assumes that changing the momentum of the liquid causes expan-
sion or compression of the pipeline and liquid, both assumed to be linear-elastic. Since
the liquid is not completely incompressible, its density can change slightly during the
propagation of a transient pressure wave. The transient pressure wave will have a
finite velocity that depends on the elasticity of the pipeline and of the liquid as
described in “Celerity and Pipe Elasticity” on page 14-985.
(H – Ho) = –a / g (V – Vo)
For an instantaneous valve closure or stoppage of flow, the upsurge pressure (H–Ho) is
known as the “Joukowski head.” Given that a is roughly 100 times as large as g, a 1
ft./sec. (0.3 m/s) change in velocity can result in a 100 ft. (30 m) change in head.
Because changes in velocity of several feet or meters per second can occur when a
pump shuts off or a hydrant or valve is closed, it is easy to see how large transients can
occur readily in water systems.
The mass of fluid that enters the part of the system located upstream of the valve
immediately after its sudden closure is accommodated through the expansion of the
pipeline due to its elasticity and through slight changes in fluid density due to its
compressibility. This equation does not strictly apply to the drop in pressure down-
stream of the valve, if the valve discharges flow to the atmosphere.
RELATED TOPICS
RELATED TOPICS
The elasticity of any medium is characterized by the deformation of the medium due
to the application of a force. If the medium is a liquid, this force is a pressure force.
The elasticity coefficient (also called the elasticity index, constant, or modulus) is a
physical property of the medium that describes the relationship between force and
deformation.
Thus, if a given liquid mass in a given volume (V) is subjected to a static pressure rise
(dp), a corresponding reduction (dV < 0) in the fluid volume occurs. The relationship
between cause (pressure increase) and effect (volume reduction) is expressed as the
bulk modulus of elasticity (E) of the fluid, as given by:
dp dp
Ev = - =
dV dr
V r
A relationship between a liquid’s modulus of elasticity and density yields its charac-
teristic wave celerity:
Ev dp
a= =
r dr
The characteristic wave celerity (a) is the speed with which a disturbance moves
through a fluid. Its value is approximately 4,716 ft./sec. (1,438 m/s) for water and
approximately 1,115 ft./sec. (340 m/s) for air.
Injecting a small percentage of small air bubbles can lower the effective wave speed of
the fluid/air mixture, provided it remains well mixed. This is difficult to achieve in
practice, because diffusers may malfunction and air bubbles may come out of suspen-
sion and coalesce or even buoy to the top of pipes and accumulate at elbows, for
example.
In 1848, Helmholtz demonstrated that wave celerity in a pipeline varies with the elas-
ticity of the pipeline walls. Thirty years later, Korteweg developed an equation to
determine wave celerity as a function of pipeline elasticity and liquid compressibility.
Bentley HAMMER V8i uses an elastic model formulation that requires the wave
celerity to be corrected to account for pipeline elasticity.
Ev
r
a=
E D
1+ v y
Ee
Equation is valid for thin walled pipelines (D/e > 40). The factor depends on pipe-
line support characteristics and Poisson’s ratio. depends on the following:
Young’s Modulus
Poisson’s Ratio,
Material
(109 lbf/ft2) (GPa)
Bulk Modulus of
Density
Elasticity
Temperature
Liquid
(oC) (slugs/
(106 lbf/ft2) (GPa) (kg/m3)
ft3)
1.5 to 1.67 to
Mineral Oils 25 31.0 to 40.0 860 to 890
1.9 1.73
Figure 14-6: Celerity versus Pipe Wall Elasticity for Various D/e Ratios
For pipes that exhibit significant viscoelastic effects (for example, plastics such as
PVC and polyethylene), Covas et al. (2002) showed that these effects, including creep,
can affect wave speed in pipes and must be accounted for if highly accurate results are
desired. They proposed methods that account for such effects in both the continuity
and momentum equations.
RELATED TOPICS
Characteristic Time
TM = 0 Instantaneous
T M 2L a Rapid
T M 2L a Gradual
T M » 2L a Slow
RELATED TOPICS
In addition to the equations describing transient flow, it is important to know about the
effect of boundaries—such as tanks, dead ends, and pipe branches—that modify the
effects of hydraulic transient phenomena.
When a wave traveling in a pipe and defined by a head pulse Ho comes to a node, it is
transmitted with a head value Hs to all other connected pipes and reflects back to the
initial pipe with a head value Hr. The wave reflection occurring at a node changes the
head and flow conditions in each of the pipes connected to the node.
If the distances between the pipe connections are small, the head at all connections can
be assumed to be the same (that is, the head loss through the node is negligible), and
the transmission factor (s) can be defined as
Ao
2
D Hs a
s= = n o
D Ho Ai
i= 0 ai
• Because friction does exist in an actual system, the potential head change calcu-
lated using the Joukowsky equation underestimates the actual head rise. This
underestimation is due to packing—an additional increase in head occurring at
the valve as the pressure wave travels upstream.
• The small velocity behind the wave front means that the velocity difference across
the wave front is less than Vo, so the pressure change is progressively less than the
potential surge as the wave travels upstream. This effect, which is concurrent with
line packing, is called attenuation or reduction.
• Transient pressure waves are partially transmitted and simultaneously reflected
back at every junction with other pipes, depending on their wave speed and diam-
eter.
Although Bentley HAMMER V8i calculates the proportion of an incoming transient
energy pulse that is transmitted and reflected at each junction node, it is useful to
consider how this phenomenon takes place in a typical hydraulic system using the
relation for the reflection factor:
D Hr
r= = s- 1
D Ho
RELATED TOPICS
Although an infinite number of network topologies are possible, the possibilities can
be reduced to the following key characteristics:
For the purpose of transient analysis, pumping systems can be grouped as follows:
Because of flow continuity, the booster pump stops soon after a power failure in
the upstream system and the resulting transients may be similar to a power failure
at both pumping stations. In cases where the booster pump fails while the
upstream pump continues to operate, a worse transient may result in part of the
water system.
RELATED TOPICS
Prior to performing the calculations of transient flow and head, Bentley HAMMER
V8i surveys the system’s characteristics, considers the various pipe and fluid proper-
ties, and automatically determines an optimal time step. By default, Bentley
HAMMER V8i uses the method of characteristics and short time steps to ensure that
simulation results will be accurate enough to support firm conclusions about the
effects of transients in the system. Bentley HAMMER V8i takes hours of guesswork
about time steps and methodology out of your day, allowing you to focus on inter-
preting and communicating the results to stakeholders.
As a modeler, you need to focus on the following factors for a successful Bentley
HAMMER V8i run:
• Pick the run duration following the guidelines in “Project Management and
Options” on page 4-178.
• Enter the correct liquid properties as described in “Liquid Properties” on page 4-
184.
RELATED TOPICS
The above topics introduced the subject as a means of selecting the correct pump
representation for a particular Bentley HAMMER V8i run. The following sections
focus on theoretical and practical aspects:
RELATED TOPICS
Pumps are an integral part of many pressurized systems. Pumps add energy, or head
gains, to the flow to counteract head losses within the system.
A pump is defined by its curve, which relates the pump head, or the head added to the
system, to the flow rate. This curve indicates the ability of the pump to add head at
different flow rates. To model the behavior of the pump system, additional informa-
tion is needed to find the actual point at which the pump will operate.
The system operating point is based on the point at which the pump curve crosses the
system curve representing the static lift and head losses due to friction and minor
losses (for more information, see “Minor Losses” on page 14-1025). When these
curves are superimposed, the operating point is found at their intersection. This is
shown in the following figure:
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 periods ranging from minutes to hours.
At steady state, a pump can be described using a simple curve relating the total
dynamic head (TDH) added to the fluid at every possible flow rate within the pump’s
operating range. Additional curves describe the pump’s suction energy (e.g., its
required net positive suction head or NPSHR) and power requirements at each flow
rate.
1. Pump inertia—Pumps with a lighter impeller and motor have a small moment of
inertia; they can be accelerated and stopped faster because there is less stored
kinetic energy. The trend has been towards lighter pumps. After a power failure,
low-inertia pumps maintain forward flow for a shorter time and stop sooner. This
results in more-sudden changes in flow and pressures than would occur with
heavier pumps, and consequently in more-severe water hammer.
2. Pump curve shape—Flat pump curves are undesirable from a hydraulic tran-
sient perspective because they can result in a large change in flow rate for a
moderate change in head. This can result in a very rapid decrease in flow during
an emergency shutdown.
3. Dynamic change to the system curve—After a large pipe break or uncontrolled
valve opening, the system head curve can suddenly drop far below its usual head
requirement, so the pump no longer needs to add much (if any) energy to supply
the required flow. In cases such as these, the pump’s run-out head can become
higher than the required static lift. Very large losses in the suction system may
result in cavitation and overspeed conditions, both of which can cause pump wear
and damage. This can be avoided by proper pump selection (steady state) and
controls to shut the pump down and reduce or stop flow during such transients.
4. Dynamic change to the operating point—A shut-off head too close to the high-
head end of the operating range could result in nuisance interruptions of power to
the pump, each of which results in a hydraulic transient due to the emergency
pump shut down (similar to a power failure).
5. Change in NPSHR due to wear or impeller trimming—NPSHR is different for
each turbomachine in a pump station, but manufacturers typically provide this
information. The NPSHR of neighboring pumps can be different from each other.
Further, the manufacturer’s NPSHR curve can become invalid after decades of
wear, poor maintenance, or actual modifications to the impeller. Fortunately,
NPSH can be obtained from field tests. The available NPSHA is determined based
on the reservoir head and losses in the suction system. Pump cavitation occurs if
the NPSH margin, NPSHA – NPSHR is insufficient. Even at incipient cavitation,
an inadequate margin can result in less efficient pumping or even in a breakdown
of the pump curve, whereby a pump may be running but contributing very little
head above a limiting flow. Consult Hydraulic Institute (http://www.pumps.org)
publications for more information on this important issue.
Whenever a pump is forced outside its normal operating range during a hydraulic tran-
sient, vibrations and cavitation may result—even if it does not reach shut-off or run-
out conditions. Reverse spin can force the pump motor (if it is not disconnected) to
generate electricity, rapidly increasing its temperature and possibly damaging the
motor-control circuitry. For these reasons, it is wise to protect pumps against transient
damage by providing suitable discharge-side check valves.
RELATED TOPICS
Specific Speed
If reverse spin is possible, a four-quadrant curve representation can be selected based
on your pump’s specific speed. According to affinity laws, impellers with similar
geometry and streamlines tends to have similar specific speeds.
N Q
N s = -----------------
34
H
Where:
“Table 14-5: Specific Speeds for Typical Pump Categories in both Unit Systems”on
page 14-1000 shows typical values of specific speed for which an exact four-quadrant
representation is built into Bentley HAMMER V8i. Centrifugal pumps tend to have
lower specific speeds than axial-flow or multi-stage pumps. Few four-quadrant char-
acteristic curves are available because they require painstaking laboratory work.
The results of hydraulic transient simulations are not as sensitive to the specific speed
selected, provided that a check valve is installed. You do not need to add a check valve
because every pump in Bentley HAMMER V8i has a built-in check valve immedi-
ately downstream of the pump.
SI Metric 25 94 145
A pump’s characteristic curve is fixed for a given motor speed and impeller diameter,
but can be determined for any speed and any diameter by applying the affinity laws.
For variable speed pumps, these affinity laws are presented as:
Q1 n1
=
Q2 n2
and
2
h1 n
= 1
h2 Łn2 ł
RELATED TOPICS
WaterCAD and WaterGEMS provide many ways to enter pump curves, as described
in “Pump Fundamentals” on page 6-221. Bentley HAMMER V8i allows any pump
curve to be represented as pairs of heads and corresponding flows, interpolating
linearly between these values when required during the simulations. It is therefore
desirable to enter as many line segments as is practical to accurately describe the
pump’s operating range.
Y = A - (B · Q C )
RELATED TOPICS
RELATED TOPICS
A simple approach to valve sizing would be to determine the required valve coeffi-
cient (Cv), as defined in ANSI/ISA Standards S75.01:
where flow is in US gallons per minute and pressure drop is in pounds per square inch
(psi) at 60oF (16oC). A designer would also check the maximum anticipated flow rate
and temperature combination to avoid choking or flashing conditions. The most
extreme flow rates are likely to occur during a transient.
Bentley HAMMER V8i is the most versatile design tool for valve sizing because it
allows you to simulate the operating conditions a valve is likely to encounter during
steady-state or transient events. Bentley HAMMER V8i models valves differently
depending on their response time. The principal difference between flow-control and
surge-control valves is their response or activation time:
Flow control valves—The majority of valves in a water system are intended for on/
off operation (i.e., they either allow or block flow). In addition to this, flow-control
valves throttle flow using various methods that depend on the valve body, piston or
pinch mechanism, and actuator. Although special trim is available to deal with
sustained high-velocity or high-pressure differentials, most flow-control valves are
not designed to react to or handle transient conditions for any length of time. They are
typically actuated to ensure a slow opening or closure. Actuators are typically
hydraulic, electric, or (less often for water systems) compressed air:
and hand wheel is also provided for each valve. The gear ratios are set so that a
large number of turns is required on the wheel to fully open or close the valve.
Even for the fittest operator, this ensures that the valve cannot be closed too
quickly, to prevent water hammer.
• Compressed-air actuators—Compressed- or instrument-air actuators are far
more common in industrial settings, where valves and flows are typically smaller
than in water or wastewater systems (e.g., typically m3/hr. instead of m3/s, respec-
tively). The compressed air is typically maintained at a set pressure and some
reserve capacity is usually stored to allow operations to continue after a power
failure. Since compressors are required to maintain pressure in a gas vessel, it is
possible to use such actuators nearby, but this is rarely done.
Any valve can initiate a hydraulic transient if it is opened or closed too quickly with
respect to the system’s characteristic time, or if it is operated in an uncontrolled
manner. Uncontrolled operation can occur due to a failure of hydraulic piloting to
react during very high reverse-flow velocities, for example. This illustrates the impor-
tance of sizing a valve to handle the full range of flows it will encounter during its
service life. Another example is that instrument-air pressure can fail to reach a valve at
the correct flow rate or pressure, due to clogged filters or worn orifices, incapacitating
its compressed-air actuator.
RELATED TOPICS
Every flow- or surge-control valve consists of a valve body to convey (and sometimes
redirect) flow and a piston to open, restrict, or block flow. Since all valves can cause a
sudden stoppage of flow, resulting in hydraulic transients if closed too quickly, it is
important to know how each type operates. The following paragraphs summarize key
characteristics for each type:
Butterfly valves are very common in water systems, primarily for on-off and throt-
tling service. A circular disc or vane pivots around an axis at right angles to the direc-
tion of flow in the pipe. Typically, a quarter-turn is sufficient to open or close this
valve. Actuators are often installed to require a large number of turns to prevent rapid
closure, sudden stoppage of flow, and the resulting hydraulic transients.
Gate valves are a general-service valve used primarily for on-off, nonthrottling
service. A flat face, vertical disc, or gate slides down through the valve to block flow.
These valves can be found on very large suction or discharge piping inside most water
pumping stations, often equipped with actuators with very large gear ratios to allow
manual operation. They may be operated only yearly or less frequently.
Globe valves are used for on-off service and throttling applications. A plug with a flat
or convex bottom is lowered onto a matching horizontal seat located at the center of
the valve. Raising the plug opens the valve, allowing flow. Many different types of
materials and pistons are available, including anticavitation or multi-orifice cages.
Globe valves are typically available with a straight-through body or with an angle
body that simultaneously turns flow through 90 degrees.
Plug valves are used primarily for on-off service and some throttling. They control
flow by means of a cylindrical or tapered plug with a hole in the center that either lines
up with the flow path or blocks it with a quarter-turn in either direction. Actuators are
often installed to require a large number of turns to prevent rapid closure, sudden stop-
page of flow, and the resulting hydraulic transients. Plug valves are common in
process or industrial applications.
Ball valves are used primarily for on-off service and some throttling. They are similar
to the plug valve but use a rotating ball with a hole through it. Many garden hose
attachments are ball valves, requiring a quarter-turn to open or close, but many faucets
are also ball valves that require many turns. Large ball valves are used to throttle flow
in pump-discharge lines.
Diaphragm valves handle corrosive, erosive, and dirty service. They close by means
of a flexible diaphragm attached to a piston, sometimes called a compressor, that can
be lowered by the valve stem onto a weir to seal and cut off flow. Diaphragm valves
are used for waste water, industrial fluids, and for mining applications, such as
pumping light slurries or tailings-reclaim water.
Pinch valves are particularly suited for slurries or liquids with large amounts of
suspended solids. They seal by means of one or more flexible elements, such as a
rubber tube, that can be pinched to shut off flow. The flexible element can vary widely
from food-grade to special natural and synthetic rubbers to handle corrosive and/or
abrasive fluids and mixtures.
Needle valves are volume-control valves that restrict flow in small lines. Needle
valves are commonly used for speed control in piloting by allowing operators to set
the time required for fluid to move to or from the valve piston chamber. The fluid
going through the valve turns 90 degrees and passes through an orifice that is the seat
for a rod with a cone-shaped tip. Positioning the cone in relation to the seat changes
the size of the orifice.
Related Topics
Depending on the body and piston for a type of valve, closing it by moving the piston
at a constant rate results in a different rate of decrease in the area open to flow. Near
the end of the closure, some types decrease this area faster while others slow down.
Bentley HAMMER V8i has built-in area-closure characteristics for various types of
valves to ensure this important factor is represented adequately. You can select the
correct valve type and know that the decrease in flow will be modeled in a realistic
manner as the valve closes.
Note: For most manufacturers, the rate at which area decreases as the
valve closes is a close approximation to the rate at which flow
decreases, often reported as a Cv curve. If either curve is
available for your valve, you can enter it as an area-closure
curve in Bentley HAMMER V8i.
For ease of interpretation, valve closing can be represented numerically by the shape
of closure (S) parameter that represents the rate of opening area deceleration during
the time of a complete closure (Tc), or stroke time, if the stroke varies linearly with
time. If a partial closure, opening, or full opening is specified, Bentley HAMMER V8i
correctly tracks the area open to flow. The following equations are used to relate area
to stroke:
• Increasing deceleration—If the rate of change of the area open to flow (with
respect to a constant stroke speed) increases at the end of the closure period, the
valve closing pattern can be expressed as:
• Decreasing deceleration—If the rate of change of the area open to flow (with
respect to a constant stroke speed) decreases at the end of the closure period, the
exponent S should be less than 1 and the valve-closing pattern can be expressed as
For valves commonly used in engineering practice, the following values of S are used
by Bentley HAMMER V8i according to the valve type:
Valve S
Valve S
The relationship between the fraction of area open to flow (A/A0) and the stroke (T/Tc)
is shown in the following figure.
Globe S = ± 1, linear
6
5 Globe Valve
A/Ao = (1-T/Tc)- S
4 Ball S = -1.35
Ball Valve Butterfly S = -1.85
3 Where S < -1
Butterfly Valve
2
0 1 2 3 4 5 6 7 8 9 10
T/Tc
Figure 14-9: Relationship between Fraction of Area Open to Flow and
Stroke
RELATED TOPICS
Normally, the flow rate decreases much slower than that of the opening area during
the early stage of the valve closing. However, this pattern inverts toward the end of the
valve-closing period. As shown in the figure below for most common valves, the
majority of flow drops to zero quickly near the end of the valve-closing stroke (or
time).
10
9
Circular Gate Valve
8 (Accelerating Closure)
7
Flow Decrease Q/Qo
6 Butterfly Valve
0 1 2 3 4 5 6 7 8 9 10
T/Tc
RELATED TOPICS
the injected air will remain at atmospheric pressure for all other nodal types capable of
allowing the entry of air. Consequently, in the current version of HAMMER, air
entering or escaping at a small crack or hole in the piping, valve and/or joints could
only be represented by an air valve.
There are two air pocket models embedded in HAMMER: Elastic (Concentrated) and
Rigid Column (Extended). The former is a more standard treatment wherein each air
pocket is localized at its formation point, whereas the latter is an innovative rigid
column representation of the adjacent branches with tracking of the air-liquid inter-
face.
Modes of Operation
For Air Valves in HAMMER, there may be up to three orifice diameters: one for inlet
and two for outlet; demarcated by either a Transition Volume or a Transition Pressure.
The diameters of three orifices and the transition volume/pressure are input parame-
ters (some of which are only available for certain Air Valve Types - see Air Valves for
details) which materially affect the performance of the Air Valve.
It should be noted that the Transition Volume is an artificial construct that approxi-
mates the inner workings of combination (a.k.a. triple-acting, or three-stage) air valve.
The volume adopted is usually the volume of the body of the air valve, since floats
typically operate inside the air valve to reduce the air outflow orifice size once liquid
starts to enter the air valve body (i.e. when the volume of air remaining is less than the
volume of the body of the valve). The Transition Pressure is simply an internal pres-
sure in the pipeline, above which the large diameter air outflow orifice is forced
closed. The user must select whether a valve utilizes a Transition Volume or Transi-
tion Pressure as the trigger to switch between the large diameter orifice and the small
diameter orifice.
For any of the three orifices, HAMMER automatically calculates air flow throttling
due to the "sonic velocity" using a formulation after Comolet (1961). Using this
formulation the air mass flow rate, QM is determined as follows:
(1)
0 is the density of air at 4°C and 1 atmosphere (=1.293 g/l), S=0.6A, with A being
the cross-sectional area of the orifice.
is the exponent in the gas law, p is the absolute pressure, the subscript 0 denotes
standard conditions, and p = constant. For air inflow, (1) is again applicable,
except that the ratio within the square brackets is inverted to be p/p0 as p0>p in this
instance. The exponent, , in the gas law is hard-coded as 1.4, which corresponds to
adiabatic compression/expansion appropriate for the typically rapid processes which
occur.
With reference to the Modes of Operation figure below, four modes of air valve oper-
ation have been identified: (a) full (no air), (b) vacuum breaker, (c) exhaust, and (d)
compression. Under normal steady-state conditions, the pipeline will be full (of
liquid) as the (gauge) pressure exceeds zero. Should the pressure decline to zero, the
Air Valve will serve as a vacuum breaker as it opens to allow the entry of air. During
this phase, an expanding air pocket forms, but eventually system conditions can cause
the flow to reverse. If the air volume is greater than the Transition Volume (or the
internal pressure is less than the Transition Pressure), air is released through a large-
diameter orifice in exhaust mode; when the remaining air volume decreases below the
Transition Volume (or the internal pressure increases above the Transition Pressure),
the large-diameter orifice closes and the small-diameter orifice opens to vent the
remaining air, which now undergoes significant compression.
An air valve may be connected to more than one pipe branch and at any instant it is
quite possible for some branches to be full while others have air volumes. Conse-
quently, ambiguity arises when flow towards the air valve occurs in a full branch. To
process this scenario, the following rules are adopted within the software:
To enable this, from the Transient Solver Calculation Options, set the Run
Extended CAV field to True. HAMMER will track the extent of the air pocket and
the resulting mass-oscillation and water column accelerations. HAMMER still calcu-
lates the system-wide solution using MOC and elastic theory; it uses rigid-column
theory only for the pipes nearest the high point. This results in more accurate solu-
tions, without increasing execution time.
When a sufficiently large volume of air enters a pipeline, the flow regime evolves
from hydraulic transients to mass oscillations. Thus, at least in the vicinity of the air,
the system may be represented by rigid-column theory in lieu of the elastic approach.
Besides improved computational efficiency, the rigid approach allows for the tracing
of the air-liquid interface, under simplifying assumptions, with a concomitant change
in the hydraulic grade line, and also tracks momentum more accurately. A rigid
column is considered in each branch adjacent to an Air Valve extending to the neigh-
boring node which is at a lower elevation in order that the branch be sloped upward
towards to the Air Valve. Furthermore, it is assumed that the liquid surface is hori-
zontal and that each branch is terminated at its upper end by the intersection of a
vertical plane through the Air Valve with the pipe.
The air pocket consists of portions in each of the branches overlying the rigid
columns, with the air pocket instantaneously at constant pressure due to its low
density. The neighboring node is a M-way junction, each branch of which (except for
the one containing the AV) is handled by means of the elastic theory. In light of this
background, we formulate the equations of motion at each neighboring node, An say,
in terms of the following (2M + 4) variables: head and flow in each of the M branches,
head and flow of the rigid column, and length and level of the rigid column. Corre-
spondingly, there are (2M + 4) equations comprised of characteristics and head loss
for each branch, continuity at An and at the horizontal surface, conservation of
momentum for the rigid column, and column length as a function of its level. These
equations are solved iteratively by postulating that all friction coefficients are small
and that the flows may be reasonably approximated by values from the previous time
step.
In the process of handling the rigid columns described above, the pressure of the over-
lying air is taken to be provided by the value at the previous time step. At the conclu-
sion of each time step, there is generally a change in the level in each constituent
branch which in turn leads to a variation in the total air volume. Simultaneously,
depending on the mode of operation of the Air Valve as described in the “Air Valve
Theory” section, air can enter or exit the valve freely or under compression. To deter-
mine the volume, mass, and pressure of the air in the pipeline, we solve nonlinear
equations for mass flow rate through the air valve along with the isentropic gas law
and (air) mass continuity. In this way, the air pocket properties are updated and
employed for the succeeding time step, after due allowance for flow from any full
branches as outlined below.
At any instant, it is quite possible for some branches of an Air Valve to be full while
others possess air volumes above the rigid columns. Consequently, as in the case of
the elastic theory, ambiguity arises when flow towards the Air Valve occurs in a full
branch: how does this inflow past the Air Valve distribute itself among the existing air
pockets? In essence, the same rules enforced in the elastic case are also applicable in
the present situation as follows: (i) For inflow into a full branch, the branch remains
full. (ii) 'Over-the-top' inflow from the full branch(es) is allocated to the air volumes in
adjacent branches in proportion to their sizes.
The elastic (concentrated) model is intended for when the closed conduits are filled
with liquid or when there are only small air volumes present. As HAMMER is based
upon the conveyance of a single liquid in a network of closed conduits flowing full,
this representation is readily integrated in the program; moreover, there are no restric-
tions on the type or elevation of neighbor nodes. However, the elastic treatment is an
oxymoron inasmuch as the air has finite volume with zero extent, so that the liquid
level is constrained to be no lower than the pipe's elevation at the Air Valve location.
On the other hand, the inelastic (extended) model works best for large air volumes by
tracing the movement of the horizontal interface between the overlying air and the
liquid in each branch adjacent to the Air Valve. In this way, the liquid level is not
limited to the Air Valve's elevation as a lower bound. Such an approach is more diffi-
cult to implement and visualize. Furthermore, multiple additional constraints are
imposed on neighbor nodes which must be junction elements (with no demands),
lower than the Air Valve, and associated with (neighbor to) exactly one Air Valve.
At the start of a run, as there is typically no air present in the system, the elastic
(concentrated) representation is normally invoked. HAMMER tracks the volume of
air in each branch, together with the level of the virtual horizontal liquid surface if the
rigid-column approach were being applied. As soon as the transition level for any
branch is reached, the rigid (extended) model is utilized in all branches. This level is
chosen as being 10% of the vertical drop from the Air Valve to the adjacent interior
point within the branch. By definition, at the instant that the transition level is
breached in some branch, the liquid levels in the other branches are above their
respective transition levels. Immediately prior to the transition, the flows in the
branches should be nearly constant, whereas afterwards the level drops from the Air
Valve's height to the transition level. It is crucial that the discharges and heads be
properly transferred at all interior and end points of each branch in a continuous
fashion. In the user notifications, there is an informational message of the form "At
time step 'x' at node 'y', transition from CONCENTRATED to EXTENDED." to indi-
cate that a transition has occurred.
In the rigid methodology, the basic premise is that each branch pipe around the Air
Valve contains a liquid column extending from the horizontal surface to the neighbor
node. In the event that the air expands greatly so that the interface moves down
towards the neighbor node to the verge of draining, HAMMER issues a warning
message, freezes the horizontal surface at the elevation of the neighbor node, and
continues to track the volume (which could conceivably exceed the branch's volume).
The warning message has the form "*** WARNING: At time step 'a' at Air Valve 'y',
the branch connected to node 'z' has drained."
Counter-Transition Strategy
If the rigid model is invoked to simulate a large air pocket at the Air Valve, it is
possible that the volume will subsequently shrink with the liquid levels in the
branches receding until they cross the transition levels. When all liquid levels are
above the transition levels, the Transient Solver reverts to the elastic model with the
printing of the message "At time step 'x' at node 'y', transition from EXTENDED to
CONCENTRATED." in the user notifications. Such transitions can recur multiple
times during a simulation. It should be observed that the instantaneous volume of the
air pocket at the moment that the transition occurs is indeed variable by virtue of the
criterion adopted. During the rigid (extended) phase, the flow is constant along each
branch while the head is linear from the neighbor node to the horizontal surface
whence it is parallel to the pipe until the peak at the Air Valve.
RELATED TOPICS
Friction loss methods for Steady State and Extended Period simulations include:
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 equation is:
Q = k C A R 0.63 S 0.54
RELATED TOPICS
Darcy-Weisbach Equation
Because of its nonempirical 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 as:
D = 4R
R S
Q= A 8g
f
The Swamee and Jain equation can then be used to calculate the friction factor. For
more information, see “Swamee and Jain Equation” on page 1-56.
RELATED TOPICS
Manning’s Equation
Manning’s equation, which is based on Chézy’s equation, is one of the most popular
methods in use today for free-surface flow. For Manning’s equation, the roughness
coefficient in Chézy’s equation is given by:
1
R 6
C= k
n
Substituting this roughness into Chézy’s equation gives you the well-known
Manning’s equation:
k 2 1
Q= A R 3 S 2
n
RELATED TOPICS
Steady Friction
In HAMMER, a hydraulic transient analysis usually begins with an Initial Conditions
(steady state) calculation, which computes the heads and flows for every pipe in the
system. Prior to beginning the transient calculations, HAMMER automatically deter-
mines the friction factor based on this information:
• If a pipe has zero flow at the initial steady-state, HAMMER uses the Friction
Coefficient specified in the Pipe Physical properties. (Alternatively, if the user has
the 'Specify Initial Condition' Transient Solver calculation option to True, the user
must enter a Darcy-Weisbach friction factor, f)
• If a pipe has a nonzero flow at the initial steady-state, HAMMER automatically
calculates a Darcy-Weisbach friction factor, f, based on the heads at each end of
the pipe, the pipe length and diameter, and the flow in the pipe. It uses this calcu-
lated value in the transient simulation.
Consequently, at every calculation point, there are two heads: one on the upstream
side and one on the downstream side as indicated in the figure below (Bergeron,
1961). These differ by the head loss between adjacent calculation points. The addition
of the nonlinear equation Darcy-Weisbach equation to the system of characteristic
equations does complicate the task of advancing the solution forward in time, and
leads to an approximation in terms of the friction coefficient which is typically small.
Historically (Parmakian, 1961; Wylie and Streeter, 1993), in simulating unsteady flow
in closed conduits, frictional losses have been represented by means of a steady-state
friction coefficient as derived from the initial conditions and/or the entered value in
the case of zero-flow pipes. For each artificial inline orifice, a head-loss coefficient is
determined so that the total pipe loss due to the summation of such local losses is iden-
tical to the distributed loss of the pipe. After the coefficients are calculated initially,
they remain invariant throughout the run.
Quasi-Steady Friction
In this approach (Fok, 1987), the Darcy-Weisbach coefficient at any point depends on
the state of the system at the previous time step. At the outset, the friction coefficient
for each pipe is a function of the initial flow, Q0, as follows: (i) calculated from the
steady-state conditions if |Q0| > 0, or (ii) the user-entered value of the coefficient if Q0
= 0. For the starting value of the friction coefficient, the relative roughness of each
pipe is estimated by means of the Swamee and Jain (1976) approximation of the
Moody diagram. For subsequent time steps, the Reynolds number is computed at each
point on the basis of the previous iteration's velocity and then an updated friction coef-
ficient is ascertained.
The steady-state friction method is actually a special case of the quasi-steady method
because it assumes that the friction factor does not vary with time. The quasi-steady
friction method is virtually an unsteady method, although one based on steady-state
friction factors (c.f. “Unsteady or Transient Friction”). The quasi-steady method is
more computationally demanding than steady-state friction.
RELATED TOPICS
It is known that past velocity and/or temporal acceleration play a significant role in
determining transient friction (Brunone et al., 1991; Bughazem and Anderson, 2000;
Vardy and Hwang, 1991). Motivated by experimental data and published formulae in
recent years for estimating the transient friction factor (Brunone et al., 2000; Vardy
and Brown, 1995; Vitkovsky et al., 2000), we have proposed an unsteady friction
model defined by an amplification of the quasi-steady friction factor by the following
factor:
C
k = -----------
2
This unsteady friction method from Vitkovsky is now the recommended unsteady fric-
tion method for use in HAMMER.
250
Steady
230
Quasi-
Head (m)
steady
210
Unsteady
(Transient)
190
0 5 10 15 20 25
Time (s)
Figure 14-11: Bentley HAMMER V8i Results for Steady-State, Quasi-
Steady, and Transient Friction Methods
Discussion
For the initial pressure rise or decline, the various models yield results which are
nearly identical to each other, as well as to empirical data. As time passes, however,
the match progressively deteriorates for subsequent peaks and valleys especially when
the flow changes are more abrupt as illustrated above. The usual convex velocity
profile in steady state begins to break down when the flow is rapidly varied with
regions of flow recirculation, flow reversal and increased intensity of turbulence
(Brunone et al., 2000). Thus, the fundamental assumption of one-dimensional flow is
severely strained. Although the unsteady model, in particular, matches the empirical
decay in amplitude quite well, it fails to account for the attendant change in the shape
of the wave with increasing time. The topic of unsteady friction remains in the fore-
front of hydraulics research.
RELATED TOPICS
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, see “Fitting
Loss Coefficients” on page 14-1069.
Generally speaking, more-gradual transitions create smoother flow lines and smaller
head losses. For example, “Figure 14-12: Flow Lines at Entrance”on page 14-1025
shows the effects of entrance configuration on typical pipe entrance flow lines.
RELATED TOPICS
14.9 Cavitation
During a Transient Analysis, if the gauge pressure, P, of the fluid declines to its vapor
pressure limit, P0, then vapor will begin to form and the vapor volume will expand at
all such computation points as long as P0 persists. In fact, as the pressure approaches
P0, air will be released from solution and the wave speed will decrease; this behavior
can be simulated in HAMMER using the wave speed reduction factor.
For simplicity, let us focus on an interior point of a pipe. With the inclusion of friction,
there are three unknowns at each time step for every interior point in single-phase
flow: two heads and a discharge. In fact, in order to track the vapor volume(s), Xi, i =
1, 2, that may form, additional variables are required to record such volumes. There
are two fundamental hypotheses invoked in treating vapor pockets:
Although these hypotheses are not entirely valid - on physical and logical grounds - it
turns out that it is difficult if not impossible to proceed without them and that they
allow us to predict the system behavior remarkably well (Provoost, 1976). By virtue
of these assumptions, there is no flow across a pocket and the interface between the
vapor and liquid remains fixed in space.
Solution
In this case, consider the head, H, in the "middle" of the point is H0 = P0 + Z, where Z
is the elevation of the point. In addition, there are still two characteristic equations,
two head-loss equations and the continuity relations, with the latter being as follows:
dXi / dt = - Qi
In summary, in both modes, there are seven variables - H, Hi, Qi and Xi - and seven
equations.Transitions between these two states may occur multiple times during a
simulation. It is also physically possible that a vapor pocket both opens and closes, or
vice-versa, within a single (and arbitrary) time step. There is logic in the transient
solver to detect this occurrence and deal with it. HAMMER traces the evolution of the
vapor pockets and records the maximum volume attained at each point during the
simulation.
tion (e.g., by limiting the size of pockets or transferring excess volumes to adjacent
points) nor prints warning/error messages should the vapor volumes grow large
enough to fill the pipe segment between two computation points. The user must pay
attention to this limitation of the program.
HAMMER computes the following statistics for wave travel times in a network with n
pipes:
• Variance:
N = n n y
In the selection of a time step, there is nothing to ensure that the i will be exactly
divisible by T. To accomplish this task, the i can be rounded according to the
following rules:
A. i >= T
B. implement a bias towards increasing i
To round the i, one can adjust the length, wave speed or both for each pipe.
If the length is adjusted, then errors will arise in the mass, momentum, energy and
friction coefficient. Moreover, if the Viewer were to display the adjusted lengths, then
the user could conceivably believe that the pipes are being distorted. For slower
changes leading to mass oscillations in the system, it can be demonstrated that the
alterations to the network will have an impact on the results.
On the other hand, should the wave speed be adjusted, this can lead to errors in the
calculation of rapid transients - think of Joukowsky's formula which depends on wave
speed but is explicitly independent of length.
The user can choose whether to adjust length or wave speed in HAMMER (see “Tran-
sient Time Step Options Dialog”) does have the responsibility to exercise some discre-
tion in constructing a model of a hydraulic system. As a approximate measure of the
adequacy of the model, a warning message appears in the output log in the event that
any adjustment exceeds the Max Adjustment value in the Transient time Step Options
dialog box. The default value for this parameter is 75%; i.e., | ai| / ai > 0.75 when
adjusting wave speed, or | Li | / Li > 0.75 when adjusting length, then a user notifi-
cation message suggests that the user consider reducing the time step or subdividing
longer pipes and/or lengthening shorter pipes.
It should be noted that large wave speed adjustments in small pipes in branches, or in
main lines with slowly changing flows, may have little impact on the hydraulic tran-
sients in the system. However, the impact could be significant if transients in the short
pipes (whose wave speeds tend to be reduced) are of interest.
This section describes the general equations for the schematic turbine shown in
“Figure 14-13: Schematic of Turbine Hydraulic Element in Hammer”on page 14-1032
(that also shows the upstream and downstream computational points).
Turbine equations:
H2 2Q = h2 2q2
a
(where a is the wave speed and S is the pipe cross-
gS sectional area)
H1 f1Q|Q| = HC
H2 f2Q|Q| = HB
HC HA = KvQ|Q|
Mhyd =FM(Q, N, w)
HA HB =FH(Q, N, w)
FH head function
c t
N = n + -------- M hyd + m hyd – M electrical + m electrical
2
c t c t
N – n – -------- F M Q N w + m hyd + -------- M electrical + m electrical = 0
2 2
The non-linear equations () and () can be solved by iteration using Newton’s method
in conjunction with the four-quadrant head and torque curves for various wicket gate
positions.
i
3 Momentum Decrease Internal Node
within CV
Pressure
Branch Pipe, i
Momentum into CV
1
Pseudobranch Pressure
Momentum Decrease
within CV External Node
Pressure
Branch Pipe, 1
g i Ai (Hi Z) n i R = i ( Qi v i)
where the subscript i refers to the ith pipe emanating from the node, is mass
density, g is acceleration due to gravity, H is head, Z is elevation, n is the unit
inner normal to the CS, A is cross-sectional area, R is the resultant force exerted
by the pipe on the liquid, t is time, v is the fluid velocity, and Q is the flowrate
towards the node. Note that any boldfaced underlined quantity is a vector.
By rearranging (), it follows that the reaction force on the pipe, applied by the
liquid, is given by the vector formula:
P = -R = i Ai [ vi2 + g (H i - Z) ] ni
where i = +1, if the flow in the branch is directed towards the node, and -1 other-
wise. On account of the discretization involved, this force is apportioned equally
to each of the end points situated at the node.
The first term on the right-hand side of (), which involves v, is associated with
momentum flowing across the boundary CS. All terms are functions of time,
except for the transverse component of weight which acts in the downward direc-
tion -k, where k is a unit vertical upward vector. The longitudinal (or axial)
component of weight (if any), a body force on the CV, is already accounted for in
the hydraulic transient equations used by Bentley HAMMER V8i to solve for
flow/velocity and head/pressure at each instant.
In terms of the Cartesian coordinates, with z being measured vertically upward,
the magnitude of the resultant force P = (Px, Py, Pz) = -R = (-Rx, -Ry, -Rz) on the
pipe is given by:
For instance, in the case of an internal node as in Figure C-1 with N = 2, vertical
pipes meeting at an angle of 180 degrees, and steady flow, then the magnitude of
the resultant is given by the relation g | H2 A2 - H1 A1|. For steady flow in a
vertical pipe discharging to atmosphere through an orifice at its top end as in
Figure C-2, the resultant downward force on the pipe is Q|V - v|, with Q, V, and
v being the flow and velocity at the vena contracta and in the pipe, respectively.
The result of the force computations may be restricted to periodic times, as indi-
cated in Transient Solver Calculation Options > Report Times. If the forces
are enabled in the Run Dialog, a table of maximum forces - over all time steps
regardless of report period - is constructed in the output log with columns: Node,
Time, Magnitude, Fx, Fy, and Fz. In the report database, two tables, Force_History
and Force_Maxima, are created.
There are two possible strategies for controlling transient pressures. The first is to
focus on minimizing the possibility of transient conditions during project design by
specifying appropriate flow-control operations and avoiding the occurrence of emer-
gency and unusual system operations. The second is to install protection devices to
control potential transients due to uncontrollable events, such as power and equipment
failures.
Systems protected by adequately designed surge tanks are generally not adversely
affected by emergency or unusual flow-control operations, because operational failure
of surge tanks is unlikely. In systems protected by gas vessels, however, an air outflow
or air-compressor failure can lead to damage from transients. Consequently, potential
emergency situations and failures should be evaluated and avoided to the extent
possible through the use of alarms that detect device failures and control systems that
act to prevent them.
RELATED TOPICS
Pipeline layouts with undulating topographic profiles are common. For these systems,
it may be desirable to change the route and/or profile of the pipeline to avoid high
points that are prone to air accumulation or exposure to low pressures (or both), but
this is seldom possible. If the minimum transient head is above the elevation of the
piping system, then transient protection devices are most likely unnecessary, thus
minimizing construction costs and operational risks.
Low-head systems are more prone to experience transient vacuum conditions and
liquid-column separation than are high-head systems. If the system designer does not
account for the occurrence of low transient pressures in low-head systems, then a
pipeline with inadequate wall thickness may be specified, potentially leading to pipe-
line collapse even if the pipeline is buried in a well-compacted trench. For example,
low-head systems with buried steel pipelines and diameter/thickness ratios (D/e) more
than 200 should be avoided because of the risk of structural collapse during a transient
vacuum condition, particularly if the trench fill is poorly compacted.
Steel, PVC, HDPE, and thin-wall ductile-iron pipes are susceptible to collapse due to
vapor separation, but any pipe that has been weakened by repeated exposure to these
events may experience fatigue failure. A pipe weakened by corrosion may also fail.
Where very low pressures are possible during transient events, the engineer may
choose to use a more expensive material to preclude the chance of collapse. For
example, for large-diameter pipes under high pressures, steel is usually more econom-
ical than ductile iron or high-pressure concrete. However, the engineer may select
high-pressure concrete or ductile iron because it is less susceptible to collapse and
may eliminate the need for operational constraints.
Piping systems constructed above ground are more susceptible to collapse than buried
pipelines. With buried pipelines, the surrounding bedding material and soil provide
additional resistance to pipeline deformations and help the pipeline resist structural
collapse. Above-ground pipelines must be anchored securely against steady-state and
transient forces.
Other factors that influence extreme transient heads are pressure wave speed and
liquid velocity. Selecting larger diameters to obtain lower velocities with the purpose
of minimizing transient heads is acceptable for short pipeline systems delivering rela-
tively low flows. However, for long pipeline systems, the diameter should be selected
to optimize construction and operating costs. Long piping systems almost always
require transient protection devices.
After considering these factors during the conceptual and preliminary designs, the
project should move into the final design phase. Any changes to the system during
final design should be analyzed with the transient model to verify that the previous
results and specifications are still appropriate prior to commissioning.
RELATED TOPICS
Using a transient model, the engineer can try different valve operating speeds, pipe
sizes, and pump controls to see if the transient effects can be controlled to acceptable
levels. If transients cannot be prevented, specific devices to control transients may be
needed.
• Lower pipeline velocity—Pipeline size and thus cost can be reduced by allowing
higher velocities. However, the potential for serious transients increases with
decreasing pipe size. It is usually not cost effective to significantly increase pipe
size to minimize transients, but the effect of transients on pipe sizing should not be
ignored in the design process.
• Stronger pipe—For long-term reliability, pipes and joints should be strong
enough to resist both high and subatmospheric, or even vacuum, pressures.
• Pump inertia
• Surge tanks
• Air chambers
• One-way tanks
• Air inlet valves
• Pump bypass valves
• Relief valves
• Anticipator relief valves
• Surge tanks
• Air chambers
• Pump bypass valves
The items in the preceding lists are discussed in the sections that follow. These items
can be used singly or in combination with other devices.
RELATED TOPICS
System- Flow-
Surge-Relief
Approach Improvement Supplement
Approach
Approach Approach
Operation and
+++++ +++ +
Maintenance
Complexity +++ ++ +
These three approaches differ significantly in terms of the required civil and piping
works, physical appearance, hydraulic characteristics, long-term reliability, opera-
tional complexity and flexibility, and cost of construction, operation, and mainte-
nance.
However, these measures have a common basis—all three attempt to protect the
system from water hammer by reducing the rate of change of flow to minimize the
effects of transients. Each approach modifies a different governing parameter, as
described in the following sections.
C) Valve characteristics
• Types (check valve, surge anticipator, vacuum breaker, air release ….)
• Closure characteristics (butterfly, needle, …)
• Operation procedures (time to open, close, operating curve ….)
D) Surge tank characteristics
• Diameter (Ds) or surface area (As)
• Geometry and variation
• Top (spilling) and bottom (dewatering) elevation
• Orifice size and differential ratio
RELATED TOPICS
System-Improvement Method
This method is the most reliable, with the least operation and maintenance require-
ment. However, it is very expensive and usually used only as a last resort. It consists
of the following measures:
1. Reduce velocity—The smaller the pipe flow velocity, the less potential there is
for a large rate of change in velocity (dV/dt). Normal velocities can be reduced by
enlarging the pipe diameter or redistributing the flow to twin pipes.
2. Pipe material—The pressure wave speed a of a flexible pipe material is less than
that for rigid pipe. For a very fast stoppage of flow (< 2 L/a), the transient effect of
pressure-wave speed is prominent. Changing pipe material may improve the
outcome, although the surge tolerance of a more flexible pipe may be less.
3. Pipeline improvement—Pipeline profiles with prominent local high points are
susceptible to the occurrence of subatmospheric or even full vacuum pressure,
resulting in water-column separation and vapor or air pockets in the pipeline. Very
high upsurge pressures can result when water columns subsequently rejoin. Extra
excavation or fill can reduce or eliminate local high points.
RELATED TOPICS
Flow-Supplement Approach
This approach can be used to effectively control transients resulting from a pump shut-
down or startup. Following a power failure, energy stored in hydraulic or mechanical
devices can be converted into kinetic energy to force flow into the system and prevent
vapor or air pockets from forming.
Such energy conversions reduce the rate of change of flow and, consequently, the
magnitude of the resulting hydraulic transients. Part of the flow enters the surge tank
or air chamber at start-up or during the upsurge, thereby reducing the effects of an
otherwise rapid increase in flow. Due to its relatively high cost, this very reliable
method may not be feasible in small water systems.
RELATED TOPICS
A differential orifice may be installed at the riser of the tank to throttle reverse flow
from the system to the tank, but create very little loss for flow leaving the tank. If an
overflow and drain is provided, the tank can also act as a foolproof overpressure
device that can overflow in a controlled manner.
One of the main concerns is the stability problem inside the tank. A rapid rise or drop
in water level in the tank should be avoided. Usually, the surface area of the tank
should be significantly larger than that of the pipeline. In a high-head water system or
a sanitary forcemain, a two-way surge tank may not be economically feasible because
of height or odor problems. A sample Bentley HAMMER V8i run extracted from a
case study is shown in the following figure.
Surge Tank
Figure 14-16: Output of Bentley HAMMER V8i Run for a Two-Way Surge
Tank
RELATED TOPICS
• The design of the check valve at the riser to protect against debris or jamming.
• Careful pump restart procedures following a power failure.
• Cost of refilling this tank with drinking water (to avoid odors).
• A chamber may be required to enclose the tank.
• A sanitary sewer may be required to drain liquid overtopping the tank.
RELATED TOPICS
A differential orifice can be installed to minimize the chamber size by creating greater
head losses for inflows to the vessel than to outflows entering the system. For a system
with a high friction head, one should consider optimizing the chamber by installing
several clusters of probes, each throttling and/or starting (or stopping) a specific
number of operating pumps. “Figure 14-17: Output of Bentley HAMMER V8i Run
for an Air Chamber”on page 14-1050 shows the effectiveness of a gas vessel in
controlling hydraulic transients.
Figure 14-17: Output of Bentley HAMMER V8i Run for an Air Chamber
Some manufacturers and engineers reduce the air chamber size by letting air into it
during the downsurge period. There are a number of serious concerns in the practical
application of this, as follows:
• If the downsurge head drops to or below the pump station elevation, part of the
pipeline may already be subjected to subatmospheric pressures or even a full-
vacuum condition. This may defeat the purpose of an air chamber installed to
protect against the downsurge.
• Normally, an air chamber requires a high static head to be practical. If the down-
surge head drops to the pump station, a large upsurge head can also bounce back,
considerably higher than the static head. This may also defeat the purpose of its
upsurge protection.
• Air inside a gas vessel (air chamber) is always contained by a thick metal shell
and separated from atmospheric pressure by piping and a reservoir. With an air-
inlet valve mounted on the top, during the downsurge period a large quantity of air
at atmospheric pressure can rush into the chamber. During the upsurge (or even
possibly during normal operation) period, the huge pressure difference between
the inside and outside of the chamber provides a high possibility that a large
volume of air could escape through a leak in the inlet valve. Since an air chamber
is a pressure vessel, pressure inside the chamber is many times greater than atmo-
spheric pressure outside the chamber. The mechanical part of the air-inlet valve
can leak or fail.
When a significant volume is required, two smaller gas vessels should be considered
to provide redundancy whenever one unit has to be maintained, or in case one loses its
gas volume and is ineffective during a transient. The following appurtenances require
careful design:
• There should be two or more redundant air compressors, each equipped with a
tank to store enough air at the required pressure to supply the gas vessel for short
times after a power failure. Compressors should be capable of running from
generators during an extended power failure if diesel fire pumps will be running.
• Level-control probes should be set for high and low level, high and low alarm, and
drain or fill. Compressors should be started and stopped according to these levels.
Avoid setting high- and low-level probes too close to the normal operating range
to avoid spurious warnings—this can cause operators to ignore more serious low-
or high-level alarms.
RELATED TOPICS
Increase of Inertia
Inertia increases when flywheels are added to a shaft to increase the kinetic energy
stored in rotating parts, thereby buffering a rapid pump shutdown. Pumps have tended
to get smaller and smaller (with less inertia) and lighter, multistage vertical pumps are
used more frequently. This has tended to make this option far less common.
RELATED TOPICS
RELATED TOPICS
Check Valve
A check valve on the discharge line of a pump should have a fast closing time to
prevent flow reversal through the pump and the valve slam that can occur with
delayed valve closure, or where surge tanks are incorporated into the pump station
design. Valve slam can damage the valve, pump, or system piping. If it is not possible
to have a check valve that closes before the surge tank responds and slams the valve,
some type of dampening device, such as a dash pot, is necessary to control valve
closure during the last 5 to 10 percent of the valve travel.
RELATED TOPICS
Depending on the relative lengths of the upstream pipeline (LS) and the downstream
pipeline (LR) and the magnitude of the velocity changes, a pump bypass connection
can act as a transient protection element. Water continues past the booster station if the
downstream pressure falls below the upstream pressure, thus limiting the pressure rise
upstream of the booster station and the pressure drop downstream.
The next figure shows the transient analysis results for such a system. These results
show that the bypass opened to transfer water from the upstream pipeline to the down-
stream pipeline, which helped to attenuate or control the maximum and minimum
pressure transients on the upstream and downstream sides of the station.
RELATED TOPICS
There are many documented cases of poorly specified control valves. Some of these
valves do not operate adequately because of excessive head loss or cavitation during
steady-state flow conditions; others are inadequate to control hydraulic transients
because of poor valve selection or poor operation. When specifying valves for flow
control and/or pumping stations, the engineer must carefully evaluate the type,
number, and size of valves to provide adequate steady and transient flow regulation.
The advantage of surge-relief valves is that they are relatively inexpensive and easy to
fit into a pumping system at the locations of interest. Generally, valves control surge
conditions by opening and/or closing according to preset characteristics. This restricts
hydraulic transients to more tolerable limits, but it can rarely eliminate cavitation or
water-column separation. Moreover, if the valves are oversized or operated too
rapidly, other types of water hammer problems may result (e.g., water bleeding, and
excessive flow reversals), possibly resulting in worse transients than without valve
protection. However, with careful Bentley HAMMER V8i modeling and design,
valves offer a versatile and powerful means to safely control water hammer.
The following descriptions and figures show their geometry and schematics:
Qo
Flow at P.S.
Flow
Check With Valve
Time
a) Check Valve Rotential
Reverse Flow
Pressure-relief valve—This valve is usually installed across the pumps and discharge
headers or at critical points along the pipeline. It opens when a preset pressure is
exceeded and closes immediately after pressure drops below this setting. A damped
closure may be provided to allow for a longer closing time. One of the main concerns
is the considerable time lag for the valve to open following a power failure. Transient
pressure waves can come and go in a fraction of second. Very often, this valve is used
as a redundant measure, to limit the pressure rise during normal pumping operations.
Pump station bypass with check valve—If the suction water level is high, a bypass
line can slow the reduction in flow by supplying water to the pipeline during the
downsurge period (following a power failure) using potential energy in the suction
reservoir. However, it provides no upsurge protection to a pumping system because no
back flow is allowed through the check valve. It can be effective in a downhill or flat
pipeline.
A smaller bypass line is sometimes provided (as shown by dotted lines) around the
check valve in the primary bypass line.
Inline bypass with check valve—The check valve is usually located downstream of
the location of cavitation at a high point. The bypass line should be sized so that no
high pressure is built up at the downstream section and no large reverse-flow velocity
occurs in the upstream section of the check valve. Normally, an air valve needs to be
installed at the crest to eliminate vapor pressure, and a surge-anticipator valve is
located at the pump station to protect it and the pipe section between the pump and the
high point.
This type of valve is popular both for water-distribution systems and sanitary force-
mains. However, if the air volume allowed into the pipe system is big and, if it is
released too quickly, excessively high transient pressures can occur when the two
water columns accelerate towards each other during a prolonged period of air release.
The static head can defeat the effectiveness of the air cushion due to the large buildup
of momentum in these accelerating water columns.
Time
Delay Fully Open
Valve Operation
Valve Opening
(Automatic Control)
Rupture disk—A rupture disk is equipped with a membrane which can burst to
discharge a large flow rate and relieve mass (pressure) from the system whenever tran-
sient pressures exceed a pre-set value. Such disks may rupture at a different pressure
and both the upper and lower burst limit provided by the manufacturer should be
modeled using Bentley HAMMER V8i.
A sample run based on a case study is presented in the following figure. As shown, the
combination air valve does not help to control surge due to the big air pocket and the
high head at the downstream reservoir, in this particular case.
Figure 14-20: Bentley HAMMER V8i Results for a Combined Air Valve
RELATED TOPICS
The following items can be considered when setting operation and maintenance
procedures for a pumping system:
• Air venting—The air trapped at local high points must always be released during
both normal and emergency pumping operations. During line filling, air at local
high points must be vented in the proper order and pump flow must be much
smaller than its design capacity to avoid severe hydraulic transients and pipe
breaks.
• Suction system hydraulics—The size of the suction well and/or the suction lines
should be designed and operated adequately to prevent spilling or dewatering.
Whenever the capacity of the pump station increases, the suction system should
be modeled and possibly upgraded to ensure that NPSHA is greater than NPSHR,
while the upstream reservoir can freely fluctuate between designed high- and low-
water levels.
• Slow change of valve operation—Valve opening or closing times must be long
enough. Alternatively, two or more stages can be used, with different stroke
speeds for each.
• Alarm setup—Alarm systems should be regularly tested and checked. If false
alarms occur frequently, conduct an analysis to determine the causes and provide
remedial measures. Otherwise, operators may shutdown the alarm system to elim-
inate annoyances.
• Maintenance—It is essential to regularly inspect and clean the protection
devices, particularly those located outside the pump station.
• Staff training—A workshop can be presented to the engineers and operators, who
often know their water system better than any expert. Very often, the system needs
to be pushed beyond normal operating ranges to achieve the water-supply objec-
tives. Training is particularly critical for existing pumping stations that have been
upgraded many times. It is also possible that operators are not aware of transients
occurring far from the pump station, where no one may be present to experience
them.
RELATED TOPICS
Roughness Values:
RELATED TOPICS
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 vary according to 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 such things as bend radius and
contraction ratios.
Expansion—Sudden Cross
Hydraulic transient analysis requires the correct specific gravity, kinematic viscosity
and vapor pressure. The following table lists liquids included in the HAMMER
library: liquids.xml (an editable text file). If the temperature of your liquid differs
from available table entries, select the nearest one or interpolate between table values.
Ethyl Alcohol at
20ºC(68ºF)
Yes 0.790 1.500(10)-6 -999
Carbon tetrachloride at
20ºC(68ºF)
Yes 1.590 6.000(10)-7 -999
SAE 10W at
38ºC(100ºF)
Yes 0.870 4.100(10)-5 -999
SAE 10W-30 at
38ºC(100ºF)
Yes 0.880 7.600(10)-5 -999
Glycerine at
38ºC(100ºF)
1.260 1.760(10)-4 -999
Propylene glycol at
21ºC(70ºF)
1.038 1.5.200(10)-5 -999
Hydrochloric acid
(31.5%) at 20ºC(68ºF)
1.050 1.900(10)-6 -999
Sulfuric acid(100%) at
20ºC(68ºF)
1.830 1.460(10)-5 -999
Kerosene at
38ºC(100ºF)
0.800 2.000(10)-6 -999
Blackstrap molasses at
38ºC(100ºF)
1.475 5.500(10)-3 -999
Note: Units shown in the table correspond to units in the liquids.xml library file.
The values in the above table are taken from the WaterCAD/WaterGEMS engineering
library files and from Tables 6, 7 and 8 in the Pump Handbook (Karassik, 2001).
14.15 References
Allievi, L., “General Theory of Pressure Variation in Pipes”, Ann. D. Ing. Et Archit.
Ital. Dec. 1902. English translation by Holmes, E., ASME, 1925
ASCE. (1975). Pressure Pipeline Design for Water and Wastewater. ASCE, New York,
New York.
Bergant, A., Simpson, A. and Vitkovsky, J., "Developments in unsteady pipe flow
friction modeling," Journal of Hydraulic Research, Vol. 39, No. 3, 2001
Brunone, B., Golia, U.M., and Greco, M. , "Some Remarks on the Momentum Equa-
tion for Fast Transients", International Meeting on Hydraulic Transients with Column
Separation, 9th Round Table, IAHR, Valencia, Spain, 1991.
Brunone, B., Karney, B.W., Mecarelli, M., and Ferrante, M. “Velocity Profiles and
Unsteady Pipe Friction in Transient Flow” Journal of Water Resources Planning and
Management, ASCE, 126(4), 236-244, Jul. 2000.
Bughazem, M.B. and Anderson, A., "Investigation of an Unsteady Friction Model for
Waterhammer and Column Separation", The 8th International Conference on Pressure
Surges, BHR, The Hague, The Netherlands, 2000.
Chaudhry, M.H., “Applied Hydraulic Transients”, Van Nostrand Reinhold Co., N.Y.,
1979
Chaudhry, M.H. and Yevjevich, V. (1981) “Closed Conduit Flow”, Water Resources
Publication, USA
Elansari, A. S., Silva, W., and Chaudhry, M. H. (1994). “Numerical and Experimental
Investigation of Transient Pipe Flow.” Journal of Hydraulic Research, 32, 689.
Fok, A., “Design Charts for Air Chamber on Pump Pipelines”, J. of Hyd. Div., ASCE,
Sept. 1978
Fok, A., Ashamalla, A., and Aldworth, G., “Considerations in Optimizing Air
Chamber for Pumping Plants”, Symposium on Fluid Transients and Acoustics in the
Power Industry, San Francisco, U.S.A. Dec. 1978
Fok, A., “Design Charts for Surge Tanks on Pump Discharge Lines”, BHRA 3rd Int.
Conference on Pressure Surges, Bedford, England, Mar. 1980.
Fok, A., “A contribution to the Analysis of Energy Losses in Transient Pipe Flow”,
Ph.D. Thesis, University of Ottawa, 1987
Fox, J.A., “Hydraulic Analysis of Unsteady Flow in Pipe Network”, Wiley, N.Y., 1977
Hamam, M.A. and McCorquodale, J.A., “Transient Conditions in the Transition from
Gravity to Surcharged Sewer Flow”, Canadian J. of Civil Eng., Sep. 1982
Jaeger, C., “Fluid Transients in Hydro-Electric Engineering Practice”, Blackie & Son
Ltd., 1977
Jelev, I. , "The Damping of Flow and Pressure Oscillations in Water Hammer Anal-
ysis", Journal of Hydraulic Research, Delft, The Netherlands, 27(1), 1989.
Koelle, E., Luvizotto, Jr., E., and Andrade, J.P.G. “Personality Investigation of
Hydraulic Networks using MOC – Method of Characteristics” Proceedings of the 7th
International Conference on Pressure Surges and Fluid Transients, Harrogate Durham,
United Kingdom, 1996.
Li, J. & McCorquodale, A. (1999) “Modelling Mixed Flow in Storm Sewers,” Journal
of Hydraulic Engineering, ASCE, Vol. 125, No. 11, pp. 1170-1180.
Moody, L. F., “Friction Factors for Pipe Flow”, Trans. ASME, Vol. 66, 1944
Parmakian, J., “Waterhammer Design Criteria”, J. of Power Div., ASCE, Sept. 1957
Parmakian, J., "Waterhammer Relief with Valves for Pumping Installations", Amer-
ican Water Works Association - Ontario Section, Seminar on Effective Valve Selec-
tion for Control of Water, Toronto, Canada, 1980.
Pezzinga, G., "Quasi-2D Model for Unsteady Flow in Pipe Networks", Journal of
Hydraulic Engineering, ASCE, 125(7), 1999.
Savic, D.A., and Walters, G.A. (1995). “Genetic Algorithms Techniques for Cali-
brating Network Models”, Report No. 95/12, Centre for Systems and Control Engi-
neering, School of Engineering, University of Exeter, Exeter, United Kingdom, 41.
Sharp, B., “Waterhammer Problems & Solutions”, Edward Arnold Ltd., London 1981
Shuy, E.B. (1996). "Wall Shear Stress in Accelerating and Decelerating Turbulent
Pipe Flows", Journal of Hydraulic Research, 34(2), 1996.
Song, C.C. et al, “Transient Mixed-Flow Models for Storm Sewers”, J. of Hyd. Div.,
Vol. 109, Nov. 1983
Stephenson, D., “Pipe Flow Analysis”, Elsevier, Vol. 19, S.A. 1984
Streeter V.L. and Wylie E.B., “Fluid Mechanics”, McGraw-Hill Ltd., USA 1981
Stepanoff, A.J., "Centrifugal and Axial Flow Pumps", John Wiley and Sons, Inc., New
York, N.Y., USA, 1963.
Swamee, P.K. and Jain, A.K., "Explicit Equations for Pipe-Flow Problems", Journal of
the Hydraulics Division, ASCE, 102(5), 1976.
Thorley, A.R.D and A. Chaudry., “Pump Characteristics for Transient Flow Analysis”,
Department of Mechnical Engineering & Aeronautics, City University, London ECIV
OHB
Tullis, J.P., “Control of Flow in Closed Conduits”, Fort Collins, Colorado, 1971
Vallentine, H.R., “Rigid Water Column Theory for Uniform Gate Closure”, J. of Hyd.
Div. ASCE, July 1965
Vardy, A.E. and Brown, J.M.B., "Transient Turbulent Smooth Pipe Friction", Journal
of Hydaulic Research, Delft, The Netherlands, 33(4), 1995.
Vardy, A.E. and Hwang, K.L., "A Characteristic Model of Transient Friction in
Pipes", Journal of Hydraulic Research, Delft, The Netherlands, 29(5), 1991.
Vitkovsky, J.P., Lambert, M.F., Simpson, A.R., and Bergant, A., "Advances in
Unsteady Friction Modelling in Transient Pipe Flow", The 8th International Confer-
ence on Pressure Surges, BHR, The Hague, The Netherlands, 2000.
Watters, G.Z., “Modern Analysis and Control of Unsteady Flow in Pipelines”, Ann
Arbor Sci., 2nd Ed., 1984.
Walski, T.M. and Lutes, T.L. (1994) “Hydraulic Transients Cause Low-Pressure Prob-
lems.” Journal of the American Water Works Association, 75(2), 58.
Wood, D. J., Dorsch, R. G., and Lightner, C. (1966). “Wave-Plan Analysis of Unsteady
Flow in Closed Conduits.” Journal of Hydraulics Division, ASCE, 92, 83.
Wood, F.M., “Comparison of the Rigid Column and Elastic Theories for Water-
hammer”, Can. Hydraulic Conference, U. of Alberta, Edmonton, May 1973.
Wu, Z. Y., and Simpson, A.R. “Evaluation of Critical Transient Loading for Optimal
Design of Water Distribution Systems.” Proceedings of the Hydroinformatics confer-
ence, Iowa, 2000.
Wylie, E.B., “Rigid Water Column Theory”, Ch. 6. 7 in “Closed Conduit Flow”,
edited by Chaudhry & Yeijevich, V., Water Resource Publications, USA, 1981
Zhou, F., Hicks, F., and Steffler, P., "Analysis of Effects of Air Pocket on Hydraulic
Failure of Urban Drainage Infrastructure", Canadian Journal of Civil Engineering, 31,
2004.
Zielke, W., “Frequency Dependent Friction in Transient Pipe Flow”, Ph. D. Thesis, U.
of Michigan, 1966.
RELATED TOPICS
Edit Menu
Analysis Menu
Components Menu
View Menu
Tools Menu
Report Menu
Help Menu
File Menu
The File menu contains the following commands:
Update Server Copy Updates the ProjectWise server copy using the
current project.
Page Setup Opens the Page Setup dialog box where the print
settings can be set up.
Edit Menu
The Edit menu contains the following commands:
Analysis Menu
The Analysis menu contains the following commands:
Transient Time Step Opens the Transient Time Step Options dialog.
Options
Components Menu
The Components menu contains the following commands:
Unit Demands Opens the Unit Demands manager where you can
create and edit unit demands based on area, count
and population.
GPV Headloss Curves Opens the GPV Headloss Curves manager where
you can create and edit headloss curves for
General Purpose Valves.
View Menu
The View menu contains the following commands:
Named Views Opens the Named Views manager where you can
create, edit, and use Named Views.
Tools Menu
The Tools menu contains the following commands:
Unit Demand Control Opens the Unit Demand Control Center manager
Center where you can add new unit demands, delete existing
unit demands, or modify existing unit demands.
User Data Extensions Opens the User Data Extension dialog box, which
allows you to add and define custom data fields. For
example, you can add new fields such as the pipe
installation date.
Assign Isolation Valves Opens the Assign Isolation Valves to Pipes where you
to Pipes can find and assign isolation valves to their closest
pipes according to user-defined tolerances.
Report Menu
The Report menu contains the following commands:
Element Tables Opens a menu that allows you to display FlexTables for
any link or node element. These predefined FlexTables
contain most of the input data and results for each
instance of the selected element in the model.
Project Inventory Opens the Project Inventory Report, which contains the
number of each of the various element types that are in
the network.
Report Options Opens the Report Options box where you can set
Headers and Footers for the predefined reports.
Help Menu
The Help menu contains the following commands:
Quick Start Lessons Opens the online help to the Quick Start Lessons
Overview topic.
Check for SELECT Opens your Web browser to the Bentley Web site,
Updates where you can check for Bentley HAMMER V8i
updates.
Pipe Attributes
Junction Attributes
Hydrant Attributes
Tank Attributes
Reservoir Attributes
Pump Attributes
Turbine Attributes
Valve Attributes
Pipe Attributes
• ID: Unique identifier assigned to this element.
• Label: Descriptive label for this element.
• Notes: Additional information about this element.
• GIS-IDs: List of associated IDs on the GIS/data-source side.
• Hyperlinks: Associate one or more web link, photo, word processing document,
or other file with this element.
• Material: The pipe's material type.
• Diameter: Value represents the internal diameter of a circular pipe or four times
the hydraulic radius for non-circular cross-sections.
• Manning's n: Mannings N
• Hazen-Williams C: Hazen Williams C Factor
• Darcy-Weisbach e: Darcy-Weisbach roughness height for the pipe wall.
• Has User Defined Length?: Allows the calculated scaled pipe lengths to be over-
ridden with a user defined value.
• Length (User Defined): A user defined pipe length that is not scaled from the
underlying map dimensions.
• Has Check Valve?: Defines whether the pipe contains a check valve that limits
flow to a single direction. Direction of flow is with the direction of the pipe.
• Specify Local Minor Loss?: If true then the minor coefficent for the element is
manually set, otherwise the value is derived from the minor loss library.
• Minor Losses: List of all associated minor losses associated with the element, and
can be used to generate the composite minor loss coefficient.
• Status (Initial): Choices: Open, Closed
• Specify Local Bulk Reaction Rate?: If true than a local Bulk Reaction Rate can be
specified for the pipe, otherwise the bulk reaction rate associated with selected
constituent will govern.
• Bulk Reaction Rate (Local): Coefficient defining how rapidly a constituent grows
or decays over time.
• Specify Local Wall Rate?: If true then a local wall reaction rate can be specified
for the selected pipe.
• Wall Reaction Rate (First Order): First order coefficient defining the rate at which
a substance reacts with the wall of a pipe. Is available if global constituent is set
to first order.
• Wall Reaction Rate (Zero Order): Zero order coefficient defining the rate at which
a substance reacts with the wall of a pipe. Is available if the global constituent is
set to zero order.
• Zone: Specify the zone for the element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Wave Speed: The speed with which a disturbance (i.e. pressure wave) moves
through the fluid in the pipe.
• Flow (Initial): A value corresponding to flow in the pipe at the beginning of the
transient simulation.
• Hydraulic Grade (Initial Start): The start node hydraulic grade elevation at the
beginning of the transient simulation.
• Hydraulic Grade (Initial Stop): The stop node hydraulic grade elevation at the
beginning of the transient simulation.
• Pressure (Start): Pressure at the start node of the pipe.
• Pressure (Stop): Pressure at the stop node of the pipe.
• Number of Breaks: The number of breaks that occurred on this pipe.
• Use Local Duration of Pipe Failure History?: Override the global duration of pipe
failure history with a local value.
• Duration of Pipe Failure History: The duration of pipe failure history for this pipe.
By default uses the global duration.
• Pipe Break Group: The pipe break group this pipe belongs to.
• Cost of Break: The cost of the break for this pipe.
• Flow: Total flow through the pipe. If the value is negative the flow is traveling
from the stop node to the start node, and vice versa if positivie.
• Velocity: Velocity of fluid through the pipe.
• Headloss Gradient: The headloss per unit length in the pipe.
• Headloss: Total headloss occuring in the pipe, including both friction and minor
headlosses and any minor losses from isolation valves.
• Pressure Loss Gradient: The pressure loss per unit length in the pipe.
• Pressure Loss: Total pressure loss occuring in the pipe, including both friction and
minor pressure losses and any minor losses from isolation valves.
• Flow (Absolute): Absolute value of flow through the pipe.
• Hydraulic Grade (Start): Hydraulic grade at start node of pipe.
• Hydraulic Grade (Stop): Hydraulic grade at stop node of pipe.
• Length: Displays either the scaled length or the user defined length depending on
which option is set for the pipe.
• Travel Time: The length of the pipe divided by the velocity of flow through pipe.
• Headloss (Minor): Headloss resulting from minor losses in the pipe only.
(Excludes isolation valve minor losses).
• Headloss (Friction): Headloss through pipe resulting from friction. (Includes any
isolation valve minor losses).
• Area Full: Cross-sectional area of pipe.
• Shear Stress: Shear stress at current time step.
• Length (3D): Length derived from x, y and z coordinates of bounding node.
• Status (Calculated): Choices: Open, Closed
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Concentration (Start): Concentration at start end of the pipe.
• Concentration (Stop): Concentration at the stop end of the pipe.
• Trace (Start) (Maximum): Maximum trace at the start end of the pipe over the
course of the simulation.
• Trace (Stop) (Minimum): Minimum trace at the stop end of the pipe over the
course of the simulation.
• Trace (Stop) (Maximum): Maximum trace at the stop end of the pipe over the
course of the simulation.
• Concentration (Start) (Minimum): Minimum concentration at the start end of the
pipe over the course of the simulation.
• Concentration (Start) (Maximum): Maximum concentration at the start end of the
pipe over the course of the simulation.
• Concentration (Stop) (Minimum): Minimum concentration at the stop end of the
pipe over the course of the simulation.
• Concentration (Stop) (Maximum): Maximum concentration at the stop end of the
pipe over the course of the simulation.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Minor Loss Coefficient (Unified): Displays the current minor loss value for the
element, depending on whether its derived or local.
• Head (Maximum, Transient): Maximum head at any point along the pipe over the
course of the transient simulation.
• Head (Minimum, Transient): Minimum head at any point along the pipe over the
course of the transient simulation.
• Pressure (Maximum, Transient): Maximum pressure at any point along the pipe
over the course of the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at any point along the pipe
over the course of the transient simulation.
• Flow (Maximum, Transient): Maximum flow at any point along the pipe over the
course of the transient simulation.
• Flow (Minimum, Transient): Minimum flow at any point along the pipe over the
course of the transient simulation.
• Velocity (Minimum, Transient): Minimum velocity at any point along the pipe
over the course of the transient simulation.
• Velocity (Maximum, Transient): Maximum velocity at any point along the pipe
over the course of the transient simulation.
• Wave Speed Adjustment Percent: The wave speed adjustment applied to this pipe
(relative to the original wave speed) so that a sharp pressure-wave front can travel
the length of one of the pipe's interior segments in one time step.
• Wave Speed Adjustment: The wave speed adjustment applied to this pipe so that a
sharp pressure-wave front can travel the length of one of the pipe's interior
segments in one time step.
• Length Adjustment Percent: The length adjustment applied to this pipe (relative to
the original length) so that a sharp pressure-wave front can travel the length of one
of the pipe's interior segments in one time step.
• Length Adjustment: The length adjustment applied to this pipe so that a sharp
pressure-wave front can travel the length of one of the pipe's interior segments in
one time step.
• Velocity (Initial, Transient): The flow velocity along the pipe at the beginning of
the transient simulation.
• Pressure (Maximum at Stop Node, Transient): Maximum pressure at the pipe's
stop node over the course of the transient simulation.
• Pressure (Maximum at Start Node, Transient): Maximum pressure at the pipe's
start node over the course of the transient simulation.
• Pressure (Minimum at Stop Node, Transient): Minimum pressure at the pipe's stop
node over the course of the transient simulation.
• Pressure (Minimum at Start Node, Transient): Minimum pressure at the pipe's
start node over the course of the transient simulation.
• Head (Maximum at Stop Node, Transient): Maximum head at the pipe's stop node
over the course of the transient simulation.
• Head (Maximum at Start Node, Transient): Maximum head at the pipe's start node
over the course of the transient simulation.
• Head (Minimum at Start Node, Transient): Minimum head at the pipe's start node
over the course of the transient simulation.
• Head (Minimum at Stop Node, Transient): Minimum head at the pipe's stop node
over the course of the transient simulation.
• Upsurge Ratio at Start Node: Ratio of maximum pressure at the pipe's start node
over the course of the transient simulation to the pressure at the beginning of the
transient simulation.
• Upsurge Ratio at Stop Node: Ratio of maximum pressure at the pipe's stop node
over the course of the transient simulation to the pressure at the beginning of the
transient simulation.
• Head (Initial at Start Node, Transient): The head at the pipe's start node at the
beginning of the transient simulation.
• Head (Initial at Stop Node, Transient): The head at the pipe's stop node at the
beginning of the transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume along the pipe over the
course of the transient simulation.
• Vapor Volume (Maximum, Transient): Maximum vapor volume along the pipe
over the course of the transient simulation.
• Velocity (Maximum Flushing): The maximum achieved pipe velocity across all
flushing events. If comparing against previous results (for other alternatives/
scenarios) this result is the maximum achieved velocity across all flushing events
for which results exist.
• Shear Stress (Maxmum Flushing): The maximum achieved shear stress across all
flushing events. If comparing against previous results (for other alternatives/
scenarios) this result is the maximum achieved shear stress across all flushing
events for which results exist.
• Flushing Event: The flushing event that resulted in the pipe maximum achieved
velocity. If comparing against previous results, this flushing event may be defined
in another alternative/scenario.
• Satisfies Flushing Target Velocity?: True if the maximum achieved velocity for
the pipe is greater than or equal to the target velocity.
• Satisfies Flushing Target Shear Stress?: True if the maximum achieved shear
stress for the pipe is greater than or equal to the target shear stress.
• Break Rate: The break rate for the pipe over time.
• Break Rate (Pipe Group): The break rate for the group the pipe belongs to.
• Projected Breaks: The projected number of breaks for this pipe.
• Annual Expected Cost: The annual expected cost of the breaks for this pipe.
• Present Worth: How much the pipe is currently worth based on the projection cost.
• Break Rate (Scaled): A weighted combination of the individual pipe break rate
and the pipe break rate of the group to which the pipe belongs.
Junction Attributes
• ID: Unique identifier assigned to this element.
• Label: Descriptive label for this element.
• Notes: Additional information about this element.
• GIS-IDs: List of associated IDs on the GIS/data-source side.
• Hyperlinks: Associate one or more web link, photo, word processing document,
or other file with this element.
• Specify Local Fire Flow Constraints?: If set to true then local fire flow constraints
which override the global values can be set for the current junction.
• Fire Flow (Needed): The flow rate required at the junction to meet fire flow
demands. This value will be added to or replace the junctions baseline demand,
depending on the default setting for applying fire flows as specified in the Fire
Flow Alternative dialog box.
• 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.
• Pressure (Residual Lower Limit): Minimum residual pressure to occur at the junc-
tion 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.
• Pressure (Zone Lower Limit): Minimum pressure to occur at all junction nodes
within the Zone you are testing. The model determines the available fire flow such
that the minimum zone pressures do not fall below this target pressure.
• Pressure (System Lower Limit): Minimum pressure allowed at any junction in the
entire system as a result of the fire flow withdrawal. If a node's pressure anywhere
in the system falls below this constraint while withdrawing fire flow, fire flow will
not be satisfied.
• Use Velocity Constraint: If set to true, then a velocity constraint can be specified
for the node.
• Velocity (Upper Limit): Maximum velocity allowed in the associated pipe set.
• Use Minimum System Pressure Constraints?: If set to true then the fire flow anal-
ysis by pressure throughout the entire system.
• Emitter Coefficient: Discharge coefficient for an emitter (sprinkler or nozzle)
placed at junction. Units are flow units at 1 unit of pressure drop (psi or m). Leave
blank or set to 0 if no emitter is present.
• Percent of Demand that is Pressure Dependent: The percent of demand that is
pressure dependent for the current junction. Overrides the global value that is set
in the pressure dependent demand alternative
• Pressure (Reference): Overrides the reference pressure defined in the pressure
dependent demand alternative for the current junction.
• Local Function: Defines the relationship between the pressure and the demand for
the current junction. This function will be used instead of the global function
defined in the pressure dependent demand alternative.
• Use Local Pressure Dependent Demand Data?: If set to true, then pressure depen-
dent demand parameters that override the global default values can be set for the
current junction.
• Vapor Volume (Initial): Volume of vapour at the node at the start of the transient
simulation. If volume is nonzero, then liquid is at the vapour pressure. Only appli-
cable at dead ends.
• Pressure Drop (Typical): Pressure drop across the orifice corresponding to the
initial/typical flow.
• Flow (Typical): If the initial flow is zero, then this is a typical (positive) flow.
• Demand Collection: A collection of baseline demands and associated temporal
patterns.
• Unit Demand Collection: A collection of unit demands, associated unit counts,
and temporal patterns.
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Is Constituent Source?: If true then the selected node can inject a set concentration
of the global constituent into the system.
• Pattern (Constituent): Specify the pattern which dictates how the injected constit-
uent concentration varies over time.
• Constituent Source Type: Choices: Concentration, Flow Paced Booster, Setpoint
Booster, Mass Booster
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Pressure: Calculated pressure at node.
• Pressure Head: Calculated pressure head at node.
• Demand Shortage: Difference between the target demand and the demand the
system can supply during the current time step.
• Demand (Cumulative): Total required demand volume at current node up to the
current time step.
• Supply (Cumulative): Total volume of flow that the system can actually supply up
to the current time step.
• Shortfall (Cumulative): The cumulative difference in volume between the target
demand and the flow supplied up to the current time step.
Hydrant Attributes
• ID: Unique identifier assigned to this element.
• Label: Descriptive label for this element.
• Notes: Additional information about this element.
• GIS-IDs: List of associated IDs on the GIS/data-source side.
• Hyperlinks: Associate one or more web link, photo, word processing document,
or other file with this element.
• Include Lateral Loss?: Specifies whether the lateral loss of the hydrant should be
accounted for or not. If so, you can specify the properties of the hydrant lateral.
• Lateral Diameter: The diameter of the hydrant lateral.
• Lateral Minor Loss Coefficient: The minor loss coefficient of the hydrant lateral.
• Lateral Length: The length of the hydrant lateral.
• Hydrant Status: Choices: Open, Closed
• Specify Local Fire Flow Constraints?: If set to true then local fire flow constraints
which override the global values can be set for the current junction.
• Fire Flow (Needed): The flow rate required at the junction to meet fire flow
demands. This value will be added to or replace the junctions baseline demand,
depending on the default setting for applying fire flows as specified in the Fire
Flow Alternative dialog box.
• 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.
• Pressure (Residual Lower Limit): Minimum residual pressure to occur at the junc-
tion 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.
• Pressure (Zone Lower Limit): Minimum pressure to occur at all junction nodes
within the Zone you are testing. The model determines the available fire flow such
that the minimum zone pressures do not fall below this target pressure.
• Pressure (System Lower Limit): Minimum pressure allowed at any junction in the
entire system as a result of the fire flow withdrawal. If a node's pressure anywhere
in the system falls below this constraint while withdrawing fire flow, fire flow will
not be satisfied.
• Use Velocity Constraint: If set to true, then a velocity constraint can be specified
for the node.
• Velocity (Upper Limit): Maximum velocity allowed in the associated pipe set.
• Use Minimum System Pressure Constraints?: If set to true then the fire flow anal-
ysis by pressure throughout the entire system.
• Emitter Coefficient: Discharge coefficient for an emitter (sprinkler or nozzle)
placed at junction. Units are flow units at 1 unit of pressure drop (psi or m). Leave
blank or set to 0 if no emitter is present.
• Percent of Demand that is Pressure Dependent: The percent of demand that is
pressure dependent for the current junction. Overrides the global value that is set
in the pressure dependent demand alternative
• Pressure (Reference): Overrides the reference pressure defined in the pressure
dependent demand alternative for the current junction.
• Local Function: Defines the relationship between the pressure and the demand for
the current junction. This function will be used instead of the global function
defined in the pressure dependent demand alternative.
• Use Local Pressure Dependent Demand Data?: If set to true, then pressure depen-
dent demand parameters that override the global default values can be set for the
current junction.
• Vapor Volume (Initial): Volume of vapour at the node at the start of the transient
simulation. If volume is nonzero, then liquid is at the vapour pressure. Only appli-
cable at dead ends.
• Pressure Drop (Typical): Pressure drop across the orifice corresponding to the
initial/typical flow.
• Flow (Typical): If the initial flow is zero, then this is a typical (positive) flow.
• Demand Collection: A collection of baseline demands and associated temporal
patterns.
• Unit Demand Collection: A collection of unit demands, associated unit counts,
and temporal patterns.
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Is Constituent Source?: If true then the selected node can inject a set concentration
of the global constituent into the system.
• Pattern (Constituent): Specify the pattern which dictates how the injected constit-
uent concentration varies over time.
• Constituent Source Type: Choices: Concentration, Flow Paced Booster, Setpoint
Booster, Mass Booster
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Pressure: Calculated pressure at node.
• Pressure Head: Calculated pressure head at node.
• Demand Shortage: Difference between the target demand and the demand the
system can supply during the current time step.
• Demand (Cumulative): Total required demand volume at current node up to the
current time step.
• Supply (Cumulative): Total volume of flow that the system can actually supply up
to the current time step.
• Shortfall (Cumulative): The cumulative difference in volume between the target
demand and the flow supplied up to the current time step.
• Supply Rate (Cumulative): The cumulative ratio of supply/demand up to the
current time step.
• Demand (Target): The demand required at the node. Calculated from the nodes
input data.
• Satisfies Fire Flow Constraints?: Set to true if hydraulic calculations met accuracy
constraints within the allotted number of trials.
• Fire Flow (Available): Amount of flow available for fire protection while main-
taining all fire flow pressure constraints.
• Pressure (Calculated Residual): Calculated pressure at the junction node during
the fire flow withdrawal.
• Pressure (Calculated Zone Lower Limit): Minimum calculated pressure of all
junctions in the same zone as this junction.
• Junction w/ Minimum Pressure (Zone): Label of the junction corresponding to the
minimum zone pressure.
• Pressure (Calculated System Lower Limit): Minimum calculated pressure of all
junctions in the system.
• Trace (Minimum): Minimum trace at node over the course of the simulation.
• Trace (Maximum): Maximum trace at node over the course of the simulation.
• Concentration (Minimum): Minimum concentration at node over the course of the
simulation.
• Concentration (Maximum): Minimum concentration at node over the course of
the simulation.
• Demand: Total calculated demand at selected element.
• Demand Adjusted Population: Population of area supplied by current node. This
value is derived from the unit demand loads applied to the collection and their
equivalent populations.
• Hydraulic Grade: Calculated hydraulic grade at node.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
Tank Attributes
• ID: Unique identifier assigned to this element.
• Label: Descriptive label for this element.
• Notes: Additional information about this element.
• GIS-IDs: List of associated IDs on the GIS/data-source side.
• Hyperlinks: Associate one or more web link, photo, word processing document,
or other file with this element.
• Include in Energy Calculation?: If set to true, cost generated by the element will
be included in the calculations, otherwise they will be excluded.
• Has Separate Inlet?: Specifies whether this tank has a separate inlet pipe (only
significant when modeling top fill tanks or throttling inlets).
• Inlet Pipe: Specifies which pipe will be used to model a top fill inlet, throttling
inlet, or both.
• Tank Fills From Top?: Set this to true if you wish to model a top fill inlet.
• Level (Inlet Invert): Specify the invert level for the inlet. If the upstream HGL is
lower than this level the tank will not fill.
• Inlet Valve Throttles?: Set this to true if there is a throttling valve (such as a float
valve) on the inlet.
• Discharge Coefficient (Fully Open): Specifies the discharge or flow coefficient of
the inlet valve in its fully open position.
• Level Inlet Valve Fully Closes: Specifies the level at which the throttling valve
becomes fully closed allowing no more flow to pass into the tank.
• Valve Characteristics: Specifies the valve characteristics definition to be used for
this valve. If the Valve Characteristic Curve is not defined then a default curve
will be used. The default curve will have (Relative Closure, Relative Area) points
of (0,1) and (1,0).
• Valve Type: Choices: Butterfly, Needle, Circular Gate, Globe, Ball, User Defined
• Elevation (Base): Elevation of the storage tank base used as a reference when
entering water surface elevations in the tank in terms of levels.
• Elevation (Maximum): Highest allowable water surface elevation or level. If the
tank fills above this point, it will be automatically shut off from the system.
• Level (Maximum): A reference level to compare the hydraulic grade in the tank.
Does not influence the calculations.
• Diameter: Diameter of tank with constant circular cross-section.
• Area (Average): Cross-Sectional area of tank for constant x-section tanks.
• Volume Full (Input): The full active volume of the variable area tank (i.e., the
volume at 100% depth), exclusive of any inactive volume.
• Operating Range Type: Choices: Elevation, Level
• Section: Choices: Circular, Non-Circular, Variable Area
• Cross-Section Curve: Defines a curve which specifies the relationship between
depth and volume.
• Specify Local Bulk Rate?: If true than a local Bulk Reaction Rate can be specified
for the tank, otherwise the bulk reaction rate associated with selected constituent
will govern.
• Bulk Reaction Rate (Local): Coefficient defining how rapidly a constituent grows
or decays over time.
• Tank Mixing Model: Choices: 2-Compartment, Completely Mixed, FIFO, LIFO
• Compartment 1: Percent of available storage that makes up the first compartment.
Inflow and outflow is assumed to take place in the first compartment.
• Compartment 2: Percent of available storage that makes up the second compart-
ment. The second compartment receives overflow from the first, and this overflow
is completely mixed.
• Elevation (Minimum): Lowest allowable water surface elevation or level. If the
tank drains below this point, it will be automatically shut off from the system.
• Volume (Inactive): The inactive volume of the tank. This volume is the inacces-
sible volume of the tank that is below the tank active operating range and can
become important in water quality simulations subject to the selected mixing
model.
• Level (Minimum): Lowest allowable water surface elevation or level. If the tank
drains below this point, it will be automatically shut off from the system.
• Elevation (High Alarm): The elevation above which the high level alarm is gener-
ated. Calculation notifications are produced to advise you of any alarm level
violations.
• Level (High Alarm): The level above which the high level alarm is generated.
Calculation notifications are produced to advise you of any alarm level violations.
• Elevation (Low Alarm): The elevation below which the low level alarm is gener-
ated. Calculation notifications are produced to advise you of any alarm level
violations.
• Level (Low Alarm): The level below which the low level alarm is generated.
Calculation notifications are produced to advise you of any alarm level violations.
• Use High Alarm?: Specifies whether or not to check high alarm levels during
Steady State/EPS calculation and generate messages if the levels are violated.
• Use Low Alarm?: Specifies whether or not to check low alarm levels during
Steady State/EPS calculation and generate messages if the levels are violated.
• Elevation (Initial): Starting water surface elevation/level in the tank.
• Level (Initial): Starting water surface elevation/level in the tank.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Elevation (Initial, Transient): Enter a value only if a check valve is installed (i.e.,
case of a one-way surge tank), or there is an initial inflow/outflow head loss. By
default, the intial water surface level is taken equal to the head in the adjacent
pipe.
• Report Period (Transient): Number of time steps between successive printouts of
operation. By default, this printout is suppressed.
• Demand Collection: A collection of baseline demands and associated temporal
patterns.
• Unit Demand Collection: A collection of unit demands, associated unit counts,
and temporal patterns.
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Is Constituent Source?: If true then the selected node can inject a set concentration
of the global constituent into the system.
• Pattern (Constituent): Specify the pattern which dictates how the injected constit-
uent concentration varies over time.
• Constituent Source Type: Choices: Concentration, Flow Paced Booster, Setpoint
Booster, Mass Booster
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Relative Closure (Calculated, Inlet Valve): The relative closure of the tank throt-
tling inlet valve at the current time step. (Only applies if the inlet throttles).
• Discharge Coefficient Setting (Calculated, Inlet Valve): The discharge coefficient
of the throttling inlet valve at the current time step. (Only applies if the inlet throt-
tles).
• Headloss (Inlet Valve): The headloss across the separate inlet valve at the current
time step.
• Hydraulic Grade (Inlet Valve, From): Calculated hydraulic grade at the entrance
of the separate inlet valve.
• Hydraulic Grade (Inlet Valve, To): Calculated hydraulic grade at the exit of the
separate inlet valve.
Reservoir Attributes
• ID: Unique identifier assigned to this element.
• Label: Descriptive label for this element.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
Pump Attributes
• ID: Unique identifier assigned to this element.
• Label: Descriptive label for this element.
• Notes: Additional information about this element.
• GIS-IDs: List of associated IDs on the GIS/data-source side.
• Hyperlinks: Associate one or more web link, photo, word processing document,
or other file with this element.
• Pump Definition: Select the pump definition to apply to the selected pump.
• Is Variable Speed Pump?: If set to true then the pump will act as a Variable Speed
Pump.
• Relative Speed Factor (Maximum): 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.
• VSP Type: Choices: Pattern Based, Fixed Head, Fixed Flow
• Flow (Target): The relative speed of a VSP of type "Fixed Flow" will be adjusted
to meet the Flow (Target).
• Pattern (Relative Speeds): Select the pattern by which the relative speed factor is
adjusted over the course of the simulation. (Note that patterns override settings
changes made by controls).
• Control Node: The node that the VSP checks to determine whether to increase,
maintain, or decrease its relative speed factor.
• Hydraulic Grade (Target): The Head that the VSP will attempt to maintain for the
Control Node.
• Control Node on Suction Side?: Specifies if the VSP has a suction side control
node.
• Relative Speed Factor (Initial): Determines the initial speed of the pump impeller
relative to the speed at which the pump curve is defined.
• Status (Initial): Choices: On, Off
• Include in Energy Calculation?: If set to true, cost generated by the element will
be included in the calculations, otherwise they will be excluded.
• Energy Pricing: Specify which energy pricing definition is to be used when calcu-
lating costs of the corresponding pump.
• Diameter (Pump Valve): Diameter refers to the valve at full opening, typically
equal to the internal diameter of the discharge flange.
• Flow (Nominal): Rated or duty flow for the pump, often at or near the best effi-
ciency point.
• Head (Nominal): Rated or duty head for the pump, often at or near the best effi-
ciency point.
• Relative Speed (Initial, Transient): The initial pump relative speed to be used in
the transient analysis.
• Torque (Nominal): Specifies the nominal torque that, when multiplied by the
Operating Rule's pattern multiplier values will result in the torque values used by
the engine.
• Pump Type (Transient): Choices: Shut Down After Time Delay, Constant Speed -
No Pump Curve, Constant Speed - Pump Curve, Variable Speed/Torque, Pump
Start - Variable Speed/Torque
• Time (Delay until Shut Down): Time at which power to pump motor is shut off.
By default, there is no time delay.
• Time (For Valve to Close): The time taken for the pump discharge control valve to
close after the transient simulation begins.
• Time (For Valve to Operate): Time to close check valve (or to open it if initial
flow is zero). If the check valve allows flow only in one direction, enter 0.
• Control Variable: Choices: Speed, Torque
• Status (Initial, Transient): Choices: On, Off
• Pump Valve Type: Choices: Check Valve, Control Valve
• Operating Rule: Specifies the operation of the valve during a transient simulation.
• Report Period (Transient): Number of time steps between successive printouts of
operation. By default, this printout is suppressed.
• Pump Station: The Pump Station to which this Pump belongs.
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Energy Used (Incremental): Total energy used during current time step.
• Energy Used (Cumulative): Total amount of energy used up to the current time
step.
• Energy Price: Cost per unit of energy.
• Energy Cost (Incremental): The energy cost during the current time step.
• Energy Cost (Cumulative): The total energy cost up to the current time step.
• Cost per Unit Volume: Cost per unit of volume pumped for current time step.
• Relative Speed Factor (Energy Cost Engine): Relative speed of pump at current
time step.
• Motor Efficiency: The Motor Efficiency value is representative of the ability of
the motor to transform electrical energy to rotary mechanical energy.
• Time of Use: The amount of time the pump is turned on over the course of the
simulation.
• Utilization: Percentage of total time during the EPS that the pump was On.
• Volume Pumped (Total): The total volume of fluid pumped during the simulation.
• Water Power (Average): The average amount of energy transferred to the water by
the pump over the course of the simulation.
• Pump Efficiency (Average): The average pump efficiency during the simulation.
• Wire to Water Efficiency (Average): The average ratio of the Water Power to the
Wire Power.
• Wire Power (Average): The average amount of energy delivered to the pump
motor during the simulation.
• Energy Usage (Total): The total energy used during the simulation.
• Energy Use Cost (Total): Total cost of energy used during simulation.
• Energy Usage (Daily): Amount of energy used during a 24-hour period.
• Energy Use Cost (Daily): The cost of the energy used during a 24-hour period,
determined by the calculated energy usage and the energy pricing pattern.
• Cost per Unit Volume (Summary): Cost per unit of volume pumped over course of
simulation.
• Head (Shutoff): Displays the shutoff head of the referenced pump definition if
applicable.
• Head (Design): Displays the design head of the referenced pump definition if
applicable.
• Flow (Design): Displays the design flow of the referenced pump definition if
applicable.
• Head (Maximum Operating): Displays the maximum operating head of the refer-
enced pump definition if applicable.
• Flow (Maximum Operating): Displays the maximum operating flow of the refer-
enced pump definition if applicable.
• Flow (Maximum Extended): Displays the maximum extended flow of the refer-
enced pump definition if applicable.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Efficiency Pump Station: Water power out from the station divided by the motor
brake power in at the current time step, expressed as a percentage.
• Wire to Water Efficiency: Water power from the station divided by the wire power
in to the station at the current time step, expressed as a percentage.
• Wire Power: The amount of power delivered to the pump motors at the pump
station at the current time step.
• Energy Used (Incremental): Total energy used during the current time step.
• Energy Used (Cumulative): Total amount of energy used up to the current time
step.
• Energy Price: Cost per unit of energy at the current time step.
• Energy Cost (Incremental): The cost of energy used during the current time step.
• Energy Cost (Cumulative): The total cost of energy used up to the current time
step.
• Cost per Unit Volume: Cost per unit of volume pumped for the current time step.
• Control Node on Suction Side?: Specifies if the VSPB has a suction side control
node.
• Target Flow: The relative speed of the lead pump will be adjusted to meet the
Flow (Target). (Lag pumps are not used for constant flow VSPBs).
• VSBP Type: Choices: Fixed Head, Fixed Flow
• Number of Running Lag Pumps (Initial): The initial number of running lag pumps
for the transient simulation.
• Relative Speed Factor (Initial): Determines the initial speed of the pump impeller
relative to the speed at which the pump curve is defined.
• Status (Initial): Choices: On, Off
• Include in Energy Calculation?: If set to true, cost generated by the element will
be included in the calculations, otherwise they will be excluded.
• Energy Pricing: Specify which energy pricing definition is to be used when calcu-
lating costs of the corresponding pump.
• Diameter (Pump Valve): Diameter refers to the valve at full opening, typically
equal to the internal diameter of the discharge flange.
• Flow (Nominal): Rated or duty flow for the pump, often at or near the best effi-
ciency point.
• Head (Nominal): Rated or duty head for the pump, often at or near the best effi-
ciency point.
• Relative Speed (Initial, Transient): The initial pump relative speed to be used in
the transient analysis.
• Torque (Nominal): Specifies the nominal torque that, when multiplied by the
Operating Rule's pattern multiplier values will result in the torque values used by
the engine.
• Pump Type (Transient): Choices: Shut Down After Time Delay, Constant Speed -
No Pump Curve, Constant Speed - Pump Curve, Variable Speed/Torque, Pump
Start - Variable Speed/Torque
• Time (Delay until Shut Down): Time at which power to pump motor is shut off.
By default, there is no time delay.
• Time (For Valve to Close): The time taken for the pump discharge control valve to
close after the transient simulation begins.
• Time (For Valve to Operate): Time to close check valve (or to open it if initial
flow is zero). If the check valve allows flow only in one direction, enter 0.
• Control Variable: Choices: Speed, Torque
• Status (Initial, Transient): Choices: On, Off
• Pump Valve Type: Choices: Check Valve, Control Valve
• Operating Rule: Specifies the operation of the valve during a transient simulation.
• Wire Power (Average): The average amount of energy delivered to the pump
motor during the simulation.
• Energy Usage (Total): The total energy used during the simulation.
• Energy Use Cost (Total): Total cost of energy used during simulation.
• Energy Usage (Daily): Amount of energy used during a 24-hour period.
• Energy Use Cost (Daily): The cost of the energy used during a 24-hour period,
determined by the calculated energy usage and the energy pricing pattern.
• Cost per Unit Volume (Summary): Cost per unit of volume pumped over course of
simulation.
• Head (Shutoff): Displays the shutoff head of the referenced pump definition if
applicable.
• Head (Design): Displays the design head of the referenced pump definition if
applicable.
• Flow (Design): Displays the design flow of the referenced pump definition if
applicable.
• Head (Maximum Operating): Displays the maximum operating head of the refer-
enced pump definition if applicable.
• Flow (Maximum Operating): Displays the maximum operating flow of the refer-
enced pump definition if applicable.
• Flow (Maximum Extended): Displays the maximum extended flow of the refer-
enced pump definition if applicable.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
Turbine Attributes
• ID: Unique identifier assigned to this element.
• Label: Descriptive label for this element.
• Notes: Additional information about this element.
• GIS-IDs: List of associated IDs on the GIS/data-source side.
• Hyperlinks: Associate one or more web link, photo, word processing document,
or other file with this element.
• Time (Delay until Valve Operates): The time delay prior to operating the spherical
valve.
• Time For Valve To Operate: Time required to operate the spherical valve. By
default, it is set equal to one time step.
• Diameter (Spherical Valve): The diameter of the spherical valve.
• Efficiency: The efficiency of the turbine. A typical value is 90.
• Moment of Inertia: The (weight) moment of inertia accounts for the turbine,
generator, and entrained water.
• Speed (Rotational): Also known as synchronous speed for a turbine. The power it
generates depends on it.
• Pattern (Gate Opening): Operating Rule describes the percent wicket gate opening
vs time.
• Specific Speed: This represents the type of turbine. HAMMER ships with 4-quad-
rant curves for: 30, 45, or 60 (US units), 115, 170, or 230 (metric units). You can
add your own curves to this library.
• Flow (Rated): Nominal or rated flow of the turbine.
• Head (Rated): Nominal or rated head of the turbine.
• Operating Case: Choices: Instant Load Rejection, Load Rejection, Load Accep-
tance, Load Variation
• Turbine Curve: Turbine Curve is only required for a steady run. For a transient
run, HAMMER uses a 4-quadrant curve based on Specific Speed, Rated Head and
Rated Flow.
• Electrical Torque Curve: Defines the time vs torque response for the turbine. Only
applies to the Load Rejection operating case.
• Report Period (Transient): Number of time steps between successive printouts of
operation. By default, this printout is suppressed.
• Status (Initial): Choices: Open, Closed
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Flow: Total flow through the turbine.
• Headloss: Change in head across turbine.
• Hydraulic Grade (From): Calculated hydraulic grade at the entrance of the
turbine.
• Hydraulic Grade (To): Calculated hydraulic grade at the exit of the turbine.
• Pressure (From): Calculated pressure at the entrance of the turbine.
• Pressure (To): Calculated pressure at the exit to the turbine.
• Flow (Absolute): Magnitude of flow through the selected turbine.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
Valve Attributes
Pressure Reducing Valve (PRV) Attributes
• Valve Type: Specify the type of valve. Choices are Butterfly, Needle, Circular
Gate, Globe, Ball, and User Defined.
• Modulate Valve During Transient?: If True, the valve closure will be automati-
cally adjusted to maintain constant valve outlet pressure.
• Opening Rate Coefficient: A constant that relates PRV opening rate during a tran-
sient simulation to the difference between the PRV pressure setting and the
computed PRV outlet pressure. Units are change in the valve relative closure per
second per unit of pressure difference.
• Closing Rate Coefficient: A constant that relates PRV closure rate during a tran-
sient simulation to the difference between the PRV pressure setting and the
computed PRV outlet pressure. Units are change in the valve relative closure per
second per unit of pressure difference.
• Operating Rule: Specifies the operation of the valve during a transient simulation.
• Status (Initial, Transient): Choices: Active, Inactive, Closed
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Hydraulic Grade Setting (Calculated): Hydraulic Grade Setting during current
time step.
• Pressure Setting (Calculated): Pressure setting for valve at current time step.
• Flow: Total flow through the valve.
• Velocity: Velocity of flow traveling through the valve.
• Headloss: Change in head across the valve.
• Pressure Loss: Change in pressure across the valve.
• Hydraulic Grade (From): Calculated hydraulic grade at the entrance of the valve.
• Hydraulic Grade (To): Calculated hydraulic grade at the exit of the valve.
• Pressure (From): Calculated pressure at the entrance of the valve.
• Pressure (To): Calculated pressure at the exit to the valve.
• Flow (Absolute): Magnitude of flow through the selected valve.
• Status (Calculated): Choices: Active, Inactive, Closed
• Minor Loss Coefficient (Unified): Displays the current minor loss value for the
element, depending on whether its derived or local.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Hydraulic Grade Setting (Calculated): Hydraulic Grade Setting during current
time step.
• Pressure Setting (Calculated): Pressure setting for valve at current time step.
• Flow: Total flow through the valve.
• Velocity: Velocity of flow traveling through the valve.
• Headloss: Change in head across the valve.
• Pressure Loss: Change in pressure across the valve.
• Hydraulic Grade (From): Calculated hydraulic grade at the entrance of the valve.
• Hydraulic Grade (To): Calculated hydraulic grade at the exit of the valve.
• Pressure (From): Calculated pressure at the entrance of the valve.
• Pressure (To): Calculated pressure at the exit to the valve.
• Flow (Absolute): Magnitude of flow through the selected valve.
• Status (Calculated): Choices: Active, Inactive, Closed
• Minor Loss Coefficient (Unified): Displays the current minor loss value for the
element, depending on whether its derived or local.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Valve Coefficient Type: Specifies which type of coefficient to enter for the control
valve. If entering discharge coefficient, the value is internally converted into an
equivalent headloss coefficient (minor loss).
• Discharge Coefficient (Fully Open): The discharge coefficient of the valve when
fully open. Used in lieu of minor loss for valves of this coefficient type.
• Specify Local Minor Loss?: If True, the minor coefficient for the element is
manually set in the Minor Loss Coefficient (Local) field; otherwise the value is
derived from the minor loss library.
• Minor Loss Coefficient (Local): User-input minor loss coefficient. You can either
type the value directly in this field or select the value from the minor loss library.
The minor loss is applied to the valve when it is fully open (inactive). Note that
minor losses do not apply to the following valve types: General Purpose Valve and
Valve With Linear Area Change. These two valve types do not support a (fully)
open status and always apply the head/flow relationship defined by their headloss
curve and discharge coefficient, respectively.
• Status (Initial, Transient): Choices: Active, Inactive, Closed
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Hydraulic Grade Setting (Calculated): Hydraulic Grade Setting during current
time step.
• Pressure Setting (Calculated): Pressure setting for valve at current time step.
• Flow: Total flow through the valve.
• Velocity: Velocity of flow traveling through the valve.
• Headloss: Change in head across the valve.
• Pressure Loss: Change in pressure across the valve.
• Hydraulic Grade (From): Calculated hydraulic grade at the entrance of the valve.
• Hydraulic Grade (To): Calculated hydraulic grade at the exit of the valve.
• Pressure (From): Calculated pressure at the entrance of the valve.
• Pressure (To): Calculated pressure at the exit to the valve.
• Flow (Absolute): Magnitude of flow through the selected valve.
• Hyperlinks: Associate one or more web link, photo, word processing document,
or other file with this element.
• Flow Setting (Initial): Initial flow setting for the flow control valve.
• Discharge Coefficient (Transient): Discharge coefficient, Cv, is defined as: Flow /
(Pressure Drop) ^ 0.5.
• Operating Rule: Specifies the operation of the valve during a transient simulation.
• Flow (Initial, Transient): The initial flow to be used in the transient analysis.
• Pattern (Valve Settings): Allows you to apply a pattern for changes to the valve's
setting over time for extended period simulations. (Note that patterns override
settings changes made by controls).
• Valve Characteristics: Specifies the valve characteristics definition to be used for
this valve. If the Valve Characteristic Curve is not defined then a default curve
will be used. The default curve will have (Relative Closure, Relative Area) points
of (0,1) and (1,0).
• Valve Type: Choices: Butterfly, Needle, Circular Gate, Globe, Ball, User Defined
• Status (Initial): Choices: Active, Inactive, Closed
• Diameter (Valve): Inside diameter of the valve. Used to calculate the velocity
through the valve and a corresponding minor loss when a minor loss coefficient is
entered.
• Valve Coefficient Type: Specifies which type of coefficient to enter for the control
valve. If entering discharge coefficient, the value is internally converted into an
equivalent headloss coefficient (minor loss).
• Discharge Coefficient (Fully Open): The discharge coefficient of the valve when
fully open. Used in lieu of minor loss for valves of this coefficient type.
• Specify Local Minor Loss?: If True, the minor coefficient for the element is
manually set in the Minor Loss Coefficient (Local) field; otherwise the value is
derived from the minor loss library.
• Minor Loss Coefficient (Local): User-input minor loss coefficient. You can either
type the value directly in this field or select the value from the minor loss library.
The minor loss is applied to the valve when it is fully open (inactive). Note that
minor losses do not apply to the following valve types: General Purpose Valve and
Valve With Linear Area Change. These two valve types do not support a (fully)
open status and always apply the head/flow relationship defined by their headloss
curve and discharge coefficient, respectively.
• Status (Initial, Transient): Choices: Active, Inactive, Closed
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Flow Setting (Calculated): Flow setting at selected valve for current time step.
• Flow: Total flow through the valve.
• Velocity: Velocity of flow traveling through the valve.
• Headloss: Change in head across the valve.
• Pressure Loss: Change in pressure across the valve.
• Hydraulic Grade (From): Calculated hydraulic grade at the entrance of the valve.
• Hydraulic Grade (To): Calculated hydraulic grade at the exit of the valve.
• Pressure (From): Calculated pressure at the entrance of the valve.
• Pressure (To): Calculated pressure at the exit to the valve.
• Flow (Absolute): Magnitude of flow through the selected valve.
• Status (Calculated): Choices: Active, Inactive, Closed
• Minor Loss Coefficient (Unified): Displays the current minor loss value for the
element, depending on whether its derived or local.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Discharge Coefficient (Fully Open): The discharge coefficient of the valve when
fully open. Used in lieu of minor loss for valves of this coefficient type.
• Relative Closure (Initial Transient): The initial relative closure of the valve at the
start of the transient calculation.
• Valve Characteristics: Specifies the valve characteristics definition to be used for
this valve. If the Valve Characteristic Curve is not defined then a default curve
will be used. The default curve will have (Relative Closure, Relative Area) points
of (0,1) and (1,0).
• Valve Type: Choices: Butterfly, Needle, Circular Gate, Globe, Ball, User Defined
• Status (Initial): Choices: Active, Inactive, Closed
• Specify Local Minor Loss?: If true then the minor coefficent for the element is
manually set, otherwise the value is derived from the minor loss library.
• Minor Losses: List of all associated minor losses associated with the element, and
can be used to generate the composite minor loss coefficient.
• Diameter (Valve): Inside diameter of the valve. Used to calculate the velocity
through the valve and a corresponding minor loss when a minor loss coefficient is
entered.
• Status (Initial, Transient): Choices: Active, Inactive, Closed
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Headloss Coefficient Setting (Calculated): TCV headloss coefficient setting at the
current time step.
• Discharge Coefficient Setting (Calculated): TCV discharge coefficient setting at
the current time step.
• Relative Closure (Calculated): TCV relative closure at the current time step. (A
relative closure of 0%% means the valve is 0%% closed, or 100%% open.
Conversely, a relative closure of 100%% means the valve is 100%% closed, or
0%% open).
• Flow: Total flow through the valve.
• Velocity: Velocity of flow traveling through the valve.
• Headloss: Change in head across the valve.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Flow: Total flow through the orifice.
• Headloss: Change in head across orifice.
• Hydraulic Grade (From): Calculated hydraulic grade at the entrance of the orifice.
• Hydraulic Grade (To): Calculated hydraulic grade at the exit of the orifice.
• Pressure (From): Calculated pressure at the entrance of the orifice.
• Pressure (To): Calculated pressure at the exit to the orifice.
• Flow (Absolute): Magnitude of flow through the selected orifice.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Is Closed?: True if the current element is closed during the current time step.
• Is Open?: Set to true if open during the current time step.
• Is Initially Closed?: If true, the initial condition for the control element is "Closed"
or "Off."
• Controlled?: Is true if a control action in the current control set references the
selected element.
• Cannot Deliver Flow or Head?: If true then the cannot deliver head or cannot
deliver flow warning was generated for the element for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Discharge (Calculated): Calculated discharge from the node.
• Pressure: Calculated pressure at node.
• Pressure Head: Calculated pressure head at node.
• Hydraulic Grade: Calculated hydraulic grade at node.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Diameter (Orifice): Specifies the diameter of the tank inlet orifice. Only used by
the transient engine.
• Ratio of Losses: Ratio of the head losses for equal inflows to / outflows from the
tank via the orifice. Default value is 2.5.
• Headloss Coefficient: Applies to flow from the tank to the pipe/riser. This must be
a positive number.
• Surge Tank Type: Choices: Simple, Differential
• Has Check Valve?: Specify whether there is a check valve installed on the tank
inlet/outlet. For the case of steady state and EPS simulations, a surge tank with a
check valve is simulated as a pressure junction.
• Diameter (Internal Riser): This is the upper riser.
• Elevation (Top of Internal Riser): The top of the upper riser.
• Elevation (Junction of Risers): Elevation at which the external and internal risers
meet.
• Diameter (External Riser): This is the lower riser.
• Elevation (Orifice from Internal Riser to Tank): Elevation of the internal riser
orifice.
• Elevation (Top of Tank Base): The elevation of the top of the hemisherical base of
the tank. For a cylindrical tank, this is equal to the pipe elevation.
• Weir Length: The width of the weir.
• Treat as Junction?: Specifies whether or not to treat the surge tank as a junction in
steady state and EPS simulations.
• Elevation (Base): Elevation of the storage tank base used as a reference when
entering water surface elevations in the tank in terms of levels.
• Elevation (Maximum): Highest allowable water surface elevation or level. If the
tank fills above this point, it will be automatically shut off from the system.
• Level (Maximum): A reference level to compare the hydraulic grade in the tank.
Does not influence the calculations.
• Diameter: Diameter of tank with constant circular cross-section.
• Area (Average): Cross-Sectional area of tank for constant x-section tanks.
• Volume Full (Input): full active volume of the variable area tank (i.e., the volume
at 100% depth), exclusive of any inactive volume.
• Operating Range Type: Choices: Elevation, Level
• Section: Choices: Circular, Non-Circular, Variable Area
• Cross-Section Curve: Defines a curve which specifies the relationship between
depth and volume.
• Specify Local Bulk Rate?: If true than a local Bulk Reaction Rate can be specified
for the tank, otherwise the bulk reaction rate associated with selected constituent
will govern.
• Bulk Reaction Rate (Local): Coefficient defining how rapidly a constituent grows
or decays over time.
• Tank Mixing Model: Choices: 2-Compartment, Completely Mixed, FIFO, LIFO
• Compartment 1: Percent of available storage that makes up the first compartment.
Inflow and outflow is assumed to take place in the first compartment.
• Compartment 2: Percent of available storage that makes up the second compart-
ment. The second compartment receives overflow from the first, and this overflow
is completely mixed.
• Elevation (Minimum): Lowest allowable water surface elevation or level. If the
tank drains below this point, it will be automatically shut off from the system.
• Volume (Inactive): The inactive volume of the tank. This volume is the inacces-
sible volume of the tank that is below the tank active operating range and can
become important in water quality simulations subject to the selected mixing
model.
• Level (Minimum): Lowest allowable water surface elevation or level. If the tank
drains below this point, it will be automatically shut off from the system.
• Elevation (High Alarm): The elevation above which the high level alarm is gener-
ated. Calculation notifications are produced to advise you of any alarm level
violations.
• Level (High Alarm): The level above which the high level alarm is generated.
Calculation notifications are produced to advise you of any alarm level violations.
• Elevation (Low Alarm): The elevation below which the low level alarm is gener-
ated. Calculation notifications are produced to advise you of any alarm level
violations.
• Level (Low Alarm): The level below which the low level alarm is generated.
Calculation notifications are produced to advise you of any alarm level violations.
• Use High Alarm?: Specifies whether or not to check high alarm levels during
Steady State/EPS calculation and generate messages if the levels are violated.
• Use Low Alarm?: Specifies whether or not to check low alarm levels during
Steady State/EPS calculation and generate messages if the levels are violated.
• Elevation (Initial): Starting water surface elevation/level in the tank.
• Level (Initial): Starting water surface elevation/level in the tank.
• Installation Year: Specify the install year of the element. It does not affect the
calculations.
• Elevation (Initial, Transient): Enter a value only if a check valve is installed (i.e.,
case of a one-way surge tank), or there is an initial inflow/outflow head loss. By
default, the intial water surface level is taken equal to the head in the adjacent
pipe.
• Report Period (Transient): Number of time steps between successive printouts of
operation. By default, this printout is suppressed.
• Demand Collection: A collection of baseline demands and associated temporal
patterns.
• Unit Demand Collection: A collection of unit demands, associated unit counts,
and temporal patterns.
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Is Constituent Source?: If true then the selected node can inject a set concentration
of the global constituent into the system.
• Pattern (Constituent): Specify the pattern which dictates how the injected constit-
uent concentration varies over time.
• Constituent Source Type: Choices: Concentration, Flow Paced Booster, Setpoint
Booster, Mass Booster
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Volume Full (Calculated): The full active volume of the tank between the limits of
the defined operating range, exclusive of any inactive volume.
• Level (Calculated): Difference between calcuted hydraulic grade and the base
elevation of the tank.
• Volume (Calculated): Total volume of fluid in tank including the inactive volume.
• Percent Full: The ratio of tank active volume to the calculated tank full active
volume. Active volume is the tank volume within the operating range and is
exclusive of inactive volume.
• Status (Calculated): Choices: Empty, Emptying, Filling, Full, Stagnant
• Flow (Out net): Net flow out of the element.
• Flow (In net): Net flow into the element.
• Ratio of Losses: For same flow magnitude, ratio of inflow head loss to outflow
loss. Default value is 2.5.
• Gas Law Exponent: Refers to the exponent to be used in the gas law equation. The
usual range of this exponent is 1.0 to 1.4.
• Pressure (Gas-Preset): If there is a bladder, this is the pressure of the gas prior to
exposing the tank to pipeline pressure; otherwise, this should be omitted as it is
ignored.
• Liquid Elevation (Mean): The mean elevation of the liquid at the gas-liquid inter-
face. (Liquid level referenced from a datum of 0).
• Elevation Type: Choices: Fixed, Mean Elevation, Variable Elevation
• Variable Elevation Curve: Defines the gas vessel chamber geometry as a function
of liquid elevation versus equivalent diameter.
• Minor Loss Coefficient (Outflow): Dimensionless quantity, typical value = 2.5.
This property is used only for transient analysis, to restrict the flow out of the
hydropneumatic tank.
• Elevation (Base): Elevation of the storage tank base used as a reference when
entering water surface elevations in the tank in terms of levels.
• Treat as Junction? - Selects whether or not the hydropneumatic tank is treated as a
junction in steady state and EPS simulations. Note that if you wish to use the
steady state/EPS results as input for a HAMMER transient analysis and you set
this field to True, you will need to manually enter the Volume of Gas (Initial) for
the tank for HAMMER
• Volume of Gas (Initial) - The initial volume of gas in the pressure vessel at the
start of the simulation. During the transient event, the gas volume expands or
compresses, depending on the transient pressures in the system. This value is not
used in steady state or EPS analyses.
• Operating Range Type: Choices: Elevation, Level
• Tank Calculation Model: Choices: Constant Area Approximation, Gas Law
Model
• Volume (Effective): The effective volume of the constrant area approximation
hydropneumatic tank.
• HGL On: The lowest operational hydraulic grade desired for the hydropneumatic
tank. You should define a simple or logical control that uses this hydraulic grade
as the minimum operational value. For example, define a control to turn on a
pump.
• HGL Off: The highest operational hydraulic grade desired for the hydropneumatic
tank. You should define a simple or logical control that uses this hydraulic grade
as the maximum operational value. For example, define a control to turn off a
pump.
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Gas Volume (Calculated): The calculated volume of gas in the hydropneumatic
tank.
• Pressure (Calculated): The calculated pressure in the hydropenumatic tank.
• Liquid Volume (Calculated): The calculated liquid volume in the hydropneumatic
tank.
• Percent Full: The ratio of the fluid volume in the tank to the calculated full volume
of the tank.
• Flow (Out net): Net flow out of the element.
• Flow (In net): Net flow into the element.
• Demand Adjusted Population: Population of area supplied by current node. This
value is derived from the unit demand loads applied to the collection and their
equivalent populations.
• Hydraulic Grade: Calculated hydraulic grade at node.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Transition Volume: The local volume of air at the air valve below which the tran-
sient solver switches from using the large air orifice to the small air orifice (in
order to minimize transients). This volume often corresponds to the volume of the
body of the air valve.
• Air Flow Curve (Small Air Outflow Orifice): Curve that defines discharge of air
when the air volume is less than the transition volume (TV), or the air pressure is
greater than the transition pressure (TP).
• Air Flow Curve (Large Air Outflow Orifice): Curve that defines discharge of air
when the air volume is greater than or equal to the transition volume (TV), or the
air pressure is less than or equal to the transition pressure (TP).
• Air Valve Type: Choices: Slow Closing, Double Acting, Triple Acting, Vacuum
Breaker
• Trigger to Switch Outflow Orifice Size: Select whether the transient solver
switches from the large air outflow orifice to the small air outflow orifice based on
Transition Volume or Transition Pressure.
• Report Period (Transient): Number of time steps between successive printouts of
operation. By default, this printout is suppressed.
• Treat Air Valve as Junction?: Specifies whether or not to treat the air-valve as a
junction element in steady state and EPS simulations. If false, the valve may allow
part full flow subject to the prevailing hydraulic conditions.
• Air Flow Curve (Air Inflow Orifice): Curve that defines orifice behavior for the
injection of air into the pipeline.
• Air Flow Curve (Air Outflow Orifice): Curve that defines discharge of air when
the volume is greater than or equal to the transition volume (TV).
• Air Flow Calculation Method: Choices: Orifice Diameter, Air Flow Curve
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Is Constituent Source?: If true then the selected node can inject a set concentration
of the global constituent into the system.
• Pattern (Constituent): Specify the pattern which dictates how the injected constit-
uent concentration varies over time.
• Constituent Source Type: Choices: Concentration, Flow Paced Booster, Setpoint
Booster, Mass Booster
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Pressure: Calculated pressure at node.
• Pressure Head: Calculated pressure head at node.
• Hydraulic Grade: Calculated hydraulic grade at node.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Time for SAV to Open: Time for the SAV to open fully after being triggered.
• Time SAV Stays Fully Open: Time that SAV remains fully open (i.e., time
between the end of the opening phase and the start of the closing phase).
• Time for SAV to Close: Time for the SAV to close fully, measured from the time
that it was completely open.
• Discharge Coefficient (when SAV Fully Open): Discharge coefficient, Cv, is
defined as: Flow / (Pressure Drop) ^ 0.5.
• Threshold Pressure (SRV): Pressure above which the SRV opens.
• Diameter (SRV): The diameter of the SRV.
• Spring Constant (SRV): Change in restoring force of the return spring per unit lift
off seat. A possible value is 150 lb/in. (26.27 N/mm).
• SAV / SRV Type: Choices: Surge Anticipator Valve, Surge Relief Valve, Surge
Anticipator & Relief Valve
• Valve Type: Choices: Needle, Circular Gate, Globe, Ball, Butterfly
• SAV Closure Trigger: Choices: Time, Threshold Pressure
• Elevation: Elevation at centroid of junctions, valves, and pumps; the ground
elevation at tanks; the hydraulic grade at reservoirs.
• Trace (Initial): Specify the initial trace amount at the current location.
• Zone: Specify the zone for the element.
• Concentration (Initial): Specify the initial concentration for the global concentra-
tion at the selected element.
• Is Constituent Source?: If true then the selected node can inject a set concentration
of the global constituent into the system.
• Pattern (Constituent): Specify the pattern which dictates how the injected constit-
uent concentration varies over time.
• Constituent Source Type: Choices: Concentration, Flow Paced Booster, Setpoint
Booster, Mass Booster
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Pressure: Calculated pressure at node.
• Pressure Head: Calculated pressure head at node.
• Hydraulic Grade: Calculated hydraulic grade at node.
• Age (Calculated): Age at selected element for current time step.
• Is Constituent Source?: If true then the selected node can inject a set concentration
of the global constituent into the system.
• Pattern (Constituent): Specify the pattern which dictates how the injected constit-
uent concentration varies over time.
• Constituent Source Type: Choices: Concentration, Flow Paced Booster, Setpoint
Booster, Mass Booster
• Concentration (Base): This data field allows you to specify the corresponding
constituent concentration at this node over time.
• Mass Rate (Base): This data field allows you to specify the corresponding constit-
uent mass rate at this node over time.
• Age (Initial): Specify the initial age of the fluid at the selected element.
• Pressure: Calculated pressure at node.
• Pressure Head: Calculated pressure head at node.
• Hydraulic Grade: Calculated hydraulic grade at node.
• Age (Calculated): Age at selected element for current time step.
• Trace (Calculated): Trace at selected element for current time step.
• Concentration (Calculated): Concentration at selected element for current time
step.
• Has Calculation Messages Now?: If true then the current element has associated
calculation warning messages for the current time step.
• Head (Maximum, Transient): Maximum head at node over the course of the tran-
sient simulation.
• Head (Minimum, Transient): Minimum head at node over the course of the tran-
sient simulation.
• Pressure (Maximum, Transient): Maximum pressure at node over the course of
the transient simulation.
• Pressure (Minimum, Transient): Minimum pressure at node over the course of the
transient simulation.
• Air Volume (Maximum, Transient): Maximum air volume at node over the course
of the transient simulation. Not applicable to Reservoirs and Rating curves.
• Vapor Volume (Maximum, Transient): Maximum vapor volume at node over the
course of the transient simulation. Not applicable to Reservoirs and Rating curves.
Bentley Services
BE Magazine
BE Newsletter
Client Server
BE Careers Network
docs.bentley.com
BE Magazine
BE NewsletterClient Server
BE Careers Network
docs.bentley.com
docs.bentley.com is your repository of product help files and books. You can browse
through online help for specific information or download it to ensure you have the
most recent help available on your computer. Also through this site, many product
books are available as free, downloadable PDFs, or can be purchased pre-bound with
a credit card.
Bentley Services
There are a variety of Bentley Services, including Bentley SELECTR priority services,
one-on-one consulting, training programs, MicroStation resellers, as well as your local
technical support provider.
U.S./Canada/Latin [email protected]
America
Asia/Pacific [email protected]
Bentley SELECTR
Bentley Institute
To access the Bentley Institute home page directly from Bentley HAMMER, choose
Help > Bentley Institute Training, or visit http://www.bentley.com/Training/.
A current list of discussion groups as well as helpful information regarding them can
be found at http://discussion.bentley.com/help/.
BE Magazine
The BE Magazine is a quarterly e-magazine focused on the Bentley community of
users. It serves as a showcase for Bentley users and their work improving the world's
infrastructure.
Each issue is an open forum for the world community of architecture, engineering,
and construction professionals and owner-operators. Visit http://www.be.org and click
the BE Magazine link to subscribe or to view the magazine online.
BE Newsletter
The BE Newsletter is an email newsletter covering industry news, Bentley updates and
events, technical tips, and more. Visit http://www.be.org and click the BE Magazine
link to subscribe or to view the newsletter online.
Client Server
Client Server is an online newsletter for Bentley SELECT subscribers. This online
resource is filled with the latest technical news and information.
BE Careers Network
The BE (Bentley Empowered) Careers Network is a program dedicated to supporting
accredited academic institutions by providing the latest releases of Bentley products,
as well as world-renowned support, online communities, and the latest engineering
news and information. For details about the BE Careers Network go online at http://
www.becareers.org/.
Sales
Bentley Systems’ professional staff is ready to answer your questions. Please contact
your sales representative for any questions regarding Bentley Systems’ latest products
and prices.
Technical Support
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, email, and the
Internet. For information on the various levels of support that we offer, contact our
sales team today and request information on our Bentley SELECT program, or visit
our Web site.
Addresses
Internet: http://selectservices.bentley.com
Email: [email protected]
Mail: Bentley Systems, Incorporated
Haestad Methods Solutions Center
Suite 200W
27 Siemon Company Drive
Watertown, CT 06795
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.
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.
Check Valve: Prevents water from flowing backwards through the pipe.
In other words, water can only flow from the From Node
to the To Node.
Closed/Inactive Status: You can control the status of a valve to be either inactive
or closed. Inactive means that the valve will act like an
open pipe where flow can occur in either direction, and
the headloss across the valve will be calculated using the
valve’s minor loss factor. Closed means that no flow will
occur through the valve.
Constituent: Any substance, such as chlorine or fluoride, for which the
growth or decay can be adequately described through the
use of a bulk reaction coefficient and a wall reaction
coefficient.
Context Menu: A shortcut menu opened by right-clicking a project
element or data entry field. Commands on the context
menu are specific to the current state of the selected item.
Control Status: A pressure pipe can be either Open or Closed. Open
means that flow occurs in the pipe, and Closed means
that no flow occurs in the pipe.
Conveyance Element: A pipe or channel used to transport water.
Coordinates: Distances perpendicular to a set of reference axes. Some
areas may have predefined coordinate systems, while
other coordinate systems may be arbitrary. Coordinates
may be presented as X and Y values or may be defined as
Northing and Easting values, depending on individual
preferences.
Cross Section Type: Tanks can have either a constant area cross section or a
variable area cross section. The cross section of a tank
with a constant area is the same throughout the depth.
The cross section of a tank with a variable area varies
throughout the depth.
Crosshair: The cursor that looks like a plus sign (+).
Current Storage Volume: The volume of water currently stored in a tank. It
includes both the hydraulically active volume and the
hydraulically inactive volume.
CV: Check valve.
Drag: To hold down one of the mouse buttons while you move
the mouse.
:Inactive Volume: The volume of water below the minimum elevation of the
tank. This volume of water is always present, even when
the tank reaches its minimum elevation and closes itself
off from the system. Therefore, it is hydraulically
inactive. It is primarily used for water quality
calculations.
Inflow & Outflow: An inflow is a flow into a node from the system, while an
outflow is a flow from the node into the system. A
negative outflow is the same as a positive inflow, and a
negative inflow is the same as a positive outflow.
Satisfies Fire Flow: A true or false statement indicating whether this junction
node meets the fire flow constraints. A check mark in the
box means the Fire Flow Constraints were satisfied for
that node. If there is no check mark, the Fire Flow
Constraints were NOT satisfied.
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.
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.
Velocity: The field that displays the calculated value for a pipe,
valve, or pump velocity at a given time. It is found by
dividing the element’s flow rate by its cross-sectional
area.
Vertex: An element in a topological network.
Water Quality: The field that displays the water quality for the current
time period.
Water Quality Analysis: An analysis that can be one of three types: Age, Trace, or
Constituent.
local and inherited values 568 merging pipes of the same diameter 548
logical control 701 messages 1184
dialog box 699 light 1184
manager 697 meter aggregation 472
set editor 714 meter assignment 470
logical control: method of characteristic (MOC) 977
See operational controls alternative. methods for solving transient flow 963
Logical controls 700 Microstation Mode 106
logical controls minimum
overview 696 system junction 1184
loop retaining sensitivity 551 system pressure 1178
loop-based algorithms 916 zone pressure 1178
loss 1016 minor loss 237
losses 1025 Minor Loss Coefficients dialog box 186
friction 918, 927 minor loss collection 183
minor 920, 925, 929, 930, 1026 Minor Loss Collection dialog box 184
low alarm 198 minor loss strategy 545
minor losses 920, 925, 929, 944, 1016, 1025
fitting 934, 1069, 1070
M mixed flow turbine 242
model and optimize distribution system 637
mail 1174 Model Spot Elevation 463
maintenance procedures 1062 ModelBuilder 433, 438, 442
Management controls 694 errors and warnings 423
Manning’s Coefficient 1183 supported formats 399
Manning’s coefficient 1184 using 399
Manning’s equation 928, 941, 1019 ModelBuilder Connections manager 403
roughness values 930, 1065 ModelBuilder wizard 407
typical values 933, 1068 modeler definition 1185
Manual Scenarios 564 modeling fire hydrants as flow emitters 727
manual skeletonization 528, 539 modeling pressure dependent demand 948
mass conservation 915 modeling tips 721, 729
Mass Rate (Base) 605 modeling variable speed pumps 729
material 1184 modified GGA solution 953
Max Adjustment 663 moment of inertia 248
maximum momentum equation 976
extended operating point 1184 motor
number of removal levels 545 pump 937
number of trimming levels 542 motor and pump inertia 213
operating point 1184 move
Maximum Day Conditions 571 elements 117, 126
measurements 653 labels 117, 126
menu move a toolbar 32
context 1178 moving elements 304
Menus 1079 moving toolbars 32
merge multiple 673, 732
merge pump curve 922, 923, 1001
alternatives 579 multiple elements
merging pipes by 548 selecting 302
Profiles Series Options dialog box 774 Pump Curve dialog box 211, 212
Program Maintenance Dialog Box 10 pump curves 438
programmable logic controller 221 pump definitions 433
project pump patterns 700
files 111, 122, 123 pump settings 201
project inventory 808 pump station 226
Project Properties dialog box 154 pump types 211, 212
Project tab 161 pumping systems 992
projection 475 pumps 201, 673, 732
projects 152 920
ProjectWise 170 behavior 996
closing projects 171 bypass 1053
general guidelines for using 171 characteristics 996
using background layer files with 176 constant horsepower 1001
viewing status 173 constant speed, no pump curve 215
ProjectWise options 169 constant speed, pump curve 216
properties defining settings for 201
editing 312 efficiency 216
Property Editor 312, 1094 elevation 216
using Find Element 313 fundamentals 215
Property Grid Customizations 388 inertia 217
proportional to coalesced pipe attributes 523 operating point 997
proportional to dominant criteria 547 protection 1052
proportional to existing load 548 pump start - variable speed/torque 216
protected elements manager 536 quadrants 220
protection devices 1040 shut down after time delay 215
protection equipment 970 specific speed 217, 218, 999
Protective Equipment Reference 282 speed 216
prototypes 345 theory 995
pump 723 variable speed 1000
affinity laws 920 variable speed (VSP) 221
constant horsepower 922 variable speed/torque 216
curve 920, 921, 923
custom extended 923
groundwater well 721 Q
impeller 921
motor 937 quadrant representations 220
multiple point 923 QuadrantCurves.txt 287
operating point 920, 921, 922 QuadrantCurvesPredefined.txt 287
parallel 723 Quasi-steady Friction 686
series 723 queries 366, 371, 798
static head 921 creating 370
static lift 920 in FlexTables 797
theory 920 predefined 366
three point 922, 937 project 366
type 922 shared 366
variable speed 921 Queries Manager 366
pump characteristics 286 Query Builder dialog box 372
Pump Curve Definitions dialog box 202 Query Parameters 369
yellow 617
table cells 793
Young’s modulus 987