WOLFRAM SYSTEM MODELER

setState_psX

Return thermodynamic state as function of p, s and composition X

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.IdealGases.Common.MixtureGasNasa.setState_psX"]
Out[1]:=

Syntax

state = setState_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)

state

Type: ThermodynamicState

Description: Thermodynamic state variables