What to do if simulink detects nonexistant algebraic loops

1 次查看(过去 30 天)
What can you do, if simulink detects an algebraic loop that simply does not exist? I tried every combination of atomic subsystems and minimize algebraic loop occurences that I could think of. I have a subsystem that has as outputs the outputs of 2 integrators. I have one input. If I feed the input directly into the integrators I don't get an algebraic loop. If I multiply the input with other values that are calculated in the subsystem then I get an algebraic loop. Normally the factors would depend on other inputs. But I have disabled that and replaced all other inputs by constants. Still if I multiply I get an algabraic loop, if I don't all is well for simulink.
The detection is simply wrong. I can simulate with fixed stepsize. But if I simulate with variable stepsize the solver crashes due to minimum stepsize reached.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by