Gate Valve (TL)
Gate valve in a thermal liquid system
Simscape / Fluids / Thermal Liquid / Valves & Orifices / Flow Control Valves
The Gate Valve (TL) block represents a gate valve in a thermal liquid network. The valve comprises a round, sharp-edged orifice and a round gate with the same diameter. The gate opens or closes according to the displacement signal at port S. A positive signal lifts the gate to open the valve. The diagram shows the relationship between the opening area and the net displacement of the gate.
A smoothing function allows the valve opening area to change smoothly between the fully closed and fully open positions. The smoothing function reduces the abrupt opening area changes at the zero and maximum gate positions.
The mass conservation equation in the valve is
is the mass flow rate into the valve through port A.
is the mass flow rate into the valve through port B.
The momentum conservation equation in the valve is
pA and pB are the pressures at port A and port B.
is the mass flow rate.
is the critical mass flow rate:
ρAvg is the average liquid density.
Cd is the discharge coefficient.
S is the valve inlet area.
PRLoss is the pressure ratio:
The energy conservation equation in the valve is
ϕA is the energy flow rate into the valve through port A.
ϕB is the energy flow rate into the valve through port B.
Valve Opening Area
The block computes the valve opening area by using the expression
A is the valve opening area.
d0 is the valve orifice diameter.
ACovered is the portion of the valve orifice area covered by the gate:
Δl is the net displacement of the gate center relative to the orifice center.
Smin is value of the Gate position when fully covering orifice parameter specified in the block dialog box.
Sd is the gate displacement specified through physical signal input port S.
Numerically Smoothed Displacement
When the valve is in a near-open or near-closed position,
you can maintain numerical robustness in your simulation by adjusting the
Smoothing factor parameter. If the Smoothing
factor parameter is nonzero, the block smoothly saturates the gate
0 and the Valve orifice
diameter parameter. For more information, see Numerical Smoothing.
S — Gate displacement, m
Physical signal port associated with the valve gate displacement, in m. A positive signal retracts the gate and opens the valve.
A — Liquid port
Thermal liquid conserving port associated with valve inlet A.
B — Liquid port
Thermal liquid conserving port associated with valve inlet B.
Orifice diameter — Orifice diameter
m (default) | positive scalar
Valve open-area diameter.
Gate position when fully covering orifice — Gate offset
m (default) | nonnegative scalar
Gate offset when the valve is closed. A positive, nonzero value indicates a partially open valve when the signal at port S is 0. A negative, nonzero value indicates an overlapped valve that remains closed for an initial positive displacement set by the physical signal at port S.
Leakage area — Gap area when in fully shut position
m^2 (default) | positive scalar
Sum of all gaps when the valve is in the fully shut position. The block saturates smaller numbers to this value. This parameter contributes to numerical stability by maintaining continuity in the flow.
Smoothing factor — Numerical smoothing factor
0.01 (default) | scalar in the range [0,1]
Continuous smoothing factor that introduces a layer of gradual change to the flow response when the valve is in near-open or near-closed positions.
Cross-sectional area at ports A and B — Orifice area at conserving ports
m^2 (default) | positive scalar
Areas at the entry and exit ports A and B, which are used in the pressure-flow rate equation that determines the mass flow rate through the orifice.
Discharge coefficient — Discharge coefficient
0.7 (default) | positive scalar
Correction factor that accounts for discharge losses in theoretical flows.
Critical Reynolds number — Upper Reynolds number limit for laminar flow
12 (default) | positive scalar
Upper Reynolds number limit for laminar flow through the valve.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2016a