temperature_ph

Temperature as function of pressure and specific enthalpy

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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).

Syntax

T = temperature_ph(p, h, phase)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

phase

Default Value: 0

Type: Integer

Description: 2 for two-phase, 1 for one-phase, 0 if not known

Outputs (1)

T

Type: Temperature (K)

Description: Temperature