WOLFRAM SYSTEM MODELER

setState_pTX

Return thermodynamic state as function of pressure p, temperature T and composition X

Wolfram Language

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

Syntax

state = setState_pTX(p, T, X)

Inputs (3)

p

Type: AbsolutePressure

Description: Pressure

T

Type: Temperature

Description: Temperature

X

Type: MassFraction[:]

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record