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. Zhongwei, Huang & Liu, Yishu, 2022. "The role of eco-innovations, trade openness, and human capital in sustainable renewable energy consumption: Evidence using CS-ARDL approach," Renewable Energy, Elsevier, vol. 201(P1), pages 131-140.
    2. Renzo Seminario-Córdova, 2023. "Latin America towards Sustainability through Renewable Energies: A Systematic Review," Energies, MDPI, vol. 16(21), pages 1-22, November.
    3. Trigo-González, Mauricio & Batlles, F.J. & Alonso-Montesinos, Joaquín & Ferrada, Pablo & del Sagrado, J. & Martínez-Durbán, M. & Cortés, Marcelo & Portillo, Carlos & Marzo, Aitor, 2019. "Hourly PV production estimation by means of an exportable multiple linear regression model," Renewable Energy, Elsevier, vol. 135(C), pages 303-312.
    4. Lafarge, Barbara & Grondel, Sébastien & Delebarre, Christophe & Curea, Octavian & Richard, Claude, 2021. "Linear electromagnetic energy harvester system embedded on a vehicle suspension: From modeling to performance analysis," Energy, Elsevier, vol. 225(C).
    5. Nouf Alsulamy & Aqsa Shoukat & Islam Elgammal, 2025. "Business Strategies for Managing Non-Renewable Energy Dynamics in Saudi Arabia’s Manufacturing Sector," Sustainability, MDPI, vol. 17(10), pages 1-17, May.
    6. Khadijah Iddrisu & Isaac Ofoeda & Joshua Yindenaba Abor, 2023. "Inward foreign direct investment and inclusiveness of growth: will renewable energy consumption make a difference?," International Economics and Economic Policy, Springer, vol. 20(3), pages 367-388, July.
    7. Hamid Chojaa & Aziz Derouich & Mohammed Taoussi & Seif Eddine Chehaidia & Othmane Zamzoum & Mohamed I. Mosaad & Ayman Alhejji & Mourad Yessef, 2022. "Nonlinear Control Strategies for Enhancing the Performance of DFIG-Based WECS under a Real Wind Profile," Energies, MDPI, vol. 15(18), pages 1-23, September.
    8. 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).
    9. Li, Menghan & Zhang, Kaiyue & Alamri, Ahmad Mohammed & Ageli, Mohammed Moosa & Khan, Numan, 2023. "Resource curse hypothesis and sustainable development: Evaluating the role of renewable energy and R&D," Resources Policy, Elsevier, vol. 81(C).
    10. Boulanouar, Zakaria & Essid, Lobna & Farid, Saqib & Ben Mahjoub, Lassaad, 2025. "Asymmetric threshold effects of economic growth on renewable energy in response to energy price fluctuations," The Journal of Economic Asymmetries, Elsevier, vol. 31(C).
    11. 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.
    12. Shabani, Masoume & Mahmoudimehr, Javad, 2019. "Influence of climatological data records on design of a standalone hybrid PV-hydroelectric power system," Renewable Energy, Elsevier, vol. 141(C), pages 181-194.
    13. Abdul Rehman & Hengyun Ma & Magdalena Radulescu & Crenguta Ileana Sinisi & Loredana Maria Paunescu & MD Shabbir Alam & Rafael Alvarado, 2021. "The Energy Mix Dilemma and Environmental Sustainability: Interaction among Greenhouse Gas Emissions, Nuclear Energy, Urban Agglomeration, and Economic Growth," Energies, MDPI, vol. 14(22), pages 1-21, November.
    14. Predrag Petrović, 2023. "Economic sustainability of energy conservation policy: improved panel data evidence," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 25(2), pages 1473-1491, February.
    15. 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).
    16. Memon, Mudasir Ahmed & Mekhilef, Saad & Mubin, Marizan & Aamir, Muhammad, 2018. "Selective harmonic elimination in inverters using bio-inspired intelligent algorithms for renewable energy conversion applications: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 82(P3), pages 2235-2253.
    17. Muhsen, Dhiaa Halboot & Khatib, Tamer & Nagi, Farrukh, 2017. "A review of photovoltaic water pumping system designing methods, control strategies and field performance," Renewable and Sustainable Energy Reviews, Elsevier, vol. 68(P1), pages 70-86.
    18. Iwona Bąk & Emilia Barej-Kaczmarek & Maciej Oesterreich & Beata Szczecińska & Katarzyna Wawrzyniak & Piotr Sulikowski, 2024. "The Impact of the Production and Consumption of Renewable Energy on Economic Growth—The Case of Poland," Sustainability, MDPI, vol. 16(24), pages 1-27, December.
    19. 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).
    20. 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.

    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.