ReadonlyadditionsFruit, sugar, flavourings and spirits folded in. Empty means none.
ReadonlycomponentsThe beers going into the blend.
ReadonlykegVolume going to keg, litres. The rest of the blend is bottles. null
means the whole blend is bottled.
Optional ReadonlymeasuredFinal gravity measured on the blend itself (not on a component), or
null if it hasn't been measured yet.
The volume-weighted FG describes the blend on the day it was mixed, while BlendEvaluation.extractVolumes and BlendEvaluation.abvWithAdditions both describe it months later, once everything sweeter than the driest component has fermented down to that floor. A measurement tells us where the blend actually is now, so when it's present it replaces the predicted extract term and ABV.
Optional ReadonlymeasuredThe day measuredFg was read, or null.
We need it because a hydrometer reading already includes every addition
made before it; the fruit's sugar is in that number. Without the day we
can't tell whether an addition came before or after the reading, and the
fruit would be counted once in the gravity and again in
abvWithAdditions.
Optional ReadonlypackagedThe day the blend is packaged. Any addition sugar that hasn't fermented by then ends up in the bottle.
null when the blend hasn't been packaged and the caller has no date. In
that case no addition can be judged, and none of them count toward the
priming dose. For a blend that's still conditioning, pass today's date to
answer "if I bottled this now, what would still be sugar?".
Optional ReadonlysugarThe sugar to prime with. Defaults to table sugar.
ReadonlytargetTarget carbonation, volumes of CO₂.
Inputs to evaluateBlend.