In order to efficiently integrate intermittent renewable energy into our grids, we need to change the role that buildings play in a city. Instead of being mere consumers, they need to become a swarm of smart prosumers capable of stabilizing...