How to make the vehicle body mass and the horizontal distance from CG to front/rear axle variable?
2 views (last 30 days)
Show older comments
I am a matlab user for simulating the hybrid vehicle. For the hybrid truck mass is variable during the simulation, which causes the horizontal distance from CG to front/rear axle are also variable. So how can I define a variable in the MATLAB/Simulink InitFcn file to simulate the variable vehicle mass?
0 Comments
Answers (1)
Steve Miller
on 3 Aug 2020
Edited: Steve Miller
on 3 Aug 2020
The Vehicle Body block in Simscape Driveline allows you to vary mass, inertia, and CG values during simulation.
If you want to vary the location of the CG during simulation, you can feed the x and y position as inputs to the CG port if Externally-defined additional mass is set to "on".
0 Comments
See Also
Categories
Find more on Simscape Driveline in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!