MATLAB Answers

algebraic loop problem in PV array block

16 views (last 30 days)
Hello everyone,
I tried to upload my simulink code on PV panel tracking into the texas instruement control card (defino F28355), but I found problem from algebraic loop. I tried use debugger (ashow command) and it shows algebraic loop inside the PV block inside the diode.
I think the parameter Vd inside needs to have something done with it. I've found out using delay block to solve but not sure where to put in the model.
Any suggestion for me? Thank you in advance.

  0 Comments

Sign in to comment.

Accepted Answer

Gert Kruger
Gert Kruger on 28 Jun 2019
The reason why there is an algebraic loop:
The V-Filter and I-Filter in the model, for the computation of Vd, is supposed to break the algbraic loop. Vd which is dependent on the model output is fed-back to the model inputs which would have caused an algebraic loop if the filters were not present. The 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.
Some suggest to add a unit delay, but this forces the model to be a mixed simulation problem, even if the rest of the model consist out of continuous state models. Secondly, what is an appropriate sample time for the unit delay?
Download a PV panel model with the algebraic loop fixed at:
The proposed solution has been tested.
Kind regards,
Gert

  2 Comments

Jirada Gosumbonggot
Jirada Gosumbonggot on 3 Jul 2019
Dear Gert
Thank you so much for your answer, I will try using your model to simulate my work
rawan saad
rawan saad on 18 Feb 2020
it doesn't work on my system as i used discrete system
how can i solve this problem

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by