Return thermodynamic state record from p, F and X
function calcProperties_pFX extends Modelica.Icons.Function; input Modelica.SIunits.AbsolutePressure p "pressure"; input Modelica.SIunits.MassFraction F[nP] "Mass fractions"; input Integer F_unit = UnitBasis.MassFraction; input Modelica.SIunits.MassFraction X[nC] "Mass fractions"; input Integer X_unit = UnitBasis.MassFraction; input Integer solutionType = 1; input MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject eo; output Properties state; end calcProperties_pFX;