# Pilot-Operated Check Valve (TL)

Check valve with control port to enable flow in reverse direction

**Library:**Simscape / Fluids / Thermal Liquid / Valves & Orifices / Directional Control Valves

## Description

The Pilot-Operated Check Valve (TL) block models a check valve with an override mechanism to allow for backflow when activated. (A check valve in turn is an orifice with a unidirectional opening mechanism installed to prevent just that backflow.)

The override mechanism adds a third port—the *pilot*—to the valve.
During normal operation, the pilot port is inactive and the valve behaves as any other
check valve. Its orifice is then open only when the pressure gradient across it drops
from inlet to outlet. Backflow, which requires the reverse pressure gradient, cannot
occur. This mode protects components upstream of the valve against pressure surges,
temperature spikes, and (in real systems) chemical contamination arising from points
downstream.

When backflow is desired, the pilot port is pressurized and the control element of the valve—often a ball or piston—is forced off its seat. The valve is then open to flow in both directions, with a reverse pressure drop (aimed from outlet to inlet) sufficing to drive the flow upstream. (The seat, which lies in the path of the flow, determines if the valve is open. When it is covered—by a ball, piston, or other control element—the flow is cut off and the valve is closed.)

The valve opens by degrees, beginning at its cracking pressure, and continuing to the
end of its pressure regulation range. The cracking pressure gives the initial
resistance, due to friction or spring forces, that the valve must overcome to open by a
sliver (or to *crack* open). Below this threshold, the valve is
closed and only leakage flow can pass. Past the end of the pressure regulation range,
the valve is fully open and the flow at a maximum (determined by the instantaneous
pressure conditions).

The cracking pressure assumes an important role in check valves installed upside down. There, the weight of the opening element—such as a ball or piston—and the elevation head of the fluid can act to open the valve. (The elevation head can arise in a model from a pipe upstream of the inlet when it is vertical or given a slant.) A sufficient cracking pressure keeps the valve from opening inadvertently even if placed at a disadvantageous angle.

### Control Pressure

The opening of the valve depends both on the pilot pressure and on the pressure drop from inlet to outlet:

$${p}_{\text{Ctl}}={k}_{\text{X}}{p}_{\text{X}}+{p}_{\text{A}}-{p}_{\text{B}},$$

where *p* is gauge pressure and
*k* is the pilot ratio—the proportion of the pilot opening area
(*S*_{X}) to the valve opening area
(*S*_{R}). The subscript
`X`

denotes a pilot value and the subscripts
`A`

and `B`

the inlet and outlet values,
respectively. The port pressures are variables determined (against absolute zero)
during simulation.

The pilot pressure can be a differential value relative to the inlet (port
**A**) or a gauge value (relative to the environment). You can
select an appropriate setting—**Pressure differential (pX - pA)**
or **Pressure at port X**—using the **Pressure control
specification** dropdown list. If **Pressure at port
X** is selected:

$${p}_{\text{X}}={p}_{\text{X,Abs}}-{p}_{\text{Atm}},$$

where the subscript `Atm`

denotes the
atmospheric value (obtained from the Thermal Liquid Settings (TL)
or Thermal Liquid
Properties (TL) block of the model). The subscript
`X,Abs`

denotes the absolute value at the pilot port. If
**Pressure differential (pX - pA)** is selected:

$${p}_{\text{X}}={p}_{\text{X,Abs}}-{p}_{\text{A,Abs}}$$

where the subscript `A,Abs`

similarly denotes
the absolute value at the inlet of the valve (port **A**). The
pilot pressure differential is constrained to be greater than or equal to zero—if
its calculated value should be negative, zero is assumed in the control pressure
calculation.

### Control Pressure Overshoot

The degree to which the control pressure exceeds the cracking pressure determines how much the valve will open. The pressure overshoot is expressed here as a fraction of the (width of the) pressure regulation range:

$$\widehat{p}=\frac{{p}_{\text{Ctl}}-{P}_{\text{Crk}}}{{P}_{\text{Max}}-{P}_{\text{Crk}}}.$$

The control pressure, *p _{Ctl}*, cracking pressure,

*p*, and maximum opening pressure,

_{Crk}*P*

_{Max}, correspond to the control pressure specification chosen:

`Pressure differential`

or
`Pressure at port A`

.The fraction—technically, the overshoot *normalized*—is valued
at `0`

in the fully closed valve and `1`

in the
fully open valve. If the calculation should return a value outside of these bounds,
the nearest of the two is used instead. (In other words, the fraction
*saturates* at `0`

and
`1`

.)

### Opening Parameterization

The linear parameterization of the valve area is

$${A}_{valve}=\widehat{p}\left({A}_{\mathrm{max}}-{A}_{leak}\right)+{A}_{leak},$$

where the normalized pressure, $$\widehat{p}$$, is

$$\widehat{p}=\frac{{p}_{control}-{p}_{cracking}}{{p}_{\mathrm{max}}-{p}_{cracking}}.$$

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 control pressure between
*p _{cracking}* and

*p*. For more information, see Numerical Smoothing.

_{max}### Opening Area

The valve area opens linearly with the smoothed control pressure,

$$S=\left({S}_{\text{Max}}-{S}_{\text{Min}}\right)\widehat{p}+{S}_{\text{Min}},$$

where *S _{Max}* is the
maximum valve area and

*S*is the value of the

_{Min}**Leakage area**parameter.

### Momentum Balance

The causes of those pressure losses incurred in the passages of the valve are ignored in the block. Whatever their natures—sudden area changes, flow passage contortions—only their cumulative effect is considered during simulation. This effect is captured in the block by the discharge coefficient, a measure of the mass flow rate through the valve relative to the theoretical value that it would have in an ideal valve. Expressing the momentum balance in the valve in terms of the pressure drop induced in the flow:

$${p}_{\text{A}}-{p}_{\text{B}}=\frac{{\dot{m}}_{\text{Avg}}\sqrt{{\dot{m}}_{\text{Avg}}^{2}+{\dot{m}}_{\text{Crit}}^{2}}}{2{\rho}_{\text{Avg}}{C}_{\text{D}}{S}^{*2}}\left[1-{\left(\frac{{S}^{*}}{S}\right)}^{2}\right]{\xi}_{\text{p}},$$

where *ρ* is density,
*C*_{D} is the discharge coefficient, and
*ξ*_{p} is the pressure drop ratio—a
measure of the extent to which the pressure recovery at the outlet contributes to
the total pressure drop of the valve. The subscript Avg denotes an average of the
values at the thermal liquid ports. The critical mass flow rate, $${\dot{m}}_{\text{Crit}}$$, is calculated from the critical Reynolds number—that at which the
flow in the valve is assumed to transition from laminar to turbulent:

$${\dot{m}}_{\text{Crit}}={\text{Re}}_{\text{Crit}}{\mu}_{\text{Avg}}\sqrt{\frac{\pi}{4}S},$$

where *μ* denotes dynamic viscosity. The
pressure drop ratio is calculated as:

$${\xi}_{\text{p}}=\frac{\sqrt{1-{\left(\frac{{S}^{*}}{S}\right)}^{2}\left(1-{C}_{\text{D}}^{2}\right)}-{C}_{\text{D}}\frac{{S}^{*}}{S}}{\sqrt{1-{\left(\frac{{S}^{*}}{S}\right)}^{2}\left(1-{C}_{\text{D}}^{2}\right)}+{C}_{\text{D}}\frac{{S}^{*}}{S}}.$$

### Mass Balance

The volume of fluid inside the valve, and therefore the mass of the same, is assumed to be very small and it is, for modeling purposes, ignored. As a result, no amount of fluid can accumulate there. By the principle of conservation of mass, the mass flow rate into the valve through one port must therefore equal that out of the valve through the other port:

$${\dot{m}}_{A}+{\dot{m}}_{B}=0,$$

where $$\dot{m}$$ is defined as the mass flow rate *into* the
valve through port **A** or **B**.

### Energy Balance

The valve is modeled as 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. With these assumptions, energy can flow by advection
only, through ports **A** and **B**. By the
principle of conservation of energy, the sum of the port energy flows must then
always equal zero:

$${\varphi}_{\text{A}}+{\varphi}_{\text{B}}=0,$$

where *ϕ* is defined as the energy flow rate
*into* the valve through one of the ports
(**A** or **B**).

## Ports

### Conserving

## Parameters

## Extended Capabilities

## Version History

**Introduced in R2018b**