WOLFRAM SYSTEMMODELER

setState_psX

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

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Air.ReferenceMoistAir.setState_psX"]
Out[1]:=

Syntax

state = setState_psX(p, s, X)

Inputs (3)

p

Type: AbsolutePressure

Description: Pressure

s

Type: SpecificEntropy

Description: Specific entropy

X

Type: MassFraction[:]

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record