Negative velocity curve from vehicle body block

1 visualizzazione (ultimi 30 giorni)
Vinay Gurram
Vinay Gurram il 9 Lug 2021
Risposto: Martin il 14 Lug 2021
I am trying to simulate a vehicle model using vehicle body block. I created the vehicle subsystem using some MathWorks references by connecting motor rotational output to tires(magic formula) and tires to vehicle body to get the velocity output. But when I try to simulate model my velocity is going in -Y axis. I tried changing the solver parameters but didn’t work. All of sudden, when I deleted the entire vehicle body sub system and recreated it l, I am getting the required output. What is the issue here ? Thanks in Advance!

Risposte (1)

Martin
Martin il 14 Lug 2021
Hi Vinay,
It is difficult to say what happened, but it looks like recreating the subsystem worked. It may be possible that something was inadvertently wired backwards.

Categorie

Scopri di più su Simscape Driveline 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!

Translated by