By turning excess green energy into storable heat, the sand battery helps to maximize the use of renewables.