Algebraic loop Problem at Simulink

Hi,
I am working on a problem containing 7 differential equations in which all the outputs of each equation are at the same time inputs of them. Therefore when I try solving the problem, it appears an error message "Trouble solving algebraic loop containing 'model_name' at time 2.10470..." Please how to use IC block on my model, or another solution ??
Thanks for your answers.

Answers (1)

Hi,
the fact that the input is needed should not be a problem. I did not download the model (since I have no Simulink right here), but this problem typically arises when one uses differential blocks instead of integrators. If this is a case, take a look at model vdp as an example how to use integrators to build the differential equations.
Titus

1 Comment

I have used integrators block to describe the equations. This is not the problem, the problem is that simulink doesn't really know where exactly it has to start calculating( I guess) because all the equations have therms involving results from other equations, is like a big Loop.
Can you have a look at the model, and tell me something ??
Do you know if I can apply IC Block to my model ? How ?
Thanks !!!

Sign in to comment.

Asked:

on 3 Nov 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!