Asked by Vidya
on 23 Nov 2012

Hii....I came across this error while making a model..

Simulink cannot solve the algebraic loop containing 'trial_3/PV panel/PV module' at time 0.0 using the TrustRegion-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues. To rule out solver convergence as the cause of this error, either a) switch to LineSearch-based algorithm using set_param('trial_3','AlgebraicLoopSolver','LineSearch') b) reducing the VariableStepDiscrete solver RelTol parameter so that the solver takes smaller time steps. If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.

I am using coding to make photovoltaic panel and MPPT P&O algorithm.

Please help me to solve this error.

Answer by Azzi Abdelmalek
on 23 Nov 2012

Edited by Azzi Abdelmalek
on 23 Nov 2012

Om Krishan
on 1 Nov 2018

Thanks@VAzzi Abdelmalek it works

Praveen Kumar
on 7 Nov 2018

Same issue. Where should I place the unit delay? Someone, please comment. Thank you.

Lukas Kretzschmar Waeny
on 12 Mar 2019

Same issue, thanks for helping ...

Sign in to comment.

Answer by Walter Roberson
on 6 May 2017

Answer by Kalyani Dhawad
on 6 Sep 2018

I have same problem in pv system

Sign in to comment.

Answer by Ahmed
on 19 Jun 2019

Answer by Gert Kruger
on 27 Jun 2019

Sign in to comment.

Opportunities for recent engineering grads.

Apply Today
## 2 Comments

## ahmed altaee (view profile)

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/54603-how-to-solve-algebraic-loop-error#comment_423685

## Rajesh Laguri (view profile)

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/54603-how-to-solve-algebraic-loop-error#comment_552234

Sign in to comment.