Skip to main content

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.

Created with Fabric.js 5.3.0

Ports and Connections​

Port KeyTypeDirectionInterface NameDisplay Conditions
0FLUIDinputfluid inletalways show
1FLUIDoutputFluid outletalways 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

NamekeyTypeDefault / OptionsDescription
Gas Valve Hydraulic ModelHydraulicModelchoiceExpansion/Choked Flow / Outlet-Density Pressure Difference / Pressure-Squared DifferenceExpansion/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 TypeValveCurveTypechoiceLinear / Equal-Percentage / Parabolic / CustomCharacteristic Type
Full-Open Kv [m³/(h·bar⁰ᐧ⁵)]FullOpenKVreal5000Vendor full-open Kv; positive and no less than closed leakage Kv. Shared by all three hydraulic models.
Closed Leakage Kv [m³/(h·bar⁰ᐧ⁵)]FullCloseKVreal0Residual Kv at mechanical closure; zero is ideal sealing. Nonnegative and no greater than full-open Kv.
Kv Curve SourceValveKvSourcechoiceEdit Component Curve / Reference a Shared CurveEnter opening–Kv data for this valve or select a shared curve that multiple components can reference.
Valve Opening–Kv CurveLocalValveKvPointstableConfigure one row at a timeEnter 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.stemPositionreal500% is closed; 100% fully open.
Valve Opening–Kv Curve / Kv [m³/(h·bar⁰ᐧ⁵)]LocalValveKvPoints.Kvreal0Actual Kv at this opening.
Valve Kv CurveCurveLibraryValveKvNamechoice__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 ModeXTSourcechoiceFixed Value / Opening-DependentChoose fixed xT or an actual-opening curve, preferably vendor data.
Critical Pressure-Drop Ratio xTXTreal0.7Critical-flow pressure-drop ratio coefficient in (0,1]. Prefer vendor data; default 0.7 is an estimate.
Valve xT CurveCurveLibraryXTNamechoice__UNSELECTED__Select opening–xT data covering 0%/100%, with xT in (0,1]. Linear interpolation uses opening, not simulation-time coverage.

Initial Conditions

NamekeyTypeDefault / OptionsDescription
Initial Opening [%]InitialOpeningreal100Actual initial opening for steady-state/transient initialization. Later transient plans/signals apply; pre-start plans do not override it.

Control Mode

NamekeyTypeDefault / OptionsDescription
Opening Control SourceControlModechoice0Schedule or actuation signal supplies targets; both move from actual opening at the full-stroke rate. Steady-state uses initial opening.
Full-Stroke Time [s]TravelTimereal30Full closed-to-open or open-to-closed duration, shared by plans/signals. Partial travel scales by opening change; zero means instantaneous action.

Transient Events

NamekeyTypeDefault / OptionsDescription
Opening ScheduleEventstableConfigure one row at a timeStrictly 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 TimeEvents.timedatetime2026-01-01 00:00:00When this target starts applying, rather than when it is reached.
Opening Schedule / Target Opening [%]Events.targetOpeningreal1000% 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.

CurveHorizontal axisVertical axis and requirements
Valve flow coefficientOpening from 0% to 100%, strictly increasing and including both endpointsAbsolute Kv, nonnegative and nondecreasing, with a positive full-open value. The curve values are used directly.
Valve critical pressure differential ratio factorOpening from 0% to 100%, strictly increasing and including both endpointsDimensionless 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 ControlsParameter KeyDefault ValueScope/OptionsUnitDescription
Trigger timetime2026-01-01 00:00:00date time—The simulation time to start executing this opening adjustment.
Target openingtargetOpening100[0, 100]%This command requires the valve to reach the opening.

Modeling Steps​

  1. Add the valve and connect fluid ports.
  2. 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.
  3. Set initial opening and transient full-stroke time.
  4. For plans, enter effective times and target openings. For signals, bind an actuator to this valve and Opening Setpoint.
  5. 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 ss uses 0–1 in formulas and percent in the interface. For stroke time τ>0\tau>0 and step Δt\Delta t, movement toward target is limited to Δsmax⁡=Δt/τ\Delta s_{\max}=\Delta t/\tau. 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

Kv(s)=Kv,close+(Kv,open−Kv,close)f(s).K_v(s)=K_{v,\mathrm{close}}+(K_{v,\mathrm{open}}-K_{v,\mathrm{close}})f(s).
CharacteristicEffective Kv rule
Linearf(s)=sf(s)=s
Equal-percentagef(s)=2s−1f(s)=2^s-1
Parabolicf(s)=s2f(s)=s^2
CustomLinear 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​

pinp_{\mathrm{in}}, poutp_{\mathrm{out}} are defined-port absolute pressures in Pa. Let D=pin−poutD=p_{\mathrm{in}}-p_{\mathrm{out}}, d=∣D∣d=|D|. Actual upstream is the high-pressure side, with pressures pup_u, pdp_d and density in kg/m³. Mass flow m˙\dot m in kg/s follows the sign of DD. The formulas use effective KvK_v and apply outside the near-zero smoothing band.

ModelGas stateSelection basis
Expansion/choked flowActual upstream density and ideal-gas heat capacity ratioEquipment Kv and xT describe expansion and saturation. Default xT 0.7 can support estimates if equipment data are unavailable.
Outlet-density pressure differenceDefined outlet density, also in reverse flowCalibration based on fixed outlet-density and pressure-drop relations.
Pressure-squared differenceActual upstream density and absolute pressureCalibration based on pressure-squared relations.

Expansion and Choked Flow​

Pressure-drop ratio x=d/pux=d/p_u, critical ratio xc=γ0xT/1.4x_c=\gamma_0 x_T/1.4, where γ0\gamma_0 is the ideal-gas heat capacity ratio for upstream gas and temperature. With xs=min⁡(x,xc)x_s=\min(x,x_c) and expansion factor Y=1−xs/(3xc)Y=1-x_s/(3x_c),

m˙=sgn⁡(D)Kv36000Yρupuxs.\dot m=\operatorname{sgn}(D)\frac{K_v}{36000}Y\sqrt{\rho_u p_u x_s}.

For an opening–xT curve, interpolate at actual opening. At fixed upstream state, Kv, and xT, lowering downstream pressure beyond xcx_c does not increase flow. If xc≥1x_c\ge1, choking cannot occur with positive absolute pressures.

Outlet-Density Pressure Difference​

Using defined outlet density ρout\rho_{\mathrm{out}} and pressure difference,

m˙=sgn⁡(D)Kv36000ρoutd.\dot m=\operatorname{sgn}(D)\frac{K_v}{36000}\sqrt{\rho_{\mathrm{out}}d}.

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 ρu\rho_u, between the low-drop linear region and critical plateau,

m˙=sgn⁡(D)Kv36000ρupupu2−pd22.\dot m=\operatorname{sgn}(D)\frac{K_v}{36000} \sqrt{\frac{\rho_u}{p_u}\frac{p_u^2-p_d^2}{2}}.

Below approximately 3.447 kPa drop, a line connects zero flow to threshold capacity. At usual pressures, the plateau starts at pd/pu=0.5p_d/p_u=0.5. 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 m˙=ρinqin=ρoutqout\dot m=\rho_{\mathrm{in}}q_{\mathrm{in}}=\rho_{\mathrm{out}}q_{\mathrm{out}}, where local volume flow qq 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 hd=huh_d=h_u. NexusFlow approximates temperature change using the downstream Joule–Thomson coefficient:

μJT,d=(∂T∂p)h∣d=−1cp,d(∂h∂p)T∣d.\mu_{\mathrm{JT},d} =\left.\left(\frac{\partial T}{\partial p}\right)_h\right|_d =-\frac{1}{c_{p,d}}\left.\left(\frac{\partial h}{\partial p}\right)_T\right|_d.

hh is specific enthalpy, pp absolute pressure, TT absolute temperature, and cp,dc_{p,d} downstream heat capacity. Derivatives hold composition fixed; downstream μJT,d\mu_{\mathrm{JT},d} uses K/Pa.

For a general gas property relation, equation-of-state pressure derivatives give

μJT,d=1cp,d[Tdρd2(∂p/∂T)ρ∣d(∂p/∂ρ)T∣d−1ρd],\mu_{\mathrm{JT},d}= \frac{1}{c_{p,d}}\left[ \frac{T_d}{\rho_d^2} \frac{\left.(\partial p/\partial T)_\rho\right|_d} {\left.(\partial p/\partial\rho)_T\right|_d} -\frac{1}{\rho_d} \right],

Here ρd\rho_d is downstream density. NexusFlow AGA8Gross uses enthalpy dependent only on temperature, so (∂h/∂p)T(\partial h/\partial p)_T and the Joule–Thomson coefficient are zero.

The first-order throttling approximation is

Td−Tu≈μJT,d(pd−pu).T_d-T_u\approx\mu_{\mathrm{JT},d}(p_d-p_u).

At fixed drop, positive μJT,d\mu_{\mathrm{JT},d} 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.