General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

Template:Mpge

From My wiki
Revision as of 06:37, 22 January 2008 by Rjf (talk | contribs) (show dev example notes.)
Jump to navigation Jump to search
Using Test case with statically assigned variables for the moment:
http://www.eaa-phev.org/wiki/Image:Capture0060.png
28 miles on 15.495 kWh is 1.807 mi/kWh or 61 MPGe.
28 miles @ 78.5 mpg is 0.357 gal. of gas,
Equal to 11.995 kWh of electricity, @33.6 kWh/gal
Plus the 3.5 kWh used charged for 15.495 kWh total energy.
miles km mpg gas diesel kWh btu
Pre 28 0 78.5 0 0 3.5 0
Post 28 17.398388 78.5 0.35668789808917 0 3.5 52583.505838641
  • Result mpge = 60.76

Template to convert fuel mileage from various fuels or combinations of fuels into MPGe Miles per Gallon of Gasoline Equivalent.

  • {{mpge|miles=50.00|kWh=10.00}} results in XX mpge
  • {{mpge|km=80.00|kWh=10.00}} results in XX mpge
  • {{mpge|miles=50.00|kWh=10.00|metric=on}} results in XX mpge
  • {{mpge|miles=50.00|kWh=10.00|imperial=on}} results in XX mpge
  • {{mpge|miles=50.00|gas=1.000}} results in XX mpge
  • {{mpge|miles=50.00|diesel=1.000|lk=on}} results in XX mpge
  • {{mpge|L100km=50}} results in XX mpge
  • {{mpge|mpg=50}} results in XX mpge

Options:

See also:


Amount of fuel = 1 gallon of gasoline (measured in units for fuel type)
Gasoline (regular unleaded) 1 Gallon = 114,100 BTUs
Diesel .88 Gallons
Liquid Natural Gas 126.67 Cubic Feet
Compressed Natural Gas 33.56 Kilowatt hours
Liquefied Petroleum Gas 1.35 Gallons
Methanol 2.01 Gallons
Ethanol 100% 1.500 Gallons
Ethanol 85% 1.425 Gallons
Ethanol 10% 1.050 Gallons
Electricity 33.56 Kilowatt hours