Hammer Users Guide
Hammer Users Guide
USER ’S GUIDE
DAA035820-1/0001
Copyright © 2005 Bentley Systems, Incorporated. All rights reserved.
This documentation is published by Bentley Systems, Inc. (“Bentley”), and is intended solely for
use in conjunction with Bentley’s software. This documentation is available to all current
Licensees in print and electronic format. No one may copy, photocopy, reproduce, translate, or
convert to any electronic or machine-readable form, in whole or in part, the printed documentation
without the prior written approval of Bentley. Licensee may download the electronic
documentation from Bentley’s web site and make that documentation available solely on
licensee’s intranet. Licensee may print the electronic documentation, in part or in whole, for
personal use. No one may translate, alter, sell, or make available the electronic documentation on
the Internet, transfer the documentation by FTP, or display any of the documentation on any web
site without the prior written approval of Bentley.
Trademarks
Portions of this document include intellectual property of ESRI and its licensor(s) and are used
herein under license. Copyright © 1999-2002 ESRI and its licensor(s). All rights reserved.
Index 457
Orientation and 1
Installation
When you first use HAMMER, the intuitive interface and interactive dialog boxes will
guide you. If you need more information, use the online help by pressing the F1 key or
selecting help from the Help menu. Help text regarding the area of the program in
which you are working will be displayed.
• Printed User’s Guide—The printed manual provides Quick Start lessons and it
can be used away from the computer to review HAMMER features and theory.
• Online Book—The online text, which is available with each new software
version you download, includes information about the HAMMER interface and
hypertext links to help navigate the information more easily. (For more informa-
tion, see “Using the Online Help, Online Book, and Help Pane”.)
• Internet Resources—The Haestad Methods WaterTalk forum is a free service
where anyone can ask questions (from novice to expert level), and get answers
from other users. Engineers and experts from Bentley Systems and Environmental
Hydraulics Group often post answers to questions. To sign up for WaterTalk, visit
http://www.haestad.com/forums.
HAMMER’s name is due to the loud “water hammer” knocking sound that can be
heard when sudden hydraulic transients occur. HAMMER helps engineers understand
their pumping and piping networks better, enabling them to design safe and econom-
ical surge-control systems.
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, HAMMER can import its data and results automatically to save
you time and eliminate transcription errors.
• 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.
• Steady-State calculations
• Merge pipes
• FlexTables
• Wider range of specific speeds for pumps
• Time step selection
• Display wave speed
• Pressure plots
• Profiles with node symbols and labels
• Libraries
• Enhanced turbine operation
• Support for developing pipe forces
If you run the HAMMER setup program from the product CD, the main installation
screen appears with the following options:
Includes:
• Haestad Methods Virtual Tour—Starts the
Haestad Methods Virtual Tour, a multimedia
presentation on the product CD that includes
information about our products and services.
View on CD
• HAMMER Installation Help—Launches
this installation help file.
• HAMMER Help—Launches the HAMMER
online help.
Install on a Single
Installs HAMMER on an individually licensed
Computer (Node-
computer.
Locked Version)
Includes:
• Help for Shared Use Version—Launches the
installation help and displays the help topic
that describes how to set up HAMMER for
shared use.
• Install SentinelLM License Manager/Install
Set Up a Shared-Use SELECTserver License Manager—Installs
Version (Network either the SentinelLM or SELECTserver
Version) license manager program. This is the required
first step in the shared-use installation, unless
the license manager is already installed.
• Deploy HAMMER for Installation on
Multiple Computers—Installs all the files on
your network that your end users will use to
install HAMMER on their local computers.
Includes:
• Install FlexUnits 2.0—Installs FlexUnits, a
unit conversion software program capable of
performing thousands of measurement
Install Optional Tools conversions.
• Install Haestad Methods Virtual Tour—
Installs the Haestad Methods Virtual Tour on
your computer.
Related Topics
If you are planning to install HAMMER from a downloaded installation file, perform
the following steps:
1. If you are a Bentley SELECT customer, visit the Bentley SELECT Web site, http:/
/selectservices.bentley.com.
If you are a ClientCare customer, visit the Haestad Methods Web site, http://
www.haestad.com/clientcare.
2. Go to to the Downloads page on the Bentley Web site or the Product Updates page
on the Haestad Methods Web site, then download one of the following installation
files:
– Single User License—Download this file to install HAMMER on an individ-
ually licensed computer (also known as node-locked).
– Concurrent Use License—Download this file to set up a shared-use version
of HAMMER on multiple computers (network installation).
Be sure to download the installation file to the computer on which you intend to install
the product.
Related Topics
Choose this installation if you intend to use the program on an individually licensed
computer. This installation is also known as “single user license” or “node-locked.”
If Autorun is disabled, click Start > Run from the taskbar, then
type d:\setup (where d is the actual drive letter of your CD-ROM
drive), then click OK.
1. On the main installation screen, click Install HAMMER on your local machine.
Follow the instructions on the screen.
If you have a previous version of HAMMER installed on your computer, the
Setup Wizard prompts you to uninstall it before installing the new version.
Note: Do not perform the procedures in this section until after you
have received a license file from Bentley Systems. You will
receive a license file for either the Bentley SELECTserver or
SentinelLM license management system.
Perform the procedures in this section if you are setting up HAMMER for shared use
(network license) using the Bentley SELECTserver license management system.
Close any programs or processes that are running before you start the installation
program. This installation is also known as “concurrent use license.”
Before you begin installing for multiple computers, obtain the product ID and
network-enabled registration number from Technical Support department.
Setting up for shared use (concurrent use license) installs these components:
If Autorun is disabled, click Start > Run from the taskbar, then
type d:\setup_selectserver.exe (where d is the actual drive letter
of your CD-ROM drive), then click OK.
1. Download the Concurrent Use License version of HAMMER from our Web site.
Save the file to the network computer on which you plan to install the license
manager and network deployment. For more information, see “Installation Over-
view - Downloading and Installing”.
2. Install the SELECTserver License Manager (SELECTserver 2004 Edition).
SELECTserver 2004 Edition can be downloaded from the "SELECT Released
Products" Application Group at http://appsnet.bentley.com/downloads/.
You can choose to skip the SELECTserver License Manager installation if the
software is already installed on on the computer.
3. Install the license file as described in “Install the License File”. You must obtain a
license file from Bentley Systems before performing this part of the installation.
4. Run the installation file you downloaded in Step 1. This will install the network
deployment, which your end users will access to install HAMMER on their local
computers.
5. Announce the availability of the product via email, instructing interested users to
install the product using the procedure described in “Install HAMMER on a Client
Workstation from the Network Deployment”.
1. You should have received an email from Bentley Systems containing the perma-
nent license string.
2. Open the license.lic file (usually located in C:\Program Files\SELECTserver) in
Notepad or a similar text editor. Copy the license string from the email you
received from us into the license.lic file, then save and close the file.
If you are updating an existing license, be sure to replace the existing license
string with the new license string. See the email you received from us for more
information.
4. When you have finished updating the license file, go back to the main installation
screen and click Deploy HAMMER for Installation on Multiple Computers to
install the network deployment.
If you are installing HAMMER from a downloaded installation file, launch the
installation file you downloaded. For more information, see “Deploy HAMMER
for Installation on Multiple Computers”.
Note: Do not perform the procedures in this section until after you
have received a license file from Bentley Systems. You will
receive a license file for either the Bentley SELECTserver or
SentinelLM license management system.
Perform the procedures in this section if you are setting up HAMMER for shared use
(network license) using the SentinelLM license management system. Close any
programs or processes that are running before you start the installation program.
Before you begin this procedure, obtain the product ID and network-enabled registra-
tion number from Technical Support department.
Setting up for shared use (concurrent use license) installs these components:
SentinelLM must be installed and running on a server on the same network as the
client machines that need access to a license.
If Autorun is disabled, click Start > Run from the taskbar, then
type d:\setup (where d is the actual drive letter of your CD-ROM
drive), then click OK.
2. You must obtain a license file from Bentley Systems before performing this part
of the installation. Install the license file as described in “Install the License File”.
SentinelLM must be installed and running on a server on the same network as the
client machines that need access to a license.
1. Download the Concurrent Use License version of HAMMER from our Web site.
Save the file to the network computer on which you plan to install the license
manager and network deployment. For more information, see “Installation Over-
view - Downloading and Installing”.
2. Install the SentinelLM License Manager. You can download this software from
ftp://ftp.haestad.com/techFTP/Utilities/SentinelLM. The SentinelLM software is
downloaded as a .zip file (you must have Winzip or another program to dearchive
or unzip the file.).
For best performance, we recommend that you use SentinelLM 7.1 or greater to
manage your license(s).
You can choose to skip the SentinelLM License Manager installation if the soft-
ware is already installed on on the computer.
3. Install the license file as described in “Install the License File”. You must obtain a
license file from Bentley Systems before performing this part of the installation.
4. Run the installation file you downloaded in Step 1. This will install the network
deployment, which your end users will access to install HAMMER on their local
computers.
5. Announce the availability of the product via email, instructing interested users to
install the product using the procedure described in “Install HAMMER on a Client
Workstation from the Network Deployment”.
Use this procedure if you have just installed the SentinelLM License Manager, or
would like to completely replace any existing license information with the informa-
tion in the license file you received from us.
1. You should have received an email from Bentley Systems containing the perma-
nent license file. We recommend creating a folder called “License File” in your
default Haestad folder, usually C:\Program Files\Haestad, for this purpose.
2. The license manager runs as a service. Manually stop the license manager service
as follows:
a. Click Start > Control Panel from the taskbar.
b. Click Administrative Tools, then click Services.
c. Right-click the SentinelLM License Manager service in the list of services,
then select Stop from the shortcut menu to stop the service.
d. Close the Services window.
4. When the license file installation is complete, manually restart the license
manager service as follows:
a. Click Start > Control Panel from the taskbar.
b. Click Administrative Tools, then click Services.
c. Right-click the SentinelLM License Manager, then select Start from the
shortcut menu to restart the service.
d. Close the Services window.
5. If you are installing HAMMER from the product CD, click Deploy HAMMER
for Installation on Multiple Computers on the main installation screen to install
the network deployment.
If you are installing HAMMER from a downloaded installation file, launch the
installation file you downloaded. For more information, see “Deploy HAMMER
for Installation on Multiple Computers”.
Use this procedure if you already have SentinelLM installed and managing other soft-
ware applications, and would like to add additional products to the license file.
1. You should have received an email from Bentley Systems containing the perma-
nent license file. We recommend creating a folder called “License File” in your
default Haestad folder, usually C:\Program Files\Haestad, for this purpose.
2. Open the license file (this is a .txt file) in a text editor such as Windows Notepad.
Select and copy all of the text.
– You can also copy the license strings from the email you received from Tech-
nical Support.
3. On your server, manually stop the the license manager service as follows:
a. Click Start > Control Panel from the taskbar.
b. Click Administrative Tools, then click Services.
c. Right-click the SentinelLM License Manager service in the list of services,
then select Stop from the shortcut menu to stop the service.
d. Close the Services window.
c. Right-click the SentinelLM License Manager, then select Start from the
shortcut menu to restart the service.
d. Close the Services window.
7. To verify that the licenses were added correctly, open the SentinelLM License
Management Administration application (WLMAdmin.exe) and make sure the
software names are listed under your server. If not, please repeat the process
above or call for assistance.
– The location of this application varies from machine to machine, but can
usually be found by clicking Start > All Programs > Rainbow Technologies
> SentinelLM7.X.
Once the licenses are set up in SentinelLM you should be able to install and run
HAMMER on the client machines. If you have any trouble obtaining a license on the
client machines, please set one of the following environment variables on the client
machine:
LSHOST = server_name
Or
LSFORCEHOST = server_name
If you are still unable to obtain a license, please call us for assistance.
Remember that, according to the license agreement, you must uninstall any old instal-
lations of HAMMER after upgrading to a new version.
This part of the installation deploys HAMMER for installation on multiple copmuters,
allowing your end users to install HAMMER on their local computers.
1. If you are installing HAMMER from the product CD, click Deploy HAMMER
for Installation on Multiple Computers on the main installation screen.
If you are installing HAMMER from a downloaded installation file, launch the
installation file you downloaded.
4. Follow the instructions on the screen to complete the installation of the network
deployment.
5. Announce the availability of the product via email, instructing interested users to
install the product using the procedure described in “Install HAMMER on a Client
Workstation from the Network Deployment”.
The final step in installing HAMMER for multiple computers is to instruct your end
users to install the program on their local computers from the network deployment.
1. On the client workstation, click Start > Run from the taskbar.
2. Click Browse, then navigate to the network deployment folder and select
setup.exe to install the program to your client workstation.
3. Follow the instructions in the Setup Wizard, which will guide you through the
installation.
If you want to uninstall the network deployment, you must uninstall the network
deployment, the license manager, and any product installations performed on client
workstations.
1. Open the Windows Control Panel, then open Add or Remove Programs.
2. Scroll down the list of installed programs and select HAMMER by Haestad
Methods Network Deployment Wizard, then click Remove.
During uninstallation, you are prompted to deactivate the software.
1. Open the Windows Control Panel, then open Add or Remove Programs.
2. Scroll down the list of installed programs and select SentinelLM Server.
3. Follow the instructions on the screen to uninstall the license server.
4. Open the Windows Control Panel, then open Add or Remove Programs.
5. Scroll down the list of installed programs and select SentinelLM.
6. Follow the instructions on the screen to uninstall the license manager.
1. Open the Windows Control Panel, then open Add or Remove Programs.
2. Scroll down the list of installed programs and select HAMMER, then click
Remove.
3. Follow the instructions on the screen to uninstall the product from the client work-
station.
During uninstallation, you are prompted to deactivate the software.
Related Topic
You must register and activate your software before you can use it. You register and
activate HAMMER in one step when you first run the software on your computer.
When you start HAMMER for the first time, the Activation Wizard opens. You can
activate the software immediately, or defer activation to a later time. However, you
can only defer activation for a limited number of times, and, until you activate
HAMMER, the Activation Wizard opens every time you run the software.
To activate HAMMER, follow the instructions in the Activation Wizard. You can acti-
vate the software via the Internet (recommended) or by calling Bentley Systems and
obtaining and manually inserting an activation code.
Related Topic
To deactivate HAMMER, uninstall it from your computer. You are prompted to deac-
tivate the software during the uninstallation process.
After you have registered the software, you can check your current registration status
by opening the registration dialog box from within the software itself.
Note: The version and build number for HAMMER display in the lower-
left corner of the About HAMMER dialog box.
The Program Maintenance dialog box opens if you try to install the software when the
software is already installed.
• If you opened this dialog box by mistake, click Cancel to exit the installation. The
existing installation will be unaffected.
• If you are attempting to troubleshoot the installed software, removing and then
reinstalling the software is a more thorough approach than using either Repair or
Modify.
• To uninstall the software from the Program Maintenance dialog box, select
Remove, click Next, then follow the on-screen instructions.
Note: Your PC must be connected to the Internet to use the Check for
Updates button.
1.3.15 Troubleshooting
Caution: After you install HAMMER, 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 three steps fail to successfully install or uninstall the product, contact our
Technical Support staff. For more information, see “Technical Support”.
Related Topic:
1. Install the license file on the new server as described in “Install the License File”
on page 1-12.
2. Replace the server name in the license.ini file on all client workstations with the
new server name (on the line containing “Server=”). Don’t forget to save the file
on each workstation. The license.ini file is usually located in the Haestad Method
product directory.
1. Obtain a new license file (license string) from Bentley Systems, then update the
license.lic file on the new server with the new license string as described in
“Install the License File”
2. Replace the server name in the license.lic file on all client workstations with the
new server name. Don’t forget to save the file on each workstation. The license.lic
file is usually located in the Haestad Method product directory.
1. Select File > Open to access the Open Project File dialog box.
2. Choose hamsam??.hif (where ?? is a number) from the Samples directory and
click Open.
These are working models, so you can explore the systems and see how different
elements are modeled. First, calculate the system by using the GO button on the main
toolbar to see how the system behaves. Then, click Tools > Viewer > Graphics to
look at sample graphs (.grp) and animations (.ani).
For more information about our workshops (such as instructors, schedules, pricing,
and locations), please contact our sales department or visit our Web site at http://
www.haestad.com for current workshop schedules and locations. We will be glad to
answer any questions you may have regarding the workshops and our other products
and services.
Bentley Systems offers a range of other training services including on-site, on-line,
and on-campus training. For detailed information on the availability of these options,
visit http://www.haestad.com/education.
1.5.1 Sales
Bentley Systems’ professional staff is ready to answer your questions. Please contact
your sales representative with any questions regarding Bentley Systems’ latest prod-
ucts and prices:
Phone: +1-203-755-1666
Fax: +1-203-597-1488
Email: [email protected]
We hope that everything runs smoothly and you never have a need for our technical
support staff. However, if you do need support, our highly skilled staff offers their
services seven days a week and may be contacted by phone, fax, and the Internet. For
information on the various levels of support we offer, contact our sales team and
request information about our Bentley SELECT program.
When calling for support, in order to assist our technicians in troubleshooting your
problem, please be in front of your computer and have the following information:
When emailing or faxing for support, please provide additional details as follows so
we can provide a timely and accurate response:
You can contact our support staff during the hours shown below:
Phone: +1-203-755-1666
Fax: +1-203-597-1488
Email: [email protected]
1.5.4 Addresses
Internet http://www.haestad.com
Email: [email protected]
Phone: +1-203-755-1666
Fax: +1-203-597-1488
HAMMER Main 2
Window
If you are already familiar with standard Microsoft Windows interfaces or other
Bentley Systems software, such as WaterCAD or WaterGEMS, you will find
HAMMER to be intuitive and comfortable. Even if you are not accustomed to
Windows, just a few minutes of exploring HAMMER should be enough to acquaint
yourself with its flexibility and power.
Note: You can also explore each component by moving the cursor
over it and then holding it still for a little while (i.e., hovering), to
display Tool Tip help text describing each particular item.
This section describes the program’s main windows, menus, toolbars, and online help
to let you use HAMMER quickly and efficiently.
You will normally begin a new project using Modeler, but you can also run Viewer
separately if you only need to examine results or animations. To start HAMMER from
the start menu, select:
Start > All Programs > Haestad Methods > HAMMER > HAMMER
You can open the Viewer from within Modeler using Tools > Viewer > Graphics (for
graphs or animations) or Tools > Viewer > Output Database (for tables or reports).
You can also access FlexTables using Tools > FlexTables to work with input or
results. FlexTables can be also be customized and printed.
The following figure shows the areas of HAMMER’s Main Window (without showing
any model data):
Title bar
Element
Menus selector
pane
Tool bar
(buttons)
Drawing pane
Element
data pane
Status bar
• Title Bar—The title bar for the Main Window displays the current folder and
input file name. If the file has been modified since it was last saved, the title bar
displays [Modified].
• Menus—Each menu item can be accessed from the keyboard by holding down
the Alt key and pressing the underlined letter on the menu. Some frequently used
commands can also be accessed using toolbar buttons or shortcut key combina-
tions. Shortcuts are invoked by holding down the Ctrl key and pressing the letter
shown to the right of some menu entries (e.g., Ctrl+S to save).
• Model and Element Toolbars—The left-hand-side buttons are used to manage
files and to set view and simulation parameters. Buttons used to set the display
(zoom, color-code), some of which are inactive prior to a run, are shown in the
middle. The right-hand-side buttons are used to select hydraulic elements to drop
onto the Drawing Pane.
Note: Individual buttons are provided for the two most common items
(node and link), followed by drop-down lists for each element
type: system boundaries (reservoir icon shown), control
equipment (orifice icon shown), protection equipment (air valve
icon shown), and rotating equipment (pump icon shown). For
more information, see “Overview of Hydraulic Element Properties”
on page 6-205.
• Drawing Pane—The Drawing Pane displays the hydraulic elements forming the
system to be analyzed. It is the main interactive area for creating elements, editing
their parameters, and mapping key results for each one. After selecting a suitable
background color, you can copy the contents of the current Drawing Pane view to
the Windows clipboard (using the camera button on the toolbar) to create figures
describing your system in your favorite graphics software.
• Display Tabs—Click the Properties tab to display properties of the currently-
selected hydraulic element.
a. Element Selector Pane—The element selector pane sorts elements alphabeti-
cally to help you find and select them easily. The drop-down list shows all
elements by default, but it can be restricted to display a single type of element,
such as pipes, nodes, system boundaries, control equipment, protection equip-
ment, or rotating equipment.
b. Element Data Pane—The element data pane provides a name, data-entry
field, and unit (if applicable) for each attribute of the currently selected
hydraulic element. The number and types of fields are different for each
hydraulic element.
• Status Bar—The Status Bar located along the bottom of HAMMER’s Main
Window displays useful information about the current state of your HAMMER
model, such as the cursor position, units, zoom percentage, display setting, and
whether the project file has been saved or computed recently.
After a transient model has been run, select Tools > Viewer > Graphics from the
main menu to display the graphics Viewer.
The following figure shows the graphics Viewer after running a sample file. The
components of the HAMMER Viewer are:
• Title Bar—Similar to the Main window’s title bar but showing the output file
name. It can be toggled on and off within each graph window to maximize the
available display area.
• Menus—Similar to the Main window but showing only applicable commands.
• Paths—In HAMMER, a continuously connected pipe run is called a Path (red
label, top left in the viewer). This is analogous to a profile in WaterCAD. The
Viewer displays the number of interior points and the length of the current Path
from its start (From Point) to its end (To Point).
• Time Histories—In HAMMER, results at a point of interest are called a time
History (red label, middle left). The Viewer displays the number of time steps in
the current history and its location or end point.
Profile
control
Point
control
Looking from left to right, the Viewer allows you to select the locations (point histo-
ries or pipeline profiles) for which to display one or more of the result variables (head,
flow, or volume) as plots or animations:
• 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.
Speed and
frame sliders
Play controls
Clock
Time (HH:MM:SSSS)
step
• 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.
A typical HAMMER modeling project begins by laying out the system in the Main
Window (with dozens of menu and toolbar items) and ends by reviewing output using
the HAMMER Viewer or Animation Controller (with a minimum number of menu
and toolbar items). Note the following special features:
• The menus show only the options required to accomplish tasks or to access model
features which may be needed in the part of the program you are using.
• Nearly every item is available either from the main menu or from shortcut menus
opened by right-clicking items or graphs.
• Menus and title bars can be hidden to maximize the portion of the graph window
available for plots or animations. This is useful during presentations or for large
systems.
Certain menu commands are only available in HAMMER Modeler or Viewer mode.
Commands are grouped under several categories separated by horizontal bars in the
menu. For example, the file management category provides menu commands to
create, open, run, save, rename, and close files, as described in the following:
• New (Ctrl + N)—Creates a new project file and opens a dialog box where
you can select a drive, directory, and file name for your new project file.
• Open (Ctrl + O)—Loads an existing project file from disk. A dialog box
opens so you can choose the name and location of the file.
• Close (Ctrl + F4)—Closes the current project file, but not the HAMMER
program, allowing you to load another project file.
• Save (Ctrl + S)—Saves the current project file to disk, overwriting any
previous version with the same name, if any. Remember to save often to
avoid losing your work if a problem occurs.
• Save As—Saves the current project file to disk under a different filename. A
dialog box will open prompting you to enter the drive, directory, and new file
name for your project.
• ProjectWise—Opens a submenu containing the followijg commands:
– Open—Open an existing SewerGEMS project from ProjectWise. You are
prompted to log into a ProjectWise datasource if you are not already logged
in.
– Save As—Saves the current project to a ProjectWise datasource. You are
prompted to log into a ProjectWise datasource if you are not already logged
in.
– Change Datasource—Lets you connect to a different ProjectWise datasource
for future Open and Save As operations.
– Options—Opens the ProjectWise Options dialog.
The import – export category provides commands to exchange data with other appli-
cations, as follows:
• Import > Network—Imports network data from other hydraulic models such as
EPANET 2.0, Surge2000 (and PIPE 2000), and WaterCAD and WaterGEMS. You
may need to supply information not imported from these models prior to running
HAMMER.
The utility category includes the print, recent files, and exit commands. These are
only available by right-clicking in a graph window.
• Page Setup—In HAMMER Viewer mode, in a graph, right-click and select Page
Setup to open a dialog to select the paper size, orientation, printer name, and the
page margins.
• Print—In HAMMER Viewer mode, in a graph, right-click and select Print to
print the contents of the current graph window. HAMMER does not currently
support printing from the Main Window, but it is possible to capture the contents
of the Drawing Pane and copy them to the Windows clipboard (click the Capture
Screen button).
• Exit (Alt + F4)—Closes the current project file and then closes HAMMER.
The edit menu provides commands to select, locate, and modify network models and
their hydraulic elements. As with the File menu, menu commands are grouped into
categories separated by horizontal bars.
The cut and paste category includes the following menu commands, available in both
Modeler and Viewer modes, as follows:
• Cut (Ctrl + X)—Deletes the selected item or group of items and places it
on the Windows clipboard. This item can be pasted back into HAMMER or
other programs. You can also right-click any element and select Cut.
• Copy (Ctrl + C)—Copies the selected item or group of items and places it
on the Windows clipboard. This item can be pasted back into HAMMER or
other programs. You can also right-click any element and select Copy.
• Paste (Ctrl + V)—Inserts the items on the Windows Clipboard into the
Drawing Pane at the current cursor position and selects them. The same
items can be pasted repeatedly to replicate similar pump suction and
discharge piping, for example. You can also right-click any location and select
Paste.
• Delete (Delete)—Deletes an item or group of items permanently. You can also
right-click any element and select Delete.
Note: You can select hydraulic elements in the Drawing Pane using the
Select toolbar button.
The search and select category includes the following menu commands:
• Find (Ctrl + F)—Finds any type of element using its label or description and
selects it in the Drawing Pane. The find command is case sensitive.
• Find Next (F3)—Repeats a search to find any type of element using its label or
description.
• Select All (Ctrl + A)—Selects every element in the Drawing Pane. You can also
select or deselect individual elements using the mouse.
• Pan—After clicking this toolbar icon, hold down the left mouse button to
move the drawing within the Drawing Pane.
• Zoom In (Ctrl + numpad +)—Enlarges the current view of the drawing
using the location you click as the center of the next view.
• Zoom Out (Ctrl + numpad -)—Reduces the current view of the drawing
using the location you click as the center of the next view
• Zoom To Area—This tool lets you select the corners of the area within the
drawing pane that you wish to enlarge. You can also click in any area of the
drawing pane to zoom into that location.
• Normalize Window—Resizes all symbols in the Drawing Pane to a conve-
nient size for the current window. These symbol sizes persist when the
zoom level changes.
• Zoom Extents—Resets the drawing pane zoom factor such that all
elements are displayed in the drawing pane.
• Lock Drawing Pane—Toggles the Drawing Pane lock on or off. When the
Drawing Pane is locked, you can select hydraulic elements to modify their param-
eters or inspect their results, but you cannot change their coordinates using the
mouse. This is useful to prevent accidental movement or deletion of hydraulic
elements.
• Anti-Alias—Turns on (and off) the anti-aliasing feature to let you display lines
more smoothly.
The external tool manager category includes the following menu items to start
external programs:
The output manager category includes the following menu commands to compare
the results of different HAMMER project files:
• Viewer > Graphics—Opens a dialog box from which you can select a HAMMER
output, graph, or animation file to open using the graphics Viewer. The graphics
Viewer lets you generate graphs and animations from output files (.hof).
• Viewer > Output Database—Starts Microsoft Access and prompts you for a
HAMMER output database to open (defaults to the most recently completed run).
The predefined tabular and summary reports provide a quick understanding of
your results and they are fully customizable.
The output variable category provides menu commands to specify and work with
output to create graphs and animations.
The settings category includes the following menu commands to configure the
HAMMER workspace and runs:
The Help menu contains online documentation for HAMMER, and includes the infor-
mation contained in the printed documentation as well as updated information and
built-in tutorials. The following menu items can also be accessed from the Help menu.
• Contents (F1)—Opens the Table of Contents for the online help. For more
information, see “Using the Online Help, Online Book, and Help Pane” on
page 2-47.
• Index—Opens the online help at the index.
• Search—Opens the online help at the search tab.
• Release Notes—Provides the latest information on the current version of
HAMMER. Like a README file, it includes information about new features,
tips, performance tuning, and other general information.
• Services—Opens an Internet browser to Haestad Methods’ Web site or a local
page that provides an overview of the services and products offered by Bentley
Systems (including training) and EHG. The local page, accessed by selecting
Contents, provides links to frequently updated Haestad Methods Internet sites.
The notices category provides access to the most up-to-date information about
HAMMER:
These menu commands are only available from within the HAMMER 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 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:
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 HAMMER 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 to FlexUnits take effect throughout the current
HAMMER project.
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.
HAMMER includes an Adobe Acrobat online book (.pdf) in the installation directory.
The online book is designed so that you can view it on screen or print page ranges.
Use the bookmarks, index, and search in the Adobe Acrobat Reader to find the topic
you want.
“Checking Your Current Registration Status” on page 1-20To open the online help for
browsing, select Help > Contents. Use the table of contents or index or perform a
search to locate the information you need. You can also save a list of favorite help
topics for quick reference.
Click Hide/Show to
hide or show the
Contents tab
Type the
Click a topic and click Click a Related Topic
keyword you
Display to display the button to see and
want to find
selected topic select topics related to
the current one
• If you enter more than one word, the online help will return only those topics that
contain all of the words you enter, though those topics might not have the words
all together or in the order you specify.
• If you enter more than one word inside quotation marks, the online help search
returns only topics with the complete phrase as typed.
Keywords
are
highlighted
in the text
• Click the Add button in the Favorites tab to add the current topic to your list of
favorites.
• Click Display to display the contents of the selected favorite topic in the help
window.
• Click Remove to remove the selected favorite topic from the Favorites tab.
If you want to print part of the online help, consider opening the online book, which is
set up for printing.
Navigation Arrows
In addition to the standard HTML Help navigation tools, HAMMER online help
includes forward and backward arrows at the bottom-left of every topic that let you
navigate sequentially through the online help file. While the online book (.pdf) is
better suited to this kind of navigation, these buttons may be particularly helpful if you
are reviewing the HAMMER lessons online (for more information, see “Quick Start
Lessons” on page 3-105).
Navigation buttons at
the bottom-left of every
topic
Summary
The summary tab lets you set the system parameters.
Report Points
Report: Report by All Points, Specific Points, or No Points.
Specific Points: Report for points that you manually specify.
System: Contains elements you do not necessarily want in
your report.
Click the < > move buttons to move selected
elements between the System and Report columns.
Ctrl+click or Shift+click to select more than one
element at a time.
Report: Contains those elements that you want in your report.
Report Times
Note: The length of time steps is based on the start time, end time, and
number of steps in a simulation. To see the actual time step
used, click Tools > View Reports/Logs > Latest Output Log.
Report Paths
Before you select Project Options > Report Paths to add a path, look at the network
and write down the names of the pipes you want in that path on a piece of paper. These
pipes must be connected (i.e., no gaps). Once you start entering pipes, HAMMER
prompts you with the available pipes at each junction, to ensure connectivity.
Report Pipes: Lists the pipes in the path that are included in the
report.
Valid Path: Shown in green, indicates the pipes follow a logical
sequence and constitute a valid path.
Fix Path: Shown in red, indicates the pipes sequence is
incorrect.
Preferences
Initial Flow Consistency Value: 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 Value: 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 coefficient
exceeds this criterion, an asterisk appears beside the
coefficient in the pipe information table in the output
log. The default value is 0.02.
Decrement in All Pipe Elev: Decreases the elevation of each pipe by the amount
specified. Use a negative value to raise the pipes. By
default, elevations are not adjusted. (Permissible
units are m and ft.)
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.
Report History after Time: Set the time at which reporting begins. The default
value is 0.02.
Transient Friction Method: Select Steady, Quasi-Steady, or Unsteady friction
method to be used for transient calculations. For
more information, see “Selecting the Friction
Method” on page 4-183.
For more information, see “Selecting the Friction Method” on page 4-183.
Report Options
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.
Show Standard Output Log: Toggles the standard output file (as above).
Show Pockets Opening/Closing: Toggles whether the list of vapor pockets open and
close times will be appended to the output text file.
Max. Char. Output: Sets the number of characters to output for labels.
Extended CAV: Toggles the standard or extended Combination Air
Valve (CAV) sub-model. The vacuum breaker
component of CAV admit air into the pipeline during
low transient pressures that is subsequently expelled
at the outlet orifice(s). The extended model tracks
momentum more accurately.
Display Options
Display options lets you set the appearance of HAMMER.You can toggle the display
of pipes, nodes and labels and set their relative size and font. You can also choose
whether to show the interior points used by HAMMER during the simulation.
The Run dialog box lets you control the output created by a HAMMER calculation.
For more information, see “File Menu” on page 2-36.
Click Time Step to display an expanded version of this dialog showing the time step
suggested by HAMMER and the adjustments to lengths or wavespeeds it requires. See
“Expanded Run Dialog Box” on page 2-59 for more information.
Click Time Step in the Run dialog to display an expanded version of the dialog, which
shows the time step suggested by HAMMER and the adjustments to lengths or
wavespeeds it requires. You can use the following dialog to select your own time step:
Use this dialog box to import model data and steady-state results from WaterCAD or
WaterGEMS into HAMMER. For more information, see “Part 1—Importing and Veri-
fying the Initial Steady-States” on page 3-143.
File > Open: Click File > Open or click the Ellipsis (…) button to
select the WaterCAD or WaterGEMS database
(.mdb) file you want to import. The path and
filename of what you import displays in the Project
field.
Scenario: If the project you are importing has more than one
scenario, use the drop-down menu to select the
scenario that you want to analyze in HAMMER.
Units: Select the units you want to use for the project.
(Permissible units are cfs, ft. and cms, m.)
Time Step: Select the time step you want to use.
Create HAMMER Input File: Click Create HAMMER Input File to create a
HAMMER file from your WaterCAD/GEMS project.
After you click Create HAMMER Input File, the
Save dialog box opens to let you save an .hif file. The
default file name is created as:
ProjectName_Scenario_TimeStep.inp. If the file
already exists in the destination directory, you are
Junctions
Junction with positive demand Consumption
Tanksa
Tank (variable-area) Variable-area surge tank
Pipes
Pipe Pipe
Reservoirs
Reservoir Reservoir
Pumps
Constant-speed, between 2 pipes – no pump
Pump (constant-power pump curve)
curve
Valves
PRV (pressure-reducer valve) Valve of various types between 2 pipes
a. You can convert any surge tank to a reservoir (either representation is hydraulically correct) if
the liquid level of the surge tank will not change due to transient inflows or outflows.
The Import EPANET File dialog box lets you to choose the EPANET input and report
files you import into an existing or a new HAMMER file. Because HAMMER needs
steady-state run results, including flow values, to calculate transients, the EPANET
report file is required. For more information, see “Importing/Exporting EPANET
v.2.0” on page 4-174.
• EPANET Report File—Browse to select an .rpt file. The .rpt file is generated by
developing a report on an EPANET model run in the EPANET editor.
• EPANET Network File—Browse to select an .inp file. The .inp file is generated
by exporting an EPANET .net file to a network .inp file.
• Output HAMMER File—Browse to select the name of the new hammer file
(*.hif) to which the data is transferred from the EPANET files.
• Mode—Lets you select whether the file to which EPANET data is being written is
a new file or existing file that you want to update.
• Existing Hammer File—Browse to select the name of the existing hammer file
(.hif) to which the data is transferred from the EPANET files. To enable this selec-
tion, you must first set Mode to Update.
• Recent Imports—Lists the files recently imported from EPANET.
• Import—Imports the file chosen.
• Close—Closes the dialog box without importing any files.
The Import Surge 2000 File dialog box lets you to choose the Surge files you import
into a HAMMER file. For more information, see “Surge to HAMMER Field-to-Field
Conversion” on page 2-65 and “Importing PIPE2000 or Surge2000” on page 4-176.
• Surge Output File—Browse to select the output file generated by Surge (.OT2).
• Surge Input File—Browse to select the input file generated by Surge (.DT2).
• Output Hammer File—Browse to select the name of the HAMMER file (.hif) to
which surge information will be written.
• Import—Imports the file into HAMMER.
• Close—Closes the dialog box without importing anything.
x1 Diameter m, ft
y6 Bladder yes/no
y8 Preset pressure m, ft
Code Map
y1 x1
y2 x3
y3 x4
y4 x6 / x7
Code Map
y5 x7
y6 Yes
y7 x3
y8 x5
• X2 is not used, since HAMMER does not track tank geometry of liquid level.
x1 Diameter m, ft
x5 Inflow resistance m, ft
y6 Bladder yes/no
y8 Preset pressure m, ft
Code Map
y1 x1
y2 x3
y3 x4
y4 x5 / x6
y5 x6
y6 No
y7 n/a
y8 n/a
• X2 is not used, since HAMMER does not track tank geometry of liquid level.
x1 Diameter m, ft
x5 Check-valve resistance N, lb
y2 Diameter mm, in
Code Map
y1 n/a x2
y2 x1
y3 n/a
y4 n/a x2
y5 Yes
y6 x3 / x4
y7 x4
y8 n/a
• X5 and X6 are not used, since HAMMER does not account for check-valve resistance.
x1 Diameter m, ft
y2 Diameter mm, in
Code Map
y1 n/a
y2 x1
y3 n/a
y4 x2
y5 No
y6 x3 / x4
y7 x4
y8 n/a
• HAMMER can track tank-overflow rate using y4 and y8, but Surge does not.
x5 External head m, ft
Code Map
y1 SRV
y2 n/a
y3 n/a
y4 n/a
y5 x1
y6 n/a
y7 n/a
y8 n/a
y9 n/a
y10 n/a
y11 n/a
• HAMMER SRV uses a spring constant, y11, not a pre-set opening time, x2. For the same
reason, there is no need for x3 and x4; the spring closes the valve.
• x5, external head, is not used in HAMMER. Instead, connect SRV to suction piping (the default
connection is to atmosphere).
• x6, x7, and x8 are not used in HAMMER. HAMMER assumes the valve is piloted locally, so
there is no need to describe losses in a sensing line.
y2 Pressure m, ft
y3 Threshold pressure m, ft
Code Map
y1 n/a
y2 n/a
y3 x1
• x2 and x3 are not used because HAMMER assumes connecting lines are not limiting, unless
you model them as such using small diameter pipes. HAMMER has y1 and y2 that can be used
to account for the orifice and those two connecting pipes, if any.
Code Map
y1 x3
y2 x1 (=x2)
y3 n/a
y4 x1 (=x2)
y5 x1 (=x2)
x5 External head m, ft
Code Map
y1 SAV
y2 n/a
y3 n/a
y4 x1
y5 n/a
y6 x2
y7 x3
y8 x4
y9 n/a
y10 n/a
y11 n/a
• x5, external head, is not used in HAMMER. Instead, SAV is‘connected‘to atmosphere) by
default. This is often similar to the head in the suction system at a reservoir.
• x6, sensing node, is not used in HAMMER. Instead, HAMMER assumes that the valve is
piloted locally. Note that SAV pilots are rarely more than 10 m away, so the wave travel time of
0.01 seconds may be less than a simulation time step.
• x7 and x8, inflow and outflow resistance, are not used in HAMMER, but these can probably be
converted to y10, SAV Cv at full opening.
Code Map
y1 x3
y2 x2
y3 n/a
y4 x2
y5 x1
Code Map
y1 x6
y2 x3
y3 x4 (volume)
y4 x2
y5 x1
• x5 is not used in HAMMER. Instead, you must convert flow or pressure (possibly obtained from
a trial HAMMER simulation) to an equivalent y3 transition volume.
Use the Search dialog box to quickly locate any element in the drawing by its label.
For more information, see “Finding Elements” on page 5-201.
Enter the Label: Type the element name for which you are searching.
Search for Node/Pipe: Select whether the element that you are searching for
is a node or a pipe.
By Label/Node: Select whether you want to search for the pipe by its
label name or by the node name.
Find: Click Find to being the search for the item you
specified.
Select the units, system, precision, and scientific notation displayed for each attribute.
Click in a cell to change an attribute or setting. For example, to change the Unit for
Flow, click the Unit cell in row 6 and select the unit you want to use from the drop-
down list. For more information, see “FlexUnits” on page 4-187.
Displays the average and shortest pipe lengths in the model. To merge pipes, select the
length, or fraction of the average length, below which pipes will be merged with a
neighbor. HAMMER will merge any two pipes with the same wave speed, diameter
and material (if defined) that connect at a junction and satisfy the length criterion.
Pipes will not be merged if:
The Color Mapping box is only available after you click Go and run your model. This
option lets you color code items. The color coding is available for pipes and nodes.
For more information, see “Part 4—Color-Coding Maps, Profiles, and Point Histo-
ries” on page 3-155.
The following are the attributes available for color coding of pipes:
• Off—Select this if you do not want to color code your pipes based on any
attribute.
• Maximum/Minimum Head—Color codes the maximum or minimum transient
head experienced at any point in the pipe throughout the simulation period.
• Maximum/Minimum Pressure—Color codes the maximum or minimum tran-
sient pressure experienced at any point in the pipe throughout the simulation
period.
• Maximum/Minimum Flow—Color codes the maximum or minimum transient
flow experienced at any point in the pipe throughout the simulation period. Note
that the initial flow direction at time zero is considered as positive flow.
• Maximum Vapor Volume—Color codes the maximum vapor volume, if any, that
occurred at all locations in the pipe at any time during the simulation.
• Maximum Air Volume—Color codes the maximum air volume, if any, that
occurred at all locations in the pipe at any time during the simulation.
• Wave Speed Adjustment—Color codes the percent HAMMER has adjusted each
pipe’s wave speed based on the selected time step.
• Length Adjustment—Color codes the percent HAMMER has adjusted each
pipe’s length based on the selected time step.
The following are the attributes available for color coding of nodes:
• Off—Select this if you do not want to color code your nodes based on any
attribute.
• Maximum/Minimum Head—Color codes the maximum or minimum transient
head experienced at nodes, e.g. in any pipe linked with that node.
• Maximum/Minimum Pressure—Color codes the maximum or minimum tran-
sient pressure experienced at nodes, e.g. in any pipe linked with that node.
• Maximum Vapor Volume—Color codes the maximum vapor volume, if any, that
occurred at a node at any time during the simulation.
• Maximum Air Volume—Color codes the maximum air volume, if any, that
occurred at a node at any time during the simulation.
Click Scales to open the Color Map Settings dialog box to select the color ramps and
scale for your color map. Click Legend and then click the Drawing Pane to place a
legend that describes the color coding.
Color Map Settings Dialog Box lets you set the color coding for pipes or nodes. The
title bar shows the name of the attribute for which color coding settings are displayed.
You can view the changes instantly (check Live Preview) or after clicking OK.
Color Setting:
• %—Percentage value of the attribute being color coded. 100% is maximum value
among all elements during the period of simulation or the Maximum Value and
Minimum Value you enter.
• Color—The color that corresponds to the percentage and value associated with an
attribute. This color is displayed for the selected percentage. Click a color to
display the Choose Color dialog (see “Choose Color Dialog Box” on page 2-83).
• Value—Absolute value of the attribute being color coded.
Buttons:
Scale Type:
• Quartile, Quintile, Decile, and Percentile correspond to upper and lower range
limits of 25, 20, 10 and 1 percent, respectively—a quick way to assign limits for
extreme values based on ranked statistics.
• You can also click Custom (Percent) to use the Low Percent and High Percent
sliders or Custom (Value) to enter the limiting values directly.
Scale Limits:
The Choose Color dialog box lets you select a color for use in the color map.
Click OK to apply that color to your color map. Click Cancel to close the dialog box
without making a change and click Reset to set the color options to their defaults.
Colors
To change colors, click the color you want to change, or click the Ellipsis (…) button
that corresponds to the item whose color you want to change.
Rubber Band: This is the color of the border of the bounding box
that you draw when you click and drag to select
elements in the Drawing Pane.
Handle: This is the color for the rectangle that goes around a
selected element.
Highlight: The color for selected pipes.
Background: The color for the main display.
Node: The color for all of the individual nodes in the model
When changing colors, you can choose a predefined color from a drop-down list or
enter the RGB values for the color. After you change a color, click the Close button in
the top-right of the Color Editor dialog box to save your change.
Tooltips
Use the Tooltips tab to control how tooltips display in HAMMER.
Initial Delay: Set the time it takes for the tooltips to open after you
move the mouse over an element in a dialog box.
(Unit is milliseconds.)
Enable Tooltips: Set this to True if you want to use tooltips or False if
you want tooltips turned off and not to display in
HAMMER.
Tabs
Show Properties On Create: Shows the property pane or tabs at the right of the
Drawing Pane when you're creating an element. This
has no effect if the tabs are already shown.
Show Properties On Select: Shows the property pane or tabs at the right Drawing
Pane when you're selecting an element. Similarly, it
has no effect if the tabs are already shown.
File I/O
This tab lets you set default directories used by HAMMER for Data Path, Output Path,
and Report Path. Specify a default path and directory by clicking Browse, navigating
to and selecting the location you want to use.
• Microsoft Access .exe, Epanet .exe, and Text Editor .exe let you set the location of
these program files that HAMMER can use.
• The location of the Microsoft Access database allows you to open tabular reports
generated by HAMMER, and the default text editor is used when you open ASCII
.rpt or .out files. Wordpad and Notepad are examples of text editors.
• Epanet .exe must display the path to the EPANET directory on your computer
before you can import or export EPANET files.
Other Options
Default Font: Select a font to be used for all projects using the
Default Font drop down menu. A range of font types
are available.
Anti-Alias: Set this to True to enhance the appearance of straight
lines in the HAMMER Drawing Pane.
Show Startup Dialog: Set this to True to display the Welcome to
HAMMER dialog box when you open HAMMER.
Optimized Anim. Performance: Set this to True to minimize the amount of RAM
required for animations or set this to False to
maximize the speed with which the animation can be
made ready.
For more information on the HAMMER Viewer, see “Output Windows: HAMMER
Viewer” on page 2-32.
Use the animation control buttons (reverse, forward, stop, fast reverse, and fast
forward) to control the animation.
File > Save Animation/As: Saves the location and size of every HAMMER
graph window currently shown on the screen in a
HAMMER animation file (.ani). You may be
prompted to save all active graphs first. It is faster to
open an animation file from the HAMMER Viewer
than to open each graph file and reposition each one
manually.
View Menu: Use the View menu to set whether you want the full
or compact version of the Animation Control dialog
box.
Speed: Set the number of frames shown per second.
Frame: Set the current frame in your animation.
Animation control
buttons
Set the font family, style, and size you want to use in a HAMMER graph. (To open a
HAMMER graph, click Tools > Viewer > Graphics.) You should use font families
that are installed on your computer. These are installed in your Winnt\Fonts or
\Windows\Fonts directories (and perhaps in other locations if you purchased fonts or
font software).
If two HAMMER project files share pipes, you can copy the path information from
one project file to the other. For more information, see “How Do I Copy a Path from
One HAMMER Project to Another?” on page A-330.
Source: The HAMMER project file where the path you want
to copy is defined.
Target: The HAMMER project file to which you want to
copy the path information.
Browse: Click Browse to select the Source and Target
HAMMER files.
New Paths: Select the check boxes of paths that you want to copy
from the source project.
Existing Paths: Paths that already exist in the destination project are
listed.
The Image Settings dialog box lets you define setting for HAMMER Screen Captures
using the Capture Screen utility. You can use the Capture Screen toolbar icon to
save the contents of the current Drawing Pane view to a .jpeg or .gif graphic
file. You can paste this graphic in reports and figures.
File Setting
• File Type—Lets you set the screen capture file type to .JPEG. If you don’t set this
option, you can save screen captures as .GIF files.
• File—Lets you enter a file name and location for the screen capture. Click the
Browse button to navigate to the folder on your computer in which you want to
save the screen capture.
Image Setting
• Select a font, style, size, and color for the selected text
• Type the text you want to display (this is “text” by default)
• Show or hide the selected text by selecting or deselecting the Show check box
• Cut (Ctrl + X)—Deletes the selected item or group of items and places it
on the Windows clipboard. This item can be pasted back into HAMMER or
other programs.
• Copy (Ctrl + C)—Copies the selected item or group of items and places it
on the Windows clipboard. This items can be pasted back into HAMMER
or other programs.
• Paste (Ctrl + V)—Inserts the item on the Windows Clipboard into the
Drawing Pane at the current cursor position and selects them. The same
items can be pasted repeatedly to replicate similar pump suction and
discharge piping, for example.
• Select—After clicking this toolbar icon, move the cursor over any
hydraulic element in the Drawing Pane and click to select it.
• Pan—After clicking this toolbar icon, hold down the left mouse button and
move the mouse to reposition the Drawing Pane window.
• Zoom In—Magnifies an area of the Drawing Pane centered on the cursor
(left click).
• Zoom Out—Reduces the magnification of an area of the Drawing Pane
centered on the cursor (left click) so you can see more of a large drawing.
• Normalize Window—Resizes all symbols and text in the Drawing Pane to
a convenient size for the current window. These symbol sizes persist when
the zoom level changes.
• Zoom To Area—Magnify an area of the drawing by holding down the left
mouse button, moving the cursor, and releasing it to define the Zoom
Window.
• Zoom Extents—Zooms to the full extent of the workspace so that every
hydraulic element is contained in the Drawing Pane.
2.7.1 Boundaries
• Air Valve—An air-release valve which allows air to exit the system to
atmospheric pressure (but prevents fluid from escaping).
• Air Valve (Slow-Closing) between 2 Pipes—An air-release valve with a
damped closure mechanism to minimize valve slam–related transient
pressures.
• SAV/SRV at End of 1 Pipe—A surge-anticipator valve (SAV) or surge-
relief valve (SRV) at the end of a pipe releases fluid from the system to
atmospheric pressure.
• SAV/SRV between 2 Pipes—A surge-anticipator valve (SAV) or surge-
relief valve (SRV) at the end of a pipe releases fluid from the system to
another part of the system, such as a reservoir or suction piping system.
• Surge Tank (Simple)—A cylindrical tank which allows fluid to enter the
pipeline when pressures drop and returns fluid to the tank when pressures
increase.
• Surge Tank (Differential) between 2 Pipes—A specialized surge tank
within a larger tank which provides a fast response.
• Shut After Time Delay, between 2 Pipes—A pump between two pipe
segments which shuts down after a user-specified time delay. Useful to
simulate a power failure.
• Constant Speed between 2 Pipes - No Pump Curve—A simplified
constant-speed pump element between two pipe segments.
• Constant Speed at Reservoir - Pump Curve—A constant-speed pump
directly connected to a reservoir of fluid, which supports user-defined
pump curves.
• Constant Speed, between 2 Pipes - Pump Curve—A constant-speed
pump between two pipes, which supports user-defined pump curves.
• Variable Speed, between 2 Pipes—A variable-speed (or torque) pump
between two pipes. Also known as a variable-frequency drive or VFD.
• Turbine between 2 Pipes—A turbine between two pipes.
HAMMER is a very efficient and powerful tool for simulating hydraulic transients in
pipelines and networks. The quick-start lessons give you hands-on experience with
many of HAMMER’s features and capabilities. These detailed lessons will help you to
explore and understand the following topics:
Another way to become acquainted with HAMMER is to run and experiment with the
sample files, located in the \Haestad\HAMR\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 HAMMER directly,
using the advanced 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
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
HAMMER take care of the link-node connectivity and element labels, which are
assigned automatically. 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 “Table 3-1: Nodes and Elevations”on
page 3-109 and “Table 3-2: Link (Pipe) Properties and Steady State HGL”on page 3-
110. Other data will be discussed below, as you add or modify each hydraulic element
in this system.
1. Start HAMMER from the Windows start menu using Start > Programs >
Haestad Methods > HAMMER > HAMMER or double-click the HAMMER
desktop icon (if any).
2. Click File > New to start a new project. This starts HAMMER’s graphical element
editor, so you can draw the system by inserting hydraulic elements.
3. Set the default unit system for this project to SI.
Click the button labeled U.S., which is displayed near the right end of the status
bar (to the right of the Show Tabs button), so that it displays: SI.
If this button
displays U.S.,
click it so that SI
displays
4. Add a node.
a. Click Add Node.
b. Move the cursor over the drawing pane and click to insert a node.
HAMMER automatically names this node J1.
c. Select the node and rename it by entering Res1 in the label field of the
element editor pane.
5. Add three more nodes to the right of Res1 and rename them PJ1, PMP1, and PJ2.
6. Convert PMP1 to a pump by selecting right-clicking it and selecting Convert
Type > Rotating Equipment > Constant Speed between 2 Pipes - No Pump
Curve.
Table 3-1: Nodes and Elevations
J1 408 Feedermain
J2 395 Feedermain
J3 395 Feedermain
J4 386 Feedermain
J5 380 Feedermain
J6 420 Feedermain
Note: You can create nodes and link them together automatically
using the Add Pipe button. Just click the location where you
want the first node, move the cursor, click again and repeat the
procedure until done. The majority of nodes in the system can
be entered in this way.
8. Complete the schematic of the entire transmission pipeline by adding all the nodes
and pipes shown in “Table 3-1: Nodes and Elevations”on page 3-109 and “Table
3-2: Link (Pipe) Properties and Steady State HGL”on page 3-110.
Note: If the steady-state HGL was not provided, you could calculate it
manually using the Hazen-Williams or Darcy-Weisbach formula
or obtain it by running a steady-state model such as WaterCAD/
WaterGEMS, EPANET, or PIPE2000.
Darcy-
Node Node Length Diameter F. Node T. Node Weisbach
Pipe ID
From To (m) (mm) Hd (m) Hd (m) Friction
Factor (f)
9. Set the Init. Flow for all pipes (Q) to 467.996 L/s.
10. Set the Wave Speed for all pipes to 1,200 m/s.
Once you have finished adding these hydraulic elements to the system, your sche-
matic should look like the following figure.
Add pipe
Add node
Specify units
for this project
a. Select individual nodes from the drawing pane and set their names and eleva-
tions as shown in “Table 3-1: Nodes and Elevations”on page 3-109. Alterna-
tively, you can select All Nodes from the drop-down menu at the top of the
element selector in the Properties tab, as shown below, to display them.
Again, you must set the name and provide the correct elevation for each node.
b. Similarly, select each pipe and set its label and other properties as shown in
“Table 3-2: Link (Pipe) Properties and Steady State HGL”on page 3-110.
11. Click File > Save As to select a directory and save your file with a name such as
Lesson1.hif (HAMMER file names are not case sensitive).
Wave speed
for this pipe
Steady-state flow
Note: The results of the imported EPANET model will not match those
of the model for which you entered data manually unless you
change the lengths of pipes PMP1S and PMP1D as shown in
“Table 3-2: Link (Pipe) Properties and Steady State HGL”on page 3-
110.
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 (see “HAMMER Theory and Practice” on page B-333).
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 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.
Before running the HAMMER model you have created, you need to set certain run-
time parameters such as the fluid properties, piping system properties, run duration,
and output requirements.
1. Click Tools > Project Options or click the Project Options icon in the toolbar.
2. Select the Summary (default) tab and set the following parameters:
Specify run
duration in
seconds or steps
Default vapor
pressure
3. Click the Report Points tab and click Specific Points from the Report drop-down
list.
4. Select the following points to report on: PMP1D:PMP1, P1:J1, and P2:J1 to
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).
Specify selection
type for report
points
Nodes added
for reporting
Remaining
Click to add or
points (nodes)
remove report
in the system
points
Note: Ctrl+click and Shift+click only work for removing elements from
the Report list; you cannot use Ctrl+click and Shift+Click to
select multiple pipes in the System list.
5. Click the Report Paths tab and then click Add Path to create a new path, then
name it Main.
6. Select the pipes PMP1D, P1, P2, P3, P4, P5, P6 and P7 in the System pane and
add them to the Main path by clicking the > button.
7. Click OK to close the window.
Click to add
more paths
Click to show
path in the
drawing pane
Pipes in the
path: Main
Click to add or
remove pipes
8. Save the file with the same name (Lesson1.hif) using File > Save. You are now
ready to run your HAMMER model.
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 HAMMER to assess the effectiveness of the devices you selected
to control transient pressures.
1. Right-click the pump node (PMP1) and select Convert Type > Rotating Equip-
ment > Shut After Time Delay, between 2 Pipes.
You can also change this pump’s type from the toolbar by selecting it from the
Rotating Equipment menu on the toolbar.
Time delay
before shutdown
Time to close
check valve (no
delay)
g. Inertia of Pump: This is the combined pump, shaft, and motor inertia: set it
to 169 nm2. This can be obtained from the manufacturer or estimated from its
power rating (see “HAMMER Theory and Practice” on page B-333).
h. Rotational Speed: Set this to 1760.0.
6. Click Run; a HAMMER run status window opens and displays the progress of the
elapsed run.
If you suspect that a data-entry error may have occurred, you can select Data
Check before clicking Run, to perform a short run that detects errors before a
(much longer) full run.
7. When the run is completed, the HAMMER Viewer opens automatically to let you
view graphs and animate the hydraulic transient heads and flows.
Click to plot
profile
Select parameter
to plot
Select path
Select point Select parameter to plot
to plot to plot
By default, 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 megabytes). For the
specific 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: 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: HAMMER can plot the time-dependent changes in transient flow,
and head and display the volume of vapor or air at any point of interest.
3. Animations: You can click Animate to visualize how system variables change
over time after the power failure. Every path and history on the screen is synchro-
nized 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 HAMMER run to
check for errors and, if none are found, learn something about the dynamic nature of
the water system (either experiment or see “Part 5—Animating Transient Results at
Points and along Profiles” on page 3-125 for instructions on how to do the following).
• 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.
Steady-state head
Pipe elevation
Min. transient head
It is clear that high pressures are caused by the sudden collapse of a vapor pocket at
node J1. You could install a Gas Vessel 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 HAMMER and
comparing the results with those of the unprotected run:
1. Right-click node J1 and select Convert Type > Protective Equipment > Gas
Vessel.
4. Select File > Save As and save the file with a new name:
Lesson1_Protection.hif.
5. Click GO, check Generate Animation Data and click Run to run this model.
6. If you have done everything correctly, the maximum transient head envelopes
with gas vessel protection should look as follows.
Steady-state head
Min. transient head
Pipe elevation
Installing a Gas Vessel 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 Gas Vessel 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 HAMMER
simulations, it is worthwhile to compare and contrast the results with or without the
Gas Vessel.
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 HAMMER will not
generate this output to avoid creating excessively large output files (.hof). 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, HAMMER only generates the Animation Data (for on-screen
animations) or Output Database (for tabular reports in Access) if you select this
option in the Run dialog box.
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 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 HAMMER runs. At any time, or once you feel
you are close to a definitive surge-control solution, you can generate animation data in
one of two ways:
• Use HAMMER to generate the animation data files before you run the program by
clicking Generate Animation Data in the run dialog box (as you have already
done this for the two previous runs). After the run, HAMMER automatically starts
the HAMMER Viewer.
• Immediately after a run (i.e., prior to the next run), you can generate animation
data using Tools > Generate Animations. You will need to load this animation
data using Tools > Viewer > Graphics and selecting the correct HAMMER
output file (.hof) prior to animating the results on screen.
Once you have generated the animation data files, you will be able to display anima-
tions without running HAMMER again. This saves a lot of time when comparing the
results of several surge-control alternatives.
You can load the animation data files using the HAMMER Viewer:
4. Click the Animate button. This loads the animation data and Animation Control.
5. On the Animation Controller, click the play button to start the animation.
At a certain time (19.5000 s), the animation window should look similar to the
following figure.
Animated profile
Pipe elevation
Min. transient head
6. Right-click on the graph and click Save as to save the result displayed on screen
as a HAMMER graph (.grp) or Windows bitmap (.bmp). You can reload
HAMMER graphs later.
1. Using the HAMMER Viewer, you can plot a transient history at any point in the
system to display the temporal variation of selected parameters (such as pressures
and flow). You can also plot a profile of selected variables along a particular path
to display the spatial extent of transient phenomena. Finally you can compare the
results of two similar graphs generated with or without protection, for example.
Let’s start with the simulated results without protection.
2. Select Tools > Viewer> Graphics and load Lesson1.hof file to start the
HAMMER Viewer.
3. Select:
– History: P1:J1
– Graph Type: Flow & Head
8. To change the figure number, title, date, and project number, double-click them
and make the changes.
Double-click to
change the plot title
HAMMER makes it easy to import hydraulic model data from other hydraulic models
or database-enabled application software such as GIS (or to export HAMMER results
to such software). In this Lesson, you will learn how to
Importing a model saves time and reduces transcription errors because HAMMER
automatically converts the majority of the data, but you still need to check the model
and enter information specific to hydraulic transient analysis.
Note: You can use the Zoom Full Extent and Reset Zoom buttons to
scale the network in the HAMMER window.
2. Click File > Open, and open Lesson2.hif (in the \HAMR\Tutorials\Lesson2
folder).
3. Click File > Export > Database > Input to create the HAMMER input datastore
in .mdb format.
4. Name the file, Lesson2_Input.mdb.
5. HAMMER will create database tables and display the a message that the tables
were successfully created. Click OK to continue.
6. A control window opens, letting you Create ASCII File, open the Database
Window, or Exit Access.
Note: You can make changes directly to the HAMMER input datastore
or you can import data from external sources to any of its tables.
Following this, you can import the modified HAMMER input
datastore to perform another transient analysis.
7. Double-click an individual table, for example Pipes, to view and edit an element.
For your hydraulic system, the Pipes Table should appear as follows.
8. Experiment with other database tables (such as nodes, system, or path), make any
changes you need, and save the file with the same name.
Even if you did not select Generate Output Database, you can click File > Export
> Database > Output to create a HAMMER output datastore. HAMMER creates
an output database using the same name as the HAMMER input file (in this case
Lesson2.mdb) and opens a control window:
2. Select Extremes and click Display… to view the tabulated results in Access. The
table should look appear as shown below. You can also view reports for vapor
pockets, nodes, pipes, or the system summary.
HAMMER cannot currently import a HAMMER input datastore directly using File >
Import. However, you can import an input datastore into HAMMER using the
following procedure:
1. From Windows Explorer or your favorite Windows file manager, locate the file
Lesson2-input.mdb and double-click it to open Access and automatically load
the input datastore you have just created.
2. Click Database Window to display the list of tables for this pipe system.
3. Make any changes to the datastore; for example, connect two pipes to node J2 and
modify the Access database tables for Pipes, Nodes, and NodeDataSmall as the
highlighted rows in the following figures show:
4. Save the database file with the same or a new name (same name is the default) and
close the database.
5. Open Lesson2-input.mdb in Access.
6. When prompted, click Create ASCII File to create a HAMMER input file in a
temporary .inp format.
7. Save this file with the name Lesson2-InputFromDatabase.inp and click OK.
HAMMER displays the status of the creation of the file.
8. In HAMMER Modeler, click File > Open and select the HAMMER input file you
have just created. You will see the modified pipe network with the two new pipes
you just added to the HAMMER datastore’s database tables.
9. HAMMER automatically converts .inp files to the HAMMER input file format
(.hif). If a file with the same name exists, HAMMER prompts you to overwrite it
or provide a different file name.
Using this technique, you can also modify an existing HAMMER input database by
linking it to other pipe-system database files from external sources, such as Access
databases created by AutoCAD or GIS software.
You can import system data from Haestad Methods’ WaterCAD or WaterGEMS
hydraulic models directly into HAMMER using WaterObjects technology.
1. Select File > Import > Network > WaterCAD/WaterGEMS to open the
WaterCAD/WaterGEMS Import dialog box.
2. Use File > Open or the Ellipsis (…) button to select a WaterCAD or WaterGEMS
file. The path of the file is listed in the project field.
3. Select a Scenario, Units, and Calculation Options (Steady-State or Extended-
Period Simulation time step).
4. Click Run Simulation to generate steady-state hydraulic results.
5. Click Create HAMMER Input File to generate an .hif file (HAMMER will
prompt you for the file name).
After the input file is created, a message box will display any notes about the
creation.
1. Click File > Import > Network > Epanet 2.0. The Import EPANET File dialog
box opens.
2. Click the EPANET Report File Browse button to select the EPANET Report File,
Lesson2_Epanet.rpt, from the \Haestad \HAMR\Tutorials\Lesson2\EPANET
folder.
3. Select the EPANET Network File Browse button to select Lesson2_Epanet.inp
from the same folder.
4. Click the Output HAMMER File Browse button, and name the HAMMER input
file Lesson2.hif.
5. Leaving the import Mode setting set to New.
6. Click Import. A dialog box will indicate the status of the import process.
7. Select File > Open to load the HAMMER input file, Lesson2.hif, from the folder
you specified during the import operation.
8. Compare this imported pipeline with the one you created using the HAMMER
Modeler interface (see “Part 1—Creating or Importing a Steady-State Model” on
page 3-106).
1. Import the steady-state WaterCAD model into HAMMER and verify it.
2. Select a transient event to analyze and run the HAMMER model.
3. Annotate and color-code the resulting map, profiles, and histories using
HAMMER’s powerful, built-in visualization capabilities.
Follow these steps to import model data and steady-state results from WaterCAD or
WaterGEMS into HAMMER (see “Part 3—Importing Haestad Methods Models
Using WaterObjects” on page 3-139):
1. Start HAMMER from the Windows Start menu using Start > All Programs >
Haestad Methods > HAMMER > HAMMER or double-click the HAMMER
desktop icon (if any).
2. Click File > Import > Network > WaterCAD/WaterGEMS to open the Water-
Object importer.
3. Browse your system to locate and open the file Lesson3-WtrGems.mdb from the
folder Haestad\HAMR\Tutorials\Lesson3\WaterGEMS.
4. Click Steady-state, then click Run Simulation. Select cms, m in the Units drop-
down list. Click Create HAMMER Input File and save the HAMMER input file
as Lesson3.hif.
Note: Set the Control Status of valve VLV1 to Throttled or Wide Open.
Click Operating Rule and set the Relative Closure to 0 at 0 s and
0 at 1000 s (for example), so that the valve will remain fully open
throughout the simulation.
Inspecting the steady-state model results using HAMMER Modeler reveals that
the water transmission main now carries only 207 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.
5. By default, HAMMER selects a Constant speed pump (with no pump curve) to
represent the imported pump. Prior to running the HAMMER model of this
system, you need to select some profiles and points of interest.
6. Click Tools > Project Options and select the Report Points tab. Add nodes
PMP1D:PMP1, P1:J1, P2:J1, P2:J2, P8:J2, P27:J19, P28:J19, P47:J34, and
P50:J37 to the report points (you learned how to do this in Lesson 1).
7. Click the Report Paths tab and create three paths as follows:
– Create Path1 and add pipes PMP1D, P1, P2, P3, P4, P5, P6, and P7 to it.
– Create Path2 and add pipes PMP1D, P1, P2, P8, VLV1U, VLV1D, P9, P10,
P14, P48, P49, and P50 to it.
– Create Path3 and add pipes PMP1D, P1, P2, P8, VLV1U, VLV1D, P9, P15,
P22, P24, P28, P30, P46, and P47 to it.
13. Click Plot to generate a plot of the hydraulic transient history of Flow & Head at
the pumping station. There should be no significant change in the steady-state
conditions with time.
Results from the 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 imported steady-state model can be considered as correct. 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 install a
variable-frequency drive (VFD), also known as a variable-speed pump.
Note: You will be prompted to reset the computed results. Click Yes.
2. You can use either Speed or Torque to control the VFD pump ramp times. In this
lesson, you will learn how to control the pump using Speed. The property window
for Variable Speed, between 2 Pipes appears as follows.
Note: HAMMER saves your data automatically when you exit a dialog
box by clicking Close.
3. Click the drop-down list next to the Operating Rule. A data table for the pump’s
Speed and operating Time appears. Fill the table as indicated and click Close to
leave the table.
4. Click Go to open the Run dialog box. Check Generate Animation Data and
click Run to start the simulation. You will need the animation data later to
animate the results on screen. When the run completes, it automatically loads the
HAMMER Viewer, from which you can plot and animate your results.
5. Plot the transient history 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 re-
forming 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.
6. Plot the maximum and minimum transient head envelopes along the Paths 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.
8. 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.
9. 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.
• A gas vessel or air chamber at node J1 similar to the protection used in Lesson
1. Due to the connected pipe network, transient pressure pulses fragment and
attenuate more rapidly and there is much less flow in the pipeline; therefore a 5 m3
gas vessel is adequate. This is a significant reduction compared with the 20 m3 gas
vessel in Lesson 1.
• A simple flow-through surge tank or standpipe at the node J19. A combination
air valve could also be considered for this location if freezing or land-acquisition
costs are a concern.
1. Right-click node J1 and select Convert Type > Protective Equipment > Gas
Vessel.
2. Enter the following Gas Vessel parameters:
3. Right-click node J19 and select Convert Type > Protective Equipment > Surge
Tank (Simple).
4. Enter the following simple surge tank’s parameters:
5. Select File > Save As to save the file with the name Lesson3-Protection.hif.
6. Click Go to run the model (check the option Generate Animation Data).
7. Once the run completes and HAMMER Viewer opens, select Path1, Path2, and
Path3 in sequence and click Plot to generate graphs of their transient head enve-
lopes. The envelope along Path3 with surge protection should look like the
following figure:
– No subatmospheric pressures occur anywhere in the distribution network
(along Path3).
– High transient pressures are comparable to the steady-state pressures for the
downstream half of Path3. Keeping transient water pressures within a narrow
band reduces complaints and it could be important for certain industries.
8. Compare the transient head envelopes and transient histories for HAMMER runs
with different parameters, without and with protection:
– You may be able to reduce the size (and cost) of the Gas Vessel and Surge
Tank (Simple) by changing their parameters until surge pressures are unac-
ceptable.
– Instead of the Gas Vessel and Surge Tank, you can also try installing a two-
way or “combination” Air Valve at nodes J1 and J19.
In the design of a surge-control strategy for a water distribution network, the extreme
states are usually of the greatest interest. HAMMER has built-in capabilities to visu-
alize 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. HAMMER Modeler also displays line thicknesses in
proportion to the pipes’ diameter.
In this part of the lesson, you will learn how to use HAMMER’s color-coding features
to make your presentation more intuitive and compelling to your audiences.
1. In HAMMER Modeler, click File > Open and load the file Lesson3.hif.
2. Click the Go button on the HAMMER toolbar and click Run to generate output to
be displayed with the color-coding. When the run is completed, you will see that
the entire pipe network, including the nodes, is now shown in color. By default,
HAMMER uses Maximum Head for both the pipes and nodes for color-coding.
3. Select any node on the map and set maximum and minimum pressures in the
network to psi using FlexUnit. You can do this by clicking on the unit indicator in
the Element Editor; for example, m-head or ft-head.
4. Use the Map Selection drop-down box on the HAMMER toolbar (left of the
Globe icon) to select the parameters you want to display for pipes and nodes. The
following screen prompts you for a selection. Keep Maximum Head (for pipes)
and select Maximum Pressure (for the nodes).
5. Click on the Scales button at the bottom of the Map Selection choice list. The
color settings correspond either to the Maximum Head or Maximum Pressure,
if these are currently displayed in the Map Selection drop-down list. Select a
Percentile scale.
HAMMER’s Color Map Settings dialog for the variable Maximum Pressure
(for nodes) shows the maximum and minimum values of this variable using the
units you selected with the FlexUnits manager. The appearance of the resulting
map depends on how skillfully you divide the total range into intervals and how
you set colors corresponding to each of the interval boundaries:
– Select equal intervals by clicking on the Quartile, Quintile, Decile, and
Percentile Scale Type. These correspond to upper and lower range limits of
25, 20, 10, and 1 percent, respectively.
– You can also click Custom (Percent) to use the Low Percent and High
Percent sliders or Custom (Value) to enter the limiting values directly.
Throughout this process, you can press Preview to update the map color and see
the result of your changes as you make them. This saves a lot of time compared to
repeatedly opening the Color Map Settings dialog, making a selection, and
closing it again to view the resulting map.
6. In the Color Setting control, click the Add button to insert a new setpoint value,
in percent, and its corresponding color using the Color Bar. Set the values and
colors shown in the previous screen shot and click OK to return to HAMMER
Modeler.
7. Similarly, set the values and colors for pipes as indicated in the next screen
capture and click OK to return to HAMMER Modeler.
8. The resulting color-coded map for Maximum Head (for pipes) and Maximum
Pressure (for nodes) should look like the following figure:
9. Another way to obtain the above map using the Map Color Settings dialog is to
click Presets and select Lesson3-Pipes (for pipes) and Lesson3-Nodes (for
nodes) from the drop-down box. This will result in the same color map displayed
above.
10. Try different ways to set the Scale Type and Color Setting values for different
variables at pipes and nodes to try to make your presentation more descriptive.
For example, you could try the following:
– In the Map Color Settings dialog, select the Color Setting preset System:
Max. Head. Since suction line pressures are much lower than those in the
pipeline and distribution network, you can alter the Minimum Value by
clicking on Custom (Value) and entering 400 m. More of the pipes are now
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.
In Lesson 1 you learned how to add comments and change the graph’s title and figure
number using HAMMER Viewer. In this part of the lesson, you will learn more
advanced graphing features, such as FlexUnits, and how to add your organization’s
name and logo to the figures.
You will also learn how to add lines showing pipes’ working pressure or surge-
tolerance limits, to check which parts of your pipe system are more vulnerable to
surges and to help decide whether or not you need surge-protection equipment. Let’s
start with your results for the transient analysis without surge protection and follow
these steps:
1. In HAMMER Modeler, click Tools > Viewer > Graphics to start the HAMMER
Viewer and load Lesson3.hof.
2. You can insert your company’s name and logo using the Tools > Set Logo and
Tools > Set Company Name menu commands in the HAMMER Viewer.
3. Select the Time History PMP1D:PMP1 and Graph Type Flow & Head and click
on Plot to generate the transient history at the pumping station. The head will be
plotted in m and the flow will be plotted in cms (SI units).
4. Right-click anywhere outside the graph to open the menu. Click FlexUnits to
open the FlexUnit Manager.
Note: HAMMER’s FlexUnits Manager allows you to select and plot your
results in different units, such as pressure head in U.S. units and
flow in SI units. You can select the display precision and use
scientific notation. Choices you make in the FlexUnits Manager
will not affect the accuracy of the solution or the underlying data
stored by HAMMER.
5. For plotting purposes, you can change the units for some variables using the Flex-
Units Manager by:
– Click SI for the Attribute Type row Elevation or Head under the column
System. This drop-down menu allows you to convert this variable to U.S.
units. As in other Haestad Methods software, FlexUnits automatically selects
a corresponding unit with a similar size: m in SI units converts to ft. in U.S.
units, in this case.
– If your results were either very large or small, you could also change the unit
to in., yd., mile, etc.
– Similarly, change the unit for Flow from cms to l/s by clicking on the
Attribute Type row Flow under the column Units. Change Display Precision
to zero for Flow.
6. 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, as shown in the
figure below.
7. To help interpret the maximum transient head envelope along the profiles, you can
add lines corresponding to the pipes’ working pressure or surge-tolerance limit. In
HAMMER Viewer, select Path (Profile) Path1 and Graph Type Path and click
Plot to view the graph.
8. Let’s assume that the working pressure of pipes in your network is 142 psi (100
m). Click on the graph frame and then right-click to display the menu. Click
Format Data to open the following dialog box:
9. Select Current Line: Lesson3: Path1: Elevation and click on the Add Segment.
A new segment is added parallel to the pipe. The offset is zero by default. Enter
100 in the Set Offset field and make sure there is a check in the Show box. You
can add another line segment with an offset of about 140 m to represent a typical
surge tolerance limit. This incorporates a safety factor for older pipes. You can
also change the line segments’ type, thickness, and color.
Note: If your current FlexUnits settings for pressure are psi or kPa, you
must convert the pipe’s working pressure and surge-tolerance
limits to their equivalent heads and draw a line this distance
above, and parallel to, your pipeline.
10. Click on the graph frame and then right-click to display the shortcut menu. Select
Format Graph > Draw > Text to add the labels “Maximum Transient Head”,
“Minimum Transient Head”, “Steady-state Head”, and “Pipe Elevation” to your
graphs. Double-click the text to select a font and size for this text. The graph
should now look like the following screen capture.:
11. Plot transient pressures envelopes along Path2 and Path3 and add the working
pressures in a similar way as you did for Path1 to check which part of your
network may need additional surge protection.
12. To visualize the system interactively, do the following:
a. Click Animate for Path3 and again for histories at end-points P27:J19 and
P2:J1 (only P27:J19 is shown in the next figure).
b. Rearrange the graphs on your desktop to look like the next figure. After
adding suitable annotations and titles, right-click each one and select Save As
> HAMMER Graph to save the to HAMMER graph files (.grp) for subse-
quent recall.
c. You can right-click any graph and turn its title bar off to maximize the propor-
tion of area available for graphs.
d. In the Animation Controller, click File > Save Animation As to save this
layout in a HAMMER animation layout file (.ani).
You can use the HAMMER Viewer to open a HAMMER output file (.hof),
then open its animation files (.ani) to re-create your screen layout automati-
cally. This simplifies the preparations required for later discussions.
Starting a HAMMER 4
Project
In this section, you will learn how HAMMER manages files and project data and the
ways in which you can import model data from other models or databases. You will
also learn how to enter project-specific information, including fundamental fluid and
pipe properties. Finally, you will learn how to use the powerful FlexUnit and
FlexTable features to select a global or variable-specific unit system, choose display
precision settings or globally edit parameter values.
HAMMER uses binary files with the extension .hif to store model-specific informa-
tion, including project option settings, color-coding, and annotations. Using the File >
New menu command creates a HAMMER input file in .hif format.
HAMMER results are saved to an output file which uses the .hof extension. Using the
File > Run menu command creates a HAMMER output file in .hof format (after the
run is completed). Clicking Generate Animation Data adds animation data to the
.hof file for each selected point and profile.
In addition to the .hif file format, network information and output results can also be
stored in (or retrieved from) the HAMMER datastore. A HAMMER datastore is saved
as a Microsoft Access .mdb file. Export your work to apply changes to a HAMMER
datastore using File > Export > Database > Input or File > Export > Database >
Output. For an example of how to do this, see “Part 1—Exporting an Input or Output
File to a HAMMER Datastore” on page 3-131.
The HAMMER datastore consists of several tables whose entries can be edited using
Access. You can create new entries in the datastore to add new hydraulic elements to a
model. The first step to import this data into HAMMER is to click Create ASCII File
(.inp) in the HAMMER database Control Window. This Control Window starts auto-
matically when you export a HAMMER input file to a datastore using File > Export >
Database > Input. Then, use File > Open to import the temporary ASCII .inp file
into a standard binary HAMMER input file (.hif).
HAMMER output graphs are saved in .grp files and HAMMER animation layouts are
saved in .ani files. For typical users and projects, it can take anywhere from a few
minutes to a half hour to create graph annotations and animation layouts. It is highly
recommended that you backup all .grp and .ani files in your project folder.
HAMMER also creates an empty output database template whether or not this option
is selected in the Run dialog. HAMMER does not need this .mdb to function but
Access scripts provided with HAMMER require it to generate tables and custom
reports. You can delete any .mdb file created by HAMMER, if you no longer require
it, or compress it using a third-party utility program.
HAMMER stores your Global HAMMER Options in files named: config.ini (an
ASCII text file that can be edited), and preferences.cfg. HAMMER stores your param-
eter Presets in a file named: Presets.lib. All these files are located in the main applica-
tion folder (typically ..\\Program Files\Haestad\HAMR). Copy them to the
corresponding folders other computers to make your defaults and libraries available.
HAMMER creates additional files in the same directory as your .hof file to save the
calculation results (.rpt, .out, .mdb). Since recomputing the input file can regenerate
these results, these files do not necessarily need to be included when backing up your
important model data. However, if you are unsure, back up all files present in your
project directory.
HAMMER does not support either multiple sessions or submodels. HAMMER uses a
single-document model. To compare results between different HAMMER project
files, you can:
• save each graph as a separate HAMMER graph file in .grp format, then cut and
paste the results between graphs using the HAMMER Viewer. Memory require-
ments vary with project size, but .grp files are quite compact.
• generate an output database for each database for each project to be compared.
• export specific FlexTables containing input and results to comma-delimited text
files, or copy table contents to the Windows clipboard and past into a spreadsheet.
• Use the File > ProjectWise commands to perform ProjectWise file operations,
such as Save, Open, and Change Datasource.
• The first time you choose one of the File > ProjectWise menu commands in your
current HAMMER session, you are prompted to log into a ProjectWise data-
source. The datasource you log into remains the current datasource until you
change it using the File > ProjectWise > Change Datasource command.
• Use HAMMER’s File > New command to create a new project. The project is not
stored in ProjectWise until you select File > ProjectWise > Save As.
• Use HAMMER’s File > Open command to open a local copy of the current
project.
• Use HAMMER’s File > Save command to save a copy of the current project to
your local computer.
• When you Close a project already stored in ProjectWise using File > Close, you
are prompted to select one of the following options:
– Check In—Updates the project in ProjectWise with your latest changes and
unlocks the project so other ProjectWise users can edit it.
– Unlock—Unlocks the project so other ProjectWise users can edit it but does
not update the project in ProjectWise. Note that this will abandon any changes
you have made since the last server update.
– 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 HAMMER but
continue working on the project later.
• In the HAMMER Options dialog box, there is an 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
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 immedi-
ately become visible to other ProjectWise users. This option is turned off by
default.
• In this release of HAMMER, calculation result files are not managed inside
ProjectWise. A local copy of reulsts is maintained on your computer, but to ensure
accurate results you should recalculate projects when you first open them from
ProjectWise.
• HAMMER projects associated with ProjectWise appear in the Most Recently
Used Files list (at the bottom of the File menu) in the following format:
pwname://PointServer:_TestDatasource/Documents/TestFolder/Test1.prj
• Default Data Source—This field displays the default ProjectWise data source. To
change the default datasource, click the ellipsis button to open a browse dialog,
which will allow you to specify the new data source.
• Update server on Save—When this box is checked, any time you save your
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 immedi-
ately become visible to other ProjectWise users.
You can quickly tell whether or not the current HAMMER project is in ProjectWise or
not by looking at the title bar and the status bar of the HAMMER window. If the
current project is in ProjectWise, “pwname://” will appear in front of the file name in
the title bar, and a ProjectWise icon will appear on the far right side of the status bar,
as shown below.
You can perform the following ProjectWise operations from within HAMMER:
1. Select File > ProjectWise > Open to open a project stored in ProjectWise.
2. Select File > ProjectWise > Change Datasource.
3. In the ProjectWise Log in dialog box, select a different ProjectWise datasource,
then click Log in.
1. Start HAMMER.
2. Select File > ProjectWise > Options.
3. In the ProjectWise Options dialog, click the ellipsis button and browse to the
ProjectWise datasource you want to use as the default, then click OK.
• Using File > ProjectWise > Save As—If there are background files, you are
prompted with two options: you can copy the background layer files to the project
folder for use by the project, or you can remove the background references and
manually reassign them once the project is in ProjectWise to other existing
ProjectWise documents.
• Using File > ProjectWise > Open—This works the same as the normal Project-
Wise > Open command, except that 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 Project Wise—
The ProjectWise Select Document dialog box opens, and you can choose any
existing ProjectWise document. You must have previously added these back-
ground layer files as described in the first bullet above, or by using the Project-
Wise Explorer.
• When you remove a background layer file reference from a project that exists in
ProjectWise, the reference to the file is removed but the file itself is not deleted
from 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.
Data can be imported into a new project or an existing project, for example to update
the steady-state heads at the beginning of a transient analysis. PIPE2000/SURGE2000
data can only be imported into a new HAMMER project file.
Note: We have made every effort to prevent the loss of data during
imports. However, all imported data should be checked for
accuracy. WaterCAD or WaterGEMS projects should open and
run in HAMMER after using the Import command, but additional
data is usually required before a hydraulic transient analysis
(e.g., pump and motor inertia).
Once you save the project in HAMMER file format, either .hif or
.mdb (datastore), the HAMMER project files can no longer be
opened in WaterCAD or WaterGEMS, but the original WaterCAD
and WaterGEMS files are not lost.
You can also use the File > Export menu command to export HAMMER output to
EPANET version 2.0 or to a Microsoft Access database in HAMMER datastore
format. If you intend to run an EPANET file exported from HAMMER, make sure the
HAMMER output represents a final steady state.
Note: In Global HAMMER Options, Epanet exe must display the path to
your EPANET directory before you can import or export EPANET
files (see “File I/O” on page 2-87).
In EPANET version 2.0, you will need to save the steady-state results to an EPANET
report (.rpt) file prior to importing them into HAMMER. For an extended-period
simulation (EPS), you must first select which time step you want to export from
EPANET.
Importing steady-state results from EPANET saves time and eliminates transcription
errors, but additional information is required prior to running a HAMMER model.
After importing your data into HAMMER, you will need to add data specific to
hydraulic transients.
To import EPANET model data and steady-state results into HAMMER, use the menu
command File > Import > Network > Epanet 2.0 and either import it into a new
HAMMER project file (set the import Mode to New) or use it to update an existing
HAMMER project file (set the import Mode to Update). For more information, see
“Importing from EPANET” on page 3-141.
After the transient energy has attenuated and a new steady state has been achieved or
if you created a steady-state model using HAMMER, you can also export some
HAMMER results to EPANET 2.0 using the menu command File > Export >
Network > Epanet 2.0.
By default, HAMMER uses its own input and output file formats. The HAMMER
datastore is an alternative method for creating and using input and output files to
analyze any pipe system whose data can be output to a Microsoft Access .mdb file.
HAMMER datastores can be used to create HAMMER input files from information
contained in your GIS (i.e., network data) or other databases (e.g., water demands
from meters).
For example, you can obtain system data and topology from a GIS and export it to an
.mdb connection file (e.g., HAMMER datastore). The process is described in “Part
2—Importing a HAMMER Datastore” on page 3-135. After importing a HAMMER
datastore, you will typically need to add data specific to hydraulic transients, such as a
pressure wave speed for each pipe, then save this input file as a HAMMER .hif.
After running HAMMER, the results can be exported to an .mdb connection file if
you want to transfer data back to the GIS for postprocessing or visualization. Use the
command File > Export > Database > Output.
When new water-demand forecasts become available, you can export a new .mdb
connection file from your database or GIS, copy it to the HAMMER datastore and
import it. To do this, select Export ASCII from within Access and open the resulting
file in HAMMER (see “Part 2—Importing a HAMMER Datastore” on page 3-135).
Note: If you are saving a HAMMER file or database and are prompted
that the file already exists, save using a different name than the
one you have chosen, or make sure you are not overwriting an
existing WaterGEMS/WaterCAD file that you need.
You will need to select the scenario and alternative prior to using WaterObject tech-
nology to export model data and steady-state results from WaterCAD/WaterGEMS to
HAMMER. For an extended-period simulation (EPS) file, you must first select which
time step to export from WaterCAD or WaterGEMS to HAMMER.
To import WaterCAD or WaterGEMS model data and its steady-state results into
HAMMER, use the menu command File > Import > Network > WaterCAD/Water-
GEMS. For more information, see “Part 3—Importing Haestad Methods Models
Using WaterObjects” on page 3-139.
Importing steady-state results using WaterObject technology saves time and elimi-
nates transcription errors, but additional information is required prior to running a
HAMMER model.
You can import model data and steady-state results for a single time step into
HAMMER. If you are working from an extended-period simulation (EPS) file, you
must first select which time step to use.
To import PIPE2000 or Surge2000 model data and its steady-state results into
HAMMER, use the menu command File > Import > Network > Surge2000 and
import it into a new HAMMER project file. For more information, see “Importing
from PIPE2000 or Surge2000” on page 3-142.
Importing steady state results saves time and eliminates transcription errors, but addi-
tional information is required prior to running a HAMMER model.
Note: Options can be viewed or edited using the Tools > Global
HAMMER Options or Tools > Project Options menu commands.
You can also access the FlexUnit Manager using the Tools > FlexUnits menu
command (see “FlexUnits” on page 4-187) in order to globally specify the units and
number of decimal places for displaying each model parameter.
Project Summary
In the Summary tab of the Project Options window (Tools > Project Options), you
can enter the Project Title and describe the source of your model data. If the
HAMMER data were imported from another model, you can use the title label to enter
information such as the Source File, scenario and Alternative, and Time Step (if it
came from an EPS run). You can change any of this information at any time.
This tab is also where you specify the default pressure wave speed, specific gravity,
and vapor pressure for the liquid or slurry being simulated. If you are not sure which
specific gravity and vapor pressure parameters to use, click on the ellipsis button to
the right of either field to display a list: selecting one of these will automatically enter
this data as well as the kinematic viscosity (shown on the Preferences Tab).
You can also specify the run duration for the project, either in seconds or as a number
of time steps. This is discussed at length below.
HAMMER uses a default pressure wave speed of 1,000 m/s (3,280 ft./sec.). If your
system includes pipes with different materials, you can specify a default pressure
wave speed corresponding to the majority of pipes. To enter a different pressure wave
speed for each pipe, select that pipe and use the Element Editor to enter a specific
value. For more information, see “Celerity and Pipe Elasticity” on page B-359.
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 hamsam02.hif, 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 tab of the Project
Options dialog box—see “Report Times” on page 2-53). You can also check for
input errors by clicking GO and Data Check in the run window. Finally, click
GO and Full 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. Use the following friction method:
– If the cause of transients is a sudden valve closure or pipe break, select the
unsteady (transient) friction mode in the Preferences tab (see “Preferences”
on page 2-55) of the Project Options window.
– If the system includes a gas vessel, surge tank, or air pocket, the quasi-steady
friction mode may be sufficient.
– The most extreme transient pressures (typically the first maximum and
minimum reached) are often of primary interest because of the need to check
if pipes will break. In such cases, or for the early runs, steady-state friction is
often sufficient.
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.
Unit System
Although units for individual variables can be controlled throughout HAMMER, you
may find it useful to change your entire unit system at once to either the Système
International (SI) unit system or the U.S. customary (English) system. You can do this
using Tools > FlexUnits, and click the System SI or System U.S. button.
Liquid Properties
You can specify the type of liquid in Tools > Project Options > Summary. By default,
HAMMER assumes the liquid is water at 15.6 degrees Celsius (60 degrees Fahren-
heit), with a specific gravity of 1.0 and one atmosphere of ambient pressure. If the
temperature changes or another liquid is being conveyed, specific gravity may be
smaller or greater than 1.
Click the ellipsis button to the right of the specific gravity or vapor pressure fields to
access a menu showing liquids at different temperatures. Selecting any entry from this
menu automatically fills-in both fields as well as kinematic viscosity (shown on the
Preferences Tab). You can add your own liquid properties to this menu by editing the
liquids.xml file in the \Data sub-folder, provided you obey the formatting rules
described in the Readme_liquids.xml file.
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.
vapor pressure. Similarly, water boils at a higher temperature in a pressure cooker and
this increased steam temperature accelerates the cooking process.) This is why the
parameter library provided with HAMMER often provides values for liquids at
different temperatures.
For more information on the theory for each of these friction models, see “Friction and
Minor Losses” on page B-381.
In HAMMER, a hydraulic transient analysis usually begins with an initial steady state
for which the heads and flows are known for every pipe in the system. Prior to begin-
ning the transient calculations, HAMMER automatically determines the friction factor
based on this information:
• If a pipe has zero flow at the initial steady-state, HAMMER assumes the pipe is
frictionless and it leaves the Friction Coefficient field blank. Refer to the
following table if you want to specify a Darcy-Weisbach coefficient, f. HAMMER
will use the friction coefficient you specify (if any) in the transient simulation.
Approximate Darcy-
Hazen-Williams Friction
Weisbach Friction
Coefficient, C
Coefficient, f
70 0.050
100 0.025
140 0.015
Quasi-Steady Friction
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.
Compared to a steady state, fluid friction increases during hydraulic transient events
because rapid changes in transient pressure increase turbulent shear. HAMMER can
track the effect of fluid accelerations to estimate the attenuation of transient energy
more closely than would be possible with quasi-steady friction.
Several commands are available from the View menu or the Drawing Options tab of
the Project Options dialog to set up the graphical display of elements in the drawing
pane, including:
Lock Drawing Pane: Use View > Lock Drawing Pane to disable the drag-
and-drop components of the Drawing Pane, but still
be able to enter or modify data in the Element Editor
and to pan, zoom, and otherwise reconfigure your
view of the model schematic.
Anti-Alias: Use View > Anti-Alias to enhance the appearance of
straight lines in the HAMMER Drawing Pane.
Normalize Window: Use View > Normalize Window to resize all
hydraulic element symbols to a convenient size at the
current zoom level. This setting persists as the zoom
changes. Experiment with zooming in, clicking
Normalize Window, and zooming out again to see
how this feature allows you to set any desired line
thickness and symbol size.
Symbol Visibility: Turn on or off the display of pipe or node labels in
Tools > Project Options > Display Options. You
can also specify the size of text labels, pipes or
symbols on this tab. Toggle Show Interior Points to
display the computational pipe reaches used in the
preceding HAMMER simulation.
Selection Set Options: You can pick (but not name or recall) element sets in
the Drawing Pane and copy/paste them.
4.5 FlexUnits
FlexUnits (the ability to control units, display precision, and scientific notation) are
available from almost anywhere within Bentley SystemsBentley SELECT’ software,
including the Element Editor, most windows, and the FlexUnits Manager.
Note: The units and formatting used to display numeric values can be
changed from several other areas in the program, and any
changes are project wide. For example, if the unit for length is
changed from feet to meters, all windows, tables, and graphs
display length in meters. If you change the units in a window
from meters to yards, the FlexUnits Manager indicates that
length is displayed in yards.
Click Tools > FlexUnits to open the FlexUnits Manager. The FlexUnits Manager lets
you set the parameters for all the units used. It consists of the following columns:
4.5.1 Units
Units are the method of measurement for the attribute or numeric variable. To change
units, right-click the unit displayed next to the field to bring up the choice list, then
click the desired unit. The list includes both SI metric and U.S. customary units, so
you can mix unit systems within the same project.
FlexUnits are intelligent—when you change units, the displayed value is converted to
the new unit so the underlying magnitude of the attribute or numeric value remains the
same. For example, a length of 100.0 ft. is not converted to a length of 100.0 m or
100.0 in. It is correctly converted to 30.49 m or 1200.0 in.
Rounding
Enter a negative number to specify rounding to the nearest power of 10. Entering –1
rounds to the nearest 10, –2 rounds to the nearest 100, and so on. For example, if the
display precision is set to –3, a value of 1234567.89 displays as 1235000.
Scientific notation displays any numeric value as a real number beginning with an
integer or real value, followed by the capital letter E and an integer (possibly preceded
by a sign). In the FlexUnits Manager, click Scientific Notation to turn scientific nota-
tion on or off. A check appears in the corresponding box to indicate that this setting is
turned on.
Minimum and maximum values are used to control the allowable range for an
attribute or numeric value and to validate input. For example, some coefficient values
might typically range between 0.09 and 0.20. A frequent input error is to misplace the
decimal point when entering a value. If you enter a number that is less than the
minimum allowed value, a warning message is displayed. This helps reduce the
number of input errors.
You may override these values in cases where you find the default limits too restric-
tive. The default limits are stored internally in the program and cannot be modified.
Some attributes do not have theoretical minimum or maximum values, and others may
have an acceptable range governed by calculation restrictions or physical impossibili-
ties. For these attributes, minimum and maximum allowable values may not be appli-
cable.
• Verify the data’s topology and completeness using a check run. Either use File >
Run or click GO, select the Check Run radio button, then click Run.
• Ensure no spurious initial transients are generated due to input errors or coarse
convergence tolerances in the original steady-state model. Set a short run duration
(in Tools > Project Options), select the Transient radio button, then click Run.
Review the output graphics or FlexTables to verfiy that the HGL remains
unchanged over time, as the case should be for a steady-state.
Once the data and initial steady-state have been checked, you must define the cause of
the transient event and select a time step for the simulation. Depending on the cause of
the transient and system characteristics, a different time step may be appropriate:
• A time step that is too long may result in the model not capturing the propagation
of transient pressure waves in sufficient detail.
• A very short time step could result in an excessively long simulation time.
You have the option of either letting HAMMER select the time step automatically or
picking a suitable one yourself:
1. Click Run to launch a transient simulation using the time step selected by
HAMMER: a big time-saver during exploratory simulations early-on in a project.
You can also select this option if you are unsure how to select the time step.
2. Click Time Step to display options in an expanded Run Dialog. You must select
whether to adjust pipes’ lengths or travel times. Enter your time-step and click
Update to obtain adjustment statistics. You can display the adjustments that result
from your time-step selection as percentages (relative) or in the same units (abso-
lute). You can also specify a Maximum Adjustment beyond which adjustments
will be listed in the output log.
If you select a shorter time-step, HAMMER will prompt you to re-examine the
Report Times setting to avoid generating excessively large output files. For short
time-steps, it is usually a good idea to output transient results Periodically, e.g. every
10 to 50 time steps, resulting in animation intervals of 0.1 to 1 s and about 100 to 300
frames (if possible). Other ways to reduce computation time and disk space require-
ments include:
• Do not check Generate Animation Data until your inspection of the histories and
profiles indicates you are close to a surge control solution.
• Toggle text reports off in the Report Options tab of Project Options.
• Set the output to begin after a certain time (Report History after Time) in the Pref-
erences tab of Project Options.
• Open a Pipe FlexTable and sort them by length. Consider merging or eliminating
the shortest pipes. This will enable HAMMER to suggest a larger time-step. This
is done using the Tools > Merge Pipes dialog.
The layout and editing tools allow you to select hydraulic elements in the Drawing
Pane of the HAMMER Modeler to perform various graphical or editing operations,
locate particular elements, review the network for potential problems, add labels, and
review your input data and results.
For more information, see “Lesson 1: Pipeline Protection” on page 3-106 and “Lesson
3: Network Risk Reduction” on page 3-142.
Note: If you move the mouse over a feature or hydraulic element and
then stop moving it for a little while, a tooltip will display useful
information about that feature or element, including its label.
This feature is useful when the element labels have been turned
off or when the drawing view is zoomed out.
The hydraulic element toolbar buttons displayed to the extreme right of the screen
contain all of the tools necessary for adding network elements to the Drawing Pane.
From left to right, these tools include:
Although elements can be inserted individually, the most rapid method of network
creation is through the Pipe Layout tool. You can use the Pipe Layout tool to connect
existing nodes with new pipes and to create new nodes as you lay out the pipes.
For example, when the Pipe Layout tool is active, clicking within the drawing pane
inserts a node. Clicking again at another location inserts another node and connects
the two with a pipe.
Occasionally, you may find that you need to replace a node with a different type of
node. You can make this change through a process called morphing.
With morphing, you change the type of a hydraulic element node without having to
delete and recreate the node and its connecting links. Parameters that are common
between the existing and new elements are copied into the new element (i.e., coordi-
nates, elevations, etc.). To morph an existing hydraulic element into a different type of
hydraulic element:
1. In the Drawing Pane, place the cursor over the element and right-click it.
2. Click Convert Type to open the submenu and display lists of available hydraulic
elements.
3. Select the new hydraulic element from the available lists.
You need to select one or more elements from the Drawing Pane before performing
various operations, such as moving, deleting, and editing. When an element is selected
in the Modeler Drawing Pane, it is displayed with a box around it. To select one or
more hydraulic elements directly in the HAMMER Modeler Drawing Pane:
• Click on the Select tool (arrow icon), then move the cursor over the hydraulic
element, and click once.
• To select a group of hydraulic elements, click the Select tool, click anywhere in
the Drawing Pane, and drag the mouse to form a selection box around the
elements you want to select. All elements that are fully enclosed within the selec-
tion box are selected.
• To select all elements in the system, select Edit > Select All or simply press
Ctrl+A.
• To toggle the selected status of one or more elements, you can click on each
element while holding down Shift. You can also select a group of elements this
way.
You can also use the Element Selector tool on the Properties pane:
• Select a single element by clicking one of the labels displayed in the list. This list
can be resized horizontally or vertically if more space is required.
• You can filter the selection list by clicking the choice list at the top of the Element
Selector and selecting one of the following:
– All Elements to display every type of hydraulic element (full listing)
– All Pipes to limit the Element Selector display to pipes only
– All Nodes to limit the display to nodes
– Boundaries to limit the display to system boundaries. Note that this includes
consumption nodes.
– Flow Controls to limit the display to orifices and valves
– Protective Equipment to limit the display to surge-control equipment
– Rotating Equipment to display only pumps and turbines
Another way to select a hydraulic element is to locate it using the search command
Edit > Find or F3, as described in “Finding Elements” on page 5-201. It will be
selected automatically.
Click any element and the Element Editor displays its properties and lets you edit
them. You can also edit the parameters of many similar hydraulic elements by opening
their FlexTable.
You can change the location of elements easily. The first step is to select the elements
to be moved. Next, click to drag the element and release the mouse button to drop the
element at its new location. When a node is moved to a new location, all connected
pipes remain attached, and the pipes’ data remains unchanged (except for z and y coor-
dinates).
A hydraulic element can also be moved by editing its coordinates in the Element
Editor pane.
HAMMER offers a full range of intuitive on-screen editing features to allow you to
rapidly duplicate individual hydraulic elements or groups of elements:
• Copy—You can duplicate an element or a set of elements (with all data preserved)
using the copy feature. Select the elements to duplicate and then select Edit >
Copy from the menu or press Ctrl+C. You can also right-click any element and
select Copy.
• Cut—The cut feature is a combination of the copy and delete commands. It
copies the selected elements to the Windows clipboard and deletes them from the
Drawing Pane immediately. Select the elements to cut and then select Edit > Cut
from the menu or press Ctrl+X. You can also right-click any element and select
Cut.
Selecting Edit > Find Next or pressing F3 repeats a search using the previous search
criteria.
5.3.1 Pan
Using the pan feature, you can change your current view without changing the size,
proportion, or zoom level of the current view. Select View > Pan and use the arrow
keys, or click the Pan tool (hand icon), click and hold anywhere in the Drawing Pane,
and drag the cursor to navigate around.
5.3.2 Zoom
Zooming controls how large or small a drawing appears on the Drawing Pane. This is
helpful when you want to enlarge the display to see local details or reduce it to see an
entire system or network. Zooming does not change the actual size of the drawing,
only the extent of the current view.
From the View menu or the toolbars, you can perform the following zoom operations:
Zoom In—Enlarge the level of detail shown on the Drawing Pane by clicking at the
desired location. Using the mouse, you can use the same tool to define a selection box
to zoom in to this area (called Zoom Window in WaterCAD or WaterGEMS).
Normalize Window—Adjust the size of all elements in the current zoom with respect
to 100% zoom.
Select View > Lock Drawing Pane to turn the Drawing Pane lock on and off. When
the Drawing Pane is locked, you can select hydraulic elements to modify their param-
eters or inspect their results, but you cannot change their coordinates using the mouse.
This avoids accidentally moving or deleting hydraulic elements.
Select View > Anti-alias to improve the appearance of lines in the Drawing Pane.
Show Frame—Toggles the display of the frames which convert an on-screen plot to a
report-ready figure, complete with your organization’s logo, project number, date, and
a title block. For more information, see “Using Your Organization’s Name and Logo”
on page 8-293.
Page View—Toggles the display of the page outline to help you visualize 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—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—Toggles the display of the graph window’s title bar. Turn title bars
off to maximize the use of your display area when, for example, showing animations.
Hydraulic Element 6
Reference
This reference provides a detailed description of the purpose, parameters, and proper
use of the various hydraulic elements available in HAMMER. Using these hydraulic
elements, virtually any system and surge-protection strategy can be modeled.
6.2 Pipes
Pipes link two nodes together and convey fluid between them. In HAMMER, all pipes
flow full unless stated otherwise. Pipes have the following characteristics:
Transient Tip: Entering an I.D. that is 5% too big increases the pipe’s
area (and velocity) by about 10% and reduces friction
loss predictions by about 20%, since losses are
proportional to V2/2g. The effect may be even greater
with a quasi-steady or unsteady friction method. Always
consult manufacturer’s tables to enter the correct I.D. or,
for older pipe, try to verify its I.D. in the field (it may have
been reduced due to deposits or tuberculation).
• Check Valve—When this box is checked, flow can only travel in the same direc-
tion as the flow at the initial time step (i.e., time zero).
• From Node—The first of two nodes bounding a pipe, as displayed in the Element
Selector.
• To Node—The second of two nodes bounding a pipe, as displayed in the Element
Selector.
• Material—The material that the pipe is made of determines the value of Friction
Coefficient and Roughness Height according to the friction method chosen in the
Steady State tab of the Project Options dialog.
• Roughness Height—Roughness height is used only for steady state computa-
tions, together with Kinematic Viscosity. It is equivalent to the sand grain rough-
ness height first published by Nikuradse.
• Max and Min Head—The maximum and minimum transient head experienced at
any point in the pipe throughout the simulation period.
• Max and Min Presseure—The maximum and minimum transient pressure expe-
rienced at any point in the pipe throughout the simulation period.
• Max and Min Flow—The maximum and minimum transient flow experienced at
any point in the pipe throughout the simulation period. Please note that the initial
flow direction is taken as positive.
• Max and Min Velocity—The maximum and minimum transient velocity experi-
enced at any point in the pipe throughout the simulation period.
• Max Vapor Volume—The maximum vapor volume, if any, that occurred at all
locations in the pipe at any time during the simulation period.
• Max Air Volume—The maximum air volume, if any, that occurred at all loca-
tions in the pipe at any time during the simulation period.
6.3 Nodes
All nodes are pressurized in HAMMER, unless otherwise stated.
Nodes are further classified into Boundaries, Flow Controls, Surge Protection, and
Rotating Equipment. The simplest and most widely used node is called a junction.
After a HAMMER run completes successfully, the following results are displayed in
Drawing Pane:
• Max and Min Head—The maximum and minimum transient head experienced
throughout the simulation period. This value is the same as the endpoint of every
pipe that connects to this node.
• Max and Min Pressure—The maximum and minimum transient pressure experi-
enced throughout the simulation period.
• Max Vapor Volume—The maximum vapor volume, if any, that occurred at all
locations in the pipe at any time during the simulation period.
• Max Air Volume—The maximum air volume, if any, that occurred at all loca-
tions in the pipe at any time during the simulation period.
• Dead End—the end point of a closed pipe. A pipe with a Dead End
should not have any flow, therefore the steady-state HGL should be the
same at both ends of the pipe at time zero. A cavity can form at a Dead
End, which has the following parameter:
– Initial Vapor Volume is the volume of vapor at the Dead End at the begin-
ning of the simulation (i.e., time zero). The default value is zero.
A valve is an element that opens, throttles, or closes to satisfy a condition you specify.
Like WaterCAD, HAMMER can model several different types of valves. The
behavior of a valve is determined by the upstream and downstream conditions.
Supported valve types include:
Note: You can change a valve from one type to another by a process
called morphing. Just click the new valve-type button on the
toolbar and drag the new valve on top of the old one.
Because the reaction time of the above valve types is too slow to react to fast and often
cyclical hydraulic transient pressure wave fronts, HAMMER converts these to an
equivalent orifice that remains fixed throughout the simulation.
Flow-control stations typically include a flow meter, flow-control valve, and valves to
isolate the station during maintenance activities. Flow-control stations are sometimes
equipped with a remote terminal unit (RTU), which communicates with a Supervisory
Control and Data Acquisition (SCADA) system, to monitor and control the station
remotely. For more information about SCADA systems, see Advanced Water Distri-
bution Modeling and Management, by Haestad Press.
The transient pressures that result from the operation of flow-control valves depend on
the design of the flow-control station, particularly the following parameters:
When considering valve position change, it is important to consider that the reduction
in flow due to valve closure is not proportional to the valve travel distance (stroke). In
fact, with most valves (including hydrants), most of the change in velocity occurs
when the valve is barely open. It is at this time that a quick turn of the valve can lead
to a significant water hammer event.
For example, if it takes 20 turns to close a valve and the initial velocity through the
valve is 16 ft./sec. (5 m/s), the velocity may change to 6.6 ft./sec. (2 m/s) over the first
19 turns. The velocity is then reduced from 6.6 ft./sec. to zero over the last turn
(known as the “effective stroke” of the valve). The change of velocity over the last
interval having a duration equal to the characteristic time (2L/a) determines the
magnitude of the transient.
One of the most important considerations when selecting the flow-control valve type
is cavitation. Cavitation occurs when the minimum pressure at critical points within
the valve reaches the vapor pressure of the liquid, so that vapor bubbles form. If the
differential pressure across the valve is excessive or if the pressure downstream of the
valve is minimal, cavitation can occur during steady-state flow. Cavitation can
damage the valve and cause excessive noise, especially if an inappropriate valve is
selected. Control valves specifically designed to minimize the potential for cavitation
should be selected for these cases.
Depending on its severity, cavitation can also affect the hydraulic capacity of the
valve. When the flow stream expands immediately downstream of the valve, the pres-
sure increases, causing the vapor bubbles to collapse. This dynamic vaporization and
collapse phenomenon causes noise and vibration and can erode the interior of the
valve. This type of local cavitation should not be confused with large-scale vapor
pocket formation and collapse due to system-wide hydraulic transients, such as a
power failure.
where flow is in US gallons per minute and pressure drop is in pounds per square inch
(psi) at 60oF (16oC).
• Valve of Check Type between 2 Pipes—a check valve between two pipes
that closes instantaneously upon flow reversal. This assumes that no
dampers or electrical controls modify the check valve’s closure time.
When the pressure differential required to reopen the valve is exceeded, the valve
opens again instantaneously. This valve can be closed initially. It has the
following parameters:
– Initial Flow should be zero if the valve is initially closed. If the valve is open,
then enter the flow initially passing through the valve.
– Upstream Pipe whose end point denotes the upstream side of the valve and
indirectly defines the direction of flow through the valve.
– Threshold Pressure is the pressure difference between upstream and down-
stream sides of the valve required to open or reopen the valve. If a zero value
is entered, the valve opens when the upstream pressure exceeds the down-
stream pressure.
– Control Type defines the four possible ways of operating modes of the valve:
PRV (pressure-reducing valve), PSV (pressure-sustaining valve), FCV (flow-
control valve), and none.
– PRV/SRV Head option is necessary only for a PRV and PSV. It denotes the
head to be maintained by the PRV or SRV at the downstream side of the valve.
When the Control Type is set to FCV, enter the flow intended to pass through
the FCV.
– Control Status represents the state of the valve at time zero: Throttled, Wide
Open, or Closed.
Orifices are a fixed or passive type of flow-control element. Each is described below.
pumps and turbines. Four-quadrant curves are used to describe a pump’s hydraulic
performance for each case. The common pump curve provided by vendors provides
head and flow in the first quadrant only, for which spin and flow are both positive, at
constant speed.
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.
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 HAMMER 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:
×( P / N 3 )
0.9956
pump = 1.5 ×10
7
I kgm 2
(6.1)
(P / N )
1.48
I motor = 118 × kgm 2
(6.2)
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 S = NQ
2
3
H4
(6.3)
“Table 6-1: Specific Speeds for Typical Pump Categories in both Unit Systems”on
page 6-223 shows typical values of specific speed for which an exact four-quadrant
representation is built into HAMMER. Centrifugal pumps tend to have lower specific
speeds than axial-flow or multi-stage pumps. Few four-quadrant characteristic 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 HAMMER has a built-in check valve immediately down-
stream of the pump.
Table 6-1: Specific Speeds for Typical Pump Categories in both Unit
Systems
SI Metric 25 94 145
If you have the multipoint pump curve, you can enter it directly in HAMMER or
import it using WaterObject technology. 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 6-1: Specific Speeds for Typical
Pump Categories in both Unit Systems”on page 6-223. You can also use one of these
four-quadrant characteristic curves if reverse 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.
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. HAMMER helps you estimate safe ramp times to make the most
of your pump’s capabilities.
HAMMER 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 tran-
sient event and the loop-back controller is likely not engaged during such operations.
– Nominal Head is the head required to deliver the Nominal Flow at steady
state. It is the difference between the heads at the suction and discharge sides
of the pump or total dynamic head (TDH).
– Specific Speed enables you to compare pumps from different manufacturers
and models in a rigorous manner. HAMMER provides three built-in four-
quadrant characteristic pump curves corresponding to the specific speeds of
1280, 4850, or 7500 (U.S. customary units) and 25, 94, or 145 (metric units).
– Nominal Head is the head required to deliver the Nominal Flow at steady
state. It is the difference between the heads at the suction and discharge sides
of the pump.
– Pump Curve represents the head-discharge relationship of the pump at its
rated speed. Values are entered relative to Nominal Head and Nominal Flow.
• Shut after Time Delay, between 2 Pipes—A pump running at full speed
prior to time zero that can be shut down, either at time zero or after a time
delay, to represent a power failure or other emergency shutdown. This
pump requires the following parameters:
– Time Delay is the time that must elapse before the pump shuts down. This
time can also be set to zero (the default value) to simulate a shutdown at time
zero.
– Time to Close is the time required to close the discharge control or check
valve after reverse flow is sensed at the pump. Unless the check valve is
equipped with hydraulic piloting, dashpot damping, or electrical controls that
modify its closure time, enter a value of zero and HAMMER will close it the
instant flow drops to zero. If the discharge-control valve closes in a specific
amount of time after the power failure, enter that closure time.
– Diameter refers to the valve at full opening, typically equal to the internal
diameter of the discharge flange.
– Specific Speed provides four-quadrant characteristic curves to represent
typical pumps for many common types, including but not limited to: 1280,
4850, or 7500 (U.S. customary units) and 25, 94, or 145 (SI metric units).
– Reverse Spin indicates whether the pump is equipped with a ratchet or other
device to prevent the pump impeller from spinning in reverse. Set Reverse
Spin either to Allowed or Not Allowed.
– Percent Efficiency represents the efficiency of the pump as a percentage.
This is typically shown on the pump curves provided by the manufacturer. A
typical range is 85 to 95%, but values outside this range are possible.
– Nominal Flow is the flow the pump delivers at the Nominal Head under
normal steady-state operating conditions. Sometimes assumed to be the initial
steady-state flow.
– Nominal Head is the head required to deliver the Nominal Flow at steady
state. It is the difference between the heads at the suction and discharge sides
of the pump.
– Upstream Pipe denotes the pipe where the flow originates and is only used
for steady state computations.
– Pump Curve represents the head-discharge relationship of the pump at its
rated speed. Values are entered relative to Nominal Head and Nominal Flow.
This is only used for steady state computations.
– Diameter refers to the valve at opening, typically equal to the internal diam-
eter of the discharge flange.
– Specific Speed provides four-quadrant characteristic curves to represent
typical pumps for each of the three most common types, including but not
limited to: 1280, 4850, or 7500 (U.S. customary units) and 25, 94, or 145 (SI
metric units).
– Control Variable allows you to select either Speed or Torque to control
changes in the performance of this type of pump. Consult your motor
controller or transmission documentation for the correct range and time limits
that apply.
– Percent Efficiency represents the efficiency of the pump as a percentage.
This is typically shown on the pump curves provided by the manufacturer. A
typical range is 80 to 95%, but values outside this range are possible.
– Inertia of Pump is proportional to the amount of stored rotational energy
used to keep the pump rotating (and transferring energy to the fluid), even
after the power is switched off. You can obtain this parameter from manufac-
turer’s catalogs, or from pump curves, or estimate it by correlating it to horse-
power (see “Pump Inertia” on page 6-221).
– Nominal Speed denotes the rotation of the pump impeller per unit time, typi-
cally as rotations per minute or rpm. The head and flow delivered by the pump
depend on it.
– Upstream Pipe denotes the pipe where the flow originates. This is only used
for steady state computations.
– Operating Rule describes the set Speed or Torque with time. You can use
this feature to simulate a rapid (or even instantaneous) pump shutdown and
restart.
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.
to produce electricity. Water emerges from the turbine through the draft tube and tail-
race 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.
Upstream
Reservoir
Surge Tank
Reservoir
Tank-
Variable
Area
Turbine
·
T
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 “Figure 6-
2: Impulse Turbine Schematic (e.g. Pelton)”on page 6-231. 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.
Nozzle
Bucket
Splitter ridge
Section through
bucket
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
“Figure 6-3: Schematic of a Reaction Turbine (e.g. Francis or Kaplan)”on page 6-233
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 variations 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.
Guide Vane
Q,H Pivot
Runner N (rpm)
Volute
Guide Vane or Wicket Gate w (%)
Electrical Load or Torque M
Draft tube
___________ ______
_ __ __ __ __ __ __ __ __ __ __ __ ___ ___ ___ __ _ Tailrace
The primary hydraulic variables used to describe a turbine are “Figure 6-3: Schematic
of a Reaction Turbine (e.g. Francis or Kaplan)”on page 6-233:
Q = Flow
H = Head
N = Rotational speed
I = Rotational Inertia
w = Wicket gate position (% open)
M = Electrical load or torque
1. Wicket Gate Position controls flow to increase or decrease the power the
turbine generates. The wicket gate is also used to stop or (re)start the system.
The governor opens or closes the wicket gate.
2. 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, especially for
pump-turbines. 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 (Appendix B), HAMMER solves flow, Q, and rotational speed, N,
in conjunction with the four-quadrant characteristic curves for the turbine unit(s). This
yields the transient pressures for the load rejection, load acceptance, emergency shut-
down, operator error or equipment failure. The possible emergency or transient condi-
tions are discussed separately in the sections that follow.
Full 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 full load rejection usually results in the most severe transient pressures, it typi-
cally governs the design of surge control equipment.
During full 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. “Table 6-
2: Load and Wicket Gate Changes for Load Rejection”on page 6-235 below shows an
example of electrical load and wicket gate position versus time to simulate full load
rejection.
Load and gate position are entered in different parameter tables in HAMMER because
they may not have the same time. HAMMER interpolates automatically as required.
Table 6-2: Load and Wicket Gate Changes for Load Rejection
0 350 100
1 100 50
2 0 0
Full load acceptance occurs when the turbine-generator unit is connected to the elec-
trical grid and brought to full speed, known as no-load-speed (NLS). Transient pres-
sures generated during full load acceptance can be significant but they are usually less
severe than those resulting from full load rejection.
Up to NLS, the turbine generates no electrical power. When the turbine reaches NLS,
the electrical grid is connected to the output terminal of the generator and wicket gates
have to be open as quickly as possible to limit the speed drop as well as meeting the
power demand – all without causing excessive pressure in the penstock.
Table 6-3: Load and Wicket Gate Changes for Full Load Acceptance
0 0 0
1 100 50
2 350 100
Emergency Operations
Emergency operations may occur due to operator error, control failure (e.g. governor),
equipment failure (e.g. spherical valve) or other unanticipated condition. If a control
failure allows the wicket gates to close suddenly, the hydraulic transient impact can be
worse than full load rejection (for which the governor reduces flow gradually to limit
the pressure rise). Depending on the situation, transient pressures for the emergency
shutdown can be the most significant that the system could ever experience.
In an emergency shutdown, electrical load suddenly drops to zero while the wicket
gates close rapidly. “Table 6-4: Load and Wicket Gate Changes for Emergency Shut-
down” shows an example of typical user input to simulate an emergency shutdown.
Table 6-4: Load and Wicket Gate Changes for Emergency Shut-down
0 350 100
0.01 0 0
5 0 0
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. “Table 6-5: Load and Wicket Gate Changes for
General Load Variation” shows an example of typical user input to simulate transient
pressures for load variation.
Table 6-5: Load and Wicket Gate Changes for General Load Variation
0 350 100
5 300 85
10 250 70
15 200 57
20 100 28
30 50 15
Table 6-5: Load and Wicket Gate Changes for General Load Variation
35 100 28
42 150 42
55 200 57
65 250 70
80 300 85
90 350 100
You can use HAMMER to determine the rate at which the wicket gates must close to
limit hydraulic transient pressures to an acceptable range. Use the following steps:
• Enter the time-varying wicket gate position and electrical output in a table.
• Run HAMMER to model the variables controlled by the governor and simulate
the hydraulic response of the penstock and tailrace in terms of pressure and flow.
• After a few simulations, you can determine the correct timing of wicket gate
closure to avoid exceeding flow or pressure limits in the penstock.
• Use this timing to program (or adjust) the governor's response rate and damping
mechanisms at the power station.
As stated above, HAMMER models the variables controlled by the governor: it does
not model the internal workings of mechanical or electrical governors. Most types of
governors can be described by parameters such as “machine start time” that delay its
response time; or permanent and temporary “speed droop” that may reduce the speed
of the runner by a small amount during wicket gate closure (often a second-order
effect during rapid variations). Wicket gate position approximates this in HAMMER.
In the design and analysis of the safety and functional adequacy of the penstock and
conduit system under diverse operating conditions, the maximum transient pressures
during full load rejection or emergency system operations are of great importance.
These are least affected by the governor. Transient pressures in the system during
general load variations, which may be affected by the governor, are often of secondary
importance to a hydraulic designer.
– Upstream Pipe denotes the pipe where the flow originates. This is only used
for steady state computations.
– Operational Case allows you to choose among the four possible cases:
instantaneous load rejection, load rejection (requires torque/load vs time
table), load acceptance and load variation.
– Operational Rule describes the percentage of gate opening with time.
– Turbine Curve represents the head-discharge relationship of the turbine at its
rated speed. Values are entered relative to Nominal Head and Nominal Flow.
This is only used for steady state computations.
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.
A surge-anticipator relief valve can be used instead of a pressure relief valve to control
high-pressure transients, as seen in the following figure. This type of relief valve starts
to open during the low-pressure period following an emergency pump shutdown in
anticipation of a high-pressure transient. Since the anticipator valve is already open
when the high-pressure transient reaches the valve, it is not required to sense the high
pressure. This type of valve is more effective when high-pressure transients occur
quickly and the limited opening time of a relief valve is not adequate. Set the low-
pressure activation point carefully to avoid premature opening before the pump has
spun down, which can cause a very steep negative transient wave.
HIGH
HGL
10 m
HGL HGL
Transient Tip: HAMMER assumes that any air admitted into the pipe
system will be released back to atmosphere at the same
location, or node. This is typically acceptable due to the
rapidity of hydraulic transient phenomena and the
tendency of water columns to rejoin at or near this
location. For this reason, valves that only release air are
not modeled.
Air-inlet valves or vacuum breakers can be installed at high points along the pipeline
system to limit subatmospheric pressures locally and to inject air into the pipe system
at locations vulnerable to water column separation. When pressure drops rapidly due
to a power failure, for example, air is able to rapidly enter the system. Following the
low-pressure transient, the air should be expelled slowly to avoid creating another
transient condition. This process can repeat several times for some systems as tran-
sient cycles attenuate. Careful modeling of the air intake and release rates will indicate
the amount of time required for the air to be expelled and the transient energy to be
dissipated by friction, before the pumps are restarted.
Transient Tip: HAMMER calculates the air flow velocity at the inlet or
outlet orifices based on the ambient (atmospheric) and
system pressures (which may be subatmospheric). If
this velocity reaches the sonic limit, HAMMER will
throttle air flow accordingly.
A wide variety of valves enable air to enter and/or leave the system, including air-inlet
valves, air-release valves (ARV), vacuum-relief valves, vacuum-breaker valves, air-
vacuum valves (AVV), and combination air valves (CAV). You need to review the
manufacturer’s technical information carefully when selecting an appropriate air valve
for transient control. Do not rely only on the name and opening sizes of the valve;
obtain diagrams and air-flow charts and input the correct information into HAMMER
based on the physics of the valve.
– 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.
- 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.
The piping connection between the gas vessel or surge tank and the system is sized to
provide adequate flow capacity when these are supplying water to the system and to
cause significant head loss when refilling from the system to dissipate transient
energy.
Decision makers need to compare the life-cycle costs of the alternate routes and tran-
sient protection prior to selecting one surge-control strategy over another.
Using gas vessels and surge tanks to protect drinking water systems can result in
water-quality deterioration and a loss of disinfectant residual. These devices should be
equipped with a mechanism for circulating the water. A further complication occurs
when the tanks are located in cold climates, where the water can freeze.
– Diameter of Orifice refers to the size of the opening to release water into the
system during low pressures and to accept water from the system during high
pressures.
– Ratio of Losses represents the ratio of the head losses for inflow to outflow.
The default value of this parameter is 2.5. Differential orifices can create
different head losses depending on the direction of flow.
– Head Loss Coefficient is a dimensionless quantity that can be determined
from the flow through the valve and corresponding pressure drop.
– Tank Geometry refers to the pairs of equivalent diameters and elevations
which describe the geometry of the surge tank.
Modeling Capabilities 7
HAMMER’s unmatched capabilities can model and optimize practically any distribu-
tion system.
• Automatically import model data from widely used steady-state models, such as
EPANET, WaterCAD/WaterGEMS, PIPE2000 (with equivalency tables for
SURGE2000). The input database allows you to import data from other platforms
including GIS or databases such as Access.
• Compute the initial steady-state directly within HAMMER. This capability
requires only a few system settings and some additional information (similar to
WaterCAD) for many hydraulic elements within HAMMER.
• Perform a hydraulic transient analysis to see how the system behaves over time
after a power failure, pipe break, pump or valve operation, equipment failure or
operator error. HAMMER enables you to:
– Choose one of three types of friction methods, including steady-state (using
Hazen-Williams or Darcy-Weisbach friction coefficients), or the more accu-
rate quasi-steady or unsteady (transient) friction methods.
– Use pump and turbine representations including simple or multipoint head-
discharge curves for pumps, and four-quadrant pump or turbine characteristics
that you can select based on your unit’s specific speed.
– Use simple valve representations or multipoint head-discharge (Cv) curves.
– Use intuitive parameter libraries and presets. Pump, turbine, valve or liquid
parameters can be re-used within a project, or amongst multiple projects, by
storing them as a preset or entering them into an editable XML library. You
can also save the parameters for any hydraulic element to a named preset.
Transient Tip: Preset and library files can be copied from one computer
to another to enable others to use them. Since HAMMER
input files (.hif) contain every model parameter, an
unmodified file can always run on another computer.
This portability facilitates reviews or discussions.
With HAMMER’s added simulation power comes a higher computation cost, since
many time steps must be calculated for a transient solution, using more complex equa-
tions to track dynamic changes systemwide. Fortunately, HAMMER automatically
adjusts its solution method to minimize execution time, while delivering detailed and
accurate solutions. HAMMER uses one or both of these algorithms:
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.
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 HAMMER Tools > Project Options menu, click the Other Options tab and
set Extended CAV (combination air valve) to True. HAMMER will track the extent
of the air pocket and the resulting mass-oscillation and water column accelerations.
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 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.
HAMMER’s power derives from its advanced implementation of elastic theory using
the MOC, which results in several advantages:
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:
You can use simple methods to estimate each of the above parameters, as described
elsewhere in this documentation and in the HAMMER software.
Additional data may be required to obtain a steady state from within HAMMER using
a steady state run. For more information, see “Hydraulic Element Reference” on
page 6-205.
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.
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
optimizing 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.
• HAMMER 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.
• HAMMER models air or vapor volumes as concentrated at specific points along a
pipe. Volume at a node is the sum of the end points (a special case of a point) for
all pipes connected to it. However, HAMMER can simulate an extended air
volume if it enters the system at a local high point (via a combination air valve or
CAV) and if it remains within the pipes connected to it.
• HAMMER ignores the reduction in pressure-wave speed that can result from the
presence of finely dispersed air or vapor bubbles in the fluid. Air injection using
diffusers or spargers can be difficult to achieve consistently in practice and the
effect of air bubbles (at low pressures) on wave speed is still the subject of labora-
tory investigations.
In each case, the assumptions are made so that HAMMER’s results provide conserva-
tive predictions of extreme transient pressures.
If system pressure drops to the fluid’s vapor pressure, the fluid flashes into vapor,
resulting in a separation of the liquid columns. Consequently, vapor pressure is a
fundamental parameter for hydraulic transient modeling. Vapor pressure changes
significantly at high temperature, operating pressure, or altitude. Fortunately, it
remains close to HAMMER’s default value for a wide range of these variables for
typical water pipelines and networks.
HAMMER calculates the elevation along the top of any pipe (also known as its obvert
or crown) from a straight line joining the elevations of the two nodes it connects to.
Because differences can occur between as-constructed pipe elevations (or surveys)
and the design drawings that hydraulic models are typically based on, it is prudent to
assess the sensitivity of the hydraulic transient simulation results to changes in eleva-
tion. If the transient HGL drops below the pipe elevation, vapor pockets can form and
collapse.
HAMMER speeds this process by allowing you to make a global adjustment to pipe
elevations from the Tools > Project Options menu command; click the Preferences
tab and type in the amount to increase the pipe elevations. After running HAMMER,
you can save the resulting profile as a HAMMER graph (.grp) and copy data from
several such graphs onto a common graph showing the sensitivity to elevation errors.
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 on the Summary tab of the Project Options window (Tools >
Project Options).
HAMMER selects the time step used in its calculations automatically, based on the
wave speed and the length of each pipe in the system, so that a sharp pressure-wave
front can travel the length of one of the pipe’s interior segments in one time step.
Encoding long pipeline systems with very short pipes, such as discharge-header
piping inside the pump station, may significantly decrease the time step and increase
the time required to complete a run.
Warning! Using very short pipes (in a pump station) and very long
pipes (transmission lines) in the same HAMMER model
could require excessive adjustments to the wave speed. If
this happens, HAMMER prompts you to subdivide longer
pipes to avoid resulting inaccuracies.
A smaller time step may cause HAMMER 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 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 > Merge Pipes, enabling faster solutions
without sacrificing accuracy. See “Merge Pipes Dialog Box” on page 2-79 for more
information on the Merge Pipes dialog.
You can also select the time step from the expanded Run dialog. For more information
on selecting a time step, see “Project Setup” on page 4-178.
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” on page 1-25).
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.
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.
System Pressure
Hydraulic
Elements
Positive Negative
Pressure
Consumption No flow
dependent
Orifice to Pressure
Air intrusion
Atmosphere dependent
• 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.
• 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
HAMMER alone.
Rather than conventional pressure gages and SCADA systems, high-speed sensors
and data logging equipment are needed to accurately track transient events. The pres-
sure transducer should be very sensitive, have a high resolution, and be connected to a
high-speed data acquisition unit. It should be connected to the system pipeline with a
device to release air, because air can distort the pressure signal transmitted during the
transient.
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.
With respect to timing, there should be close agreement between the computed and
measured periods of the system, regardless of what flow-control operation initiated
the transient. With a well-calibrated model of the system, it is possible to use the
model in the operational control of the system and anticipate the effects of specific
flow-control operations. This requires field measurements to quantify your system’s
pressure-wave speed and friction, with the following considerations:
• 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.
• Steady State Options—The parameters that control the steady state hydraulic
computations are similar to those in WaterCAD. They can be modified using the
Tools > Project Options menu command and clicking the Steady State tab:
– Steady State Trials is set for maximum accuracy by default. We recommend
you not modify this setting. This is similar to the setting in WaterCAD.
– Steady State Accuracy is set for maximum accuracy by default. We recom-
mend you not modify this setting. This is similar to the setting in WaterCAD.
– Pump Curves Linear Mode is either True or False. If True, the steady state
solver uses linear interpolation to estimate the curve if the solution lies
between points entered in the pump table. This method is consistent with the
transient solver in HAMMER.
– Friction Method is either Hazen-Williams (for which the Friction Coeffi-
cient is a C factor) or Darcy-Weisbach. Selecting Darcy-Weisbach will
display both the Darcy-Weisbach f (for the Friction Coefficient) and the
Roughness Height in the Drawing Pane. Roughness Height is only used for a
steady state run and typical values are available from the material library.
Upon completion, the steady-state solver updates the HAMMER Darcy-Weisbach
Friction Coefficient: f. HAMMER uses the Darcy-Weisbach friction method in all
• Element Data for Steady State—Some fields in the Drawing Pane are only
required for a steady state run, as described by tooltips. If some information
required by the steady state solver is missing, HAMMER will display a Warning
Message dialog prompting for additional data or an Error Message dialog with
instructions on how to proceed. 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.
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” on page 1-25).
Presenting Your 8
Results
This section covers the various methods provided for viewing, annotating, graphing,
animating, and reporting your data. It also presents the tools available for generating
maps, profiles, and time-history plots, which can be color-coded based on the simula-
tion results. HAMMER makes it easy to review and present your results quickly and
efficiently with the following options:
It is important to take the time to carefully review the results of each HAMMER simu-
lation to check for data-input errors and learn about the dynamic nature of the pipe
system. HAMMER’s powerful visualization and reporting capabilities make this
easier.
8.1 Reports
You can enter your organization’s name by clicking Tools > Viewer > Graphics to
open the HAMMER Viewer, then selecting Tools > Set Company Name.
Using Tools > Project Options or the toolbar button and clicking the Preferences tab
allows you to trigger output to start only after the following occur:
• You can request HAMMER to show only the extreme heads that occur during the
hydraulic transient simulation—even if these are less severe than the initial steady
state—by opting to show heads after the First Maximum or Minimum has been
reached in the Show Extreme Heads After field. The default is to show all heads
from time zero.
• You can set a particular time upon which HAMMER will start time-dependent
output by entering a value (in seconds) in the Report History after Time field.
These features allow you to significantly reduce the size of output files whenever one
or more transient events must take place prior to the transient you want to display in
the final output. This is especially useful when Generate Animation Data is selected
(in the Run Control window that appears after pressing either the GO or COMPUTE
buttons) for several profiles and points. This feature also applies to reports and tables
you can obtain from Access by selecting Generate Output Database before a
HAMMER run.
You can choose whether or not to generate ASCII text files, which contain tabulated
output, by selecting the Tools > Project Options menu command and clicking on the
Other Options tab. Setting both the Enable Text Reports and Print Standard
Output Log to True generates the following text files after each successful
HAMMER simulation:
– History table for every selected end point and every time step selected for
output.
– Extreme heads table for each path, including a row for each end point (and
the interior calculation points HAMMER adds automatically); each with
column entries for Distance along the path, Elevation, Initial Head,
Maximum Head, Maximum Volume, and Vapor Pressure (which can be
ignored in water and wastewater systems).
While the formatted ASCII text files described in this section are useful for post-
processing, it is usually more efficient to generate the Access .mdb file and to use the
predefined and customizable reports it provides instead.
• Select Generate Output Database before clicking File > Run and then Run in
the Run Control window.
• Select File > Export > Database > Output after a successful simulation (and
before any other simulation is begun).
The HAMMER output database provides a Control Window from which you can
select one of the following reporting options:
This feature makes generating a report a simple point-and-click exercise. You can
select from one of these predefined reports and print some of them for an appendix.
Note: If you are familiar with Access, you can also customize the
report formats and/or the queries with which they populate the
tables.
FlexTables lets you 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:
If you need to edit one or more properties for all elements of a certain type in your
hydraulic network model, you might consider using a FlexTable to make your changes
there rather than editing each element one at a time in the Drawing Pane.
FlexTables can also be used to present results in report tables that you can print, save
as a comma-delimited file, or copy to the Windows clipboard for copying into word
processing or spreadsheet software.
To work with FlexTables, select the FlexTable toolbar icon or use Tools > FlexTables
to open the FlexTable Table Manager.
The Table Setup dialog box allows you to customize any table through the following
options:
• Table Name—Displays the name of the current FlexTable or lets you specify a
name if this is a new FlexTable.
• Table Type—Lets you specify the type of hydraulic elements that will appear in
the table. It also provides a filter for the attributes that appear in the Available
Columns list. When you choose a table type, the available list only contains
attributes that can be used for that table type. For example, only manhole
attributes are available for a manhole table. Clicking on Table Type opens a
cascading menu that is similar to the hydraulic element toolbar menu in the Main
Window, with one added category:
– Special—Lets you create special FlexTables to display input data and simula-
tion results at interior points, including time-dependent transient forces.
– Conduits—Lets you create FlexTables for pipes.
– Boundaries—Lets you create FlexTables for junctions, consumptions, dead
ends, periodic head/flow, manholes and reservoirs.
– Flow Controls—Lets you create FlexTables for various orifices and flow
control valves.
– Protective Equipment—Lets you create FlexTables for various surge control
valves or tanks, and gas vessels or rupture disks.
– Rotating Equipment—Lets you create FlexTables for various pumps or
turbines.
• Available Columns—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 number next to the Available Columns label
indicates the number of columns that appear in your table.
• Selected Columns—The Selected Columns list is located on the right-hand side
of the Table Setup dialog box. It contains attributes that will appear in your
custom designed FlexTable. When you open the table, the selected attributes
appear as columns in the table in the same order that they appear in the Selected
Columns list.
To add columns to the Selected Columns list, select one or more attributes in the
Available Columns list, then click the Add button [>] to add the highlighted
attributes to the Selected Columns list. You can use the up and down buttons to
change the order of the attributes in the table. The number next to the Selected
Columns label indicates the number of columns that will appear in your
FlexTable.
• Column Manipulation Buttons—Lets you select or deselect columns to be used
in the table, as well as arranging the order in which the columns will appear.
The Add and Remove buttons are located in the center of the Table Setup dialog
box.
– [ > ] Adds the selected items from the Available 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.
Note: You can select multiple attributes in the Available Columns list
by holding down the Shift key or the Control key while clicking
with the mouse. Holding down the Shift key provides group
selection behavior. Holding down the Control key provides
single element selection behavior.
To rearrange the order of the attributes in the Selected Columns list, highlight the
item to be moved, then move it up or down in the list by clicking the up or down
button located below the Selected Columns list.
• User-defined FlexTables
• Predefined FlexTables
If the FlexTable Table Manager is not open, click Tools > FlexTables to open it..
The FlexTable Table Manager allows you to create, manage, and delete custom tabular
reports called FlexTables. The dialog box consists of a list pane that displays all of the
custom FlexTables currently available, along with a toolbar.
• New—Creates a new tabular report and opens the FlexTable Table Setup dialog
box, allowing you to define the hydraulic element type that the FlexTable
displays, and the columns that are contained in the table.
• Edit—Opens the FlexTable Table Setup dialog box, allowing you to modify
custom FlexTables.
• Rename—Lets you rename the currently highlighted FlexTable.
• Delete—Deletes the currently highlighted FlexTable.
• Duplicate—Creates a FlexTable that is a duplicate of the currently highlighted
FlexTable and allows you to rename it.
• Selecting the FlexTable you want to open, then click the Open toolbar button.
• Double-clicking the FlexTable you want to open.
When you open a FlexTable from the FlexTable Table Manager, the table opens in this
window.
The following controls are available at the top of the FlexTable window:
FlexTables are available in all HAMMER projects. FlexTables are created as follows:
Click Tools > FlexTable to open the FlexTable Table Manager. In the table 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, click Tools > FlexTables to open the FlexTable Table
Manager, then:
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 of HAMMER, such as in the
Property Pane; but, it might be more efficient to
make changes to numerous elements in a FlexTable.
If you make a change that affects a hydraulic element
parameter listed in a 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.
The content in these columns can be changed by
running a computation.
1. To edit a FlexTable, click Tools > FlexTables to open the FlexTable Table
Manager, then:
– Right-click the FlexTable, then select Edit to edit the table format. The Table
Setup dialog box opens. Use the Table Setup dialog box to include and
exclude columns and change the order in which the columns appear in the
table.
– Double-click the FlexTable to open it, then click any cell to edit table content.
– From within a FlexTable, click the Options toolbar button and select Table
Manager to return to the FlexTable Table Manager.
2. Click OK after you finish to save your changes and close the dialog box (or
FlexTable), or click Cancel to close the dialog box without making changes.
Navigating in Tables
The arrow keys, Ctrl+Home, Ctrl+End, PgUp, and PgDn keys navigate to different
cells in a table.
Note: The Global Edit capability and Operation field is only available
for numeric data.
5. In the Global Edit field, type or select the value you want—for numeric data, you
typically type a new value, for other data you might select from a drop-down list
or select a check box.
You can sort and filter your FlexTables to focus on specific data or present your data
in a more useful way.
• Edit the FlexTable (see “Editing FlexTables” on page 8-281), to open the Table
dialog box and change the order of the selected columns 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, then click and drag the column heading of the column you
want to move to the new position.
Note: To create a custom sort, you can also click the Options button,
then select Sort > Customize.
• Key table—Each row in the table represents an additional sort key. You select
table columns as sort keys in the Attribute column. You check the box in the
Ascending column if you want the data in the selected column to appear in
ascending order. If the box is not checked, data in the selected column will appear
in descending order.
• Delete Row button—Located in the lower right corner of the dialog box, this
button deletes the currently highlighted row from the Key table.
• Move Up button—Changes the order of sort keys by moving the currently high-
lighted row in the Key table up one row.
• Move Down button—Changes the order of sort keys by moving the currently
highlighted row in the Key table down one row.
Filtering Tables
Filters let you change the table to display only rows that match the specified criteria.
To access filtering capabilities for FlexTables:
Note: To set up a custom filter, you can also click the Options button,
then select Filter > Customize.
To turn off the active filter, you can also click the Options button,
then select Filter > Reset.
3. For Quick Filter or Custom Filter, specify your filtering criteria in the Filter dialog
box. Each filter criterion is made up of three items:
– Attribute—The attribute or column used to filter the FlexTable rows.
– Operator—The operator to use when comparing the filter value against the
data in the specific column (operators include: =, >, >=, <, <=, < >, Contains,
and Begins With or Ends With).
Note: The filtering options: Contains, Begins With or Ends With allow
more flexibility with regard to filtering tables. These filters are
only available for column types that have alphabetic values, for
example Label.
You can add any number of criteria 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 are displayed. A filter remains active for the
associated table until the filter is reset.
To reset a filter:
1. Right-click the column heading you want to filter, then select Filter > Reset, or
2. Click the Options button, then select Filter > 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 is highlighted.
Note: Table filtering lets you perform global editing (see “Globally
Editing Data” on page 8-284) on any subset of elements. Only the
elements that appear in the filtered table can be edited.
• Filter Table—Each row in the table represents a separate filter criteria. After you
set up your filters, the FlexTable will only display rows that match your criteria.
– Select the column to be used to filter the FlexTable rows in the Attribute
column.
– Select the operator to use when comparing the filter value against the data in
the specific column (operators include: =, >, >=, <, <=, < >, Contains, and
Begins With or Ends With) in the Operator column.
– Type the comparison value in the Value column.
• Delete Row button—Located in the lower right corner of the dialog box, this
button deletes the currently highlighted row from the Key table.
• Move Up button—Changes the order of sort keys by moving the currently high-
lighted row in the Key table up one row.
• Move Down button—Changes the order of sort keys by moving the currently
highlighted row in the Key table down one row.
There are several ways to customize FlexTables to meet a variety of output require-
ments:
• 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. For more information, see “Naming and
Renaming FlexTables” on page 8-281.
• Adding/Removing Columns—You can add, remove, and change the order of
columns from the Table Setup dialog box. For more information, see “Editing
FlexTables” on page 8-281 and “Sorting and Filtering FlexTable Data” on page 8-
285.
• 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. For more information, see “Sorting the Order of Columns in a
FlexTable” on page 8-286.
• 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.
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. You can also right-click any column heading and
select copy to limit the operation to a single column.
4. Paste (Ctrl+v) the data into other Windows software, such as your word-
processing application.
Note: Instead of Print Preview, you can click Print to print the report
without previewing it.
3. Click Report. A print preview of the report displays to show what your report will
look like if printed using your default printer.
4. Click Print to open the Print dialog box and print the report to a printer that you
select.
You can enter your organization’s name and logo using Tools > Viewer > Graphics to
open the HAMMER Viewer and then Tools > Set Company Name and Tools > Set
Company Logo.
Your logo must supplied in .gif format. Your company’s name will be displayed as text
next to the logo, if available. You can also display only a logo or only text if you
prefer.
You can change the color and fonts used to display hydraulic element labels, including
the background color of the Drawing Pane, using Tools > Global HAMMER
Options, selecting the Colors tab, and clicking the color (the numbers represent a
color; click to edit them). In the Other Options tab, you can set the default font and
toggle the anti-alias feature, for sharper lines and symbols, on or off.
Click Tools > Global HAMMER Options, select Other Options, and set the field
Optimized Animation Performance to True if you want to minimize the wait time
between clicking Animate and the start of animation. However, setting this option to
True uses more RAM than setting it to False; so, setting the field Optimized Anima-
tion Performance to False may reduce the use of virtual memory and be more appro-
priate for large systems.
You can use the Capture Screen (camera) toolbar icon to save the contents of the
current Drawing Pane view to a .jpeg or .gif graphic file. You can paste this graphic in
reports and figures.
Depending on the level of detail shown on the screen, you can display or hide
hydraulic element labels using Tools > Project Options and selecting the Other
Options tab to toggle the following display options:
The Map Selection color coding choice lets you assign colors and sizes to hydraulic
pipe and node elements in the Drawing Pane based on a variety of input and output
attributes. For any attribute, you can supply a color scale or have HAMMER generate
one for you.
For example, you can supply a color scale to display all pipes whose maximum tran-
sient heads are between 20 and 40 m in green, those between 40 and 110 m in blue,
and those above 110 m in red. For more information, see “Generating Color Maps” on
page 8-295.
Once simulation results have been calculated, HAMMER automatically stores them in
the .hif so you can display results in the Element Editor and Drawing Pane without
running HAMMER again. It also sets the line thickness of each pipe in proportion to
its diameter.
You can assign one of several transient results to pipes or nodes in the Map Selection
toolbar as shown in “Table 8-1: Transient Result Display Options using the Map
Selector”on page 8-296.
HAMMER makes it easy to color-code pipes and nodes in the Drawing Pane of the
HAMMER Modeler based on calculated results, such as the transient heads, pressures,
flows, and volumes. A Map Selector toolbar icon gives immediate access to the
color-coding options available for pipes and nodes, as shown in the following table.
Table 8-1: Transient Result Display Options using the Map Selector
Pipes Nodes
Maximum Flow
Minimum Flow
Length Adjustment
At the bottom of the options listed for Pipes and Nodes, you can click Legend (then
click the Drawing Pane) to display a scale bar, or you can click Scales to open the
Color Map Settings window for the currently selected output variable. Simply select
the Color Ramp, Scale Intervals, and Scale Limits and click Apply to visualize the
resulting map.
For an example of how to select a color map scale, see “Part 4—Color-Coding Maps,
Profiles, and Point Histories” on page 3-155.
HAMMER’s Color Map Settings dialog for the chosen calculated result, such as
Node Maximum Pressure, shows the maximum and minimum values of this output
variable using the units you selected with the FlexUnits manager (or the default units).
The appearance of the resulting map depends on how skillfully you divide this total
output range into intervals and set colors corresponding to each of the interval bound-
aries, as follows:
The procedure for selecting a color map scale has the following four steps:
3. Scale Limits—The scale limits determine the portion of the output variable range
for which the continuous color variation you selected is used. Whether you select
it based on percentages or enter it directly, all locations with a value equal to or
lower than the Minimum Value are displayed with the color corresponding to this
lower limit. All locations with a value equal to or greater than the Maximum
Value are displayed with the color corresponding to this upper limit.
Transient Tip: Set the limits of your scale presets according to the
limits of your actual system. For example, enter the
surge-tolerance limit as the Maximum Value of pressure.
Similarly, enter zero flow or zero pressure for the
Minimum Value of the flow and pressure scales,
respectively.
4. Once you have defined a scale that is suitable for your system and the selected
output variable, you can save it for future use by clicking Save Preset. In any
HAMMER project, you can select presets saved previously using the Presets
choice list. You can also delete presets you no longer need by clicking Delete
Preset, making a selection from the deletion choice list and clicking OK.
Setting up a profile is a matter of selecting the path or walk for which variables such
as elevation and calculated results will be plotted. Use Tools > Project Options and
click the Report Paths tab to display HAMMER’s profile-selection tool.
When everything is set up to your satisfaction, close the Project Options window to
return to HAMMER Modeler.
The HAMMER Viewer can be started from the HAMMER Modeler using Tools >
Viewer > Graphics. You can select the Path or Profile as well as the variables to plot
from this window and display the result either as a graph (click Plot) or an animation
(click Animate). The default is to plot or animate all variables for the first path listed.
Clicking Animate displays the graph and the Animation Controller (see “Animating
Maps, Profiles and Point Histories” on page 8-305). Whether they were created as
plots or animations, all HAMMER graphs can be modified and printed as follows:
1. In HAMMER Modeler, select Tools > Viewer > Graphics to display the
HAMMER Viewer, then load the .hof file containing your results. You can also
load a .grp if you previously created a graph and saved it for this project.
2. Select the end point you want to plot a history for p??:j??, where ?? represents
the pipe and node used in the end point’s name. Select a Graph Type such as
Head & Flow and click Plot to display the transient history.
3. To format a graph, click its frame to select it (this will display square handles on
the frame outline), and right-click this frame to open the graph’s context menu.
Move the cursor and click to select a context menu command, such as Draw
Symbol. You can also click Format Graph as described in “Graph Formatting
and Annotation” on page 8-301.
Right-click anywhere on the graph to display a menu to toggle the display of the Show
Page View and Show Frame on or off. To change the figure number, title, date, and
project number, double-click on these areas and make the required changes.
The graph-formatting options available for Time History plots are identical to those
described in “Graph Formatting and Annotation” on page 8-301.
Click any graph frame and then right-click to display the menu and select Format
Graph. Select either the X-Axis or Y-Axis tabs and then select the following tabs to
display standard Haestad graph formatting options, including Scales (with FlexUnits),
Titles, Labels, Ticks, and Grids:
Transient Tip: The high and low limits of the axes should be selected
based on the minimum and maximum attribute values for
the entire simulation period and for all locations in the
current project—or even for several alternative HAMMER
surge-control projects. This will make direct comparison
of different locations and surge-protection alternatives
easier.
• Titles—Every graph has three titles: Graph title, X-Axis title, and Y-Axis title.
You can select the font and size of each title.
• Automatic Scaling—By default, HAMMER uses Automatic Scaling to set the
X- and Y-axis minimum, maximum, and increment values. To customize an axis,
turn the check mark off and enter the desired values for the minimum, maximum,
and increment. You can customize a single axis while leaving the other in the
Automatic Scaling mode.
• Ticks —You can specify whether tick marks should be displayed inside, outside,
or across the axis.
• Grid —You can specify grid lines for one or both axes. You can also specify the
line type, thickness, and color of each grid.
These options allow you to format graphs to compare the results of different
HAMMER surge-control projects.
• Line Formatting—Click any graph frame, right-click to display the menu, and
select Format Data. Select one of the lines displayed on the profile, such as the
pipe elevation, maximum or minimum transient envelope, or steady-state HGL.
You can change the line type, color, and thickness of any line. You can also define
a new line segment, parallel to any line, by specifying the segment’s line proper-
ties, the X-coordinates at its beginning and end, and the distance away from the
original line, or Y-offset.
• Shade Formatting—Click any graph frame, right-click to display the menu, and
select Format Shades. Select any two of the lines displayed on the profile, such
as the pipe elevation and minimum transient head, and define a shade color and
opacity to use whenever the Top Line falls below the Bottom Line. You can also
swap the Top Line and Bottom Line.
• Copy and Paste Settings—Click any graph frame, right-click to display the
menu, and select Copy Settings / Paste Settings. You can copy the settings of one
HAMMER graph and apply them to any other similar HAMMER graph.
• Copy and Paste Symbols—Click any graph frame, right-click to display the
menu, and select Copy Symbols / Paste Symbols. You can copy the symbols of
one HAMMER graph and apply them to any other similar HAMMER graph.
Symbols include hydraulic element symbols, text, lines, and other annotations.
• Copy and Paste Data—Click any graph frame, right-click to display the menu,
and select Copy Data / Paste Data (+) / Paste Data (-). You can copy the data
and lines displayed on one HAMMER graph and paste them to any other similar
HAMMER graph. Selecting Paste Data (-) deletes the contents of the target graph
prior to the paste operation. Selecting Paste Data (+) adds the lines to the existing
graph content.
To add graphical annotation to a graph, right-click its frame and select from the avail-
able tools:
The HAMMER Modeler’s Drawing Pane, as well as every graph and animation
generated by HAMMER, is “What You See is What You Get” or WYSIWIG—it will
print as displayed on the screen. Consequently, there is no need for a print-preview
feature in HAMMER. Right-click anywhere on the graph (except the graph pane) and
toggle the Page View option ON to get a sense of the proportions imposed by the page
size and margins.
For the same reason, HAMMER only generates the Animation Data (for on-screen
animations) or Output Database (for tabular reports in Access) if you select this
option in the Run dialog box.
Early in a HAMMER project, you evaluate many different types or sizes of surge
protection equipment with many different HAMMER input and graph files. You can
often compare the effectiveness of different protection by plotting the maximum tran-
sient head envelopes with the same y-axis limits. At any time, or once you feel you are
close to a definitive surge-control solution, you can generate animation data in one of
two ways:
• Tell HAMMER to generate the animation data files before you run the program by
clicking Generate Animation Data in the run dialog box. If you generated
animation data during the run, HAMMER automatically starts the HAMMER
Viewer after a successful run.
• Immediately after a run (i.e., prior to the next run), you can generate animation
data using Tools > Generate Animations. You will need to load this animation
data using Tools > Viewer > Graphics and selecting the correct HAMMER
output file (.hof) prior to animating the results on screen.
Once you have generated the animation data files, you can display animations without
running HAMMER again. This saves a lot of time when comparing the results of
several surge-control alternatives. You can load the animation data files using the
HAMMER Viewer (Tools > Viewer > Graphics in Modeler):
In the HAMMER Viewer, select one of the available Paths from the choice list.
Usually, you will select the Graph Type Path & Volume and then click the Animate
button. This automatically loads the animation data and starts the Animation
Controller, as follows:
1. On the Animation Controller, click the play button (second from the left) to start
the animation.
2. Right-click on the graph and click Save as to save the result displayed on screen
as a HAMMER graph (.grp) or Windows bitmap (.bmp). You can reload
HAMMER graphs later.
3. Open as many histories and paths (also known as profiles or walks) as you want
and position them on the screen. Again, annotate and save each one as a
HAMMER graph (.grp).
4. When the on-screen layout and graph annotations are ready for a presentation,
select File > Save Animation As and type in a name to save the entire animation
layout as an .ani file for rapid recall later.
5. Once you are done for this session and close the Animation Controller, you are
prompted to close all graphs. Click Yes.
6. In the future, you can use the HAMMER Viewer to open the animation layout
directly by clicking File > Open and selecting the .ani file. This automatically
starts the Animation Controller, opens the .hof and .grp files, positions the
graphs on the screen, and returns control to you so you can begin your presenta-
tion—all in a matter of seconds!
7. You can also display a color-coded map by repositioning and sizing the
HAMMER Modeler window. Click Show Tabs to toggle the display of the tabs
off to maximize the available display area.
Note: You can generate the maximum and minimum transient maps by
clicking the Capture Screen button on the HAMMER Modeler
toolbar. These need to be added as the last two frames of an .avi
file to be accessible using the HAMMER Animation Controller.
8. During an animation, you can use the Animation Controller to change the frame
rate or frame position interactively with the sliders provided. You can stop the
animation at any time and then, for example, step through a vapor-pocket collapse
frame by frame. You can also jump to a specific time by selecting it from the
choice list. Practice using these tools to prepare a polished and powerful presenta-
tion.
9. Carefully select the key locations at which to show histories and the key profiles
to illustrate topography. This keeps the number of graphs to be animated to a
minimum. An animated map is often as effective as several animated profiles.
10. For large networks, multiple displays increase the amount of screen area available
for animating graphs; however, keep in mind that most people find it difficult to
track many graphs at once, unless the frame rate is very slow and many explana-
tions are provided. This can detract from the overall visual impact of the presenta-
tion.
11. You can also use a computer projector to magnify the size of each graph. This is
highly recommended if you will be presenting the results to more than about three
people.
Frequently Asked A
Questions
Extensive, up-to-date tips are available by clicking the Globe on the toolbar, which
will take you to the Bentley SELECTBentley SELECT area of the Bentley Systems
Web site. There, you can consult Frequently Asked Questions (FAQs), modeling tips,
and other useful information in our KnowledgeBase or do a search on any keyword.
This area of the Web site is only available if you are participating in the Bentley
SELECT program.
If the information you need is not available in this section, click the Search tab at the
top of the Help window for an index. To make your work easier, HAMMER and the
Help system are designed to be used together. If you have a high-resolution display
monitor, you will probably find it helpful to size the frames of both the program and
the Help windows so that they fit side by side. Then, while using the program, you can
use the right mouse button or click on the Help tab to update the Help window with
context-sensitive Help.
The following sections cover the key aspects of importing data from WaterCAD/
WaterGEMS using WaterObject technology, from EPANET, or from other steady-state
hydraulic models.
Scenario Management
Alternatives are collections of data, such as junction demands or pump and valve
operational settings. A scenario references a certain combination of these alternatives
to reduce the chance of alternative data sets being mishandled. Typically, water-supply
scenarios are managed in the steady-state model, such as WaterCAD or WaterGEMS,
and the selected design is subsequently imported to HAMMER as an initial steady
state, where it is analyzed for hydraulic transients to specify suitable surge-protection
equipment.
HAMMER does not support scenario management directly, but it can store the name
of the original WaterCAD or WaterGEMS file, the name of the scenario, and the time
step you imported in the Summary tab of the Project Options dialog. Each
HAMMER model generates its own set of input and output files, which can be very
large, consequently, you should be aware of the following:
• HAMMER does not store multiple scenarios in a single file at this time, in part to
limit file size and also to avoid decreasing performance when generating tabular
reports or viewing animations. Each scenario must be saved as a separate set of
input and output files.
• You cannot open multiple files at once within a HAMMER session. If you need to
compare the results of different output files, you can save each file’s results to a
HAMMER graph file (.grp) and copy and paste data between these .grp files. This
uses less computer resources than opening each in a separate instance of
HAMMER from the START menu.
• It is highly recommended that you create a new folder for each alternative to store
the many files HAMMER may create (.hif, .hof, .ani, .grp, .mdb, .rpt, .out, and
others)
• As your understanding of the pipe system’s response to transients improves with
each HAMMER run, you may want to archive or compress certain folders to save
disk space. Be sure to keep the .hif and any .grp or .mdb you generated yourself
from the FILE menu. Animations are stored in the .hof (output data) and .ani
(layout).
Demand Alternatives
Steady-state models consider many demand alternatives (Avg. Day, Max Day, Peak
Hr.) and development conditions (Year 2018, Year 2033).
Control Valves
Based on hydraulic conditions in the system at steady state (i.e., time zero) HAMMER
will convert the following valve types to valves with a fixed opening (acting as an
inline orifice), which results in an equivalent head loss:
• Pressure-Regulating Valves (PRVs) that open to allow liquid to escape when pres-
sure equals or exceeds a set point.
• Flow-Control Valves (FCVs) that throttle open or closed to maintain a set flow
rate.
• Pressure-Sustaining Valves (PSVs) that throttle open or closed to maintain a set
pressure.
• Pressure-Breaker Valves (PBVs) that create a constant headloss across the valve.
• Throttle-Control Valves (TCVs) that allow you to adjust minor loss coefficients
based on system pressures, HGLs, or time.
• Any open or partially open isolation valve.
In Summary
HAMMER can accurately represent many more features and behaviors than steady-
state models. The following are two very important points that we emphasize as you
prepare to use HAMMER for the first time:
You can use WaterObjects technology to import data from a WaterCAD or Water-
GEMS model into HAMMER. Start WaterObjects using File > Import > Network >
WaterCAD/WaterGEMS on the HAMMER menu. The import procedure is
described in detail in “Part 3—Importing Haestad Methods Models Using WaterOb-
jects” on page 3-139.
Select File > Import > Network and choose EPANET. Then, from the File > Open
window, select the EPANET file to import. For more information, see “Part 1—
Creating or Importing a Steady-State Model” on page 3-106.
This program supports the import of most hydraulic elements from PIPE2000 data
sets. Alternatively, you may be able to open these and resave them as EPANET
version 2.0 format, which can be imported into HAMMER.
HAMMER imports pipes and most nodes from Surge2000 models. You need to insert
certain pump, valve, tank data, and additional information into the current project. For
more information, see “Part 4—Importing from Other Models” on page 3-140.
HAMMER’s ability to read and write Access database files means that your hydraulic
model can easily be linked to virtually any major database, spreadsheet, or GIS
product currently in use today. HAMMER’s support for FlexUnits ensures you are not
limited to a specific unit system.
For more information, see “Part 1—Exporting an Input or Output File to a HAMMER
Datastore” on page 3-131.
It is possible to run out of RAM while running or animating very large networks with
thousands of pipes or by running HAMMER for thousands of seconds. Due to
inherent memory-management default in Windows, it is possible for performance to
decrease drastically if your system is forced to create virtual memory on the hard disk.
To avoid this, it is recommended you use the following memory-management proce-
dure:
• Don’t use Generate Animation Data or Generate Output Database unless you
need to actually view the animations or use the Access database or reports, respec-
tively. This will decrease execution time and memory use.
• Always output the minimum number of time steps possible, relying on the
maximum transient envelopes for the extreme high and low heads. In Project
Options, click the Report Times tab and use the periodically option, with a
period of 10 or 20. Only for the final run or when smooth animations are required
should you ever output every time step (and even then, only if required).
• Close animation data files (.ani or .hof), the HAMMER Viewer, and the Anima-
tion Controller when they are not in use. This frees up valuable memory and
resources during a large system run.
• If you have been editing large model files for a few hours in HAMMER
Modeler, consider closing it and reopening it and your .hif file prior to a large
model run. This closes the Java VM and creates a new one, which may free
memory in some cases.
How do I calculate the pressure wave speed for different materials, fluids, and
anchorage conditions?
The pressure-wave speed or acoustic wave speed of a liquid is the speed at which a
disturbance propagates through a closed-conduit, pressurized piping system. See
“Liquid Properties” on page 4-182 for values and ranges for water and typical (buried)
pipe materials. The pressure-wave speed depends on the liquid's wave celerity and the
pipe and bedding or anchorage as described in detail in “Celerity and Pipe Elasticity”
on page B-359.
How do I choose the most appropriate four-quadrant pump curve and what are
the errors involved?
If you need a four-quadrant pump curve but your pump's specific speed does not
match one of the available options, select the closest one available or request it from
the manufacturer. The prediction error cannot be linearly interpolated using specific
speed, but you could run a different curve to bracket the solution domain. For more
information, see “First-Quadrant and Four-Quadrant Representations” on page 6-224
and “Specific Speed” on page 6-222.
What is the effect of using the various friction models and when is it appropriate
to use each one?
The most widely used steady-state friction loss calculation methods include the
Hazen-Williams and Manning’s equations—in which friction losses are proportional
to relative pipe roughness but not to changes in flow. HAMMER uses the more
rigorous Darcy-Weisbach method, in which friction losses are proportional to relative
pipe roughness and to changes in flow.
In HAMMER, a hydraulic transient analysis usually begins with an initial steady state
in which the heads and flows are known for every pipe in the system. Prior to begin-
ning the transient calculations, HAMMER automatically determines the friction factor
based on this information. HAMMER can also use advanced quasi-steady or transient
friction models. For more information, see “Selecting the Friction Method” on page 4-
183.
It is always a good idea to run HAMMER to check extreme transient pressures for any
system with large changes in elevation, long pipelines with large diameters (i.e., mass
of water), and initial (e.g., steady-state) velocities in excess of 1 m/s. In some cases,
hydraulic transient forces can result in cracks or breaks, even with low steady-state
Data requirements for hydraulic transient simulations are greater than for EPS or
steady-state runs. In addition to data required by a steady-state model, you also need
to determine the following:
See the HAMMER help resources and “Hydraulic Element Reference” on page 6-205
to ensure that the correct data and parameters are entered in the model. For more infor-
mation, see: “Data Requirements and Boundary Conditions” on page 7-253.
How does HAMMER model water-column separation and the movement of air?
Air and/or vapor can fill a pipe when the water it carries separates into two columns
due to rapidly changing momentum and hydraulic transient pressures. HAMMER has
an advanced vaporous-cavitation model and it is even able to model the position of the
air/liquid interface at high points. For more information, see “Water Column Separa-
tion and Vapor Pockets” on page 7-256.
Hydropneumatic tanks, also known as air chambers, are modeled using a gas vessel
element in HAMMER as a reminder that these are pressure vessels, which must be
specified with care and in accordance with local codes (e.g., ASME code). Consider a
few key concepts:
• The gas and liquid in the pressure vessel are at the same pressure, typically equal
to the discharge header pressure. Gas vessel pressure has no relationship to the
liquid level, which must be determined based on level probes and, ideally, a sight
glass as a backup.
• The volume of gas required depends on the hydraulic transient dynamics of the
system; there must be enough gas to avoid a partial vacuum in the vessel when the
gas expands.
• The volumes of gas and liquid required are proportional to the volume of vapor
predicted by HAMMER for an unprotected run.
• Try several HAMMER runs, changing the initial volume of gas until the liquid
outflow is sufficient to limit extreme transient heads, and/or to dampen transient
energy quickly enough. A differential orifice will generally attenuate transients
faster.
For more information, see “Gas Vessel or Air Chamber” on page B-410.
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
profile of a groundwater well pump’s vertical suction and, often, horizontal discharge
line results in a “knee” at the turn to the horizontal.
For pumps installed near or below ground level, it is possible to achieve vapor pres-
sure and water-column separation at the knee, because the water in the vertical riser
slows more rapidly than the water in the horizontal section after a power failure. This
can result in very significant and sudden high pressures when the water columns
subsequently rejoin.
Unless well heads are capped and surrounding soils are not contaminated, it is
possible to suck air and/or groundwater into the horizontal pipeline during the
resulting subatmospheric or vacuum-pressure conditions. Such short-lived transients
can potentially contaminate the water supply.
HAMMER allows you to create parallel pipes by drawing pipes with the same end
nodes. If you plan to combine two parallel pipes into one equivalent pipe with a larger
diameter, check that they both have the same vertical profile.
Pumps in parallel can be modeled by inserting a pump on different pipes that have the
same suction and discharge nodes or by modeling the suction and discharge headers
explicitly. However, short pipes in suction and discharge headers are extremely close
together from a hydraulic transient perspective. Based on wave speeds of, typically,
1,000 m/s, an entire header will usually behave as a single node, so consider modeling
it that way.
If tanks are hydraulically close, as in the case of several tanks adjacent to each other, it
is convenient to model these tanks as one composite tank with the equivalent total
surface area of the individual tanks. This process hides fluctuations that may occur if
the tanks are modeled individually. Such fluctuations can be caused by small differ-
ences in flow rates to or from the adjacent tanks, which may offset the water surface
elevations over time enough to become significant.
Elevated tank
To distribution system
Pump
Reservoir
The outlet of the reservoir or MH tank can then proceed to the distribution system.
Tank represented as a
Orifice to reservoir or as a MH with
atmosphere a time-varying inflow
P-2
P-3
Reservoir Pump J1 J2
In HAMMER, hydrants are modeled using the hydraulic element orifice at branch
end. You can enter the length of the connecting pipe or “Fire Hose” and the elevation
of the discharge point or nozzle. HAMMER models the outflow as an orifice demand
(i.e., as a function of head) in a manner analogous to a flow emitter in WaterCAD.
HAMMER automatically calculates the emitter coefficient based on the typical flow
and pressure you specify.
In order to accurately model a hydrant, you can find an overall head loss for the
hydrant and the conversion of pressure head to velocity head (K value) from AWWA
Standards C502 and C503. For example, the standards state that a 2.5 in. (63 mm)
outlet must have a pressure drop less than 2.0 psi (1.46 m) when passing 500 gpm
(31.5 l/s). You can enter these pressure drops and flows directly in HAMMER.
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 in the following table.
Outlet k k K K
Nominal (in.) gpm, psi l/s, m gpm, psi l/s, m
The listed coefficients given are based on a 5 ft. (1.5 m) burial depth and a 5.5 in. (140
mm) hydrant barrel. A range is given because each manufacturer has a different
configuration for hydrant barrels and valving. The lowest value is the minimum
AWWA standard.
HAMMER can model the behavior of variable-speed pumps (VSP), whether they are
controlled by variable-frequency drives, hydraulic transmissions, or other couplings
between the motor and impeller ends. You can specify speed or torque ramps directly
and let HAMMER keep track of the rate at which flow will ramp up or down as a
function of efficiency and inertia, just as the motor controllers or soft-starters do in
actual systems. No work-around is required.
• One parameter that can be used to adjust pump performance is its speed. For any
speed less than the motor’s full rated speed, HAMMER automatically uses the
pump affinity laws to adjust the pump-head characteristic curve.
• You can specify a variation in torque, typically to model pumps whose motor
input is constant but where a variable-torque transmission is used to transfer it to
the impeller. These mechanisms are common in industrial applications and for
some older pumps.
Motor start and stop sequences are usually predetermined, being merely activated by a
Start or Stop command on the motor control center panel or SCADA system. During
the ensuing pump operation, it is often not possible to control the pump based on the
system conditions. Steady-state pumping must first be achieved.
HAMMER does not support feedback-loop pump controls (based on the pressure or
flow at a node). For this behavior, model the transient event with a duration long
enough to return the system to a final steady state. Then transfer this steady state back
to WaterCAD and continue your analysis of the system as an extended-period simula-
tion.
If the computer you are using does not have internet access, you can log on to Knowl-
edge Base at an alternate computer by going to http://www.haestad.com and entering
the Bentley SELECT portion of the Web site. You can then log on with the Product
ID located in the back of the user’s manual or your PID number.
In HAMMER Modeler, select Tools > Viewer > Graphics to start the HAMMER
Viewer, and do the following:
• Click Tools > Set Logo to enter your organization’s logo. It must be a .gif file.
Text you enter as your organization’s name will only display in the space left over
by the icon.
• Click Tools > Set Company Name to enter your organization’s name. If you do
not enter a logo, the name will occupy all of the available space on graphs. The
organization name also appears in the footers of predefined tables.
• Select Tools > Global HAMMER Options and select the Other Options tab.
You can select the default font and turn on anti-alias display for sharper lines and
curves. You can also set the background and foreground Drawing Pane colors in
the Colors tab.
• Select Tools > Project Options and then the Other Options tab. You can select
the default font here as well and turn on the display of pipes or node labels. You
can also toggle the display of short labels or full-length labels. These options can
help clean up the display of a large system in the Drawing Pane.
1. Select the Map Selector choice list on the HAMMER Modeler toolbar.
2. Select the variables to use for color-coding nodes and pipes. You can choose from
maximum or minimum heads, pressures, or flows and maximum vapor or air
volume.
3. Click Scales at the bottom of the Pipe or Node portion of the choice list to display
the Color Map Settings window.
4. Select a color ramp and the values for its upper and lower limits. You can also set
intermediate limits and colors and HAMMER will automatically interpolate
between these values.
5. Click Legend at the bottom of the Pipe or Node portion of the Map Selection list,
then click a location in the Drawing Pane to display the legend and color-scale bar.
HAMMER makes it easy to select and reuse sets of hydraulic elements to quickly
assemble repetitive models of pump suction and discharge lines, for example:
1. Click the Select (arrow) icon on the toolbar and select the hydraulic elements you
want to reuse, then select Edit > Copy.
2. Do not click elsewhere in the drawing. Select Edit > Paste to reproduce this set of
hydraulic elements as many times as you like. HAMMER will automatically
assign different labels to each node and pipe you add to the Drawing Pane in this
way.
Inserted sets are automatically selected to allow you to move them around easily.
You can copy paths from one project file to another provided each of the pipes in a
valid path exists in both HAMMER project files (i.e., if the topology in both project
files is the same).
WaterCAD HAMMER*
With HAMMER, you can analyze drinking water systems, sewage forcemains, 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. HAMMER 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 cogen-
eration or industrial systems.
The HAMMER algorithms will grow and evolve to keep pace with the state of the
practice in water distribution and wastewater collection modeling. Because the mathe-
matical solution methods are continually extended, this manual deals primarily with
the fundamental principles underlying these algorithms and focuses less on the details
of their implementation.
B.1 Acknowledgements
HAMMER is based on technology originally created by Environmental Hydraulics
Group (EHG), led by Dr. Alan Fok, P.Eng., a designated Hydraulic Specialist, and
assisted by Dr. Sheldon Zemell. Bentley Systems and EHG have forged a long-term
collaboration to support and improve HAMMER. The software is intended to repre-
sent 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 Distribu-
tion 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 tech-
nical publications and Ph. D. thesis.
Transients can occur in pressurized systems conveying any fluid, including the
following:
HAMMER has been used extensively to analyze and design water and wastewater
systems, as well as slurry and oil systems. EHG has analyzed steam, industrial, and
cogeneration systems with custom versions and has calculated transient forces on
above-ground anchors.
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).
Haestad Press’ 2002 Advanced Water Distribution Modeling and Management docu-
ments other less-common methods. Transients have also been studied using:
Neither laboratory models nor field testing can substitute for the careful and correct
application of a proven hydraulic transient computer model, such as HAMMER.
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 HAMMER.
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 B-
2: Typical Locations where Transient Pulses Initiate”on page B-341):
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
d
nt Hea
r an s ie
T Downstream
High Point
im um
Pipeline
Devices Min Source Devices
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.
resist thrust in only one direction. In pump stations, low pressures on the downstream
side of a slow-closing check valve may result in a very fast closure known as valve
slam. A 10 psi (69 kPa) pressure differential across the face of a 16 in. (400 mm)
valve can result in impact forces in excess of 2,000 lb. (8,900 N).
• 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).
• Surge-control devices if not properly designed or operated.
• Changes in pipeline profile or alignment where transient forces may be signifi-
cant.
• Pump startup before transient energy has decayed sufficiently or before all air has
been removed from the line.
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.
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. HAMMER 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.
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.
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
γ 2g γ 2g
(B.1)
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.
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.
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.
HAMMER 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-251.
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
(B.3)
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
(B.4)
∂V ∂V ∂H fV V
+V +g + =0
∂t ∂x ∂x 2D
(B.5)
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
(B.6)
Equations B.4 and B.6, 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.
g dH dV fV V
+ + = 0
a dt dt 2D
C+
dx
= +a
dt
(B.7)
g dH dV fV V
− + + = 0
a dt dt 2D
C−
dx
= −a
dt
(B.8)
Equations B.7 and B.8 cannot be solved analytically, but they can be expressed graph-
ically 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. 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 HAMMER, the following additional capabil-
ities are required:
HAMMER has been used for over 15 years on a large number of water and waste-
water projects, evolving during this time to add new boundary conditions while
preserving ease of use and accuracy. Thus, it is a proven model with many “electron
miles” and a solid track record of matching field observations (when available). It has
also been used to model other fluids and tackle problems in other industry sectors,
adding to its generality and confirming its robust algorithms.
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.
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,
potentially allowing vacuum conditions to occur. The change in slope is directly
proportional to the flow change. Generally, the maximum transient head envelope
calculated by rigid water column theory (RWCT) is a straight line, as shown in the
following figure.
id)
Head (Rig
Minimum
Pipeline
Figure B-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 B-363.
During mass oscillations, moderate changes in head occur slowly, allowing changes of
the liquid density and/or elastic deformation of the pipeline to be neglected.
Mass oscillations routinely occur while deep sewers or tunnel systems are filling.
Based on simulations for an actual project, “Figure B-5: Mass Oscillations during
Deep Tunnel Filling”on page B-355 shows:
• Liquid levels in the large transmission (sewer or tunnel) and storage (large vertical
chamber) elements typically rise gradually as the system fills.
• The different flow rates contributed by surface sewers, and conveyance in the
deep system, causes each storage chamber (A, B, and C) to fill at a different rate.
• Liquid levels in smaller inflow drop shafts can fluctuate significantly at a much
higher frequency than the large storage chambers, possibly resulting in a spill to
surface sewers or even to ground level. Resonance and amplification are possible
in these shafts and elastic theory may be required to correctly model the faster
changes in liquid level.
• As the entire system becomes full, levels in the large chambers may significantly
exceed the ground elevation as excess energy is required to accelerate water (in
the submerged outfall pipes) from zero to a steady-state velocity. Overflows may
occur at the chambers unless adequate provision is made for this temporary condi-
tion.
85
(EWCT)
65
60
55
45
40 Legend
Storage Chamber A
Inflow Shaft
35
Storage Chamber B
Storage Chamber C
30
25
0 5 10 15
Time (minutes)
This example illustrates the importance of using HAMMER to identify the spill poten-
tial of a deep sewer or storage system prior to detailed design and commissioning.
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 B-
6: When to Use Elastic versus Rigid Column Theory for a Valve Closure”on page B-
357 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 B-6: When to Use Elastic versus Rigid Column Theory for a Valve
Closure”on page B-357. EWCT correctly accounts for fluid compressibility, resulting
in a significantly higher estimate of the maximum transient head than RWCT.
HAMMER 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 B-6: When to Use Elastic versus Rigid Column Theory for a Valve
Closure
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 B-359.
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.
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 dρ
V ρ
(B.11)
A relationship between a liquid’s modulus of elasticity and density yields its charac-
teristic wave celerity:
Ev dp
a= =
ρ dρ
(B.12)
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.
HAMMER uses an elastic model formulation that requires the wave celerity to be
corrected to account for pipeline elasticity.
Ev
ρ
a=
Ev D
1+ ψ
Ee
(B.13)
Equation B.13 is valid for thin walled pipelines (D/e > 40). The factor ψ depends on
pipeline support characteristics and Poisson’s ratio. ψ depends on the following:
Young’s Modulus
Poisson’s Ratio,
Material
µ
(109 lbf/ft2) (GPa)
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 B-7: 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.
Characteristic Time
TM = 0 Instantaneous
T M ≤ 2L ⁄ a Rapid
T M > 2L ⁄a Gradual
T M » 2L ⁄a Slow
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
∆H s a
s= = n o
∆H o A
∑ ai
i =0 i
(B.14)
• 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 HAMMER 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 reflec-
tion factor:
∆H r
r= = s −1
∆H o
(B.15)
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:
– All the pump stations fail while the booster continues to operate.
– Only the booster fails while all others continue to operate.
– A global power failure occurs at all pumping stations for both systems.
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.
Prior to performing the calculations of transient flow and head, HAMMER surveys
the system’s characteristics, considers the various pipe and fluid properties, and auto-
matically determines an optimal time step. By default, HAMMER 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.
HAMMER takes hours of guesswork about time steps and methodology out of your
day, allowing you to focus on interpreting and communicating the results to stake-
holders.
As a modeler, you need to focus on the following factors for a successful HAMMER
run:
• Pick the run duration following the guidelines in “Project Management and
Options” on page 4-176.
• Enter the correct liquid properties as described in “Liquid Properties” on page 4-
182.
• Select an advanced friction model if the effects of repeated transient cycling is a
concern, as described in “Selecting the Friction Method” on page 4-183.
• Describe the boundary conditions and other hydraulic elements correctly using the
information provided in “Overview of Hydraulic Element Properties” on page 6-
205.
After a successful run, you need to interpret the results as described in “Reviewing
your Results” on page 3-121. Perhaps you need a few runs to assess the sensitivity of
your results to vapor pressure, elevations, and wave speed if the model predicts
“Water Column Separation and Vapor Pockets” on page 7-256. Finally, even the most
thorough analysis has little value if its conclusions and recommendations are not
communicated clearly and powerfully; review the quick start lessons and the tips
provided in “Reviewing your Results” on page 3-121.
The above topics introduced the subject as a means of selecting the correct pump
representation for a particular HAMMER run. The following sections focus on theo-
retical and practical aspects:
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 B-387). 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.
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
(B.16)
and
h1 n1
2
=
h2 n2
(B.17)
WaterCAD and WaterGEMS provide many ways to enter pump curves, as described
in “Pump Fundamentals” on page 6-219. HAMMER 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 × QC )
(B.18)
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.
HAMMER 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. HAMMER 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:
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.
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.
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.
HAMMER 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 HAMMER.
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, HAMMER 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 HAMMER according to the valve type:
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
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
Q = k ⋅ C ⋅ A ⋅ R 0.63 ⋅ S 0.54
(B.22)
L V2
hL = f ⋅
D 2g
(B.23)
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
(B.24)
The Swamee and Jain equation can then be used to calculate the friction factor. For
more information, see “Swamee and Jain Equation” on page B-384.
1.325
f =
2
ln ε + 5. 74
3.7 D
Re0.9
(B.25)
The friction factor depends on the Reynolds number, which depends on the flow
velocity. This process requires the iterative selection of a friction factor until the
calculated flow agrees with the chosen friction factor.
Colebrook-White Equation
The Colebrook-White equation is used to iteratively calculate the Darcy-Weisbach
friction factor. Its free-surface form is
k
= −2 log
1 2.51
+
f 12.0 R Re f
(B.26)
k
= −2 log
1 2.51
+
f 3.7 D Re f
(B.27)
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
(B.28)
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
(B.29)
Chézy’s Equation
Chézy’s equation is rarely used directly, but it is the basis for several other methods,
including Manning’s equation. Chézy’s equation is:
Q = C ⋅ A⋅ R ⋅ S
(B.30)
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
(B.31)
Typical values for fitting loss coefficients are included in the fittings table, see “Fitting
Loss Coefficients” on page B-428.
Generally speaking, more-gradual transitions create smoother flow lines and smaller
head losses. For example, “Figure B-12: Flow Lines at Entrance”on page B-387
shows the effects of entrance configuration on typical pipe entrance flow lines.
In HAMMER, a hydraulic transient analysis usually begins with an initial steady state
for which the heads and flows are known for every pipe in the system. Prior to begin-
ning the transient calculations, HAMMER automatically determines the friction factor
based on the following information:
1. If a pipe has zero flow at the initial steady state, HAMMER obtains a friction
factor from a default table based on its diameter:
Table B-5: Default Friction Coefficient Equivalents
Approximate Darcy-
Hazen-Williams Friction
Weisbach Friction
Coefficient, C
Coefficient, f
70 0.050
100 0.025
140 0.015
2. 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.
3. HAMMER uses the Darcy-Weisbach friction method in performing either steady-
state or transient friction calculations. If you enter an f value for a pipe in the
Element Editor, HAMMER uses this value in the calculations instead of the
default value. The Darcy-Weisbach method reflects the changes in total fluid and
pipe friction as flow changes, as compared with the other methods shown in
“Figure B-13: Comparison of Friction Coefficients in Various Methods”on
page B-390.
Because it assumes that the friction factor does not vary with time, the steady-state
friction method is a special case of the quasi-steady method. The quasi-steady friction
method is virtually an unsteady method, although one based on steady-state friction
factors.
Compared to a steady state, fluid friction increases during hydraulic transient events
because rapid changes in transient pressure and flow increase turbulent shear.
HAMMER can track the effect of fluid accelerations to estimate the attenuation of
transient energy more closely than would be possible with quasi-steady or steady-state
friction.
250
Steady
230
Quasi-
Head (m)
steady
210
Unsteady
(Transient)
190
0 5 10 15 20 25
Time (s)
This section describes the general equations for the schematic turbine shown in
“Figure B-15: Schematic of Turbine Hydraulic Element in Hammer”on page B-393
(that also shows the upstream and downstream computational points).
Turbine equations:
a
α= (where a is the wave speed and S is the pipe cross-
gS sectional area)
H1 + f1Q|Q| = HC (B.34)
H2 + f2Q|Q| = HB (B.35)
HC − HA = KvQ|Q| (B.36)
HA − HB =FH(Q, N, w) (B.38)
FH head function
c ∆t
N = n + -------- [ ( M hyd + m hyd ) – ( M electrical + m electrical ) ] (B.39)
2
(B.41)
c ∆t c ∆t
N – n – -------- [ F M ( Q, N, w ) + m hyd ] + -------- [ M electrical + m electrical ] = 0
2 2
The non-linear equations (B.40) and (B.41) 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) (B.42)
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 (B.42), 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 (B.43)
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 (B.43), 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 HAMMER 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 Project 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.
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.
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.
• 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.
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
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.
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.
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 HAMMER run extracted from a case study is
shown in the following figure.
Surge Tank
• 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.
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 B-19: Output of HAMMER Run for an Air
Chamber”on page B-410 shows the effectiveness of a gas vessel in controlling
hydraulic transients.
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.
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.
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.
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.
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 HAMMER 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.
outlet, until the air in the system is almost totally removed and water starts to enter the
valve body. The remaining air volume inside the valve is released in a controlled
manner by the small outlet orifice, acting as an air cushion to reduce the transient pres-
sure rise.
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 HAMMER.
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.
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.
Roughness Values:
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).
HAMMER allows you to save the parameters for any hydraulic element, complete
with any associated tables. This saves time by allowing you to re-use common valves,
for example, while reducing the risk of data input errors. HAMMER manages these
libraries automatically and it saves the data to a file called presets.lib in the main
application folder (typically C:\Program Files\Haestad\HAMR), so it is available to all
HAMMER projects on your workstations (it can also be copied to other computers).
You can also enter reusable data for many hydraulic elements by adding entries to the
XML library files (in the \Data sub-folder): liquids.xml, valves.xml, pumps.xml and
turbines.xml. These files must be edited with a plain-text editor (such as Wordpad,
supplied with Windows) and HAMMER requires strict adherence to the block format
and XML tag names. It is strongly recommended that you backup these files prior to
making changes to them.
In an XML library file, you must add at least 3 blocks for each hydraulic element:
<HMIModelingElement>, <HammerTurbineLibrary> and any associated blocks
to hold tabular data, e.g. <HammerTurbineGates>. You can cut-and-paste from
existing blocks, then edit the data. If everything has been done correctly, HAMMER
will show the new option(s) in that preset menu next time it starts. If you are not
familiar with XML, contact Bentley Systems’ technical support for assistance.
Note: Editing an XML file can invalidate its structure. Always backup
XML files used by HAMMER prior to replacing them with your
modified version. Open your modified XML files in Internet
Explorer: they should display cleanly without messages.
B.12 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.
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.
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
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
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
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
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
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
Zielke, W., “Frequency Dependent Friction in Transient Pipe Flow”, Ph. D. Thesis, U.
of Michigan, 1966.
About Haestad C
Methods
Bentley Systems, Incorporated provides software for the lifecycle of the world’s infra-
structure. The company’s comprehensive portfolio for the building, plant, civil, and
geospatial vertical markets spans architecture, engineering, construction (AEC) and
operations. Bentley is the leading provider of AEC software to the Engineering News-
Record Design 500 and major owner-operators. For more information, visit the
Bentley Web site at http://www.bentley.com.
Haestad Methods products offer software solutions to civil engineers throughout the
world for analyzing, modeling, and designing all sorts of hydrologic and hydraulic
systems, from municipal water and sewer systems to stormwater ponds, open chan-
nels, and more. With point-and-click data entry, flexible units, and report-quality
output, Haestad Methods is the ultimate source for your modeling needs.
In addition to the ability to run in Stand-Alone mode with a CAD-like interface, five
of our products—SewerGEMS, CivilStorm, WaterCAD, StormCAD and
SewerCAD—can be totally integrated within AutoCAD. These three programs also
share numerous powerful features, such as scenario management, unlimited undo/
redo, customizable tables for editing and reporting, customizable GIS, database and
spreadsheet connection, and annotation.
Be sure to contact us or visit our Web site at http://www.haestad.com to find out about
our latest software, books, training, and open houses.
C.1 Software
Haestad Methods software includes:
• “SewerGEMS”
• “CivilStorm”
• “WaterGEMS”
• “WaterCAD”
• “SewerCAD”
• “StormCAD”
• “PondPack”
• “FlowMaster”
• “CulvertMaster”
C.1.1 SewerGEMS
SewerGEMS simulates your entire sewer system within one intuitive scaled layout
model for the Windows, ArcGIS, or AutoCAD environments.
• Dynamic Simulation - The dynamic EPS engine will account for volumes within
the system, as well as balancing network hydraulics. The primary solver is based
on an implicit scheme, but an optional EPA SWMM 5 engine is also available.
• GIS Integration - Access data and functionality through various aspects of the
ArcGIS products.
• Sanitary Loading - Apply to the system via hydrographs, patterned loads, or unit
loads
• Stormwater Modeling - Apply to the system via hydrographs, patterned loads, or
any of the infiltration types defined in SewerGEMS. These load types can simu-
late direct wet-weather effects within the system.
• LoadBuilder™ - Define, assign, forecast, and manage customer demand informa-
tion as defined by customer meter records, flow meter data, land use, parcels, and
census data.
• ModelBuilder™ - Link any type of enterprise and GIS data to the GEMS environ-
ment and construct a living model from existing data assets. Lets you connect to
and import data from a variety of sources, including external data sources,
polyline-to-pipe conversions, or other models.
• Variable-Speed Pumping - Specify any pump as a variable-speed pump.
• Thiessen Polygon Generation - Create service polygons for a selected set of
loading nodes.
• GeoGrapher™ - Create and manage graphs depicting various combinations of
elements, attributes, and scenarios.
• AutoCAD Integration - Run SewerGEMS from within the AutoCAD environ-
ment.
• Scenarios and Alternatives - Create, analyze, and recall unlimited numbers of
variations in models. The powerful two-level design uses scenarios that contain
alternatives for precise control over model changes.
C.1.2 CivilStorm
CivilStorm provides numerical solutions for the toughest interconnected pipe, pond,
and open channel networks, and provides stunning graphics and reporting tools for
visualizing your storm systems in action.
C.1.3 WaterGEMS
WaterGEMS brings the concept of water modeling and GIS integration to the next
level. It is the only water distribution modeling software that provides full, completely
seamless integration with GIS applications. Now the combined functionality of
WaterCAD and GIS can be utilized simultaneously, synthesizing the distinct advan-
tages of each application to create a modeling tool with an unprecedented level of
freedom, power, efficiency, and usability.
You can create, display, edit, run, map, and design water models from within the GIS
environment, and view the results of the simulations as native GIS maps or with tradi-
tional Haestad Methods modeling tools. These abilities, in conjunction with the cross-
product functionality provided by the core Unified Data and Object Model architec-
ture, provide a powerful cutting-edge solution for your modeling projects.
C.1.4 WaterCAD
WaterCAD is the definitive model for complex pressurized pipe networks, such as
municipal water distribution systems. You can use WaterCAD to perform a variety of
functions, including steady-state and extended-period simulations of pressure
networks with pumps, tanks, control valves, and more.
WaterCAD’s abilities also extend into public safety and long-term planning issues,
with extensive water quality features, automated fire protection analyses, comprehen-
sive scenario management, and enterprise-wide data sharing faculties.
WaterCAD is available with your choice of a Stand-Alone graphical user interface and
an AutoCAD integrated interface.
C.1.5 SewerCAD
SewerCAD is a powerful design and analysis tool for modeling sanitary sewage
collection and pumping systems. With SewerCAD, you can develop and compute
sanitary loads, tracking and combining loads from dry-weather and wet-weather
sources. You can also simulate the hydraulic response of the entire system (gravity
collection and pressure force mains), observe the effects of overflows and diversions,
and even automatically design selected portions of the system. Output covers every-
thing from customizable tables and detailed reports to plan and profile sheets.
C.1.6 StormCAD
StormCAD is a highly-efficient model for the design and analysis of storm sewer
collection systems. From graphical layout and intelligent network connectivity to flex-
ible reports and profiles, StormCAD covers all aspects of storm sewer modeling.
Surface inlet networks are independent of pipe connectivity, and inlet hydraulics
conform to FHWA HEC-22 methodologies. Gradually varied flow algorithms and a
variety of popular junction loss methods are the foundation of StormCAD’s robust
gravity piping computations, which handle everything from surcharged pipes and
diversions to hydraulic jumps.
C.1.7 PondPack
C.1.8 FlowMaster
FlowMaster is an efficient program for the design and analysis of a wide variety of
hydraulic elements, such as pressure pipes, open channels, weirs, orifices, and inlets.
FlowMaster’s Hydraulics Toolbox can create rating tables and performance curves for
any variables, using popular friction methods. Inlet calculations follow the latest
FHWA guidelines, and irregular section roughness can be weighted based on any
popular techniques.
C.1.9 CulvertMaster
CulvertMaster helps engineers design new culverts and analyze existing culvert
hydraulics, from single barrel crossings to complex multi-barrel culverts with
roadway overtopping. CulvertMaster computations use HDS No. 5 methodologies,
and allow you to solve for whatever hydraulic variables you don’t know, such as
culvert size, peak discharge, and headwater elevation. Output capabilities include
comprehensive detailed reports, rating tables, and performance curves.
C.3 Training
The Bentley Institute manages professional training programs to ensure consistent,
high quality, user training for a variety of Bentley products and varying levels of
application experience. Bentley Institute training is developed to maximize your
productivity by using examples relevant to your day-to-day project efforts. Training is
developed concurrently with software applications to provide knowledge of the latest
tools and features. Additionally, all Bentley Institute faculty meet rigorous certifica-
tion requirements.
The Bentley Institute offers complete training for Haestad Methods products.These
training programs are famous for efficiently and effectively teaching engineers how to
apply hydraulic theory and state-of-the-art software to real-world design situations.
To obtain more information about training for Haestad Methods products, or to see
upcoming events in a city near you, visit http://www.haestad.com.
Use the Check for Updates button to access instant software updates for
Bentley SELECT subscribers, etc. For more information, see “Software
Updates via the Web and Bentley SELECT” on page 1-11.
Now you can go on-line to manage your own account information, such as to conve-
niently maintain your products, customize your communication settings, or indicate
your areas of interest. Just visit the accounts section at http://www.haestad.com.
C.4.2 CivilProjects.com
C.4.3 CivilQuiz.com
CivilQuiz.com is a great way to treat yourself to some fun with a quick on-line engi-
neering challenge, and maybe win a laptop or other prizes along the way. You can
even submit your own questions to stump future CivilQuiz players!
Environmental D
Hydraulics Group
HAMMER is owned and marketed worldwide by Haestad Methods, Inc., who have
forged a long-term collaboration with EHG to support, improve and provide training
for it. EHG hopes you will benefit from HAMMER’s powerful capabilities and, when
you need it, we offer engineering services for expert reviews, build-operate-transfer
models, teaming, and consulting (http://www.ehg-inc.com).
EHG can measure transient flows and pressures in your system to calibrate
HAMMER to explain breaks. EHG brings the right combination of experience,
testing expertise and emerging talent to contribute to your project.
EHG was retained to ensure the resulting Peel-York water supply pipeline (dark line)
and the area’s pump stations (PS) and distribution networks will be expanded and
operated reliably: EHG’s hydraulic and water hammer models of the Peel-York pipe-
line guided route selection, conceptual and detailed design of 10 PS, 3 reservoirs and
40 km (18 miles) of 2100 and 1800 mm (82 and 70 in) pipe—all tied into existing
water networks.
EHG completed NPSH and pump tests (ANSI 1.6 standard) at the City of Toronto’s
800 MLD (211 MGD) Ellesmere pump station. The calibrated model supports a 40%
increase in capacity with improved surge protection.
• 225 MLD, 56 km, 1050 mm (60 MGD, 35 mi, 40 in) line for the capital City of
Regina, Saskatchewan (200,000 population).
• 346 MLD, 50 km, 1200 mm (91 MGD, 31 mi, 47 in) line for the City of London,
Ontario (340,000 population), including two large gas vessel installations.
• 60 MLD, 57 km, 600 mm (16 MGD, 35 mi, 24 in) line for Alliston, Ontario
(30,000 population), with supply to a Honda plant and a 10 km line to Beeton.
• Major pipelines in Tanzania, Nevada (USA), Argentina, and Vietnam.
EHG used HAMMER to design a practical and economical solution to the City of
Ottawa’s sanitary trunk system problems after power failures.
EHG contributed input to environmental assessment (EA) for the City of Hamilton’s
Greenhill drop shaft and CSO tank twinning project. This 44 m (144 ft.) drop shaft
and 200 m (660 ft.) tunnel conveys flows ranging from 0.5 to 50 m3/s (18 to 1,800 cfs)
under the environmentally-protected Niagara Escarpment. EHG designed, constructed
and tested a 1:12 scale model to configure a vortex-inlet design for the new drop and
tunnel using the existing system for air recirculation at low flows.
EHG resolved constraints ranging from surges (due to attachment during surcharge) to
moving hydraulic jumps and integrated the existing CSO tank in an end-to-end
hydraulic conveyance analysis for the upgraded system, complete with a new 65 ML
(17 million gallon) tank with flushing system. The project passed numerical and scale
model proof-of-concept tests, following which more scale modeling was ordered to
guide detailed design.
City of Hamilton
EHG has provided expert review of the City of Toronto’s 4 km long, 40 m deep, 85
ML Western Beaches tunnel and participated on a design-build team for the City of
Ottawa’s 4.8 km, 57 ML Somerset tunnel—both complete with drop and overflow
shafts. Key considerations include air handling, mass oscillations during filling and
surcharge of the surface sewers and/or overflow handling. EHG offers the right
combination of experience, expertise and tools to find solutions.
Pump tests are the best way to get reliable estimates of how an upgraded pump station
will perform based on the proposed and existing pump curves. These may match (or
not) at the operating point, significantly affecting the firm capacity. The published
pump curves are often not enough because impeller trimming, cavitation and wear can
all change a pump's head-flow performance. In addition, pump performance at the
factory is never the same as its output at the pump station. Testing is a wise invest-
ment, given the high energy cost of running the wrong pump combinations or the
expense involved with incorrectly installing or operating a new pump.
EHG and CWS use a modified ANSI 1.6 (Hydraulic Institute standard) test procedure
to obtain the NPSHR and head vs. flow curves for your pump. State-of-the-art
Primayer pressure loggers (± 2%) and Quadrina insertable flow meters (± 5%) obtain
data every 5 seconds. The procedure yields a calibrated suction system model in
WaterCAD (and HAMMER if requested), complete with NSPHA at each pump loca-
tion. Based on this, you can make important upgrade decisions (or defer them) with
confidence.
The professional engineers of Ontario (PEO) designated EHG’s founder and CEO, Dr.
Alan Fok, P.Eng., a Hydraulic Specialist in 1983 for his contributions to hydraulics.
EHG has performed pre-trial investigations, discovery and expert witness services for
several high-profile legal cases ranging from a penstock burst on the Welland Canal to
two urban flooding and erosion lawsuits (EHG acted for the plaintiff on one and the
defense for the other). EHG’s objective field work, analysis and computer modeling
helps the parties to settle the matter or find a mediated solution.
EHG performed five break investigations including computer modeling and reports in
2002-2003 alone. EHG identified the causes and provided practical solutions to diffi-
cult problems ranging from repeated pipe bursts, river crossing breaks, thrust restraint
failure, pump casing bursts, shaft breaks, and premature impeller wear due to cavita-
tion on the suction and discharge sides. In addition to ensuring worker and environ-
mental safety, the cost of this service is typically repaid several times over within a
few years by eliminating the need to repair breaks and lost production.
• Scale model of the Ottawa South reservoir (4.6 ML capacity), with inflows
ranging from 5 to 25 MLD and strict criteria for the chlorine residual in all areas
of the reservoir. EHG ensured the turn over rate of the water volume was maxi-
mized and provided a chlorine diffuser design.
• Scale model of the Glen Cairn reservoir (68
ML capacity), with inflows ranging from 5 to
30 MLD. This was modeled in the lab to iden-
tify dead zones (see photo) and resolve them
using inexpensive diffuser and baffling
designs.
• Tracer Test of the Brantford Water Treatment
Plant, whose contact chamber was upgraded
with baffles to improve disinfection performance. EHG confirmed this by deter-
mining the current T10, T50, and T90 values in the upgraded contact chamber. This
was used to predict seasonal log-inactivation performance.
EHG explained the cause of the penstock rupture in the Welland Canal on the St.
Lawrence Seaway using advanced HAMMER technology and other tools.
EHG has correctly predicted the operational behavior of hydro systems (penstock and
tailrace) and helped explain a needle valve break.
Our clients include Barrick Gold, Newmont, QIT Fer et Titane, Inco, and others. EHG
has been consulted on several of Barrick Gold’s plant projects.
EHG does not endorse products and its specialist practice extends to all sectors
(power, public, legal), therefore, EHG is completely independent and objective when
assessing facts or rendering opinions. EHG’s advanced hydraulic services include:
F FlowMaster 444
format
favorites 49 data 43
field measurements 264 figure 43
file formats 165 graph 43
file I/O tab 177, 178 line 303
files shade 303
input and output 166 format data 303
filter format display 203
resetting 288 format graph 300, 302
filter FlexTables 287 formatted reports 120
filtering friction 391
criteria 288 friction coefficient 208
finding elements 201 friction loss 381
first law of thermodynamics 345 quasi-steady 185
fitting loss coefficients 428, 429 steady-state 184
FlexTables 273, 276 transient 185
copying data 291 unsteady 185
customizing 290 friction method 183
deleting 280, 281 friction methods 250
editing 281
editing column headings 282 G
editing globally 284
editing units 283
gas vessel 409
exporting data 292
definition 247
filter 287
gas vessels 244, 250
filtering 289
generate animation data 166, 305
FlexTable window 278
generate animations 41, 305
global editing 284
generate output database 120
globally editing data 285
getting started 105
navigating in 283
global edit 284
ordering column data 286
Global Edit dialog box 285
ordering columns 286
global editing
printing 292
FlexTables 284
reports 292
global HAMMER options 176, 329
saving as text 292
graph annotation 301
shortcut keys 283
graph formatting 300, 301
sorting 287
graph settings 303
sorting column data 286
graph type 301
sorting column order 286
grid lines 302
FlexUnits 41, 177, 181, 188
grids 300
defined 187
ground elevation 211
manager 187
groundwater well 321
flow 208, 240, 246
maximum and minimum 208
flow control equipment 206 H
flow decreasing characteristics 380
flow emitters 260, 325
Haestad Methods
about us 437 I
knowledge base 327
program update 21 Image Settings dialog box 92
training 445 import 173
Haestad Methods products 437 .mdb 130
HAMMER 28 database 174
about 1, 2 EPANET 130, 174, 315
capabilities 333 GIS 174
datastore 166 PIPE2000 130, 176, 315
getting started 23, 105 Surge2000 130, 315
learning 23, 24 tips 310
lessons 105 WaterCAD 130
preferences 41 WaterCAD/WaterGEMS 175
tutorials 105 WaterGEMS 130
HAMMER main window 31 WaterGEMS/WaterCAD 314
HAMMER viewer 32 import EPANET 141
Hazen-Williams 184 import PIPE2000 142
Hazen-Williams equation 382 import Surge2000 142
coefficients 427 independent papers 445
roughness values 426 index 48
head inertia 221, 227, 412
maximum and minimum 208, 209 pumps 220, 221
head loss coefficient 211, 245, 246, 247 inflow diameter 242
head losses 245 infrastructure 255
Helmholtz 360 initial air volume 242
help initial flow 225
using 47 initial typical flow 215
See also online help. initial volume of gas 247
HGL 267, 347 initial water level 245, 246
HGL profile 267 input files 166
hiding symbols 187 interior points 272
high-speed sensors 264 introduction 1
history 300
history table 269
hydrant discharge 325 J
hydraulic element reference 205
hydraulic elements junction
reuse 330 defined 209
hydraulic grade 347
hydraulic transient
numerical simulation 251 K
See also transient.
hydraulic transient analysis 249 K coefficients 428, 429
hydraulic transients k values 325
overview 335 kinematic viscosity 384
hydraulically close tanks 323 knowledge base 327
hydropneumatic tanks 320 knowledgebase 21
P
O
page setup 46
one-way surge tank 245 page view 45, 203, 304
online book pan 39, 202
using 47 parallel pipes 322
online help parallel pumps 322
favorites tab 49 parameters 41
index tab 48 paste graph settings 303
navigation buttons 50 paste symbols 44
previous/next buttons 50 pasting elements 200
related topics 48, 50 path 298
search tab 49 definition 33
topics 50 path list 299
using 47, 48 paths
open HAMMER 29 copying 91, 330
operating point 370 pdf 47
operating rule 211, 216, 229 percent efficiency 227
operation 284 turbine
operation classification 363 efficiency 238
operation procedures 421 performing calculations of transient flow and
operation time 363 head 368
operational rule 239 period 211
options 294 periodic flow 210
ordering periodic head 210
FlexTable column data 286 phase 211
FlexTable columns 286 pipe
orifice at branch end 217, 261 bonding nodes 208
orifice between two pipes 218 pipe breaks 256
orifice demand 260 pipe elasticity 359
orifice diameter 211 pipe elasticity and celerity 361
orifice to atmosphere 217, 261 pipe elevations
orifices adjustment 258
rating curve 218 pipe layout mode 196
reference 217 pipe materials 361
oscillation period 211 PIPE2000 130, 173, 315
other options 329 import 142, 176
outflow diameter 242 pipes 207
output 269 check valve 208
tables 273 diameter 207
output database 41 friction coefficient 208
output files 166 length 207
output manager 40 pipes reports 272
output variable 41 piping design 399
registration 20 S
related topics 48
defined 50 SAV 243
relative flow 225, 313 save animation as 306
relative head 225, 313 save preset 297
remove saving FlexTables as text 292
columns 275 SCADA 264
report scale intervals 297
printout suppressed 207 scale limits 297
report history after time 269 scenario management 311
report paths 54, 298 scientific notation 190
report pipes 299 screen layout 203
reports 267 searching for elements 201
extremes 271 second law of motion 353
FlexTables 292 selecting elements 198
formatted 120 selection set options 187
nodes 272 series pumps 322
pipes 272 setting run duration 180
pockets 272 settings 41
summary 271 model 41
tabulated 269 system 41
view 40 SewerCAD 442
reservoir 211 SewerGEMS 438
reset 288 short label display 294
FlexTable filter 288 shortcut keys
reverse flow 240 FlexTables 283
reverse spin 227 shortcut menu 331
Reynolds number 384 show extreme heads after 268
rigid column simulation 251 show frame 45, 203
rigid column theory 349, 353, 356 show title bar 46, 203
risk management 255 shutoff 220
rotating equipment 206, 218 SI 188
rotational speed 227, 238 simulation
roughness elastic 252
coefficient 424 rigid column 251
roughness height 384, 385, 425 sizing text 96
roughness values slow closing air valve 243
Colebrook-White 425 small outflow diameter 242
Darcy-Weisbach 425 snapshot tables 269
Hazen-Williams 426 software
Manning’s 424 suggestions 28
typical 427 upgrades 21
rounding 190 sorting
rule 211 FlexTable column data 286
run duration 179, 180 FlexTable columns 286
runout 220 specific speed 225, 238
rupture disk 248 equation 222
pumps 220, 222
speed tables
pumps 220 column headings 282
spherical valve 238 editing FlexTables 281
spring constant 243 units 283
SRV 243 WaterObjects to HAMMER conversion 63
start EPANET 40 tabular report 273
start HAMMER 29 tabulated report 269
status bar 32 tanks
defined 102 hydraulically close 323
steady state flow 346 top feed/bottom discharge 323
steady-state friction loss 184 technical journals 445
sticky tools 178 text 269
StormCAD 442 text sizing 96
suggestions 28 The 445
summary reports 271 thickness of a line 155
summary tab 179 threshold pressure 211, 215, 243, 248
surge anticipator 241 tick marks 302
surge anticipator valve 243 ticks 300
surge control 398 time delay 227
surge control equipment 206 time history 267
surge control strategy 398 time of operation 215
surge protection 402 time step
surge relief valve 243 selection 259
surge relief valves 415 time to close 216, 217, 227, 228, 243
surge tank 407, 409 time to open 243
surge tanks 244, 250 tips
Surge2000 130, 173, 315 display 328
import 142 import/export 310
Swamee and Jain equation 384 modeling 317
symbol title bar 31
size 39 titles 302
symbol visibility 187 to node 208
symbols toolbars 31, 94
hiding 187 tooltips tab 177
normalize 186 top feed tank 323
system boundaries 210 topics
system pipes 299 online help 50
system settings 41 training 445
transient flow equations 348
transient friction 391
T transient friction loss 185
transient head 208, 209
Table transient heads 250
Properties 274 transient history 300
Setup 274 transient pressure 209
Type 274 transient pressure pulses 264
table transients
filtering 288 causes 338
manager 275 effects 341
walk 298
water column separation 256
WaterCAD 130, 173, 441
import 175, 314
WaterCAD to HAMMER elements 63
WaterGEMS 130, 173, 440
import 175, 314
WaterGEMS to HAMMER elements 63
WaterObject 175
WaterObjects 314
wave propagation 363
wave reflection 364
wave speed 179
adjustments 258
wave velocity 208
wear-and-tear 255
Web updates 21
weir coefficient 245
what HAMMER is 2
What’s New in this Release 4
white
table columns 281
workshops 24
World Wide Web
See Web. 21
WYSIWYG 304
yellow
table cells 282
Young’s modulus 361