functiondt_ph

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

Extends from Modelica.Icons.Function.

Information

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.

Inputs

TypeNameDefaultDescription
AbsolutePressureppressure
SpecificEnthalpyhspecific enthalpy

Outputs

TypeNameDefaultDescription
Densityddensity
TemperatureTtemperature