Energy storage in renewables