How to store renewable energy