Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenFlows | Hydraulics and Hydrology
  • Product Communities
  • More
OpenFlows | Hydraulics and Hydrology
OpenFlows | Hydraulics and Hydrology Wiki Modeling An Initially Partially Closed Valve
    • Sign in
    • OpenFlows | Hydraulics and Hydrology Wiki
    • +Bentley CivilStorm
    • +Bentley CulvertMaster
    • +Bentley FlowMaster
    • +Bentley HAMMER
    • +Bentley HEC-PACK
    • +Bentley OpenFlows FLOOD
    • +Bentley PondPack
    • +Bentley SewerCAD
    • +Bentley SewerGEMS
    • +Bentley StormCAD
    • +Bentley WaterCAD
    • +Bentley WaterGEMS
    • +Calculations
    • Consuming ContextCapture production files within your hydraulic model
    • Convergence NOT achieved Message when computing StormCAD or SewerCAD model
    • Converting Junctions or Hydrants to Isolation Valves
    • Displaying Shapefile Labels (Text) As a Background
    • Error "System.TypeInitializationException"
    • Error 32768 when opening model while integrated with ProjectWise
    • Error installing patch set: "Cannot create output file: ..."
    • Error when opening PondPack: "Object reference not set to an instance of an object" or "Application has generated an exception that could not be handled."
    • Error when saving or validating: System.AccessViolationException: Attempted to read or write protected memory.
    • File Open Dialog does not appear
    • Flextable Report of Multiple Element Types
    • +General
    • Get to know WaterGEMS, WaterCAD and HAMMER CONNECT Edition
    • +Help and Documentation
    • How do I import/export multiple point pump curve pump definitions into a model using ModelBuilder?
    • How do you save backup files, so they save at different times and multiple levels?
    • How does the intermediate geodatabase (.mdb) file function in WaterGEMS for ArcMap?
    • How to Delete Engineering Libraries
    • How to Find Total Pipe Water Volume
    • How to receive alerts on new version availability
    • How to register DAO360.dll or a dll file?
    • How to search using wild cards on a sqlite type of database
    • How to See Hebrew or Arabic text in a .DXF file that was exported from WaterGEMS/WaterCAD
    • Hydraulic grade discontinuity at steep pipes or across nodes (frontwater analysis)
    • I get a red user notification that says, "Inlet guttter mannings n should be greater than 0".
    • Importing .HLB library files from old product versions into format used in the V8 product versions
    • Importing External Data in Geographic Coordinate Systems
    • Importing storm data and other library information from older versions
    • In the AutoCAD platform, is there a way to change the shape of an element?
    • +Installation
    • +Integration
    • Interchange
    • Internal Software Error when trying to print network
    • +Layout and Data Input
    • +Licensing / Activation
    • Locating OpenFlows product error log file
    • Model backward / forward compatibility
    • Model can be opened and used by multiple users
    • Modelbuilder for WaterGEMs for ArcMap only creates one pipe
    • +Modeling
    • Modeling a closed loop system
    • Modeling a flow split (diversion) with the SewerCAD or StormCAD numerical solver
    • Modeling turbine load acceptance plus load rejection
    • Multiple CN numbers for a catchment and multiple catchments with a single outlet node
    • Multiplying inflow loads by a certain factor
    • Network Navigator Trace Upstream/Downstream does not return any elements
    • No Pressure Pipe Flextable in CivilStorm
    • Not seeing changes to demands or status after exporting Darwin Designer run
    • -OpenFlows Product TechNotes And FAQs
      • +CivilStorm TechNotes and FAQs
      • Combining models with Submodel Import
      • Error publishing to i-model: "No compatible I-model engine was found..."
      • For a modified basket handle shape conduit why is Area (Full Flow) equal to zero after computing?
      • General SentinelLM Server [FAQ]
      • -HAMMER TechNotes and FAQs
        • Converting a PRV PSV or FCV to a Throttle Control Valve (TCV) in HAMMER
        • HAMMER General FAQs
        • HAMMER V8 XM General FAQs and Troubleshooting
        • Modeling a Pump Start-Up Transient Event in HAMMER
        • Modeling An Initially Partially Closed Valve
        • Modeling Reference - Air Valves
        • Modeling Reference - Check Valves in HAMMER
        • Modeling Reference - Discharge To Atmosphere
        • Modeling Reference - Hydropneumatic Tanks
        • Modeling Reference - Surge Valves
        • Modeling reference - Turbines
        • Modeling Reference - Valve Closure
        • Modeling Reference - Valve With Linear Area Change
        • Protective Equipment [FAQ]
        • What new in HAMMER CONNECT Update 2.3 - Build 10.02.03.06
        • What's new in HAMMER V8i SELECTseries 2?
        • What's New in HAMMER V8i SELECTSeries 3?
        • What's new in HAMMER V8i SELECTseries 6?
        • What's New with HAMMER V8i SELECTseries 4?
      • Importing an AutoCAD or MicroStation CAD file using ModelBuilder
      • Learning Resource Guide for new users of Bentley HAMMER
      • Platform Compatibility
      • +PondPack TechNotes and FAQs
      • Scenario and Alternative Management
      • +SewerCAD TechNotes and FAQs
      • +SewerGEMS TechNotes and FAQs
      • Silent installation for Bentley OpenFlows Products
      • +StormCAD TechNotes and FAQs
      • Understanding the Modified Rational Method
      • Using Fit To Page Printing In The Standalone Platform
      • +WaterGEMS and WaterCAD TechNotes and FAQs
      • What's New in CivilStorm V8i SELECTSeries 5?
      • What's New in SewerGEMS V8i SELECTseries 5?
      • What's new in SewerGEMS, SewerCAD, StormCAD and CivilStorm CONNECT Edition Update 1 (Build 10.01.01.04)
      • What's New with HAMMER CONNECT Edition
      • What's New with WaterGEMS and WaterCAD CONNECT Edition
    • +OpenFlows SewerOPS TechNotes and FAQs
    • OpenFlows software numerical solver theory
    • +OpenFlows WaterOPS TechNotes and FAQs
    • +Other
    • +Output and Reporting
    • Percent Connected Impervious Areas and Percent Unconnected Impervious Areas
    • Performing a hydrosanitary design in WaterGEMS or WaterCAD
    • +PondPack
    • PondPack user notification: "The composite outlet structure is either not selected or deleted."
    • PondPack: How to perform a critical duration analysis?
    • Presentation of elements in right-click-menu reports
    • Pressure pipe vs. conduit between pump and wetwell
    • Print Preview > Fit to Page shows blank page
    • Properties not working when using MicroStation integration with ProjectWise
    • Properties, Flextables, user notifications, or other dialog is missing or will not open in standalone
    • Properties, user notifications, or other tool managers not showing up in Integrated version of AutoCAD
    • Receiving error message when trying to save project
    • Reusing Pump Definitions (Import / Export)
    • Reversing orientation of Pipes and Conduits in Bulk
    • Saving a hydraulic model when using the AutoCAD platform (i.e. integrated)
    • Setting the invert elevation for multiple conduits coming into one manhole
    • +SewerGEMS
    • Simple Controls vs. Logical Controls
    • Sorting and relabeling a flextable based on upstream-downstream order
    • Source of the default Specific Speed for pumps and turbines
    • Step by step procedure for finding the curb length needed to capture 100% of gutter flow in a curb inlet with a continuously depressed gutter with no clogging
    • System.Reflection.TargetInvocationException crash when trying to open the application
    • Test Wiki Page - A1
    • Text, cells/blocks and line styles do not display correctly in a DXF background layer
    • The flow annotation (label) in my WaterGEMS for ArcMap isn't reflecting the value displayed in my Geotable or Flextable
    • The total area in the CN/Area Collection does not equal the total catchment area
    • Time tolerance setting in SCADAConnect Simulator
    • Troubleshooting ArcMap / ArcGIS Integration (menus or toolbars not showing)
    • Turbine Efficiency
    • Understanding Flow (Additional Subsurface) and Flow (Additional Carryover)
    • Unit of pressure measure "bar" for German language settings
    • Upcoming training and release dates for OpenFlows products
    • User notification "Downstream TW out of range..."
    • User notification "Pump exceeds the maximum operating point specified for the pump curve"
    • User Notification - The captured surface flow at this node does not connect a valid subsurface network. The flow is lost from the system.
    • User Notification: "Number out of range. Looking for value that is less than lowest table value."
    • User Notification: "There is an error in the data for this pipe. The associated data is incorrect"
    • User Notification: Cross section maximum elevation is above the maximum headwater elevation
    • User notifications about missing or inactive downstream pipes generated, but they are present and active in the model
    • User Notifications: "Pump On elevation is not in the range of upstream ...." and "Off elevation of pump is lower than ..."
    • Using batch pipe split to fix nodes that overlay a pipe instead of connecting to it
    • Using PondMaker with different tailwater for each return event
    • Valve "Status (Initial)" Definitions
    • Velocity Calculations and the Average Velocity Methods in SewerCAD and StormCAD
    • Viewing graph data for multiple scenarios
    • Water age results in a pipe are different from the age in the downstream junction
    • Water Loss Management
    • Water quality Analysis during transient events
    • WaterGems Tips
    • What are the limitations of importing/exporting EPANET files?
    • What is the dotted line that is associated with the isolation valves? Can I turn them off?
    • What's new in WaterCAD, WaterGEMS and HAMMER V8i SELECTseries 6 with CONNECT Integration?
    • What's New in WaterOPS CONNECT Edition 2.3 (Build 10.02.03.06)
    • When I do a copy/paste of zones they do not show up in the flex table.
    • When the user changes the fluid, why doesn't the calculated pump head change?
    • Xbox game bar appears when using HAMMER

    You are currently reviewing an older revision of this page.

    • History View current version

    Modeling An Initially Partially Closed Valve [TN]

    Document Information

    Document Type: TechNote 

    Product(s): Bentley HAMMER

    Version(s): V8i

    Original Author: Jesse Dringoli, Bentley Technical Support Group

     

    Overview

    This technote explains how to set up an initially partially closed valve that changes positions during the transient simulation. An example model is provided for demonstration, and version 08.11.01.32 of HAMMER is assumed. 

     

    Background

    In previous versions of HAMMER, all valves (including TCV, GPV, PRV, etc) were assumed to be either fully open or fully closed in the initial conditions. So, the transient operating rule (which describes when and how fast a valve closes during the transient simulation) was required to begin with either 100% (fully closed) or 0% (fully open). However, as of HAMMER V8i SELECTseries 1, you can now model a valve that is initially partially closed. The process by which this can be done is described below. 

     

    Establish the Initial and Fully-Open Conditions 

    The first thing you will need to do is enter the head loss or discharge coefficient that describes the hydraulics of the valve during the initial conditions. You must also enter the coefficient for the fully-open position of that valve, so that HAMMER can determine the relative discharge coefficient at certain positions of the valve (discussed later on in this technote.)  

    1. In the properties of the TCV, select "Discharge Coefficient" as the "Coefficient Type", then set the initial status to active. Enter the discharge coefficient representing your valve's initial position.


    2. For the "Discharge Coefficient (Fully Open)" field, enter the discharge coefficient representing the valve in its fully open position:

     

    How can I Determine the Discharge Coefficient?


    Most valve manufacturer can provide a table of discharge coefficient for a range of valve positions. The discharge coefficient is sometimes referred to as "Cv" and describes the flow for a unit pressure (such as gpm/psi0.5). So, the discharge coefficient for a certain desired initial closure position can be looked up on the table. For example, consider the below table:



    In this case, the fully open discharge coefficient would be set to 10.0. If you know the valve is initially 20% closed, the initial discharge coefficient would be set to 5.0.

    What if I'm not using a TCV?


    Note: skip this section if you are using a TCV


    As of version 08.11.01.32 of HAMMER, only the Throttle Control Valve (TCV) supports initial partial closure. If you're using a FCV, PRV, PSV, PBV or GPV, you'll need to convert it to an equivalent TCV first, using the below steps.

    Note: when computing initial conditions with any valve type, there will be one single specific head loss across the valve for that steady state condition. HAMMER converts this head loss into a discharge coefficient to be used in the transient calculations.

    1. First, compute initial conditions to see the head loss through your valve. The below example uses a GPV:



    This head loss will be based on the type of valve you choose. For example for this GPV, the head loss was based on the GPV head loss curve. In another example, the head loss through a FCV would be the head loss necessary to achieve the desired FCV flow rate. To derive the discharge coefficient, you can use the following formula:

    Cv = { (39.693 * D4) / [Hl / (V^2 / 2g) ] }0.5

    Where Cv is the discharge coefficient (cfs/(ft H2O)^0.5), D is the diameter (ft), V is the velocity (ft/s) and Hl is the head loss (ft). However, a shortcut can be employed to find the discharge coefficient…

    2. Go to Analysis > Calculation Options and open the transient calculation option set associated with the current scenario. In the properties of the calculation options, choose "True" for "specify initial conditions?"

    3. Go to Tools > Copy Initial Conditions. Choose the desired timestep (0.000 hours for steady state) and click OK. This will copy the discharge coefficient to a special field in the valve properties, which you can view under the "Transient (Physical)" section:



    4. Next, morph the valve into a TCV, by selecting the TCV from the layout toolbar and clicking directly on top of the valve:



    5. Now, enter the discharge coefficient found in step 3 as the initial discharge coefficient for the TCV. The fully open discharge coefficient will also still need to be entered. One way to find this would be to compute initial conditions with the original valve (GPV, FCV, PRV, PSV or PBV) set to "inactive". In this case, the initial conditions solver will use the "minor loss coefficient" that you entered, which represents the fully open condition. You would then use steps 2-4 above to find the discharge coefficient, then enter it as the TCV's fully open discharge coefficient. 6. Choose "false" for "specify initial conditions" in the transient calculation options, compute initial conditions, then verify that the computed head loss is the same as it was with your other valve type:

    What if I only know the head loss coefficient?


    It is always preferable to describe your valve with a discharge coefficient, since HAMMER always uses discharge coefficients in the transient calculations. As of HAMMER version 08.11.01.32, is it not recommended to use the "headloss coefficient" coefficient type for a TCV, if you need to model it in an initially partially closed position. To determine the equivalent discharge coefficient, either computer initial conditions and look at the calculated discharge coefficient in the Results section of the TCV properties, or use the following formula:

    Cv = ((39.693 * D4) / H)0.5

    Where D is the diameter (ft), H is the headloss coefficient and Cv is the discharge coefficient (cfs/(ft H2O)


    Note: the "Minor Loss Coefficient" should be converted to the "Discharge Coefficient (fully open)". 

     

    What if I Want to Use the Valve Characteristics Curve Coefficient Type? 

    There are three options available for the "coefficient type" for a TCV: Discharge coefficient, headloss coefficient and Valve Characteristics curve. The latter option lets you enter the initial valve setting in terms of relative closure percentage, instead of a head loss or discharge coefficient. For example if you know your valve is 20% open in the initial conditions, you would simply enter 20%.  

     

    However, some extra work is necessary with this option. Essentially you will need to relate relative closure percentages to discharge coefficients, in order to be able to refer to positions in terms of percent. This is done using the Valve Characteristics selection, described in the next section. For example if you enter 20% as the "Relative Closure (initial)", HAMMER needs to look that percentage up in the valve characteristics curve, to find the corresponding relative discharge coefficient. Then, based on the fully open discharge coefficient, it knows the discharge coefficient corresponding to 20%. 

     

    Establish the Valve Characteristics 

    The next step in the process of modeling an initially partially closed TCV is to select or define the valve characteristics curve. This is basically a table of relative closure versus relative discharge coefficient, which HAMMER uses to translate a percent open to a discharge coefficient. Basically when you model a valve closure in HAMMER, you are entering a table of time versus relative closure. This is done under Components > Patterns and is selected in the TCV properties under the Transient Operating Rule. In order for HAMMER to understand what these percentages really mean, it needs to translate them into a discharge coefficient. Every valve behaves a bit differently as it closes, so for example a value of 90% closed in your operating rule might not necessarily mean that the valve's open area is 10% of the fully open area. Therefore, the Valve Characteristics table is used to define this relationship. 

     

    By default, several standard valve types are available, in the "valve type" field (such as butterfly, globe, needle). The table of relative closure versus relative discharge coefficient is not visible to the user for these predefined valves, but is defined based on the following equations: 

    Note: the X axis represents relative closure and the Y axis represented relative discharge coefficient. The two equations on the right side can be used to derive tabular values from which the curves were constructed.

     

    For example, let's say you wanted to use the "butterfly" valve characteristics selection, and you want the valve to be initially 25% closed, with a fully open discharge coefficient of 10.0 cfs/ft H2O0.5. In this case, we can determine from the above diagram that the 25% relative closure translates to a relative discharge coefficient of 58.7%, which means a discharge coefficient of 0.587 X 10.0 = 5.87 cfs/ft H2O0.5.  


    Note: The relative discharge coefficient values are relative to the value entered for "Discharge Coefficient (fully open)".  

    You 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.  


    Note: remember that HAMMER uses relative closure, so 0% means fully open and 100% means fully closed. Other places may use relative opening, where the opposite is true.  

     

    Establish the Transient Operating Rule

    The last step needed to model the closure of an initially partially closed valve is to tell HAMMER when the valve closes (or opens) during the transient simulation and how fast it occurs. This is done by establishing a table of time versus relative closure, called the Operating Rule.  

    First, go to Components > Patterns and create a new pattern under "Operational (transient, valve)". Here you can enter the table of relative closure over time. Next, select the name of the pattern you just created in the "Operating Rule" field in the TCV properties. 

     

    Intuitively, the "Starting relative closure" field in the pattern must match the initial relative closure, which you can see in the "results" section of the properties of the TCV: 

     

    Putting it All Together 

    To summarize what we've done, let's consider the following example valve: 

     

    From the Operating Rule, the valve is initially 20% closed. From the Valve Characteristics table, a 20% relative closure translates to a 50% relative discharge coefficient. The "fully open" discharge coefficient is 10.0, so the initial discharge coefficient must be 10.0 X 50% = 5.0. 5.0 is entered as the initial discharge coefficient, so when the initial conditions are calculated, the computed relative closure (in the results section of the properties) is 20%. 

    Let's say you wanted to run another scenario where the valve starts at 90% closed. First, you would modify or create a new operating rule, with the "Starting Multiplier" set to 90%. Next you would need to match up the initial discharge coefficient to the 90% by looking at the characteristics curve. A 90% relative closure translates to a 5% relative discharge coefficient. 5% of the fully open discharge coefficient of 10.0 is 0.5. So, the initial discharge coefficient would be set to 0.5. 

     

    Troubleshooting 

    What does the following message mean? 

    "The valve's Initial Closure percent does not match the initial closure percent in the valve's referenced Operating Rule. The Operating Rule will be used as specified, but should be modified in order to get the expected results." 

    This means that the Starting Relative Closure in your transient operating rule is not in agreement with the initial conditions of the valve. Check the "Relative Closure (Calculated)" field in the "Results" section of the properties of the TCV, to see what the initial relative closure is (which is calculated based on the initial discharge coefficient, fully open discharge coefficient and valve characteristic curve). You'll need to adjust the initial discharge coefficient so that the initial relative closure matches your pattern, or adjust the starting multiplier in your transient operating rule so that it matches the computed initial relative closure. 

    If you're using a FCV, PRV, PSV, PBV or GPV, you will need to convert it to an equivalent TCV, using the method described further above in this technote. 

     

    Example Model

    Click to Download

    Note: the above model is for example purposes only. It can be opened in version 08.11.01.32 or greater.

     

    See Also

    Product TechNotes and FAQs

    Haestad Methods Product Tech Notes And FAQs

    Protective Equipment FAQ

    General HAMMER V8i FAQ

     

    External Links

    Water and Wastewater Forum

    Bentley Technical Support KnowledgeBase

    Bentley LEARN Server

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • User Management
    • Licensing Manager
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2019 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies