The block computed at time is Inf or NaN.

조회 수: 9 (최근 30일)
said belhadj
said belhadj 2018년 6월 4일
댓글: said belhadj 2018년 6월 5일
best regards. I simulate on simulink of matlab2015a, a model that reached t = 11S, and then the simulation stopped, displaying the following error:
An error occurred while running the simulation and the simulation was terminated Algebraic state in algebraic loop containing 'SAID/FCV Electrical Subsystem/PM Synchronous Motor Drive This block is based on the AC6 drive block/Subsystem/VECT Controller/DQ-ABC/ic' computed at time 11.978520000000001 is Inf or NaN. 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)
I know this is an error that stopped the execution of the simulation. Algebraic state at a given instant is Infinite or indeterminate.
so the solution given by the matlab message is to try to reduce the size of the step. I do not know how and where?
to reduce the size of the fixed step size, or the error tolerances, what parameters must we access? thank you. cordially.

채택된 답변

Walter Roberson
Walter Roberson 2018년 6월 4일
Usually reducing the step size ends up not resolving the problem, which is typically due to there being a singularity in the ODEs that are needed to resolve the connections between the components.
Sometimes what you need to do is switch to a "stiff" solver (or away from one)
  댓글 수: 1
said belhadj
said belhadj 2018년 6월 5일
Hello MR. ROBERSON. Thank you for your reply and help. Cordialy. S. BELHADJ.

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

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