WOLFRAM SYSTEMMODELER

moleToMassFractions

Return mass fractions X from mole fractions

Wolfram Language

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

Syntax

X = moleToMassFractions(moleFractions, MMX)

Inputs (2)

moleFractions

Type: MoleFraction[:]

Description: Mole fractions of mixture

MMX

Type: MolarMass[:] (kg/mol)

Description: Molar masses of components

Outputs (1)

X

Type: MassFraction[size(moleFractions, 1)]

Description: Mass fractions of gas mixture