필터 지우기
필터 지우기

Discontinuities detected within algebraic loop

조회 수: 49 (최근 30일)
Javier Guiterrez
Javier Guiterrez 2011년 5월 24일
I have the following problem: "_Trouble solving algebraic loop containing 'ABT_ON2' at time 0.511. Stopping simulation. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)_" && in the command prompt appears "_Warning: Discontinuities detected within algebraic loop(s), may have trouble solving_"
The strange thing for me is that it starts to run until one signal is switched on. This model consists on a cosimulation with MSC.ADAMS. I have tried to reduce the communication interval but the same problem appears in the same algebraic loop. With the debugger I have seen the three algebraic loops, but no clue is found yet.
Please tell me usual or typical reasons for this problem or a method to look for the cause and fix it.
Thank yo in advance

채택된 답변

Arnaud Miege
Arnaud Miege 2011년 5월 24일
Co-simulation can be a source of numerical problems. Here are a few tips for dealing with algebraic loops:
Since you have a discontinuity, you might also want to try to "smoothe", maybe using a low-pass filter, which a frequency set to something higher than the phenomenon you want to capture (e.g. tf(1000,[1 1000]).
HTH,
Arnaud
  댓글 수: 1
Javier Guiterrez
Javier Guiterrez 2011년 5월 24일
Already solved with the addition of a unit delay block in a proper location.
Thank you

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discontinuities에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by