thermal energy use a boiler engine