South Africa plans to triple electricity production from renewable-energy sources to help alleviate power shortages that caused rolling blackouts throughout the country in recent weeks.