Skip to content

Instantly share code, notes, and snippets.

@phpmypython
Last active July 22, 2022 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpmypython/16b3f3546795e14631ef459dd8995557 to your computer and use it in GitHub Desktop.
Save phpmypython/16b3f3546795e14631ef459dd8995557 to your computer and use it in GitHub Desktop.

To gather this data I used the Ego_ERP_Archiver program and analyzed the XML configuration file for the multiplayer car.

The full XML files for 2021 and 2022 can be found at the following links

For ERS deployment, currently the way it works is that you'll deploy a percentage of the power of the ERS which is 120KW, depending on what ERS mode you're in. The breakdown is as follows:

  • Medium uses 15% (18KW)
  • Hotlap uses 60% (72KW)
  • Overtake uses 100%

What this looks like in the XML is:

<Mode name="0">
      <Name value="None" />
      <FirstGearModifier value="0.0" />
      <SecondGearModifier value="0.0" />
      <ThirdGearModifier value="0.0" />
      <FourthGearModifier value="0.0" />
      <FifthGearModifier value="0.0" />
      <SixthGearModifier value="0.0" />
      <SeventhGearModifier value="0.0" />
      <EighthGearModifier value="0.0" />
    </Mode>
    <Mode name="1">
      <Name value="Medium" />
      <FirstGearModifier value="0.0" />
      <SecondGearModifier value="0.15" />
      <ThirdGearModifier value="0.15" />
      <FourthGearModifier value="0.15" />
      <FifthGearModifier value="0.15" />
      <SixthGearModifier value="0.15" />
      <SeventhGearModifier value="0.15" />
      <EighthGearModifier value="0.15" />
    </Mode>
    <Mode name="2">
      <Name value="Overtake" />
      <FirstGearModifier value="0.0" />
      <SecondGearModifier value="1" />
      <ThirdGearModifier value="1" />
      <FourthGearModifier value="1" />
      <FifthGearModifier value="1" />
      <SixthGearModifier value="1" />
      <SeventhGearModifier value="1" />
      <EighthGearModifier value="1" />
    </Mode>
    <Mode name="3">
      <Name value="Hotlap" />
      <FirstGearModifier value="0" />
      <SecondGearModifier value="0.6" />
      <ThirdGearModifier value="0.6" />
      <FourthGearModifier value="0.6" />
      <FifthGearModifier value="0.6" />
      <SixthGearModifier value="0.6" />
      <SeventhGearModifier value="0.6" />
      <EighthGearModifier value="0.6" />
    </Mode>

The game then checks how fast you're going, and will deploy a percentage of your selected mode's percentage. They define this in the XML file using a weird scale that looks like this:

<SpeedDeploySpline numVertices="7">
    <SplineElement x="0" y="0" op="=" />
    <SplineElement x="33.3" y="0" op="=" />
    <SplineElement x="45" y="1" op="=" />
    <SplineElement x="75" y="1" op="=" />
    <SplineElement x="85" y="0.9" op="=" />
    <SplineElement x="95" y="0.6" op="=" />
    <SplineElement x="110" y="0" op="=" />
</SpeedDeploySpline>

Assuming Overtake mode, those numbers roughly translate to:

  • 0 MPH = 0 KW
  • 75 MPH = 0 KW
  • 100 MPH = 120 KW
  • 168 MPH = 120 KW
  • 190 MPH = 108 KW
  • 212 MPH = 72 KW
  • 246 MPH = 0 KW

What this means is that you aren't getting the full power from ERS unless you're over 100MPH and not exceeding roughly 170MPH.

When it comes to Medium deployment (which is what is active during a race) you would reduce the KW delivered to 15% of the value shown above since Medium only uses 15% of the energy.

What this means is that how much energy you get from your battery is drastically reduced the faster you're going. The best deployment strategy would be to deploy overtake on corner exits until you get to around 160MPH and then turning it off as opposed to saving it all for big overtakes while DRS is deployed.

In comparing the values in this years multiplayer car to the data in last years car the only differences are:

Medium ERS deploy mode now uses 15% battery instead of the 30% it used in last years game.

The energy harvest efficiency of the MGU-H and the MGU-K have been reduced.

2021 values were:

<EnergyHarvestEfficencyMGUH value="2.3" />
<EnergyHarvestEfficencyMGUK value="0.72" />

2022 values are:

<EnergyHarvestEfficencyMGUH value="2.12" />
<EnergyHarvestEfficencyMGUK value="0.2575" />

What that means is that you will be harvesting much less energy under braking (MGU-K). The energy recovered when letting off the throttle (MGU-H) has also been reduced albeit less so than the MGU-K.

The reason the battery is so shit in this years game I think is a combination of the slower cars staying in the speed range that uses more of the battery and the reduction of the MGU-K efficiency meaning you harvest less under braking than you did before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment