Cities have played a key role in the rise of renewable energy, especially solar and wind, due to building energy codes and benchmarking policies.