Main Content

Ball Valve (IL)

Ball valve in an isothermal liquid network

  • Library:
  • Simscape / Fluids / Isothermal Liquid / Valves & Orifices / Flow Control Valves

Description

The Ball Valve (IL) block represents a ball valve in an isothermal liquid network. A ball valve consists of a ball with a bore that can pivot inside of a valve body. When the valve is open, the bore fully overlaps with the valve body port. As the valve shuts, the ball rotates and reduces the amount of overlap, thereby reducing the effective area of the orifice. Ball valves are common for flow isolation purposes because they can securely shut off flow for many cycles. Ball valves are less common in applications where precise throttling is necessary.

You can parameterize the block analytically or by using tabulated data. When you set Ball valve parameterization to Area of overlapping circles, the block considers the area of the overlap between the valve port and the ball bore as the opening area such that

Aopen=sin(φ)Rbore2[cos1(λbore)λbore1λbore]+Rport2[cos1(λport)λport1λport]λbore=Rbore2Rport2+l22Rborelλport=Rport2Rbore2+l22Rportl

where:

  • Rport and Rbore are the radii of the valve port and the ball bore, respectively.

  • l is the displacement of the bore center from the valve port center.

  • φ is the rotation of the ball valve given by the physical signal S. The valve is fully shut at 0 rad and fully open at π/2 rad.

Mass Flow Rate

The block calculates flow through the valve using the pressure-area relationship for orifices such that

m˙=CdA2ρ¯Δp(Δp2+Δpcrit2)14,

where:

  • Cd is the discharge coefficient.

  • ρ¯ is the average fluid density.

  • A is the area open to flow, where A = Aopen + Aleak, and Aleak is the Leakage area parameter.

  • Δpcrit is the critical pressure differential associated with the critical Reynolds number, Recrit.

The block calculates Δpcrit as

Δpcrit=πρ¯8A(vRecritCd)2.

When you set Flow coefficient parameterization to Cd coefficient and area, you can specify Cd using the Discharge coefficient (Cd) parameter. When you set Flow coefficient parameterization to Cv coefficient (USCS), the block calculates Cd as

Cd=CvAρwater,60°F2ΔpCv,

where Cv is the Maximum valve flow coefficient (Cv) parameter. When you set Flow coefficient parameterization to Kv coefficient (SI), the block uses

Cd=KvAρwater,15°C2ΔpKv,

where Kv is the Maximum valve flow factor (Kv) parameter. In either equation, ΔpCv is 1 psi and ΔpKv is 1 bar.

Ports

Input

expand all

Physical signal port associated with the position of the valve, in rad. A value of 0 represents a fully shut valve and a value of π/2 represents a fully open valve.

Conserving

expand all

Isothermal liquid conserving port associated with valve port A.

Isothermal liquid conserving port associated with valve port B.

Parameters

expand all

Option to parameterize the block using the method of area of overlapping circles or to use tabulated data.

Whether to parameterize the flow using Kv, Cv, or Cd. The block uses these coefficient definitions:

  • Kv is the flow capacity of water through the fully open valve at 15℃ with a pressure drop of 1 bar, in m3/h.

  • Cv is the flow capacity of water through the fully open valve at 60℉ with a pressure drop of 1 psi, in gpm.

  • Cd is the unitless discharge coefficient that defines the efficiency of the valve.

Maximum value of the valve flow coefficient. This value should correspond to the fully open position.

Dependencies

To enable this parameter, set Ball valve parameterization to Area of overlapping circles and Flow coefficient parameterization to Cv coefficient (USCS).

Maximum value of the valve flow factor. This value should correspond to the fully open position.

Dependencies

To enable this parameter, set Ball valve parameterization to Area of overlapping circles and Flow coefficient parameterization to Kv coefficient (SI).

Discharge coefficient of the valve. This value is a correction factor that accounts for losses in the theoretical flow.

Dependencies

To enable this parameter, set Flow coefficient parameterization to Cd coefficient and area.

Cross-sectional area of the valve ports. The valve ports are the paths in the valve body where the flow meets the ball bore.

Dependencies

To enable this parameter, set Ball valve parameterization to Area of overlapping circles.

Cross-sectional area of the bore in the valve ball.

Dependencies

To enable this parameter, set Ball valve parameterization to Area of overlapping circles.

Valve flow coefficient for a given ball rotation. Each element corresponds one-to-one with the Ball rotation vector parameter. The first element corresponds to the valve leakage and must be nonzero.

Dependencies

To enable this parameter, set Ball valve parameterization to Tabulated data and Flow coefficient parameterization to Cv coefficient (USCS).

Valve flow factor for a given ball rotation. Each element corresponds one-to-one with the Ball rotation vector parameter. The first element corresponds to the valve leakage and must be nonzero.

Dependencies

To enable this parameter, set Ball valve parameterization to Tabulated data and Flow coefficient parameterization to Kv coefficient (SI).

Flow area for a given ball rotation. Each element corresponds one-to-one with the Ball rotation vector parameter. The first element corresponds to the valve leakage and must be nonzero.

Dependencies

To enable this parameter, set Ball valve parameterization to Tabulated data and Flow coefficient parameterization to Cd coefficient and area.

Ball rotation for a given flow coefficient or area. The elements is this vector must align one-to-one with the elements in either the Valve flow coefficient (Cv) vector parameter, the Valve flow factor (Kv) vector parameter, or the Area vector parameter.

Dependencies

To enable this parameter, set Ball valve parameterization to Tabulated data.

Sum of all gaps when the valve is in the fully shut position. The block saturates any area smaller than this value to the specified leakage area. This value contributes to numerical stability by maintaining continuity in the flow.

Dependencies

To enable this parameter, set Ball valve parameterization to Area of overlapping circles.

Upper Reynolds number limit for laminar flow through the valve.

Extended Capabilities

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

Version History

Introduced in R2022b