Thanks AJ. I sent you a pm.
I'll probably update and reupload "q-water" tomorrow with all the new malts
I'll fire that off to you but probably not until tomorrow.
I hope you'll be able to figure out how to use it. The basis for the whole thing is that you specify malt amounts, water alkalinity, acid or base amounts calcium and magnesium amounts and a trial pH. It then calculates the proton deficit or surfeit (negative deficit) from each of those mash components and tells you what the total proton deficit is. If that's a positive number then your trial pH is too low (you'd have to add acid to reach it) and conversely if it is a negative number (there is a proton surfeit and you'd have to absorb protons to reach that pH). You have to keep tweaking the trial pH until you find the pH that zeroes out the deficit. This can be done by you using, for example, the techniques of root bisection or you can let Excels Solver do it for you automatically (vastly preferred).
I think the best solution for (home)brewers would be if maltsters provided just DI pH and one buffering capacity at pH 5.4 for each batch of malt.
You need to be able to calculate the amount of acid required to get to the target pH of interest. Thus you need at least two terms:
mEq/kg = a1*(pH - pHdi)
where the two terms are a1 and pHdi which can be derived from the kind of titration Kai did but a1 is the average buffering capacity between pHdi and whatever target pH you choose to measure at. It is not the buffering (slope) in the vicinity of the target pH. To get that you'd need to have a third term, a2 and
mEq/kg = a1*(pH - pHdi) + a2*(pH - pHdi)^2.
The buffering in the region of interest is then
d(mEq/kg)/dpH = 2*a2*(pHmash - pHdi)
You could, of course, do the expansion about the mash pH
mEq/kg = b1 + b2*(pH - pHmash)
but then what value would you pick for pHmash? It just seems natural to expand about pHdi. Whichever way you do it you will have to take
at least 3 measurements one at pHdi, one at pHmash and another near pHmash.
I'd imagine it's way more difficult to titrate from pH 4.6 to 6.6 like in the Water book.
It is very difficult or if not difficult, time consuming.
But what's the point when really the mash pH range is only ~5.3-5.5?
As the numbers come in for each value of added or subtracted acid I do a mmse curve fit (find values for a1, a2 and a3 which minimizes the rmse between the curve constructed from those parameters and the measured data). One looks at the generated curve, the data the residuals and the standard errors in the estimates of a1, a2 and a3. There is a definite art to curve fitting. One keeps adding measurements until the residuals look good and one is sure he has the inflection points defined. Depending on the malt (or, in particular, how non linear it is) one may have to measure quite a few points. Keep in mind that one is sort of averaging down measurement errors in this process. If we can ever get maltsters on board doing this I expect experience will allow smarter methods for determining the coefficients and it may even turn out that only a1 and a2 are needed.
I don't understand why it became a common practice to measure malt acidity by titrating to pH 8.3 or 4.3? It nicely fits the indicator color change pH, but what use is this number for the brewer?
Those numbers do fit, respectively, phenolpthalein and methyl orange but they also represent the pH's at which, respectively, all carbonate/bicarbonate has been converted to carbonic acid and at which all carbonic acid has been converted to bicarbonate. Thus those titration end points are valid only for potable waters in which the only sources of alkalinity or acidity are derived from limestone and CO2. But take someone who isn't that sophisticated WRT the chemistry here and tell him you want to measure the acidity of malt. As far as he knows acidity is measured to pH 8.3 and so that's what he does.
Bottom line is that sufficient measurements must be taken at whatever pH's are necessary to obtain sufficient quality in a1, a2 and a3 such that those coefficients produce sufficiently accurate estimates of proton deficit in the region say 5.0 to 5.7.