PoreSim 0.2
  • API
  • Simulation
  • Complex Pore Simulation
  • Simulation 2-Phase
  • Site
    • Page
        • mmol_l_to_mols
          • mmol_l_to_mols()
    • mmol_l_to_mols
      • mmol_l_to_mols()
    Source

    mmol_l_to_mols¶

    poresim.utils.mmol_l_to_mols(c, V)¶

    Convert the concentration in \(\frac{\text{mmol}}{\text{l}}\) to number of molecules.

    The concentration in regard to volume is calculated by

    \[c=\frac{N}{N_A\cdot V}\]

    with volume \(V\). Assuming that the unit of the concentration is \(\text{mmol}\cdot\text{l}\) and of the volume is \(\text{nm}^3\), the number of molecules is given by

    \[N=c\cdot N_A\cdot V =[c]\cdot10^{-27}\,\frac{\text{mol}}{\text{nm}^3}\cdot6.022\cdot10^{23}\,\frac{1}{\text{mol}}\cdot[V]\,\text{nm}^3\]

    and thus

    \[\boxed{N=6.022\cdot10^{-4}\cdot[c]\cdot[V]}\ .\]
    Parameters:
    cfloat

    Concentration in \(\frac{\text{mmol}}{\text{l}}\)

    Vfloat

    Surface in \(\text{nm}^3\)

    Returns:
    Nfloat

    Number of molecules

    Back to top

    © Copyright 2023, Hamzeh Kraus.
    Created using Sphinx 7.4.6.