IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i12p3160-d1680131.html
   My bibliography  Save this article

Python-Based Implementation of Metaheuristic MPPT Techniques: A Cost-Effective Framework for Solar Photovoltaic Systems in Developing Nations

Author

Listed:
  • Syed Majed Ashraf

    (Bharti School of Telecommunication Technology and Management, Indian Institute of Technology Delhi, New Delhi 110016, India)

  • M. Saad Bin Arif

    (Department of Electrical Engineering, Zakir Husain College of Engineering and Technology, Aligarh 202002, India)

  • Mohammed Khouj

    (Department of Electrical Engineering, College of Engineering, University of Business and Technology, Jeddah 21361, Saudi Arabia)

  • Shahrin Md. Ayob

    (Faculty of Electrical Engineering, Universiti Teknologi Malaysia UTM, Johor Bharu 81310, Malaysia)

  • Muhammad I. Masud

    (Department of Electrical Engineering, College of Engineering, University of Business and Technology, Jeddah 21361, Saudi Arabia)

Abstract

Despite the convenience of solar potential and the magnitude of energy received by the Earth from the sun, solar photovoltaic systems have failed to meet the growing energy demand. This can be attributed to various factors such as low cell efficiency, environmental conditions, and improper tracking of operating points, which further worsen the system’s performance. Various advanced metaheuristic-based Maximum Power Point Tracking (MPPT) techniques were reported in the literature. Most available techniques were designed and tested in subscription-based/paid software such as MATLAB/Simulink, PSIM simulator, etc. Due to this, the simulation and analysis of these MPPT algorithms for developing and underdeveloped countries added an extra economic burden. Many open-source PV libraries are computationally intensive, lack active support, and prove impractical for MPPT testing on resource-constrained hardware. Their complexity and absence of optimization for edge devices limit their viability for the edge device. This issue is addressed in this research by designing a robust framework using an open-source programming language i.e., Python. For demonstration purposes, we simulated and analyzed a solar PV system and benchmarked its performance against the JAP6 solar panel. We implemented multiple metaheuristic MPPT algorithms including Artificial Bee Colony (ABC) and Particle Swarm Optimization (PSO), evaluating their efficacy under both Standard Test Conditions (STC) and complex partial shading scenarios. The results obtained validate the feasibility of the implementation in Python. Therefore, this research provides a comprehensive framework that can be utilized to implement sophisticated designs in a cost-effective manner for developing and underdeveloped nations.

Suggested Citation

  • Syed Majed Ashraf & M. Saad Bin Arif & Mohammed Khouj & Shahrin Md. Ayob & Muhammad I. Masud, 2025. "Python-Based Implementation of Metaheuristic MPPT Techniques: A Cost-Effective Framework for Solar Photovoltaic Systems in Developing Nations," Energies, MDPI, vol. 18(12), pages 1-18, June.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:12:p:3160-:d:1680131
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/12/3160/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/12/3160/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ma, Tao & Yang, Hongxing & Lu, Lin, 2014. "Solar photovoltaic system modeling and performance prediction," Renewable and Sustainable Energy Reviews, Elsevier, vol. 36(C), pages 304-315.
    2. Shahbaz, Muhammad & Raghutla, Chandrashekar & Chittedi, Krishna Reddy & Jiao, Zhilun & Vo, Xuan Vinh, 2020. "The effect of renewable energy consumption on economic growth: Evidence from the renewable energy country attractive index," Energy, Elsevier, vol. 207(C).
    3. Kumar, Dipesh & Chatterjee, Kalyan, 2016. "A review of conventional and advanced MPPT algorithms for wind energy systems," Renewable and Sustainable Energy Reviews, Elsevier, vol. 55(C), pages 957-970.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Renzo Seminario-Córdova, 2023. "Latin America towards Sustainability through Renewable Energies: A Systematic Review," Energies, MDPI, vol. 16(21), pages 1-22, November.
    2. Wang, Lili & Pang, Jun, 2025. "Assessing the impact of climate mitigation technology and environmental tax on renewable energy development: A dynamic threshold approach," Renewable Energy, Elsevier, vol. 244(C).
    3. Li, Zhenpeng & Ma, Tao & Zhao, Jiaxin & Song, Aotian & Cheng, Yuanda, 2019. "Experimental study and performance analysis on solar photovoltaic panel integrated with phase change material," Energy, Elsevier, vol. 178(C), pages 471-486.
    4. Liu, Junbo & Cai, Chang & Song, Dongran & Zhong, Xiaohui & Shi, Kezhong & Chen, Yinpeng & Cheng, Shijie & Huang, Yupian & Jiang, Xue & Li, Qing'an, 2024. "Nonlinear model predictive control for maximum wind energy extraction of semi-submersible floating offshore wind turbine based on simplified dynamics model," Energy, Elsevier, vol. 311(C).
    5. Ma, Tao & Li, Meng & Kazemian, Arash, 2020. "Photovoltaic thermal module and solar thermal collector connected in series to produce electricity and high-grade heat simultaneously," Applied Energy, Elsevier, vol. 261(C).
    6. LIU Xiangling & Md Qamruzzaman, 2024. "The role of ICT investment, digital financial inclusion, and environmental tax in promoting sustainable energy development in the MENA region: Evidences with Dynamic Common Correlated Effects (DCE) an," PLOS ONE, Public Library of Science, vol. 19(5), pages 1-30, May.
    7. Cengiz Gazeloğlu & Eren Erkılıç, 2025. "Economic Development, Renewable Energy Use, and International Tourism: Strategic Approaches to Carbon Emission Reduction in SICA Countries," Sustainability, MDPI, vol. 17(5), pages 1-22, February.
    8. Mahmoudimehr, Javad & Shabani, Masoume, 2018. "Optimal design of hybrid photovoltaic-hydroelectric standalone energy system for north and south of Iran," Renewable Energy, Elsevier, vol. 115(C), pages 238-251.
    9. Khan, Yasir & Hassan, Taimoor & Guiqin, Huang & Nabi, Ghulam, 2023. "Analyzing the impact of natural resources and rule of law on sustainable environment: A proposed policy framework for BRICS economies," Resources Policy, Elsevier, vol. 86(PA).
    10. Peterson K. Ozili & Paul Terhemba Iorember, 2024. "Financial stability and sustainable development," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 29(3), pages 2620-2646, July.
    11. Ma, Tao & Zhao, Jiaxin & Li, Zhenpeng, 2018. "Mathematical modelling and sensitivity analysis of solar photovoltaic panel integrated with phase change material," Applied Energy, Elsevier, vol. 228(C), pages 1147-1158.
    12. Nurulhuda Seriram & Muhamad Rias K. V. Zainuddin & Hakimah Nur Ahmad Hamidi & Amirul Hamza Abdullah, 2024. "Impacts of Renewable Energy Transitions on the Economic Growth in Malaysia: A Dynamic ARDL Simulations," International Journal of Energy Economics and Policy, Econjournals, vol. 14(5), pages 251-258, September.
    13. Senturk, Ali, 2020. "Investigation of datasheet provided temperature coefficients of photovoltaic modules under various sky profiles at the field by applying a new validation procedure," Renewable Energy, Elsevier, vol. 152(C), pages 644-652.
    14. Lin, Boqiang & Xu, Chongchong, 2024. "Reaping green dividend: The effect of China's urban new energy transition strategy on green economic performance," Energy, Elsevier, vol. 286(C).
    15. Lee, Chien-Chiang & Wang, Fuhao & Chang, Yu-Fang, 2023. "Does green finance promote renewable energy? Evidence from China," Resources Policy, Elsevier, vol. 82(C).
    16. Arshdeep Singh & Shimi Sudha Letha, 2019. "Emerging energy sources for electric vehicle charging station," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 21(5), pages 2043-2082, October.
    17. Tang, Longhai & Mahmood, Hamid & Khalid, Samia, 2025. "Examining the impact of structural reforms on energy poverty: A threshold effect of energy affordability," Energy, Elsevier, vol. 320(C).
    18. Palloma Silva & Roberta Amaral & Patricia Fortes & Isabel Soares, 2024. "Understanding the Influence of Wind and Solar PV on Socioeconomic and Environmental Trends: A Non-causality Perspective," International Journal of Energy Economics and Policy, Econjournals, vol. 14(5), pages 1-9, September.
    19. Tai Li & Yanbo Wang & Sunan Sun & Huimin Qian & Leqiu Wang & Lei Wang & Yanxia Shen & Zhicheng Ji, 2023. "Fuzzy Active Disturbance Rejection-Based Virtual Inertia Control Strategy for Wind Farms," Energies, MDPI, vol. 16(10), pages 1-16, May.
    20. Puertas, Rosa & Guaita-Martinez, José M. & Carracedo, Patricia & Ribeiro-Soriano, Domingo, 2022. "Analysis of European environmental policies: Improving decision making through eco-efficiency," Technology in Society, Elsevier, vol. 70(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:18:y:2025:i:12:p:3160-:d:1680131. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.