@beerwright/core
    Preparing search index...

    Function applyBoilShrinkage

    • Hot wort volume corrected to 20 °C.

      V₂₀ = V_hot × (1 − shrinkage%/100). 4 % is the conventional figure for boiling → room temperature.

      This is the planning version of the physics that ./corrections' correctVolumeToReference applies to a measurement. The two agree: water's density ratio between 100 °C and 20 °C is 0.960088, so the physical figure is 3.991 % against the 4 % used here, and corrections.test.ts checks they stay within 0.01 percentage points.

      They're separate functions because they answer different questions. This one takes a percentage from the equipment profile, so a brewer whose rig consistently loses more between flame-out and the measuring jug can raise it and the whole waterfall follows. The correction takes a measured temperature, because a sight glass read at 85 °C needs the contraction for 85 °C, not for boiling.

      Parameters

      • hotVolumeL: number
      • shrinkagePercent: number = 4

      Returns number