Author Topic: Alta conversion  (Read 405 times)

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Alta conversion
« on: September 04, 2018, 08:35:12 PM »
Steps to convert the Alta to make use of Beta9 electric engine support.

1) open the file MX2OEM_2018_Alta_Redshift_MXR.cfg

2. go to the "engine" section.
2a. add
Code: [Select]
electric = 1This tells the physics that there is no fuel tank, no idle and no engine stall.
2b. the "stall" section is still used to make sure that engine braking goes down to zero at zero rpm.  Example:
Code: [Select]
stall
{
RPM = 500
torque = 0.1
}
2c. "IdleThrottle", "IdleRPM", "FuelRatio", "shiftRPM" can be removed.
2d. the "Clutch" section must be removed to tell the physics that the engine is direct drive.
2e. the real engine primary ratio, "Ratio0", is actually 19, 67  :P

3. remove the "fueltank" section, and replace it with:
Code: [Select]
batterypack
{
Capacity = 5.8
}

4. remove the "gearbox", "autoclutch" and "shifthelp" sections.

5. go to the "driveline" section.
5a. delete "SecondAxisInertia".

6. "data" in "tyres" is not used anymore.

7. save and close the file.

8. open the file sfx.cfg

9. the "starter" and "gearbox" sections can be removed.

10. save and close the file.

11. all done, but you can also delete the files "engine.wav", "p_mx.cfg", "p_mx_f_midsoft.tyre" and "p_mx_r_midsoft.tyre", because they are unused.
« Last Edit: September 04, 2018, 08:40:50 PM by PiBoSo »

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1038
    • View Profile
Re: Alta conversion
« Reply #1 on: September 04, 2018, 08:43:10 PM »
Great, thanks! I'll do it for the next OEM update.

Two small things:

Code: [Select]
batterypack
{
Capacity = 5.8
}
Is this a random number or what we should use for a standard Alta?

Quote
2d. the engine primary ratio, Ratio0, is actually 19, 67
Ok I admit I found 3.53 and thought 'fuck it 20/70' is good enough :p
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Re: Alta conversion
« Reply #2 on: September 04, 2018, 08:48:25 PM »
Code: [Select]
batterypack
{
Capacity = 5.8
}
Is this a random number or what we should use for a standard Alta?

According to the official Alta data, the real bike uses a 5.8 kWh pack.

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1038
    • View Profile
Re: Alta conversion
« Reply #3 on: September 04, 2018, 09:36:10 PM »
Ok, I tried fast. You could have said it was going to be more complicated than that :p

  • all steps of your guide followed (thanks again). Only things I changed.
  • Bike loads, np. Starts fine in "Neutral", np.
  • Rides wierd as hell: doesn't really want to lean, nose dives like mad in the air if you have zero throttle, and does NOT whip. Like, it barely deviates from full straight.
  • I adjusted the engine braking (lowering it a lot). It fixes the nose dive , but not the whipping issue
My conclusion: there is a flywheel issue linked to the engine. Is there an other parameter that needs to be tuned compared to a ICE? I haven't touched wheel inertia (obviously) nor anything else that I could see...
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord

тғc

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 2782
    • View Profile
    • TFC's YouTube
Re: Alta conversion
« Reply #4 on: September 05, 2018, 10:12:34 AM »
Thanks PiBoSo for taking the time :)
Last Project Alta Redshift MXR

Current Project Hawkstone Replica

Next Project Unknown

Buy Me a Beer

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1038
    • View Profile
Re: Alta conversion
« Reply #5 on: September 05, 2018, 05:41:49 PM »
Figured it out, engine inertia. 0.001 feels like a proper value.
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 971
    • View Profile
Re: Alta conversion
« Reply #6 on: September 05, 2018, 07:17:24 PM »
Figured it out, engine inertia. 0.001 feels like a proper value.

The bike is direct drive, so the engine inertia is added to the rear wheel.
Problem is, it also affects the gyroscopic forces, while it shouldn't.

Lowering the engine inertia is a workaround, but 0.001 is not a proper value.
« Last Edit: September 05, 2018, 07:18:57 PM by PiBoSo »

Asdrael

  • OEM Nerd
  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1038
    • View Profile
Re: Alta conversion
« Reply #7 on: September 05, 2018, 07:37:18 PM »
Thanks for the update. The "full electric" with the 0.001 inertia and modified engine braking doesn't feel too bad actually. A bit toy like, but the behaviour is really fun.

I guess we'll have to wait for a fix to get the proper inertia value in then.
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord