Applications of energy storage systems