Pressure Relief Valve (2P)
Libraries:
Simscape /
Fluids /
Two-Phase Fluid /
Valves & Orifices /
Pressure Control Valves
Description
The Pressure Relief Valve (2P) block models a pressure-controlling relief valve in a
two-phase fluid network. The valve opens when the pressure exceeds the set pressure.
Specify the pressure differential that opens the valve in the Set pressure
specification parameter, which can be the pressure difference between
ports A and B or the gauge pressure at port
A. When you set Set pressure control to
Controlled
, the set pressure varies according to the
input signal at port Ps.
The Modeling option parameter controls the parameterization options for a valve designed for modeling either vapor or liquid, but does not impact the fluid properties. The block calculates fluid properties inside the valve from inlet conditions. There is no heat exchange between the fluid and the environment, and therefore phase change inside the orifice only occurs due to a pressure drop or a propagated phase change from another part of the model.
Pressure Control
The valve opens when the pressure in the valve, pcontrol, exceeds the set pressure, pset. The valve is fully open when the control pressure reaches pset + prange, where prange is the value of the Pressure regulation range parameter.
For the linear parametrizations, the block calculates the opening fraction of the
valve, λ. When you set Set pressure control
to Constant
, λ is
where:
fleak is the value of the Leakage flow fraction parameter.
pcontrol is the control pressure, which depends on the value of the Set pressure specification parameter.
When you set Set pressure specification to
Pressure differential
, the control pressure is pA ̶ pB.When you set Set pressure specification to
Gauge pressure at port A
, the control pressure is the difference between the pressure at port A and atmospheric pressure.pset is the set pressure, which depends on the value of the Set pressure specification parameter.
When you set Set pressure specification to
Pressure differential
, pset is the value of the Set pressure differential parameter.When you set Set pressure specification to
Gauge pressure at port A
, pset is the value of the Set pressure (gauge) parameter.
When you set Set pressure control to
Controlled
, the valve opening fraction is
where ps is the value of the signal at port Ps. If the control pressure exceeds the valve pressure regulation range, the valve opening fraction is 1.
Liquid Valve
When Modeling option is Liquid operating
condition
, the block parameterizations depend on the value of the
Valve parameterization parameter. The block calculates the
pressure loss and pressure recovery in the same way for all liquid parameterization
options.
The critical pressure difference, Δpcrit, is the pressure differential where the flow transitions between laminar and turbulent flow. For all liquid parameterizations, Δpcrit is
where:
pA and pB are the pressure at port A and B, respectively.
Blam is the value of the Laminar flow pressure ratio parameter.
The block accounts for pressure loss by using the ratio of the pressure loss across the whole valve to the pressure drop immediately across the valve restriction area. This ratio, PRloss, is
where:
Aport is the value of the Cross-sectional area at ports A and B parameter.
Cd is the value of the Discharge coefficient parameter.
Avalve is the valve area.
The pressure recovery is the positive pressure change in the valve due to an increase in area after the orifice hole. If you do not want to capture this increase in pressure, clear the Pressure recovery check box. In this case, PRloss is 1, which reduces the model complexity. Clear this setting if the orifice hole is quite small relative to the port area or if the next downstream component is close to the block and any jet does not have room to dissipate.
When you set Valve Parameterization to
Nominal mass flow rate vs. pressure
, the mass
flow rate through the valve is
where:
Δp is the pressure drop over the valve, pA ̶ pB.
is the value of the Nominal mass flow rate at maximum valve opening parameter.
Δpnom is the value of the Nominal pressure drop rate at maximum valve opening parameter.
vnom is the nominal inlet specific volume. The block determines this value from the tabulated fluid properties data based on the Nominal inlet specific enthalpy and Nominal inlet pressure parameters.
vin is the inlet specific volume.
When you set Valve parameterization to
Linear - area vs. pressure
, the valve area is
where Amax is the value of the Maximum valve area parameter.
The mass flow rate is
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 opening area between Aleak and Amax, where Aleak = fleakAmax. For more information, see Numerical Smoothing.
When you set Valve Parameterization to
Tabulated data - area vs. pressure
, the block
interpolates the valve area from the Valve area vector and
Opening pressure differential vector or
Opening pressure (gauge) vector parameters.
The block uses the same equation as the Linear - Area vs.
pressure
setting to calculate the volumetric flow
rate.
For all parameterizations, the block calculates the fluid specific volume during simulation based on the liquid state.
If the fluid at the valve inlet is a liquid-vapor mixture, the block calculates the specific volume as
where:
xdyn is the inlet vapor quality. The block applies a first-order lag to the inlet vapor quality of the mixture.
vliq is the liquid specific volume of the fluid.
vvap is the vapor specific volume of the fluid.
If the inlet fluid is liquid or vapor, vin is the respective liquid or vapor specific volume.
If the inlet vapor quality is a liquid-vapor mixture, the block applies a first-order time lag,
where:
xdyn is the dynamic vapor quality.
xin is the current inlet vapor quality.
τ is the value of the Inlet phase change time constant parameter.
If the inlet fluid is a subcooled liquid, xin = 0. If the inlet fluid is a superheated vapor, xin = 1.
Vapor Valve
When Modeling option is Vapor operating
condition
, the block behavior depends on the Valve
parameterization and Opening characteristic
parameters.
The flow rate in the valve depends on the Opening characteristic parameter:
Linear
— The block scales the measure of flow capacity by λ to account for the valve opening area.Tabulated
— The block interpolates the measure of flow capacity from either the Cv flow coefficient vector, Kv flow coefficient vector, or Orifice area vector parameters. This function uses a one-dimensional lookup table.
When you set Valve parametrization to Cv
flow coefficient
, the mass flow rate is
where:
Cv is the flow coefficient.
N6 is a constant equal to 27.3 when mass flow rate is in kg/hr, pressure is in bar, and density is in kg/m3.
Y is the expansion factor.
pin is the inlet pressure.
pout is the outlet pressure.
vin is the inlet specific volume.
The expansion factor is
where:
Fγ is the ratio of the isentropic exponent to 1.4.
xT is the value of the xT pressure differential ratio factor at choked flow parameter.
The block smoothly transitions to a linearized form of the equation when the pressure ratio, , rises above the value of the Laminar flow pressure ratio parameter, Blam,
where:
When the pressure ratio, , falls below , the valve becomes choked and the block uses the equation
When you set Valve parametrization to Kv flow
coefficient
, the block uses the same equations as the
Cv flow coefficient
parametrization, but replaces
Cv with
Kv using the relation .
When you set Valve parametrization to
Orifice area
, the mass flow rate is
where:
Cd is the value of the Discharge coefficient parameter.
γ is the isentropic exponent.
The block smoothly transitions to a linearized form of the equation when the pressure ratio, , rises above the value of the Laminar flow pressure ratio parameter, Blam,
When the pressure ratio, , falls below , the valve becomes choked and the block uses the equation
Mass Balance
Mass is conserved in the valve,
where:
is the mass flow rate at port A.
is the mass flow rate at port B.
Energy Balance
Energy is conserved in the valve,
where:
ΦA is the energy flow at port A.
ΦB is the energy flow at port B.
Assumptions and Limitations
There is no heat exchange between the valve and the environment.
When Modeling option is
Liquid operating condition
, the results may not be accurate outside of the subcooled liquid region. When Modeling option isVapor operating condition
, the results may not be accurate outside of the superheated vapor region. To model a valve in a liquid-vapor mixture, set Modeling option toLiquid operating condition
.
Ports
Conserving
Input
Parameters
References
[1] ISO 6358-3. "Pneumatic fluid power – Determination of flow-rate characteristics of components using compressible fluids – Part 3: Method for calculating steady-state flow rate characteristics of systems". 2014.
[2] IEC 60534-2-3. "Industrial-process control valves – Part 2-3: Flow capacity – Test procedures". 2015.
[3] ANSI/ISA-75.01.01. "Industrial-Process Control Valves – Part 2-1: Flow capacity – Sizing equations for fluid flow underinstalled conditions". 2012.
[4] P. Beater. Pneumatic Drives. Springer-Verlag Berlin Heidelberg. 2007.