How do I eliminate an algebraic loop?
2 views (last 30 days)
Show older comments
Hi,
I am simulating a mechanical system in SimMechanics with a controller in Simulink. The solver is unable to solve an algebraic loop highlighted:
Is there a solution to this? I tried adding a memory block, but simulation results change.
Kind regards, Maciej
0 Comments
Answers (1)
Siddharth Jawahar
on 27 Sep 2017
Edited: Siddharth Jawahar
on 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 Comments
See Also
Categories
Find more on General Applications 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!