functiontemperature_ph
Temperature as function of pressure and specific enthalpy
Extends from Modelica.Icons.Function (Icon for functions).
Information
This function calculates the Kelvin temperature of R134a from the state variables p (absolute pressure) and h (specific enthalpy). The temperature is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).
h-Diagram-R134a.png)
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEnthalpy | h | Specific enthalpy | |
| Integer | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature |