Sludge boiler math adjustments