Off Topic Politics, life, gadgets, people... gobbledygook.

3 Unit Systems

Thread Tools
 
Search this Thread
 
Old Aug 10, 2005 | 02:21 PM
  #1  
Jason's Avatar
Thread Starter
|
Site Founder
Joined: Dec 2003
Posts: 4,623
Default 3 Unit Systems

I'm currently coding some extra features for version 2.1 of the mileage database. I need some quick information on the 3 unit systems people use today. The first, I know, is the US system. Miles per US gallon and Miles. Then there's the metric system, L/100km and kilometers. Finally, there's the Imperial system. This is the one I'm confused about. Is it called the Imperial system or the UK system? They use Miles per Imperial gallon, correct? Distance is in miles? *confused*

I'm also looking up conversion formulas.
 
Old Aug 10, 2005 | 02:57 PM
  #2  
Schwa's Avatar
Ridiculously Active Enthusiast
Joined: Apr 2005
Posts: 1,045
From: Coquitlam, B.C.
Default Re: 3 Unit Systems

The US system is a derivative of the Imperial (UK) system, except they use different size gallons, but miles and everything else is the same. They are both called Imperial, but get distinguished by US Imperial or UK Imperial.

There are two ways of doing measurements in S.I. (metric) such as the international common way (L/100km) and then there's the Japan standard of km/L which gives you the same kind of graph as miles/gallon.

To get L/100km -- 235.2146/MPG

For km/L -- 0.4251*MPG

For UK MPG -- 1.2*MPG

And more here: http://www.ex.ac.uk/cimt/dictunit/di...uelconsumption
 

Last edited by Schwa; Aug 10, 2005 at 04:13 PM.
Old Aug 10, 2005 | 03:45 PM
  #3  
Jason's Avatar
Thread Starter
|
Site Founder
Joined: Dec 2003
Posts: 4,623
Default Re: 3 Unit Systems

Thanks for the help. I've completed the conversion system. All's left to do is implement it. If you click here you can see the conversion test. I'm going to double-check the values using some converter on the web.

https://www.greenhybrid.com/compare/...tions_test.php
 
Old Aug 10, 2005 | 03:50 PM
  #4  
Schwa's Avatar
Ridiculously Active Enthusiast
Joined: Apr 2005
Posts: 1,045
From: Coquitlam, B.C.
Default Re: 3 Unit Systems

What number are you using for miles to km? Google says 1.609344
 
Old Aug 10, 2005 | 04:21 PM
  #5  
Jason's Avatar
Thread Starter
|
Site Founder
Joined: Dec 2003
Posts: 4,623
Default Re: 3 Unit Systems

$value/0.6214
 
Old Aug 10, 2005 | 05:12 PM
  #6  
Schwa's Avatar
Ridiculously Active Enthusiast
Joined: Apr 2005
Posts: 1,045
From: Coquitlam, B.C.
Default Re: 3 Unit Systems

I would have used $value*1.609344

But your method is pretty close.
 
Old Aug 10, 2005 | 05:54 PM
  #7  
Jason's Avatar
Thread Starter
|
Site Founder
Joined: Dec 2003
Posts: 4,623
Default Re: 3 Unit Systems

I'll switch it. No biggie.
 
Old Aug 10, 2005 | 06:25 PM
  #8  
Schwa's Avatar
Ridiculously Active Enthusiast
Joined: Apr 2005
Posts: 1,045
From: Coquitlam, B.C.
Default Re: 3 Unit Systems

There's also temperature, although I guess it's not too important to be accurate, it's

(5/9)*($value-32)
 

Last edited by Schwa; Aug 10, 2005 at 07:23 PM.
Old Aug 10, 2005 | 07:11 PM
  #9  
Jason's Avatar
Thread Starter
|
Site Founder
Joined: Dec 2003
Posts: 4,623
Default Re: 3 Unit Systems

you forgot the 32
I started implementing the conversions and am almost trouble-free. But, the standard deviation and error for the main page don't seem to be quite correct. For the Accord in Metric, we have:

7.89
7.93
8.54–7.11
55.81
374.39
45

55.81 is the SD and 374.39 L/100km is the error? Seems wrong to me. Anyone know Metrics who can verify this is correct?
 
Old Aug 10, 2005 | 07:37 PM
  #10  
Schwa's Avatar
Ridiculously Active Enthusiast
Joined: Apr 2005
Posts: 1,045
From: Coquitlam, B.C.
Default Re: 3 Unit Systems

You may have to feed metric data into the calculation for SD and error, I'm not sure if the results of the US data can be easily converted into the equivalent of the metric data's SD and error.
 


Contact Us -

  • Your Privacy Choices
  • Manage Preferences
  • Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

    When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.

    © 2026 MH Sub I, LLC dba Internet Brands


    All times are GMT -7. The time now is 07:50 PM.