Cape Town Mayor Patricia de Lille says the city will embark on a program to generate its own energy from renewables by 2020.