.MultiPhaseMixture.PreDefined.Mixtures.NativeModelica.DryAir.EquationsOfState.Utilities.massToMoleFractions

Compute mole fraction vector from mass fraction vector

Interface

function massToMoleFractions
  input Modelica.SIunits.MassFraction X[:] "Mass fractions of mixture";
  input Modelica.SIunits.MolarMass[:] MMX "molar masses of components";
  output Modelica.SIunits.MoleFraction moleFractions[size(X, 1)] "Mole fractions of gas mixture";
end massToMoleFractions;

Generated at 2025-04-03T18:24:42Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos