Vehicle Body Block - Additional Port?

1 Ansicht (letzte 30 Tage)
Thomas Steffen
Thomas Steffen am 20 Aug. 2014
Kommentiert: Mohit am 24 Mai 2022
Hello
I am working on a vehicle simulation, and I would like to use the existing Vehicle Body block, because it does nearly everything that I need. However, there are additional forces acting on the vehicle, so I would need a mechanical (translational) port. Is that possible? As far as I understand, the Vehicle Body is a compiled block, so it is not usually possible to edit it.
Is there any other option short of reimplementing this block?
Regards, Thomas

Antworten (1)

Martin
Martin am 7 Aug. 2017
Adding additional forces and effects can be done either in the code of a component or in the model. Depending on what forces you would like to add, I would consider computing them in the model and adding them with a force source to the Vehicle Body block's H port. This is a translational port linked to the horizontal motion of the vehicle. The NF and NR output ports send physical signal normal forces. If you would like to add additional forces, consider adding them using some of the physical signal math blocks available in the Simscape Foundation Library.
  1 Kommentar
Mohit
Mohit am 24 Mai 2022
Dear Martin, I would like to know how much force there will be at port H if I connect a force sensor, and in which direction the force will be sent.
Thanks

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simscape Driveline finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by