calculation of heat input of water to boiler