Submitted:
28 December 2024
Posted:
31 December 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. States of the Arts
1.2. Practical Decision-Making and Operational Efficiency Needs
2. Proposed ANFIS-Based PV Prediction Model
- Integrating PV forecasting with battery SOC management, maintaining SOC stability (0.88% drop over 7 days) and providing 11 hours of battery autonomy, supporting energy planning and load scheduling.
- High prediction accuracy with ANFIS, reaching 95.10% for temperature and 98.06% for irradiance, outperforming traditional methods like ANN under complex meteorological conditions.
- Employing a MIMO algorithm to simultaneously predict temperature, irradiance, and PV power, improving forecasting efficiency over single-variable methods.
- Computational efficiency with ANFIS, surpassing resource-intensive methods like ConvGNNs, ensuring scalability and real-time applicability for energy systems.
- Combining fuzzy logic and neural networks for interpretable predictions, removing the need for additional outputs to explain model outputs, and enhancing practical utility in energy management.
3. Materials and Methods
3.1. Phase 1: ANFIS-Based PV Prediction System
3.1.1. Method Design and Data Preparation
- Data Cleaning: Removal of erroneous entries and outliers to maintain data consistency;
- Interpolation: Estimation of missing values using statistical techniques to ensure completeness;
- Normalization: Scaling the data to a standard range, reducing variability, and improving model performance.
3.1.2. Model Implementation
- Data Loading: The algorithm imports the Excel-stored matrix, where the timestamp column serves as the time index, and the irradiance and temperature columns represent the input variables.
- Feature Engineering: Lag features are created to capture temporal dependencies and recognize patterns in the dataset, which are critical for accurate predictions. These features enable the model to identify trends and seasonal effects in the historical data.
- Data Splitting: The dataset is divided into input matrices and target vectors, ensuring systematic utilization during the training phase. The input matrix comprises time-dependent features, while the target vector includes corresponding irradiance and temperature values.
- Model Training: The ANFIS algorithm trains on the input data, employing fuzzy logic to address uncertainties and adaptive learning to refine predictive capabilities. The training process is iterative, optimizing model parameters to minimize prediction errors.
- Prediction and Validation: Once trained, the ANFIS model forecasts the next day’s irradiance and temperature values. Validation involves comparing predictions against known historical data to ensure the model’s reliability.
3.1.3. Accuracy Enhancement Techniques
- Cleansing and Conditioning: Rigorous preprocessing ensures the data is free from inconsistencies and suitable for modeling.
- Normalization/Denormalization: Scaling reduces the effect of variable magnitudes, enhancing the stability of the training process. The normalized data set is guided by Equation 1. The output results are then denormalized and compared with the historical data using Equation 2.where is the historical data, is the minimum raw data, is the maximum raw data, and is the normalized data set.
- Pattern Recognition: Temporal lag features and multivariate analysis allow the model to learn complex interdependencies within the dataset.
3.1.4. Gaussian and Bell Membership Functions
3.2. Phase 2: Energy Management System
- Signal Builders: These extract forecasted irradiance and temperature data from an Excel data bank, feeding the values into the PV-array model. The model accurately represents the real PV farm with a capacity of 150 kW and utilizes SolarWorld Sunmodule SWA 320 XL mono modules.
- Boost Converter Circuit: This circuit consists of an IGBT, a diode, and a PV-side filtering capacitor. A boost signal applied to the IGBT gate controls power flow on the PV side, while the diode ensures unidirectional current flow and enhances capacitor efficiency. The converter operates using PWM signals generated by the MPPT algorithm to optimize energy transfer.
- Bi-Directional Converter for Battery: This component supports seamless battery charging and discharging. It ensures the battery charges when excess PV energy is available and discharges to meet load demands during deficits, using switching signals for both positive and negative sides.
- PWM Generator: Generates boost signals for both PV and battery-side controls, based on a duty cycle computed by the MATLAB PV control function, enabling precise energy management within the system.
3.3. Use Cases
3.3.1. Parameter Settings
4. Results
4.1. Open-Loop Predictions
4.2. Closed-Loop Predictions
4.3. PV-Farm Power Generation Forecast
5. Discussion
6. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Mao, M. Feng, J. Xin, and T. W. S. Chow. 2023. "A Convolutional Neural Network-Based Maximum Power Point Voltage Forecasting Method for Pavement PV Array." IEEE Transactions on Instrumentation and Measurement 72: 1–12.
- Jiao, X. Li, D. Lin, and W. Xiao. 2022. "A Graph Neural Network-Based Deep Learning Predictor for Spatio-Temporal Group Solar Irradiance Forecasting." IEEE Transactions on Industrial Informatics 18 (9): 6142–51.
- Pretto, S. Ogliari, A. Niccolai, and A. Nespoli. 2022. "A New Probabilistic Ensemble Method for an Enhanced Day-Ahead PV Power Forecast." IEEE Journal of Photovoltaics 12 (2): 581–88.
- Carriere, T. Vernay, S. Pitaval, and G. Kariniotakis. 2020. "A Novel Approach for Seamless Probabilistic Photovoltaic Power Forecasting Covering Multiple Time Frames." IEEE Transactions on Smart Grid 11 (3): 2281–92.
- Saeedi, R. K. Sadanandan, A. K. Srivastava, K. L. Davies, and A. H. Gebremedhin. 2021. "An Adaptive Machine Learning Framework for Behind-the-Meter Load/PV Disaggregation." IEEE Transactions on Industrial Informatics 17 (10): 7060–70.
- Bazionis, I. K. A. Kousounadis-Knousen, V. E. Katsigiannis, F. Catthoor, and P. S. Georgilakis. 2024. "An Advanced Hybrid Boot-LSTM-ICSO-PP Approach for Day-Ahead Probabilistic PV Power Yield Forecasting and Intra-Hour Power Fluctuation Estimation." IEEE Access 12: 43703–20.
- Catalina, A. M. Alaíz, and J. R. Dorronsoro. 2020. "Combining Numerical Weather Predictions and Satellite Data for PV Energy Nowcasting." IEEE Transactions on Sustainable Energy 11 (3): 1930–37.
- Mohamed, M. E. Mahmood, M. A. Abd, A. Chandra, and B. Singh. 2022. "Dynamic Forecasting of Solar Energy Microgrid Systems Using Feature Engineering." IEEE Transactions on Industry Applications 58 (6): 7857–69.
- Liu, L. Sun, R. Wennersten, and Z. Chen. 2023. "Day-Ahead Forecast of Photovoltaic Power Based on a Novel Stacking Ensemble Method." IEEE Access 11: 113593–604. [CrossRef]
- Asiri, E. C. Y. Chung, and X. Liang. 2023. "" IEEE Access 11: 27303–16. [CrossRef]
- Boubaker, S. Benghanem, A. Mellit, A. Lefza, O. Kahouli, and L. Kolsi. 2021. "Deep Neural Networks for Predicting Solar Radiation at Hail Region, Saudi Arabia." IEEE Access 9: 36719–30.
- Alaraj, M. Kumar, I. Alsaidan, M. Rizwan, and M. Jamil. 2021. "Energy Production Forecasting From Solar Photovoltaic Plants Based on Meteorological Parameters for Qassim Region, Saudi Arabia." IEEE Access 9: 83241–51. [CrossRef]
- Eom, H. Son, and S. Choi. 2020. "Feature-Selective Ensemble Learning-Based Long-Term Regional PV Generation Forecasting." IEEE Access 8: 54620–30.
- Obiora, C. N. N. Hasan, A. Ali, and N. Alajarmeh. 2021. "Forecasting Hourly Solar Radiation Using Artificial Intelligence Techniques." IEEE Canadian Journal of Electrical and Computer Engineering 44 (4): 497–507.
- Olcay, K. G. Tunca, and M. A. Özgür. 2024. "Forecasting and Performance Analysis of Energy Production in Solar Power Plants Using Long Short-Term Memory (LSTM) and Random Forest Models." IEEE Access 12: 103299–312.
- Kuzlu, M. Cali, V. Sharma, and Ö. Güler. 2020. "Gaining Insight Into Solar Photovoltaic Power Generation Forecasting Utilizing Explainable Artificial Intelligence Tools." IEEE Access 8: 187814–23.
- Goh, H. H. Luo, D. Zhang, H. Liu, W. Dai, C. S. Lim, T. A. Kurniawan, and K. C. Goh. 2023. "Hybrid SDS and WPT-IBBO-DNM Based Model for Ultra-Short Term Photovoltaic Prediction." CSEE Journal of Power and Energy Systems 9 (1): 66–76.
- Elsaraiti, M., and A. Merabet. 2022. "Solar Power Forecasting Using Deep Learning Techniques." IEEE Access 10: 31690–98.
- Al Hadi, F. M. H. Aly, and T. Little. 2023. "Harmonics Forecasting of Wind and Solar Hybrid Model Based on Deep Machine Learning." IEEE Access 11: 55413–24.
- Zhang, C., and M. Xu. 2024. "Time-Segment Photovoltaic Forecasting and Uncertainty Analysis Based on Multi-Objective Slime Mould Algorithm to Improve Support Vector Machine." IEEE Transactions on Power Systems 39 (3): 5103–14.
- Kim, B., and D. Suh. 2024. "Solar PV Generation Prediction Based on Multisource Data Using ROI and Surrounding Area." IEEE Transactions on Geoscience and Remote Sensing 62: 4704511–23.
- Gaboitaolelwe, J. M. Zungeru, A. Yahya, C. K. Lebekwe, D. N. Vinod, and A. O. Salau. 2023. "Machine Learning Based Solar Photovoltaic Power Forecasting: A Review and Comparison." IEEE Access 11: 40819–45.
- Yao, T. C. Wang, Y. Wang, P. Zhang, H. Cao, X. Chi, and M. Shi. 2024. "Very Short-Term Forecasting of Distributed PV Power Using GSTANN." CSEE Journal of Power and Energy Systems 10 (4): 1491–1501.
- Aslam, M.-J. Lee, S.-H. Khang, and S. Hong. 2021. "Two-Stage Attention Over LSTM With Bayesian Optimization for Day-Ahead Solar Power Forecasting." IEEE Access 9: 107387–98.
- Huang, Y. Wang, J. Jiao, J. Xie, and H. Chen. 2023. "Short-Term PV Power Forecasting Based on CEEMDAN and Ensemble DeepTCN." IEEE Transactions on Instrumentation and Measurement 72: 2526012.
- Sheng, H. Ray, K. Chen, and Y. Cheng. 2020. "Solar Power Forecasting Based on Domain Adaptive Learning." IEEE Access 8: 198580–90.
- Chen, M. Sun, and J. Zhang. 2024. "Hybrid PV Forecasting Methods: A Review." IEEE Transactions on Power Systems 33 (2): 4532–45.
- Dai, W. Cao, and C. S. Lim. 2024. "Adaptive Multiscale PV Forecasting Using a Mixed CNN-LSTM Model." IEEE Access 12: 46329–42.
- Wright, K. Holt, and B. Zhao. 2024. "Battery-Integrated PV Forecasting for Hybrid Systems." IEEE Transactions on Energy Conversion 15 (3): 457–68.
- Hossain, M. S., and H. Mahmood. 2020. "Short-Term Photovoltaic Power Forecasting Using an LSTM Neural Network and Synthetic Weather Forecast." IEEE Access 8: 172524–33. [CrossRef]





| (a) | (b) |
| (c) | (d) |

| (a) | (b) |

| (a) |
| (b) |

| (a) | (b) |
| Method | Irradiance Accuracy % | Temperature Accuracy % | Irradiance RMSE | Temperature RMSE |
|---|---|---|---|---|
| ANN | 78.25 | 63.55 | 33.87 | 34.98 |
| Curve-Fitting | 72.3 | 64.3 | 27.24 | 29.56 |
| ANFIS | 98.17 | 95.10 | 3.72 | 0.64 |
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/).