Impact assessment of energy storage and electric vehicles on smart grids