3-way flow control in an isothermal liquid system
Simscape / Fluids / Isothermal Liquid / Valves & Orifices / Flow Control Valves

The Pressure-Compensated 3-Way Flow Control Valve (IL) block models constant-pressure flow control. When the control pressure, pA – pB, meets or exceeds the Set orifice pressure differential, the relief component of the underlying compensator valve opens to maintain the pressure in the block.
The flow control valve opening and closing is controlled by a physical signal received at port S, which determines the area of the underlying orifice block. A positive signal opens the valve. Port R vents liquid to another part of your network.
For pressure-compensated flow control without venting, see the Pressure-Compensated Flow Control Valve (IL) block.
You can choose the valve model with the Orifice parameterization setting:
Linear - area vs. control member position
is an analytical formulation that assumes the valve opening area and the
valve control member are related linearly.
Tabulated data - Area vs. control member
position is a user-supplied data sheet that relates
orifice opening area and the control member position. The block queries
between data points with linear interpolation and uses nearest
extrapolation for points beyond the table boundaries.
Tabulated data - Volumetric flow rate vs. control member
position and pressure drop is a user-supplied data
sheet that relates the control member position, orifice pressure drop,
and orifice volumetric flow rate. The block queries between data points
with linear interpolation and uses a nearest extrapolation for points
beyond the table boundaries.
At the extremes of the orifice area and valve pressure range, you can maintain numerical robustness in your simulation by tuning the block Smoothing factor to a nonzero value less than 1. A smoothing function is applied to all calculated areas and pressures, but primarily influences the simulation at the extremes of these ranges.
The normalized orifice area is calculated as:
where:
Aleak is the Leakage area.
Amax is the cushion Maximum orifice area.
The Smoothing factor, f, is applied to the normalized area:
The smoothed orifice area is:
Similarly, the normalized valve pressure is:
where:
pset is the Set orifice pressure differential.
pmax is the sum of the Set orifice pressure differential and the Pressure compensator valve regulation range.
Smoothing applied to the normalized pressure is:
and the smoothed pressure is:
The Pressure-Compensated 3-Way Flow Control Valve (IL) is constructed from the Pressure Compensator Valve (IL) and Orifice (IL) blocks.
Three-Way Flow Control Valve Schematic

Orifice (IL) | Pressure Compensator Valve (IL) | Pressure-Compensated Flow Control Valve (IL) | Pressure-Reducing 3-Way Valve (IL) | Shuttle Valve (IL)