Comparative Analysis of Supervised Learning Techniques for Forecasting PV Current in South Africa
Abstract
:1. Introduction
2. Review of the Literature
3. Methodology
3.1. Data Extraction
3.2. Neural Network Architectures
- (1)
- Feedforward neural network (FFNN): only allows signals to pass from input to output units. Data processing can occur across numerous layers, but there are no feedback linkages. The network was built at a learning rate of 0.01 and 1000 epochs. The network function “feedforwardnet” on MATLAB was provided with a layer of 10 hidden neurons and used the default training model “trainlm” of the Levenberg–Marquardt algorithm.
- (2)
- Cascade forward neural network (CFNN): analogous to a feedforward neural network; a cascading neural network interlinks the input and each preceding layer with the subsequent levels. For our model, this network was designed with a learning rate of 0.01 and 1000 epochs with a two-layer vector of 10 and 5 neurons forming the hidden layer.
- (3)
- General regression neural network (GRNN): a probabilistic network that employs regression when the output variable is continuous. The hidden layer consists of two components: the first calculates the Euclidean distance between the samples and the neuron’s ideal point, subsequently applying the RBF kernel function. The output is then transmitted to the second component, which has two neurons: the summation for the denominator and the units for the numerator. The denominator summation unit aggregates the weights of values from each hidden neuron, whereas the summation unit from the numerator computes the weights’ values multiplied by the target value for each hidden neuron. The output is given by the division of the denominator from the numerator unit [6]. For our model, the MATLAB function “newgrnn” will be used.
- (4)
- Adaptive neural fuzzy inference system (ANFIS): indicates a neural network that utilizes fuzzy inference methodology from Takagi–Sugeno. It is a unified framework that combines the benefits of fuzzy logic and neural networks, and it is equipped with a fuzzy inference system that is capable of learning. The neural network architecture consists of five layers: input, rule, normalization, consequent and output layers. In the input layer, inputs are fuzzified in accordance with premise parameters and membership functions (MFs). In the subsequent layer, neural nodes utilize a linear approach to evaluate the contributions of rules, utilizing parameters known as consequent parameters [32,33]. Our model used two inputs and with a single output ; the mathematical model of the algorithm is given by the Equations (7)–(11):
3.3. Particle Swarm Optimization (PSO)
4. Results and Discussion
4.1. Models Evaluation Metrics
4.2. Models Optimization
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Kanhukamwe, F.N. Matching Renewable Energy to the South African Electricity System. Master’s Thesis, Stellenbosch University, Stellenbosch, South Africa, 2019. [Google Scholar]
- Sahu, B.K. A study on global solar PV energy developments and policies with special focus on the top ten solar PV power producing countries. Renew. Sustain. Energy Rev. 2015, 43, 621–634. [Google Scholar] [CrossRef]
- Foley, A.; Olabi, A.G. Renewable energy technology developments, trends and policy implications that can underpin the drive for global climate change. Renew. Sustain. Energy Rev. 2017, 68, 1112–1114. [Google Scholar] [CrossRef]
- Li, G.; Xie, S.; Wang, B.; Xin, J.; Li, Y.; Du, S. Photovoltaic power forecasting with a hybrid deep learning approach. IEEE Access 2020, 8, 175871–175880. [Google Scholar] [CrossRef]
- Antonanzas, J.; Osorio, N.; Escobar, R.; Urraca, R.; Martinez-de-Pison, F.J.; Antonanzas-Torres, F. Review of photovoltaic power forecasting. Sol. Energy 2016, 136, 78–111. [Google Scholar] [CrossRef]
- Khatib, T.; Elmenreich, W. Modeling of Photovoltaic Systems Using MATLAB®: Simplified Green Codes; John Wiley & Sons: Hoboken, NJ, USA, 2016. [Google Scholar]
- Bukhari, M.M.; Alkhamees, B.F.; Hussain, S.; Gumaei, A.; Assiri, A.; Ullah, S.S. An improved artificial neural network model for effective diabetes prediction. Complexity 2021, 2021, 5525271. [Google Scholar] [CrossRef]
- Panda, M.M.; Panda, S.N.; Pattnaik, P.K. Exchange rate prediction using ANN and deep learning methodologies: A systematic review. In Proceedings of the 2020 Indo–Taiwan 2nd International Conference on Computing, Analytics and Networks (Indo-Taiwan ICAN), Rajpura, India, 7–15 February 2020; pp. 86–90. [Google Scholar]
- Xiang, Z.; Magnini, V.P.; Fesenmaier, D.R. Information technology and consumer behavior in travel and tourism: Insights from travel planning using the internet. J. Retail. Consum. Serv. 2015, 22, 244–249. [Google Scholar] [CrossRef]
- Arora, A.; Gupta, M.; Mehmi, S.; Khanna, T.; Chopra, G.; Kaur, R.; Vats, P. Towards Intelligent Governance: The Role of AI in Policymaking and Decision Support for E-Governance. In Proceedings of the World Conference on Information Systems for Business Management, Bangkok, Thailand, 7–8 September 2023; pp. 229–240. [Google Scholar]
- Jha, R. Review of Data Mining and Data Warehousing Implementation in E-Governance. Int. J. Innov. Sci. Res. Technol. (IJISRT) 2020, 5, 18–28. [Google Scholar] [CrossRef]
- Li, X.; Sun, Y. Application of RBF neural network optimal segmentation algorithm in credit rating. Neural Comput. Appl. 2021, 33, 8227–8235. [Google Scholar] [CrossRef]
- Abdolrasol, M.G.M.; Hussain, S.M.S.; Ustun, T.S.; Sarker, M.R.; Hannan, M.A.; Mohamed, R.; Ali, J.A.; Mekhilef, S.; Milad, A. Artificial neural networks based optimization techniques: A review. Electronics 2021, 10, 2689. [Google Scholar] [CrossRef]
- Abraham, A. Artificial neural networks. In Handbook of Measuring System Design; John Wiley & Sons, Ltd.: Hoboken, NJ, USA, 2005. [Google Scholar]
- Zappone, A.; Di Renzo, M.; Debbah, M.; Lam, T.T.; Qian, X. Model-aided wireless artificial intelligence: Embedding expert knowledge in deep neural networks for wireless system optimization. IEEE Veh. Technol. Mag. 2019, 14, 60–69. [Google Scholar] [CrossRef]
- Zazoum, B. Solar photovoltaic power prediction using different machine learning methods. Energy Rep. 2022, 8, 19–25. [Google Scholar] [CrossRef]
- Tovar, M.; Robles, M.; Rashid, F. PV power prediction, using CNN-LSTM hybrid neural network model. Case of study: Temixco-Morelos, México. Energies 2020, 13, 6512. [Google Scholar] [CrossRef]
- Kumar, P.M.; Saravanakumar, R.; Karthick, A.; Mohanavel, V. Artificial neural network-based output power prediction of grid-connected semitransparent photovoltaic system. Environ. Sci. Pollut. Res. 2022, 29, 10173–10182. [Google Scholar] [CrossRef]
- Suresh, V.; Janik, P.; Rezmer, J.; Leonowicz, Z. Forecasting solar PV output using convolutional neural networks with a sliding window algorithm. Energies 2020, 13, 723. [Google Scholar] [CrossRef]
- Alblawi, A.; Said, T.; Talaat, M.; Elkholy, M. PV solar power forecasting based on hybrid MFFNN-ALO. In Proceedings of the 2022 13th International Conference on Electrical Engineering (ICEENG), Cairo, Egypt, 29–31 March 2022; pp. 52–56. [Google Scholar]
- Montoya, A.Y.; Mandal, P. Day-ahead and week-ahead solar PV power forecasting using deep learning neural networks. In Proceedings of the 2022 North American Power Symposium (NAPS), Salt Lake City, UT, USA, 9–11 October 2022; pp. 1–6. [Google Scholar]
- Salam, S.S.A.; Petra, M.; Azad, A.K.; Sulthan, S.M.; Raj, V. A Comparative Study on Forecasting Solar Photovoltaic Power Generation Using Artificial Neural Networks. In Proceedings of the 2023 Innovations in Power and Advanced Computing Technologies (i-PACT), Kuala Lumpur, Malaysia, 8–10 December 2023; pp. 1–6. [Google Scholar]
- Mahmudah, N.; Priyadi, A.; Budi, A.L.S.; Putri, V.L.B. Photovoltaic Power Forecasting Using Cascade Forward Neural Network Based on Levenberg-Marquardt Algorithm. In Proceedings of the 2021 IEEE international Conference in Power Engineering Application (ICPEA), Malaysia, 8–9 March 2021; pp. 115–120. [Google Scholar]
- Lu, Z.; Wang, Z.; Ren, Y. Photovoltaic Power Regression Model Based on Gauss Boltzmann Machine. In Proceedings of the 2020 39th Chinese Control Conference (CCC), Shenyang, China, 27–29 July 2020; pp. 6117–6122. [Google Scholar]
- Theocharides, S.; Makrides, G.; Livera, A.; Theristis, M.; Kaimakis, P.; Georghiou, G.E. Day-ahead photovoltaic power production forecasting methodology based on machine learning and statistical post-processing. Appl. Energy 2020, 268, 115023. [Google Scholar] [CrossRef]
- Khan, I.; Zhu, H.; Khan, D.; Panjwani, M.K. Photovoltaic Power prediction by Cascade forward artificial neural network. In Proceedings of the 2017 International Conference on Information and Communication Technologies (ICICT), Karachi, Pakistan, 30–31 December 2017; pp. 145–149. [Google Scholar]
- Ge, L.; Li, Y.; Xian, Y.; Wang, Y.; Liang, D.; Yan, J. A FA-GWO-GRNN method for short-term photovoltaic output prediction. In Proceedings of the 2020 IEEE Power & Energy Society General Meeting (PESGM), Montreal, QC, Canada, 2–6 August 2020; pp. 1–5. [Google Scholar]
- Haque, A.U.; Nehrir, M.H.; Mandal, P. Solar PV power generation forecast using a hybrid intelligent approach. In Proceedings of the 2013 IEEE Power & Energy Society General Meeting, Vancouver, BC, Canada, 21–25 July 2013; pp. 1–5. [Google Scholar]
- Singh, V.P.; Vijay, V.; Bhatt, M.S.; Chaturvedi, D. Generalized neural network methodology for short term solar power forecasting. In Proceedings of the 2013 13th International Conference on Environment and Electrical Engineering (EEEIC), Wroclaw, Poland, 1–3 November 2013; pp. 58–62. [Google Scholar]
- Irmak, E.; Yesilbudak, M.; Tasdemir, O. Daily Prediction of PV Power Output Using Particulate Matter Parameter with Artificial Neural Networks. In Proceedings of the 2023 11th International Conference on Smart Grid (icSmartGrid), Paris, France, 4–7 June 2023; pp. 1–4. [Google Scholar]
- Hack, S. Machine Learning: 2 Books in 1: An Introduction Math Guide for Beginners to Understand Data Science Through the Business Applications; Chopra International Consulting Limited: London, UK, 2020. [Google Scholar]
- Halabi, L.M.; Mekhilef, S.; Hossain, M. Performance evaluation of hybrid adaptive neuro-fuzzy inference system models for predicting monthly global solar radiation. Appl. Energy 2018, 213, 247–261. [Google Scholar] [CrossRef]
- Cheng, L.; Zang, H.; Ding, T.; Wang, M.; Wei, Z.; Sun, G. A combined optimization structure of adaptive neuro-fuzzy inference system for probabilistic photovoltaic power forecasting. In Proceedings of the 2019 IEEE Power & Energy Society General Meeting (PESGM), Atlanta, GA, USA, 4–8 August 2019; pp. 1–5. [Google Scholar]
- Ansari, M.T.; Rizwan, M. ANN and PSO based Approach for Solar Energy Forecasting: A Step Towards Sustainable Power Generation. In Proceedings of the 2021 4th International Conference on Recent Developments in Control, Automation & Power Engineering (RDCAPE), Noida, India, 7–8 October 2021; pp. 413–417. [Google Scholar]
- Eberhart, R.; Kennedy, J. A new optimizer using particle swarm theory. In Proceedings of the MHS’95. Proceedings of the Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, 4–6 October 1995; pp. 39–43.
Title | Method | Output | Year | Reference | ||
---|---|---|---|---|---|---|
RMSE | MAPE | MBE | ||||
Solar photovoltaic power prediction using different machine learning methods. | Comparison between SVM and GPR with the later providing the best results. | 7.967 | 5.302 | - | 2021 | [16] |
PV power prediction, using CNN-LSTM hybrid neural network model. Case of study: Temixco-Morelos, México. | Comparison between LSTM, 2D CNN-LSTM and 5D CNN-LSTM, with the later providing the best results. | 0.08304 | 0.05192 | - | 2020 | [17] |
Artificial neural network-based output power prediction of grid-connected semitransparent photovoltaic system. | Comparison between GRNN, FFNN and ELMAN with the later providing the best results. | 0.285 | 0.301 | - | 2021 | [18] |
Forecasting solar PV output using convolutional neural networks with a sliding window algorithm. | MLR, CNN, ARMA, multiheaded CNN, and CNN-LSTM, the later providing the best results. | 0.045 | 0.030 | −0.019 | 2020 | [19] |
PV solar power forecasting based on hybrid MFFNN-ALO. | Comparison between MFFNN-GA, MFFNN-MVO and MFFNN-ALO, with the later providing the best results. | 6.08 × 10−4 | - | - | 2022 | [20] |
Day-ahead and week-ahead solar PV power forecasting using deep learning neural networks. | Comparison between ENN, ELM and LSTMNN, with the later providing the best results. | 2.157 | 7.639 | - | 2022 | [21] |
A comparative study on forecasting solar photovoltaic power generation using artificial neural networks. | Comparison between direct formula and ANNLM, the later providing the best results. | 17.951 | 13.068 | - | 2023 | [22] |
Photovoltaic power regression model based on Gauss–Boltzmann machine. | Comparison between SVM, LR and GBRBM. | 0.14142 | 0.10 | - | 2020 | [24] |
A FA-GWO-GRNN method for short-term photovoltaic output prediction. | Comparison between RBFNN, standard GRNN and hybrid FA-GWO-GRNN, with the later providing the best results. | 0.30 | 0.25 | - | 2020 | [27] |
Daily prediction of PV power output using particulate matter parameter with artificial neural networks. | A hybrid PM10 parameter and ANN. | 0.2333 | 16.38 | - | 2023 | [30] |
Low-Season Prediction Accuracy | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CSIR | Johannesburg | Pretoria | Vuwani | Zululand | |||||||||||
ANN Techniques | RMSE | MAPE | MBE | RMSE | MAPE | MBE | RMSE | MAPE | MBE | RMSE | MAPE | MBE | RMSE | MAPE | MBE |
GRNN | 0.0136828 | 0.0127474 | 0.0150858 | −0.6351235 | 0.0124866 | 1.2645113 | 0.0089106 | 6.252087 | |||||||
FFNN | 1.4469818 | −0.0462752 | −0.0232012 | 0.0132306 | |||||||||||
CFNN | −0.03484 | 0.0028605 | 0.0039847 | ||||||||||||
ANFIS | −2.048241 |
High-Season Prediction Accuracy | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CSIR | Johannesburg | Pretoria | Vuwani | Zululand | |||||||||||
ANN Techniques | RMSE | MAPE | MBE | RMSE | MAPE | MBE | RMSE | MAPE | MBE | RMSE | MAPE | MBE | RMSE | MAPE | MBE |
GRNN | 0.0149624 | 1.1584395 | −0.0010301 | 1.1478856 | 0.0140996 | 1.048151 | 0.0152396 | 1.3242254 | 0.0112084 | 1.1594524 | |||||
FFNN | 0.0074414 | 0.0298285 | 0.0037762 | 0.0216027 | |||||||||||
CFNN | |||||||||||||||
ANFIS |
Low-Season CSIR | ||||||
---|---|---|---|---|---|---|
No Optimization | PSO Optimization | |||||
ANN | RMSE | MAPE % | MBE | RMSE | MAPE % | MBE |
GRNN | 0.013683 | 0.331959 | ||||
FFNN | 1.446982 | 0.127311 | ||||
CFNN | ||||||
ANFIS |
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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ondo Ekogha, E.; Owolawi, P.A. Comparative Analysis of Supervised Learning Techniques for Forecasting PV Current in South Africa. Forecasting 2025, 7, 1. https://doi.org/10.3390/forecast7010001
Ondo Ekogha E, Owolawi PA. Comparative Analysis of Supervised Learning Techniques for Forecasting PV Current in South Africa. Forecasting. 2025; 7(1):1. https://doi.org/10.3390/forecast7010001
Chicago/Turabian StyleOndo Ekogha, Ely, and Pius A. Owolawi. 2025. "Comparative Analysis of Supervised Learning Techniques for Forecasting PV Current in South Africa" Forecasting 7, no. 1: 1. https://doi.org/10.3390/forecast7010001
APA StyleOndo Ekogha, E., & Owolawi, P. A. (2025). Comparative Analysis of Supervised Learning Techniques for Forecasting PV Current in South Africa. Forecasting, 7(1), 1. https://doi.org/10.3390/forecast7010001