How do I use a generic engine block successfully within my vehicle simscape model?
Show older comments
I have been using the Mathworks "Formula Student: Physical Modeling Training" tutorial videos to create an accurate vehicle simscape model. Part 4 discusses how to model powertrain and I have been having an issue with this.
I am using a torque curve data from an engine dyno to input in to the generic engine block. However the power output drops to zero when a gear change is implemented in the simulation. The torque also seems to feedback data that I would not expect. I am using a three gear subsystem set up as shown:


Running the simulation gives a high initial value of Power which exponentially decreases to zero. If I change the initial rpm of the engine then I achieve a power graph which is more representable, both of which can be seen below:


This graph shows for a run in a constant gear. If I change gear the power rises initially and then drops back to zero gradually. I am new to Simscape and I am not sure if I have run with an incorrect parameter or need to model this differently. Any help or suggestions would be great.

Thanks, Ryan
Accepted Answer
More Answers (2)
Christoph Hahn
on 14 Feb 2017
0 votes
Hi Ryan,
can you please attach the model (or a simplified one). I would like to try and see whether I experience sth similar.
Cheers Christoph
1 Comment
Ryan Dimmock
on 14 Feb 2017
Christoph Hahn
on 17 Feb 2017
0 votes
Hi Ryan,
I had a look at the model you sent in the mail. Here a few comments:
- The description of the vehicle body says: “Connection H is the mechanical translational conserving port associated with the horizontal motion of the vehicle body. The resulting traction motion developed by tires should be connected to this port.” I attached a screenshot how it could look like. Find the models on FileExchange.

- Make sure you use natural numbers for gears.

Cheers Christoph
Categories
Find more on Engines & Motors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!