The Optimal Reactive Power Dispatch (ORPD) problem consists of finding the optimal settings of reactive power resources within a network, usually with the aim of minimizing active power losses. The ORPD is a nonlinear and nonconvex optimization problem that involves both discrete and continuous variables; the former include transformer tap positions and settings of reactor banks, while the latter include voltage magnitude settings in generation buses. In this paper, the ORPD problem is modeled as a mixed integer nonlinear programming problem and solved through two different metaheuristic techniques, namely the Mean Variance Mapping Optimization and the genetic algorithm. As a novelty, the solution of the ORPD problem is implemented through a Python-DIgSILENT interface that combines the strengths of both software. Several tests were performed on the IEEE 6-, 14-, and 39-bus test systems evidencing the applicability of the proposed approach. The results were contrasted with those previously reported in the specialized literature, matching, and in some cases improving, the reported solutions with lower computational times.
Factors such as persistent demand growth, expansion project delays, and the rising adoption of renewable energy sources highlight the importance of operating power systems within safe operational margins. The optimal reactive power dispatch (ORPD) seeks to find operating points that allow greater flexibility in reactive power reserves, thus ensuring the safe operation of power systems. The main contribution of this paper is a multi-area and multi-period ORPD (MA-MP-ORPD) model, which seeks the minimization of the voltage deviation in pilot nodes, the reactive power deviation of shunt elements, and the total reactive power generated, all taking into account the operational constraints for each area. The MA-MP-ORPD was implemented in the Python programming language using the Pyomo library; furthermore, the BONMIN solver was employed to solve this mixed-integer nonlinear programming problem. The problem was formulated from the standpoint of the system operator; therefore, it minimizes the variations of critical variables from the desired operative values; furthermore, the number of maneuvers of the reactive compensation elements was also minimized to preserve their lifetimes. The results obtained on IEEE test systems of 39 and 57 buses validated its applicability and effectiveness. The proposed approach allowed obtaining increases in the reactive power reserves of up to 59% and 62% for the 39- and 57-bus test systems, respectively, while ensuring acceptable operation values of the critical variables.