added support for thermal energy in the pie chart