Modeling Reference - Surge Tanks


Product(s):HAMMER
Version(s):CONNECT Edition, V8i
Area:Modeling

Overview

This tech-note discusses how to configure the Surge Tank element for transient analysis in HAMMER.

Background

A Surge Tank (also known as a “Stand Pipe”) is a surge mitigation device which can be modeled in HAMMER as a “Surge Tank” element. The surge tank supplies stored fluid (water) when pressures drop in the pipeline and takes fluid, when pressures increase (in case of two-way type).

The Surge Tank is a non-pressurized type of tank i.e. the free water surface of the tank is open to atmosphere. The normal water level is typically equal to the hydraulic grade line at steady state. A surge tank can also overflow and the user can specify the weir coefficient for overflow (see Overflow section below). If the water surface elevation is equal to the system hydraulic grade, the surge tank may need to be constructed very tall, with supports such as guy wires.

Note: if you are interested in a pressurized tank, see: Modeling Reference - Hydropneumatic Tanks

Types

Surge Tanks can be of two types; simple or differential

Simple Surge Tank

A simple surge tank can operate in three modes under a transient analysis; normal when the tank water level is between the top and the connecting pipe(s) at the bottom; weir overflow when the tank water level is at the top in overflow condition; and drainage when the tank water level is at the elevation of the connecting branch(es). A simple surge tank can be a one-way or a two-way surge tank.

One-way Surge Tanks

A one-way surge tank is a relatively small conventional surge tank, with a check valve in the connecting pipe, or riser, that only allows flow out of the tank. The tank water level is maintained by an altitude valve bypassing the check valve. The tank is located at the high point to supply water and prevent water-column separation. However, one-way tanks provide no upsurge protection to the system because no flow is allowed back into the tank. This is modeled in HAMMER by selecting "True" for the “Has Check Valve?” field.

Two-way Surge Tanks

A two-way surge tank allows stored water to flow out in the event of low pressure developing in the pipeline but also allows water to flow into it in times of high transient pressures. two-way surge tank controls transients by converting stored potential energy in the elevated water body inside the tank into kinetic energy, which supplements flow in the piping system at critical times (or vice versa, for pipe flow into the tank) during periods of rapid flow variation. The tank is normally located at the pumping station or at a high point in the system. This is modeled in HAMMER by selecting "False" for the “Has Check Valve?” field.



Differential Surge Tank

A Differential surge tank is a specialized surge tank within a larger tank which provides a fast response. This type of a surge tank contains a differential orifice installed at the inlet riser which serves two functions, it doesn’t allow the surge tank to fill up quickly during a high pressure event by causing a large enough headloss to dissipate the transient energy but at the same time, flow can leave the surge tank quickly (with little headloss) in case of a low pressure event.

To model a differential surge tank, select "Differential" from the "Surge Tank Type" attribute of the surge tank node element.

Differential Surge Tank Attributes

See the red text in the diagram below, which clarifies which dimensions each of the attributes represents. This additional fields will appear when the surge tank is set as Differential.

Multiple orifices between internal riser and tank

If you have more than one orifice between the internal riser and the outer tank (for example multiple equally sized orifices at the same elevation), you will need to determine an equivalent orifice size since there is only a single field for the "Diameter (Orifice)". To do this, calculate the flow through a single orifice at a given example head (based on a typical water level), multiply it by six (assuming six equal sized orifices at the same elevation on the side of the internal riser), then use the resulting flow to solve for diameter keeping head the same. This can be done for example using Bentley FlowMaster. This will provide an equivalent diameter that should result in the same flow vs. head characteristics as the set of multiple orifices.

Differential Surge Tank Behavior and results

There are different modes of operation for a differential surge tank. For "normal" operation, the tank water level is between the orifice and the top of the riser. Other modes are distinguished by the riser level relative to the orifice elevation and the tank level versus the top of the riser. During a powerful upsurge, the upper riser will overflow into the tank to complement the orifice flow.

During a downsurge when water starts to leave the differential surge tank, water drains out of the riser, but at the same time water leaves the main part of the tank through the orifice. See diagram below.

When looking at the Detailed text report for extended results for a differential surge tank, the following columns are present:

   

Surge Tank Properties

The following is a description of the properties of the surge tank element.

Operating Range

Physical

Transient (Reporting)

Transient

Surge Tank Placement / Location

A surge tank is often installed near devices such as pumps and turbines, to keep the water column moving upon pump shutdown.

If the surge tank location is uncertain, you can compute the transient simulation without any protection and check your results (such as the min/max pressure envelope in the Transient Results Viewer.) By viewing these results, you can see critical areas of the pipeline and potentially find a good location for the surge tank(s). You can then add your surge tank(s), re-compute the transient simulation, re-check the results and make adjustments as necessary.

The pipe connecting from the main pipeline to the surge tank can be modeled in HAMMER either implicitly or explicitly. Basically, when laying out the surge tank, it can be modeled at a 'Tee' by laying out the connecting pipe, or can be modeled directly on the main line. When modeling on the main line (the typical approach), the influence of the short piping between the main and the tank can be represented by means of the tank inlet diameter and minor loss coefficient fields. (see more on those further below)

Although explicitly entering the short connecting pipes to the vessel is not incorrect in principle, it may lead to excessive adjustments in pipe length or wave speed which in turn may have an impact on the results. This adjustment commonly occurs with short pipes, due to the fact that HAMMER must have a wave able to travel from one end of the pipe to the other end in even multiples of the time step. So, since you can model the connecting pipe head losses via the minor loss coefficient field, it is often best to model the tank inline. However, you must also consider the effects of water momentum. For example if you're modeling large flows and large diameter pipes, the effects of accelerating that relatively large volume of water (in the connecting pipe) upon emergency pump shut down may be significant.

Differential Orifice

(not to be confused with the differential surge tank type described further above)

The piping connection between the surge tank and the system should be sized to provide adequate hydraulic capacity when the tank is discharging, as well as to cause a head loss sufficient to dissipate transient energy and prevent the tank from filling too quickly. Both of these requirements are met through the use of a piping bypass.


In HAMMER, the headlosses associated with this can be modeled by using the "Minor Loss Coefficient", "Ratio Of Losses" and "Diameter (Tank Inlet Orifice)" attributes of the surge tank. This is referred to as the differential orifice, because the ratio of losses allows you to have the inflow headlosses different from the outflow headlosses. In the above illustration, you can see that the check valve causes inflows to undergo larger headlosses as water passes through the bypass. So, the ratio of losses attribute is usually larger than 1.0 and applies to inflows.

Surge Tank Operation

The surge tank operation depends on how the surge tank is setup in the model. If it is a simple one-way type surge tank, the hydraulic grade observed would initially be above the tank water level as a one-way surge tank's check valve would close to only allow fluid / water to flow out during a low-pressure event to avoid water column separation. If the hydraulic grade during the transient simulation falls below the initial water surface elevation, the check valve opens and water exits the surge tank and enters the pipeline (to keep the water column moving during a "downsurge" transient).

In the case of a two-way surge tank, the hydraulic grade in the pipeline would be more or less the same as the tank hydraulic grade as water is allowed to flow out as well as flow in. When initial conditions are run, the surge tank would behave as a normal tank with level fluctuations as one would observe in an Extended Period Simulation. If your system hydraulic grade is very high at the surge tank location, a two-way tank may not be feasible since it would have to be taller than the hydraulic grade.

A note on "Treat as junction?"

If your surge tank "floats" on the system (hydraulic grade = system HGL, with zero inflow and outflow during normal operations), set the "Treat as Junction?" property to "true". This tells the initial conditions solver to treat the tank as a junction, and therefore calculate the HGL as if there is no tank present. The resulting HGL is then used as the starting water surface elevation of the tank, instead of the "Elevation (initial)". This provides an easier way to model a tank whose HGL floats on the system; otherwise you would need to adjust the "Elevation (initial)" until the tank had zero inflow and outflow, and may need to do so repeatedly for different scenarios and other changes to the model. With this option set to True, ensure that the resulting HGL does not fall below the "Elevation (minimum)" or above the "Elevation (maximum)".

Note: Sometimes the surge tank may fill up or empty too quickly to observe the mitigation of the transients produced. In such times, it is better to set up a higher “report time” and a smaller time-step to observe the tank filling and emptying. Refer this link for more details.

Reporting

Starting with HAMMER CONNECT Edition Update 3 version 10.03.04.05, you can also view results in the Extended Node Data tab in the Transient Results Viewer. This includes surge valve results Level, Inflow, and Spill Rate. See this link for more information: How to view extended node transient results for HAMMER elements. Note that Extended Node Data results are only available for simple surge tanks.

For versions below 10.03.04.05, surge tank-specific output results are found in the Transient Analysis Detailed Report.

To prepare for viewing this information, first check your transient calculation options. "Show standard output log" and "Enable Text Reports" should be set to "True". Next, enter a number for the "Report Period" field of your surge tank. This represents how often extended text results will be reported. For example, if your time step is 0.01 seconds and you enter '10' for the report period, it means you'll see extended results every 10 time steps or every 0.1 seconds.

Other extended results are also available in the Transient Analysis Detailed Report. This is found under Report > Transient Analysis Reports. Scroll down near the bottom, to the section starting with " ** Surge tank at node" and you will find a table of Level, Head, Inflow and Spill rate.

Note: if high and low alarms are setup to trigger when violated the same would be reported when the initial conditions are run. However, these would not be reported when Transient Analysis is performed. Refer this article for more details.

Surge Tank Overflow

When the surge tank Section type is set to Circular or non-circular, the Weir Length and Weir Coefficient fields are exposed and are used to calculate the overflow rate for a given headwater above the tank top. A summary of the total overflow volume is displayed as a User Notification. Starting in version 10.03.04.05, you can view spill rate results in the Extended Node Data tab. This can also be found in the Transient Analysis Detailed Report. If you have an older version of HAMMER, you would need to use this report to view spill rate results. 

When the surge tank Section type is set to Variable, the Weir Length and Weir Coefficient fields are not available and not used. Instead, when the water surface elevation exceeds the top elevation of the cross section curve, the total inflow into the tank is treated as overflow. In other words when the tank is full, all flow into the tank becomes overflow and the actual weir head/flow change is not accounted for.

One possible workaround for this (if you have a varying-area tank and need to account for overflow based on the actual overflow/spillway elevation) is to model two separate tanks, one with the traditional circular/non-circular section type in order to model the weir overflow, and another set to the variable area type, to model the excess area from the parts that vary. The regular section tank area would be deducted from the variable section area. Both tanks would have the same base elevation and you could connect them with a short, smooth, large diameter pipe. See related forum discuss here.

Troubleshooting

"Invalid tank Operating Range"

If you encounter a red user notification indicating that the tank operating range is invalid, check to make sure that the "initial" is between the "minimum" and the "maximum" field in the "Operating Range" section of the properties. If the "operating range type" is set to "level", note that the minimum, initial and maximum values represent distances above the "base" elevation.


"The initial water elevation cannot be zero for a surge tank that has a check valve."

If you encounter this red notification, check the surge tank's operating range. Ensure that the initial level or elevation is between (and not equal to) the minimum and the maximum. If using a check valve (one way surge tank), the calculated hydraulic grade (seen in the "Results" section of the properties) is used for the initial HGL< which can be above the initial and maximum water surface elevation.

If everything appears to be set correctly and you are using Level as the Operating Range Type, try switching it to "Elevation", enter appropriate/equivalent elevation values, then switch back to Level. This is caused by a known issue as of version 10.03.02.75 which will be resolved in a future version (reference #535850)

Reported Levels in Transient Output Log are not correct based on the operating range input

This is related to the issue above - as of version 10.03.02.75 there is a known issue when using Level where the hidden elevation values will be used instead. It is recommended that you use Elevations.

See Also

Hydraulic grade above top of one way surge tank

How can I see the amount of inflow or outflow occuring for a particular surge tank during the transient simulation in HAMMER?

What happens when a tank becomes empty or full?

How can I model a Vent Pipe or Stand Pipe in HAMMER?

Using the Ratio of Losses field for hydropneumatic tanks and surge tanks

Determining the Headloss Coefficient for a hydropneumatic tank or surge tank