You are on page 1of 4

Modeling Reference - Valves Of Various Types [TN]

Rate This

Document Information
Document Type: TechNote Product(s): Bentley HAMMER Version(s): V8i Original Author: Jesse Dringoli, Bentley Technical Support Group

This technote explains how valves of various types work and their typical application in HAMMER V8i. It also provides an example model file for demonstration purposes.

How it Works and When to Use it

The main "valves" icon on the layout toolbar offers several generic valves: GPV, TCV, FCV, PRV, PSV and PBV. These are sometimes collectively referred to as "valves of various types".

These valve elements serve various purposes and are frequently used in steady state or Extended Period hydraulic models. They can generally be categorized as flow control. For example, the GPV defines a curve of flow versus headloss, the FCV (Flow Control Valve) controls flow to a set point and the PRV (Pressure Reducing Valve) controls the downstream pressure to be below a set point. The important thing to understand about these valves is that their controlling effects (pressure reduction, flow control, etc) only apply to the initial conditions calculation (steady state or EPS). For a given steady

state or EPS timestep, a specific headloss occurs across the valve. For example, in order for the PSV element to sustain upstream pressure, a specific headloss occurs through the valve, such that in order to balance energy across the network, the upstream hydraulic grade ends up being higher than the PSV set point. During the transient simulation, a discharge coefficient is calculated based on that valve's headloss during the initial conditions timestep. Note: the following equation is used to convert between headloss coefficient and discharge coefficient: H = 39.693 * D^4/Cv^2 Where: D = Diameter (ft), H = Headloss coefficient (K), Cv = discharge coefficient (cfs/ftH20^0.5) It can be re-written as: Cv = ((39.693 * D^4) / H)^0.5 As the transient simulation progresses and the system conditions change, these valves will not automatically react, like they do during the initial conditions. Meaning, if the transient conditions cause a higher flow through a FCV, it will not automatically throttle (change its headloss) to react accordingly. The reason is because HAMMER assumes that these valves cannot react fast enough during the transient simulation. So, they will stay in a fixed position based on the aforementioned discharge coefficient from the initial conditions. However, the user can manually open and close these valves during the transient simulation by using the Operating Rule. The operating rule is an attribute of the valve, found under the "Transient (Operational)" section of the properties. It allows you to define a pattern of Time versus Relative closure, to be using during the transient simulation.

For example, if you have a gate valve that is fully open in the initial conditions and you want it to fully close during the transient simulation, you could define your operating rule with a starting relative closure of 0% and pattern that rises to 100% at some point. You would then select that in the valve's properties, under the "Operating Rule" field. You can analyze the effect of various closure patterns either by manually changing the operating rule and re-running the simulation or by creating multiple scenarios, computing a batch run in the scenario manager and then individually examining the transient results. Note: The operating rule designation is stored in the "Transient" alternative. Generally the transient surge will be more severe for a faster closure. So, typically the last bit of closure should occur slowly. For example, the valve may close quickly between 0% and 95% closure, then slowly close for the last 5%. However, you may want to analyze the worst case scenario where the valve is closed too quickly. The speed of closure can easily be reflected in your Operating rule pattern. Note: Do not confuse the Operating Rule with the "Pattern (Valve Settings)" or "Pattern (relative closure)". The latter two fields may be found under the "physical" section of the valve's properties and are used to establish a manual closure pattern for the valve during the initial conditions (EPS) only. For general valve closure purposes such as gate valves, isolation valves, etc, it is recommended that you use the TCV valve type (throttle control valve). This valve represents a standard headloss or discharge coefficient during the initial conditions. So, in the above example of an initially open valve, you would specify the loss coefficient representing the losses through the fully open valve.

Initially Partially Closed Valves

The TCV also has the ability to model the opening/closing of a valve that is initially partially closed. This is done by way of the "valve characteristics curve" coefficient type and "Valve Type". Normally, the discharge coefficient that the program computes based on what the valve is doing during the initial conditions is interpretted by HAMMER as the fully open position. For example, if you use a GPV, the headloss calculated through it in the initial conditions is always interpretted as a relative closure of 0%, even though in reality, it may be partially closed. This can cause confusion when defining the operating rule. However, with the valve characteristics curve coefficient type for a TCV, the user can define the relationship of discharge coefficient versus relative closure; therefore, a partially closed valve can be properly modeled. Detailed instructions on how to do this are beyond the scope of this technote. For more information, please see Modeling An Initially Partially Closed Valve

Custom Valve Characteristics

By default, several standard valve types are available, in the "valve type" field (such as butterfly, globe, needle). This essentially defines the discharge coefficient that HAMMER uses for various values of "relative closure" in the operating rule. For example, some valves may have a sharp reduction in area as they start to close and then a slower reduction in area just before they are fully closed. Meaning, a value of 90% closure in your operating rule might not necessarily mean the valve's open area is 10% of the original area. The user can also define a user defined table of relative closure versus relative discharge coefficient, by selecting "user defined" as the valve type. This exposes the "Valve Characteristics" attribute, which is where you would enter the table of relative closure versus relative discharge coefficient to define the characteristics of your valve. The relative discharge coefficient values are relative to the value entered for "Discharge Coefficient (fully open)".

Note: most valve manufacturers can provide the discharge coefficient(s)

Note: When modeling a valve whose initial status is "inactive", ensure that you've entered a value for the "minor loss coefficient". When computing initial conditions, the "minor loss coefficient" is used to compute headloss through the fully open (inactive) valve. This headloss is important since it is used to define the relationship between head loss and discharge as the valve closes.

Example Model
Click to Download Note: the above model is for example purposes only. It can be opened in version and above and you can find additional information under File > Project Properties.

1. Advanced Water Distribution Modeling and Management - Walski, 2007