setState_psX

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_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