Energy storage methods for power grids