Three way valve
## Copyright © EDF 2002 - 2026
## ThermoSysPro Version 4.2
This component model is documented in Sect. 13.9 of the ThermoSysPro book.
# Three way valve
The three-way valve splits the fluid in two directions. When the valve is fully open, the fluid moves in one direction, and when it is fully closed, it moves in the other direction. When it is partially open, a fraction of the fluid moves in one direction and the rest in the other. For water/steam, the flow regime is single-phase or homogeneous two-phase flow.
## Modelica component model
The equations mentioned below are implemented in the component *ThreeWayValve*, located in the *WaterSteam.PressureLosses* sub-library.
The *ThreeWayValve* is composed of two [control valves](modelica://ThermoSysPro.WaterSteam.PressureLosses.ControlValve), a [pipe pressure loss](modelica://ThermoSysPro.WaterSteam.PressureLosses.PipePressureLoss), a VolumeA, a Constant and an Add block. <!-- TODO -->
This component has 4 connectors:
- C1: fluid inlet,
- C2: fluid outlet,
- C3: fluid outlet,
- Ouv: valve opening.

## Nomenclature
See [control valve](modelica://ThermoSysPro.WaterSteam.PressureLosses.ControlValve) and [pipe pressure loss](modelica://ThermoSysPro.WaterSteam.PressureLosses.PipePressureLoss).
## Governing equations
See [control valve](modelica://ThermoSysPro.WaterSteam.PressureLosses.ControlValve) and [pipe pressure loss](modelica://ThermoSysPro.WaterSteam.PressureLosses.PipePressureLoss).
## References
El Hefni, Baligh and Bouskela, Daniel (2019). [Modeling and Simulation of Thermal Power Plants with ThermoSysPro](https://link.springer.com/book/10.1007/978-3-030-05105-1), sect. 13.9. Springer Nature Switzerland AG.
Author Daniel Bouskela
Generated at 2026-08-05T20:24:29Z by OpenModelicaOpenModelica 1.27.0 using
GenerateDoc.mos