Optimal Sizing of Energy Storage System in Active Distribution Networks Using Fourier–Legendre Series Based State of Energy Function | IEEE Journals & Magazine | IEEE Xplore