function phaseMoleFraction input Integer phaseIndex "Phase index"; input Properties state; output Modelica.SIunits.MoleFraction Y "Phase Mole fraction"; end phaseMoleFraction;