what is thermal energy in coal fired boilers