How to eliminate loop error?

1 次查看(过去 30 天)
Vidya
Vidya 2012-12-1
评论: ALI 2015-4-2
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 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2012-12-1
Are you using simulink? post your function
ALI
ALI 2015-4-2
yes i use simulink, i now this problem also.

请先登录,再进行评论。

回答(3 个)

arul
arul 2014-12-10
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 2012-12-21
Can you add some snapshot of your model where you are getting this error ?

ALI
ALI 2015-4-2
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

类别

Help CenterFile Exchange 中查找有关 Signal Operations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by