modelSink

Sink (p)

Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.

Information

Sink for a thermofluid stream. The pressure can be set or given by a real signal via input connector.

The inertial pressure after the sinks inertance is by definition the difference between the input pressure and the set pressure. The sink therefore acts by definition as the origin of the energy to accelerate the stream.

considerInertance

For the parameter considerInertance, refer to Idealized.UsersGuide.InertanceNeglect.

Parameters

TypeNameDefaultDescription
BooleandisplayPdisplayPressure and not pressureFromInput
StringdisplayPos1if displayP then "p = %p0_par" elseif displayInertance then "L = %L" else ""
StringdisplayPos2if displayP and displayInertance then "L = %L" else ""
Pressure
BooleanpressureFromInputfalse= true, if pressure input connector is enabled
Medium.AbsolutePressurep0_parMedium.p_defaultPressure set value
Advanced
BooleanconsiderInertancedropOfCommons.considerInertance=true, if transient momentum (inertance) term is considered; disable only for advanced use
Utilities.Units.InertanceLdropOfCommons.LInertance
Layout › Display parameters
BooleandisplayPressuretrue= true, if pressure p0_par is displayed
BooleandisplayInertancefalse= true, if inertance L is displayed

Components

TypeNameDefaultDescription
Interfaces.Inletinlet
Modelica.Blocks.Interfaces.RealInputp0_varPressure input connector [Pa]

Contents

NameDescription
MediumMedium model

Revisions

  • Mai 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Added the considerInertance parameter, including conditional visual highlighting on the icon layer when it is set to false.