Gas consumption calculation of oil hot water boiler