필터 지우기
필터 지우기

Error Nonlinear solver to advance time one step

조회 수: 58 (최근 30일)
Kenzo
Kenzo 2013년 12월 3일
댓글: Lalitesh Kumar 2021년 12월 9일
I need help. I was make simulator by using simulink, simhydraulics and simmechanics about robotics. But when run this model any Error Message, like this
Nonlinear solver to advance time one step failed to converge due to Linear Algebra error. Failed to solve using iteration matrix.
...Here is the set of components with unconverged equations: 'comet_virtual2/Leg 2/Foot Hydraulic1/Double-Acting Hydraulic Cylinder2' 'comet_virtual2/Leg 2/Shank Hydraulic1/Double-Acting Hydraulic Cylinder1'
  댓글 수: 1
JAKEER
JAKEER 2016년 3월 31일
Hi, I got the same error message while working with Simscape's custom blocks. Did you solve the problem what you have experienced in 2013 year? If so, please help me how to get out of this error.

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

답변 (2개)

Walter Roberson
Walter Roberson 2013년 12월 3일
Your Double Acting Hydraulic Cylinder calculations have a singularity, or diverge, perhaps produce an infinity, or due to numeric instability (e.g., round-off is making a big difference in the calculation.)
  댓글 수: 1
Kenzo
Kenzo 2013년 12월 9일
Mr. Walter Roberson, thanks for your explantions. Please, could you tell me (more detail), how to solve it ?

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


Seng Tak Goh
Seng Tak Goh 2020년 7월 23일
Hi I had the same problem and I managed to solve mine.
I have a Solve Configuration block in the model.
I was able to run my model initially but I ran into the LA convergence issue when I modified my model.
Once I increased the Nonlinear iterations count the solver managed to complete.
Hope this helps
  댓글 수: 5
kuldeep singh
kuldeep singh 2021년 5월 29일
I am facing the same issue now. I looked for discussions here. I still am facing issues
Lalitesh Kumar
Lalitesh Kumar 2021년 12월 9일
Last year (2020) I have faced same issue (MATLAB 2016) but when I scaled my controller then it started working and results was good. But when I run the same simulink model in MATLAB 2021 then the same problem started. I don't know why ? I do not know what should be the problem of change of MATLAB version. However, still I am getting my results in MATLAB 2016 version.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by