Main Content

2-Way Directional Valve (TL)

Valve for modulating flow between two thermal liquid nodes

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

  • 2-Way Directional Valve (TL) block

Description

The 2-Way Directional Valve (TL) block models the flow through a directional control valve with two ports (A and B) and one flow path (AB). The path contains a variable orifice, which scales in proportion to the displacement of a control member—often a ball, spool, or diaphragm, associated with the signal at port S. Valves of this type serve as switches by which to modulate flow in a single line, for example to discharge flow from a tank. The valve model is based on the Variable Area Orifice (TL) block and it shares the equations described for that block.

Valve Positions

The valve is continuously variable. It shifts smoothly between positions, of which it has two. One—the normal position—is that to which the valve reverts when its control signal falls to zero. Unless an opening offset has been specified, the AB orifice is always fully closed in this position. Another—the working position—is that to which the valve moves when its control signal rises to a maximum. The orifice is generally fully open in this position. Note that whether the orifice is in fact open and how open it is both depend on the opening offsets of the valve.

Valve Opening

Which position the valve is in depends on the control member coordinate relative to the AB orifice—a length referred to here as the orifice opening. The orifice opening is calculated during simulation from the opening offset, specified via the block parameter of the same name, and from the control member displacement, given by the physical signal at port S:

hAB=hAB0+x,

where:

  • hAB is the AB orifice opening.

  • hAB0 is the AB opening offset.

  • x is the control member displacement.

A control member displacement of zero corresponds to a valve that is in its normal position. The AB orifice cracks opens when the opening variable (hAB) rises above zero. It then continues to widen with an increasing orifice opening—and therefore with an increasing control member displacement.

The orifice is fully open when its orifice opening is at a specified maximum. In the linear valve parameterization, this maximum is obtained from the Maximum valve opening block parameter. In the tabulated valve parameterizations, the maximum opening is obtained from the last breakpoint in the tabulated data.

Opening Offsets

The valve is by default configured so that it is fully closed when the control member displacement is zero. Such a valve is often described as being zero-lapped. It is possible, by applying an offset to the control member, to model a valve that is underlapped (partially open when the control member displacement is zero) or overlapped (fully closed up to a control member displacement equal to the applied offset). The figure shows the orifice opening as a function of the control member displacement for each case:

  • Case I: A zero-lapped valve. The opening offset is zero. When the valve is in the normal position, the control member completely covers the orifice. The zero-lapped valve is completely closed when the control member displacement falls below zero.

  • Case II: An underlapped valve. The opening offset is positive. When the valve is in the normal position, the control member covers the orifice but not fully. The underlapped valve is partially open until the control member displacement falls below the negated value of the offset.

  • Case III: An overlapped valve. The opening offset is negative. The control member completely covers the orifice not only in the normal position but over a small region around it. The overlapped valve is fully closed until the control member crosses the opening offset specified for the orifice.

Opening Characteristics

The orifice opening serves during simulation to calculate the mass flow rate through the orifice. The calculation can be a direct mapping from opening to flow rate or an indirect conversion, first from opening to orifice area and then from orifice area to mass flow rate. The calculation, and the data required for it, depend on the setting of the Valve parameterization block parameter:

  • Linear area-opening relationship — Calculate the valve opening area from the control member position and from it obtain the mass flow rate through the valve. The opening area is assumed to vary linearly with the control member position. The slope of the linear expression is determined from the Maximum valve opening and Maximum opening area block parameters.

  • Tabulated data - Area vs. opening — Calculate the valve opening area from the control member position and from it obtain the mass flow rate through the valve. The opening area can vary nonlinearly with the control member position. The relationship between the two is given by the tabulated data in the Valve opening vector and Opening area vector block parameters.

  • Tabulated data - Mass flow rate vs. opening and pressure drop — Calculate the mass flow rate directly from the control member position and the pressure drop across the valve. The relationship between the three variables can be nonlinear and it is given by the tabulated data in the Valve opening vector, Pressure drop vector, and Mass flow rate table block parameters.

Leakage Flow

The primary purpose of the leakage flow rate of a closed valve is to ensure that at no time a portion of the thermal liquid network becomes isolated from the remainder of the model. Such isolated portions reduce the numerical robustness of the model and can slow down simulation or cause it to fail. Leakage flow is generally present in real valves but in a model its exact value is less important than its being a small number greater than zero. The leakage flow rate is determined from the Leakage area block parameter.

Pressure Loss and Recovery

The pressure drop in the valve is calculated from an empirical parameter known as the discharge coefficient (obtained from the Discharge coefficient block parameter). The calculation captures the effect of flow regime, with the pressure drop being proportional to the mass flow rate when the flow is laminar and to the square of the same when the flow is turbulent. Also captured is the pressure recovery than in real valves occurs between the vena contracta (the narrowest aperture of the valve) and the outlet, which generally lies a small distance away.

Composite Component Structure

This block is a composite component comprising a single Variable Area Orifice (TL) block arranged as shown in the figure. The Orifice orientation block parameters are set so that a positive signal acts to open the orifice. The specified opening offset is applied to this block. Refer to the Variable Area Orifice (TL) block for detail on the opening area calculations.

Ports

Input

expand all

Instantaneous displacement of the valve control member.

Conserving

expand all

Opening through which the flow can enter or exit the valve.

Opening through which the flow can enter or exit the valve.

Parameters

expand all

Method by which to model the opening characteristics of the valve. The default setting prescribes a linear relationship between the valve opening area and the valve opening. The alternative settings allow for a general, nonlinear relationship to be specified in tabulated form, in one case between the opening area and the control member position (the valve opening), in the other case between the mass flow rate and both the valve opening and the pressure drop between the ports.

Control member position at which the valve is fully open and its opening area is therefore at a maximum. This parameter is used to calculate the slope of the linear expression relating the opening area to the control member position (the valve opening).

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Linear area-opening relationship.

Opening area of the valve in the fully open position, when the control member is at the position specified in the maximum valve opening block parameter. This parameter is used to calculate the slope of the linear expression relating the opening area to the control member position (the valve opening).

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Linear area-opening relationship.

Opening area of the valve in the fully closed position, when only internal leakage between its ports remains. This parameter serves primarily to ensure that closure of the valve does not cause portions of the thermal liquid network to become isolated. The exact value specified here is less important than its being a small number greater than zero.

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Linear area-opening relationship.

Measure of the amount of smoothing to apply to the opening area function. This parameter determines the widths of the regions to be smoothed, one being at the fully open position, the other at the fully closed position. The smoothing superposes on the linear opening area function two nonlinear segments, one for each region of smoothing. The greater the value specified, the greater the smoothing and the broader the nonlinear segments.

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Linear area-opening relationship.

Vector of control member positions at which to specify—dependent on the valve parameterization—the opening area of the valve or its mass flow rate. The vector elements must increase monotonically from left to right. This vector must be equal in size to that specified in the Opening area vector block parameter or to the number of rows in the Mass flow rate table block parameter.

This data serves to construct a one-way lookup table by which to determine, from the control member position, the opening area of the valve or a two-way lookup table by which to determine, from the control member position and pressure drop, the mass flow rate of the valve. Data is handled with linear interpolation (within the tabulated data range) and nearest-neighbor extrapolation (outside of the data range).

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Tabulated data - Area vs. opening.

Vector of opening areas corresponding to the breakpoints defined in the Valve opening vector block parameter. The vector elements must increase monotonically from left to right (with increasing control member position). This vector must be equal in size to the number of valve opening breakpoints.

This data serves to construct a one-way lookup table by which to determine from the control member position the opening area of the valve. Data is handled with linear interpolation (within the tabulated data range) and nearest-neighbor extrapolation (outside of the data range).

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Tabulated data - Area vs. opening.

Vector of pressure differentials from port A to port B at which to specify the mass flow rate of the valve. The vector elements must increase monotonically from left to right. This vector must be equal in size to the number of columns in the Mass flow rate table block parameter.

This data serves to construct a two-way lookup table by which to determine, from the control member position and pressure drop, the opening area of the valve. Data is handled with linear interpolation (within the tabulated data range) and nearest-neighbor extrapolation (outside of the data range).

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Tabulated data - Mass flow rate vs. opening and pressure drop.

Matrix of mass flow rates corresponding to the breakpoints defined in the Valve opening vector and Pressure drop vector block parameters. The control member position increases from row to row from top to bottom. The pressure drop increases from column to column from left to right. The mass flow rate must increase monotonically in the same directions (with increasing control member position and increasing pressure drop).

This data serves to construct a two-way lookup table by which to determine, from the control member position and pressure drop, the opening area of the valve. Data is handled with linear interpolation (within the tabulated data range) and nearest-neighbor extrapolation (outside of the data range). Ensure that the number of rows is equal to the size of the Opening area vector block parameter and that the number of columns is equal to the size of the Pressure drop vector block parameter.

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Tabulated data - Mass flow rate vs. opening and pressure drop.

Nominal inlet temperature, with reference to absolute zero, at which to specify the tabulated data. This parameter is used to adjust the mass flow rate according to the temperature measured during simulation.

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Tabulated data - Mass flow rate vs. opening and pressure drop.

Nominal inlet pressure, with reference to absolute zero, at which to specify the tabulated data. This parameter is used to adjust the mass flow rate according to the pressure measured during simulation.

Dependencies

This parameter is active when the Valve parameterization block parameter is set to Tabulated data - Mass flow rate vs. opening and pressure drop.

Offset between the control member and the location at which, in the normal orifice position, it would completely cover the orifice. Specify a positive offset to model an underlapped orifice or a negative offset to model an overlapped orifice. For detail on how the opening offsets impact the block calculations, see the block description.

Area normal to the flow path at each port. The ports are assumed to be equal in size. The flow area specified here should match those of the inlets of those components to which the valve connects.

Average distance traversed by the fluid as it travels from inlet to outlet. This distance is used in the calculation of the internal thermal conduction that occurs between the two ports (as part of the smoothed upwind energy scheme employed in the thermal liquid domain).

Ratio of the actual flow rate through the valve to the theoretical value that it would have in an ideal valve. This semi-empirical parameter measures the flow allowed through the valve: the greater its value, the greater the flow rate. Refer to the valve data sheet, if available, for this parameter.

Reynolds number at which the flow is assumed to transition between laminar and turbulent regimes.

Extended Capabilities

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

Introduced in R2016a