The aim of this research was the optimal management of overvoltage in the photovoltaic system with the goal of maintaining voltage stability and reducing network losses. In the simulation process, a network with multiple buses and several scattered production sources was considered. These sources had varying generation capacities. Preliminary results indicated that system stability could be categorized as low, medium, or high depending on the distance between each bus and the scattered production sources. Buses located closer to the generation sources experienced minimal voltage oscillation, while those farther away showed greater fluctuations. This finding emphasized the importance of properly distributing generation to match network demand, particularly in areas where inconsistencies between production and demand led to power waste. The overvoltage levels of each distributed generation source were analyzed at individual buses, and the data was used to assess requirements across the network. The optimal distribution was aligned with network consumption and demand, allowing effective compensation for observed power deficits in certain buses through power transfer from distributed sources. To develop an optimal management model for overvoltage distribution, efforts were made to establish equilibrium among network buses and generation sources. The buses were categorized into operational modes based on their distribution profiles, and each mode was assessed for efficiency in overvoltage control. Results demonstrated that by selectively focusing on specific modes that excluded certain buses, network optimization could be improved. The findings highlighted the effectiveness of targeted overvoltage control strategies, especially in zones with higher instability.