modelThreeWayValve

Three-way valve for continuously controlling complementary branch openings

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus (Extend this to use 'dropOfCommons', 'instanceName', 'displayInstanceName' and 'displayParameters').

Information

New, improved version of the Switch: The ThreeWayValve model should be used e.g. if the split ratio of the two flows it separates, shall be controlled. The Switch had large pressure drops for inputs between 0 and 1, while this is now fixed in the new model (by using different valve models inside). The parameters may need to be adjusted.

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
Realk_min0.03Remaining flow at actuation signal u = 0
BooleaninvertInputfalse=true, if the control input is inverted
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Valve parameters
FlowCoeffTypeflowCoefficientFlowCoeffType.KvsSelect type of flow coefficient
RealKvs0Kvs-value (metric) from data sheet (valve fully open)
RealCvs_US0Cvs-value (US [gal/min]) from data sheet (valve fully open)
RealCvs_UK0Cvs-value (UK [gal/min]) from data sheet (valve fully open)
SI.MassFlowRatem_flow_ref_set0.1Reference mass flow rate
Initialization
BooleaninitializeOneMassflowSplitfalse= true, if mass flow rate ratio is initialized
Advanced
ThermofluidStream.Utilities.Units.InertanceLdropOfCommons.LInertance

Connectors

TypeNameDefaultDescription
ThermofluidStream.Interfaces.Inletinlet
ThermofluidStream.Interfaces.OutletoutletA
ThermofluidStream.Interfaces.OutletoutletB
Modelica.Blocks.Interfaces.RealInputuControl signal for valve openings

Components

TypeNameDefaultDescription
BasicControlValvebasicControlValveB
BasicControlValvebasicControlValveA
ThermofluidStream.Topology.SplitterT2splitterT2_1
Realu2(if not invertInput then u else 1 - u)
Realx_coord57*cos(u2*Modelica.Constants.pi/2)
Realy_coord57*sin(u2*Modelica.Constants.pi/2)

Contents

NameDescription
MediumMedium model
valveCharacteristics