Main Content

Pressure Compensator Valve (MA)

Pressure compensator valve in a moist air network

Since R2025a

Libraries:
Simscape / Fluids / Moist Air / Valves & Orifices / Pressure Control Valves

Description

The Pressure Compensator Valve (MA) block represents a pressure compensator in an moist air network, such as a pressure relief valve or pressure-reducing valve. Use this valve to maintain the pressure at the valve based on signals from another part of the system. For more information about the valve parameterizations and block calculations, see the Orifice (MA) block.

The pressure differential between ports X and Y is the control pressure, Pcontrol. When this value meets or exceeds the set pressure, the valve area opens or closes depending on the Valve specification parameter. The pressure regulation range begins at the set pressure, Pset. You can choose between constant and controlled set pressure regulation. A physical signal at port Ps provides a varying set pressure.

Pressure Control

The block regulates pressure when Pcontrol exceeds Pset. The block continues to regulate the pressure up to Pmax, the sum of Pset and the pressure regulation range. The block supports two modes of regulation:

  • When you set Set pressure control to Controlled and connect a pressure signal to port Ps, the block keeps the pressure regulation range constant. The valve regulates pressure when Pcontrol is greater than the value of the signal at port Ps and less than Pmax.

  • When you set Set pressure control to Constant, the Set pressure differential parameter defines a constant set pressure.

When you set Opening characteristic to Linear, the measure of flow capacity changes linearly between Pset and Pmax.

When you set Opening characteristic to Tabulated, the measure of flow capacity changes with respect to the Opening pressure differential vector parameter.

Opening Dynamics

When you set Opening dynamics to On, the block introduces a control pressure lag and replaces pcontrol with the dynamic control pressure, pdyn. The block calculates the dynamic control pressure based on the Opening time constant parameter, τ

p˙dyn=pcontrolpdynτ.

By default, the block does not model Opening dynamics. For the linear parameterization, a nonzero value for the Smoothing factor parameter provides additional numerical stability when the orifice is in near-closed or near-open position.

The block calculates the steady-state dynamics according to the Opening characteristic parameter, and are based on the control pressure, pcontrol.

Momentum Balance

The block equations depend on the Valve parameterization parameter. When you set Valve parameterization to Cv flow coefficient, the mass flow rate, m˙, is

m˙=CvSopenSMaxN6Y(pinpout)ρin,

where:

  • Cv is the value of the Maximum Cv flow coefficient parameter.

  • Sopen is the valve opening area.

  • SMax is the maximum valve area when the valve is fully open.

  • 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

Y=1pinpout3pinFγxT,

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, pout/pin, rises above the value of the Laminar flow pressure ratio parameter, Blam,

m˙=CvSopenSMaxN6Ylamρavgpavg(1Blam)(pinpout),

where:

Ylam=11Blam3FγxT.

When the pressure ratio, pout/pin, falls below 1FγxT, the orifice becomes choked and the block switches to the equation

m˙=23CvSopenSMaxN6FγxTpinρin.

When you set Valve parameterization to Kv flow coefficient, the block uses these same equations, but replaces Cv with Kv by using the relation Kv=0.865Cv. For more information on the mass flow equations when the Valve parameterization parameter is Kv flow coefficient or Cv flow coefficient, [2][3].

When you set Valve parameterization to Sonic conductance, the mass flow rate, m˙, is

m˙=CSopenSMaxρrefpinTrefTin[1(poutpinBcrit1Bcrit)2]m,

where:

  • C is the value of the Maximum sonic conductance parameter.

  • 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, pout/pin, rises above the value of the Laminar flow pressure ratio parameter Blam,

m˙=CSopenSMaxρrefTrefTavg[1(BlamBcrit1Bcrit)2]m(pinpout1Blam).

When the pressure ratio, pout/pin, falls below the critical pressure ratio, Bcrit, the orifice becomes choked and the block switches to the equation

m˙=CSopenSMaxρrefpinTrefTin.

The Sonic conductance setting of the Valve parameterization parameter is for pneumatic applications. If you use this setting for moist air with high levels of trace gasses or are modeling a fluid other than air, you may need to scale the sonic conductance by the square root of the mixture specific gravity.

For more information on the mass flow equations when the Valve parameterization parameter is Sonic conductance, see [1].

When you set Valve parameterization to Orifice area, the mass flow rate, m˙, is

m˙=CdSopen2γγ1pinρin(poutpin)2γ[1(poutpin)γ1γ1(SopenS)2(poutpin)2γ],

where:

  • Sopen is the valve opening 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, pout/pin, rises above the value of the Laminar flow pressure ratio parameter, Blam,

m˙=CdSopen2γγ1pavg2γγρavgBlam2γ[1Blamγ1γ1(SopenS)2Blam2γ](pinγ1γpoutγ1γ1Blamγ1γ).

When the pressure ratio, pout/pin, falls below(2γ+1)γγ1 , the orifice becomes choked and the block switches to the equation

m˙=CdSopen2γγ+1pinρin1(γ+12)2γ1(SopenS)2.

For more information on the mass flow equations when the Valve parameterization parameter is Orifice area, see [4].

Mass Balance

The block conserves mass through the valve

m˙A+m˙B=0m˙wA+m˙wB=0m˙gA+m˙gB=0m˙dA+m˙dB=0

where is the mass flow rate and the subscript w denotes water vapor, the subscript g denotes trace gas, and the subscript d denotes water droplets.

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

ϕA+ϕB=0,

where ϕ is the energy flow rate into the valve through ports A or B.

Ports

Conserving

expand all

Moist air conserving port associated with the valve inlet.

Moist air conserving port associated with the valve outlet.

Moist air conserving port associated with sensing the pressure at point X, Px.

Moist air conserving port associated with sensing the pressure at point Y, Py.

Input

expand all

Pressure differential for controlled valve operation, in Pa.

Dependencies

To enable this port, set Set pressure control to Controlled.

Parameters

expand all

Method the block uses to calculate the mass flow rate from the pressure difference across the valve or the pressure difference from the mass flow rate.

Method by which to parameterize the chosen measure of flow capacity.

Normal operating condition of the pressure compensator valve. For a reducing valve, choose Normally open valve. For a relief valve, choose Normally closed.

Valve operation method. When you set this parameter to:

  • Controlled and connect a pressure signal to port Ps, the block keeps the pressure regulation range constant. The valve regulates pressure when Pcontrol is greater than the value of the signal at port Ps and less than Pmax.

  • Constant, the Set pressure differential parameter defines a constant set pressure.

Magnitude of the pressure differential that triggers pressure compensation.

Dependencies

To enable this parameter, set Set pressure control to Constant.

Operational pressure range of the valve. The pressure regulation range defines the difference between the Set pressure differential parameter and the maximum valve operating pressure.

Dependencies

To enable this parameter, set Opening characteristic to Linear.

Vector of pressure differential values for the tabulated parameterization of the opening area. The pressures must be in ascending order.

Dependencies

To enable this parameter, set Opening characteristic to Tabulated.

Value of the Cv flow coefficient when the restriction area available for flow is at a maximum. This parameter measures the ease with which the vapor traverses the resistive element when driven by a pressure differential.

Dependencies

To enable this parameter, set Valve parameterization to Cv flow coefficient and Opening characteristic to Linear.

Vector of Cv flow coefficients. Each coefficient corresponds to a value in the Opening pressure (gauge) vector parameter. This parameter measures the ease with which the vapor traverses the resistive element when driven by a pressure differential.

Dependencies

To enable this parameter, set Valve parameterization to Cv flow coefficient and Opening characteristic to Tabulated.

Value of the Kv flow coefficient when the restriction area available for flow is at a maximum. This parameter measures the ease with which the vapor traverses the resistive element when driven by a pressure differential.

Dependencies

To enable this parameter, set Valve parameterization to Kv flow coefficient and Opening characteristic to Linear.

Vector of Kv flow coefficients. Each coefficient corresponds to a value in the Opening pressure (gauge) vector parameter. This parameter measures the ease with which the vapor traverses the resistive element when driven by a pressure differential.

Dependencies

To enable this parameter, set Valve parameterization to Kv flow coefficient and Opening characteristic to Tabulated.

Value of the sonic conductance when the control signal specified at port S is 1 and cross-sectional area available for flow is at a maximum.

Dependencies

To enable this parameter, set Valve parameterization to Sonic conductance and Opening characteristic to Linear.

Pressure ratio at which flow first begins to choke and the flow velocity reaches its maximum, given by the local speed of sound. The pressure ratio is the outlet pressure divided by inlet pressure.

Dependencies

To enable this parameter, set Valve parameterization to Sonic conductance and Opening characteristic to Linear.

Empirical value used to more accurately calculate the mass flow rate in the subsonic flow regime.

Dependencies

To enable this parameter, set Valve parameterization to Sonic conductance.

Temperature at standard reference atmosphere, defined as 293.15 K in ISO 8778.

You only need to adjust the ISO reference parameter values if you are using sonic conductance values that are obtained at difference reference values.

Dependencies

To enable this parameter, set Valve parameterization to Sonic conductance.

Density at standard reference atmosphere, defined as 1.185 kg/m3 in ISO 8778.

You only need to adjust the ISO reference parameter values if you are using sonic conductance values that are obtained at difference reference values.

Dependencies

To enable this parameter, set Valve parameterization to Sonic conductance.

Vector of sonic conductances inside the resistive element. The values in this vector correspond one-to-one with the elements in the Opening pressure (gauge) vector parameter.

Dependencies

To enable this parameter, set Valve parameterization to Sonic conductance and Opening characteristic to Tabulated.

Vector of critical pressure ratios at which the flow first chokes. The critical pressure ratio is the fraction of downstream-to-upstream pressures at which the flow velocity reaches the local speed of sound. The values in this vector correspond one-to-one with the elements in Opening pressure (gauge) vector parameter.

Dependencies

To enable this parameter, set Valve parameterization to Sonic conductance and Opening characteristic to Tabulated.

Ratio between the inlet pressure, pin, and the outlet pressure, pout, defined as (pinpout)/pin where choking first occurs.

Dependencies

To enable this parameter, set Valve parameterization to Cv flow coefficient or Kv flow coefficient.

Maximum valve area when the valve is fully open.

Dependencies

To enable this parameter, set Valve parameterization to Orifice area and Opening characteristic to Linear.

Vector of orifice area values for the tabulated parameterization of the vapor valve area. The values in this vector correspond one-to-one with the elements in the Opening pressure (gauge) vector parameter.

Dependencies

To enable this parameter, set Valve parameterization to Orifice area and Opening characteristic to Tabulated.

Ratio of actual flow rate to ideal flow rate. This parameter accounts for real-world losses that are not captured in the orifice equation.

Dependencies

To enable this parameter, set Valve parameterization to Orifice area.

Ratio of the flow rate of the valve when it is closed to when it is open.

Dependencies

To enable this parameter, set Opening characteristic to Linear.

Continuous smoothing factor that introduces a layer of gradual change to the flow response when the valve is in near-open or near-closed positions. Set this parameter to a nonzero value less than one to increase the stability of your simulation in these regions.

Dependencies

To enable this parameter, set Opening characteristic to Linear.

Ratio of the valve outlet pressure to valve inlet pressure at which the fluid transitions between the laminar and turbulent regimes. The pressure loss corresponds to the mass flow rate linearly in laminar flows and quadratically in turbulent flows.

Area of the ports A and B.

Whether to account for transient effects to the fluid system due to the valve opening. Selecting this parameter approximates the opening conditions by introducing a first-order lag in the flow response.

Time constant by which to compute the lag in the opening dynamics.

Dependencies

To enable this parameter, select Opening dynamics.

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.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2025a