Role of energy storage systems