Smart grids are conceived as a system to optimally manage the set of means that are part of the electricity grid to achieve adequate performance in the distributed generation system in the supply of quality electricity. The objective of this study was to analyze the importance of smart grids in distributed generation and how the elements that make it up allow the implementation of this technological innovation. The methodology was based on the mixed approach, of experimental design with descriptive scope and documentary support, the experimental method was applied for programming with the use of Homer Pro software. The results were obtained by simulation, carried out for a distributed generation system with a consumption of 197.78 kWh/day, obtaining important data such as the amount of kW of electricity generation supplied in a year, with a value of 98,114 kWh/year.