A scalable and robust approach to demand side management for smart grids with uncertain renewable power generation and bi-directional energy trading. (April 2018)