Nonlinear solver fail to converge due to Linear Algebra error. Failed to solve using iteration matrix

3 views (last 30 days)
Hello, I am trying to build an electric vehicle model. This includes a drive cycle, Longitudional driver, PWM control blocks, DC motor, transmission and a vehicle body. The solver configuration fails to work no matter what, I have tried several combinations, also removed some blocks to check if the error goes away.
  2 Comments
John D'Errico
John D'Errico on 14 Feb 2023
Ok. So apparently you are doing something wrong. Can we know what? The crystal ball is sooooo foggy these days. It just refuses to let anyone see inside your computer.
I can try reading some tea leaves, if you think it might work.
Srikanth
Srikanth on 14 Feb 2023
Hi, well what can I say. I am doing something wrong. I wish I knew what it was, then I would not ask for help. Tea leaves is a great idea, if you can see whats wrong with that then do let me know.

Sign in to comment.

Answers (1)

Sabin
Sabin on 11 Aug 2025
Without a model we cannot point to any root cause because there are many aspects that can cause this. Can be for example a modeling issue, model parameterization, or a combination of the two.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!