how to generate the flue gas in the boiler