Solving an algebraic loop with state port
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Pavithra Ashok Kumar
2016-1-22
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!