“…The control of a MG is generally based on determining the power that must be delivered by each source, including storage elements, to feed a local demand. 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].…”