how to calculate the boiler rated heat