Electricity generators will face penalties of up to $10m if they don't shore up supply ahead of dry years.