Title: Integration of Thermal Energy Storage into Energy Network