How solver error in algebraic loop?

1 view (last 30 days)
luciana lima
luciana lima on 8 Jun 2015
Answered: ag on 23 Apr 2025
In my program I need used one block in algebraic loop, them I used S-R Flip Flop but it stay with !Q open and the program not run? How solver this?

Answers (1)

ag
ag on 23 Apr 2025
Hi Luciana,
I understand that you are using an "SR Flip Flop" in your model and are facing the Alebraic loop.
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 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!

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!