MATLAB Answers

How to use the generic engine in simscape??

13 views (last 30 days)
Nithin k
Nithin k on 9 Nov 2019
Commented: Nithin k on 11 Nov 2019
I am building a vehicle model for a motorcycle, i followed all the tutorials of physical vehicle modeling. The model works perfectly fine when its connected with the ideal angular velocity source. Its moving with the speed as i require at every gear. But as soon as i connect the generic engine, it stops working. I have used the torque-speed values of the vehicle that i am working on. I have entered all the values that are required like idle speed, red line speed etc. But none of them are working. I know my vehicle model is proper, but how should i make the engine work properly??
I need the vehicle to run at 50kmph at 9600 rpm in 1st gear
75kmph at 2nd. Please help me!!!! i have been struggling to make this work from really long time. Any hints, any solutions would be helpfull. Thank you.
I have attached both models. Vehicle with ideal source.
and vehicle when connected to engine.

  0 Comments

Sign in to comment.

Accepted Answer

Christoph Hahn
Christoph Hahn on 11 Nov 2019
Please provide the mat-file that contains:
tire_b, tire_c, tire_d, tire_e, tire_dia etc.
Otherwise it'll be hard to reproduce what you are seeing.

  1 Comment

Nithin k
Nithin k on 11 Nov 2019
hey christoph, sorry, I forgot to attach the vehicle data file. Here is the file.

Sign in to comment.

More Answers (1)

Christoph Hahn
Christoph Hahn on 11 Nov 2019
Hi Nitin,
I suggest you start from the model "carControlSoln.slx" (also attached for convenience) model from the physical modeling tutorial. The control loop there allows you to do speed and gearshift control.
Hope that helps you.
Best, Christoph

  1 Comment

Nithin k
Nithin k on 11 Nov 2019
Sure, will try this and let you know the results. Thank you

Sign in to comment.

Sign in to answer this question.