Return mole fractions from mass fractions X
function moleToMassFractions extends Modelica.Icons.Function; input SI.MoleFraction moleFractions[subsNum] "Mole fractions of mixture"; input MolarMass MMX[subsNum] "Molar masses of components"; output SI.MassFraction X[subsNum] "Mass fractions of gas mixture"; end moleToMassFractions;