K-Nearest Neighbors hybrid method for maximum power point tracking under partial shading for photovoltaic power systems

• Maximum power point tracking (MPPT) under partial shading hybrid methods have the highest performance. • K Nearest Neighbors is a novel approach for tracking photovoltaic maximum power points. • K-Nearest Neighbors algorithm in the MPPT field can be used to improve the performance of other methods. • K-Nearest Neighbors reduces the search space of the global maximum power point tracking under partial shading. Partial shading conditions (PSC) can significantly reduce the performance of solar photovoltaic (PV) systems. Consequently, to enhance maximum power point tracking (MPPT) under such conditions, the implementation of advanced algorithms is imperative for effectively addressing the challenges posed by multiple local power peaks. This paper presents a hybrid approach that integrates the K-Nearest Neighbors (KNN) machine learning algorithm with an enhanced local search for optimizing the duty cycle D. This method is inspired by the Perturb & Observe (P&O) algorithm. The KNN algorithm serves as an initial step to identify the irradiance levels around the actual solar irradiation, along with their corresponding maximum power ( P max ) and maximum voltage ( V mpp ). Using these values in conjunction with the load, a set of duty cycles ( D th . ) is calculated, creating a limited search space for the optimal duty cycles. The collected dataset inputs are the non-uniform solar irradiance levels ranging from 100 W/m² to 1000 W/m², incrementing by 50 W/m². It includes all possible combinations of irradiation conditions, with the outputs being the P max and the corresponding V mpp . The proposed method has surpassed various optimization techniques for MPPT, including particle swarm optimization (PSO) and Cuckoo search (CS). It achieved an impressive efficiency of 98.227%, enhanced stability around the maximum power point (MPP), and a fast tracking speed of 3.9635 ms. Furthermore, this method has been used to initialize PSO, CS, and P&O algorithms, significantly improving their overall performance under PSC. Moreover, the KNN method proved to be highly adaptable to variations in PSC and rapid changes in solar irradiation.

Authors

Publication Details

Journal
Results in Engineering
Published
2025-08-09
DOI
https://doi.org/10.1016/j.rineng.2025.106694
Citations
4
Primary Topic
Photovoltaic System Optimization Techniques
Type
article
Field-Weighted Citation Impact
1.45
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

K-Nearest Neighbors hybrid method for maximum power point tracking under partial shading for photovoltaic power systems

Djamel Guessoum, Maissa Farhat, Sufian A. Badawi, Mohannad Takrouri et al.
4 citations
Results in Engineering
Photovoltaic System Optimization Techniques
1.45
article

K-Nearest Neighbors hybrid method for maximum power point tracking under partial shading for photovoltaic power systems

Djamel Guessoum, Maissa Farhat, Sufian A. Badawi, Mohannad Takrouri, Mohammad Rabih
article en
4 citations

Abstract

• Maximum power point tracking (MPPT) under partial shading hybrid methods have the highest performance. • K Nearest Neighbors is a novel approach for tracking photovoltaic maximum power points. • K-Nearest Neighbors algorithm in the MPPT field can be used to improve the performance of other methods. • K-Nearest Neighbors reduces the search space of the global maximum power point tracking under partial shading. Partial shading conditions (PSC) can significantly reduce the performance of solar photovoltaic (PV) systems. Consequently, to enhance maximum power point tracking (MPPT) under such conditions, the implementation of advanced algorithms is imperative for effectively addressing the challenges posed by multiple local power peaks. This paper presents a hybrid approach that integrates the K-Nearest Neighbors (KNN) machine learning algorithm with an enhanced local search for optimizing the duty cycle D. This method is inspired by the Perturb & Observe (P&O) algorithm. The KNN algorithm serves as an initial step to identify the irradiance levels around the actual solar irradiation, along with their corresponding maximum power ( P max ) and maximum voltage ( V mpp ). Using these values in conjunction with the load, a set of duty cycles ( D th . ) is calculated, creating a limited search space for the optimal duty cycles. The collected dataset inputs are the non-uniform solar irradiance levels ranging from 100 W/m² to 1000 W/m², incrementing by 50 W/m². It includes all possible combinations of irradiation conditions, with the outputs being the P max and the corresponding V mpp . The proposed method has surpassed various optimization techniques for MPPT, including particle swarm optimization (PSO) and Cuckoo search (CS). It achieved an impressive efficiency of 98.227%, enhanced stability around the maximum power point (MPP), and a fast tracking speed of 3.9635 ms. Furthermore, this method has been used to initialize PSO, CS, and P&O algorithms, significantly improving their overall performance under PSC. Moreover, the KNN method proved to be highly adaptable to variations in PSC and rapid changes in solar irradiation.

Results in EngineeringVol. 27
Affordable and clean energy
Openalex Percentile: Top 17%
Photovoltaic System Optimization Techniques
1.45
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.