How to eliminate loop error?

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

Are you using simulink? post your function
yes i use simulink, i now this problem also.

Sign in to comment.

Answers (3)

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
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

Categories

Find more on Simulink in Help Center and File Exchange

Products

Asked:

on 1 Dec 2012

Commented:

ALI
on 2 Apr 2015

Community Treasure Hunt

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

Start Hunting!