functiondt_ph
Density and temperature w.r.t. pressure and specific enthalpy
Extends from Modelica.Icons.Function (Icon for functions).
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
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEnthalpy | h | Specific enthalpy |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Density | d | Density | |
| Temperature | T | Temperature |