MATLAB Answers

Simscape Generic Engine Not Working

38 views (last 30 days)
There is an issue in my model. I am trying to use the generic engine to power my vehicle system but it always ended up giving me zero torque regardless the changes I did in the parameters. I followed the simscape tutorial ,Student Competition: Physical Modeling Training. I still cannot make the engine work.
Attached hereby my files. And hopefully will hear from you soon.
Best regards
Wei Kang


Tatyana Serditova
Tatyana Serditova on 14 Apr 2019
I have the similar problem!! I already specify initial veocity and engine inertia, but all output ports provide zero signal. How can I download your simulink model ("EngineProblem.slx")?
Adhip Shukla
Adhip Shukla on 13 Oct 2019
Hi Tatyana
I am also facing the same problrm. Did you get the solution to your above problem ? please help me out if you get its solution.

Sign in to comment.

Accepted Answer

Veer Alakshendra
Veer Alakshendra on 13 Mar 2019
Edited: Veer Alakshendra on 13 Mar 2019
Hi Wei,
Thanks for reaching out and sharing the models with us.
We just checked your model. While using 'Generic Engine Block', it's important to define the 'Engine inertia' and 'Initial velocity' as these parameters account for the dynamics of the engine. Please specify these values, and you will get the required torque.


Show 3 older comments
Veer Alakshendra
Veer Alakshendra on 17 Oct 2019
Hi Adhip,
Can you provide us some more details. Have you changed the Vehicle Body block parameters or you have assumed the same as given in the Student Competition video?
Adhip Shukla
Adhip Shukla on 17 Oct 2019
Thanks for replying Sir,
I have changed all the block parameters according to the vehicle Ford Ikon. I have used a 5 speed transmission here. In vehicle body block I have changed the parameters which I know and let all other at default values. For any more detail kindly go through my model. I have used the ideal torque source and I am getting results in that but with generic engine problem is coming.
Veer Alakshendra
Veer Alakshendra on 31 Oct 2019
Hello Adhip,
As you said, with the torque source your model works fine. It means the drivline and the vehicle dynamics is correct. Further, when you add the engine it doesn't work. Please note that when you add the engine you need to do a bit of tuning of engine parameters, throttle input, and gear ratio to ensure that the angular velocity doesn't exceed the maximum speed. In tried my hand and here are the tuned values of some of the parameters:
  • Throttle value initial input=0.05
  • Simple gear ratio=5
Once you input these values, you can see the results are perfect. I have attached the modified model.
Let me know if this is helpful.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by