MassFractionToMolality

MassFractionToMolality[<|comp1mass1,comp2mass2,...|>,prefix]
converts mass fractions in an association where the keys are the component names (which can be suffixed by ' / ppm', etc.) and values are the mass fractions to molalities with the specified unit prefix (m,μ,n,p), which is optional.

MassFractionToMolality[mass,comp]
converts a mass fractions of a component to molality assuming that it is the only solute.

DetailsDetails

  • The molality is the molar amount of a substance per mass of the solvent.
  • Accurate molalities can only be calculated if all solutes of a compound are defined.
  • Components have to be defined using RegisterOxide or RegisterComp.
  • Valid suffixes are %, ppm, ppb, ppt, and ppq.
  • Valid prefixes for molalities are m, μ, n, p for milli, micro, nano, and pico molalities.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Calculate the molalities for a simple compound:

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

The calculated molality is slightly different if a solute is not defined:

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

Use suffixes for mass fractions:

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

Use prefixes for molalities:

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