Currently, the United Nation’s Sustainable Development Goals (SDGs) established in the Agenda 2030 have stimulated a series of actions by several countries, such as affordable and clean energy (SDG7) and sustainable cities and communities (SDG11). These objectives lead to thinking about the concept of smart grids (SG) so that the communities can become more sustainable in terms of energy and climate change. The paradigm is complex in a world where gas emissions, the greenhouse effect, and energy consumption from processes that include fossil fuels, damage the environment and undermine the conditions of well-being and good living. For this reason, project initiatives are being developed that seek the modernization of electricity generation and distribution systems in communities. One of the strategies is the creation and adaptation of micro-grid architectures that adapt to their operational context. The microgrid concept focuses on the controlled use of electrical energy, with a high degree of autonomy, monitoring, and control supported by information technology (IT), to optimize energy transfer while minimizing risks, and increasing quality, efficiency, and reliability of energy supply.