South African town forced to reduce solar energy production