Flexible operation of active distribution network using integrated smart buildings with heating, ventilation and air-conditioning systems. (15th September 2018)