Smart grid n cities