Simscape Driveline model will not initialize.
1 view (last 30 days)
Show older comments
I have attached the Simulink and Mat file of my vehicle model which contains the error given below. Any help for resolving it will be appreciated.
- ['Vehicle_DrCycle_Detailed/Solver Configuration']: Nonlinear solver to advance time one step failed to converge due to Linear Algebra error. Failed to solve using iteration matrix.
0 Comments
Answers (1)
Steve Miller
on 20 Dec 2022
In your model, you tried to use one brake model for both the left and right wheels. In doing so, you rigidly connected the left and wheels together so they cannot rotate independently. That creates a problem for the initialization (and it isn't physically correct either).
The model runs fine if you delete the mechanical connection between the left and right wheels on the front and rear axles. I adjusted the model and attached it to this answer (Vehicle_DrCycle_Detailed_v1.slx). I suggest you add in independent brakes for all four wheels.
--Steve
See Also
Categories
Find more on Simscape Driveline in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!