How to eliminate loop error?

1 view (last 30 days)
Vidya
Vidya on 1 Dec 2012
Commented: ALI on 2 Apr 2015
Hii
I have made a PV model with matlab function..but when I run it it shows the following error
Algebraic state in algebraic loop containing 'PV_panel/PV PANEL/PV Panel/Voltage Measurement/do not delete this gain' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution.If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
How to get rid of this error??
The matlab function works when it is not connected..but shows error when connected.
Thank you
  2 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 1 Dec 2012
Are you using simulink? post your function
ALI
ALI on 2 Apr 2015
yes i use simulink, i now this problem also.

Sign in to comment.

Answers (3)

arul
arul on 10 Dec 2014
Dear Vidya.... You will add unit delay or memory block in the feedback loop.......with some time delay....
after that you won't get algebraic error....
Thank you

Eristoff Abhi
Eristoff Abhi on 21 Dec 2012
Can you add some snapshot of your model where you are getting this error ?

ALI
ALI on 2 Apr 2015
Hi I have made a PV model with matlab simulink..but when I run it it shows the following error
Algebraic state in algebraic loop containing 'schemacomplet/Asservissement courant Correcteur PI/Sum' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
How to get rid of this error??
thank you

Products

Community Treasure Hunt

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

Start Hunting!