Units of Fuel Consumption - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Known Units : Units/fuel_consumption

Units of Fuel Consumption

 

Description

Examples

Description

• 

Fuel consumption has the dimension volume of petroleum per length or length per volume of petroleum.  The three standard units of fuel consumption are the liter of petroleum per 100 kilometers, the mile per gallon of petroleum, and the kilometer per liter of petroleum.

• 

Maple knows the units of fuel consumption listed in the following table.

Name

Symbols

Context

Alternate Spellings

Prefixes

 

 

 

 

 

mile_per_gallon

mpg

US_liquid *

miles_per_gallon

 

 

 

UK

 

 

  

An asterisk ( * ) indicates the default context, an at sign (@) indicates an abbreviation, and under the prefixes column, SI indicates that the unit takes all SI prefixes, IEC indicates that the unit takes IEC prefixes, and SI+ and SI- indicate that the unit takes only positive and negative SI prefixes, respectively.  Refer to a unit in the Units package by indexing the name or symbol with the context, for example, miles_per_gallon[US_liquid] or mpg[UK]; or, if the context is indicated as the default, by using only the unit name or symbol, for example, miles_per_gallon.

• 

Because liters per 100 kilometers and miles per gallon have inverse dimensions, the conversion between them includes taking a reciprocal.

• 

Maple uses Unit annotations for units of fuel consumption.

  

 

  

The unit of fuel consumption is defined as follows.

  

A US liquid or UK mile per gallon is defined as a standard mile per US liquid or UK gallon of petroleum, respectively.

Examples

The dimensions of the three units of fuel consumption are not all the same.

convert'Lpetroleum'100'km','dimensions','base'=true

lengthpetroleum3length

(1)

convert'mpg','dimensions','base'=true

lengthlengthpetroleum3

(2)

convert'km''Lpetroleum','dimensions','base'=true

lengthlengthpetroleum3

(3)

Because of Unit annotations, miles per gallon of petroleum cannot directly be converted to meters per gallon (the dimensions are different). The symbolic option makes convert ignore this.

convert1,'units','mpg','m''gal'

Error, (in `convert/units`) unable to convert `mpg` to `m/gal`

convert1,'units','mpg','m''gal','symbolic'=true

201168125

(4)

Convert 4.4 L/100 km to mpg.

1convert4.4,'units','Lpetroleum'100'km',1'mpg'

53.45785984

(5)

Convert 17.2 mpg to L/100 km.

1convert17.2,'units','mpg',1'Lpetroleum'100'km'

13.67526647

(6)

Convert 4.4 L/100 km to km/L.

1convert4.4,'units','Lpetroleum'100'km',1'km''Lpetroleum'

22.72727273

(7)

Convert 19.3 km/L to mpg.

convert19.3,'units','km''Lpetroleum',mpg

45.39641458

(8)

See Also

convert/dimensions

convert/units

Units

Units/annotations

Units/Index

Units/length

Units/volume

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam