African cities are in a race to keep up with the global trend of environmental sustainability and renewable energy in urban areas.