if you please i want a m.file to calculate the output power of wind turbine and PV by only giving them the rated power of each and wind speed for the turbine and temperature and sun radiance for PV. please send it to me on firstname.lastname@example.org
I found that for my system, the covariance matrix was growing like crazy (P_k~10^8*P_k-1) and was getting complex.
Try adjusting the alpha parameter. 10e-3 was way too small for my system, and 0.1 was the bare minimum that I could avoid the covariance issues. 0.15 seemed to work best.
in general, alpha is recommended to be between 10e-3 and 1.