Abstract
As photovoltaic energy increasingly penetrates in power systems, transmission system operators have started to request its participation in providing ancillary services. One of the demanded services is the power ramp-rate control (PRRC), which attempts to limit the power ramps produced by intermittent irradiance conditions. In order to achieve the desired objective, solutions based on storage systems or modifying the maximum power point tracking (MPPT) in perturb and observe (P&O) algorithms are commonly adopted. The starting point in PRRC is the determination of the instantaneous power ramp-rate, and different methods have been proposed in the literature for its calculation. However, the accuracy and computational speed of existing procedures can be improved, which may be critical in situations with rapid irradiance fluctuations. In this paper, a decoupled photovoltaic power ramp-rate calculation method is presented, in which the effect of variable irradiance and the P&O algorithm are computed separately. The proposed method has been theoretically demonstrated and tested through simulation and experimental tests. Simulation results show that it can improve the previous methods in terms of accuracy and computation time. Experimental validation with hardware-in-the-loop demonstrates the suitability of the proposed method for real-time applications, even in presence of noisy measurements.
SOLAR photovoltaic (PV) is one of the most promising primary energy sources in the future [
A cost-effective manner to reduce the impact of fast irradiance variations is through PV power ramp-rate control (PRRC) [

Fig. 1 Example of four different power ramp-rate limitations when available power is higly fluctuating.
In order not to exceed these limits, PRRC must be applied. The development of smart inverters (SIs), which are already required in places such as Hawaii [
To overcome the issues exposed above, recent studies have investigated cost-effective implementations of PRRC without energy storage or additional equipment by just modifying the MPPT algorithm. In the most advanced one [
As reviewed, the trends in PV PRRC precise somehow the real-time (RT) value of the power ramp-rate, which can be either calculated or measured. To improve the above-mentioned power ramp-rate calculation methods, a novel procedure is presented in this paper. The optimized MPPT for fast-changing environmental conditions (dP-P&O) [
This paper is organized as follows. Section II explains the differences between the conventional P&O and the dP-P&O algorithms. Section III presents the proposed decoupled power ramp-rate calculation method. Section IV shows the simulation results. Section V presents the experimental validation. Finally, Section VI draws conclusions of this paper.
PV systems are traditionally equipped with MPPT algorithms in order to follow the MPP at every moment. There is a wide range of MPPT algorithms that perform the search of MPP in various ways [
One of the widely used MPPT algorithms is the conventional P&O algorithm, mainly due to the ease of its implementation. The operating principle that governs the P&O algorithm is as follows. While the PV system operates at a specific operating point, defined by its voltage-current coordinates (), a disturbance in voltage is applied, and the variation in power of the system is observed. If the power variation is positive, in the next step, another perturbation will be applied in the same direction as the previous one. Otherwise, the disturbance will be applied in the opposite direction. The flowchart of conventional P&O algorithm is depicted in

Fig. 2 Flowchart of conventional P&O algorithm.
As can be deduced from the operation of the conventional P&O algorithm, under stable conditions of irradiance and temperature, the operation point oscillates around the MPP. This is known as the three-level operation, and is represented in

Fig. 3 Principle of operation of conventional P&O algorithm. (a) Conventional P&O algorithm oscillating around MPP. (b) Three-level operation of conventional P&O algorithm.
The main drawback of the conventional P&O algorithm is precisely the oscillation produced around the MPP, which depends directly on the magnitude of the perturbation applied. In addition, under variable irradiance conditions, the conventional P&O algorithm can make wrong decisions because it is not able to identify if the power variation is caused by the perturbation applied or it is due to a change in the incident irradiance. This undesired phenomenon is known as the MPPT drift. To avoid this, some modified P&O algorithms have been presented in the literature. Among them, dP-P&O algorithm [

Fig. 4 Calculation procedure of dP-P&O algorithm.
This algorithm assumes that the change in irradiance during an MPPT cycle is constant. In this way, in the first semi-period of the MPPT, the change in power is determined by the change in irradiance plus the perturbation of the MPPT algorithm. In the second semi-period, the change in power is determined by the change in irradiance only. Finally, the variation in power only due to the MPPT algorithm can be computed as:
(1) |
As evidenced, the dP-P&O algorithm decouples the effects of the MPPT algorithm and the variable irradiance. This information can be used not only for MPPT drift avoidance, but also for the determination of the RT power ramp-rate as presented in the following section.
Power ramps represent the change in power of a system per unit of time. As these ramps can significantly affect the proper functioning of power system, TSOs have started to take measures to limit the ramps that occur in both conventional and renewable generations. In fact, renewable generation is more prone to this type of change due to its volatility and unpredictability [
(2) |
where n is the filtering parameter. As can be implicitly deduced from (2), the calculation procedure is not only affected by , but also by . This will be further explained in the following subsections.
Reference [

Fig. 5 Influence of filtering parameter in power ramp-rate measurement.
Implicitly, the power ramp-rate calculation is also affected by the perturbation size of the conventional P&O algorithm, as it influences the power variation.

Fig. 6 Influence of perturbation size in power ramp-rate measurement.
The main conclusion that can be drawn from the above analysis is that, in order to reduce the error of the calculated power ramp-rate in steady-state, the value of the filtering parameter should be maximized, and the value of the perturbation size should be minimized. However, this combination produces an MPPT algorithm with slow tracking speed due to the small parameter and a slow PRRC algorithm due to the introduced delays in the calculation. To overcome these issues, a novel power ramp-rate calculation method based on the dP-P&O algorithm is presented in the following subsection.
Previous methods for PV PRRC without energy storage [
The initial hypotheses for the application of the proposed method are twofold: the irradiance change is constant during the MPPT period and the PV system reaches the voltage reference in the first semi-period of the MPPT. Although the latter implies a reduction of the MPPT tracking performance and some delay in the power ramp-rate calculation, they are compensated by the fact that the proposed strategy can minimize the filtering value. Under these conditions, it is possible to decouple the power ramp-rate produced by the irradiance change and the power ramp-rate caused by the MPPT algorithm. Retrieving the nomenclature of
(3) |
(4) |
where rirr(t) and rMPPT(t) are the power ramp-rate produced by the irradiance change and the power ramp-rate caused by the MPPT algorithm, respectively.
As the main contribution of this paper is the use of the dP-P&O algorithm for the power ramp-rate calculation,

Fig. 7 Integration of proposed power ramp-rate calculation method in a PRRC strategy.
In order to clarify the advantages of the proposed method,

Fig. 8 Evaluation of proposed method with different values of applied. (a) Generated PV power. (b) Calculated power ramp-rate due to perturbation of MPPT algorithm. (c) Calculated power ramp-rate due to irradiance change.
Decoupling the power ramp-rate induced by the irradiance change and by the perturbation of MPPT algorithm provides valuable information that may be used in PRRC. In fact, with the proposed method, it is possible to minimize the filtering value, i.e., , while maintaining high values of , which allows a fast PRRC performance with improved accuracy, as demonstrated in the following simulation results.
The proposed power ramp-rate calculation method has been tested in MATLAB/Simulink [

Fig. 9 PV system, control system, and ramp-rate measurement implementation.
As shown in
In order to evaluate the adequacy of the proposed method, two case studies are presented for the comparison of the proposed method with the one presented in [
The first scenario analyzes the effect of varying the filtering parameter and the perturbation size in the power ramp-rate calculation. First of all, the method in [

Fig. 10 Results of case study 1. (a) Irradiance profile. (b) Irradiance ramp-rate.

Fig. 11 Different power ramp-rates calculated by both methodologies with varied .
This is confirmed with the root-mean-square error (RMSE) and the mean absolute error (MAE), as calculated in (5) and (6), where and are the real and calculated power ramp-rates, respectively.
(5) |
(6) |
A second scenario with the irradiance profile of

Fig. 12 Different irradiance ramp-rates calculated with V.
As the filtering parameter is increased, the power ramp-rate measurement is filtered out. However, it is possible to observe in the zoomed part that the increased value of produces a calculation delay proportional to in the method presented in [
Figures

Fig. 13 Evolution of RMSE along simulation for cases considered in Table IV.

Fig. 14 Evolution of MAE along simulation for cases considered in Table IV.
The decoupled power ramp-rate calculation method has been implemented in the laboratory using hardware-in-the-loop (HIL) methodology. Two RT simulators, namely OPAL-RT 4510 and Typhoon HIL 604, have been connected in order to exchange just analogue signals. In particular, the PV plant is modelled in Typhoon HIL, while the MPPT and the power ramp-rate calculation module are allocated at OPAL-RT. In this way, Typhoon HIL sends analogue signals of PV current and voltage and OPAL-RT gives back the duty cycle signal to Typhoon HIL.
This experimental validation is needed to evaluate the performance of the algorithm in the presence of noisy measurements and possible delays in the communication system. Appendix A Fig. A1 depicts the RT simulation setup.
A scenario with a real-field irradiance profile has been test in the laboratory. The irradiance profile is the one measured by the National Resources Canada (NRCAN) datasets [

Fig. 15 Real-field highly variable irradiance profile.
The main parameters of the RT simulation are s and V. The results of case study 2 are shown in

Fig. 16 Results of case study 2.
In the previous case studies presented in this paper, the PV system operates at the MPP. This case study emulates the PRRC condition, i.e., when the PV system is deloaded and the operation point is far from the MPP.
For this reason, when the calculated irradiance ramp-rate is greater than 10 W/(), the reference voltage is pushed to the left of the MPP.

Fig. 17 Results of case study 3. (a) Irradiance profile. (b) Irradiance ramp-rate. (c) PV voltage.
Renewable generation is required to provide advanced ancillary services for the displacement of conventional generation. One of these functionalities is the PRRC, which attempts to limit the impact of rapid fluctuations in the primary energy source. In order to develop a fast and accurate PRRC algorithm in the case of PV generators without energy storage or irradiance sensors, a method to calculate the power ramp-rate in real time is crucial. In this context, this paper proposes a novel power ramp-rate calculation method on the basis of the dP-P&O algorithm. The main advantage of this method, in contrast with previously reported ones, is that it can decouple the power ramp-rate produced by the irradiance change and the one produced by the perturbation of the MPPT algorithm. As demonstrated theoretically, this information is fundamental, as it can be used to improve the ramp-rate measurement in terms of accuracy and computation time due to its simplicity. Software simulations confirm the adequacy of the decoupled power ramp-rate calculation compared with previous methods in terms of the RMSE and MAE. Experimental results show that the proposed method is suitable for RT applications even in the worst-case scenario with a real-field highly variable irradiance profile and noisy measurements. Future studies should investigate the implementation of the proposed method in PV PRRC.
Appendix
References
IEA, “Trends in photovoltaic applications 2020,” Tech. Rep. IEA-PVPS T1-38: 2020, International Energy Agency, Paris, France, 2020. [Baidu Scholar]
F. M. Gonzalez-Longatt, “Impact of emulated inertia from wind power on under-frequency protection schemes of future power systems,” Journal of Modern Power Systems and Clean Energy, vol. 4, no. 2, pp. 211-218, Mar. 2016. [Baidu Scholar]
M. J. E. Alam, K. M. Muttaqi, and D. Sutanto, “Battery energy storage to mitigate rapid voltage/power fluctuations in power grids due to fast variations of solar/wind outputs,” IEEE Access, vol. 9, pp. 12191-12202, Jan. 2021. [Baidu Scholar]
A. Sangwongwanich, Y. Yang, and F. Blaabjerg, “Development of flexible active power control strategies for grid-connected photovoltaic inverters by modifying MPPT algorithms,” in Proceedings of the IFEEC and ECCE Asia, Kaohsiung, China, Jun. 2017, pp. 87-92. [Baidu Scholar]
V. Gevorgian and S. Booth, “Review of PREPA technical requirements for interconnecting wind and solar generation,” Tech. Rep. NREL/TP-5D00-57089, National Renewable Energy Laboratory, Golden, USA, 2013. [Baidu Scholar]
A. Hoke, “Smart inverter utility experience in Hawaii,” in Proceedings of IEEE PES General Meeting Tutorial on Smart Inverters for Distributed Generators, Atlanta, USA, Aug. 2019, pp. 1-27. [Baidu Scholar]
A. Nelson, A. Nagarajan, K. Prabakar et al., “Hawaiian electric advanced inverter grid support function laboratory validation and analysis,” Tech. Rep. NREL/TP-5D00-67485, National Renewable Energy Laboratory, Golden, USA, 2016. [Baidu Scholar]
X. Chen, Y. Du, H. Wen et al., “Forecasting-based power ramp-rate control strategies for utility-scale PV systems,” IEEE Transactions on Industrial Electronics, vol. 66, no. 3, pp. 1862-1871, Mar. 2019. [Baidu Scholar]
L. Yao, B. Yang, H. Cui et al., “Challenges and progresses of energy storage technology and its application in power systems,” Journal of Modern Power Systems and Clean Energy, vol. 4, no. 4, pp. 519-528, Jul. 2016. [Baidu Scholar]
S. Sukumar, M. Marsadek, K. R. Agileswari et al., “Ramp-rate control smoothing methods to control output power fluctuations from solar photovoltaic (PV) sources–a review,” Journal of Energy Storage, vol. 20, pp. 218-229, Apr. 2018. [Baidu Scholar]
H. Xin, Y. Liu, Z. Wang et al., “A new frequency regulation strategy for photovoltaic systems without energy storage,” IEEE Transactions on Sustainable Energy, vol. 4, no. 4, pp. 985-993, Oct. 2013. [Baidu Scholar]
W. A. Omran, M. Kazerani, S. Member et al., “Investigation of methods for reduction of power fluctuations generated from large grid-connected photovoltaic systems,” IEEE Transactions on Energy Conversion, vol. 26, no. 1, pp. 318-327, Mar. 2011. [Baidu Scholar]
A. Sangwongwanich, Y. Yang, and F. Blaabjerg, “A cost-effective power ramp-rate control strategy for single-phase two-stage grid-connected photovoltaic systems,” in Proceedings of 2016 IEEE Energy Conversion Congress and Exposition (ECCE), Milwaukee, USA, Sept. 2016, pp. 1-7. [Baidu Scholar]
N. Femia, G. Petrone, G. Spagnuolo et al., “Optimization of perturb and observe maximum power point tracking method,” IEEE Transactions on Power Electronics, vol. 20, no. 4, pp. 963-973, Jul. 2005. [Baidu Scholar]
A. Pandey, N. Dasgupta, and A. K. Mukerjee, “High-performance algorithms for drift avoidance and fast tracking in solar MPPT system,” IEEE Transactions on Energy Conversion, vol. 23, no. 2, pp. 681-689, Jul. 2008. [Baidu Scholar]
X. Li, H. Wen, B. Chen et al., “A cost-effective power ramp rate control strategy based on flexible power point tracking for photovoltaic system,” Solar Energy, vol. 208, pp. 1058-1067, Sept. 2020. [Baidu Scholar]
D. Sera, R. Teodorescu, J. Hantschel et al., “Optimized maximum power point tracker for fast-changing environmental conditions,” IEEE Transations on Industrial Electronics, vol. 55, no. 7, pp. 2629-2637, Jul. 2008. [Baidu Scholar]
X. Li, Q. Wang, H. Wen et al., “Comprehensive studies on operational principles for maximum power point tracking in photovoltaic systems,” IEEE Access, vol. 7, pp. 121407-121420, Aug. 2019. [Baidu Scholar]
J. S. Ko, J. H. Huh, and J. C. Kim, “Overview of maximum power point tracking methods for PV system in micro grid,” Electronics, vol. 9, no. 5, pp. 1-22, May 2020. [Baidu Scholar]
M. Y. Javed, A. F. Mirza, A. Hasan et al., “A comprehensive review on a PV based system to harvest maximum power,” Electronics, vol. 8, no. 12, p. 1480, Dec. 2019. [Baidu Scholar]
J. M. Riquelme-Dominguez and S. Martinez, “Comparison of different photovoltaic perturb and observe algorithms for drift avoidance in fluctuating irradiance conditions,” in Proceedings of 2020 IEEE International Conference on Environment and Electrical Engineering and 2020 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Madrid, Spain, Jun. 2020, pp. 1-5. [Baidu Scholar]
B. Mohandes, M. S. El Moursi, N. Hatziargyriou et al., “A review of power system flexibility with high penetration of renewables,” IEEE Transactions on Power Systems, vol. 34, no. 4, pp. 3140-3155, Jul. 2019. [Baidu Scholar]
M. J. Alam, K. M. Muttaqi, and D. Sutanto, “A novel approach for ramp-rate control of solar PV using energy storage to mitigate output fluctuations caused by cloud passing,” IEEE Transactions on Energy Conversion, vol. 29, no. 2, pp. 507-518, Jun. 2014. [Baidu Scholar]
The MathWorks Inc. (2019, Dec.). MATLAB and Electrical Simscape Toolbox. [Online]. Available: https://www.mathworks.com/products/simscape-electrical.html [Baidu Scholar]
Overall Efficiency of Grid Connected Photovoltaic Inverters, CENELEC standard EN50530, 2010. [Baidu Scholar]
Natural Resources Canada (NRCAN). (2020, Feb.). High resolution solar radiation datasets. [Online]. Available: https://www.nrcan.gc.ca/energy/renewable-electricity/solar-photovoltaic/18409 [Baidu Scholar]