Coordinating the operations of smart buildings in smart grids. (15th October 2018)