View Single Post
Old 10-16-2008, 06:39 PM   #17 (permalink)
cfg83
Pokémoderator
 
cfg83's Avatar
 
Join Date: Dec 2007
Location: Southern California
Posts: 5,501

1999 Saturn SW2 - '99 SW2 Wagon
90 day: 42.23 mpg (US)
Thanks: 339
Thanked 418 Times in 286 Posts
lyd -

The "alg"(orithm?) is from post #10 above :

OBD 2007 - Installation Guide
http://www.glmsoftware.com/Documenta...de20080822.pdf - Page 15 of PDF
Quote:
fuel consumption can be calculated, if a vehicle supports Pid 0x0D Vehicle Speed and Pid 0x10 Mass Air Flow. All vehicles support vehicle speed and nearly all vehicles support MAF.

MAF, the mass of air moving into the engine is measured in grams per second. A petrol/gasoline engine burns the air/fuel mixture at the stoichiometric air fuel ratio of 14.64:1. The oxygen sensors in a modern vehicle are designed in conjunction with both the short and long term fuel trims to maintain this ratio. Under ideal conditions for every 14.64 grams of air an engine will consume 1 gram of petrol. We can therefore calculate FuelFlowGramsPersSec = MAF/Air Fuel ratio. We can convert the previous figure to FuelFlowLitresPerSecond by dividing FuelFlowGramsPerSec by the density of petrol/gasoline.

We can then readily convert that figure to FuelFlowLitresPerHour -- i.e. litres/hour. Fuel consumption is then simply SpeedKmsPerHour/FuelFlowLitresPerHours -- i.e. litres/kms.
CarloSW2
__________________

What's your EPA MPG? Go Here and find out!
American Solar Energy Society
  Reply With Quote