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:
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Pressure | p0 | 1.01325e5 | Nominal pressure |
| Modelica.SIunits.SpecificEnthalpy | h_0 | 1e5 | Enthalpy if no connector |
| Modelica.SIunits.Temperature | T_0 | 273.15 + 25 | Temperature of fluid going out if no connector |
| Boolean | UseT | true | Use temperature as input instead of enthalpy |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.SpecificEnthalpy | h | Specific enthalpy | |
| Modelica.SIunits.Pressure | p | pressure | |
| Modelica.Blocks.Interfaces.RealInput | in_p | ||
| Modelica.Blocks.Interfaces.RealInput | in_h | ||
| Modelica.Blocks.Interfaces.RealInput | in_T | ||
| Interfaces.Fluid.FlangeB | flange |
Contents
| Name | Description |
|---|---|
| Medium |