Abstract
This work develops a methodology for operating Battery Energy Storage Systems (BESSs) in distribution networks, connected in parallel with a medium- and small-scale photovoltaic Distributed Generator (PMGD), focusing on a real project located in the O’Higgins region of Chile. The objective is to increase energy sales by the PMGD while ensuring compliance with operational constraints related to the grid, PMGD, and BESSs, and optimizing renewable energy use. A real distribution network from Compañía General de Electricidad (CGE) comprising 627 nodes was simplified into a validated three-node, two-line equivalent model to reduce computational complexity while maintaining accuracy. A mathematical model was designed to maximize economic benefits through optimal energy dispatch, considering solar generation variability, demand curves, and seasonal energy sales and purchasing prices. An energy management system was proposed based on a master–slave methodology composed of Particle Swarm Optimization (PSO) and an hourly power flow using the successive approximation method. Advanced optimization techniques such as Monte Carlo (MC) and the Genetic Algorithm (GAP) were employed as comparison methods, supported by a statistical analysis evaluating the best and average solutions, repeatability, and processing times to select the most effective optimization approach. Results demonstrate that BESS integration efficiently manages solar generation surpluses, injecting energy during peak demand and high-price periods to maximize revenue, alleviate grid congestion, and improve operational stability, with PSO proving particularly efficient. This work underscores the potential of BESS in PMGD to support a more sustainable and efficient energy matrix in Chile, despite regulatory and technical challenges that warrant further investigation.