Thermal energy storage applications from an energy saving perspective