@beerwright/core
    Preparing search index...

    Function equivalentsPerMillimole

    • Milliequivalents of acid delivered per millimole of a substance at pH.

      protonsAlreadyRemoved is how many protons the substance arrives without: 0 for a free acid, 1 for bicarbonate (NaHCO₃), 2 for carbonate (CaCO₃). The result is negative for a base, so the charge balance can treat a base as acid with the sign flipped, with no separate code path.

      mEq/mmol = f(pH) − protonsAlreadyRemoved
      

      Parameters

      • pKa: readonly number[]
      • ph: number
      • protonsAlreadyRemoved: number = 0

      Returns number