Applications of energy storage