Motor

Parameters
This file is quite easy to understand and allow you to build custome engine (from a dyno file for example).

There are 3 parameters:


 * id of your bike (it should match the one you have in your config file)


 * engine torque map (used when accelerating, for best performance use a dynosheet of a real engine)


 * engine brake map (used for decelleration, it is important to set the brake map correctly, otherwise you get a locking rear wheel at downshift regardless of the slipper clutch.)

The format for the 2 maps is the following :


 * numpoints : number of points in the map (you can define as much points as you want, the more the better and smoother the power band)


 * each point has RPS (round per second) in the left and torque in NM in the right. You don´t need more then two decimal places.

Conversion :
''If you want to quickly build a map, the best way to do it is to use an excel sheet. Here are some formula to help :''

To convert from RPS to RPM

> RPM = RPS * 60

To convert from ft.lbs to NM

> NM = ft.lbs * 1.35582

To retrieve the power from torque and RPM

> Power (kW) = NM * RPM * 2 * PI  / 60000

> Power (PS or HP or Cv) = Power (kW) / 0.73549875

> Power (BHP - British unit) = Power (kW) / 0.74569987

(where NM is the torque in NM)

Example file (example for the ZX6R map)
id = Aprilia RS torque { numpoints = 18 point0 = 1.88, 3.6502850326 point1 = 33.75,40.6746 point2 = 66.25,44.74206 point3 = 78.33,50.16534 point4 = 118.33,56.26653 point5 = 133.33,62.36772 point6 = 135,61.68981 point7 = 136.67,63.72354 point8 = 153.33,64.40145 point9 = 163.33,65.07936 point10 = 180,69.82473 point11 = 186.67,69.82473 point12 = 198.33,68.197746 point13 = 208.33,67.384254 point14 = 223.33,63.72354 point15 = 246.67,56.94444 point16 = 300,32.38624 point17 = 333,20.1164 } brake {   numpoints = 8 point0 = 1.250000, -1.615385 point1 = 32.777779, -3.361966 point2 = 67.222229, -5.263809 point3 = 100.000000, -7.325155 point4 = 132.777771, -10.306749 point5 = 151.666672, -17.269939 point6 = 235.333328, -22.791409 point7 = 331.944427, -27.392632 }