dofpT

Compute d for given p and T

Information

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

This function calculates the density of R134a from absolute pressure and temperature. The function can only be executed in one-phase region. The safety margin to the phase boundary is 1[K] and 1000[Pa].

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 = dofpT(p, T, delp)

Inputs (3)

p

Type: Pressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature

delp

Type: Pressure (Pa)

Description: Iteration converged if (p-pre(p) < delp)

Outputs (1)

d

Type: Density (kg/m³)

Description: Density