Help with fuel consumption
Posted: Fri May 06, 2011 10:39 am
I've been trying to figure this thing out because I want to figure out the pixel distance of two towns and I am getting lost and things are getting confusing. So basically, I have some information now and basically I am just going to put how I think everything works on here and hopefully someone can help along with possible errors.
To calculate fuel usage you use this:
You need speed and the only speed formula I know is this one:
I am assuming the calculated vehicle speed is the current speed and the maxspeed is however fast the vehicle can go on that road (a chart for each car can be found in wiki).
I suppose this is one way of looking at it but another is max of your current potential...meaning, if you are loaded down so you can only go say 90 on a paved road vs 115 if just you and the engine, THAT 90 is your max speed and then the percentage of that you decide to go is your current, in which case likely all people in cantr current/max is always 1.
Help here would be a good start.
Another thing, I couldn't figure out all the weight in the vehicle but I did notice that I could change it by 1 percent. So here is where I need more help...I could switch it between 64% and 65% and incrementally did so until I found the threshold for the 65%, so I am wondering, assuming the max capacity is 100000 grams, what causes the change from 64 to 65%...I mean, is everything in the car now totaling to 65000 or is it more like 64500? This only helps in figuring out vehicle speed when you don't know actual weight.
Back to first equation, it explains vehicle min and max are specific fuel consumptions for every vehicle, I am wondering if you are using a fuel injection system, do you halve theses values?
If not here, there is another part you can, the specific engine, so I am guessing if you don't halve in those places, does that mean you halve here? Do you halve more than once?
Final question, this is more about percentages, I was trying to figure out pixel by percent traveled but then remembered the whole just because its 100% does mean it is over. So, for percentages in general and to use an example, if it says 99%, does that mean it can be anywhere from 98.5-99.5?
Good night.
To calculate fuel usage you use this:
Code: Select all
fuelusage = engine * (vehicle_minimum + ((vehicle_maximum - vehicle_minimum) * (current_speed/maxspeed)**6)) You need speed and the only speed formula I know is this one:
Code: Select all
Vehicle speed = (base speed)*(road factor) - (load / weight effect)I am assuming the calculated vehicle speed is the current speed and the maxspeed is however fast the vehicle can go on that road (a chart for each car can be found in wiki).
I suppose this is one way of looking at it but another is max of your current potential...meaning, if you are loaded down so you can only go say 90 on a paved road vs 115 if just you and the engine, THAT 90 is your max speed and then the percentage of that you decide to go is your current, in which case likely all people in cantr current/max is always 1.
Help here would be a good start.
Another thing, I couldn't figure out all the weight in the vehicle but I did notice that I could change it by 1 percent. So here is where I need more help...I could switch it between 64% and 65% and incrementally did so until I found the threshold for the 65%, so I am wondering, assuming the max capacity is 100000 grams, what causes the change from 64 to 65%...I mean, is everything in the car now totaling to 65000 or is it more like 64500? This only helps in figuring out vehicle speed when you don't know actual weight.
Back to first equation, it explains vehicle min and max are specific fuel consumptions for every vehicle, I am wondering if you are using a fuel injection system, do you halve theses values?
If not here, there is another part you can, the specific engine, so I am guessing if you don't halve in those places, does that mean you halve here? Do you halve more than once?
Final question, this is more about percentages, I was trying to figure out pixel by percent traveled but then remembered the whole just because its 100% does mean it is over. So, for percentages in general and to use an example, if it says 99%, does that mean it can be anywhere from 98.5-99.5?
Good night.