Help with fuel consumption

Forum for general requests for support for players. Both staff members and veteran players can help new players with problems they encounter. No chatting in this forum, please.

Moderators: Public Relations Department, Players Department, Programming Department

User avatar
Spider
Posts: 923
Joined: Thu Dec 04, 2003 8:15 am
Location: Cali

Help with fuel consumption

Postby Spider » 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:

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.
User avatar
Piscator
Administrator Emeritus
Posts: 6843
Joined: Sun Jul 02, 2006 4:06 pm
Location: Known Space

Re: Help with fuel consumption

Postby Piscator » Fri May 06, 2011 11:39 am

I don't know how percentages are rounded, but I'm pretty certain that maxspeed is the maximum speed of the vehicle under the current conditions, or in other words the 90 from your example.

As for the fuel injection system, it doesn't change the fuel min and max values, but it modifies the engine factor, which is basically the same after all is said and done.
Pretty in pink.
ichi
Posts: 129
Joined: Mon Jun 18, 2007 6:25 am

Re: Help with fuel consumption

Postby ichi » Sun May 08, 2011 11:07 pm

I've been trying to figure this thing out because I want to figure out the pixel distance of two towns

Have you considered using a sextant? It tells you the pixel distance between the origin (which can be reset) and your current location.
User avatar
Spider
Posts: 923
Joined: Thu Dec 04, 2003 8:15 am
Location: Cali

Re: Help with fuel consumption

Postby Spider » Mon May 09, 2011 10:25 pm

Yeah, I didn't want to build one but I am getting some big differences, so I might have to do that. Does a sextant tell you in coordinates of x and y axis? Like, two numbers?
User avatar
EchoMan
Posts: 7768
Joined: Fri Aug 26, 2005 1:01 pm
Location: Stockholm, Sweden

Re: Help with fuel consumption

Postby EchoMan » Mon May 09, 2011 11:17 pm

It gives you a x and y (or latitude and longitude) coordinate, the direction and distance to the origin.
User avatar
Meem
Posts: 421
Joined: Sat Jan 20, 2007 6:28 pm
Location: Prince R. Nowhere but Canada

Re: Help with fuel consumption

Postby Meem » Thu Jun 16, 2011 1:58 am

Have a problem with an car engine B saying there's no fuel, when its got more than 500g of petrol in it. Please, look into if you can. :(
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Help with fuel consumption

Postby Doug R. » Thu Jun 16, 2011 12:15 pm

Are there two engines in the car? You may have to disassemble engine A.
Hamsters is nice. ~Kaylee, Firefly
User avatar
Meem
Posts: 421
Joined: Sat Jan 20, 2007 6:28 pm
Location: Prince R. Nowhere but Canada

Re: Help with fuel consumption

Postby Meem » Fri Jun 17, 2011 6:46 am

Doug R. wrote:Are there two engines in the car? You may have to disassemble engine A.


Nope one engine. But it seems it fixed itself. O.o; weird. XD

Return to “General Support”

Who is online

Users browsing this forum: Google [Bot] and 1 guest