I have a car that whenever I drive it, everything is fine, I can fill up the fuel tank and everything works as expected. Every single AI that loads with it has a completely empty fuel tank, and as a result, they pit every lap without fault, and then go back out, again with an empty fuel tank. The only fix is to turn fuel usage completely off, but I would rather fix the issue. My car.ini has the following: [FUEL] CONSUMPTION=0.0080078 ; fuel consumption. In one second the consumption is (rpm*gas*CONSUMPTION)/1000 litres FUEL=71 ; default starting fuel in litres MAX_FUEL=71 ; max fuel in litres There is nothing that seems to effect fuel usage in ai.ini, this is literally the only thing that I can see. Does anyone have an idea? It's not the track either, I tested it on a Kunos track and other cars work fine. I'm out of ideas here.
Wow I had no idea that was a thing, any clue on how to calculate the proper value for it? Or just trial and error?
that formula, seems not clear at all: rpm*gas*CONSUMPTION)/1000 litres example rpm=10000 CONSUMPTION=0.0080078 wthat is gas parameter? 1=100% 0.5=50% and so on ? or what I found the value of gas? again if I use this formula the CONSUMPTION parameter I must delete? [FUEL_EVAL] KM_PER_LITER=1.405007 Thanks Giovanni
in the file "car.ini" add extended like this: [HEADER] VERSION = extended-2 and in the "engine.ini" file add these: RESPONSE_TIME = 0.03 ;response delay in seconds MECHANICAL_EFFICIENCY = 0.85 ; % / 100 - should match "transmission losses" multiplier IDLE_THROTTLE = 0.04 ; % / 100 - how much throttle is used to reach idle IDLE_CUTOFF = 1800 ; revs at which the throttle ceases to idle [FUEL_CONSUMPTION] THERMAL_EFFICIENCY_LUT = ; torque_ratio | thermal efficiency of the motor THERMAL_EFFICIENCY = 0.35 ; lowest value = increased consumption FUEL_LHV = 43 ; lower calorific value of fuel - MJ / kg TURBO_EFFICIENCY = 0.8 ; optional: how efficient the turbo is at generating power from more fuel LOG_FUEL_FLOW = 0 ; if 1, the current flow rate will be recorded in custom_shaders_patch.log naturalmente devi usare ContentManager e CSP
Thanks Denis370. Something are clear some not: [HEADER] VERSION = extended-2 Clear If I Use in engine.ini file example redd mark value [FUEL_CONSUMPTION] THERMAL_EFFICIENCY_LUT = 1 ; torque_ratio | thermal efficiency of the motor THERMAL_EFFICIENCY = 0.35 ; lowest value = increased consumption FUEL_LHV = 43 ; lower calorific value of fuel - MJ / kg 44...46 seems correct TURBO_EFFICIENCY = 0.8 ; 0.8 =80% optional: how efficient the turbo is at generating power from more fuel LOG_FUEL_FLOW = 0 ; if 1, the current flow rate will be recorded in custom_shaders_patch.log If I use in cars.ini the parameters under [FUEL_CONSUMPTION] the overall consumption of car will depend on the values indicated OK ? If a driver not use (or not has) Custom shader patch his cars has not any consumption ? If I use parameter under [FUEL_CONSUMPTION] the CONSUMPTION=X.XXXX parameter I must be delete? If I use parameter under [FUEL_CONSUMPTION] the pts 5 and 6 below must be delete [FUEL_EVAL] KM_PER_LITER=1.405007 Thank you for your contribution and for your patience Giovanni
1. yes, I would say that after the consumption values of the car depend on those scripts. 2. now everyone uses ContentManager and CSP with AC, so I think it's not a problem, those who don't use CM will probably have the standard kunos consumption (I think). 3. You don't have to delete any of the old consumer scripts, you can leave them, I left them and just added the new ones. 4. you don't have to delete anything, I haven't deleted anything.
THERMAL_EFFICIENCY = 0.35 is the value that determines the amount of consumption, 0.35 is the default value and usually goes very close to the optimal consumption of the car. Nevertheless, you can play with this value to find the right consumption or that you want. If you lower the value, for example THERMAL_EFFICIENCY = 0.30, the consumption increases. I usually do it like this to test consumption: I take a car of approximately the same weight and power, I do 5/10 laps with constant driving on a track and I note the consumption. Then I do the same thing with the car where I integrated the scripts for consumption, at the end of the session I see if I have to slightly adjust the THERMAL_EFFICIENCY = 0.35 value or if I leave it as default.
Hi Denis, the comsumption seems = 0.00, no CONSUMPTION nothing Suggest ? Thanks Giovanni I used in engine.ini [FUEL_CONSUMPTION] THERMAL_EFFICIENCY_LUT = 1 ; torque_ratio thermal efficiency of the motor THERMAL_EFFICIENCY = 0.35 ; lowest value = increased consumption FUEL_LHV = 43 ; lower calorific value of fuel - MJ / kg 44...46 seems correct TURBO_EFFICIENCY = 0.8 ; 0.8 =80% optional: how efficient the turbo is at generating power from more fuel LOG_FUEL_FLOW = 1 ;0 if 1, the current flow rate will be recorded in custom_shaders_patch.log and in the file "car.ini" add extended like this: [HEADER] VERSION = extended-2
you have to leave the LUT value empty as I had put it in example .. try to leave the LUT value blank, and the calculation will be done anyway, also because if you put incorrect LUTs, when or if you compare the data.acd folder it will give you problems. [FUEL_CONSUMPTION] THERMAL_EFFICIENCY_LUT =
Thanks I Will try LUT blank I use now fo esperimenti data folder but I have not error on data folder many thanks Giovanni
I found that the FUEL_EVAL field can be filled using the "AI" app, there's a "save cons" button in there, I just let the AI go for a couple laps, hit that button, and then pack the data of the car and the fuel eval is good enough. As for the CONSUMPTION field, I came up with a generic formula to guesstimate what it should be, it's nowhere near perfect, but according to Kunos values, it gets close enough *most of the time* (<square root of engine size in cc>"*(<square root of car weight in kg>/1000000))*3 Some tweaking is probably required, like I said, not perfect.
Hello.. the CONSUMPTION field do you mean the default in the car.ini file in the [FUEL] section? while the FUEL_EVAL field where do you mean?
ok I understand, but I don't think that the improved consumption with CSP takes into account the CONSUMPTION and FUEL_EVAL values, you should do some tests and understand if you take them into account or not
Wait, CSP messes with fuel consumption? I was not aware of that! Is there a way to toggle it on/off? I'd like to test the difference!
once consumption has been activated with CSP, the [FUEL_EVAL] value will no longer have any influence on consumption, I did the tests today. Consumption will be calculated differently and more precisely by CSP