functionsetState_phX

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

Extends from Modelica.Icons.Function (Icon for functions).

Information

The thermodynamic state record is computed from pressure p, specific enthalpy h and composition X.

Inputs

TypeNameDefaultDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFraction[:]Xreference_XMass fractions

Outputs

TypeNameDefaultDescription
ThermodynamicStatestateThermodynamic state