Majorly, MGs are controlled based on the hierarchical control strategy, including three control layers named primary, secondary, and tertiary control levels, which can be realized in decentralized, centralized, and distributed control structures. The Microgrid control functions as the brain of the microgrid, and thus requires a complex design consisting of three levels of control: primary, secondary, and tertiary. The implementation of a microgrid system provides s gnificant advantages for both electric utility and end-users. A main consideration is not only given to the. Josep M. The energy sources include solar.