How to solve "algebraic loop error" in Matlab Simulink

5 visualizaciones (últimos 30 días)
Agastya
Agastya el 4 de Mzo. de 2015
Comentada: Walter Roberson el 1 de Mayo de 2025
Hi,
I am getting this error frequently while running my Simulink Model If i take GAIN value k = 0 then my model is working but if i take anything greater than zero then i am getting the attached error
please help me out with this error
Thanks in Advance Agassi

Respuestas (1)

ag
ag el 1 de Mayo de 2025
Hi Agastya,
Algebraic loops occur when an input port with direct feedthrough is driven by the output of the same block, either directly, or by a feedback path through other blocks which have direct feedthrough. In your case, the feeback loop seems to be created by the output of the block "ASM Winkeleges" feeded to the "Torque Friction" block.
In most of the cases the solution is to model the system so that the loop is no longer present. In some cases, adding a small delay (Either discrete delay block or continuous memory block) to the system at its highest level might remove the loop.
For a better understanding of Algebraic loops and how can they be solved, I kindly suggest you to go through the following MATLAB answers post: https://www.mathworks.com/matlabcentral/answers/95310-what-are-algebraic-loops-in-simulink-and-how-do-i-solve-them
Hope this helps!

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by