modelSwitch

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus, Modelica.Icons.ObsoleteModel.

Information

<<CAUTION: This model will be removed from the library in the next major release!>>

This model should only be used as a switch, i.e. it should either direct the flow completely in one or the other direction. This requires the input being either zero or one. All values in between will result in less mass flow and/ or a higher pressure drop, depending on the system up- or downstream of the switch, which in most cases is an undesired behaviour. If e.g. a bypass shall be controlled, use the newly created ThreeWayValve which allows for splitting the flow continuously between zero and one.

Parameters

TypeNameDefaultDescription
SI.MassFlowRatem_flow_ref0.1Reference mass flow rate
Medium.AbsolutePressurep_ref1e5Reference pressure
RealrelativeLeakiness1e-3Imperfection of valve
BooleaninvertInputfalse=true, if input single is inverted
Initialization
BooleaninitializeOneMassflowSplitfalse= true, if mass flow rate ratio is initialized
Advanced
ThermofluidStream.Utilities.Units.InertanceLdropOfCommons.LInertance

Components

TypeNameDefaultDescription
ThermofluidStream.Interfaces.Inletinlet
ThermofluidStream.Interfaces.OutletoutletA
ThermofluidStream.Interfaces.OutletoutletB
Modelica.Blocks.Interfaces.RealInputuFlow split
ThermofluidStream.FlowControl.TanValvetanValve
ThermofluidStream.FlowControl.TanValvetanValve1
ThermofluidStream.Topology.SplitterT2splitterT2_1
Realu2(if not invertInput then u else 1 - u)

Contents

NameDescription
MediumMedium model