An Active and Reactive Power Controller for Battery Energy Storage System in Microgrids | IEEE Journals & Magazine | IEEE Xplore