Algebraic loop in Simulink
4 views (last 30 days)
Show older comments
jonas house
on 22 Apr 2015
Answered: jonas house
on 23 Apr 2015
Hi,
I have a problem in my simulink model, simulation fail because of an algebraic loop according to the simulation diagnostic. I tried a lot of things but it didn't worked.
I think simulink try to solve the "chicken an egg" problem, i tried to set an initial value but nothing worked.
Thanks for your help
0 Comments
Accepted Answer
Sebastian Castro
on 23 Apr 2015
Instead of using Algebraic Constraint blocks to try guide the initial condition of the algebraic loop solver, you could try break the loop with a low-pass filter (Transfer Fcn block in the Continuous library).
Just make sure that the cut-off frequency of this filter is large enough that it doesn't affect the dynamics of your actual system.
For example, if you know your system has frequencies up to 1000 Hz, try put the filter frequency at like... 5000 Hz or so.
- Sebastian
0 Comments
More Answers (1)
See Also
Categories
Find more on Model Verification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!