Conserving energy in the production of aluminum