WOLFRAM SYSTEM MODELER

massToMoleFractions

Return mole fractions from mass fractions X

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Interfaces.PartialMixtureMedium.massToMoleFractions"]
Out[1]:=

Syntax

moleFractions = massToMoleFractions(X, MMX)

Inputs (2)

X

Type: MassFraction[:]

Description: Mass fractions of mixture

MMX

Type: MolarMass[:] (kg/mol)

Description: Molar masses of components

Outputs (1)

moleFractions

Type: MoleFraction[size(X, 1)]

Description: Mole fractions of gas mixture