Hello Xavier,


the fuel consumption is calculated from the power used while driving.


In file simuV4 engine.cpp line 172 you see that it is based on the current torque (in variable cons) and the current rpm (in variable engine->rads).


This results in very different fuel consumption at tracks like Forza or Aalborg if calculated as kg/m.


To get the fuel for the given number of laps at a track the robots do it based on an initial estimation of the fuel consumption at race start and do measurements while racing. So for the next pit stop, they have better estimations. But in a long race at a track like Forza the cars drive slipstreaming as long as possible. This means the measurements of the first car are very different from the measurements of the following car. This results in wrong refueling if the cars cannot slipstream after the pit stop again.


In the car type setup file there is the “fuel cons factor”. Together with the max torque defined for the engine in the “data points” section and the “revs limiter” value we could estimate a factor for the fuel consumption for a car type.


The track is defined by straights and curves. Here we could do a calculation and get a track factor by comparing the different parts of the curves of radius classes. Having more parts with small radius results in using lower gears and a lot of braking/accelerating.


Using the car type estimation and the track estimation together would give a good initial estimation without adding a fixed value to each setup for each car type for each track.


But the simplest way would be to use Aalborg as worst case for the track estimation and do the calculation for the car type once. The result can be stored to the car type setup file.







Von: xavier bertaux [mailto:bertauxx@yahoo.fr]
Gesendet: Donnerstag, 27. Juni 2013 10:19
An: speed-dreams-devel@lists.sourceforge.net
Betreff: Re: [Speed-dreams-devel] SC Cavallo


Hi Wolf-Dieter, Hi Simon,

there is another problem on human, calculating the fuel is far from perfect. Forza for 20 laps it loads 90 L and 75 L on espie over which obviously can not make him lose that second lap.

I thought include a private section in human for include fuel per lap as I had do for USR, but I'm not sure that these solution was very good ... if you have a better idea ...




De : Wolf-Dieter Beelitz <wdb@wdbee.de>
└ : "
speed-dreams-devel@lists.sourceforge.net" <speed-dreams-devel@lists.sourceforge.net>
EnvoyÚ le : Jeudi 27 juin 2013 7h38
Objet : Re: [Speed-dreams-devel] SC Cavallo

Hello Simon,

at brondehach with default setup the simplix needs abaout 1:38.
We will see how much faster it will be when the track setups are done.

One of the target topics for the new setups is to make it able to drive the supercars in rain. One of the key parameters here is the brake balance. As Kristˇf defined 0.6 for the default of the car type and the human driver, this value is for dry tracks only.

For rain the value has to be smaller, resulting in less braking at the front.

This means you have to have a human driver setup for the car driving in rain.



This SF.net email is sponsored by Windows:

Build for Windows Store.

Speed-dreams-devel mailing list