Vd, which is dependent on the model outputs, is fed-back to the model inputs which would have caused an algebraic loop if the filters were not present. The continued presence of the algebraic loop indicates that the V Filter and I Filter implementation probably has an unintended direct-feed through at some point during the simulation.
The proposed model bypasses the faulty filters with correctly functioning filters which breaks the algebraic loop.
Gert Kruger (2019). PV array with algebraic loop broken (https://www.mathworks.com/matlabcentral/fileexchange/71682-pv-array-with-algebraic-loop-broken), MATLAB Central File Exchange. Retrieved .
The motivation for this contribution originated from this post: https://www.mathworks.com/matlabcentral/answers/267687-why-pv-panels-gives-algebraic-loop-errors#answer_377065
Fixed the internal measurements of the model so that the bus selector functions as intended.
Added acknowledgment to filter used.
I_PV and V_PV do not have to be filtered separately in order to break the algebraic loop. Only Vd needs to be filtered. The Vd filter output is initialized to the panel open circuit voltage.
Inspired by: Real time tunable filters