Abstract
This paper proposes the use of the unscented Kalman filter to estimate the equivalent model of a photovoltaic (PV) array, using external measurements of current and voltage at the inverter level. The estimated model is of interest to predict the power output of PV plants, in both planning and operation scenarios, and thus improves the efficient operation of power systems with high penetration of renewable energy. The proposed technique has been assessed in several simulated scenarios under different operating conditions. The results show that accurate estimates are provided for the model parameters, even in the presence of measurement noise and abrupt variations under the external conditions.
IN many countries, solar energy is becoming one of the main sources of renewable energy. Photovoltaic (PV) technology has been widely adopted due to its high reliability, simplicity, low upfront and maintenance costs, and low environmental impact [
Several methods have been proposed for the estimation of PV model parameters, which can be broadly grouped into: analytical methods [
All of these techniques address the parameter estimation problem in a static fashion. However, the temperature of PV panels, which evolves over time according to a series of well-known heat transfer mechanisms, has a remarkable influence on the power delivered by the system. For this reason, dynamic state estimators (DSEs) can be the right tool for a joint estimation of the state variables and parameters involved in the modelling of PV modules. The most common formulation of DSEs resorts to Kalman filters (KFs), which are widely used for state estimation in electric power systems [
A particular formulation of the KF, the so-called unscented KF (UKF), has gained popularity due to its good performance in the estimation of non-linear systems, compared to other formulations such as the extended KF (EKF) [
When real PV power plants are analyzed, though, composed of arrays of PV panels connected in series, the estimation of parameters at the module level can be difficult in terms of computational complexity and lack of required individual measurements. To overcome this issue, this paper proposes a UKF-based estimation technique for the identification of states and parameters of an equivalent model of a PV array, using measurements of the terminal voltage and current along with the information provided by weather stations. The proposed implementation of the UKF solves an implicit equation for the output current, without the need to calculate the Jacobian matrices for the state transition and observation models. The complexity involved in computing these matrices hampers the application of the EKF formulation to the problem at hand.
The proposed technique is validated using different simulation scenarios, showing the benefits of the estimation technique when planning the maintenance of PV panels and obtaining a prediction of the energy produced by the array. Moreover, the identification of the equivalent model of a PV array can enhance the operation and control of the overall power system. To the authors’ best knowledge, there has been no research attempting to estimate an equivalent model for a PV array, taking into account the dynamic evolution of the panel temperature, based on the produced power and external conditions.
In a preliminary work [
1) The proposed estimation technique is applied to the identification of parameters of an equivalent model, corresponding to a whole PV array, while in [
2) The panel temperature was assumed to have an unknown dynamic evolution [
3) Many more and more comprehensive tests have been designed in this paper to check the suitability of the UKF for this purpose.
The remainder of this paper is organized as follows. Section II presents the UKF algorithm, while the equivalent model of the PV module is described in Section III. The implementation of the UKF-based estimation technique to the system under study is provided in Section IV. The case studies used to assess the performance of the UKF-based estimation technique and the application of this technique to energy management are addressed in Sections V and VI, respectively. Section VII outlines the main conclusions.
KF implementations require a set of state equations, including the dynamic and measurement equations. In the case of continuous-time and discrete-measurement non-linear systems, these equations can be expressed as:
(1) |
(2) |
where is the state vector; is the system input vector; is the measurement vector at instant ; and are the measurement functions; and and are the model and measurement noises, which are assumed Gaussian processes with covariance matrices and , respectively.
In the discrete time domain, considering a time step , the above equations become:
(3) |
(4) |
From the above discrete model, by linearizing the non-linear functions in (3) and (4), the EKF can be readily applied. However, in the particular application considered in this work, implicit equations are involved in the observation model, so the calculation of the Jacobian matrices for functions and is far from trivial. For this reason, this work makes use of the UKF, whose implementation is based on an iterative process with two different stages [
At instant , a cloud of vectors, called -points, is calculated from the previous estimate of the state vector (dimension ) and the covariance matrix of the state estimation error using the following expression:
(5) |
where is the column of the matrix that has been calculated in this work using the Cholesky decomposition; and is a scaling factor calculated from (6).
(6) |
where and are the filter parameters to be tuned. These -points, evaluated using (3), yield vectors , from which the a priori estimations and are obtained as:
(7) |
(8) |
where and are the elements of the weighting vectors and , respectively, which are calculated as (9).
(9) |
where is another tunable parameter.
On the basis of the a priori estimations, a new cloud of vectors is calculated as:
(10) |
(11) |
These values are weighted using defined by (9) as:
(12) |
Then, the covariance matrix of the measurement estimation error and the cross-covariance matrix of state and measurements are obtained using as follows:
(13) |
(14) |
By using the a priori estimations at instant from (7) and (8) and the Kalman gain from (15), the a posteriori estimations can be obtained from (16) and (17), respectively, both of which are necessary for the next step.
(15) |
(16) |
(17) |
State estimation requires the previous knowledge of the parameters involved in the dynamic model, such as that presented in the following section for the equivalent model of PV module. However, when these parameters are not known, estimation techniques such as UKF can be used for a joint estimation of state variables and parameters [
(18) |
(19) |
where is now the augmented model noise vector, including not only the state variable components, but also the parameter components.
In this section, the equivalent model considered for the PV module is presented, as implemented in the UKF algorithm previously described. A single-diode model is taken, as presented in [

Fig. 1 Single-diode model considered for equivalent model of PV module.
The current through the diode is calculated using the Shockley’s equation as:
(20) |
where is the reverse bias saturation current of the diode; is the diode ideality factor; is the number of cells connected in series; is the Boltzmann constant; is the terminal voltage of the equivalent model of PV module; is the electron charge; is the series resistance; is the terminal current of the equivalent PV module; and is the temperature of the equivalent model.
The current produced by the equivalent model of PV module in
(21) |
where is the reference irradiation; is the reference temperature; is the temperature coefficient; and is the short-circuit current of the module under standard conditions. The value of depends on the solar irradiation and a so-called cleaning factor, denoted as and used in [
(22) |
Finally, is calculated through Kirchhoff’s current law as follows:
(23) |
where is the parallel resistance.
It can be noticed that the model represented by (20)-(23) is algebraic and the parameters involved are considered as constants. However, it is well known that the temperature of the PV panels evolves dynamically according to the thermal equilibrium equation, derived from the first law of thermodynamics, yielding:
(24) |
where is the heat capacity of the equivalent model of PV module; is the array heating by solar radiation; is the absorption factor of PV cells; is the power produced by the array (); is the conductive heat transfer; and is the radiative heat transfer. For the last two terms, the expressions in [
The magnitudes of those variables can be collected by weather stations located at the corresponding PV plant.
Regarding the absorption factor , [
From (24), it is concluded that the temperature of the equivalent model of PV module at instant is dependent on its value at instant , which leads naturally to a DSE model aimed at jointly estimating the state variables and the model parameters.
The implementation of the proposed UKF-based estimation technique is depicted in the flowchart of

Fig. 2 Flowchart of proposed UKF-based estimation technique.
As mentioned in Section II, an augmented state vector can be defined when the model parameters are not known, so that a joint estimation can be carried out using the UKF. For the equivalent model of PV module described in Section III, the state vector is only composed of the temperature of the equivalent model:
(25) |
While the components of the parameter vector are:
(26) |
So, the size of the augmented state vector is . In the implementation of the proposed technique, a total of 5 magnitudes are supposed to be measured from the system under study, namely the terminal voltage and current , together with the meteorological variables presented in Section III. These magnitudes are divided into system inputs, yielding the vector and the measurements used in the correction stage of the estimator [
The state-transition
(27) |
where and are calculated using the expressions in [
Regarding the measurement function in (11), it is not possible to obtain an explicit expression for the current , as a function of the state variable and system inputs. For this reason, the corresponding implicit equation has to be solved:
(28) |
The specific details related to the UKF tuning will be provided in the following section.
After estimating the parameters of the equivalent model, it is crucial to assess the reliability of the estimate. For this purpose, an additional set of data is generated for the simulated system under study. Then, this test set is used to verify whether the terminal current predicted by the reduced estimated model aligns well with the current measured from the entire PV array. In this regard, several metrics will be explored in Section V to evaluate the accuracy of the estimated model.
Additionally, a comparison will be presented between the results provided by the proposed technique and the EKF scheme [
As stated in Section III, the estimated cleaning factor is intended to quantify the level of soiling of the array of PV panels. However, sudden variations in this parameter could originate from bad data in the measurements of solar radiation or terminal current. To address this issue, two verifications concerning the estimated value of are proposed at each time step.
1) Absolute deviations in the estimated value of from instant to , i.e., , exceeding a specific threshold ( in
2) Considering the nature of the cleaning factor, an estimation where should be regarded as an indicator of bad data.
The points described above focus on detecting and eventually identifying permanent outliers. The impact of sporadic (i.e., non-permanent) inaccurate data on the accuracy of the estimated model is evaluated in the following section.
In this section, the proposed technique is assessed in its ability to estimate the state and parameters of an equivalent model for a PV array composed of 16 modules, as shown in

Fig. 3 PV array considered in case studies.
In all the scenarios included in this paper, commercial 180 W PV modules are considered, characterized by the data shown in
Parameter | Value |
---|---|
0.39381 | |
313.055 | |
0.98119 | |
0.0032 A/K | |
60 | |
A | |
A | |
Length | 1.576 m |
Width | 0.825 m |
Weight | 22.7 kg |
Rated power | 180 W |
The UKF requires an initial estimation of the augmented state vector. For this purpose, the panel temperature is initialized in all cases with the measured ambient temperature value at the beginning of the simulation, while the parameters of the equivalent model are given the values included in
(29) |
The UKF is implemented considering the parameters , , and , as proposed in [
The proposed technique is assessed in a scenario where the whole set of parameters is estimated under normal operating conditions. Once the model parameters are identified, two additional scenarios are presented where only the coefficient is included in the augmented state vector for the UKF algorithm, while the rest of the parameters are given their estimated values in the first scenario.
In all scenarios, MATLAB has been used for the simulation of the complete PV array and the implementation of the proposed technique. To conduct the case studies in this work, a computer with an Inte
In scenario I, typical profiles for the solar irradiance and the ambient temperature are assumed, as represented in

Fig. 4 Solar irradiance and ambient temperature in scenario I.
For the cleaning factor of the PV modules, a baseline value p.u. with 10% random error is used in the simulation. A typical profile has also been considered for the wind speed variation, so that the dynamic evolution of the panel temperatures can be obtained and, as a byproduct, the terminal voltage of the simulated PV array can be obtained.
Using the measurements from the first 5 hours of the simulation, the UKF provides the estimated parameters in the equivalent model shown in

Fig. 5 Estimated parameters in scenario I.

Fig. 6 Simulated temperatures of PV modules and estimated temperature of equivalent PV panel.
The EKF formulation was also considered in this scenario for the estimation of equivalent parameters. As mentioned previously, a numerical calculation of Jacobian matrices is implemented, using a complex-step differentiation method. Despite the use of this sophisticated tool, the EKF presents slower convergence speed in the parameter estimation compared with that of the UKF, as depicted in

Fig. 7 Estimation of parameter provided by EKF and UKF.
In order to assess the accuracy of the estimated parameters, the evolution of the actual (i.e., simulated) terminal current during the last 5 hours of the simulation is compared to the terminal currents calculated with the equivalent model considering estimated parameters provided by the UKF (model 1) or EKF (model 2) and the equivalent model considering baseline parameters assumed in

Fig. 8 Comparison of simulated and calculated terminal currents.
To quantify the resulting errors in the calculated terminal current, the mean relative error (MRE), the mean square error (MSE), and the maximum absolute error (MAE) are presented in
Model | MRE (%) | MSE () | MAE (A) |
---|---|---|---|
1 | 1.49 | 0.14 | 0.06 |
2 | 5.61 | 0.92 | 0.73 |
3 | 6.77 | 1.12 | 0.48 |
The influence of the measurement errors in the accuracy of the estimated model is subsequently analyzed.
Noise level (%) | MRE (%) |
---|---|
1 | 1.49 |
2 | 1.58 |
5 | 3.02 |
7 | 6.85 |
Finally, the performance of the proposed technique is assessed when measurements of the terminal current sporadically contain outliers (bad data). In this context,
Rate of outliers (%) | MRE (%) |
---|---|
1 | 1.51 |
2 | 1.97 |
5 | 4.72 |
In this scenario, abrupt changes in the cleaning factor are simultaneously applied to the 16 modules in the PV system under study. First, at the

Fig. 9 Estimation of parameter in scenario II.
The ability demonstrated by the proposed technique to detect sudden or long-term variations in the production of a PV array, due for example to a sustained soiling of panels, can be exploited for the development of suitable PV plant maintenance routines.
In scenario II, the parameter c is simultaneously changed for the whole set of modules in the PV array, assuming all panels in series are affected by the same natural phenomena. However, in certain situations, only a reduced number of panels are affected by bird droppings (most common) or soiling, and the resulting change in the power production can be mistaken for normal variations under the external conditions, or even with measurement errors.
To assess this issue, scenario III analyzes the estimation of the parameter in the equivalent model of the PV module under partial soiling conditions or panel malfunctioning. For the subset of affected panels, the simulated cleaning factor is set to be the extreme value from the

Fig. 10 Estimation of parameter in scenario III.
In all cases, the estimation of remains essentially constant until the event occurs. In all cases with modules affected by soiling or malfunctioning, the proposed technique succeeds in detecting the associated decrease in the parameter of the equivalent model.
Based on the aforementioned results, it can be concluded that the proposed technique allows the identification of situations in which a small subset of modules in a particular array have stopped producing energy. This aspect is not only important from the point of view of energy production, but also for maintenance purposes, as these undesired operating conditions can lead to hot spots that can shorten the life of assets.
In the previous section, the proposed technique has been assessed in the identification of the equivalent model of a PV array under different external conditions. In this section, the dynamically updated values of these parameters will be used to enhance the predicted values of the energy produced by the array.
In this case, 15-min prediction intervals are considered for meteorological variables. The 10-hour predicted output energy is represented in

Fig. 11 Comparison of predicted output energy.
It can be noticed that the values obtained by model 1 are much closer to those of the simulated model than the ones obtained by model 3, giving evidence of the accuracy of the proposed technique. The 10-hour prediction can be recalculated in real time as the estimated values of the parameters are updated using the corresponding measurements. The enhanced predictions could be used, for instance, in the operation scheduling of battery energy storage systems associated to large-scale or rooftop PV power plants.
In this paper, a novel technique is presented for the state estimation and parameters of an equivalent model of a PV array, using for the unscented formulation of the KF. The use of the proposed technique is motivated by the dynamic behavior of the temperature of PV panels, which has a remarkable influence on the power production. The equivalent model considered is based on a PV module with a single-diode model. For the joint estimation, a set of external measurements are used, including not only electrical variables such as the terminal current and voltage, but also the meteorological conditions affecting the thermal model of panels. Four simulated scenarios have been considered in this work in order to evaluate the performance of the proposed technique.
The proposed technique is assessed with normal operating conditions, where it shows its ability to estimate an equivalent dynamic model of the PV array, which accurately calculates the terminal DC current. The proposed technique can also provide acceptable results, both when measurements with larger average errors are considered and in the presence of temporary outliers. Additionally, the proposed technique is compared to the EKF formulation. It can be concluded that the latter formulation has lower accuracy in the estimation of the equivalent model, compared to the proposed technique.
In a second scenario, a global decrease in the cleaning coefficient is simulated, and the proposed technique is able to detect this variation in the corresponding parameter of the equivalent model. Then, a third scenario is aimed at assessing if the proposed technique can identify situations when only a reduced number of modules in the PV array are affected by soiling or malfunctioning. The results show that even if 10%-15% of the modules in an array stop producing electricity, the proposed technique can detect this anomalous condition by noticeable deviations in the equivalent cleaning factor, which can be helpful for prematurely detecting hot spots derived from these abnormal operating conditions.
Finally, the estimated equivalent model is used to predict the energy produced by the PV array based on weather forecasts. It is confirmed that the predictions based on estimated values are better than those obtained using baseline values for the model parameters, since they do not take into account possible manufacturing differences among the panels in an array or variations of the panel temperatures.
Incorporating an equivalent dynamic model of a PV array into power system planning and operation enables utilities to better manage the integration of renewable energy into the grid. By more accurately predicting the behavior of the PV array, utilities can optimize the dispatching and scheduling of generation and storage resources, reducing the costs and increasing the reliability.
References
J. Zhao, C. Wan, Z. Xu et al., “Impacts of large-scale photovoltaic generation penetration on power system spinning reserve allocation” in Proceedings of 2016 IEEE PES General Meeting, Boston, USA, Jul. 2016, pp. 1-5. [Baidu Scholar]
R. Nasrin, M. Hasanuzzaman, and N. A. Rahim, “Effect of high irradiation on photovoltaic power and energy,” International Journal of Energy Research, vol. 42, no. 3, pp. 1115-1131, Mar. 2018. [Baidu Scholar]
T. Kozak, W. Marańda, A. Napieralski et al., “Influence of ambient temperature on the amount of electric energy produced by solar modules,” in Proceedings of the 16th International Conference – Mixed Design of Integrated Circuits and Systems, Lodz, Poland, Jun. 2009, pp. 351-354. [Baidu Scholar]
S. Sharma, D. K. Vishwakarma, P. Bhardwaj et al., “Effects of maintenance on performance of grid connected rooftop solar PV module system,” International Journal of Recent Trends in Engineering and Research, vol. 4, no. 1, pp. 190-196, Jan. 2018. [Baidu Scholar]
A. R. Jordehi, “Parameter estimation of solar photovoltaic (PV) cells: a review,” Renewable and Sustainable Energy Reviews, vol. 61, pp. 354-371, Aug. 2016. [Baidu Scholar]
J. Bai, S. Liu, Y. Hao et al., “Development of a new compound method to extract the five parameters of PV modules,” Energy Conversion and Management, vol. 79, pp. 294-303, Mar. 2014. [Baidu Scholar]
O. Mares, M. Paulescu, and V. Badescu, “A simple but accurate procedure for solving the five-parameter model,” Energy Conversion and Management, vol. 105, pp. 139-148, Nov. 2015. [Baidu Scholar]
D. Oliva, E. Cuevas, and G. Pajares, “Parameter identification of solar cells using artificial bee colony optimization,” Energy, vol. 72, pp. 93-102, Aug. 2014. [Baidu Scholar]
A. Askarzadeh and A. Rezazadeh, “Artificial bee swarm optimization algorithm for parameters identification of solar cell models,” Applied Energy, vol. 102, pp. 943-949, Feb. 2013. [Baidu Scholar]
K. Ishaque and Z. Salam, “An improved modeling method to determine the model parameters of photovoltaic (PV) modules using differential evolution (DE),” Solar Energy, vol. 85, no. 9, pp. 2349-2359, Sept. 2011. [Baidu Scholar]
Z. Huang, K. Schneider, and J. Nieplocha, “Feasibility studies of applying Kalman Filter techniques to power system dynamic state estimation,” in Proceeding of 2007 International Power Engineering Conference (IPEC), Singapore, Dec. 2007, pp. 376-382. [Baidu Scholar]
M. A. González-Cagigal, J. A. Rosendo-Macías, and A. Gómez-Expósito, “Parameter estimation of fully regulated synchronous generators using unscented Kalman filters,” Electric Power Systems Research, vol. 168, pp. 210-217, Mar. 2019. [Baidu Scholar]
A. Rouhani and A. Abur, “Constrained iterated unscented Kalman filter for dynamic state and parameter estimation,” IEEE Transactions on Power Systems, vol. 33, no. 3, pp. 2404-2414, May 2018. [Baidu Scholar]
N. Zhou, D. Meng, Z. Huang et al., “Dynamic state estimation of a synchronous machine using PMU data: a comparative study,” in Proceeding of 2015 IEEE PES General Meeting, Denver, USA, Jul. 2015, pp. 1-6. [Baidu Scholar]
M. Á. González-Cagigal, J. A. Rosendo-Macías, and A. Gómez-Expósito, “State and parameter estimation of photovoltaic modules using unscented Kalman filters,” Renewable Energy and Power Quality Journal, vol. 20, pp. 126-131, Sept. 2022. [Baidu Scholar]
D. Simon, Optimal State Estimation: Kalman, H-infinity, and Nonlinear Approaches. New York: Wiley, 2006. [Baidu Scholar]
E. A. Wan and R. V. D. Merwe, “The unscented Kalman filter for nonlinear estimation,” in Proceedings of the IEEE 2000 Adaptive Systems for Signal Processing, Communications, and Control Symposium, Lake Louise, Canada, Oct. 2000, pp. 153-158. [Baidu Scholar]
K. C. Kong, M. B. Mamat, M. Z. Ibrahim et al., “New approach on mathematical modeling of photovoltaic solar panel,” Applied Mathematical Sciences, vol. 6, pp. 381-401, Jan. 2012. [Baidu Scholar]
B. Tuncel, T. Ozden, R. S. Balog et al., “Dynamic thermal modelling of PV performance and effect of heat capacity on the module temperature,” Case Studies in Thermal Engineering, vol. 22, p. 100754, Dec. 2020. [Baidu Scholar]
R. Santbergen and R. J. C. van Zolingen, “The absorption factor of crystalline silicon PV cells: a numerical and experimental study,” Solar Energy Materials and Solar Cells, vol. 92, no. 4, pp. 432-444, Apr. 2008. [Baidu Scholar]
H. G. Aghamolki, Z. Miao, L. Fan et al., “Identification of synchronous generator model with frequency control using unscented Kalman filter,” Electric Power Systems Research, vol. 126, pp. 45-55, Sept. 2015. [Baidu Scholar]
H. W. Sorenson and A. R. Stubberud, “Non-linear filtering by approximation of the a posteriori density,” International Journal of Control, vol. 8, no. 1, pp. 33-51, Jul. 1968. [Baidu Scholar]
W. Squire and G. Trapp, “Using complex variables to estimate derivatives of real functions,” SIAM Review, vol. 40, no. 1, pp. 110-112, Mar. 1998. [Baidu Scholar]
Z. Fan, S. Li, H. Cheng et al., “Perturb and observe MPPT algorithm of photovoltaic system: a review,” in Proceedings of 2021 33rd Chinese Control and Decision Conference, Kunming, China, May 2021, pp. 1413-1418. [Baidu Scholar]
AGT. (2023, Mar.). Advanced green technologies. [Online]. Available: https://www.agt.com/services [Baidu Scholar]
J. H. Kim, S. Y. Park, Y. R. Kim et al., “Analysis of scaling parameters of the batch unscented transformation for precision orbit determination using satellite laser ranging data,” Journal of Astronomy and Space Sciences, vol. 28, no. 3, pp. 183-192, Sept. 2011. [Baidu Scholar]
J. A. Macias and A. Gomez, “Self-tuning of Kalman filters for harmonic computation,” IEEE Transactions on Power Delivery, vol. 21, no. 1, pp. 501-503, Jan. 2006. [Baidu Scholar]