Optimal operating scheme of neighborhood energy storage communities to improve power grid performance in smart cities