Shuttle Valve (IL)
One-way switching valve in an isothermal liquid system
Libraries:
Simscape /
Fluids /
Isothermal Liquid /
Valves & Orifices /
Directional Control Valves
Description
The Shuttle Valve (IL) block models a one-way pressure control valve or switching component in an isothermal liquid network. Flow through the valve travels from port A or port A1 to port B. When the pressure differential between A and A1, pAA1, is above a specified threshold pressure, the path between ports A and B is open to flow and the port at A1 closes. The path has been fully changed when the pressure reaches the Pressure at which A-B is fully open and A1-B is fully closed. When pAA1 falls below the threshold pressure, the flow inlet switches to port A1.
Mass Flow Rate Equation
Mass is conserved through the valve:
There is no flow between ports A and A1.
The mass flow rate through the valve is calculated as:
where:
Cd is the Discharge coefficient.
Avalve is the valve open area, either between ports A and B or ports A1 and B.
Aport is the Cross-sectional area at ports A and B.
is the average fluid density.
Δp is the valve pressure difference. Depending on the flow path through the valve, this is either pA – pB, pA1 – pB, or the normalized pressure when switching between the two inlet ports, , defined below.
The critical pressure difference, Δpcrit, is the pressure differential associated with the Critical Reynolds number, Recrit, and is also dependent on the flow path through the valve:
The critical Reynolds number is the flow regime transition point between laminar and turbulent flow.
Pressure loss describes the reduction of pressure in the valve due to a decrease in area, and can change if different valve flow paths have different areas. PRloss is calculated as:
Pressure recovery describes the positive pressure change in the valve
due to an increase in area. If you do not want to capture this increase in pressure,
set the Pressure recovery to Off. In
this case, PRloss is 1.
The opening area, Avalve, is also impacted by the valve opening dynamics.
Opening Parameterization
The linear parameterization of the valve area depends on the flow path through the valve. The dynamic area is based on a normally open path between ports A and B:
The normalized pressure, , is
when pAA1 is between the parameters Pressure at which A-B is fully closed and A1-B is fully open and Pressure at which A-B is fully open and A1-B is fully closed. If pAA1 is below Pressure at which A-B is fully closed and A1-B is fully open, is 0. If pAA1 is above Pressure at which A-B is fully open and A1-B is fully closed, is 1.
When the valve inlet switches from port A to port A1, the valve opening area is:
When the valve is in a near-open or near-closed position
in the linear parameterization, 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 normalized control pressure between 0 and
1. For more information, see Numerical Smoothing.
Opening Dynamics
When you select Opening dynamics, the block applies a first-order filter to the valve area based on the Opening time constant parameter, τ. The valve area, Avalve, becomes the dynamic area, Adyn,
When you select Opening dynamics, the valve does not respond to changes instantaneously. This figure shows an example valve area in response to a step in the valve input pressure with and without opening dynamics:
When you clear Opening dynamics, the valve area mirrors the step change in the pressure at the input.
When you select Opening dynamics and set Opening time constant to
0.1 s, the valve area asymptotically approaches its limit.

Specifying a nonzero value for the Smoothing factor parameter provides additional numerical stability when the valve area is changing and in the near-closed or near-open position. For more information, see Numerical Smoothing.

