MATLAB Answers

DriveLine Environment Error

2 views (last 30 days)
Hi, I am working in SimDriveline environment. The following error came while I was simulating the model.
Error occurred in 'Vehicle/Driveline Environment'. Derivative input 1 of 'Vehicle/Driveline Environment/Subsystem/Kinematic Block' at time 0.4 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).
Please help me sort out the problem.


Sign in to comment.

Accepted Answer

Guy Rouleau
Guy Rouleau on 7 Jan 2012
There can be many causes for this error.
One example is if there is no mass in your system. Simulink will try to solve "F=ma", but if there is no mass, the acceleration will be infinite.
Other models that are "too ideal" can cause such problem.
Usually, you work around such problem by making your model more realistic, by including damping or masses in your system.
Without the model, it is difficult to diagnose more accurately.

  1 Comment

Abhishek Rai
Abhishek Rai on 7 Jan 2012
Thanks for your response. I diagnosed the problem.
I am facing problem in understanding where I should connect the DriveLine Environment.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by