WOLFRAM SYSTEM MODELER

density_phX

Return density from p, h, and X or Xi

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.density_phX"]
Out[1]:=

Syntax

d = density_phX(p, h, X)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

X

Type: MassFraction[nX] (kg/kg)

Description: Mass fractions

Outputs (1)

d

Type: Density (kg/m³)

Description: Density