Thermal energy storage to minimize cost and improve efficiency of a polygeneration district energy system in a real-time electricity market. (15th October 2016)