WOLFRAM SYSTEM MODELER

density_psX

Return density from p, s, and X or Xi

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Interfaces.PartialMedium.density_psX"]
Out[1]:=

Syntax

d = density_psX(p, s, X)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

s

Type: SpecificEntropy (J/(kg⋅K))

Description: Specific entropy

X

Default Value: reference_X

Type: MassFraction[:] (kg/kg)

Description: Mass fractions

Outputs (1)

d

Type: Density (kg/m³)

Description: Density