Best parameters configuration for Vehicular Dynamics

1 visualización (últimos 30 días)
fapb88ve
fapb88ve el 22 de Dic. de 2016
Respondida: Staffduckling Daff el 15 de Ag. de 2020
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,

Respuestas (1)

Staffduckling Daff
Staffduckling Daff el 15 de Ag. de 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 )

Categorías

Más información sobre Diagnostics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by