Solving an algebraic loop with state port
6 views (last 30 days)
Show older comments
I do have some problems regarding an algebraic loop caused by an integrator. The following picture displays the loop.
As you can see, theres an algebraic loop containing "Funktion Sv", "DGL Gierwinkelbeschleunigung" an "Integrator 2". The initial condition of the integrator is "0". The reset port is triggered, as soon as the variable v hits zero, so after that the output of the integrator should be and remain zero. This loop doesnt seem to cause any problems now, but i want to find a solution to avoid problems later on.
Does anyone has an good idea, how to solve my problem?
0 Comments
Answers (1)
Pavithra Ashok Kumar
on 22 Jan 2016
I understand that you want to remove the algebraic loops in your model. THis can be removed either in many ways. Some of them are 1. Add a delay block depending on your model constraints. 2. Add memory blocks. For more information, refer here
0 Comments
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!