They've got that figured out too. https://www.smartgrid.gov/project/sustainx_inc_isothermal_compressed_air_energy_storage.htmlUnfortunately they failed to mention one of the huge reasons why compressed air storage never caught on. When you compress air it get's hot. A bunch of the energy you use to compress it goes into that heat. Which get's dissipated into the surrounding rock overnight as it sits. Then when you decompress it, the air get's really cold. So you have to burn natural gas to heat the air back up as you decompress it. Not terribly efficient, not to mention the paucity of giant airproof caves in the places where you need them