modelSourcePressure
Pressure source for water/steam flows
Extends from Icons.Water.SourceP.
Information
Modelling options
If R is set to zero, the pressure source is ideal; otherwise, the outlet pressure decreases proportionally to the outgoing flowrate.
If use_T is false, the specific enthalpy is prescribed, otherwise the temperature is prescribed.
The pressure, specific enthalpy and temperature can be supplied from external inputs by setting to true the corresponding use_in_XX parameter and connecting an external signal to the input connector.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.AbsolutePressure | p0 | 1.01325e5 | Nominal pressure |
| Units.HydraulicResistance | R | 0 | Hydraulic resistance |
| Boolean | use_T | false | Use the temperature if true, otherwise use specific enthalpy |
| Medium.Temperature | T | 298.15 | Nominal temperature |
| Medium.SpecificEnthalpy | h | 1e5 | Nominal specific enthalpy |
| Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction |
| External inputs | |||
| Boolean | use_in_p0 | false | Use connector input for the pressure |
| Boolean | use_in_T | false | Use connector input for the temperature |
| Boolean | use_in_h | false | Use connector input for the specific enthalpy |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlangeB | flange | ||
| Modelica.Blocks.Interfaces.RealInput | in_p0 | ||
| Modelica.Blocks.Interfaces.RealInput | in_T | Externally supplied temperature | |
| Modelica.Blocks.Interfaces.RealInput | in_h |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermoPower.System | system | System wide properties | |
| Medium.AbsolutePressure | p | Actual pressure |
Contents
| Name | Description |
|---|---|
| HydraulicResistance |
Revisions
- 09 Oct 2017
by Francesco Casella:
Restructured and added temperature input. - 1 Oct 2003
by Francesco Casella:
First release.