functiontemperature_ph

Temperature as function of pressure and specific enthalpy

Extends from Modelica.Icons.Function.

Information

This function calculates the Kelvin temperature of R1234yf from the state variables p (absolute pressure) and h (specific enthalpy). The temperature is modelled by the fundamental equation of state of Richter (2011).

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.Pressureppressure
Modelica.Units.SI.SpecificEnthalpyhspecific enthalpy
Integerphase02 for two-phase, 1 for one-phase, 0 if not known

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureTtemperature