How do I eliminate an algebraic loop?
Mostra commenti meno recenti
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
Risposte (1)
Siddharth Jawahar
il 27 Set 2017
Modificato: Siddharth Jawahar
il 27 Set 2017
0 voti
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
Categorie
Scopri di più su Trimming and Linearization in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!