1. Introduction
The optimal reactive power dispatch (ORPD) complements the conventional active power dispatch and normally seeks to minimize energy losses through reactive power management. This is accomplished by moving transformer taps, by adjusting generator set-points, and by means of shunt compensation elements (capacitor and inductor banks) [
1]. The ORPD involves continuous decision variables (generator voltage set-points) and discrete decision variables (transformer and reactive bank taps), as well as a typically nonlinear objective function (minimization of power losses). From the point of view of mathematical complexity, the ORPD is nonlinear and non-convex. In the search for solutions to the ORPD, various strategies and techniques have been used to address this problem efficiently and effectively. Among these strategies, the implementation of metaheuristic algorithms and exact techniques stand out. In particular, metaheuristic techniques have proven to be effective in finding high-quality solutions to nonlinear and non-convex optimization problems in different domains in engineering [
2,
3,
4].
Among the metaheuristic algorithms used for solving the ORPD, there are genetic and evolutionary programming approaches such as those presented in [
5,
6]. These algorithms are inspired by the process of natural selection, in which a population of candidate solutions undergoes the stages of selection, crossover, and mutation to find new and fitter solution candidates. There are also algorithms inspired by physical phenomena such as the effect of gravity [
7], where each possible solution is simulated as an object with a defined mass value, which is used to indicate the fitness of an objective function. There are also algorithms based on the cooling of materials [
8], where the temperature changes of a specific material are used to determine an objective function while considering the nonlinearity in the material’s temperature changes. Other algorithms are inspired by the behavior of certain groups or organisms, such as particle swarm optimization (PSO) [
9,
10], ant colony optimization [
11,
12,
13], and artificial bee colony optimization [
14,
15]. These algorithms efficiently explore the search space and converge to optimal or near-optimal solutions for various complex optimization problems. In [
16], a search algorithm based on the process of teaching and learning was proposed to solve the ORPD problem. This technique emulates the interaction between individuals and how they learn from each other to improve themselves, simulating the methods of learning and teaching that occur in the interactions between teachers and students. In [
17], the authors solved the ORPD in several IEEE test systems using the chaotic bat algorithm (CBA). This metaheuristic is inspired by the echolocation behavior of bats in nature. The CBA combines the principles of swarm intelligence and chaos theory to search for optimal solutions in complex problem spaces. A multi-objective evolutionary algorithm was proposed in [
18] to solve the ORPD considering wind and solar energy sources. The study employed probabilistic mathematical modeling with the Weibull, lognormal, and normal probability distribution functions. A grey wolf optimization (GWO) algorithm was proposed in [
19] to solve the ORPD. In this case, the authors considered three objective functions, namely the minimization of transmission line losses, the enhancement of voltage stability, and the minimization of energy costs. In [
20], the ORPD was solved by means of a fractional PSO hybridized with a gravitational search algorithm (GSA). The objective function was the minimization of power line losses and voltage deviation.
On the other hand, exact techniques allow finding globally optimal solutions under the conditions of the convexity of the problem. Some of these techniques are based on branch-and-bound or branch-and-cut approaches, which solve optimization problems by breaking them down into smaller sub-problems [
21]. In [
22], the authors proposed a convex programming model that solves the optimal active and reactive power dispatch in the context of energy markets. The main advantage of this modeling approach is the fact that it guarantees global optimal solutions; nonetheless, it is limited to a single period of time.
Although there are many approaches to solve the ORPD, there are few studies that approach the multi-period version of this problem (MP-ORPD). In MP-ORPD analyses, the power system is modeled and its behavior is simulated over several periods, usually a full day (24 h). For each period, the operating conditions are analyzed and decisions are made regarding the control and operation of the system. The MP-ORPD allows the assessment of events and the behavior of the power system in the analyzed periods, such as the increase in demand, as well as tap changing in shunt devices and transformers, among others. In this way, possible system problems or limitations can be identified and preventive measures can be taken to avoid system stability or security issues [
23,
24]. Different indices are used to assess stability in power systems [
25,
26]. Among these are the active power–voltage (PV) and reactive power–voltage (QV) curves, which establish the voltage stability margin for an operating condition; the short-circuit level, loadability of transmission lines [
27], and the amount of reactive power reserve of the system [
28] are also used to evaluate the proximity to voltage instability. In addition, there are indices that use phasor measurements by means of synchrophasor measurement devices (PMUs) [
29] and indexes such as the “L” index [
30], which makes it possible to identify the most-critical buses, and the “Kv” index [
31,
32], which measures the distance between the operating point of a bus voltage and its critical value.
Analyzing the system considering the conditions of each period and area provides solutions that are closer and more consistent with the needs of network operators. On the other hand, the scarcity of studies addressing the ORPD under different operational areas and periods highlights the need to address this issue. The multi-area approach (MA-ORPD) can be implemented by means of voltage control areas (VCAs), which are regions of the system controlled by regulating the voltage levels of the buses located in it. Each VCA is constituted by a group of buses called coherent bus sets (sets of generation and load buses interconnected by transmission lines and transformers) that present similar stationary voltage behavior patterns [
33,
34]. Determining a VCA involves the use of pilot nodes, which act as a reference point to measure the voltage levels throughout the VCA. There are different methods for calculating pilot nodes, such as the voltage sensitivity analysis method [
25], the method based on the Jacobian matrix [
35], and the k-means cluster-based approach [
36]. In the case of the multi-area ORPD problem, network-reduction techniques have been developed that allow, by means of VCAs, representing the system in a simplified way, without sacrificing the accuracy of the results. Techniques such as aggregation methods, node-elimination methods, the Kron equivalent method, the Ward equivalent method, and the Thevenin equivalent method, among others, can be found in the literature.
Table 1 presents a comparison of the characteristics of the proposed model in relation to previous research works reported in the specialized literature. Note that MP-ORPD approaches do not consider multiple areas; furthermore, the multi-area approaches (MA-ORPD) found in the literature review are limited to the study of a single time period. Nonetheless, in this paper, we propose a multi-area and multi-period approach to the ORPD problem (MA-MP-ORPD) using a commercially available solver able to provide an exact solution. The inclusion of this modeling approach represents the main contribution to the existing literature.
The use of VCAs and the Ward equivalent network allows the system to be separated into voltage control areas supervised by pilot nodes. From the identification of these nodes, an equivalent network is constructed with fewer nodes and lines, in which the same power, voltage, and current relationships are maintained as in the original system. This equivalent network allows for more-efficient analysis and detailed studies, reducing the time and cost required to perform simulations on the original system. This separation is used to perform the multi-area analysis of the ORPD as indicated in [
40,
41]. Furthermore, in this work, the time dimension is added, resulting in an MA-MP-ORPD problem. To summarize, the innovative points and main contributions of this paper are as follows:
A model is proposed to solve the MA-MP-ORPD problem from the electric operator’s point of view; therefore, it seeks to solve a set of objectives related to the minimization of deviations from the desired operating values.
The main purpose of the MA-MP-ORPD is to ensure long-term operational viability; this involves minimizing transformer tap maneuvers, as well as the input and output of capacitive compensators, which aims to increase the lifetime of these devices.
The multi-area model uses a separation by means of VCAs and the Ward equivalent network, which allows reducing highly complex systems to smaller and more-manageable systems. This helps convergence and decreases the complexity of the optimization model.
Pilot nodes are used to maintain system voltage stability by minimizing the voltage deviation of these nodes from a target voltage, which helps to reduce complexity by not using all the nodes in the system.
This paper is organized as follows:
Section 1 presents a brief introduction and a literature review of the ORPD.
Section 2 discusses how the optimization model and the objective function are devised along with the implemented constraints.
Section 3 presents the results delivered by the optimizer for each of the test systems addressed.
Section 4 presents the general conclusions of the study.
3. Test and Results
The validation of the proposed optimization model was performed using the IEEE 39 and 57-bus test systems, which are widely known in the technical literature. The separation of areas by means of VCA and the selection of pilot nodes for the two test systems selected in this work were carried out taking into account the results obtained in [
23,
48]. The modeling was implemented in the Python programming language, through the use of the PandaPower [
49] and Pyomo [
50] libraries. The PandaPower library was used to obtain all the conditions of the power system. The Pyomo library was used to create the presented optimization model, as well as its connection with the BONMIN solver, which provides the solution of the model. It is worth mentioning that, due to the nature of the problem, there was not a guarantee of obtaining globally optimal solutions. In this optimizer, the variables
,
, and
were used as
,
, and 10, respectively, for the IEEE-39 bus system, and
,
, and
were used as
,
, and 10, respectively, for the IEEE-57 bus system. This was performed to ensure equal values for each equation and to give equal importance to each part of the equation being optimized.
The MA-MP-ORPD performs the separation of the areas by means of the Ward equivalent, and for each of the areas obtained, a multi-period analysis was performed, which implies time dependence and the use of a demand curve.
Figure 2 shows the behavior of the demand curve (in percentage) used to create the 24 periods. In this document, the load conditions are presented through a spring workday load curve available at [
51].
3.1. IEEE 39-Bus Test System
This system is composed of 39 nodes, 35 lines, and 11 transformers. Furthermore, 10 generators and 21 loads are incorporated, which are connected to the buses to simulate power generation and demand in the network, as shown in
Figure 3. Additionally, the separation by VCA and the selection of the pilot nodes are shown. In Period 11, the system reaches its maximum power with a value of 6254 MW and 1387 MVAr. The initial conditions are obtained from the solution of a base load flow with the PandaPower library, where the values of the transformer taps are in the neutral position.
This system is divided into three voltage control areas [
48]. Each area has two pilot nodes in charge of representing and guaranteeing the corresponding voltage profiles, which are marked with an asterisk in
Figure 3. The generators in each area feature an adjustable set-point between 0.9 and 1.1 p.u., which is used to regulate the system voltage. Additionally, the transformers have a tap value between 0.9 and 1.1 p.u., with steps of 0.01 p.u. for each tap operation.
3.2. IEEE 57-Bus Test System
This system consists of 57 nodes, 65 lines, and 16 transformers. It also incorporates seven generators and 42 loads, which are connected to the buses to simulate the generation and demand of energy in the network, as shown in
Figure 4. Additionally, the separation by VCA and the selection of the pilot buses are shown. In Period 11, the system reaches its maximum power with a value of 1250 MW and 336 MVAr. The initial conditions are obtained from the solution of a base load flow with the PandaPower library, where the values of the transformer taps are in the neutral position.
This system is separated into three areas; each area has two pilot nodes (marked with an asterisk in
Figure 4). The generators in each area feature an adjustable set-point between 0.9 and 1.1 p.u., which is used to regulate the system voltage. Additionally, the transformers have a tap value between 0.9 and 1.1 p.u., with steps of 0.01 p.u. for each tap operation. The system has three shunt devices, which are capacitive compensations of 10, 5.9, and 6.3 MVAr located at buses 18, 25, and 53, respectively; four steps were considered for each capacitor.
The values of the control variables for the MA-MP-ORPD in the test systems are presented in
Appendix A, which indicates the settings for the capacitors, transformers, and generation voltages for each period of time. In this Appendix, it is possible to verify that all variables remained within their safe operating ranges. All the results presented below correspond to the objective function given by Equation (
1). In each case, the result of the multi-area and multi-period optimization (MA-MP-ORPD) was compared with the base case. For reactive power reserves, the multi-period optimization presented in [
23] was used for comparative purposes. The base case represents the system condition in which only the active power distribution has been optimized; therefore, there are no objectives related to the voltage set-point nor to reactive power management in the compensation elements and generators. This case starts from the system present in the PandaPower library, by means of which an initial load flow is calculated. The base case is taken as a reference to show the difference between the MP-ORPD optimization result, the MA-MP-ORPD optimization result, and the system input information, which allows understanding how the control variables change.
3.3. Results with the IEEE 39-Bus Test System
The voltage profiles of the pilot nodes in each of the areas are presented in
Figure 5. For each pilot node, a reference curve to be followed in voltage control was defined, and it was observed that the optimizer managed to maintain the voltage profile in line with the curves proposed for these nodes. The shape of the proposed voltage profiles allows the development of an operational strategy that defines a safe profile for each of the demand conditions and guarantees the voltage stability of the system.
The changes in transformer taps in each area are shown in
Figure 6. Each area has transformers and voltage control elements that the optimizer uses to increase reactive power resources. The condition of performing only one tap movement per period was considered, in order to avoid excessive movements that are not desirable in the operation of these devices and reduce their useful lives. The results showed that the movement of taps was a variable that contributed to a better result, and its use benefited the voltage profiles of the system.
The IEEE 39-bus test system has a high reactive power demand, which is evident in
Figure 7, where the red bars represent the base case of the system obtained by load flow using the PandaPower library. The demand profile used, presented in
Figure 2, shows that the maximum demand was found in the periods close to Hours 11 and 20, which implies that the reactive power reserves for these periods are lower. The blue bars represent the results obtained with the MP-ORPD optimizer (which is run on the entire system, and then, the results are separated for each area), where it can be seen that good results were obtained compared to the base case, since for all areas, an increase in reactive power reserves was achieved.The green bars show the results of the MA-MP-ORPD on the three VCAs obtained from the system. The multi-area model shows a better performance in increasing reactive power reserves as shown in
Table 2, where it can be seen that Area 3 had the highest increase with a value of 59%. This was due to the fact that, by having an optimizer that seeks to maximize the reactive power reserves of the system in each area, a greater sensitivity to the particular needs of each VCA is achieved, which correspond to the specific needs present in the normal operation of the interconnected electrical system.
Figure 8 presents the evaluation of the stability index presented in Equation (
22) for each node other than the pilot nodes. The boxplot is used to observe the behavior of the
index of each bus in every VCA in the 24 periods, using as lower and upper limits of 0.85 p.u. and 1.15 p.u., respectively; this is considered as the safe operating range for evaluating the index presented.
Figure 8 shows that the
index increased for most of the buses, indicating that the system was far from critical voltages. The
index allows knowing the behavior of the voltages in the different buses and to take corrective actions to improve the voltage stability in the most-impacted area.
3.4. Results with the IEEE 57-Bus Test System
This test system presented similar results to the previous network when applying the proposed MA-MP-ORPD. In this case, a voltage profile to be followed was also defined for each of the pilot nodes in order to preserve the voltage stability of the system. The results presented in
Figure 9 show that the voltage profiles in the pilot nodes were maintained with respect to the base profiles. It was observed that Area 1 had the lowest voltage profiles due to the higher concentration of demand away from the generation nodes. The base voltage profiles sought to maintain the system voltage profiles at safe values to increase system stability.
Figure 10 shows the most-significant transformer tap changes in each of the system areas. For the most part, the transformers remained in a single tap position, as can be seen in Transformers 15–45 in Area 1. In the transformers presented, a change of one tap position per period was performed and a smaller movement in tap changes was observed in all of them. In addition, it was observed that the taps were maintained to a greater extent at a value lower than 1 p.u. In the capacitive compensators, it was observed that, for all devices and all periods, these were maintained in a single position corresponding to the largest step. This was due to the fact that the number of maneuvers in these elements was penalized, and since the system requires reactive power, these devices operated with the highest reactive capacity they could deliver.
The results of the evaluation of reactive power reserves with respect to the base case are shown in
Figure 11, where the results of the MP-ORPD and MA-MP-ORPD are compared. Note that similar results to those presented in the previous system were obtained. The reactive power reserves increased for all periods compared to the base case. In particular, the MA-MP-ORPD obtained better results in the three evaluated areas, although in some periods, the MP-ORPD model performed better; however, considering the power reserve for the whole day, more reserves were obtained with the MA-MP-ORPD model.
Table 3 shows the percentages of increase in reactive power reserves for each of the areas, where it is evident that the multi-area optimization presented the best results with up to a 60% increase in Area 3. This improved performance was due to the model’s ability to increase reactive power reserves by area, focusing on the particular needs of each part of the system to improve the overall system. In this case, the MA-MP-ORPD model offered greater benefits and greater control of reactive power generation in each VCA.
Figure 12 illustrates the evaluation of the
stability index presented in Equation (
22) for each node other than the pilot nodes. The boxplot shows that, for the IEEE 57-bus test system, there was an increase in the
index of most of the buses, which implies that the system presents voltages farther away from their critical values (defined by the same limits used in the IEEE 39-bus test system) after performing the optimization. In Area 1, for Nodes 2, 3, 14, and 15, there was a decrease of the
index, which implies that, for these buses, the voltages were closer to their defined critical limits.
3.5. Sensitivity Analysis
A sensitivity analysis was carried out to verify the adaptability of the proposed model to changes in the system conditions.
Table 4 and
Table 5 show the results of increasing the reactive power reserves when starting the optimization process from different areas, selecting a specific area for its solution. The results obtained indicated that the model did not perform better when starting in a particular area with respect to the results for that area.
4. Conclusions
This paper presented a modeling approach to the optimal reactive power dispatch considering a multi-area system and different time intervals (MA-MP-ORPD). Three main components were considered in the formulation. The first component sought to maintain system voltage profiles within safe operating limits by using pilot nodes defined for each area under analysis. The second component aimed to minimize the number of maneuvers performed by static reactive power compensation devices, avoiding excessive wear and tear and, therefore, increasing the life expectancy of these elements. The third component sought to increase the reactive power reserves of the synchronous generators in each area.
The main feature of the proposed MA-MP-ORPD model lies in its ability to address complex electrical systems separated by voltage control areas and to consider the variation of the system demand in a given time horizon (24 h) in each of these areas. This allows solving the optimization model in reduced systems, i.e., by VCA, but interconnected. The above generated results that met the needs of the complete system, as evidenced by the results of the various tests performed on the test models.
The results of the tests showed that the number of operations on static compensation elements was minimized and that the constraints that limit changes in transformer taps from one period to another were maintained. This results in economic benefits to the owners of the equipment by avoiding excessive wear and preserving its useful life.
Additionally, the use of pilot nodes guarantees an adequate voltage profile in all areas and also reduces the convergence time. The Kv stability index, which measures the proximity of nodes to a critical voltage value, was used to analyze the impact on the system operation. The results showed that, for nodes other than pilot nodes, there was no significant impact that may affect the stable operation of the system. In addition, it was validated that this index, after optimization, did not present significant changes that may cause an operation in non-stable scenarios. The computing times were 5.6 and 14.9 s for the 39- and 57-bus test systems, respectively. The tests were performed on a personal computer with an AMD Ryzen 5 processor running at 3 GHz and 8 GB of RAM. This allowed concluding that the model was adequate to be integrated into the analysis performed by the network operators in medium- and short-term planning.
Future work may explore the possibility of parallelization to reduce the calculation time by dividing the problem into smaller tasks that run simultaneously on multiple processors. This can significantly accelerate the calculation time and improve the problem-solving efficiency. Furthermore, a comparative analysis of some control area partitioning methods that consider demand uncertainty and topological changes of the VCAs may be explored.