Code Monkey home page Code Monkey logo

Comments (11)

mieperDE avatar mieperDE commented on July 26, 2024 1

Ok after a few hours of gameplay:

This solution is good.
#1522a3c

from fs17_fuelusagedisplay.

TyKonKet avatar TyKonKet commented on July 26, 2024

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

from fs17_fuelusagedisplay.

mieperDE avatar mieperDE commented on July 26, 2024

New stuff to discuss incoming
๐Ÿ˜

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

from fs17_fuelusagedisplay.

MasterGee avatar MasterGee commented on July 26, 2024

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 --> 248*0,9 + 40% (original 274g/KWh)

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

from fs17_fuelusagedisplay.

mieperDE avatar mieperDE commented on July 26, 2024

If you need help collecting data, tell me.

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

from fs17_fuelusagedisplay.

TyKonKet avatar TyKonKet commented on July 26, 2024

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?

from fs17_fuelusagedisplay.

TyKonKet avatar TyKonKet commented on July 26, 2024

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.

from fs17_fuelusagedisplay.

mieperDE avatar mieperDE commented on July 26, 2024

factor = RPM_factor * Load_factor

?

edit:

No screw this. Yours is better
๐Ÿ˜‰

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

from fs17_fuelusagedisplay.

TyKonKet avatar TyKonKet commented on July 26, 2024

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

It's a fork of Gearbox

from fs17_fuelusagedisplay.

mieperDE avatar mieperDE commented on July 26, 2024

Yeah.. but why

from fs17_fuelusagedisplay.

TyKonKet avatar TyKonKet commented on July 26, 2024

Translations ๐Ÿ˜„

from fs17_fuelusagedisplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.