필터 지우기
필터 지우기

What to do if simulink detects nonexistant algebraic loops

조회 수: 1 (최근 30일)
Balazs Fischer
Balazs Fischer 2021년 3월 3일
댓글: Fangjun Jiang 2021년 3월 3일
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.
  댓글 수: 1
Fangjun Jiang
Fangjun Jiang 2021년 3월 3일
submit your model to Mathworks tech support to see if you discovered a bug in algebraic loop detection

댓글을 달려면 로그인하십시오.

답변 (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