TyKonKet / FS17_FuelUsageDisplay

Makes the fuel usage of motorized vehicles more realistic and displays the live fuel consumption.
http://tykonket.github.io/FS17_FuelUsageDisplay/
GNU General Public License v3.0
6 stars 7 forks source link

Why is the consumption calculated only by the RPM? #24

Closed mieperDE closed 7 years ago

mieperDE commented 7 years ago

https://github.com/TyKonKet/FS17_FuelUsageDisplay/blob/master/src/specializations/betterFuelUsage.lua#L158

TyKonKet commented 7 years ago

Because in real life the consumption depends from hom many fuel is injected into the motor and the amount of fuel injected in the motor depends from the speed of the motor (aka RPM). The gearbox emulates a real behaviour of rpm so if the gearbox is active I use RPM to calculate the fuel consumption. This also prevents (and in most cases is the only solution) problems like #20 #19 #13 #15 #17

mieperDE commented 7 years ago

New stuff to discuss incoming 😁

Edit: There is a problem. Full Throttle in a fully opened clutch cause 100% fuel consumption.

MasterGee commented 7 years ago

Hi there,

the best way i.m.h.o is a table about all vehicles with the specific fuel consumption. For example the Fendt 939 Vario S4 has by 100% Rated Speed and 80% Load a specific fuel consumption from 248g/kwh.

Formula: (CONSUMPTION (Density of the fuel in g/cm³)) 1000 / (KW of the VEHICLE) = SPECIFIC-FUEL-CONSUMPTION

(CONSUMPTION 0,85g/cm³) 1000 / 287KW = 248g/KWh = 83,74liter


100% Rated Speed and 80% Load = 248g/KWh 90% RS and 80% Load = ca. 223 --> 248 0,9 90% RS and 40 % Load = ca. 315 --> 2480,9 + 40% (original 274g/KWh)

Instead of a table maybe a standard value of 230-250g/KWh is nearly on the most vehicles.

mieperDE commented 7 years ago

If you need help collecting data, tell me.

http://www.dlg-test.de/tests/Fendt-939-Vario-S4_de_neu.pdf

TyKonKet commented 7 years ago

Currently the maximum fuel consumption is 250g/KWh with an extra 0%-25% based on motor running hours, so it's not too much wrong. We should also consider that in FS the entire economy is boosted then if we want to balance a bit fuel costs we must at least double it. What do you think guys?

TyKonKet commented 7 years ago

About the gearbox I was thinking about something like this: RPM (0-1) + Load (0-1) / 2 Maybe this is the best solution, but only if the gearbox is active because by default the motor RPM are totally wrong and I can't use them for calculations.

mieperDE commented 7 years ago

factor = RPM_factor * Load_factor

?

edit:

No screw this. Yours is better 😉

Whats with https://github.com/TyKonKet/GearboxAddon ?

TyKonKet commented 7 years ago

Whats with https://github.com/TyKonKet/GearboxAddon ?

It's a fork of Gearbox

mieperDE commented 7 years ago

Yeah.. but why

TyKonKet commented 7 years ago

Translations 😄

mieperDE commented 7 years ago

Ok after a few hours of gameplay:

This solution is good.

https://github.com/TyKonKet/FS17_FuelUsageDisplay/commit/1522a3c38cf91d861b300fef3789aa6c566520e1