How do I eliminate an algebraic loop?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am simulating a mechanical system in SimMechanics with a controller in Simulink. The solver is unable to solve an algebraic loop highlighted:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167438/image.png)
Is there a solution to this? I tried adding a memory block, but simulation results change.
Kind regards, Maciej
0 Kommentare
Antworten (1)
Siddharth Jawahar
am 27 Sep. 2017
Bearbeitet: Siddharth Jawahar
am 27 Sep. 2017
Adding a memory block might not be a good idea depending on the nature of your model. For more information look at Guy's blog.
Check if there any direct feed throughs in the simulink simscape interface if there are look to remove them. Also the link below gives valuable hints on avoiding algbraic loops in a simscape model: Algebraic loops
0 Kommentare
Siehe auch
Kategorien
Mehr zu General Applications finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!