WOLFRAM SYSTEM MODELER

density_ph

Density as function of pressure and specific enthalpy

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.R134a.R134a_ph.density_ph"]
Out[1]:=

Information

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

This function calculates the density of R134a from the state variables p (absolute pressure) and h (specific enthalpy). The density is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Syntax

d = density_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)

d

Type: Density (kg/m³)

Description: Density