Best parameters configuration for Vehicular Dynamics

1 vue (au cours des 30 derniers jours)
fapb88ve
fapb88ve le 22 Déc 2016
Hello,
Im having a go at simulating vehicle dynamics for a project in Simulink, using the nonlinear dif. eq. attached in the image. I'm having problems because it is yielding an error message that the simulation is getting a NaN or Inf during the simulation.
Now, the paper that I got this from used a Rung Kutta of the 4th order algorithm with a time step of 0.001; I tried using this step size in a non variable step solver but it didnt work. I also used the variable step solvers and didnt work.
Any suggestion as to what I could use in the parameters for the solvers?
Thank you,

Réponses (1)

Staffduckling Daff
Staffduckling Daff le 15 Août 2020
Hey! I’m a newbie with Simulink. Where you able to solve this? First try to understand what singularity is? It is the break down of the computation process at somewhere due to the numerical conditions. For instance if there is a division by 0 or may be trigonometric infinity solutions. Here 'NaN' is the breakpoint. I’m going through following steps: 1. Use the Simulink debugger (in a model window, Simulation > debug > debug model) to identify where is the breakpoint (Inf or NaN) originates. ( Details are here: http://www.mathworks.com/help/simulink/ug/starting-the-simulink-debugger.html )

Catégories

En savoir plus sur Diagnostics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by