modelThreeWayValve

Three way valve
Diagram of ThreeWayValve

Extends from ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.FluidTypeParameterInterface (Interface to display the fluid type after parametrization), ThermoSysPro.Fluid.Interfaces.IconColors (Colors of the static, singular and dynamic model icons).

Information

## Copyright © EDF 2002 - 2026   
## ThermoSysPro Version 4.2   
This component model is documented in Sect. 13.9 of the ThermoSysPro book.

Parameters

TypeNameDefaultDescription
ThermoSysPro.Units.xSI.CvCvmax18005.42Valve 1 max CV [USG/min]
ThermoSysPro.Units.xSI.CvCvmax28005.42Valve 2 max CV [USG/min]
Real[:,2]caract1[0, 0; 1, Cvmax1]Valve 1 - Position vs. Cv [USG/min] characteristics (active if mode_caract1=true)
Real[:,2]caract2[0, 0; 1, Cvmax2]Valve 2 - Position vs. Cv [USG/min] characteristics (active if mode_caract2=true)
Integermode_caract10Valve 1 - 0:linear characteristics - 1:characteristics is given by caract1[]
Integermode_caract20Valve 2 - 0:linear characteristics - 1:characteristics is given by caract2[]
Units.SI.VolumeV1Three way valve volume (active if dynamic_energy_balance=true)
Units.SI.MassFlowRategamma_diff1e-4Diffusion conductance (active if diffusion=true in neighbouring volumes)
Booleandynamic_energy_balancefalsetrue: dynamic energy balance equation - false: static energy balance equation
Booleancontinuous_flow_reversalfalsetrue: continuous flow reversal - false: discontinuous flow reversal
Booleandiffusiontruetrue: energy balance equation with diffusion - false: energy balance equation without diffusion
Fluid › Fluid properties
FluidTypeftype (from FluidTypeParameterInterface)FluidType.WaterSteamFluid type
Units.SI.Densityp_rho0If > 0, fixed fluid density
IF97RegionregionIF97Region.All_regionsIF97 region (active for IF97 water/steam only)
Booleandynamic_composition_balancefalse<html>true: dynamic fluid composition balance equation <br>false: static fluid composition balance equation (active for flue gases)</html>
Fluid › Initial composition values (active for flue gases only if dynamic_composition_balance=true)
ThermoSysPro.Units.SI.MassFractionXco200.0Initial CO2 mass fraction
ThermoSysPro.Units.SI.MassFractionXh2o0if ftype == FluidType.FlueGases then 0.05 else 0Initial H20 mass fraction
ThermoSysPro.Units.SI.MassFractionXo200.23Initial O2 mass fraction
ThermoSysPro.Units.SI.MassFractionXso200Initial SO2 mass fraction

Connectors

TypeNameDefaultDescription
ThermoSysPro.InstrumentationAndControl.Connectors.InputRealOuv
Interfaces.Connectors.FluidInletC1
Interfaces.Connectors.FluidOutletC2
Interfaces.Connectors.FluidOutletC3

Components

TypeNameDefaultDescription
Integerfluid1 (from FluidTypeParameterInterface)Integer(ftype)Fluid number
ThermoSysPro.Fluid.PressureLosses.ControlValveValve1
ThermoSysPro.Fluid.PressureLosses.ControlValveValve2
ThermoSysPro.InstrumentationAndControl.Blocks.Sources.ConstanteConstante1
ThermoSysPro.InstrumentationAndControl.Blocks.Math.AddAdd1
Volumes.VolumeAVolumeA1
ThermoSysPro.Fluid.PressureLosses.PipePressureLossPerteDP1

Revisions

Author  

Daniel Bouskela