2-Way Directional Valve (IL)
Libraries:
Simscape /
Fluids /
Isothermal Liquid /
Valves & Orifices /
Directional Control Valves
Description
The 2-Way Directional Valve (IL) block represents a two-way valve, such as a shut-off valve. Use this block to simulate a flow-reducing control element that responds to pressures in another part of the system.
The block uses a variable orifice to control the flow between ports A and B. The physical signal at port S triggers the spool motion to open or shut the valve. For more details about how the block calculates flow rate through a variable orifice, see Orifice (IL).
Orifice Parameterizations
You can parameterize the valve opening linearly or by using tabulated data.
When you set Orifice parameterization to
Linear - Area vs. spool travel
, the opening area
is a linear function of the spool travel distance.
where
Aorifice is the opening area.
ΔS is the spool travel distance input at port S.
ΔSmax is the value of the Spool travel between closed and open orifice parameter.
ALeak is the value of the Leakage area parameter.
Amax is the value of the Maximum orifice area parameter.
Note the linear scaling from ALeak to Amax in the figure.
When the valve is in a near-open or near-closed position in the linear parameterization, 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. For more information, see Numerical Smoothing.
When you set Orifice parameterization to
Tabulated data - Area vs. spool travel
, the block
uses the Spool travel vector and Orifice area
vector parameters to define the relationship between
Aorifice and
ΔS by interpolation.
Aleak and
Amax are the first and last
parameters of the Orifice area vector parameter, respectively.
When you set Orifice parameterization to
Tabulated data - Volumetric flow rate vs. spool travel and
pressure drop
, the block uses the Volumetric flow
rate table, q(ds,dp), Pressure drop vector,
dp, and Spool travel vector, ds parameters
to define the volumetric flow rate,
q(ΔS,p).
Visualize Orifice Openings
To visualize the spool offsets and displacement, right-click the block and select Fluids > Plot Valve Characteristics. The plot shows the valve open area or volumetric flow rate as a function of spool position.
To update the data after changing the block parameters, click Reload Data in the figure window.
This figure shows the valve configuration with:
Spool position at maximum orifice area set to
2e-3
m.Spool travel between closed and open orifice set to
6e-3
m.
All other parameters are at the default values.
Faults
To model a fault, in the Faults section, click the Add fault hyperlink next to the fault that you want to model. Use the fault parameters to specify the fault properties. For more information about fault modeling, see Introduction to Simscape Faults.
You can choose the type of fault by using the Spool position when faulted parameter:
Negative
— The block freezes the valve at its smallest value. The table shows which value the block uses depending on the setting of the Orifice parameterization parameter.Orifice parameterization Parameter Setting Freeze Position Value Linear - Area vs. spool travel
Leakage area parameter Tabulated data - Area vs. spool travel
First element of the Orifice area vector parameter Tabulated data - Volumetric flow rate vs. spool travel and pressure drop
First row of the Volumetric flow rate table, q(ds,dp) parameter Positive
— The valve freezes at its largest value. The table shows which value the block uses depending on the setting of the Orifice parameterization parameter.Orifice parameterization Parameter Setting Freeze Position Value Linear - Area vs. spool travel
Maximum opening area parameter Tabulated data - Area vs. spool travel
Last element of the Orifice area vector parameter Tabulated data - Volumetric flow rate vs. spool travel and pressure drop
Last row of the Volumetric flow rate table, q(ds,dp) parameter Maintain last value
— The valve freezes at its last value. The table shows which value the block uses depending on the setting of the Orifice parameterization parameter.Orifice parameterization Parameter Setting Freeze Position Value Linear - Area vs. spool travel
The valve open area when the trigger occurred Tabulated data - Area vs. spool travel
The valve open area when the trigger occurred Tabulated data - Volumetric flow rate vs. spool travel and pressure drop
Current position When you set Orifice parameterization to
Tabulated data - Volumetric flow rate vs. spool travel and pressure drop
, the volumetric flow rate continues to change according to pressure changes in the valve after the valve freezes.
Due to numerical smoothing at the extremes of the valve area, in the linear parameterization, the minimum area that he block uses is larger than the Leakage area, and the maximum is smaller than the Maximum orifice area, in proportion to the Smoothing factor value. For more information, see Numerical Smoothing.