Simscape Generic Engine Not Working

Hi,
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

2 Comments

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")?
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.

6 Comments

Hello Sir,
Im currently working on Matlab Simscape to develop vehicle powertrain for SAE Baja. I would like to bring in the characteristics of briggs and stratton model 19 engine in to generic engine.But when i enter the Torque vs rpm data into the Parameter data the output that i get is completely irrelevent. I get high power at beggining which exponentially decreases to zero. I tried various iterations but the results are pathetic. I dont know the exact inertia and initial velocity values. Please help us find a solution to run the simulation by means of any mechanical sources available in matlab.
Thank you sir,
Hi Farhan,
Thanks for reaching out.
Let me first answer your question regarding the initial velocity and exact inertia. The initial velocity should be higher than the minimum velocity in your data sheet. For example, if your data sheet has 2000 RPM as the minimum value, the initial velocity will > 2000 RPM. As far as the value of interia, it's generally between 0.5 to 1 for you engine.
Now coming back to your error. I am assuming that you are using the data sheet provided by the manufacturer. The problem with the data sheet is that you don't have enough data points in the data sheet of provided by your manufacturer.Also, that data sheet is only intended for initial gearing and clutch set-up. It would be much better if you have a dyno test data with enough data points. Please note that the "generic engine" block is like a look-up table which outputs the values based on interpolation. So, more the number of data points better the results.
Fortunately, we have recently come up with a video on "Modeling of a Continuously Variable Transmission (CVT) BAJA All-Terrain Vehicle (ATV)" where you can see how we have modeled the ATV using the dyno test engine data. We have provided the models and the dyno test data as well. Here are the links for teh video and the models:
Please watch the video and use our model as a reference model to build your own model.
Thanks,
Veer
Dear Sir,
I am also facing the same problem as mentioned by Wei Kang and I have also specified intertia and intial velocity my model is not showing any warnings and is compilig sucessfully but all results are showing zero torque and velocity. I made my model following the student compitions video and I have paramaterize my engine by using the values of engine used in ford ikon. Kindly check the model attached and solve my problem.
Regads
Adhip Shukla
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?
Thanks,
Veer
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.
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.
Thanks,
Veer

Sign in to comment.

More Answers (1)

Ziad Elsheikh
Ziad Elsheikh on 19 Dec 2020
hi,
i have the same issue with generic engine. also i defined most of the parameter ( leaving the unkown ones default) and just simply connecting it to a ideal torque source to load the engine. however, The output power is always "Zero".
thank in advance if any could help me

Products

Release

R2018a

Community Treasure Hunt

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

Start Hunting!