An improved RIME optimization algorithm based maximum power point tracking method for photovoltaic system under partially shading condition | Scientific Reports
Scientific Reports volume 15, Article number: 19507 (2025) Cite this article
Metrics details
Maximum power point tracking (MPPT) is a pivotal technology for photovoltaic (PV) systems. Due to variations in light intensity and temperature, the output characteristic curve of the photovoltaic system exhibits multi-peak phenomena, and traditional MPPT algorithms perform poorly in complex and changing environments. Therefore, this paper proposes an MPPT method grounded on an improved RIME optimization algorithm (IRIME). This approach enhances the algorithm’s exploratory capabilities by incorporating logistic mapping during the initialization stage. Furthermore, it optimizes the algorithm’s parameters through sequences generated by piecewise mapping, thereby realizing a harmonious balance between global exploration and local exploitation. Additionally, the introduction of an adaptive inertia weight dynamically adjusts the search strategy, thereby increasing the adaptability, convergence speed, and search efficiency of algorithm. Compared to PSO-MPPT and RIME-MPPT, the proposed method reduced the average tracking time by 0.085 s and 0.425 s, respectively. Additionally, in terms of maximum output power, the proposed method achieved an average improvement of 0.97% and 3.48% over the aforementioned methods, respectively. Particularly in PV system simulations under varying irradiance and temperature conditions, the proposed method consistently achieves the best results, verifying its efficient, stable, and fast-converging characteristics in MPPT strategies for PV systems.
As global energy requirements continue to increase1, the depletion of traditional energy resources, and the exacerbation of environmental issues, renewable energy is becoming a focal point on a global scale2. Solar power ranks among the most extensively utilized renewable energy forms, converting sunlight into heat or electricity through the radiation of the sun3,4. Photovoltaic (PV) power generation is a power generation technology that uses solar energy as its energy source5,6. Due to zero emissions during operation, PV power generation is a greatly low-carbon and eco-friendly energy source that can remarkably decrease carbon emissions in the electricity production process. However, despite ongoing technological progress, the transformation efficiency of PV power generation continues to be relatively low, which limits its overall efficiency of electricity generation7. On account of this, the maximum power point tracking (MPPT) technique is proposed to fully utilize the output of PV cells and maximize their performance8,9.
MPPT technology in PV systems is a crucial technique for ensuring that PV panels continuously output the maximum electrical energy. MPPT algorithms are mainly classified into two types: traditional algorithms and artificial intelligence algorithms10,11. Common traditional MPPT algorithms include the perturb and observe (P&O) method, the constant voltage (CV) tracking method and incremental conductance (INC). Traditional MPPT algorithms are simple, reliable and relatively easy to implement, making them dominant in applications where economic considerations are paramount12,13. Elgendy et al.14 proposed a P&O method that periodically increases or decreases the voltage during the operation of the PV array to achieve power output variations. The essence of the algorithm involves continuously introducing minor “perturbations” to ascertain whether the peak power point has been reached. Once the system reaches its maximum, it will continue to oscillate around the MPP, thereby engendering instability and resulting in power losses. Salameh et al.15 proposed the CV tracking method, which achieves MPPT by maintaining the operating voltage at a specific percentage of the open-circuit voltage. The INC method, evolved from the P&O method, has a core improvement in that it adjusts the basis for determining the perturbation direction from “power change” to “conductance change”16. It should be noted that these traditional methods are unable to cope with rapidly changing weather conditions and are subject to oscillations or false tracking, resulting in poor tracking accuracy.
In fact, the output change of the PV system is a complex process influenced by a combination of factors17,18. For example, the PV arrays are exposed to their external environment, where their output power is directly influenced by factors such as sunlight intensity, windblown sand and dust, shading from trees, bird droppings. These elements have the potential to obstruct a portion of the PV panels, thereby hindering the output characteristics of the PV cells and resulting in multiple local peak points, which adds complexity to the task of tracking the global maximum power point (GMPP).
Artificial intelligence optimization algorithms have been widely applied in the MPPT field due to their global optimization capabilities19,20,21.The particle swarm optimization (PSO) algorithm achieves optimization by simulating the feeding mannerism of bird groups, which is widely used in the field of MPPT due to its simplicity and ease of carrying out22,23,24. The butterfly optimization algorithm (BOA) finds the optimal solution by simulating the flight actions of butterfly populations when searching for a food source, and can find a high-quality solution within a reasonable time25,26,27. The particle swarm-butterfly optimization algorithm (PSO-BOA) incorporates the advantages of the PSO algorithm while addressing the slow convergence issue in BOA algorithm, achieving better optimization result in MPPT system28,29. However, these intelligent algorithms may be affected by deviations in the search range, affecting the tracking accuracy of the population. Additionally, due to their relatively slow convergence speed, they may fail to adapt swiftly to rapidly changing environmental conditions, thereby affecting the maximum power output.
In addition, many scholars have optimized the algorithms to achieve more precise maximum power point tracking. Reference30 investigated various metaheuristic optimization-based MPPT methods to address the nonlinear power output problem of proton exchange membrane fuel cell stacks (PEMFS). Simulation results showed that the cuckoo search method with continuous slope values (CDSV with CSM) exhibited the best performance in terms of efficiency and output power. Reference31 analyzed the performance of a single-diode solar PV system under different conditions through simulation and compared MPPT strategies based on PSO, genetic algorithm (GA), bat optimization, and grey wolf optimization (GWO). The results indicated that the GWO model achieved the MPPT efficiency of 98%, significantly outperforming other optimization techniques. Reference32 studied MPPT optimization algorithms for solar PV systems under partial shading conditions, and the results showed that the salp swarm optimization algorithm (SSOA) had the highest tracking efficiency, reaching 98.38%. Additionally, this study used a convolutional neural network (CNN) model to classify PV system faults, achieving an accuracy rate of 94.11%. Reference33examined MPPT algorithms for solar PV systems under partial shading conditions, and the results indicated that the moth flame optimization algorithm (MFOA) had the highest tracking efficiency, reaching 97.39%, and achieved an MPPT power of 749.48 watts and a maximum power of 769.62 watts. Reference34 used Matlab Simulink to simulate the performance of four different MPPT algorithms (GA, PSO, Bat Optimization, and GWO) on a single-diode model solar PV system under varying solar irradiance conditions. The results showed that the MPPT algorithm based on GWO performed the best in terms of both maximum power and MPPT power.
At the end of the literature review section, we added a comparison table to contrast the existing research findings, as shown in Table 1.
The rime optimization algorithm (RIME)35, proposed by H Su et al. in 2023, imitates the developmental course of hoarfrost in nature and introduces an innovative step-by-step search and exploitation. The RIME optimization algorithm features certain global exploration capabilities and the ability to escape local optima, enabling it to toggle between extensive exploration and intensive exploitation, thereby ensuring both scope and depth during the search process. Due to its flexibility, accuracy, and high speed, the algorithm performs well in various fields. Ismaeel et al.36 applied the RIME algorithm for calculating the parameter identification of a proton exchange membrane fuel cell. Findings from the experiment manifested a good consistency between the experimental data and the voltage-current curve. He et al.37applied the RIME algorithm to the detection of low voltage AC series arc fault. The optimized model demonstrates excellent efficiency and accuracy, fully reflecting the substantial advantages and robustness of the RIME algorithm.
Motivated by the aforementioned methods, this paper proposes an improved RIME (IRIME) optimization algorithm for MPPT in photovoltaic systems. This algorithm effectively solves the deficiencies of existing MPPT algorithms, realizing global tracking with high accuracy and fast convergence, thus markedly elevating the efficiency of solar power generation. Here are the contributions and innovative elements of this article:
As a relatively new heuristic optimization algorithm, the RIME algorithm has been widely applied in different fields. So far, there is a significant lack of research exploring the potential application of the RIME into the MPPT of PV system.
This study proposes an IRIME algorithm based on three optimization tactics to mitigate the inherent deficiencies of the original algorithms. Firstly, the population of the algorithm is initialized using logistic chaos, which alters the original algorithm’s way of generating random numbers with uniform distribution, thereby enhancing the randomness and ergodicity of the initial population. Secondly, the piecewise mapping strategy is employed to achieve optimal adjustment by perturbing the positions of local solutions, which enhances the global search capabilities. Lastly, with the help of inertia weighting idea, a non-linear decrease is applied in the later stages of iteration to balance the overall local exploitation capability during the optimization process.
The study of IRIME-MPPT provides new solutions for the optimal operation of PV systems. The proposed method swiftly adapts to environmental fluctuations and identifies the MPP in a short time. It exhibits adaptive regulatory attributes, promptly stabilizing its state and significantly mitigating fluctuations in the vicinity of the MPP within PV systems, thereby enhancing the steadiness of the system. Besides, the algorithm possesses strong global and local search capabilities, which can accurately locate the maximum power in complex environments. According to the simulation results, the proposed method demonstrates multiple advantages including stability, rapid convergence, and global search capability, ensuring the efficient operation of the system.
The succeeding parts of the paper are arranged as follows: Sect. "Analysis on output characteristics of PV system" outlines the PV MPPT modeling methodology and the MPPT of PV arrays under various shading conditions; Sect. "Maximum power point tracking based on IRIME" describes the IRIME optimization algorithm used to control the PV system; Sect. "Simulation analysis based on IRME in MPPT control" separately analyzes the simulation results of the IRIME, RIME, and PSO-BOA based MPPT techniques. Finally, the conclusion of this paper is given.
The PV module, as a key component, can directly convert solar energy into electrical energy and is a core part of PV power generation system. Its operational mechanism primarily relies on the absorption of photon energy, which causes electrons in the semiconductor material to transition and charge separation. Ultimately, these charges flow through an external circuit, forming a current, thereby achieving efficient conversion of light energy into electrical energy. In the ideal case, the equivalent model of a PV module can be simplified as a combination of a constant current source and an ideal diode, with its specific structure illustrated in Fig. 1.
The equivalent circuit for single diode model.
In the diagram above, \(\:{I}_{sc}\) represents the photonic excitation current, \(\:{I}_{D}\) represents the reverse current of the diode, \(\:{R}_{s}\) represents the series resistance, \(\:{R}_{sh}\) represents the shunt resistance, \(\:{R}_{load}\) represents the external load of the photovoltaic panel. According to Kirchhoff’s Law, \(\:{I}_{pv}\) and \(\:{U}_{pv}\) are found by Eq. (1) and Eq. (2), respectively represent the photovoltaic output current and output voltage.
Wherein \(\:{I}_{sh}\) is the leakage current in parallel (the current through \(\:{R}_{sh}\), flowing from top to bottom), \(\:{U}_{D}\) is reverse voltage. The reverse current of the diode \(\:{I}_{D}\) represents as Eq. (3):
where \(\:{I}_{0}\) represents the reverse saturation current of the diode, \(\:{U}_{T}=knT/q\) is thermoelectric potential, \(\:q\) is the charge of an electron (1.6 × 10−19 C), \(\:n\) is the diode exponent, typically ranging between 1 and 2. \(\:K\) is the Boltzmann constant (1.38 × 10-23 J/K), and \(\:T\) is absolute temperature of the PV system. By substituting these values into the original formula (1), Eq. (4) can be obtained as follows:
PV arrays are susceptible to external light, temperature, and other environmental factors, exhibiting nonlinear output characteristics. Figure 2 illustrates the I-V and P-V characteristic curves of PV arrays under the conditions of different irradiance and temperature. It is evident that as the temperature rises, the open-circuit voltage gradually decreases. Moreover, the change in open-circuit voltage with increasing irradiance is minor, while the short-circuit current increases significantly. Hence, the overall maximum power output typically decreases with rising temperature and increases with increasing irradiance. Given the significant impact of temperature and irradiance changes caused by external environments, it is essential to fully consider these two conditions when analyzing and using PV arrays.
I-V and P-V curves of the PV module.
In the actual operation process, PV arrays inevitably experience partial shading due to the external environment, which leads to lower output voltage and current from the shaded PV modules. Meanwhile, the potential at the two ends of the output ports decreases, causing them to act as loads in the entire circuit. Prolonged operation under such conditions can cause a large amount of heat to accumulate on the shaded PV modules, which can lead to the destruction of PV components. To prevent this issue, many scholars recommend the solution of using parallel diodes. When a PV module is shaded, the current bypasses through the diode, thereby protecting the PV module from damage. Additionally, each PV module should be connected in series to enhance the voltage output. Multiple series-connected modules form strings, which should then be connected in parallel to increase the total current output of the system. By adopting this method, not only is the PV array effectively protected, but the overall system efficiency is also significantly improved, leading to increased power output.
Under uniform illumination conditions (UIC), as shown in Fig. 4(a), the photovoltaic array operates under standard conditions, with the ambient temperature set at 25 °C and the illumination intensity maintained at 1,000 lx. In this standard condition, the output characteristics of the photovoltaic system exhibit a unimodal feature, showing only one maximum power point (MPP), P1, which is clearly presented in case 1 of Fig.5.
A schematic diagram of a photovoltaic array structure with five series modules.
Photovoltaic array output P-V characteristic curve.
During the actual operation of the system, due to the differences in irradiance experienced by each PV module, the output P-V characteristic curves exhibit multiple peaks features. Under partial shading conditions (PSC), as illustrated in Fig. 3 (b), where the first and second photovoltaic panels are subjected to uniform illumination, while the remaining three panels are shaded to varying degrees, the specific operating conditions are shown in Table 2. In case 2 of Fig. 4, it can be clearly observed that P3 is the GMPP, whereas P2 and P4 are local maximum power points (LMPP). For such P-V characteristics, traditional MPPT methods are unable to effectively distinguish between P3 and P4, and are prone to getting stuck at the local maximum P4, leading to power loss. Moreover, the global tracking performance of traditional methods may further deteriorate with an increase in the number of LMPPs. Therefore, the development of an effective and efficient global maximum power point tracking (GMPPT) technology is particularly necessary.
The RIME optimization algorithm, as an advanced optimization tool, integrates the characteristics of traditional and intelligent algorithms. With its excellent global search capabilities and adaptive adjustment mechanisms, it is capable of achieving high precision and rapid response objectives.
The formation of frost ice under different conditions can be classed as two categories: soft frost and hard frost. The RIME draws inspiration from the growth mechanism to achieve exploration and exploitation capabilities in the optimization algorithm. The growth process of rime ice is constrained by environmental factors such as airflow and wind speed. Once the stable conditions are reached, the growth will cease. As shown in Fig. 5, soft rime forms in a light breeze environment, where low wind speed and frequent changes in wind direction result in slow growth and a random structure. In contrast, in a windy environment, due to high wind velocity and consistent wind direction within the same planar area, hard rime formed, distinguished by rapid formation and a growth direction that remains roughly consistent.
The formation processes of soft rime and hard rime across various circumstances.
Combining all mechanisms, the RIME is divided into four stages: rime cluster initialization, soft rime search strategy (SRS), hard rime puncture mechanism (HRP), and positive greedy selection mechanism.
In RIME35, the initial positions of particles are set to be randomly generated. The entire “rime-population” (denoted as \(\:R\)) consists of multiple “rime-agents” (denoted as \(\:{S}_{m}\)), where \(\:m\) represents the sequential number of the rime agent, indicating the m-th agent. Each “rime-agent” \(\:{S}_{m}\) is composed of multiple “rime-particles” (denoted as \(\:{x}_{mn}\)), where \(\:n\) represents the sequential number of the rime particle, indicating the n-th particle. Firstly, the entire population of frost \(\:R\) is initialized, specifically expressed as shown in Eq. (5):
Each row of the matrix represents a “rime-agent”, and each column represents a “rime-particle.”
\(\:F\left({S}_{m}\right)\) serves to signify the growing status of each “rime-agent” \(\:{S}_{m}\), which corresponds to the fitness value in the meta-heuristic algorithm. This fitness value \(\:F\left({S}_{m}\right)\) is used to evaluate the performance of each agent, which is shown in the following Eq. (6):
The soft frost search strategy is achieved by utilizing the high degree of randomicity and spreadability of frost particles in a slight breeze environment, ensuring that they can promptly traverse the entire search area in the initial iterations and are less likely to fall into local optima. Calculating \(\:\theta\:\) through Eq. (7) influences the movement direction of the particles.
where \(\:t\) represents the present iteration count, and \(\:T\) denotes the maximal number of iterations for the algorithm. \(\:\beta\:\) is the environmental factor, which emulates the impact of exterior circumstances and ensures the convergence of the algorithm, as specified in Eq. (8).
where \(\:\gamma\:\) functions to control the segment quantity of the step function, [·] denotes rounding. The attachment coefficient \(\:E\) influences the clustering possibility of individuals and rises as the number of iterations, as evidenced in Eq. (9):
For the movement features of frost ice particles, the position is shown in Eq. (10):
where \(\:{R}_{new}\) represents the new location of the particle subsequent to the update, and \(\:{R}_{best}\) is the best agent in the frost body population \(\:R\). The parameter \(\:{r}_{1}\) is a random number in the range of \(\:\left(-1,\:1\right)\), controlling the direction of the particle’s motion along with \(\:\text{cos}\theta\:\) and changing with the number of iterations. \(\:h\) is the viscosity, a random number in the range of \(\:\left(0,\:1\right)\), governing the distance between the centers of two frost particles. \(\:Ub\) and \(\:Lb\) represent the up and down edges of the motion space of particles, respectively. \(\:{r}_{2}\) is a random number within the range of (0,51), which plays a role in deciding whether the common control particles undergo condensation and whether their positions are updated.
Owing to the impact of external environmental elements, hard frost condenses in a certain direction. Inevitably, intersections between hard frosts occur, which implements the dimension swapping between ordinary particles and the best particles, promoting information exchange among agents and enhancing convergence, as detailed below:
In this context, \(\:{F}^{nor}\left({S}_{m}\right)\) represents the standardized fitness value of the current agent, which indicates the probability of the i-th particle being chosen. \(\:{r}_{3}\) represents a random number within the interval \(\:\left(-1,\:1\right)\).
The positive greedy selection mechanism adopts a more proactive agent replacement strategy to boost the comprehensive level of the population and effectively avoid the potential negative impact of inferior agents on the iteration process, thus promoting the algorithm’s global search proficiency. Specifically, whenever a new agent is generated, the system immediately evaluates whether its fitness value surpasses that of the current agent. If the new agent demonstrates superior performance, the system immediately performs the replacement. Additionally, the global best agent is updated in real-time to ensure that the algorithm can efficiently identify the global optimum.
In this section, this study elaborates on the improvements to the RIME optimization algorithm in three aspects. First, the initial population is generated by using a logical mapping approach, which ensures that individuals are uniformly distributed in the solution domain, thereby effectively enhancing the diversity of the population. Second, by designing piecewise mapping rules, the algorithm’s dependence on parameters is reduced, thereby improving its robustness. Finally, the concept of inertia weight is introduced, where the weight is dynamically adjusted in accordance with the iteration count, to enhance the convergence velocity and stability of the algorithm.
In the course of the initialization procedure, the logistic chaos is introduced. Chaotic initialization exhibits the characteristics of randomness, ergodicity, and regularity.
First, a column vector Z is generated, where Z is a random number drawn from the uniform distribution [0, 1]. This value serves as the initial condition for the Logistic map.
Then, a chaotic sequence is generated using the logistic map. Its mathematical expression is Eq. (12):
Experiment outcomes show, as illustrated in Fig. 6, that the closer the control parameter r of the Logistic map is to 4, the more uniformly \(\:Z\left(i+1\right)\) is distributed over the interval [0, 1]. When the parameter \(\:r\) is equal to 4, the system enters a fully chaotic state. Therefore, setting the control parameter \(\:r\) to 4 maintains the system’s chaotic behavior.
Logistics chaos map under different parameters.
Since the random numbers \(\:{r}_{1}\)、\(\:{r}_{2}\)、\(\:{r}_{3}\) generated by RIME are based on uniform distribution, which can lead to uneven values and affect the global searching capacity. To heighten the randomness and traversal properties of the algorithm, chaos theory is introduced, and the piecewise mapping is used to generate chaotic sequences for \(\:{r}_{1}\)、\(\:{r}_{2}\)、\(\:{r}_{3}\) parameters. This is done by perturbing the positions of local solutions, thereby minimizing the likelihood of RIME falling into local optima. The piecewise chaotic mapping is a segmented mapping function, and the chaotic mapping formula is Eq. (13):
Among them, \(\:{x}_{i}\) represents the randomly iterated values, and \(\:P\) acts as a piecewise control factor, dividing the piecewise function into four distinct sub-functions. Experimental results have shown that the optimal performance is achieved when \(\:P\) is set to 0.3. Consequently, in this paper, the value of \(\:P\) is set to 0.3.
A random number within the interval [0, 1) is generated as the initial value \(\:{x}_{1}\) using the random number function. Subsequently, three iterations are performed. In each iteration, the value of \(\:{x}_{i+1}\) is determined based on the current value of \(\:{x}_{i}\). The result of the second iteration is assigned to \(\:{r}_{1}\), the result of the third iteration is assigned to \(\:{r}_{2}\), and the result of the fourth iteration is assigned to \(\:{r}_{3}\).
To enhance global optimization capabilities, the concept of inertia weight in PSO is leveraged, and an adaptive cosine-exponential function inertia weight \(\:\omega\:\) is introduced. By combining the oscillatory characteristics of the cosine function and the dynamic adjustment mechanism of the exponential function, the inertia weight w within the algorithm is dynamically optimized according to the iteration process, greatly elevating the algorithm’s overall performance. The expression is shown below Eq. (14):
where: \(\:{\omega\:}_{1}\) is the upper limit of the target inertia weight, \(\:{\omega\:}_{2}\) is the lower limit of the target inertia weight; \(\:a\) is the amplitude modulation factor of the cosine function, and \(\:b\) is the adjustment factor of the exponential function, used to control the sensitivity of the inertia weight variation.
In Eq. (14), the exponential function changes rapidly as the number of iterations increases, causing the value inside the cosine function to fluctuate dramatically. The periodic variation of the cosine function, combined with the fluctuations of the exponential function, results in a dynamic change in the weight w during the iteration process.
Finally, the position update formula is the modified Eq. (15):
In the initial iteration stage, larger inertia weights cause \(\:{R}_{new}\) to rely more on the global best position \(\:{R}_{best}\), thereby conducting extensive exploration in the search space and avoiding getting stuck in local optima. In the later stages of iteration, smaller inertia weights make the new position \(\:{R}_{new}\) depend more on randomly generated local positions, combined with other factors to further refine the search, thus enhancing local exploitation capabilities and improving the accuracy of the solution.
IRIME-MPPT leverages the strong global search capacity of the RIME algorithm, combined with various improvement strategies, to efficiently, accurately, and stably achieve MPPT for PV systems. The flowchart of IRME-MPPT is shown in Fig. 7, and the detailed algorithm steps are as follows:
Firstly, the parameters of the RIME algorithm are initialized using Logistic chaotic mapping. This method effectively avoids the concentration of the initial population in local regions, thereby significantly enhancing the algorithm’s global search capability. Then the global optimal power and duty cycle are continuously updated.
Secondly, depending on the motion features of frost particles, the positions of the frost particles are continuously updated. By introducing the chaotic characteristics from the \(\:{r}_{1}\) sequence generated through piecewise mapping, the diversity of the search process can be significantly enhanced, effectively preventing the algorithm from falling into local optima. Meanwhile, the generated \(\:{r}_{2}\) sequence is used to conduct fine searches in the neighborhood of the current optimal solution, in order to further explore potentially better solutions. Additionally, the adaptive variable inertia weight introduced dynamically adjusts the search strategy according to the optimization process, achieving an effective balance between global and local searches, thereby significantly enhancing the performance and robustness of the optimization algorithm.
Subsequently, the algorithm is updated through the frostbite penetration mechanism within it to facilitate the exchange of particles. The \(\:{r}_{3}\:\)sequence generated by segmented mapping further reinforces the strategy of the current optimal solution, thereby helping the algorithm converge faster to the global optimum.
Finally, the aggressive greedy selection mechanism is used to compare the updated fitness values with the pre-update values, continuously selecting the optimal results.
Flowchart of the IRIME-MPPT.
To thoroughly validate the availability of the proposed IRIME optimization algorithm in MPPT, a simulation model is constructed. The model is designed with four distinct environmental conditions: uniform illumination, shading condition, sudden change in illumination, and sudden changes both in illumination and temperature. Under these settings, simulation experiments are conducted to compare and analyze the performance differences among the IRIME optimization algorithm, the original RIME algorithm, and the PSO-BOA optimization algorithm31.
The specific parameter settings for each algorithm are shown in Table 3 below:
The simulation model is established as shown in Fig. 8. To achieve MPPT control of the PV system, a PV cell model is first established to accurately reflect the electrical characteristics of the actual PV cells. In this study, five PV panels linked in sequence in this module. The system collects the generated voltage and current and delivers them to the MPPT controller, where the IRIME algorithm proposed in this paper is utilized to control the duty cycle. The PWM modulator outputs a PWM waveform, which dynamically controls the conduction and cutoff of the switch in the Boost circuit. In combination with hardware circuits such as DC-DC converters, the closed-loop control design of the entire system is completed. The equivalent load resistance is adjusted to match the internal resistance of the PV array, thereby achieving the maximum power output of the system. The following are the experimental setups utilized in this paper: Operating System: Windows 10; Memory: 8GB; Processor: Intel(R) Core (TM) i7-9750 H CPU @ 2.60 GHz, 2.59 GHz; Simulation Software: MATLAB 2022a.
MPPT block diagram of PV system.
This study selected a certain model of photovoltaic cell, with parameters as shown in Table 4. Tests are conducted by simulating both static and dynamic lighting conditions.
The simulation experiment is conducted under uniform illumination, setting the irradiance to \(\:\text{1,000}w/{m}^{2}\) and the temperature to 25℃, and comparing and analyzing the three algorithms mentioned above. As shown in Fig. 9, under these conditions, the P-V characteristic curve output is a unimodal curve, with a maximum power of approximately 8517 W.
P-V characteristic curve of photovoltaic under uniform illumination.
The GMPP is tracked using the above three algorithms, with the simulation time set to 2 s, and the experimental simulation results are shown in Fig. 10:
Simulation results of three algorithms under uniform lighting conditions.
From the three sets of simulations, it can be clearly seen that the IRIME algorithm achieves very desirable results in both tracking accuracy and tracking speed. The tracking accuracy of IRIME reaches 100%, which is improved by 0.36% and 1.37% compared to IRIME and PSO-BOA, respectively. The convergence time of IRIME is only 0.14 s, which is 63.63% of that of the RIME algorithm, and only 27.45% of that of the PSO-BOA algorithm. As specifically shown in Table 5.
The simulation experiment is conducted under partial shading conditions, where the irradiance of five PV panels is set to \(\:800w/{m}^{2}\)、\(\:800w/{m}^{2}\)、\(\:600w/{m}^{2}\)、\(\:600w/{m}^{2}\)、\(\:400w/{m}^{2}\), and \(\:400w/{m}^{2}\), respectively, with a temperature of 25℃. Under these conditions, the three algorithms mentioned above are compared and analyzed. As is demonstrated in Fig. 11, the P-V characteristic curve under these conditions is multi-peaked, characterized by several local maximum values, and the overall maximum power is 4374 W.
P-V curve of photovoltaic under shading conditions.
The above three algorithms are used to track the GMPP, and the simulation time is set to 2 s. The simulation results are shown in Fig. 12:
Simulation results of three algorithms under shading conditions.
According to the simulation results, the tracking time of IRIME is only 0.17 s, which is 0.06 s less than RIME and 0.37 s less than PSO-BOA, respectively. As for the tracking accuracy, the three algorithms can all reach a high level, but IRIME still has the highest tracking efficiency. The IRIME algorithm achieves speedy and precise tracking of the GMPP, as summarized in Table 6.
The simulation experiment is conducted under conditions of sudden changes in illumination, where the irradiance of five PV panels is set to \(\:\text{1,000}w/{m}^{2}\)、\(\:\text{1,000}w/{m}^{2}\)、\(\:800w/{m}^{2}\)、\(\:800w/{m}^{2}\)、\(\:600w/{m}^{2}\),before 0.6 s. At 0.6 s, the irradiance suddenly changes to \(\:800w/{m}^{2}\)、\(\:800w/{m}^{2}\)、\(\:600w/{m}^{2}\)、\(\:600w/{m}^{2}\)、\(\:500w/{m}^{2}\), respectively, while the temperature remains constant at 25℃. The three algorithms mentioned above are compared and analyzed. As shown in Fig. 13, the maximum power before the mutation is 5804 W, and the maximum power after the mutation is 4786 W.
P-V curve under sudden lighting change conditions.
Figure 14 shows the simulation results of following the GMPP under the condition of sudden change in illumination using the above three algorithms. The simulation time is set to 2 s.
Simulation results of three algorithms under conditions of sudden illumination change.
By observation, it is apparent that the IRIME algorithm achieves tracking accuracies of 99.85% and 100% before and after the sudden illumination change, respectively. Compared to RIME and PSO-BOA, the improvements are 1.14% and 1.36% before the change, and 1.32% and 13.22% after the change. Additionally, the improved IRIME algorithm significantly reduces tracking time compared to RIME and PSO-BOA, taking only 0.09 s before the change, and stabilizing by 0.72 s after the change. Detailed analysis is shown in Table 7.
The simulation experiment is conducted under conditions of sudden changes in both illumination and temperature, the initial irradiance of five PV panels is set to \(\:\text{1,000}w/{m}^{2}\)、\(\:\text{1,000}w/{m}^{2}\)、\(\:800w/{m}^{2}\)、\(\:800w/{m}^{2}\)、\(\:600w/{m}^{2}\), respectively, with a temperature of 35℃. At 0.6 s, the irradiance suddenly changed to \(\:800w/{m}^{2}\)、\(\:800w/{m}^{2}\)、\(\:600w/{m}^{2}\)、\(\:600w/{m}^{2}\)、\(\:400w/{m}^{2}\), respectively, with the temperature changing to 25 °C. The three mentioned algorithms are compared and analyzed. As shown in Fig. 15, the maximum power before the change is 5601 W, and after the change, it is 4374 W.
P-V curve under sudden changes in illumination and temperature.
The three algorithms mentioned above are applied to track the GMPP, and the simulation time is set to 2 s. The results of experiment are given in Fig. 16:
Tracking results of three algorithms under conditions of sudden changes in illumination and temperature.
Upon analysis, it is found that the average tracking accuracy of IRIME before and after tracking can reach 99.03%. Compared to the other two algorithms, it is an improvement of 1.26% and 2.9% respectively. Before the mutation, the tracking time of the IRIME algorithm is decreased by 0.1 s compared to RIME and by 0.43 s compared to PSO-BOA. After the mutation, the tracking time of the IRIME algorithm is decreased by 0.06 s compared to RIME and by 0.39 s compared to PSO-BOA. Specific analysis is shown in Table 8:
The IRIME optimization algorithm demonstrates excellent characteristics in the MPPT of PV systems. Compared to the RIME and PSO-BOA optimization algorithms, the IRIME algorithm can always track the MPP with the highest precision under various environmental conditions. As the simulation results demonstrate that the waveform of the IRIME algorithm has smaller oscillations and converges quickly, enabling the system to efficiently and stably track the GMPP.
This study is the first to apply the RIME optimization algorithm for MPPT technology in partially shading conditions, aiming to achieve effective tracking of the GMPP when the power output characteristic curve exhibits multiple peaks. To avoid the issues of the conventional RIME algorithm, including prematurely converging to local optima and slow convergence, a logistic mapping initialization method is introduced which makes the original algorithm gain traversability, enabling wider exploration in the search space. Additionally, piecewise mapping is employed to adjust algorithm parameters and optimize the generated sequences, thereby enhancing the algorithm’s flexibility and adaptability. Moreover, an adaptively varying inertia weight is introduced, which is dynamically adjusted on the strength of the iteration process, effectively reducing the time spent in blind search and significantly enhancing the algorithm’s convergence speed. The improved algorithm achieves a better equilibrium of overall exploration and local exploitation, thereby reducing the runtime and enhancing the overall efficiency of the algorithm.
Building on this, the improved IRIME optimization algorithm is applied to the MPPT technology of PV systems, with a simulation model is established and four different environmental conditions are simulated. By comparing the IRIME algorithm with the RIME and PSO-BOA optimization algorithms, simulation outcomes indicate that the tracking accuracy of the IRIME optimization algorithm is above 98.88%, and convergence can be achieved within 0.17 s, significantly outperforming the other two optimization algorithms. Therefore, the proposed IRIME optimization algorithm enhances tracking accuracy and system adaptability, enabling the system to achieve smooth, fast, and efficient performance.
Despite the significant achievements of this study, there are still several areas that warrant further investigation and improvement.
Firstly, the potential for combining the IRIME algorithm with other optimization algorithms should be explored to further improve the performance of the algorithm.
Secondly, further research is needed to enhance the robustness of the algorithm under varying light conditions and temperature changes, particularly in extreme weather conditions.
Finally, the current research is primarily based on simulation models, and future work should include testing and validation in actual PV systems to ensure the reliability and effectiveness of the algorithm in real environments.
Data is provided within the manuscript or supplementary information files.
Heubaum, H. & Biermann, F. Integrating global energy and climate governance: the changing role of the international energy agency. J. Energy Policy. 87, 229–239 (2015).
Article Google Scholar
Nejat, P. et al. Iran’s achievements in renewable energy during fourth development program in comparison with global trend. J. Renew. Sustainable Energy Reviews. 22, 561–570 (2013).
Article Google Scholar
Lucas, H. et al. Critical challenges and capacity Building needs for renewable energy deployment in Pacific small Island developing States (Pacific SIDS). J. Renew. Energy. 107, 42–52 (2017).
Article Google Scholar
Khare, V., Nema, S. & Baredar, P. Solar–wind hybrid renewable energy system: A review. J. Renew. Sustainable Energy Reviews. 58, 23–33 (2016).
Article Google Scholar
Singh, G. K. Solar power generation by PV (photovoltaic) technology: A review. J. Energy. 53, 1–13 (2013).
Article ADS Google Scholar
Razykov, T. M. et al. Solar photovoltaic electricity: current status and future prospects. J. Solar Energy. 85 (8), 1580–1608 (2011).
Article ADS CAS Google Scholar
Turney, D. & Fthenakis, V. Environmental impacts from the installation and operation of large-scale solar power plants. J. Renew. Sustainable Energy Reviews. 15 (6), 3261–3270 (2011).
Article Google Scholar
Verma, D. et al. Maximum power point tracking (MPPT) techniques: recapitulation in solar photovoltaic systems. J. Renew. Sustainable Energy Reviews. 54, 1018–1034 (2016).
Article Google Scholar
Ramos-Hernanz, J. et al. Temperature based maximum power point tracking for photovoltaic modules. J. Sci. Rep. 10 (1), 12476 (2020).
Article ADS CAS Google Scholar
Li, G. et al. Application of bio-inspired algorithms in maximum power point tracking for PV systems under partial shading conditions–A review. J. Renew. Sustainable Energy Reviews. 81, 840–873 (2018).
Article CAS Google Scholar
Sun, C., Ling, J. & Wang, J. Research on a novel and improved incremental conductance method. J. Sci. Rep. 12 (1), 15700 (2022).
Article ADS CAS Google Scholar
Mao, M. et al. Classification and summarization of solar photovoltaic MPPT techniques: A review based on traditional and intelligent control strategies. J. Energy Rep. 6, 1312–1327 (2020).
Article Google Scholar
Mohapatra, A. et al. A review on MPPT techniques of PV system under partial shading condition. J. Renew. Sustainable Energy Reviews. 80, 854–867 (2017).
Article Google Scholar
Elgendy, M. A., Zahawi, B. & Atkinson, D. J. Assessment of perturb and observe MPPT algorithm implementation techniques for PV pumping applications. J. IEEE Trans. Sustainable Energy. 3 (1), 21–33 (2011).
Article ADS Google Scholar
Salameh, Z. M., Dagher, F. & Lynch, W. A. Step-down maximum power point tracker for photovoltaic systems. J. Solar Energy. 46 (5), 279–282 (1991).
Article ADS Google Scholar
Al-Dhaifallah, M. et al. Optimal parameter design of fractional order control based INC-MPPT for PV system. J. Solar Energy. 159, 650–664 (2018).
Article ADS Google Scholar
Arab, A. H. et al. Maximum power output performance modeling of solar photovoltaic modules. J. Energy Rep. 6, 680–686 (2020).
Article Google Scholar
Mustafa, R. J. et al. Environmental impacts on the performance of solar photovoltaic systems. J. Sustain. 12 (2), 608 (2020).
CAS Google Scholar
Li, H. et al. An overall distribution particle swarm optimization MPPT algorithm for photovoltaic system under partial shading. J. IEEE Trans. Industrial Electron. 66 (1), 265–275 (2018).
Article ADS Google Scholar
Moghassemi, A. et al. Two fast metaheuristic-based MPPT techniques for partially shaded photovoltaic system. J. Int. J. Electr. Power Energy Syst. 137, 107567 (2022).
Article Google Scholar
Soufyane, Benyoucef, A. et al. Artificial bee colony based algorithm for maximum power point tracking (MPPT) for PV systems operating under partial shaded conditions. J. Appl. Soft Comput. 32, 38–48 (2015).
Article Google Scholar
Tchomté, S. K. & Gourgand, M. Particle swarm optimization: A study of particle displacement for solving continuous and combinatorial optimization problems. J. Int. J. Prod. Econ. 121 (1), 57–67 (2009).
Article Google Scholar
Yao, J. et al. Research on hybrid strategy particle swarm optimization algorithm and its applications. J. Sci. Rep. 14 (1), 24928 (2024).
Article CAS Google Scholar
Lynn, N. & Suganthan, P. N. Heterogeneous comprehensive learning particle swarm optimization with enhanced exploration and exploitation. J. Swarm Evolutionary Comput. 24, 11–24 (2015).
Article Google Scholar
Arora, S. & Singh, S. Butterfly optimization algorithm: a novel approach for global optimization. J. Soft Comput. 23, 715–734 (2019).
Article Google Scholar
Tiwari, A. & Chaturvedi, A. A hybrid feature selection approach based on information theory and dynamic butterfly optimization algorithm for data classification. J. Expert Syst. Appl. 196, 116621 (2022).
Article Google Scholar
Long, W. et al. Parameters identification of photovoltaic models by using an enhanced adaptive butterfly optimization algorithm. J. Energy. 229, 120750 (2021).
Article Google Scholar
Wang, Y. et al. A hybrid particle swarm optimization with butterfly optimization algorithm based maximum power point tracking for photovoltaic array under partial shading conditions. J. Sustain. 15 (16), 12402 (2023).
Google Scholar
Achouri, F. et al. Structural health monitoring of beam model based on swarm intelligence-based algorithms and neural networks employing FRF. J. J. Brazilian Soc. Mech. Sci. Eng. 45 (12), 621 (2023).
Article Google Scholar
Touti, E. et al. A comprehensive performance analysis of advanced hybrid MPPT controllers for fuel cell systems. Sci. Rep. 14, 04–24 (2025).
Google Scholar
Senthilkumar, S. et al. Analysis of single-diode PV model and optimized MPPT model for different environmental conditions. J. International Transactions on Electrical Energy Systems 2022(1), 4980843 (2022).
Google Scholar
Senthilkumar, S. et al. Nature-inspired MPPT algorithms for solar PV and fault classification using deep learning techniques. Discover Appl. Sci. 7, 31 (2025).
Article Google Scholar
Senthilkumar, S. et al. Nature-Inspired Moth Flame Optimization Based MPPT Algorithm for Solar PV System. International Conference on Sustainable Communication Networks and Application (ICSCNA). Theni, India, pp, 255–260. (2024).
Senthilkumar, S. et al. Optimized Maximum Power Point Tracking Algorithm for Solar Photovoltaic with Dissimilar Environmental Conditions. 7th International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC). Kirtipur, Nepal, 2023, pp, 1061–1068. (2023).
Su, H. et al. RIME: A physics-based optimization. J. Neurocomputing. 532, 183–214 (2023).
Article Google Scholar
Ismaeel, A. A. K. et al. Performance of rime-ice algorithm for estimating the PEM fuel cell parameters. J. Energy Rep. 11, 3641–3652 (2024).
Article Google Scholar
He, X., Kawaguchi, T. & Hashimoto, S. Intelligent identification method of low voltage AC series Arc fault based on using residual model and rime optimization algorithm. J. Energies. 17 (18), 4675 (2024).
Article Google Scholar
Download references
This project is supported by the National Natural Science Foundation of China (NSFC) (61673281)
School of Information and Electrical Engineering, Shenyang Agricultural University, Shenyang, 110866, Liaoning Province, China
Yonggang Wang, Wenjia Zhang, Yuanchu Ma, Yanan Yu & Haoran Chen
You can also search for this author inPubMed Google Scholar
You can also search for this author inPubMed Google Scholar
You can also search for this author inPubMed Google Scholar
You can also search for this author inPubMed Google Scholar
You can also search for this author inPubMed Google Scholar
Yonggang Wang: Conceptualization, Funding acquisition, Supervision. Wenjia Zhang: Formal analysis, Writing-original draft. Yuanchu Ma: Writing-review, Validation. Yanan Yu: Formal analysis, Software. Haoran Chen: Organize data for the paper, Supervision.
Correspondence to Haoran Chen.
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
Reprints and permissions
Wang, Y., Zhang, W., Ma, Y. et al. An improved RIME optimization algorithm based maximum power point tracking method for photovoltaic system under partially shading condition. Sci Rep 15, 19507 (2025). https://doi.org/10.1038/s41598-025-01586-y
Download citation
Received: 21 January 2025
Accepted: 07 May 2025
Published: 04 June 2025
DOI: https://doi.org/10.1038/s41598-025-01586-y
Anyone you share the following link with will be able to read this content:
Sorry, a shareable link is not currently available for this article.
Provided by the Springer Nature SharedIt content-sharing initiative
