Pressure-Reducing Valve (IL)
Pressure-reducing valve in an isothermal system
- Library:
Simscape / Fluids / Isothermal Liquid / Valves & Orifices / Pressure Control Valves
Description
The Pressure-Reducing Valve (IL) block models a pressure-reducing valve in an isothermal liquid network. The valve remains open when the pressure at port B is less than a specified pressure. When the pressure at port B meets or surpasses this set pressure, the valve closes. The block functions based on the differential between the set pressure and the pressure at port B. For pressure control based on another element in the fluid system, see the Pressure Compensator Valve (IL) block.
Pressure Control
Two valve control options are available:
When Set pressure control is set to
Controlled
, connect a pressure signal to port Ps and define the constant Pressure regulation range. The valve response will be triggered when PB is greater than Pset, the Set pressure (gauge), and below Pmax, the sum of the set pressure and the user-defined Pressure regulation range. The pressure at port B acts as the control pressure, Pcontrol, for this valve.When Set pressure control is set to
Constant
, the valve opening is continuously regulated between Pset and Pmax by either a linear or tabular parameterization. When theTabulated data
option is selected, Pset and Pmax are the first and last parameters of the Pressure differential vector, respectively.
Mass Flow Rate Equation
Momentum is conserved through the valve:
The mass flow rate through the valve is calculated as:
where:
Cd is the Discharge coefficient.
Avalve is the instantaneous valve open area.
Aport is the Cross-sectional area at ports A and B.
is the average fluid density.
Δp is the valve pressure difference pA – pB.
The critical pressure difference, Δpcrit, is the pressure differential associated with the Critical Reynolds number, Recrit, 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. PRloss is calculated as:
Pressure recovery describes the positive pressure change in
the valve due to an increase in area. If you do not wish to capture this increase in
pressure, set the Pressure recovery to
Off
. In this case,
PRloss is 1.
The opening area Avalve is determined by
the closing parameterization (for Constant
valves only)
and the valve opening dynamics.
Closing Parameterization
Linear parameterization of the valve area is
where the normalized pressure,, is
At the extremes of the valve pressure range, you can maintain numerical robustness in your simulation by adjusting the block Smoothing factor. With a nonzero smoothing factor, a smoothing function is applied to all calculated valve pressures, but primarily influences the simulation at the extremes of these ranges.
When the Smoothing factor, f, is nonzero, a smoothed, normalized pressure is instead applied to the valve area:
In the Tabulated data
parameterization,
Amax and
Aleak are the first and last
parameters of the Opening area vector, respectively. The
smoothed, normalized pressure is also used when the smoothing factor is nonzero with
linear interpolation and nearest extrapolation.
Opening Dynamics
If Opening dynamics are modeled, a lag is introduced to the flow response to valve opening. Avalve becomes the dynamic opening area, Adyn; otherwise, Avalve is the steady-state opening area. The instantaneous change in dynamic opening area is calculated based on the Opening time constant, τ:
By default, Opening dynamics are turned
Off
.
Steady-state dynamics are set by the same parameterization as the valve opening, and are based on the control pressure, pcontrol. A nonzero Smoothing factor can provide additional numerical stability when the valve is in near-closed or near-open position.
Faulty Behavior
When faults are enabled, the valve open area becomes stuck at a specified value in response to one of these triggers:
Simulation time — Faulting occurs at a specified time.
Simulation behavior — Faulting occurs in response to an external trigger. This exposes port Tr.
Three fault options are available in the Opening area when faulted parameter:
Closed
— The valve freezes at its smallest value, depending on the Opening parameterization:When Opening parameterization is set to
Linear
, the valve area freezes at the Leakage area.When Opening parameterization is set to
Tabulated data
, the valve area freezes at the first element of the Opening area vector.
Open
— The valve freezes at its largest value, depending on the Opening parameterization:When Opening parameterization is set to
Linear
, the valve area freezes at the Maximum opening area.When Orifice parameterization is set to
Tabulated data
, the valve area freezes at the last element of the Opening area vector.
Maintain last value
— The valve area freezes at the valve open area when the trigger occurred.
Due to numerical smoothing at the extremes of the valve area, the minimum area applied is larger than the Leakage area, and the maximum is smaller than the Maximum orifice area, in proportion to the Smoothing factor value.
Once triggered, the valve remains at the faulted area for the rest of the simulation.