Abstract
Brazil is known worldwide for its electrical mix, largely composed of renewable energy. The modality that stands out is on-grid distributed generation, which combines energy purchase from the grid with generation through photovoltaic panels. Adding batteries to on-grid systems can increase energy efficiency, as these devices can store energy during periods of excess generation. The use of…