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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | displayP | displayPressure and not pressureFromInput | |
| String | displayPos1 | if displayP then "p = %p0_par" elseif displayInertance then "L = %L" else "" | |
| String | displayPos2 | if displayP and displayInertance then "L = %L" else "" | |
| Pressure | |||
| Boolean | pressureFromInput | false | = true, if pressure input connector is enabled |
| Medium.AbsolutePressure | p0_par | Medium.p_default | Pressure set value |
| Advanced | |||
| Boolean | considerInertance | dropOfCommons.considerInertance | =true, if transient momentum (inertance) term is considered; disable only for advanced use |
| Utilities.Units.Inertance | L | dropOfCommons.L | Inertance |
| Layout › Display parameters | |||
| Boolean | displayPressure | true | = true, if pressure p0_par is displayed |
| Boolean | displayInertance | false | = true, if inertance L is displayed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Inlet | inlet | ||
| Modelica.Blocks.Interfaces.RealInput | p0_var | Pressure input connector [Pa] |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |
Revisions
-
Mai 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Added theconsiderInertanceparameter, including conditional visual highlighting on the icon layer when it is set to false.