Info

This question is closed. Reopen it to edit or answer.

How to Troubleshoot Error in physical modelling like convergence error, linear algebra error and transient initialisation problem

1 view (last 30 days)
I am Trying to do physical modelling of vehicle dynamics with motor and I am getting error while simulating shown below is getting. And photo of my model is
"Initial conditions solve failed to converge. ...Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. ......Equations of one or more components may be dependent or inconsistent. This can cause problems in transient initialization. Here is the set of components involved: 'Complete/Longitudinal System with Motor/Tire FR' Equation locations are: 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/simscape/library/m/+foundation/+mechanical/+mechanisms/wheel_axle.ssc' (line 60) 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/sdl/sdl/+sdl/+tires/+tire_subcomponents/magic_formula_1.sscp' (no line number info)
'Complete/Longitudinal System with Motor/Zero Torque /rce2' Equation location is: 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/simscape/library/m/+foundation/+mechanical/+sources/torque.ssc' (line 35)
Equations of one or more components may be dependent or inconsistent. This can cause problems in transient initialization. Here is the set of components involved: 'Complete/Longitudinal System with Motor/Motor_Gearbox_Right/Planetary Gear' Equation locations are: 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/sdl/sdl/+sdl/+gears/+planetary_subcomponents/sun_planet_model1.sscp' (no line number info) 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/sdl/sdl/+sdl/+gears/+planetary_subcomponents/sun_planet_model1.sscp' (no line number info) 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/sdl/sdl/+sdl/+gears/+planetary_subcomponents/ring_planet_model1.sscp' (no line number info) 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/sdl/sdl/+sdl/+gears/+planetary_subcomponents/ring_planet_model1.sscp' (no line number info)
'Complete/Longitudinal System with Motor/Motor_Gearbox_Right/rce' Equation location is: 'D:/Softwares/Installed Software/Matlab2012b/toolbox/physmod/simscape/library/m/+foundation/+mechanical/+sources/torque.ssc' (line 35)
'Complete/Longitudinal System with Motor/Tire RR' Equation locations are: 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/simscape/library/m/+foundation/+mechanical/+mechanisms/wheel_axle.ssc' (line 60) 'D:/Softwares/InstalledSoftware/Matlab2012b/toolbox/physmod/sdl/sdl/+sdl/+tires/+tire_subcomponents/magic_formula_1.sscp' (no line number info)"
It will be grateful if anyone can tell me how to troubleshoot this and why this type of error appear.*
  1 Comment
Yang Tian
Yang Tian on 18 Jan 2017
For your question, you could set your solver to oed14x with fixed step and reduce the step. if you do that, i believe your problems will be solved well.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!