4-Way 2-Position Directional Valve (MA)
Libraries:
Simscape /
Fluids /
Moist Air /
Valves & Orifices /
Directional Control Valves
Description
The 4-Way 2-Position Directional Valve (MA) models a valve with four openings — such as the valves between an actuator, pump, and tank — in a moist air network. A single spool controls the valve operation according to the signal at port S. You can set the baseline configuration of your valve by specifying the orifices that are open when the spool moves in the positive direction and negative directions in the Positive spool position open connections and Negative spool position open connections parameters, respectively. You can set the valve opening model in the Orifice parameterization parameter as a linear relationship or function of user-provided data, which you can apply to one or all flow paths in the valve.
This block is a composite component that comprises of multiple instances of the Orifice (MA) block. Refer to the Orifice (MA) block for more details about valve parameterizations and block calculations. In some configurations, this valve resembles a 3-way valve. To set additional flow paths when the spool is in the neutral position, see the 4-Way 3-Position Directional Valve (MA) block.
This image shows an example valve setup where the valve is connected to a tank,
actuator, and pump and the Positive spool position open connections
parameter is P-B, A-T:

This image shows the valve when the Negative spool position open
connections parameter is P-A, B-T:

In this configuration, when the signal at port S moves the spool to a negative position, the paths between ports P and A and between ports B and T are open to flow. The paths between ports P and B and ports A and T are closed to flow.
This image shows the valve when the Positive spool position open
connections parameter is P-B, A-T:

In this configuration, when the signal at port S moves the spool to a positive position, the paths between ports P and B and between ports A and T are open to flow and the paths between ports P and A and between ports B and T are closed.
The schematic that represents this configuration is:

The left-hand side corresponds to the positive position and the right-hand side corresponds to the negative position. The valve transitions through positions in the neutral mid-section.
Spool Displacement and Valve Configuration
The spool stroke is the amount of spool travel an orifice takes to fully open from a closed position. You can use the Orifice parameterization and Area characteristics parameters to specify the flow path characteristics:
| Orifice Parameterization | Identical for All Flow Paths | Different for Each Flow Path |
|---|---|---|
Linear - Area vs. spool
travel | The Spool travel between closed and open orifice parameter defines the spool stroke | The Spool travel between closed and open orifice parameter defines the spool stroke for each orifice |
Tabulated data - Area vs. spool
travel | The difference between the first and last element of the Spool travel vector parameter defines the spool stroke | The difference between the first and last element of the Spool travel vector parameter for each orifice |
Tabulated data - Volumetric flow rate vs. spool
travel and pressure dropor
Tabulated data - Mass flow rate vs. spool
travel and pressure drop | The difference between the first and last element of the Spool travel vector, ds parameter defines the spool stroke | The difference between the first and last element of the Spool travel vector, ds parameter defines the spool stroke for each orifice |
The direction of the spool movement depends on the spool stroke, orifice orientation, and signal at port S. This table shows the spool travel for an orifice depending on the selections for the Positive spool position open connection and Negative spool position open connection parameters:
| Spool Position When Orifice Is Open | Spool Travel, ΔS |
|---|---|
| Orifice always closed: orifice not selected for the Positive spool position open connection or Negative spool position open connection parameters | N/A |
| Orifice always open: orifice selected for both the Positive spool position open connection and Negative spool position open connection parameters | N/A |
| Negative: orifice selected for only Negative spool position open connection parameter | Sorifice_max + spool stroke – S |
| Positive: orifice selected for only Positive spool position open connection parameter | Sorifice_max – spool stroke + S |
Where Sorifice_max is the spool position at the maximum orifice area defined for each orifice. The orifice area saturates at the leakage area when ΔS is negative and saturates at the maximum orifice area when the orifice is fully open. When the orifice is fully open, ΔS is equal to the spool stroke, so ΔS greater than the spool stroke does not further increase the orifice area.
This table shows the possible configurations of the 4-Way 2-Position Directional Valve (MA) block:
| Configuration | Parameter Values |
|---|---|
All four paths are closed during transition. |
|
All four paths are open during transition. |
|
A-T and B-T are closed during transition. |
|
P-A and P-B are closed during transition. |
|
P-B and B-T are closed during transition. |
|
P-A and A-T are closed during transition. |
|
P-A, P-B, and B-T are open during transition. |
|
P-A, A-T, and B-T are open during transition. |
|
P-A and P-B are closed during transition. A-T is always closed. |
|
All paths are closed during transition. |
|
A-T is open during transition. P-A is closed during transition. |
|
B-T is open during transition. P-B is closed during transition. |
|
P-A is closed during transition. |
|
P-B is closed during transition. |
|
Valve Orifice Parameterizations
The Orifice parameterization parameter specifies the model
for the open area or flow rate through one or all of the valve orifices. If you set
Area characteristics to Identical for all flow
paths, the block applies the same data for all flow paths. When
you select Different for all flow paths, the block uses
individual parameterizations for each flow path.
The method the block uses to control each orifice depends on the Opening characteristic parameter:
Linear— The measure of flow capacity depends on the spool position at port S. As the spool displaces to open to orifice, the measure of flow capacity scales from the specified minimum to the specified maximum.Tabulated— The block calculates the measure of flow capacity as a function of the spool position at port S. This function uses a one-dimensional lookup table.
The Orifice parameterization parameter determines how the block calculates the flow rate in each orifice:
Cv flow coefficient— The flow coefficient Cv scales the flow rate in each orifice. The flow coefficient measures the ease with which a fluid can flow when driven by a certain pressure differential.Kv flow coefficient— The flow coefficient Kv, where , scales the flow rate in each orifice. The flow coefficient measures the ease with which a fluid can flow when driven by a certain pressure differential.Orifice area— The size of the orifice area scales the flow rate in each orifice.
Visualize Orifice Openings
To visualize the spool offsets and maximum displacement, right-click the block and select Fluids > Plot Valve Characteristics. The plot shows the sonic conductance, Kv flow coefficient, Cv flow coefficient, or orifice area 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 default values.

Assumptions and Limitations
The
Sonic conductancesetting of the Valve parameterization parameter is for pneumatic applications. If you use this setting for moist air with high levels of trace gasses or are modeling a fluid other than air, you may need to scale the sonic conductance by the square root of the mixture specific gravity.This block does not model supersonic flow.
There is no heat exchange between the valve and the environment.
Ports
Conserving
Input
Parameters
References
[1] ISO 6358-3. "Pneumatic fluid power – Determination of flow-rate characteristics of components using compressible fluids – Part 3: Method for calculating steady-state flow rate characteristics of systems". 2014.
[2] IEC 60534-2-3. "Industrial-process control valves – Part 2-3: Flow capacity – Test procedures". 2015.
[3] ANSI/ISA-75.01.01. "Industrial-Process Control Valves – Part 2-1: Flow capacity – Sizing equations for fluid flow underinstalled conditions". 2012.
[4] P. Beater. Pneumatic Drives. Springer-Verlag Berlin Heidelberg. 2007.
Extended Capabilities
Version History
Introduced in R2025a






