functiontemperature_ph
Temperature as function of pressure and specific enthalpy
Extends from Modelica.Icons.Function.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Pressure | p | pressure | |
| Modelica.Units.SI.SpecificEnthalpy | h | specific enthalpy | |
| Integer | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T | temperature |