I. Introduction
Microgrids have recently emerged as a potential solution for electrical supply due to their advantages as environmental impacts reduction, reliability, and flexible operability [1], [2]. Basically, a microgrid is a cluster of distributed generators (DGs), loads, and energy-storage systems which can operate in two possible modes: grid-connected or islanded [3].