Plate type heat exchanger for thermal energy storage and load shifting using phase change material