WOLFRAM SYSTEM MODELER

setState_phX

Return thermodynamic state as function of pressure p, specific enthalpy h and composition X

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Air.MoistAir.setState_phX"]
Out[1]:=

Information

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

The thermodynamic state record is computed from pressure p, specific enthalpy h and composition X.

Syntax

state = setState_phX(p, h, X)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

X

Default Value: reference_X

Type: MassFraction[:] (kg/kg)

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state