function equilibrium_phX input Modelica.SIunits.Pressure p; input Modelica.SIunits.SpecificEnthalpy h; input Real X[nC] = reference_X; input Properties state; output FlashProperties eq; end equilibrium_phX;