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

TypeNameDefaultDescription
Medium.AbsolutePressurep01.01325e5Nominal pressure
Units.HydraulicResistanceR0Hydraulic resistance
Booleanuse_TfalseUse the temperature if true, otherwise use specific enthalpy
Medium.TemperatureT298.15Nominal temperature
Medium.SpecificEnthalpyh1e5Nominal specific enthalpy
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction
External inputs
Booleanuse_in_p0falseUse connector input for the pressure
Booleanuse_in_TfalseUse connector input for the temperature
Booleanuse_in_hfalseUse connector input for the specific enthalpy

Connectors

TypeNameDefaultDescription
FlangeBflange
Modelica.Blocks.Interfaces.RealInputin_p0
Modelica.Blocks.Interfaces.RealInputin_TExternally supplied temperature
Modelica.Blocks.Interfaces.RealInputin_h

Components

TypeNameDefaultDescription
ThermoPower.SystemsystemSystem wide properties
Medium.AbsolutePressurepActual pressure

Contents

NameDescription
Medium
HydraulicResistance

Revisions