How to solve "algebraic loop error" in Matlab Simulink

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

답변 (1개)

ag
ag 2025년 5월 1일

0 개 추천

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!

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2015년 3월 4일

댓글:

2025년 5월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by