thermal energy integration