Modified PSO algorithm for real-time energy management in grid-connected microgrids. (June 2019)