dt_ph

Density and temperature w.r.t. pressure and specific enthalpy

Information

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

This function calculates the density and temperature of R134a from absolute pressure and specific enthalpy. In one-phase region the function calls the fundamental Helmholtz equation of Tillner-Roth (1994). In two-phase the density and temperature is computed from cubic splines for saturated pressure, liquid and vapor density.

Restrictions

The function cannot be inverted in a numerical way. Please use functions rho_props_ph and T_props_ph for this purpose.

Syntax

(d, T) = dt_ph(p, h)

Inputs (2)

p

Type: AbsolutePressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

Outputs (2)

d

Type: Density (kg/m³)

Description: Density

T

Type: Temperature (K)

Description: Temperature