Orifice (2P)
Libraries:
Simscape /
Fluids /
Two-Phase Fluid /
Valves & Orifices
Description
The Orifice (2P) block models pressure loss due to a constant or variable area orifice
in a two-phase fluid network. The orifice can be constant or variable. When
Orifice type is set to Variable
, the
physical signal at port S sets the position of the control member,
which opens and closes the orifice.
Fluid properties inside the valve are calculated 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.
A number of block parameters are based on nominal operating conditions, which correspond to the orifice rated performance, such as a specification on a manufacturer datasheet.
Constant Area
When you set Orifice type to
Constant
, the orifice has a constant area. The mass
flow rate through the orifice is:
where:
Δp is the pressure drop over the orifice, pA ̶ pB.
Δplam is the pressure transition threshold between laminar and turbulent flow, which is calculated from the Laminar flow pressure ratio, Blam:
is the Nominal mass flow rate.
Δpnom is the Nominal pressure drop rate.
vnom is the nominal inlet specific volume. This value is determined from the fluid properties tabulated data based on the Nominal inlet condition specification parameter.
vin is the inlet specific volume.
Variable Area
When you set Orifice type to
Variable
, the block is configured for a variable
opening, which is set by the control member position at S. The
block calculates the mass flow rate through the variable-area orifice as:
where λ is the orifice opening fraction.
The orifice opening, which is expressed as a fraction of the total orifice open area, is determined by the input signal at S, the Control member travel between closed and open orifice parameter, ΔS, and a leakage value that improves numerical stability when the orifice is closed:
where:
ε is the Opening orientation. This value is
+1
when the setting isPositive control member displacement opens orifice
and-1
when the setting isNegative control member displacement opens orifice
.fleak is the Closed orifice leakage as a fraction of nominal flow.
Smin is the Control member position at closed orifice.
Fluid Specific Volume Dynamics
When the fluid at the orifice 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 Inlet phase change time constant.
If the inlet fluid is a subcooled liquid or superheated vapor, xdyn is equal to xin.
Mass Balance
Mass is conserved in the orifice:
where:
is the mass flow rate at port A.
is the mass flow rate at port B.
Energy Balance
Energy is conserved in the orifice:
where:
ΦA is the energy flow at port A.
ΦB is the energy flow at port B.
Assumptions and Limitations
The block does not model pressure recovery downstream of the valve.
There is no heat exchange between the valve and the environment.
The block does not model choked flow.
Ports
Conserving
Input
Parameters
Extended Capabilities
Version History
Introduced in R2021a