modelSourceP

Pressure source for water/steam flows

Extends from ThermoCycle.Icons.Water.SourceP.

Information

Model SourceP sets the boundary pressure and enthalpy of the fluid flowing from the model to the port (i.e. out of the model).

Modelling options

In the General tab the following option is availabe:

  • UseT: if true uses the temperature as an input instead of using enthalpy

The pressure and temperature or enthalpy can be set as parameters or defined by the connectors.

Note that boundary enthalpy is imposed by the model only if the fluid is flowing out of the model. If flow reversal happens (i.e. mass flow flowing into SourceP) then only the boundary pressure is imposed by the model.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Pressurep01.01325e5Nominal pressure
Modelica.SIunits.SpecificEnthalpyh_01e5Enthalpy if no connector
Modelica.SIunits.TemperatureT_0273.15 + 25Temperature of fluid going out if no connector
BooleanUseTtrueUse temperature as input instead of enthalpy

Components

TypeNameDefaultDescription
Modelica.SIunits.SpecificEnthalpyhSpecific enthalpy
Modelica.SIunits.Pressureppressure
Modelica.Blocks.Interfaces.RealInputin_p
Modelica.Blocks.Interfaces.RealInputin_h
Modelica.Blocks.Interfaces.RealInputin_T
Interfaces.Fluid.FlangeBflange

Contents

NameDescription
Medium