Readonlyacid: AcidIdReadonlybufferingMEqPerPh: numberThe kettle's buffering, mEq per pH unit.
Optional ReadonlyconcentrationPercent?: numberStrength, % w/w. Defaults to the acid's own default.
ReadonlymeasuredPh: numberThe meter reading, pH.
ReadonlytargetPh: numberThe target, pH.
Acid to bring a measured kettle pH down to a target.
The acid's strength is evaluated at the target pH and not at the reading, because the equivalents a polyprotic acid delivers depend on the pH it ends at, which is the target.
acidifyWateruses the same convention for the sparge, andsolveAdditionsForTargetPhgets there from the other direction by re-predicting the mash pH at each trial dose until it hits the target.Wort at or under the target returns a zero dose with
noAcidNeededset. A negative amount would mean taking acid out of the kettle.