Submit your papersSubmit Now
For Enquiries: [email protected]
IIARD LogoIIARD

Modelling, Simulation and Genetic Algorithm Optimization of a Photovoltaic System Validated with Field Data from Lagos, Nigeria

Oreoluwa Michael Adenuga, Tosin Emmanuel Ariyo, Prof Peter Olabisi Oluseyi

Abstract

Reliable prediction of photovoltaic performance under variable tropical conditions remains a barrier to the cost-effective deployment of solar energy in sub-Saharan Africa. This study develops, validates, and optimizes a physics-based model of a photovoltaic system using MATLAB/Simulink and the Simscape Electrical toolbox. A single-diode equivalent circuit model was constructed from the governing photovoltaic cell equations and parameterized with real operational data collected from a mini solar installation in Lagos, Nigeria, comprising twelve 0.5 V cells connected in series to deliver 6 V and a peak power of 6 W. The model simulated module output power in response to changes in irradiance, ambient temperature, and load, and its current-voltage and power-voltage characteristics were compared against measured field data, showing strong agreement across operating conditions. A genetic algorithm was then applied to optimize panel configuration and system sizing with the objectives of maximizing annual energy output and minimizing the levelized cost of energy. The optimized configuration achieved a 10 percent increase in energy output, a 5 percent reduction in levelized cost of energy, and a 2 percent improvement in system efficiency. Sensitivity analysis identified solar irradiance and ambient temperature as the dominant performance drivers: a 10 percent increase in irradiance raised energy output by 12 percent, while a 5-degree Celsius temperature rise reduced output by 3 percent. The optimized system is projected to generate 3567.57 kWh annually at a levelized cost of NGN 83 per kWh with a payback period of seven years. The framework offers a transferable, low-cost pathway for designing efficient residential and commercial photovoltaic systems in high-irradiance developing regions.

Keywords

photovoltaic modelling; MATLAB/Simulink; Simscape Electrical; genetic algorithm; levelized cost of energy; sensitivity analysis; Nigeria

References

[1] P. G. V. Sampaio and M. O. A. González, 'Photovoltaic solar energy: Conceptual framework,' Renewable and Sustainable Energy Reviews, vol. 74, pp. 590-601, 2017. [2] K. A. Kuterbekov, A. M. Kabyshev, K. Z. Bekmyrza, M. M. Kubenova, and A. T. Ayalew, 'How can solar panels collectors enhance energy efficiency? Utilization of the novel optimization techniques,' International Journal of Low-Carbon Technologies, vol. 19, pp. 1049-1059, 2024, doi: 10.1093/ijlct/ctae048. [3] A. Basem, S. Opakhai, Z. M. S. Elbarbary, F. Atamurotov, and N. E. Benti, 'A comprehensive analysis of advanced solar panel productivity and efficiency through numerical models and emotional neural networks,' Scientific Reports, vol. 15, no. 1, pp. 1-17, 2025, doi: 10.1038/s41598-024-70682-2. [4] S. O. Oyedepo, 'Energy and sustainable development in Nigeria: the way forward,' Energy, Sustainability and Society, vol. 2, art. 15, 2012. [5] O. S. Ohunakin, M. S. Adaramola, O. M. Oyewola, and R. O. Fagbenle, 'Solar energy applications and development in Nigeria: Drivers and barriers,' Renewable and Sustainable Energy Reviews, vol. 32, pp. 294-301, 2014. [6] M. O. Ajewole, P. A. Owolawi, J. S. Ojo, and O. M. Oyedele, 'Hybrid renewable energy system for 5G mobile telecommunication applications in Akure, Southwestern Nigeria,' Nigerian Journal of Pure and Applied Physics, vol. 8, no. 1, p. 27, 2019, doi: 10.4314/njpap. v8i1.4. [7] E. A. Sunday and G. O. Omoegun, 'Integrating solar power solutions in small-scale manufacturing industries in Nigeria,' International Journal of Scientific Research in Science, Engineering and Technology, vol. 4, no. 8, pp. 832-853, 2018. [8] O. N. Michael and O. E. Ogunsola, 'Assessing the potential of renewable energy technologies for sustainable irrigation and smallholder farm productivity,' International Journal of Scientific Research in Humanities and Social Sciences, vol. 1, no. 1, pp. 380-411, 2024. [9] E. B. Amayo, O. A. Owulade, and L. R. Isi, 'Project management strategies in renewable energy deployments: A focus on solar power in West Africa,' International Journal of Management and Entrepreneurship Research, vol. 7, no. 3, pp. 266-284, 2025, doi: 10.51594/ijmer. v7i3.1845. [10] E. B. Amayo, O. A. Owulade, and L. R. Isi, 'Strategic project management approaches for successful solar energy deployments in emerging markets: Lessons from West Africa,' Iconic Research and Engineering Journals, vol. 7, no. 11, pp. 783-803, 2024. [11] D. U. Ike, A. U. Adoghe, and A. Abdulkareem, 'Analysis of telecom base stations powered by solar energy,' International Journal of Scientific and Technology Research, vol. 3, no. 4, pp. 369-374, 2014. [12] S. I. Monye, K. A. Bello, S. A. Omotehinse, O. M. Ikumapayi, O. M. Tawose, T. B. Adeleke, O. Awogbemi, N. S. Monye, and O. Boboye, 'Achieving energy sustainability in Nigeria's telecommunications industry through renewable propane,' NIPES Journal of Science and Technology Research, vol. 7, no. 2, pp. 3320-3325, 2025, doi: 10.37933/nipes/7.4. 2025.SI398. [13] K. A. Bello, T. M. Azeez, O. M. Tawose, K. O. Odesanya, O. A. Odumosu, and O. A. Oyelaran, 'Investigating the influence of rubber seed oil and used cooking oil on diesel,' E3S Web of Conferences, vol. 430, art. 01217, 2023, doi: 10.1051/e3sconf/202343001217. [14] S. I. Monye, I. A. Daniyan, N. S. Monye, O. M. Ikumapayi, K. A. Bello, O. Boboye, O. Awogbemi, O. M. Tawose, and A. A. Adesoji, 'Hydrogen infrastructure for a sustainable future: Challenges, innovations, and global opportunities,' NIPES Journal of Science and Technology Research, vol. 7, no. 2, pp. 3302-3308, 2025, doi: 10.37933/nipes/7.4. 2025.SI395. [15] B. Tull, 'Photovoltaic cells: Science and materials,' Angewandte Chemie International Edition, vol. 6, no. 11, pp. 269-277, 1967. [16] S. R. Wenham, M. A. Green, M. E. Watt, and R. Corkish, Applied Photovoltaics, 3rd ed. London, UK: Earthscan, 2011. [17] J. A. Duffie and W. A. Beckman, Solar Engineering of Thermal Processes, 4th ed. Hoboken, NJ, USA: Wiley, 2013. [18] N. H. Zaini et al., 'Lightning surge analysis on a large-scale grid-connected solar photovoltaic system,' Energies, vol. 10, no. 12, 2017, doi: 10.3390/en10122149. [19] D. D. Milosavljevic, T. S. Kevkic, and S. J. Jovanovic, 'Review and validation of photovoltaic solar simulation tools/software based on case study,' Open Physics, vol. 20, no. 1, pp. 431- 451, 2022, doi: 10.1515/phys-2022-0042. [20] M. G. Villalva, J. R. Gazoli, and E. R. Filho, 'Comprehensive approach to modeling and simulation of photovoltaic arrays,' IEEE Transactions on Power Electronics, vol. 24, no. 5, pp. 1198-1208, 2009. [21] W. De Soto, S. A. Klein, and W. A. Beckman, 'Improvement and validation of a model for photovoltaic array performance,' Solar Energy, vol. 80, no. 1, pp. 78-88, 2006. [22] M. A. El-Dabah, R. A. El-Sehiemy, H. M. Hasanien, and B. Saad, 'Photovoltaic model parameters identification using an innovative optimization algorithm,' IET Renewable Power Generation, vol. 17, no. 7, pp. 1783-1796, 2023, doi: 10.1049/rpg2.12712. [23] E. Skoplaki and J. A. Palyvos, 'On the temperature dependence of photovoltaic module electrical performance: A review of efficiency/power correlations,' Solar Energy, vol. 83, no. 5, pp. 614-624, 2009. [24] T. Huld et al., 'A power-rating model for crystalline silicon PV modules,' Solar Energy Materials and Solar Cells, vol. 95, no. 12, pp. 3359-3369, 2011, doi: 10.1016/j.solmat.2011.07.026. [25] T. Esram and P. L. Chapman, 'Comparison of photovoltaic array maximum power point tracking techniques,' IEEE Transactions on Energy Conversion, vol. 22, no. 2, pp. 439-449, 2007. [26] N. Femia, G. Petrone, G. Spagnuolo, and M. Vitelli, 'Optimization of perturb and observe maximum power point tracking method,' IEEE Transactions on Power Electronics, vol. 20, no. 4, pp. 963-973, 2005. [27] K. Ishaque and Z. Salam, 'A review of maximum power point tracking techniques of PV system for uniform insolation and partial shading condition,' Renewable and Sustainable Energy Reviews, vol. 19, pp. 475-488, 2013. [28] V. H. U. Eze et al., 'Development of maximum power point tracking algorithm based on Improved Optimized Adaptive Differential Conductance Technique for renewable energy generation,' Heliyon, vol. 11, no. 1, p. e41344, 2025, doi: 10.1016/j.heliyon. 2024.e41344. [29] S. Kouro, J. I. Leon, D. Vinnikov, and L. G. Franquelo, 'Grid-connected photovoltaic systems: An overview of recent research and emerging PV converter technology,' IEEE Industrial Electronics Magazine, vol. 9, no. 1, pp. 47-61, 2015, doi: 10.1109/MIE.2014.2376976. [30] D. Krishnachaitanya and A. Chitra, 'Quantitative analysis of asymmetric multilevel inverters with reduced device count from reliability and cost function perspective: A review,' IEEE Transactions on Power Electronics, vol. 36, no. 10, pp. 11068-11086, 2021, doi: 10.1109/TPEL.2021.3071375. [31] N. Saju, V. Jegathesan, and K. P. Aiswarya, 'Solid state transformers: An emerging trend in power quality improvement,' International Journal of Engineering Research and Technology, vol. 13, no. 5, pp. 900-908, 2020. [32] W. A. Rodrigues, T. R. Oliveira, L. M. F. Morais, and A. H. R. Rosa, 'Voltage and power balance strategy without communication for a modular solid-state transformer based on adaptive droop control,' Energies, vol. 11, no. 7, pp. 1-20, 2018, doi: 10.3390/en18071802. [33] P. Oshevire, O. J. Eyenubo, and B. Amayo, 'Voltage control in the presence of distributed generation,' ATBU Journal of Science, Technology and Education, vol. 5, no. 2, pp. 165-173, 2017. [34] A. Owosuhi, Y. Hamam, and J. Munda, 'Maximizing the integration of a battery energy storage system-photovoltaic distributed generation for power system harmonic reduction: An overview,' Energies, vol. 16, no. 6, 2023, doi: 10.3390/en16062549. [35] R. Eke and A. Senturk, 'Performance comparison of a double-axis sun tracking versus fixed PV system,' Solar Energy, vol. 86, no. 9, pp. 2665-2672, 2012, doi: 10.1016/j.solener.2012.06.006. [36] J. R. B. del Rosario and E. P. Dadios, 'Design and optimization of photovoltaic solar energy in a small domesticated establishment (an integrative review),' Journal of Advanced Management Science, vol. 1, no. 1, pp. 160-164, 2013, doi: 10.12720/joams.1.1.160-164. [37] J. Robert and B. Rosario, 'Development of a fuzzy logic-based PV solar tracking system simulated using QT fuzzy engine,' 2015. [38] F. E. Tahiri, K. Chikh, and M. Khafallah, 'Optimal management energy system and control strategies for isolated hybrid solar-wind-battery-diesel power system,' Emerging Science Journal, vol. 5, no. 2, pp. 111-124, 2021, doi: 10.28991/esj-2021-01262. [39] J. H. Holland, Adaptation in Natural and Artificial Systems. Ann Arbor, MI, USA: University of Michigan Press, 1975. [40] D. E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning. Reading, MA, USA: Addison-Wesley, 1989. [41] J. Kennedy and R. Eberhart, 'Particle swarm optimization,' in Proceedings of the IEEE International Conference on Neural Networks, Perth, Australia, 1995, pp. 1942-1948. [42] R. Storn and K. Price, 'Differential evolution: A simple and efficient heuristic for global optimization over continuous spaces,' Journal of Global Optimization, vol. 11, no. 4, pp. 341- 359, 1997. [43] S. Gaffoor and M. Chacko, 'A multi-objective hybrid optimization for renewable energy integrated electrical power transmission expansion planning,' International Journal of Electrical and Computer Engineering Systems, vol. 13, no. 2, pp. 87-98, 2022, doi: 10.32985/IJECES.13.2.1. [44] L. Peng, A. Zabihi, M. Azimian, H. Shirvani, and F. Shahnia, 'Developing a robust expansion planning approach for transmission networks and privately-owned renewable sources,' IEEE Access, vol. 11, pp. 76046-76058, 2023, doi: 10.1109/ACCESS.2022.3226695. [45] T. Khatib, A. Mohamed, and K. Sopian, 'A review of photovoltaic systems size optimization techniques,' Renewable and Sustainable Energy Reviews, vol. 22, pp. 454-465, 2013. [46] A. Mellit and S. A. Kalogirou, 'Artificial intelligence techniques for photovoltaic applications: A review,' Progress in Energy and Combustion Science, vol. 34, no. 5, pp. 574- 632, 2008. [47] E. B. Amayo, 'Multi algorithm of loss objective function of a single-phase induction motor,' International Journal of Development Research, vol. 7, no. 5, pp. 12805-12810, 2017. [48] E. B. Amayo, E. Ubeku, and P. Oshevire, 'Multi algorithm of a single objective function of a single-phase induction motor,' Journal of Multidisciplinary Engineering Science and Technology, vol. 2, no. 12, pp. 3400-3403, 2015. [49] K. Branker, M. J. M. Pathak, and J. M. Pearce, 'A review of solar photovoltaic levelized cost of electricity,' Renewable and Sustainable Energy Reviews, vol. 15, no. 9, pp. 4470-4482, 2011. [50] K. Gebrehiwot, M. A. H. Mondal, C. Ringler, and A. G. Gebremeskel, 'Optimization and cost-benefit assessment of hybrid power systems for off-grid rural electrification in Ethiopia,' Energy, vol. 177, pp. 234-246, 2019, doi: 10.1016/j.energy.2019.04.095. [51] P. Palej, H. Qusay, S. Kleszcz, R. Hanus, and M. Jaszczur, 'Analysis and optimization of hybrid renewable energy systems,' Polityka Energetyczna, vol. 22, no. 2, pp. 107-120, 2019, doi: 10.33223/epj/109911. [52] N. Shirzadi, F. Nasiri, and U. Eicker, 'Optimal configuration and sizing of an integrated renewable energy system,' Energies, vol. 13, no. 3527, pp. 1-18, 2020. [53] B. K. Yeboah and P. N. Ike, 'Programmatic strategy for renewable energy integration: Lessons from large-scale solar projects,' International Journal of Multidisciplinary Research and Growth Evaluation, vol. 1, no. 3, pp. 306-315, 2020, doi: 10.54660/. IJMRGE.2020.1.3.306-315. [54] E. A. Sunday and G. O. Omoegun, 'Optimizing electrical load distribution for hybrid solar installations in developing economies,' International Journal of Scientific Research in Mechanical and Materials Engineering, vol. 3, no. 6, pp. 27-47, 2019. [55] B. K. Yeboah, O. F. Enow, P. N. Ike, and S. B. Nnabueze, 'Program design for advanced preventive maintenance in renewable energy systems,' Shodhshauryam, International Scientific Refereed Research Journal, vol. 7, no. 2, pp. 138-156, 2024, doi: 10.32628/SHISRRJ2472156. [56] B. K. Yeboah, O. F. Enow, P. N. Ike, and S. B. Nnabueze, 'Policy and compliance program for safety and environmental standards in renewable energy projects,' Global Journal of Engineering and Technology Research, vol. 1, no. 2, pp. 64-74, 2025, doi: 10.65150/EP- gjetr/V1E2/2025-04. [57] W. Asiedu and R. Quainoo, 'Toward maintenance free wireless infrastructure: Simulating performance and reliability in large scale intermittently powered IoT networks,' Gyanshauryam, International Scientific Refereed Research Journal, vol. 6, no. 1, pp. 489-510, 2023. [58] W. Asiedu, R. Quainoo, and A. Asiedu, 'A conceptual framework for characterizing fundamental energy, reliability, and latency trade-offs in green communication paradigms for next-generation IoT,' International Journal of Advanced Multidisciplinary Research and Studies, vol. 5, no. 6, pp. 2447-2453, 2025, doi: 10.62225/2583049X.2025.5.6.6479. [59] A. Tonoyan, O. Dada, and S. S. Ayivi-Donkor, 'Algorithmic process optimization and cost reduction: A review of simulation modeling and financial impact assessment,' Journal of Accounting and Financial Management, vol. 8, no. 8, pp. 139-169, 2022, doi: 10.56201/jafm..p139.169. [60] S. N. Tackie, N. M. Komi, and O. C. Ozerdem, '31-level single-phase cascaded inverter with minimal component count,' International Journal on Technical and Physical Problems of Engineering, vol. 15, no. 1, pp. 271-282, 2023. [61] N. M. Komi and O. S. Ganiu, 'Grid-connected battery storage in hot and weak-grid regions: Advances, degradation challenges, and lifecycle equity,' International Journal of Multidisciplinary Research and Growth Evaluation, vol. 3, no. 6, pp. 1072-1095, 2022, doi: 10.54660/. IJMRGE.2022.3.6.1072-1095. [62] N. M. Komi and I. O. Adeniji, 'No single instrument reaches the poor: A systematic review of financing mechanisms for inclusive renewable energy,' International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 10, no. 3, pp. 1185-1241, 2024, doi: 10.32628/CSEIT25113586. [63] N. M. Komi and I. O. Adeniji, 'Why energy projects survive or fail: Modeling the causal link between community trust and infrastructure durability,' International Journal of Advanced Multidisciplinary Research and Studies, vol. 4, no. 6, pp. 3263-3296, 2024, doi: 10.62225/2583049X.2024.4.6.6459. [64] N. M. Komi and A. Adamolekun, 'Interpretable machine learning for early failure prediction in distributed renewable energy assets,' International Journal of Multidisciplinary Research and Growth Evaluation, vol. 2, no. 6, pp. 1015-1038, 2021, doi: 10.54660/. IJMRGE.2021.2.6.1015-1038. [65] D. Dagodzo and M. C. Ahiaeke Patrick, 'A framework for national-scale UAV deployment in power infrastructure: Lessons from developing economies,' International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 11, no. 4, pp. 779-824, 2025, doi: 10.32628/CSEIT251116286. [66] N. M. Komi and A. Adamolekun, 'A unified socio-technical design framework for equitable energy transition in resource-dependent regions,' Global Journal of Engineering and Technology Review, vol. 2, no. 6, pp. 189-221, 2026, doi: 10.65150/EP-gjetr/V2E6/2026-04.