modelWaterSink

Sink with fancy water animation.

Extends from Boundaries.Sink (Sink (p)).

Information

Sink with fancy water animation.

x is a nondimensional mass flow. @x=1 the animation looks best.

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
BooleandisplayP (from Sink)displayPressure and not pressureFromInput
StringdisplayPos1 (from Sink)if displayP then "p = %p0_par" elseif displayInertance then "L = %L" else ""
StringdisplayPos2 (from Sink)if displayP and displayInertance then "L = %L" else ""
SI.MassFlowRatem_flow_animate1e-4Mass flow rate where the animation is at original size.
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Pressure
BooleanpressureFromInput (from Sink)false= true, if pressure input connector is enabled
Medium.AbsolutePressurep0_par (from Sink)Medium.p_defaultPressure set value
Advanced
BooleanconsiderInertance (from Sink)dropOfCommons.considerInertance=true, if transient momentum (inertance) term is considered; disable only for advanced use
Utilities.Units.InertanceL (from Sink)dropOfCommons.LInertance
Layout › Display parameters
BooleandisplayPressure (from Sink)true= true, if pressure p0_par is displayed
BooleandisplayInertance (from Sink)false= true, if inertance L is displayed

Connectors

TypeNameDefaultDescription
Interfaces.Inletinlet (from Sink)
Modelica.Blocks.Interfaces.RealInputp0_var (from Sink)Pressure input connector [Pa]

Components

TypeNameDefaultDescription
Realx