WOLFRAM SYSTEM MODELER

setState_pTX

Return thermodynamic state from p, T, and X or Xi

Wolfram Language

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

Syntax

state = setState_pTX(p, T, X)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature

X

Default Value: reference_X

Type: MassFraction[:] (kg/kg)

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record