Predictive Energy and Exergy Assessment of Photovoltaic Systems Under Dynamic Environmental Conditions Using Machine Learning
Abstract
1. Introduction
2. Materials and Methods
2.1. Data and Evaluation Criteria
2.2. Energy and Exergy Analysis
- Electrical output (Eelec), derived from measured current and voltage.
- Energy efficiency (ηen), defined as the ratio of electrical output to solar energy input.
2.3. Predictive Modeling of PV Efficiency
2.4. Linear Regression (LR)
2.5. Artificial Neural Network (ANN)
2.6. Random Forest (RF)
2.7. XGBoost
2.8. Model Implementation Details
2.9. Model Evaluation
- R2 (Coefficient of Determination): Measures how well the model explains the variance in the dependent variable.
- Mean Absolute Error (MAE): Measures the average absolute difference between the predicted and actual values.
- Root Mean Squared Error (RMSE): Represents the square root of the average squared differences between predicted and actual values.
- Mean Squared Error (MSE): Measures the average of the squared differences between predicted and actual values.
2.10. Feature Importance Validation
3. Results
3.1. Prediction of Photovoltaic (PV) Panel Efficiency and Model Comparison
3.1.1. Time Series and Seasonal Effect Analysis
3.1.2. Higher-Order Nonlinear Interactions
3.2. Feature Importance Validation Using Permutation Testing and Bootstrap
3.3. Linear Regression Analysis
3.4. Model Comparison Across Methods
3.5. Energy and Exergy Efficiency Analysis
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- World Health Organization (WHO). Air Pollution and Health; WHO: Geneva, Switzerland, 2021. [Google Scholar]
- Gernaat, D.E.H.J.; de Boer, H.S.; Daioglou, V.; Yalew, S.G.; Müller, C.; van Vuuren, D.P. Climate change impacts on renewable energy supply. Nat. Clim. Change 2021, 11, 119–125. [Google Scholar] [CrossRef]
- REN21. Renewables Global Status Report 2024; REN21 Secretariat: Paris, France, 2024. [Google Scholar]
- Çengel, Y.A.; Boles, M.A. Thermodynamics: An Engineering Approach, 10th ed.; McGraw-Hill: New York, NY, USA, 2019. [Google Scholar]
- Nur, A.; Gure, B.; Rustemli, S.; Gure, O.B. Wind Speed Prediction in Microgrid Energy Management Using the Random Forest and Artificial Neural Networks Methods. Middle East J. Sci. 2025, 11, 276–289. [Google Scholar] [CrossRef]
- IEA. Task 13: Soiling and Its Impact on PV Yield; IEA: Paris, France, 2024. [Google Scholar]
- Sahin, G.; Isik, G.; van Sark, W.G.J.H.M. Predictive modeling of PV solar power plant efficiency considering weather conditions: A comparative analysis of artificial neural networks and multiple linear regression. Energy Rep. 2023, 10, 2837–2849. [Google Scholar] [CrossRef]
- Demir, S.; Sahin, E.K. An Investigation of Feature Selection Methods for Soil Liquefaction Prediction Based on Tree-Based Ensemble Algorithms Using AdaBoost, Gradient Boosting, and XGBoost. Neural Comput. Appl. 2023, 35, 3173–3190. [Google Scholar] [CrossRef]
- IEA. Soiling and Cleaning Strategies; IEA: Paris, France, 2023. [Google Scholar]
- Rana, M.; Rahman, A. Multiple Steps Ahead Solar Photovoltaic Power Forecasting Based on Univariate Machine Learning Models and Data Re-sampling. Sustain. Energy Grids Netw. 2020, 21, 100286. [Google Scholar] [CrossRef]
- Shukla, A.K.; Sudhakar, K.; Baredar, P.; Mamat, R. Solar PV and BIPV System: Barriers, Challenges and Policy Recommendations in India. Renew. Sustain. Energy Rev. 2018, 82, 3314–3322. [Google Scholar] [CrossRef]
- Liu, W.; Shen, Y.; Aungkulanon, P.; Ghalandari, M.; Le, B.N.; Alviz-Meza, A.; Cárdenas-Escrocia, Y. Machine learning applications for photovoltaic system optimization in zero green energy buildings. Energy Rep. 2023, 9, 2787–2796. [Google Scholar] [CrossRef]
- Asiedu, S.T.; Nyarko, F.K.A.; Boahen, S.; Effah, F.B.; Asaaga, B.A. Machine Learning Forecasting of Solar PV Production Using Single and Hybrid Models over Different Time Horizons. Heliyon 2024, 10, e28898. [Google Scholar] [CrossRef]
- Şahin, G.; Levent, I.; Işık, G.; Sark, W.; Rustemli, S. Prediction and comparative analysis of rooftop PV solar energy efficiency considering indoor and outdoor parameters under real climate conditions factors with machine learning model. Comput. Model. Eng. Sci. 2025, 143, 1215–1248. [Google Scholar] [CrossRef]
- Kumar, M.; Malik, P.; Chandel, R.; Chandel, S.S. Development of a novel solar PV module model for reliable power prediction under real outdoor conditions. Renew. Energy 2023, 217, 119224. [Google Scholar] [CrossRef]
- Attou, A.; Massoum, A.; Chadli, M. Comparison Study of Two Tracking Methods for Photovoltaic Systems. Rev. Roum. Sci. Tech. Électrotech. Énergétique. 2015, 60, 205–214. [Google Scholar]
- Royne, A.; Dey, C.J.; Mills, D.R. Cooling of Photovoltaic Cells. Sol. Energy Mater. Sol. Cells 2005, 86, 451–483. [Google Scholar] [CrossRef]
- Ratshilengo, M.; Sigauke, C.; Bere, A. Short-term solar power forecasting using genetic algorithms: An application using south african data. Appl. Sci. 2021, 11, 4214. [Google Scholar] [CrossRef]
- Kumar, D.; Chauhan, Y.K.; Pandey, A.S.; Srivastava, A.K.; Kumar, V.; Alsaif, F.; Elavarasan, R.M.; Islam, M.R.; Kannadasan, R.; Alsharif, M.H. A Novel Hybrid MPPT Approach for Solar PV Systems Using Particle-Swarm Optimization-Trained Machine Learning and Flying Squirrel Search Optimization. Sustainability 2023, 15, 5575. [Google Scholar] [CrossRef]
- Luo, X.; Zhang, D.; Zhu, X. Deep learning based forecasting of photovoltaic power generation by incorporating domain knowledge. Energy 2021, 225, 120240. [Google Scholar] [CrossRef]
- de Campos, B.N.; Maionchi, D.d.O.; da Silva, J.G.; Biudes, M.S.; Oliveira, N.N.d.; Palácios, R.d.S. Photovoltaic Energy Modeling Using Machine Learning Applied to Meteorological Variables. Sustainability 2025, 17, 7506. [Google Scholar] [CrossRef]
- Green, M.A.; Dunlop, E.D.; Yoshita, M.; Kopidakis, N.; Bothe, K.; Siefer, G.; Hinken, D.; Rauer, M.; Hohl-Ebinger, J.; Hao, X. Solar Cell Efficiency Tables (Version 64). Prog. Photovolt. Res. Appl. 2024, 32, 425–441. [Google Scholar] [CrossRef]
- Zhang, L.; Jánošík, D. Enhanced short-term load forecasting with hybrid machine learning models: CatBoost and XGBoost approaches. Expert Syst. Appl. 2024, 241, 122686. [Google Scholar] [CrossRef]
- Kaya, F.; Sahin, G.; Alma, M.H. Investigation effects of environmental and operating factors on PV panel efficiency using by multivariate linear regression. Int. J. Energy Res. 2020, 45, 554–567. [Google Scholar] [CrossRef]
- Rosen, M.A.; Dincer, I. Exergy as the Confluence of Energy, Environment and Sustainable Development. Exergy Int. J. 2001, 1, 3–13. [Google Scholar] [CrossRef]
- Allal, Z.; Noura, H.N.; Salman, O.; Chahine, K. Leveraging the power of machine learning and data balancing techniques to evaluate stability in smart grids. Eng. Appl. Artif. Intell. 2024, 133, 108304. [Google Scholar] [CrossRef]
- Zhang, D.; Gong, Y. The comparison of LightGBM and XGBoost coupling factor analysis and prediagnosis of acute liver failure. IEEE Access 2020, 8, 220990–221003. [Google Scholar] [CrossRef]
- Kivambe, M.; Abdallah, A.; Figgis, B.; Scabbia, G. Assessing Vertical East-West Bifacial Photo-voltaic Systems in Desert Environments: Energy Yield and Soiling Mitigation. Sol. Energy 2024, 279, 112835. [Google Scholar] [CrossRef]
- Levent, I.; Sahin, G.; Isık, G.; van Sark, W.G.J.H.M. Comparative Analysis of Advanced Machine Learning Regression Models with Advanced Artificial Intelligence Techniques to Predict Rooftop PV Solar Power Plant Efficiency Using Indoor Solar Panel Parameters. Appl. Sci. 2025, 15, 3320. [Google Scholar] [CrossRef]
- Ellabban, O.; Abu-Rub, H.; Blaabjerg, F. Renewable Energy Resources: Current Status, Future Prospects, and Their Enabling Technology. Renew. Sustain. Energy Rev. 2014, 39, 748–764. [Google Scholar] [CrossRef]
- Wang, H.; Yi, H.; Peng, J.; Wang, G.; Liu, Y.; Jiang, H.; Liu, W. Deterministic and probabilistic forecasting of photovoltaic power based on deep convolutional neural network. Energy Convers. Manag. 2017, 153, 409–422. [Google Scholar] [CrossRef]
- Behera, M.K.; Majumder, I.; Nayak, N. Solar photovoltaic power forecasting using optimized modified extreme learning machine technique. Eng. Sci. Technol. Int. J. 2018, 21, 428–438. [Google Scholar] [CrossRef]
- Driesse, A.; Theristis, M.; Stein, J.S. A New Photovoltaic Module Efficiency Model for Energy Prediction and Rating. IEEE J. Photovolt. 2021, 11, 527–534. [Google Scholar] [CrossRef]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Balachandran, G.B.; Devisridhivyadharshini, M.; Ramachandran, M.E. Comparative Investigation of Imaging Techniques, Pre-processing, and Visual Fault Diagnosis Using Artificial Intelligence Models for Solar Photovoltaic System—A Comprehensive Review. Measurement 2024, 232, 114683. [Google Scholar] [CrossRef]
- Kim, J.Y.; Shin, U.H.; Kim, K. Predicting biomass composition and operating conditions in fluidized bed biomass gasifiers: An automated machine learning approach combined with cooperative game theory. Energy 2023, 280, 128138. [Google Scholar] [CrossRef]
- Zafar, M.R.; Khan, N. Deterministic local interpretable model-agnostic explanations for stable explainability. Mach. Learn. Knowl. Extr. 2021, 3, 525–541. [Google Scholar] [CrossRef]
- Hashemi, B.; Taheri, S.; Cretu, A.M. Systematic analysis and computational intelligence based modeling of photovoltaic power generation in snow conditions. IEEE J. Photovolt. 2022, 12, 406–420. [Google Scholar] [CrossRef]
- Mai, C.; Zhang, L.; Hu, X. Combining Dynamic Adaptive Snake Algorithm with Perturbation and Observation for MPPT in PV Systems Under Shading Conditions. Appl. Soft Comput. 2024, 162, 111822. [Google Scholar] [CrossRef]
- Blaifi, S.-A.; Mellit, A.; Taghezouit, B.; Moulahoum, S.; Hafdaoui, H. A Simple Non-Parametric Model for Photovoltaic Output Power Prediction. Renew. Energy 2025, 240, 122183. [Google Scholar] [CrossRef]
- Tripathi, A.K.; Aruna, M.; Elumalai, P.V.; Karthik, K.; Khan, S.A.; Asif, M.; Rao, K.S. Advancing Solar PV Panel Power Prediction: A Comparative Machine Learning Approach in Fluctuating Environmental Conditions. Case Stud. Therm. Eng. 2024, 59, 104459. [Google Scholar] [CrossRef]
- Abdelsattar, M.; AIsmeil, M.; Menoufi, K.; AbdelMoety, A.; Emad-Eldeen, A. Evaluating Machine Learning and Deep Learning Models for Predicting Wind Turbine Power Output from Environmental Factors. PLoS ONE 2025, 20, e0317619. [Google Scholar] [CrossRef]
- Thangavelu, M.; Parthiban, V.J.; Kesavaraman, D.; Murugesan, T. Forecasting of Solar Radiation for a Cleaner Environment Using Robust Machine Learning Techniques. Environ. Sci. Pollut. Res. 2023, 30, 30919–30932. [Google Scholar] [CrossRef] [PubMed]
- Intergovernmental Panel on Climate Change (IPCC). Climate Change 2022: Mitigation of Climate Change; Cambridge University Press: Cambridge, UK, 2022. [Google Scholar] [CrossRef]
- Saidur, R.; BoroumandJazi, G.; Mekhlif, S.; Jameel, M. Exergy Analysis of Solar Energy Applications. Renew. Sustain. Energy Rev. 2012, 16, 350–356. [Google Scholar] [CrossRef]
- Kalogirou, S.A. Solar Energy Engineering: Processes and Systems, 2nd ed.; Elsevier: Amsterdam, The Netherlands, 2014. [Google Scholar]
- Jain, P.; Islam, M.T.; Alshammari, A.S. Comparative Analysis of Machine Learning Techniques for Metamaterial Absorber Performance in Terahertz Applications. Alex. Eng. J. 2024, 103, 51–59. [Google Scholar] [CrossRef]
- Tsanakas, I.A.; Pilat, E. Hybrid Data-Driven Modeling and Prediction of Photovoltaic Soiling Losses. Sol. RRL 2025, 9, E202500576. [Google Scholar] [CrossRef]
- Esram, T.; Chapman, P.L. Comparison of Photovoltaic Array Maximum Power Point Trac-king Techniques. IEEE Trans. Energy Convers. 2007, 22, 439–449. [Google Scholar] [CrossRef]
- Oyarzún-Aravena, A.M.; Chen, J.; Brownbridge, G.; Akroyd, J.; Kraft, M. An analysis of renewable energy resources and options for the energy transition in Chile. Appl. Energy 2025, 381, 125107. [Google Scholar] [CrossRef]
- Ndiaye, E.H.M.; Ndiaye, A.; Faye MGueye, D.; Ba, A.; Traore, M. Analysis of the impact of irradiance and temperature on photovoltaic production: A statistical and machine learning approach. MethodsX 2025, 15, 103716. [Google Scholar] [CrossRef]
- Al Kez, D.; Foley, A.M.; Wong, F.B.M.H.; Dolfi, A.; Srinivasan, G. AI-driven cooling technologies for high-performance data centres: State-of-the-art review and future directions. Sustain. Energy Technol. Assess. 2025, 82, 104511. [Google Scholar] [CrossRef]
- Bamisile, O.; Acen, C.; Cai, D.; Huang, Q.; Staffell, I. The environmental factors affecting solar photovoltaic output. Renew. Sustain. Energy Rev. 2025, 208, 115073. [Google Scholar] [CrossRef]
- Zhang, F.; Wen, Y.; Jiang, M.; Liu, T.; Li, X. Wind speed profile model of the desert photovoltaic arrays. J. Wind. Eng. Ind. Aerodyn. 2025, 267, 106239. [Google Scholar] [CrossRef]
- Yin, Z.; Lu, X.; Nielsen, C.P.; Cui, R.Y.; Ou, Y.; Han, M.; Shi, M.; Ruan, Z.; Wang, J.; Su, Y.; et al. Mitigating inequity risks in China’s net-zero energy transition via an enhanced renewable-guided industrial spatial reconfiguration. Innovation 2026, 7, 1308. [Google Scholar] [CrossRef]
- Rashid, A.B.; Karim Kausik, M.A. AI revolutionizing industries worldwide: A comprehensive overview of its diverse applications. Hybrid Adv. 2024, 7, 100277. [Google Scholar] [CrossRef]
- Sebestyén, V. Renewable and Sustainable Energy Reviews: Environmental impact networks of renewable energy power plants. Renew. Sustain. Energy Rev. 2021, 151, 111626. [Google Scholar] [CrossRef]















| Feature | Values Between |
|---|---|
| Open Circuit Voltage (Voc) [Volt] | 38.10 V |
| Short Circuit Current (Isc) [A] | 14.07 A |
| Maximum Power (Pmpp) [W] | 420 W |
| Solar Irradiation Spread [m2] | 0.000616–0.008284 |
| Maximum Voltage (Vmpp) [V] | 31.50 V |
| Maximum Current (Impp) [A] | 13.34 A |
| FillFactor (FF) [%] | 50–75 |
| Parallel Resistance (Rp) [Ohm] | 0.18–1.20 |
| Series Resistance (Rs) [Ohm] | 0.18–0.97 |
| Module Temperature [°C] | 25 °C |
| Efficiency [%] | 5–20 |
| Item | Description |
|---|---|
| Location | Kars Sarıkamış, Turkey |
| Collection period | 2023–2024 |
| Sampling frequency | Hourly measurements |
| Total samples | A one-month data set |
| Input variables | Solar irradiation, temperature, humidity, wind speed, pressure |
| Output variables | PV efficiency, CO2 reduction, income |
| Missing data handling | Linear interpolation + outlier removal |
| Train/Test split | 80%/20% |
| Cross-validation | 5-fold CV |
| Normalization | Min–Max scaling |
| Model | R2 | RMSE | MAE | MSE |
|---|---|---|---|---|
| XGBoost | 0.9967 | 0.0943 | 0.0067 | 0.0089 |
| Random Forest | 0.9724 | 0.1058 | 0.0095 | 0.0112 |
| ANN | 0.9612 | 0.013 | 0.010 | 0.012 |
| Linear Regression | 0.4777 | 0.1297 | 0.0123 | 0.0168 |
| Rank | Parameter | Effect Coefficient |
|---|---|---|
| 5 | Pressure | 0.070400 |
| 4 | Air Temp | 0.062560 |
| 2 | Module Temp | 0.052237 |
| 1 | Solar Irradiation | 0.049422 |
| 3 | Wind Speed | 0.011316 |
| 7 | Lifetime Energy (mWh) | 0.010462 |
| 6 | Humidity | 0.008333 |
| 8 | CO2 Reduction (kt) | 0.596283 |
| 9 | Income (USD) | 0.138987 |
| Feature | RF Importance | 95% CI | XGBoost Importance | 95% CI |
|---|---|---|---|---|
| Solar Irradiation | 0.28 | [0.10–0.52] | 0.31 | [0.08–0.60] |
| Module Temperature | 0.22 | [0.08–0.41] | 0.26 | [0.05–0.48] |
| Air Temperature | 0.18 | [0.06–0.35] | 0.21 | [0.04–0.40] |
| Humidity | 0.12 | [0.03–0.28] | 0.09 | [0.02–0.22] |
| Wind Speed | 0.10 | [0.02–0.25] | 0.08 | [0.01–0.20] |
| Pressure | 0.10 | [0.02–0.22] | 0.05 | [0.01–0.15] |
| Daily Energy (kWh) | Lifetime Energy (kWh) | CO2 Reduction (kg) | Income (USD) | |
|---|---|---|---|---|
| Daily Energy (kWh) | 1.00 | 0.90 | 0.80 | 0.75 |
| Lifetime Energy (kWh) | 0.90 | 1.00 | 0.85 | 0.70 |
| CO2 Reduction (kg) | 0.80 | 0.85 | 1.00 | 0.65 |
| Income (USD) | 0.75 | 0.70 | 0.65 | 1.00 |
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. |
© 2026 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.
Share and Cite
Şahin, G.; Akin, E. Predictive Energy and Exergy Assessment of Photovoltaic Systems Under Dynamic Environmental Conditions Using Machine Learning. Appl. Sci. 2026, 16, 5049. https://doi.org/10.3390/app16105049
Şahin G, Akin E. Predictive Energy and Exergy Assessment of Photovoltaic Systems Under Dynamic Environmental Conditions Using Machine Learning. Applied Sciences. 2026; 16(10):5049. https://doi.org/10.3390/app16105049
Chicago/Turabian StyleŞahin, Gökhan, and Erdal Akin. 2026. "Predictive Energy and Exergy Assessment of Photovoltaic Systems Under Dynamic Environmental Conditions Using Machine Learning" Applied Sciences 16, no. 10: 5049. https://doi.org/10.3390/app16105049
APA StyleŞahin, G., & Akin, E. (2026). Predictive Energy and Exergy Assessment of Photovoltaic Systems Under Dynamic Environmental Conditions Using Machine Learning. Applied Sciences, 16(10), 5049. https://doi.org/10.3390/app16105049

