MolalityToMassFraction

MolalityToMassFraction[<|comp1amount1,comp2amount2,...|>,quantifier]
converts molalities in an association where the keys are the component names (which can have a unit with unit prefix mmol/kg,μmol/kg,nmol/kg,pmol/kg) and values are the molalities to mass fractions with the specified unit quantifier (ppm, etc.), which is optional.

MolalityToMassFraction[amount,comp]
converts a molality of a component to a mass fraction assuming that it is the only solute.

DetailsDetails

  • The molality is the molar amount of a substance per mass of the solvent.
  • Components have to be defined using RegisterOxide or RegisterComp.
  • Valid unit quantifiers are %, ppm, ppb, ppt, and ppq.
  • Valid units for molalities are mol/kg, mmol/kg, μmol/kg, nmol/kg, and pmol/kg.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Calculate the mass fractions for a simple compound:

In[1]:=
Click for copyable input
Out[1]=

The calculated mass fraction is slightly different if a solute is not defined:

In[2]:=
Click for copyable input
Out[2]=

Use a unit quantifier for mass fractions:

In[3]:=
Click for copyable input
Out[3]=

Use a different unit for molalities:

In[4]:=
Click for copyable input
Out[4]=