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.

回答(1 个)

Titus Edelhofer
Titus Edelhofer 2011-11-3

0 个投票

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 个评论

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 !!!

请先登录,再进行评论。

类别

提问:

2011-11-3

Community Treasure Hunt

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

Start Hunting!

Translated by