AirJordan wrote:If someone has forgot how to do consumption calculations:
Packbat's info
Thanks, AirJordan!
Copy+pasting from my several posts in that thread on the subject for ready convenience:
- Code:
Estimated Race Fuel Consumption [in kg/hr] =
(Engine Economy @ Max Power RPMs [in g/kWh])
* (Engine Power @ Max Power RPMs [in kW])
* 1 kg/1000 g
* r
"r" is the fudge factor, which varies based on a lot of vehicle design parameters I haven't figured out and based on track. As others have said before, Hockenheimring is probably a high-consumption track; a car which is on the high end relative to my formula would use something like r = 0.75, a median car about 0.64, and a low-fuel car about 0.53.
You can eyeball the numbers from the in-game graphs or read off the exact numbers for engine economy and power from the Results/Curves section of the engine variant .lua file.
For the graph method:
- Convert peak power to kW at 1 hp = 0.7457 kW if necessary. (In this case, 158 hp = 117.8 kW.)
- At peak power RPMs (i.e. the same position on the horizontal axis), estimate the position of the fuel economy line between the gridlines of the economy graph. (In this case, about two-thirds of the way up.)
- Interpolate using the numbers on the left side of the chart. These numbers are always measured in g/kWh, even when the number on the chart is lb/(hph), as here. (In this case: 650-350=300, 2/3*300=200, 350+200=550 g/kWh.)
- Multiply the numbers together to get kilograms. (In this case: 117.8 kW * (550 g/kWh / 1000 g/kg) * 0.75 = 48.6 kg/hr.)
For the engine variant .lua file method, you interpret the data like this:
- Code:
Results={
AdjustedAFR=12.75,
AverageCruiseEcon=453.43594397352001,
BaseEcon=338.99330784286002,
BaseTorque=293.31209796106998,
BaseVE=0.93100000000000005,
CoolingRequired=88.864391049931996,
Curves={
[...]
{
6500, -- <-- this is the engine RPMs
199.28471402951001,
135.65301510020001, -- <-- this is the power in kW
523.85505501344005, -- <-- this is the economy in g/kWh
23.536122865397001,
RPM=6500
} --[[table: 0x0f26e668]],
[...]
PeakPower=135.65301510020001,
PeakPowerRPM=6500, -- <-- this is the RPMs for peak power (i.e. the RPMs to check in the Curves, above)
[...]
Either way, to get fuel tank size, you can either note the first and third numbers in the body dimensions when you first select a body to get a rough estimate, or you can open the Trim .lua file and search for "Footprint" to get the exact figure. The in-game numbers are meters, so just multiply them together and take the product times 10; the numbers in the .lua file are centimeters, so multiply the dimensions, divide by 10000 (m^2/cm^2), and multiply by 10.
Edit: Correcting fuel tank size - thanks, Der Bayer!