-   Forum News & Feedback (
-   -   New in "Tools" menu: Fuel economy units conversion calculator (

bennelson 12-30-2008 10:46 AM

New in "Tools" menu: Fuel economy units conversion calculator
I love that there is now a "Tools" feature next to the Garage.

Could we get a "watt-hours per mile" added to the fuel conversions calculator?

Doing all this myself on paper is a bit discouraging (too much math!!!!)

Designing it into the calculator would encourage EVers on the forum to use the fuel log more, as well as put everyone on an even footing, since we would all be calculating MPGe the same way.

MetroMPG 12-30-2008 10:53 AM

Great idear. Will do.

MetroMPG 12-31-2008 02:42 PM

I've added Wh/km and Wh/mi.

I really should add Gal (US) / 100 mi as well...

Funny 01-05-2009 11:50 AM

Another Feature to add to the Tools menu...
1 Attachment(s)
I thought this might be a good addition and just finished touching up the HTML

Gear Speed Calculator: Attachment 2513

Just convert txt to and HTML page and she's good to go.

bennelson 01-09-2009 12:13 PM

BUG in calculator!
Thanks for adding the "Watt Hours Per Mile" into the calculator tool.

However, I have found a bug in it. It seems to work fine converting miles per gallon into watt-hours, but not so good converting watt-hours into miles per gallon.

Usually, if I go straight to the calculator (no info entered in it yet) and put in a number for watt-hours and hit CONVERT to see what it equals in MPG, it will come up as ZERO on some of the boxes and INFINITY in others.

When there is now data in the other boxes, and I change the Watt-hours to something else, it sometimes comes up with the correct number in MPG and sometimes comes up with something TOTALLY OFF, like 8 mpg

It also gives different numbers depending on if I click on the convert button or if I just hit the TAB key to update!

I tested this in Safari 3.2.1 and Firefox

I also noticed that entering the same # in WH came up with different MPG #s in the two browsers.

I love the idea of using this calculator for electric to gas conversion, but it still needs some work!

MetroMPG 01-09-2009 12:31 PM

Thanks beta testers! (muffled GRRr)

Rather than fight with javascript compatibility across browsers, I'll probably just recode it in php.

Expect an update sometime in 2010! ;D

MetroMPG 03-02-2009 03:29 PM


Originally Posted by bennelson (Post 82373)
However, I have found a bug in it ....
I love the idea of using this calculator for electric to gas conversion, but it still needs some work!

I recoded the tool in PHP (and almost year ahead of schedule - it's only 2009!).

Should be more reliable now. Have a go:

Fuel economy conversions -

bennelson 03-02-2009 08:47 PM

yep, seems to be working better.

KY Metro 12-05-2010 10:13 AM

Looks great! Any chance of getting the US Gal/100 mi?

MetroMPG 12-06-2010 07:17 PM


All times are GMT -4. The time now is 11:44 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright