Storing excess renewable energy