“…This implies the need for a primary controller for each power converter and a secondary controller to manage the system energy [9,10]. Depending on the size and utility of the MG, other levels of controller may be necessary, such as demand side management, achieving total control, and improving the efficiency of the entire system [11,12]. Generally, the aim of a MG primary controller is to keep the voltage, current, or power within a reference value fixed by the secondary controller, both working as a global controller while rejecting system disturbances, such as load changes or variations, on PV array conditions.…”