Here two video’s on renewables (or potential use of renewables) in cities. First the mere consideration of solar power is a good idea if the electricity is used to provide cooling, although it’s more efficient to use solar heat for cooling.
The boombox type gas cathalytic system for electricity and other designs of combined heat and power are not green, unless the gas used is made using solar thermal power or unfertilized biogas, two possiblities. Still the strong point is that gas loses less energy (none?) when transported, pumping could be powered by renewables. The use of the heat (60% of the energy in the gas) for building heating or indirectly for cooling increases the utility. Of course this remains part of the gas transition, which will mean the transformation of all minable methan in CO2 and H20, the death blow to our eco system.