How can I resolve algebraic loops in my Simulink model?
Show older comments
I am looking for some general diagnostic steps which I can follow so as to troubleshoot algebraic loop issues.
For example, I have a simple algebraic loop model consisting of a Constant and a Sum block. When I increase the value of the Constant to 1e8 and above, I receive the following error:
ERROR: Trouble solving algebraic loop containing 'algebraicloop_problem/Sum1' at
time 0. Stopping simulation. There may be a singularity in the solution.
If the model is correct, try reducing the step size (either by reducing
the fixed step size or by tightening the error tolerances).
I do not receive this error when the Constant value is less than 1e8. What would be the best way to troubleshoot such an issue?
Accepted Answer
More Answers (0)
Categories
Find more on Configure Simulation Conditions 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!