modelSinkP
Pressure sink for water/steam flows
Extends from Icons.Water.SourceP, Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Information
Modelling options
If R is set to zero, the pressure sink is ideal; otherwise, the inlet pressure increases proportionally to the incoming flowrate.
If the in_p0 connector is wired, then the source pressure is given by the corresponding signal, otherwise it is fixed to p0.
If the in_h connector is wired, then the source pressure is given by the corresponding signal, otherwise it is fixed to h.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.AbsolutePressure | p0 | 1.01325e5 | Nominal pressure |
| Units.HydraulicResistance | R | 0 | Hydraulic resistance |
| Medium.SpecificEnthalpy | h | 1e5 | Nominal specific enthalpy |
| Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlangeA | flange | ||
| Modelica.Blocks.Interfaces.RealInput | in_p0 | ||
| Modelica.Blocks.Interfaces.RealInput | in_h |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermoPower.System | system | System wide properties | |
| Medium.AbsolutePressure | p |
Contents
| Name | Description |
|---|---|
Revisions
- 16 Dec 2004
by Francesco Casella:
Medium model and standard medium definition added. - 18 Jun 2004
by Francesco Casella:
Removed p0_fix and hfix; the connection of external signals is now detected automatically. - 1 Oct 2003
by Francesco Casella:
First release.