Shut-off Valve
Regulates or blocks gas flow through opening and flow characteristics, with state and opening events.
Component Appearance and Location
Find Shut-off Valve under Pipes and Valves in the left library.
Ports and Connections
| Port Key | Type | Direction | Interface Name | Display Conditions |
|---|---|---|---|---|
0 | FLUID | input | fluid inlet | always show |
1 | FLUID | output | Fluid outlet | always show |
Fluid ports only connect to physical networks. When reading the valve status or inputting the opening command, select this valve as the target device in a measurement instrument or actuator.
Parameter List
Equipment Specifications
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Gas Valve Hydraulic Model | HydraulicModel | choice | Expansion/Choked Flow / Outlet-Density Pressure Difference / Pressure-Squared Difference | Expansion/choked flow includes gas expansion and needs xT. Outlet-density differential uses the defined outlet density even in reverse flow, without a critical plateau. Pressure-squared flow uses actual upstream state and chokes at an absolute ratio ≤0.5. All share Kv/characteristics; reinitialize after switching. |
| Characteristic Type | ValveCurveType | choice | Linear / Equal-Percentage / Parabolic / Custom | Characteristic Type |
| Full-Open Kv [m³/(h·bar⁰ᐧ⁵)] | FullOpenKV | real | 5000 | Vendor full-open Kv; positive and no less than closed leakage Kv. Shared by all three hydraulic models. |
| Closed Leakage Kv [m³/(h·bar⁰ᐧ⁵)] | FullCloseKV | real | 0 | Residual Kv at mechanical closure; zero is ideal sealing. Nonnegative and no greater than full-open Kv. |
| Kv Curve Source | ValveKvSource | choice | Edit Component Curve / Reference a Shared Curve | Enter opening–Kv data for this valve or select a shared curve that multiple components can reference. |
| Valve Opening–Kv Curve | LocalValveKvPoints | table | Configure one row at a time | Enter the actual Kv values for this valve, with endpoints at 0% and 100% opening. The solver interpolates linearly between adjacent points. The fallback fully open and fully closed Kv values do not enter the calculation. |
| Valve Opening–Kv Curve / Valve Opening [%] | LocalValveKvPoints.stemPosition | real | 50 | 0% is closed; 100% fully open. |
| Valve Opening–Kv Curve / Kv [m³/(h·bar⁰ᐧ⁵)] | LocalValveKvPoints.Kv | real | 0 | Actual Kv at this opening. |
| Valve Kv Curve | CurveLibraryValveKvName | choice | __UNSELECTED__ | Select a vendor opening–Kv curve with 0%/100% endpoints. Values directly define Kv with linear interpolation; standby open/closed Kv are unused. |
| Critical Pressure-Drop Ratio Mode | XTSource | choice | Fixed Value / Opening-Dependent | Choose fixed xT or an actual-opening curve, preferably vendor data. |
| Critical Pressure-Drop Ratio xT | XT | real | 0.7 | Critical-flow pressure-drop ratio coefficient in (0,1]. Prefer vendor data; default 0.7 is an estimate. |
| Valve xT Curve | CurveLibraryXTName | choice | __UNSELECTED__ | Select opening–xT data covering 0%/100%, with xT in (0,1]. Linear interpolation uses opening, not simulation-time coverage. |
Initial Conditions
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Initial Opening [%] | InitialOpening | real | 100 | Actual initial opening for steady-state/transient initialization. Later transient plans/signals apply; pre-start plans do not override it. |
Control Mode
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Opening Control Source | ControlMode | choice | 0 | Schedule or actuation signal supplies targets; both move from actual opening at the full-stroke rate. Steady-state uses initial opening. |
| Full-Stroke Time [s] | TravelTime | real | 30 | Full closed-to-open or open-to-closed duration, shared by plans/signals. Partial travel scales by opening change; zero means instantaneous action. |
Transient Events
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Opening Schedule | Events | table | Configure one row at a time | Strictly increasing unique target activation times. Earlier plans do not override initial opening. New targets continue from actual position at stroke speed; an empty plan holds initial opening. |
| Opening Schedule / Effective Time | Events.time | datetime | 2026-01-01 00:00:00 | When this target starts applying, rather than when it is reached. |
| Opening Schedule / Target Opening [%] | Events.targetOpening | real | 100 | 0% closed, 100% open; actual opening approaches target at the full-stroke rate. |
Parameter Guidance
- Flow characteristic. Select linear, equal-percentage, parabolic, or custom. Built-in characteristics use full-open and zero-opening Kv. For a custom characteristic, enter or reference a curve of absolute Kv against opening. Set zero-opening Kv to zero for tight isolation at 0%.
- Hydraulic model. Select one of the Three Models. All share Kv and opening characteristics; only expansion/choked flow uses xT, either fixed or an opening-dependent curve. Rebuild initial conditions after switching models.
- Opening and action. Initial opening sets steady-state and transient initial fields. Plans or signals give transient targets; actual opening follows stroke time. Check opening, state, and flow together.
Enter Characteristic Curves
For custom flow characteristics, set Valve Flow Coefficient Curve Source to Edit Local Curve or Reference Curve Database. Opening-dependent xT has a separate Valve Critical Pressure Differential Ratio Factor Curve Source.
| Curve | Horizontal axis | Vertical axis and requirements |
|---|---|---|
| Valve flow coefficient | Opening from 0% to 100%, strictly increasing and including both endpoints | Absolute Kv, nonnegative and nondecreasing, with a positive full-open value. The curve values are used directly. |
| Valve critical pressure differential ratio factor | Opening from 0% to 100%, strictly increasing and including both endpoints | Dimensionless xT within the interval (0, 1]. Values can vary nonmonotonically. |
Enter local points or select a named curve of the same type. The xT curve applies to the expansion and choked flow model. Choose a curve source.
Component Command
Opening Adjustment
| Interface Controls | Parameter Key | Default Value | Scope/Options | Unit | Description |
|---|---|---|---|---|---|
| Trigger time | time | 2026-01-01 00:00:00 | date time | — | The simulation time to start executing this opening adjustment. |
| Target opening | targetOpening | 100 | [0, 100] | % | This command requires the valve to reach the opening. |
Modeling Steps
- Add the valve and connect fluid ports.
- Under Equipment Specifications, select the gas valve hydraulic model and the characteristic specified by the equipment. Enter local points or reference a database curve for custom characteristics. For expansion/choked flow, also select fixed or opening-dependent xT.
- Set initial opening and transient full-stroke time.
- For plans, enter effective times and target openings. For signals, bind an actuator to this valve and Opening Setpoint.
- Check pressures, flows, opening, and non-isothermal temperatures.
View Results
- Compare inlet/outlet gauge pressures. Convert to absolute pressures before critical-flow ratios.
- Check standard flow and direction, positive from defined inlet to outlet.
- Compare actual/target opening and movement timing. At 0%, check closed Kv and pressure difference for leakage.
- In reverse flow, the defined inlet is the downstream temperature measurement.
Professional Theory
Opening and Effective Kv
Actual opening uses 0–1 in formulas and percent in the interface. For stroke time and step , movement toward target is limited to . Zero stroke time reaches target in the first positive interval after command activation. Steady-state and new transient initial fields use initial opening.
Kv is capacity referenced to water at 1000 kg/m³: at 1 bar drop, flow in m³/h equals Kv. Gas flow also depends on pressure and properties. Built-in characteristics use
| Characteristic | Effective Kv rule |
|---|---|
| Linear | |
| Equal-percentage | |
| Parabolic | |
| Custom | Linear interpolation of opening–Kv points; curve values are effective Kv directly |
Zero opening corresponds to closed Kv. Zero closed Kv gives ideal isolation. Positive closed Kv can produce residual flow when pressure difference and hydraulic rules permit.
Three Hydraulic Models
, are defined-port absolute pressures in Pa. Let , . Actual upstream is the high-pressure side, with pressures , and density in kg/m³. Mass flow in kg/s follows the sign of . The formulas use effective and apply outside the near-zero smoothing band.
| Model | Gas state | Selection basis |
|---|---|---|
| Expansion/choked flow | Actual upstream density and ideal-gas heat capacity ratio | Equipment Kv and xT describe expansion and saturation. Default xT 0.7 can support estimates if equipment data are unavailable. |
| Outlet-density pressure difference | Defined outlet density, also in reverse flow | Calibration based on fixed outlet-density and pressure-drop relations. |
| Pressure-squared difference | Actual upstream density and absolute pressure | Calibration based on pressure-squared relations. |
Expansion and Choked Flow
Pressure-drop ratio , critical ratio , where is the ideal-gas heat capacity ratio for upstream gas and temperature. With and expansion factor ,
For an opening–xT curve, interpolate at actual opening. At fixed upstream state, Kv, and xT, lowering downstream pressure beyond does not increase flow. If , choking cannot occur with positive absolute pressures.
Outlet-Density Pressure Difference
Using defined outlet density and pressure difference,
Outlet pressure changes both density and pressure drop; flow can first rise and then fall with increasing drop. This model has no choked-flow plateau.
Pressure-Squared Difference
Using actual upstream density , between the low-drop linear region and critical plateau,
Below approximately 3.447 kPa drop, a line connects zero flow to threshold capacity. At usual pressures, the plateau starts at . For very low upstream absolute pressure near the threshold, critical drop is the larger of half upstream pressure and the low-drop threshold.
Mass Conservation and Throttling Temperature
The valve stores no gas. Mass flow satisfies , where local volume flow uses m³/s. Different densities give different actual flows; standard flow uses density at the case standard conditions.
Non-isothermal throttling assumes adiabatic flow, no shaft work, and negligible kinetic/potential changes, giving . NexusFlow approximates temperature change using the downstream Joule–Thomson coefficient:
is specific enthalpy, absolute pressure, absolute temperature, and downstream heat capacity. Derivatives hold composition fixed; downstream uses K/Pa.
For a general gas property relation, equation-of-state pressure derivatives give
Here is downstream density. NexusFlow AGA8Gross uses enthalpy dependent only on temperature, so and the Joule–Thomson coefficient are zero.
The first-order throttling approximation is
At fixed drop, positive gives cooling and negative gives heating. Composition and state affect it; large-drop accuracy varies with conditions. Composition passes through without separation. In reverse flow, identify the throttled measurement by actual direction.
Applicability and Limits
- Hydraulic models cover single-phase gas. Check vendor sizing, noise, and actuator mechanics separately.
- Fast transient actions can excite pressure waves; match time steps to stroke time.
Common Inspections
- The parameter units shall be subject to the interface markings; the pressure shall be distinguished between gauge pressure and absolute pressure, and the flow rate shall be distinguished between standard conditions and local working conditions.
- Conditional parameters are only displayed and involved in calculations in the corresponding mode. Do not judge their validity based solely on the existence of fields in the model JSON.
- When the port connections, number of boundaries, or control directions are wrong, the model topology should be corrected first, and then the solver parameters should be adjusted.