advantages and disadvantages of thermal energy