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

6 Ansichten (letzte 30 Tage)
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 Kommentare
John D'Errico
John D'Errico am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sabin
Sabin am 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.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by