Orifice (G)
Flow restriction in a gas network
Libraries:
Simscape /
Fluids /
Gas /
Valves & Orifices
Description
The Orifice (G) block represents the pressure loss incurred in a gas network due to a purely resistive element of fixed or variable size, such as a flow restriction, orifice, or valve. You can use orifices to measure and report gas flow characteristics.
Orifice Parameterizations
The block behavior depends on the Orifice parametrization parameter:
Cv flow coefficient
— The flow coefficient Cv determines the block parameterization. The flow coefficient measures the ease with which a gas can flow when driven by a certain pressure differential.Kv flow coefficient
— The flow coefficient Kv, where , determines the block parameterization. The flow coefficient measures the ease with which a gas can flow when driven by a certain pressure differential.Sonic conductance
— The sonic conductance of the resistive element at steady state determines the block parameterization. The sonic conductance measures the ease with which a gas can flow when choked, which is a condition in which the flow velocity is at the local speed of sound. Choking occurs when the ratio between downstream and upstream pressures reaches a critical value known as the critical pressure ratio.Orifice area
— The size of the flow restriction determines the block parametrization.
Opening Characteristics
When you set Orifice type to
Variable
, the block uses the input at port L to control certain parameters. This input is the
control signal and it is associated with stroke or lift percent. The control signal
ranges in value from 0
to 1
. If you specify a
lesser or greater value, the block saturates the value to the nearest of the two
limits.
The conversion from a control signal to the chosen measure of flow capacity
depends on the Opening characteristic parameterization. Flow
is maximally restricted when the control signal is 0
and
minimally restricted when the control signal is 1
. In between
these values, the flow rate achieved within the resistive element depends on whether
the opening parameterization is linear or based on tabulated data:
Linear
— The measure of flow capacity is proportional to the control signal at port L. The two values vary in tandem until the control signal either drops below0
or rises above1
. As the control signal rises from0
to1
, the measure of flow capacity scales from the specified minimum to the specified maximum.When you set Orifice parameterization to
Sonic conductance
, the block treats the critical pressure ratio and subsonic index as constants that are independent of control signal. When you set Orifice parameterization toCv flow coefficient
orKv flow coefficient
, the block treats the parameter xT pressure differential ratio factor at choked flow as a constant independent of the control signal.Tabulated
— The block calculates the measure of flow capacity as a function of the control signal at port L. This function is based on a one-way lookup table. The tabulated data must be specified so the measure of flow capacity increases monotonically with the control signal.When you set Orifice parameterization to
Sonic conductance
, the block treats the critical pressure ratio as a function of the control signal and treats the subsonic index as a constant.. When you set Orifice parameterization toCv flow coefficient
orKv flow coefficient
, the block treats the parameter xT pressure differential ratio factor at choked flow as a function of the control signal.
Numerical Smoothing
When the Orifice type parameter is
Variable
, the Opening
characteristic parameter is Linear
, and
the Smoothing factor parameter is nonzero, the block applies
numerical smoothing to the control signal from port L. Enabling
smoothing helps maintain numerical robustness in your simulation.
For more information, see Numerical Smoothing.
Momentum Balance
The block equations depend on the Orifice parametrization
parameter. When you set Orifice parametrization to
Cv flow coefficient parameterization
, the mass
flow rate, , is
where:
Cv is the flow coefficient.
N6 is a constant equal to 27.3 for mass flow rate in kg/hr, pressure in bar, and density in kg/m3.
Y is the expansion factor.
pin is the inlet pressure.
pout is the outlet pressure.
ρin is the inlet density.
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 orifice becomes choked and the block switches to the equation
When you set Orifice parametrization to Kv
flow coefficient parameterization
, the block uses these same
equations, but replaces Cv with
Kv by using the relation . For more information on the mass flow equations when the
Orifice parametrization parameter is Kv
flow coefficient parameterization
or Cv flow
coefficient parameterization
, see [2][3].
When you set Orifice parametrization to
Sonic conductance parameterization
, the mass flow
rate, , is
where:
C is the sonic conductance.
Bcrit is the critical pressure ratio.
m is the value of the Subsonic index parameter.
Tref is the value of the ISO reference temperature parameter.
ρref is the value of the ISO reference density parameter.
Tin is the inlet temperature.
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 critical pressure ratio, Bcrit, the orifice becomes choked and the block switches to the equation
For more information on the mass flow equations when the Orifice
parametrization parameter is Sonic conductance
parameterization
, see [1].
When you set Orifice parametrization to
Orifice area parameterization
, the mass flow
rate, , is
where:
Sr is the orifice or valve area.
S is the value of the Cross-sectional area at ports A and B parameter.
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 orifice becomes choked and the block switches to the equation
For more information on the mass flow equations when the Orifice
parametrization parameter is Orifice area
parameterization
, see [4].
Mass Balance
The block assumes the volume and mass of fluid inside the resistive element is very small and ignores these values. As a result, no amount of fluid can accumulate in the resistive element. By the principle of conservation of mass, the mass flow rate into the valve through one port equals that out of the valve through the other port
where is defined as the mass flow rate into the valve through the port indicated by the A or B subscript.
Energy Balance
The resistive element of the block is an adiabatic component. No heat exchange can occur between the fluid and the wall that surrounds it. No work is done on or by the fluid as it traverses from inlet to outlet. Energy can flow only by advection, through ports A and B. By the principle of conservation of energy, the sum of the port energy flows is always equal to zero
where ϕ is the energy flow rate into the valve through ports A or B.
Assumptions and Limitations
The
Sonic conductance
setting of the Orifice parameterization parameter is for pneumatic applications. If you use this setting for gases other than air, you may need to scale the sonic conductance by the square root of the specific gravity.The equation for the
Orifice area
parameterization is less accurate for gases that are far from ideal.This block does not model supersonic flow.
Examples
Ports
Input
Conserving
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.