Physics Information on ctrl_ers.ini asked.

Hi guys,

As I'm busy "fiddling with physics" that have always atrackted me and turned out to be a hobby: I'm now on a modern day F1 car and altering the ers.
It looks not all that hard, but some entry's in the "ctrl_ersx.ini" I just don't understand.
This is one of the files I'm working with:

[HEADER]
NAME=LOW

[CONTROLLER_0]
COMBINATOR=ADD
INPUT=GAS
LUT=ers2_gas.lut
FILTER=0.96
UP_LIMIT=1
DOWN_LIMIT=-1

[CONTROLLER_1]
COMBINATOR=ADD
INPUT=BRAKE
LUT=ers2_brake.lut
FILTER=0.96
UP_LIMIT=1
DOWN_LIMIT=-1

[CONTROLLER_2]
COMBINATOR=MULT
INPUT=SPEED_KMH
LUT=ers2_speed.lut
FILTER=0.96
UP_LIMIT=1
DOWN_LIMIT=-1

[CONTROLLER_3]
COMBINATOR=MULT
INPUT=GEAR
LUT=ers2_gear.lut
FILTER=0.96
UP_LIMIT=1
DOWN_LIMIT=0

Now I see they are pointing towards the lut files and those can be adjusted.
But the "Combinator" says two different things: "ADD" or "MULT".
So I presume adding or multiplying.

But: what does it add?
The "gas" lut is divided in 10 steps for instance and lets say for gas half open, there is the value of (also) 0.5
The kers.ini has the torque values in there and lets say it is on 8000 rpm and the T value is 200
Does it add 0.5 x 200 = 100 Nm then?
On top of the normal power of the car?

But then the multiplier: what does it exactly multiply?
If the value in the lut for that instance says 0.5, does it half the torque or the gas or........?
And if so: what has the first "way of right" or priority?
Because there are 4 things to do so: if they are all 0.5, the end value is pretty low. I know the brake isn't doing anything though.

Is there someone with more knowledge (that shouldn't be hard ;) ) who will inform me a bit on this one? That would be much appreciated!
 

Latest News

What would be the ideal raceday for you to join our Club Races?

  • Monday

    Votes: 50 12.3%
  • Tuesday

    Votes: 42 10.3%
  • Wednesday

    Votes: 48 11.8%
  • Thursday

    Votes: 46 11.3%
  • Friday

    Votes: 141 34.6%
  • Saturday

    Votes: 240 59.0%
  • Sunday

    Votes: 175 43.0%
Back
Top