Hi, I found problem when using PV array block in simulink, my simulation stopped when the algebraic loop was found. It's located in the diode inside the block.
I have tried insert the unit delay block at the feedback (Vd) inside the mask but the problem still cannot be solved. Not sure it's the correct way or not.
Here's the snapshot from my simulation and where I put the unit delay
And this is my setup for solver
Suggestion would be very appreciated, thank you very much