How to solve a system of equations in Simulink?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I need to solve a system of equations using Simulink but when I run the model it appears an error that I have an algebraic loop in some blocks. I understand that is because it doesn't have an initial value to start computing so I used the block Initial value to set it, but then it starts to appear some errors in form of event and timed functions and even changing the signal type it doesn't work.
3 Kommentare
Omur Bas
am 5 Sep. 2017
Do you need to solve a system of differential equations or algebraic equations? Simulink is for solving differential equations over time. We can help you better if you can share the equations.
Antworten (2)
Nick Choi
am 7 Sep. 2017
It would be difficult to determine the root cause of the issue without knowing the architecture of your Simulink model.
However, the following documentation page provides some useful information on how to deal with algebraic loops in models: https://www.mathworks.com/help/simulink/ug/algebraic-loops.html
0 Kommentare
victor velazquez
am 8 Okt. 2020
You can use the memory block in orther to create a delay, this will breack the loop, put one in every variable
0 Kommentare
Siehe auch
Kategorien
Mehr zu Discontinuities finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!