Kai Troester's mash-pH model as published in his 2009 paper and the 2.0 colour article, Microbrew.it's "braukaiser" setting. Its distinguishing move: base malts enter at their distilled-water pH, but every specialty malt enters at 5.7, the pH he titrated to, and hands its whole acid charge to a separate term. pH_grist = Σ pH_b × g_b + 5.7 × Σ g_s − Σ (a_s × g_s) ÷ B pH_mash = pH_grist + RA × V ÷ (B × m) − A ÷ (B × m) g_b, g_s: mass fractions of each base and specialty malt (all sum to 1) pH_b: base malt DI pH, 5.75 unless measured a_s: specialty malt specific acidity, mEq/kg: 14 + 0.13 × EBC for crystal malts (r² 0.77), a flat 40 for roasted malts, and 315–358 for acidulated malt (from its lactic acid content when published) B: grist buffer capacity, 35 mEq/(kg·pH) by his assumption RA: residual alkalinity, mEq/L; V: mash water, L; m: grist, kg; A: added acid, mEq The alkalinity term is his formula 23 and the acid term formula 25. Troester notes the alkalinity slope this gives (0.11 pH per mEq/L at 4 L/kg) is steeper than the 0.06 he measured; Microbrew.it implements it as published. Feeding a crystal malt's own pH into the average instead of 5.7 would double-count its acid.