functionsetState_phX

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

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

Inputs

TypeNameDefaultDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFraction[:]Xreference_XMass fractions

Outputs

TypeNameDefaultDescription
ThermodynamicStatestateThermodynamic state record