Next Article in Journal
Analysis of Experimental Data from a Concentrating Parabolic Solar Plant and Comparison with Simulation Model Results
Previous Article in Journal
Ammonia–Hydrogen Dual-Fuel Combustion: Strategies for Optimizing Performance and Reducing Emissions in Internal Combustion Engines
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

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

1
Bharti School of Telecommunication Technology and Management, Indian Institute of Technology Delhi, New Delhi 110016, India
2
Department of Electrical Engineering, Zakir Husain College of Engineering and Technology, Aligarh 202002, India
3
Department of Electrical Engineering, College of Engineering, University of Business and Technology, Jeddah 21361, Saudi Arabia
4
Faculty of Electrical Engineering, Universiti Teknologi Malaysia UTM, Johor Bharu 81310, Malaysia
*
Authors to whom correspondence should be addressed.
Energies 2025, 18(12), 3160; https://doi.org/10.3390/en18123160
Submission received: 7 May 2025 / Revised: 4 June 2025 / Accepted: 6 June 2025 / Published: 16 June 2025
(This article belongs to the Section A2: Solar Energy and Photovoltaic Systems)

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.
Keywords: photovoltaic; P-V curve; metaheuristic MPPT; Python photovoltaic; P-V curve; metaheuristic MPPT; Python

Share and Cite

MDPI and ACS Style

Ashraf, S.M.; Arif, M.S.B.; Khouj, M.; Ayob, S.M.; Masud, M.I. Python-Based Implementation of Metaheuristic MPPT Techniques: A Cost-Effective Framework for Solar Photovoltaic Systems in Developing Nations. Energies 2025, 18, 3160. https://doi.org/10.3390/en18123160

AMA Style

Ashraf SM, Arif MSB, Khouj M, Ayob SM, Masud MI. Python-Based Implementation of Metaheuristic MPPT Techniques: A Cost-Effective Framework for Solar Photovoltaic Systems in Developing Nations. Energies. 2025; 18(12):3160. https://doi.org/10.3390/en18123160

Chicago/Turabian Style

Ashraf, Syed Majed, M. Saad Bin Arif, Mohammed Khouj, Shahrin Md. Ayob, and Muhammad I. Masud. 2025. "Python-Based Implementation of Metaheuristic MPPT Techniques: A Cost-Effective Framework for Solar Photovoltaic Systems in Developing Nations" Energies 18, no. 12: 3160. https://doi.org/10.3390/en18123160

APA Style

Ashraf, S. M., Arif, M. S. B., Khouj, M., Ayob, S. M., & Masud, M. I. (2025). Python-Based Implementation of Metaheuristic MPPT Techniques: A Cost-Effective Framework for Solar Photovoltaic Systems in Developing Nations. Energies, 18(12), 3160. https://doi.org/10.3390/en18123160

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop