Check Valve (IL)
Check valve in an isothermal system
- Library:
Simscape / Fluids / Isothermal Liquid / Valves & Orifices / Directional Control Valves
Description
The Check Valve (IL) block models the flow through a valve from port A to port B, and restricts flow from traveling from port B to port A. When the pressure at port B meets or exceeds the set pressure threshold, the valve begins to open.
You can model valve opening either linearly or by tabulated data, and you can enable
faulty behavior by setting Enable faults to
On
.
Area Parameterization
When Opening parameterization is set to Linear -
Area vs. pressure
, the valve open area is linearly related to the
opening pressure differential.
There are two options for valve control:
When Opening pressure differential is set to
Pressure differential
, the control pressure is the pressure differential between ports A and B. The valve begins to open when Pcontrol meets or exceeds the Cracking pressure differential.When Opening pressure differential is set to
Pressure at port A
, the control pressure is the pressure difference between port A and atmospheric pressure. When Pcontrol meets or exceeds the Cracking pressure (gauge), the valve begins to open.
The linear parameterization of the valve area is
where the normalized pressure, , is
When you set Opening parameterization to
Tabulated data - Volumetric flow rate vs.
pressure
, Avalve is
the linearly interpolated value of the Opening area vector
parameter versus Pressure differential vector parameter
curve for a simulated pressure differential.
Mass 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.
Tabulated Volumetric Flow Rate Parameterization
When Opening parameterization is set to
Tabulated data - Volumetric flow rate vs. pressure
,
the valve opens according to the user-provided tabulated data of volumetric flow
rate and pressure differential between ports A and
B.
Within the limits of the tabulated data, the mass flow rate is calculated as:
where:
is the volumetric flow rate.
is the average fluid density.
When the simulation pressure falls below the first element of the Pressure drop vector, ΔpTLU(1), the mass flow rate is calculated as:
where VTLU(1) is the first element of the Volumetric flow rate vector.
When the simulation pressure rises above the last element of the Pressure drop vector, ΔpTLU(end), the mass flow rate is calculated as:
where VTLU(end) is the last element of the Volumetric flow rate vector.
Opening Dynamics
The linear parameterization supports valve opening and closing dynamics. If opening dynamics are modeled, a lag is introduced to the flow response to the modeled control pressure. pcontrol becomes the dynamic control pressure, pdyn; otherwise, pcontrol is the steady-state pressure. The instantaneous change in dynamic control pressure is calculated based on the Opening time constant, τ:
By default, Opening dynamics is set to
Off
.
Numerically-Smoothed Pressure
At the extremes of the control pressure range, you can maintain numerical robustness in your simulation by adjusting the block Smoothing factor. A smoothing function is applied to every calculated control pressure, but primarily influences the simulation at the extremes of this range.
The Smoothing factor, s, is applied to the normalized pressure, :
and the smoothed pressure is:
Faulty Behavior
When faults are enabled, the valve open area becomes stuck at a specified value in response to one or both of these triggers:
Simulation time — Faulting occurs at a specified time.
Simulation behavior — Faulting occurs in response to an external trigger. This exposes port T.
Three fault options are available in the Opening area when faulted parameter:
Closed
Open
Maintain at last value
Once triggered, the valve remains at the faulted area for the rest of the simulation. You can set the block to issue a fault report as a warning or error message in the Simulink Diagnostic Viewer with the Reporting when fault occurs parameter.
In the linear parameterization, the fault options are defined by the valve area:
Closed
— The valve area freezes at the Leakage area.Open
— The valve area freezes at the Maximum opening area.Maintain at last value
— The valve freezes at the open area when the trigger occurs.
In the tabulated parameterization, the fault options are defined by the mass flow rate through the valve:
Closed
— The valve freezes at the mass flow rate associated with the first elements of the Volumetric flow rate vector and the Pressure drop vector:Open
— The valve freezes at the mass flow rate associated with the last elements of the Volumetric flow rate vector and the Pressure drop vector:Maintain at last value
— The valve freezes at the mass flow rate and pressure differential when the trigger occurs:
where
Predefined Parameterization
Pre-parameterized manufacturer data is available for this block. This data allows you to model a specific supplier component.
To load a predefined parameterization,
Click the "Select a predefined parameterization" hyperlink in the property inspector description.
Select a part from the drop-down menu and click Update block with selected part.
If you change any parameter settings after loading a parameterization, you can check your changes by clicking Compare block settings with selected part. Any difference in settings between the block and pre-defined parameterization will display in the MATLAB command window.
Note
Predefined block parameterizations use available data sources to supply parameter values. The block substitutes engineering judgement and simplifying assumptions for missing data. As a result, expect some deviation between simulated and actual physical behavior. To ensure accuracy, validate the simulated behavior against experimental data and refine your component models as necessary.
To learn more, see List of Pre-Parameterized Components.