functioncalcProperties_phX

Return thermodynamic state record from p and h

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

Inputs

TypeNameDefaultDescription
Modelica.SIunits.AbsolutePressureppressure
Modelica.SIunits.SpecificEnthalpyhspecific enthalpy
Modelica.SIunits.MassFraction[nC]Xreference_XMass fractions
IntegerX_unitUnitBasis.MassFraction
Integerphase02 for two-phase, 1 for one-phase, 0 if not known
MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObjecteo

Outputs

TypeNameDefaultDescription
Propertiesstate