A Portuguese study has modelled how surplus wind and solar power could be stored as compressed air in deep porous rock. In the most favorable scenario, one reservoir could hold up to 1 TWh, close to the consumption of some medium-sized cities.

Portuguese study maps rock storage for renewable power
EURONEWS