https://en.wikipedia.org/wiki/Energy_storage
There have wildly different prices for unit of stored energy and wildly different storage times.
https://css.umich.edu/publications/factsheets/energy/us-grid...
It's not cost effective run aluminum smelting only during peak electricity production.