How solver error in algebraic loop?

1 次查看(过去 30 天)
luciana lima
luciana lima 2015-6-8
回答: ag 2025-4-23
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?

回答(1 个)

ag
ag 2025-4-23
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!

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by