I. Introduction
Microgrids (MG), also named minigrids, are becoming an important concept to integrate distributed generation (DG) and energy storage systems. The concept has been developed to cope with the penetration of renewable energy systems, which can be realistic if the final user is able to generate, storage, control, and manage part of the energy that will consume. This change of paradigm, allows the final user be not only a consumer but also a part of the grid.