Best parameters configuration for Vehicular Dynamics
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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,
Risposte (1)
Staffduckling Daff
il 15 Ago 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 )
0 Commenti
Vedere anche
Categorie
Scopri di più su Diagnostics in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!