Resumen
This paper proposes an interconnection of the MATLAB and GAMS software interfaces, which were designed based on a master-slave methodology, to solve the mixed-integer nonlinear programming (MINLP) model problem associated with the problem regarding the optimal location and sizing of static distribution compensators (D-STATCOMs) in meshed and radial distribution networks, considering the problem of optimal reactive power flow compensation and the fact that the networks have commercial, industrial, and residential loads for a daily operation scenario. The objective of this study is to reduce the annual investment and operating costs associated with energy losses and the installation costs of D-STATCOMs. This objective function is based on the classical energy budget and the capacity constraints of the device. In the master stage, MATLAB software is used to program a discrete version of the sine-cosine algorithm (DSCA), which determines the locations where the D-STATCOMs will be installed. In the slave stage, using the BONMIN solver of the GAMS software and the known locations of the D-STATCOMs, the MINLP model representing the problem under study is solved to find the value of the objective function and the nominal power of the D-STATCOMs. To validate the effectiveness of the proposed master-slave optimizer, the 33-node IEEE test system with both radial and meshed topologies is used. With this test system, numerical comparisons were made with the exact solution of the MINLP model, using different solvers in the GAMS software, the genetic-convex strategy, and the discrete-continuous versions of the Chu and Beasley genetic algorithm and the salp swarm optimization algorithm. The numerical results show that DSCA-BONMIN achieves a global solution to the problem under study, making the proposed method an effective tool for decision-making in distribution companies.