What does Alkaline Water and the TDS Myth conclude, in numbers, about “Closing the Loop: a Product Compliance Checklist, the Drinking-Water pH Calculator and a Pre-Registered Protocol”?

Answer: Chapter 8 gives a product compliance checklist, the drinking-water pH calculator and a pre-registered protocol. Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.

Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs. The book is not medical advice and claims no effect of any water or drink on any disease.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only

250 mL into 50 mL at pH 1.7 (basal acid 2 mmol/h)
water          Alk mM      base     pH  plain  basal s  servings
ionized RO      0.032    0.0079   2.48   2.48     14.2    1980.9
mineral-dosed   0.414    0.1035   2.53   2.48    186.2     151.4
hard tap        4.113    1.0282   4.87   2.48   1850.7      15.2
bicarbonate    35.608    8.9020   6.47   2.48  16023.6       1.8
ionized RO    -> label pH only: alkali negligible
mineral-dosed -> small buffer: mostly dilution
hard tap      -> real alkali load: count it
bicarbonate   -> real alkali load: count it
Show the full program
# Chapter 8. p82: The drinking-water pH calculator, core of distill/tool.
# For one serving of a water given by label pH and bicarbonate (mg/L):
# alkalinity (p21), exact pH after mixing with resting gastric juice by
# closed carbonate charge balance (p22), the same volume of pure pH 7
# water for comparison (dilution only), seconds of basal acid output that
# carry the same acid as the serving carries alkali (p12, 2 mmol/h
# illustrative), and servings needed to offset one 150 g meat portion
# (PRAL +15.66 mEq, p42). Verdict thresholds are this book's rules.
# 饮水 pH 计算器核心:与 distill/tool.py 同一套公式。
import math

KW = 1.0e-14
K1, K2 = 10 ** -6.35, 10 ** -10.33
MEAT_PRAL = 15.66


def alphas(h):
    den = h * h + K1 * h + K1 * K2
    return h * h / den, K1 * h / den, K1 * K2 / den


def water(ph, hco3_mg):
    h = 10.0 ** -ph
    a0, a1, a2 = alphas(h)
    ct = hco3_mg / 61.02e3 / a1
    return math.fsum([ct * (a1 + 2 * a2), KW / h, -h]), ct


def solve_ph(alk, ct):
    lo, hi = -1.0, 14.0
    for _ in range(200):
        mid = 0.5 * (lo + hi)
        h = 10.0 ** -mid
        a0, a1, a2 = alphas(h)
        f = math.fsum([ct * (a1 + 2 * a2), KW / h, -h, -alk])
        if f < 0:
            lo = mid
        else:
            hi = mid
    return 0.5 * (lo + hi)


def mixed(ph, hco3, vol, g_ph, g_l):
    aw, cw = water(ph, hco3)
    hg = 10.0 ** -g_ph
    ag = KW / hg - hg
    vt = vol + g_l
    return solve_ph(math.fsum([aw * vol, ag * g_l]) / vt, cw * vol / vt)


def assess(ph, hco3, vol=0.25, g_ph=1.7, g_ml=50.0, bao=2.0):
    g_l = g_ml / 1000.0
    alk, ct = water(ph, hco3)
    base = alk * vol * 1000.0
    after = mixed(ph, hco3, vol, g_ph, g_l)
    plain = mixed(7.0, 0.0, vol, g_ph, g_l)
    secs = max(base, 0.0) / bao * 3600.0
    serv = MEAT_PRAL / base if base > 0 else float("inf")
    if base < 0.1:
        verdict = "label pH only: alkali negligible"
    elif after - plain < 0.5:
        verdict = "small buffer: mostly dilution"
    else:
        verdict = "real alkali load: count it"
    return dict(alk=alk * 1000.0, base=base, after=after, plain=plain,
                secs=secs, serv=serv, verdict=verdict)


DEMO = [("ionized RO", 9.5, 0.0), ("mineral-dosed", 9.5, 18.0),
        ("hard tap", 7.6, 250.0), ("bicarbonate", 6.6, 2172.0)]
print("250 mL into 50 mL at pH 1.7 (basal acid 2 mmol/h)")
print("{:13s} {:>7s}  {:>8s}  {:>5s}  {:>5s}  {:>7s}  {:>8s}".format(
    "water", "Alk mM", "base", "pH", "plain", "basal s", "servings"))
for name, ph, hc in DEMO:
    r = assess(ph, hc)
    print("{:13s} {:7.3f}  {:8.4f}  {:5.2f}  {:5.2f}  {:7.1f}  {:8.1f}"
          .format(name, r["alk"], r["base"], r["after"], r["plain"],
                  r["secs"], r["serv"]))
for name, ph, hc in DEMO:
    print("{:13s} -> {}".format(name, assess(ph, hc)["verdict"]))

Single source and citation

Fan, Y. (2026). Alkaline Water against Gastric Acid, the TDS Myth and Electrolyte Dosing in Drinking Water (Version 1.0.0), Chapter 8: Closing the Loop: a Product Compliance Checklist, the Drinking-Water pH Calculator and a Pre-Registered Protocol. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-192 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026192,
  author    = {Fan, Yafu},
  title     = {Alkaline Water against Gastric Acid, the TDS Myth and Electrolyte Dosing in Drinking Water},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book