Best parameters configuration for Vehicular Dynamics

조회 수: 1 (최근 30일)
fapb88ve
fapb88ve 2016년 12월 22일
답변: Staffduckling Daff 2020년 8월 15일
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,

답변 (1개)

Staffduckling Daff
Staffduckling Daff 2020년 8월 15일
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 )

카테고리

Help CenterFile Exchange에서 Diagnostics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by