Next Article in Journal
Coopetition with the Industrial IoT: A Service-Dominant Logic Approach
Previous Article in Journal
Recent Trends of Authentication Methods in Extended Reality: A Survey
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimation of Total Real and Reactive Power Losses in Electrical Power Systems via Artificial Neural Network

by
Giovana Gonçalves da Silva
1,
Alexandre de Queiroz
1,
Enio Garbelini
2,
Wesley Prado Leão dos Santos
2,
Carlos Roberto Minussi
3 and
Alfredo Bonini Neto
2,*
1
School of Engineering, São Paulo State University (Unesp), Bauru 17033-360, SP, Brazil
2
School of Sciences and Engineering, São Paulo State University (Unesp), Tupã 17602-496, SP, Brazil
3
School of Engineering, São Paulo State University (Unesp), Ilha Solteira 15385-000, SP, Brazil
*
Author to whom correspondence should be addressed.
Appl. Syst. Innov. 2024, 7(3), 46; https://doi.org/10.3390/asi7030046
Submission received: 12 April 2024 / Revised: 17 May 2024 / Accepted: 24 May 2024 / Published: 29 May 2024
(This article belongs to the Section Artificial Intelligence)

Abstract

:
Total real and reactive power losses in electrical power systems are an inevitable phenomenon and occur due to several factors, such as conductor resistance, transformer impedance, line reactance, equipment losses, and phase unbalance. Minimizing them is crucial to the system’s efficiency. In this study, an artificial neural network, specifically a Multi-layer Perceptron, was employed to predict total real and reactive power losses in electrical systems. The network is composed of three layers: an input layer consisting of the variables loading factor, real and reactive power generated on the slack bus, a hidden layer, and an output layer representing the total real and reactive power losses. The training method used was backpropagation, adjusting the weights based on the desired output. The results obtained, using datasets from IEEE systems with 14, 30, and 57 buses, showed satisfactory performance, with a mean squared error of around 10−4 and a coefficient of determination (R2) of 0.998. In validation with 20% of the data that was not part of the training, the network demonstrated effectiveness, with a mean squared error around 10−3. This indicates that the network was able to accurately predict total power losses based on loads, generating estimates close to the desired values.

1. Introduction

During the process of delivering energy to final consumers, a substantial portion of energy is dissipated in the transmission and distribution systems, resulting in both technical and non-technical losses. Technical losses, which include inefficiencies in equipment and infrastructure, cause economic losses and environmental impacts on a national scale [1]. Therefore, optimizing these losses must be addressed comprehensively and nationally, regardless of the institutional structure of the electricity sector or the ownership of concessionary companies. The volume of losses in transmission and distribution systems is significant, typically ranging between 3% and 13%, highlighting their relevance to the efficiency of the system as a whole [1]. The analysis of electrical power systems often uses load flow calculation, a fundamental and widely used approach [2,3,4]. Many applications, from expansion planning to network reconfiguration and storage capacity, depend on these calculations [5,6,7]. The classical formulation based on Newton’s method is commonly adopted due to its effectiveness in both transmission and distribution systems [8]. However, a significant drawback of this method is the need to construct and factorize the Jacobian matrix at each iteration, which can be computationally expensive, especially for large-scale systems [9,10].
Continuation power flow (CPF) is an approach to determine the total losses of the electrical system for each load increment until reaching the critical point (CP). It is crucial to identify this point, as it marks the transition between the region of stability and the region of instability of the system. However, accurately obtaining this point can be challenging due to the singularity of the Jacobian matrix, requiring the use of parameterization techniques for its determination [11]. These additional techniques can significantly increase the computational cost of the process. In this context, it is desirable in engineering that even well-established energy systems analysis methods are revisited and eventually improved. In recent decades, an alternative formulation based on artificial neural networks (ANN) has been widely employed [12,13,14,15,16]. In [12], two artificial neural networks (ANN) were presented, the Multi-Layer Perceptron and the Radial-Based Perceptron, with the objective of estimating the magnitudes of voltages on the buses of electrical power systems, taking into account several parameters, such as the loading factor, the real and reactive power in the slack bus, and the contingent branch number. The results indicated that the Radial Base ANN was able to accurately estimate the desired output, presenting an error of around 10−4. In [13], promising results were obtained in which an artificial neural network (ANN) reproduced the same results with high accuracy and speed compared to traditional voltage stability calculation methods. For this, the loading parameter and the voltage stability margin index were calculated using eight different input variables and fourteen different training functions. This approach allowed us to identify which training function was most efficient and offered the best ability to predict the loading margin and voltage stability index.
In the study [14], artificial intelligence (AI) was used to identify predictive biomarkers relevant to the prognosis of diffuse large B-cell lymphoma. Two neural networks, using Multi-Layer Perceptron (MLP) and Function Network Radial Base (RBF), demonstrated an efficient methodology for identifying these biomarkers. In [15], an application of an MLP model for fast and automatic prediction of the geometry of finished products is presented. The results show that both the training and the tests carried out were highly accurate, with an accuracy rate that exceeded 92%, demonstrating the feasibility and effectiveness of the proposed method. In the study mentioned in [16], several artificial neural networks (ANNs) algorithms were proposed to estimate voltage instability in power systems. These ANN models, based on different training algorithms, were developed and subjected to a comparative analysis, aiming to accurately predict the voltage collapse phenomenon.
Existing power loss estimators have many weaknesses, such as complicated methods, many static assumptions, and dependency on the slack unit. If the existing configuration of any network is randomly changed from its base case, then these estimators may produce negligible and unacceptable errors [17]. A different technique was proposed in [17] that has the ability to solve the problems mentioned in a constant and direct way. A large number of power flow solutions are used to create a large dataset for training artificial neural networks. Therefore, through some numerical experiments, this technique proves to be an effective tool for accurately and cost-effectively estimating real and reactive power losses, but with a relatively high number of iterations and CPU time.
In this context, this study proposes an alternative methodology to obtain the power curve versus total loss of real and reactive power, avoiding the complexities associated with the Jacobian matrix, in addition to identifying the maximum loading point or critical point (CP) in electrical power systems. The objective is to develop an alternative and effective tool that can quickly assist in obtaining the total power loss curve with a low number of iterations and CPU time in relation to the works presented in the literature. Continuation power flow methods consist of several nonlinear equations, and as mentioned, singularity in the Jacobian matrix at the CP of electrical systems. Additionally, these methods require many iterations and consume a significant amount of CPU time, in contrast to the use of artificial neural networks (ANNs), as proposed in this article. The following sections will present the materials and methods, systems, ANNs, a flowchart, and analyses (MSE, MAPE, and Kruskal–Wallis test) for evaluating the error between the obtained and desired vectors. Subsequently, the results of the network’s training and validation performance will be discussed, along with comparisons of the applied analyses. Finally, a discussion of the obtained results and conclusions will be provided.

2. Materials and Methods

The system analyzed in this study corresponds to the configuration of IEEE 14, 30, and 57-bus systems, as illustrated in Figure 1a–c. The IEEE 14 system is composed of 1 slack bus, 4 generation buses, 9 load buses, and 20 transmission lines. Meanwhile, the IEEE 30 system has 1 slack bus, 5 generation buses, 24 load buses, and 41 transmission lines. Finally, the IEEE 57 system consists of 1 slack bus, 6 generation buses, 50 load buses, and 80 transmission lines.
For the IEEE 14-bus system, 213 samples were utilized, while for the IEEE 30-bus system, 184 samples were used, and for the IEEE 57-bus system, 202 samples were employed, resulting in a total of 599 samples. These samples were acquired according to the parameterization continuation power flow (PCPF) method described in [2,11] and were used for training and validation of ANN. Each sample is composed of five pieces of data: three input data for the ANN, which include the loading factor (λ) and the real and reactive powers generated at the slack bus (Pgslack and Qgslack), and two output data representing the loss total real (Pa) and reactive (Pr) power of the system. The ANN used is an MLP (Multi-Layer Perceptron) with a backpropagation learning algorithm with three layers: input with 3 neurons, hidden with 10 neurons, and 2 neurons in the output layer, as shown in Figure 2. The software used to obtain the results was Matlab®, version 2024 [18].
Continuation power flow (CPF), unlike experimental random classification, is characterized by a sequence of nonlinear equations. Its resolution is achieved by varying the load factor parameter, resulting in different values for the real (Pa) and reactive (Pr) power losses of the system in each case. For this type of dataset, MLP networks prove to be well-suited. Figure 3 illustrates the flowchart of the MLP network used to estimate the total real (Pa) and reactive (Pr) power losses of electrical power systems.
The activation functions used were the hyperbolic tangent for the hidden layer (1) and linear for the output layer (2).
f ( u ) = ( 1 e t u ) ( 1 + e t u )
where,
f ( u ) = hyperbolic tangent activation function;
t = estimate of the parameter that determines the slope of the curve;
u = function activation potential.
f u = u
The mean square error (MSE) vector of the ANN is calculated according to Equation (3), where Yob and Ydes represent the obtained and desired outputs of the ANN, respectively. The more similar these outputs are to each other, the smaller the error, indicating a more accurate weight adjustment.
M S E = 1 p i = 1 n Y o b Y d e s 2
where,
p = number of data;
Y d e s = desired values (target via experiment);
Y o b = values obtained via ANN.
As the MSE, the Mean Absolute Percentage Error (MAPE) was also applied to the performance of the models used in Equation (4). The Mean Absolute Percentage Error (MAPE) is one of the most commonly used Key Performance Indicators to measure forecast accuracy. The results are presented in Table 1.
MAPE = 1 p i = 1 n Y o b Y d e s Y d e s
A test used in the literature is the Kruskal–Wallis test, which is a nonparametric version of classical one-way ANOVA, and an extension of the Wilcoxon rank sum test to two groups or more. It compares the medians of the groups of data in x to determine if the samples come from the same population (or, equivalently, from different populations with the same distribution) [18]. Within this context, several papers have been published in the literature on the Kruskal–Wallis test [19,20]. In Bayram and Çıtakoğlu, 2023, the predictive power of three different machine learning (ML)-based approaches was investigated for long-term monthly reference evapotranspiration prediction. Satisfactory results were found. Table 1 also shows the p_values corresponding to the Kruskal–Wallis test analysis. It is observed that when applied at 5%, a comparison between the obtained output (Yob-ANN) and the desired output (Ydes) showed similar distributions.

3. Results

Of the 599 samples, 80% were randomly selected for training (479 samples) and 20% for validation (120 samples). Figure 4a shows the performance of the neural network during training and validation. It is evident that the best performance, measured by the mean squared error (MSE), was achieved after 14 iterations (epochs) for training, with an error of 9.68 × 10−4, while for validation, the error was 1.023 × 10−3 in the 14th iteration. The total training time was 3 s for the 14 iterations, as indicated in Table 1. Figure 4b displays the error histogram, represented by the difference between the desired output and the obtained output (|YdesYob|) relative to zero error. It is notable that the error remained around zero for the analyzed data.
Figure 5 illustrates the correlation between the desired output (x-axis) and the obtained output (y-axis). It is observed that, for training the network in Figure 5a with 80% of the samples, that is, 479 samples, the value of the coefficient of determination (R2) was 0.9994, indicating a strong correlation between the outputs obtained by the ANN and those desired by the CPF. To validate the model in Figure 5b, with 20% of the samples that were not used in training (120 samples), the R2 value was 0.9993, demonstrating a strong correlation between the outputs (similarity between the outputs). A similar result was observed in Figure 5c for 100% of the samples (599 samples), with an R2 of 0.9994. Based on these results, we can infer that the ANN was able to predict the total power losses (real and reactive) with a low error (MSE), both during training and, especially, during model validation, which are samples that were not part of the training.
A.
Results for the IEEE 14-bus system
Figure 6 shows the total real (Pa) and reactive (Pr) power losses, both desired (targets-Ydes) and obtained by the ANN (Yob). In Figure 6a, the results during the training phase with 80% of the samples (173) are presented, showing a high similarity between the obtained output and the desired one, and the same pattern is observed for Pr. During the validation, in which Pa and Pr losses were predicted, Figure 6b displays the results for the 40 samples (20%) that were not used in training, for both Pa and Pr. A similar behaviour is noticed between the outputs in both curves, indicating that the network managed to approximate Yob very closely to Ydes. Finally, Figure 6c shows the total losses of Pa and Pr desired (Ydes) and the outputs obtained (Yob) by ANN for 100% of the samples (213 samples), where a similar behaviour is also observed between the outputs on both curves.
Figure 7 shows the total real (Pa) and reactive (Pr) power loss curves, both desired and obtained, as a function of the loading factor (λ) for the IEEE 14 bus system. In the study of continuation power flow (CPF) in electrical power systems, reaching the critical point (CP) with a minimum error is extremely important, since this point defines the stability and instability of the system. In this work, the CP value for Pa obtained via ANN was (λ, Pa) = (1.7680, 0.8008), while the desired value is (λ, Pa) = (1.7680, 0.7855). This resulted in an error of 0.0153 for Pa in CP. As for Pr, the CP obtained value was (λ, Pr) = (1.7680, 3.1245), while the desired value is (λ, Pr) = (1.7680, 3.1321), with an error of 0.0076, according to Table 2 presented at the end of the results.
B.
Results for the IEEE 30-bus system
Similar results are also observed for the IEEE 30 bus system. In Figure 8, the total real (Pa) and reactive (Pr) power losses desired (Ydes) are presented, as well as those obtained (Yob) via ANN, for the two phases: training (80% of samples), validation (20% of samples), and for all samples (100%). In Figure 8a, the training results (148 samples) are shown, while in Figure 8b, the validation results (36 samples) are shown. It is important to highlight that the validation samples were not used in training the network; however, even so, the ANN was able to estimate Pa and Pr values very close to those desired. Finally, in Figure 8c, the total real (Pa) and reactive (Pr) power losses desired (Ydes) and obtained (Yob) for all samples (184 samples) are shown. Figure 9 shows, on the left, the curves of real power loss (Pa) as a function of load λ, including both the desired one via CPF and that obtained via ANN. It is observed that there was a difference in the values in the region of maximum real power loss. However, at the critical point (CP), the values obtained were quite close: (λ, Pa) = (1.5335, 0.8036) for Ydes and (λ, Pa) = (1.5335, 0.8316) for Yob, resulting in an error of 0.0280. On the right of Figure 8, the reactive power loss curves (Pr) as a function of load λ (Ydes-desired and Yob-obtained) show similarities between both, resulting in very close CP values: (λ, Pr) = (1.5335, 2.9657) for Ydes and (λ, Pr) = (1.5335, 3.0070) for Yob, resulting in an error of 0.0423. These values can be seen in Table 2.
C.
Results for the IEEE 57-bus system
Figure 10 illustrates the results (Pa on the left and Pr on the right) obtained by the artificial neural network (ANN) during network training and validation. Figure 10a shows training with 80% of the samples (158 samples). Validation is demonstrated in Figure 10b, with 20% of the samples (44 samples) that were not used in training, providing estimated Pa and Pr data. Finally, Figure 10c shows the results for all samples (202 samples).
Figure 11 shows the total real and reactive power losses (Pa and Pr) in relation to the increase in load (λ). The similarity of the values obtained via ANN is noticeable when compared to the desired outputs. This is due to the high correlation between the outputs, highlighting the robustness of the ANN developed for this application.

4. Discussion

The values corresponding to CP (critical point) for each system studied and the error between the obtained value in relation to the desired are detailed in Table 2. Table 3, Table 4 and Table 5 display the values of the weights of the connections between the input and hidden layers, between the hidden layer and the output layer, as well as the corresponding bias values of the hidden and output layers, for the neural network with the configuration [2,3,10]. Figure 6b, Figure 8b, and Figure 10b depict the validation phase of the model via ANN. During the validation phase, the network literally calculated the values of total real and reactive power losses based on the training it received. In other words, during the validation phase, only the input data to the network (loading factor, real and reactive power at the reference bus) are presented, and based on its training (with all weights W adjusted), the network is able to infer the system’s loss value (real and reactive) for a given load. To demonstrate that the results are similar to the desired losses, the desired output was also plotted on the graph, solely for comparison purposes, and the similarity between them (Ydes and Yob) can be observed.

5. Conclusions

In this study, an approach using MLP-type artificial neural networks was proposed to estimate total real and reactive power losses in electrical power systems. These estimates were made as a function of the load factor (λ) and the real and reactive powers generated in the slack bus (Pgslack and Qgslack). During network training, good performance was achieved, with a mean squared error (MSE) of 9.6832 × 10−4 in the fourteenth iteration, a training time of 3 s, and a correlation (R2) of 0.99. In the validation phase, where samples that were not used in training were estimated, an approximation was observed between the obtained outputs (Yob) and the desired outputs (Ydes), with an error of around 1.0233 × 10−3 and R2 equal to 0.99. This highlights a strong correlation between the outputs, demonstrating that the network has the capacity to act as an estimator of total power losses. Additionally, the Pa and Pr curves as a function of λ were obtained for the three systems studied, identifying the critical points with low error in relation to the desired outputs.

Author Contributions

G.G.d.S.: Conceptualization, Writing—Original Draft, Writing—Review and Editing, and Investigation. A.d.Q.: Conceptualization, Writing—Original Draft, Writing—Review and Editing, and Investigation. E.G.: Conceptualization, Writing—Original Draft, and Writing—Review and Editing. W.P.L.d.S.: Conceptualization, Writing—Original Draft, and Writing—Review. C.R.M.: Conceptualization, Writing—Original Draft, Writing—Review and Editing, and Investigation. A.B.N.: Conceptualization, Writing—Original Draft, Writing—Review, Editing, Investigation, and Supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This research is funded by CAPES under grant number 88887.956029/2024-00.

Data Availability Statement

The original contributions presented in the study are included in the article. Dataset available on request from the authors.

Acknowledgments

The authors are grateful for the PROPG/Unesp.

Conflicts of Interest

The authors declare that they have no competing interests.

Nomenclature

MLPMulti-layer Perceptron Network
ANNArtificial neural network
MSEMean square error
MAPEMean Absolute Percentage Error
λLoading factor
YobObtained outputs
YdesDesired outputs
CPFContinuation power flow
CPCritical point
PaTotal real power losses
PrTotal reactive power losses
PCPFParameterization continuation power flow
p.u.Per unit

References

  1. Moldoveanu, C.; Ionita, I.; Brezoianu, V.; Zaharescu, S.; Grigorescu, S.; Hategan, I.; Marcolt, M. Romanian innovative system for power losses real time monitoring and analysis in electrical transmission and distribution systems. In Proceedings of the 9th International Conference on Modern Power Systems (MPS), Cluj-Napoca, Romania, 16–17 June 2021; pp. 1–6. [Google Scholar] [CrossRef]
  2. Bonini Neto, A.; Magalhães, E.M.; Alves, D.A. Geometric Parameterization Technique for Continuation Power Flow Based on Quadratic Curve. Electr. Power Compon. Syst. 2017, 45, 1905–1917. [Google Scholar] [CrossRef]
  3. Tostado-Véliz, M.; Kamel, S.; Jurado, F. Development and Comparison of Efficient Newton-Like Methods for Voltage Stability Assessment. Electr. Power Compon. Syst. 2020, 48, 1798–1813. [Google Scholar] [CrossRef]
  4. Lima, G.B.; Bonini Neto, A.; Alves, D.A.; Minussi, C.R.; da Silva Amorim, E.; da Silva, L.C.P. Technique for Reactive Loss Reduction and Loading Margin Enhancement Using the Curves of Losses versus Voltage Magnitude. Energies 2023, 16, 5867. [Google Scholar] [CrossRef]
  5. Fernandes, T.R.; Ricciardi, T.R.; Schincariol, R.; De Almeida, M.C. Contributions to the Sequence-Decoupling Compensation Power Flow Method for Distribution System Analysis. IET Gener. Transm. Distrib. 2019, 13, 583–594. [Google Scholar] [CrossRef]
  6. Dong, X.; Wang, C.; Yun, Z.; Han, X.; Liang, J.; Wang, Y.; Zhao, P. Calculation of optimal load margin based on improved continuation power flow model. Int. J. Electr. Power Energy Syst. 2018, 94, 225–233. [Google Scholar] [CrossRef]
  7. Ansari, M.R.; Pirouzi, S.; Kazemi, M.; Naderipour, A.; Benbouzid, M. Renewable Generation and Transmission Expansion Planning Coordination with Energy Storage System: A Flexibility Point of View. Appl. Sci. 2021, 11, 3303. [Google Scholar] [CrossRef]
  8. Li, X.; Zhao, J.; Liang, H.; Xu, J. Application of an Improved Continuous Power Flow Method in Voltage Stability Analysis. In Proceedings of the 6th International Conference on Systems and Informatics (ICSAI), Shanghai, China, 2–4 November 2019; pp. 244–248. [Google Scholar] [CrossRef]
  9. Bonini Neto, A.; Alves, D.A. Singularities Analysis of the Jacobian Matrix Modified in the Continuation Power Flow: Mathematical Modeling. IEEE Lat. Am. Trans. 2016, 15, 2137–2143. [Google Scholar] [CrossRef]
  10. Bonini Neto, A.; Alves, D.A. Singularities Analysis of the Jacobian Matrix Modified in the Continuation Power Flow: Performance Evaluation. IEEE Lat. Am. Trans. 2017, 15, 2137–2143. [Google Scholar] [CrossRef]
  11. dos Santos, W.P.L.; Bonini Neto, A.; Gabriel Filho, L.R.A. Post-Contingency Loading Margin through Plane Change in the Continuation Power Flow. Energies 2023, 16, 7583. [Google Scholar] [CrossRef]
  12. Bonini Neto, A.; Alves, D.A.; Minussi, C.R. Artificial Neural Networks: Multilayer Perceptron and Radial Basis to Obtain Post-Contingency Loading Margin in Electrical Power Systems. Energies 2022, 15, 7939. [Google Scholar] [CrossRef]
  13. Aydin, F.; Gümüş, B. Study of Different ANN Algorithms for Voltage Stability Analysis. In Proceedings of the Innovations in Intelligent Systems and Applications Conference (ASYU), Istanbul, Turkey, 15–17 October 2020; pp. 1–5. [Google Scholar] [CrossRef]
  14. Carreras, J.; Kikuti, Y.Y.; Miyaoka, M.; Hiraiwa, S.; Tomita, S.; Ikoma, H.; Kondo, Y.; Ito, A.; Nakamura, N.; Hamoudi, R. A Combination of Multilayer Perceptron, Radial Basis Function Artificial Neural Networks and Machine Learning Image Segmentation for the Dimension Reduction and the Prognosis Assessment of Diffuse Large B-Cell Lymphoma. AI 2021, 2, 106–134. [Google Scholar] [CrossRef]
  15. Ke, K.-C.; Huang, M.-S. Quality Prediction for Injection Molding by Using a Multilayer Perceptron Neural Network. Polymers 2020, 12, 1812. [Google Scholar] [CrossRef] [PubMed]
  16. Shankar, G.; Mukherjee, V.; Debnath, S.; Gogoi, K. Study of different ANN algorithms for weak area identification of power systems. In Proceedings of the 1st International Conference on Power and Energy in NERIST (ICPEN), Nirjuli, India, 28–29 December 2012; pp. 1–4. [Google Scholar] [CrossRef]
  17. Al-Roomi, A.R.; El-Hawary, M.E. Novel Highly Precise Power Loss Estimators that Directly Solve Power Balance Equality Constraints. In Proceedings of the 2019 IEEE Electrical Power and Energy Conference (EPEC), Montreal, QC, Canada, 16–18 October 2019; pp. 1–8. [Google Scholar] [CrossRef]
  18. Mathworks. Available online: http://www.mathworks.com (accessed on 20 January 2024).
  19. Bayram, S.; Çıtakoğlu, H. Modeling monthly reference evapotranspiration process in Turkey: Application of machine learning methods. Environ. Monit. Assess. 2023, 195, 67. [Google Scholar] [CrossRef] [PubMed]
  20. Özbayrak, A.; Ali, M.K.; Çıtakoğlu, H. Buckling Load Estimation Using Multiple Linear Regression Analysis and Multigene Genetic Programming Method in Cantilever Beams with Transverse Stiffeners. Arab. J. Sci. Eng. 2024, 48, 5347–5370. [Google Scholar] [CrossRef]
Figure 1. Systems studied: (a) IEEE 14 buses; (b) IEEE 30 buses; (c) IEEE 57 buses.
Figure 1. Systems studied: (a) IEEE 14 buses; (b) IEEE 30 buses; (c) IEEE 57 buses.
Asi 07 00046 g001
Figure 2. ANN used in this work.
Figure 2. ANN used in this work.
Asi 07 00046 g002
Figure 3. Flowchart depicting the MLP utilized in this study.
Figure 3. Flowchart depicting the MLP utilized in this study.
Asi 07 00046 g003
Figure 4. ANN performance for training and validation: (a) MSE; (b) error histogram (YdesYob).
Figure 4. ANN performance for training and validation: (a) MSE; (b) error histogram (YdesYob).
Asi 07 00046 g004
Figure 5. Correlation between Ydes and Yob outputs: (a) training phase (80% of samples); (b) validation phase (20% of samples); (c) 100% of samples (training and validation).
Figure 5. Correlation between Ydes and Yob outputs: (a) training phase (80% of samples); (b) validation phase (20% of samples); (c) 100% of samples (training and validation).
Asi 07 00046 g005
Figure 6. Pa (Ydes and Yob) Pa (total real power losses) and Pr (total reactive power losses) as a function of the samples from the IEEE 14-bus system: (a) training (80% of the samples); (b) validation (20% of the samples); (c) 100% of the samples (2 network phases).
Figure 6. Pa (Ydes and Yob) Pa (total real power losses) and Pr (total reactive power losses) as a function of the samples from the IEEE 14-bus system: (a) training (80% of the samples); (b) validation (20% of the samples); (c) 100% of the samples (2 network phases).
Asi 07 00046 g006
Figure 7. Obtained curves from the IEEE 14-bus system: (a) Pa (Ydes and Yob) vs. λ, i.e., total real power loss curve (Pa) vs. loading factor (λ); (b) Pr (Ydes and Yob) vs λ, i.e., curve total reactive power loss (Pr) vs. loading factor (λ).
Figure 7. Obtained curves from the IEEE 14-bus system: (a) Pa (Ydes and Yob) vs. λ, i.e., total real power loss curve (Pa) vs. loading factor (λ); (b) Pr (Ydes and Yob) vs λ, i.e., curve total reactive power loss (Pr) vs. loading factor (λ).
Asi 07 00046 g007
Figure 8. Pa (Ydes and Yob) Pa (total real power losses) and Pr (total reactive power losses) as a function of the samples from the IEEE 30-bus system: (a) training (80% of the samples); (b) validation (20% of the samples); (c) 100% of the samples (2 network phases).
Figure 8. Pa (Ydes and Yob) Pa (total real power losses) and Pr (total reactive power losses) as a function of the samples from the IEEE 30-bus system: (a) training (80% of the samples); (b) validation (20% of the samples); (c) 100% of the samples (2 network phases).
Asi 07 00046 g008
Figure 9. Obtained curves from the IEEE 30-bus system: (a) Pa (Ydes and Yob) vs. λ, i.e., total real power loss curve (Pa) vs. loading factor (λ); (b) Pr (Ydes and Yob) vs. λ, i.e., curve total reactive power loss (Pr) vs. loading factor (λ).
Figure 9. Obtained curves from the IEEE 30-bus system: (a) Pa (Ydes and Yob) vs. λ, i.e., total real power loss curve (Pa) vs. loading factor (λ); (b) Pr (Ydes and Yob) vs. λ, i.e., curve total reactive power loss (Pr) vs. loading factor (λ).
Asi 07 00046 g009
Figure 10. Pa (Ydes and Yob) Pa (total real power losses) and Pr (total reactive power losses) as a function of the samples from the IEEE 57-bus system: (a) training (80% of the samples); (b) validation (20% of the samples); (c) 100% of the samples (2 network phases).
Figure 10. Pa (Ydes and Yob) Pa (total real power losses) and Pr (total reactive power losses) as a function of the samples from the IEEE 57-bus system: (a) training (80% of the samples); (b) validation (20% of the samples); (c) 100% of the samples (2 network phases).
Asi 07 00046 g010
Figure 11. Obtained curves from the IEEE 57-bus system: (a) Pa (Ydes and Yob) vs. λ, i.e., total real power loss curve (Pa) vs. loading factor (λ); (b) Pr (Ydes and Yob) vs. λ, i.e., curve total reactive power loss (Pr) vs. loading factor (λ).
Figure 11. Obtained curves from the IEEE 57-bus system: (a) Pa (Ydes and Yob) vs. λ, i.e., total real power loss curve (Pa) vs. loading factor (λ); (b) Pr (Ydes and Yob) vs. λ, i.e., curve total reactive power loss (Pr) vs. loading factor (λ).
Asi 07 00046 g011
Table 1. Values specified and achieved in training and validation of ANN compared to desired output Ydes.
Table 1. Values specified and achieved in training and validation of ANN compared to desired output Ydes.
ANNSpecified ValuesAchieved Values
Iterations10014
Time (s)203
Performance (MSE) Training0.001* 0.00096832
Correlation (R2)1.00.9994
Performance (MSE) Validation0.0010.00102334
Correlation (R2) Validation1.00.9993
MAPE Training0.0%0.0013%
MAPE Validation0.0%0.0017%
p_value Training>5%97.68% NS
p_value Validation>5%95.41% NS
* Achieved criterion. NS—not significant applied to 5%
Table 2. Values obtained at the critical point (CP) by the CPF and ANN.
Table 2. Values obtained at the critical point (CP) by the CPF and ANN.
SistemaCPF-YdesANN-YobError (Pa)Error (Pr)
λPaPrPaPr
IEEE-141.76800.78553.13210.80083.12450.01530.0076
IEEE-301.53350.80362.96570.83163.00700.02800.0413
IEEE-571.72521.06003.48511.05403.44920.00600.0359
Table 3. Weights of the connections between the neurons of the input layer and the hidden layer (WRm).
Table 3. Weights of the connections between the neurons of the input layer and the hidden layer (WRm).
Neurons Hidden Layer
Neurons input layer m1m2m3m4m5m6m7m8m9m10
R1−1.2368−1.56051.13521.71502.58772.28001.7049−0.53470.0008−1.7900
R2−0.07801.52751.3470−3.1085−5.28890.6714−0.59950.0254−2.00152.3300
R3−2.0406−1.2778−2.1769−1.1149−0.26480.0610−2.99892.75511.68811.0371
Table 4. Weights of the connections between the neurons of the hidden layer and the output layer (Wmi).
Table 4. Weights of the connections between the neurons of the hidden layer and the output layer (Wmi).
Neurons Output Layer
Neuons hidden layer i1i2
m1−0.36090.2951
m20.1773−0.8661
m30.50610.3577
m4−0.7777−0.8783
m50.48430.6522
m6−0.1138−0.0693
m7−0.4676−0.3453
m80.52470.3355
m9−0.27710.4759
m100.7237−0.1474
Table 5. Bias of the neurons of each layer (hidden and output).
Table 5. Bias of the neurons of each layer (hidden and output).
Neurons Hidden Layer (mx1) Neurons Output Layer (ix1)
12.655310.7553
22.7143
3−0.6601
4−0.0560
5−0.8453
60.496520.9341
7−0.8958
81.8592
9−2.9821
10−2.6619
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

da Silva, G.G.; de Queiroz, A.; Garbelini, E.; dos Santos, W.P.L.; Minussi, C.R.; Bonini Neto, A. Estimation of Total Real and Reactive Power Losses in Electrical Power Systems via Artificial Neural Network. Appl. Syst. Innov. 2024, 7, 46. https://doi.org/10.3390/asi7030046

AMA Style

da Silva GG, de Queiroz A, Garbelini E, dos Santos WPL, Minussi CR, Bonini Neto A. Estimation of Total Real and Reactive Power Losses in Electrical Power Systems via Artificial Neural Network. Applied System Innovation. 2024; 7(3):46. https://doi.org/10.3390/asi7030046

Chicago/Turabian Style

da Silva, Giovana Gonçalves, Alexandre de Queiroz, Enio Garbelini, Wesley Prado Leão dos Santos, Carlos Roberto Minussi, and Alfredo Bonini Neto. 2024. "Estimation of Total Real and Reactive Power Losses in Electrical Power Systems via Artificial Neural Network" Applied System Innovation 7, no. 3: 46. https://doi.org/10.3390/asi7030046

APA Style

da Silva, G. G., de Queiroz, A., Garbelini, E., dos Santos, W. P. L., Minussi, C. R., & Bonini Neto, A. (2024). Estimation of Total Real and Reactive Power Losses in Electrical Power Systems via Artificial Neural Network. Applied System Innovation, 7(3), 46. https://doi.org/10.3390/asi7030046

Article Metrics

Back to TopTop