Notices
ECU Flash

Another simple way to log mileage

Thread Tools
 
Search this Thread
 
Old Feb 18, 2009 | 10:50 AM
  #1  
recompile's Avatar
Thread Starter
Evolved Member
iTrader: (38)
 
Joined: Nov 2006
Posts: 1,745
Likes: 10
From: New Hampshire, USA
Another simple way to log mileage

I'm testing out a formula for logging gas mileage. I know there are many methods of doing this already, but this happened to be the easiest for me, as I was already logging lbs/min. Any input is appreciated.

Source formula: MPG = Density of Gasoline (g/lb) * Air:Fuel Ratio * Vehicle Speed / AirFlow (g/sec)

Density of Gasoline in g/lb = 28.01
Conversion for lb/min to g/sec = * 272.16

MPG = (28.01*[AFRatio]*[Speed])/([LbsMin]*272.16)

Code:
        <DataListItem DataLog="N" Color="" Display="Gas Mileage" LogReference="mpg" RequestID="CALC" Eval="(28.01*[AFRatio]*[Speed])/([LbsMin]*272.16)" Unit="mpg" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="10000" ChartMin="0" ChartMax="10000" ScalingFactor="1" Notes="" Priority="1" Visible="False" />
It's also worth noting that I am not using an actual Airflow MUT request, I'm evaluating lb/min based on Load:

lb/min = ([1ByteLoad]/95*[RPM])/454

Code:
        <DataListItem DataLog="Y" Color="" Display="Lbs/min" LogReference="LbsMin" RequestID="00" Eval="([1ByteLoad]/95*[RPM])/454" Unit="lbs" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="65" ChartMin="0" ChartMax="65" ScalingFactor="1" Notes=""/>

Last edited by recompile; Feb 18, 2009 at 10:53 AM.
Reply
Old Feb 18, 2009 | 11:01 AM
  #2  
Kracka's Avatar
Evolved Member
iTrader: (49)
 
Joined: Apr 2007
Posts: 8,970
Likes: 17
From: Prosper, TX
Great idea; I should add to this my EvoScan just for ***** n giggles
Reply
Old Feb 18, 2009 | 11:34 AM
  #3  
inco9nito99's Avatar
Evolved Member
iTrader: (90)
 
Joined: Jul 2005
Posts: 1,917
Likes: 0
From: Roselle, IL
Shameless is BACK! :P.
Reply
Old Feb 18, 2009 | 08:15 PM
  #4  
recompile's Avatar
Thread Starter
Evolved Member
iTrader: (38)
 
Joined: Nov 2006
Posts: 1,745
Likes: 10
From: New Hampshire, USA
:: hug ::
Reply




All times are GMT -7. The time now is 05:51 PM.