//
// Fantom Unit Database
//
// Quantity sections are delimited as "-- {name} (dim)".  Each unit
// must match the string format specified by Unit.define.
//
// History:
//   20 Dec 08  Brian Frank  Auto generate from oBIX database
//   15 Sep 10  Brian Frank  Rework to be simple text file
//

-- dimensionless (null)
percent, %
pixel, px
decibel, db
power_factor, pf
pH
percent_relative_humidity, %RH
grams_of_water_per_kilogram_dry_air, gH₂O/kgAir
volts_per_degree_kelvin, V/K
degree_days_celsius, °daysC
degree_days_fahrenheit, °daysF
percent_obscuration_per_foot, %obsc/ft
percent_obscuration_per_meter, %obsc/m
psi_per_degree_fahrenheit, psi/°F
square_meters_per_newton, m²/N
watts_per_square_meter_degree_kelvin, W/m²K
ampere_square_meter, Am²
db_milliVolt, dBmV
db_microVolt, dBuV
parts_per_unit, ppu
parts_per_million, ppm; ; 1.0E-6
parts_per_billion, ppb; ; 1.0E-9
grams_per_kilogram, g/kg; ; 0.0010
radian, rad
degrees_angular, deg; ; 0.017453292519943
degrees_phase, degPh; ; 0.017453292519943
steradian, sr
nephelometric_turbidity_units, ntu
formazin_nephelometric_unit, fnu

-- currency (null)
australian_dollar, AUD
british_pound, GBP, £
canadian_dollar, CAD
chinese_yuan, CNY, 元
euro, EUR, €
indian_rupee, INR
japanese_yen, JPY, ¥
russian_ruble, RUB, руб
south_korean_won, KRW, ₩
swedish_krona, SEK, kr
swiss_franc, CHF, Fr
taiwan_dollar, TWD
us_dollar, USD, $

-- acceleration (m1*sec-2)
meters_per_second_sqared, m/s²; m1*sec-2

-- angular acceleration (sec-2)
radians_per_second_sqared, rad/s²; sec-2

-- angular momentum (kg1*m2*sec-1)
joule_second, Js; kg1*m2*sec-1

-- angular velocity (sec-1)
radians_per_second, rad/s; sec-1
revolutions_per_minute, rpm; sec-1; 6.2831853071796

-- area (m2)
square_meter, m²; m2
square_millimeter, mm²; m2; 1.0E-6
square_centimeter, cm²; m2; 1.0E-4
square_kilometer, km²; m2; 1000000.0
square_inch, in²; m2; 6.45161E-4
square_foot, ft²; m2; 0.092903
square_yard, yd²; m2; 0.836131
square_mile, mile²; m2; 2589988.110336
acre; m2; 4046.872627

-- capacitance (kg-1*m-2*sec4*A2)
farad, F; kg-1*m-2*sec4*A2

-- cooling efficiency (null)
coefficient_of_performance, COP; ; 1
kilowatt_per_ton, kW/ton; ; 3.516
energy_efficiency_ratio, Btu/Wh, EER; ; 0.2916666667

-- density (kg1*m-3)
kilograms_per_cubic_meter, kg/m³; kg1*m-3

-- electric charge (sec1*A1)
coulomb, C; sec1*A1

-- electric conductance (kg-1*m-2*sec3*A2)
siemens, S; kg-1*m-2*sec3*A2

-- electric current (A1)
ampere, A; A1
milliampere, mA; A1; 0.0010

-- electric current density (m-2*A1)
amperes_per_square_meter, A/m²; m-2*A1

-- electric field strength (kg1*m1*sec-3*A-1)
volts_per_meter, V/m; kg1*m1*sec-3*A-1

-- electric potential (kg1*m2*sec-3*A-1)
Volt, V; kg1*m2*sec-3*A-1
milliVolt, mV; kg1*m2*sec-3*A-1; 0.0010
kiloVolt, kV; kg1*m2*sec-3*A-1; 1000.0
megaVolt, MV; kg1*m2*sec-3*A-1; 1000000.0

-- electric resistance (kg1*m2*sec-3*A-2)
ohm, Ω; kg1*m2*sec-3*A-2
kilohm, kΩ; kg1*m2*sec-3*A-2; 1000.0
megohm, MΩ; kg1*m2*sec-3*A-2; 1000000.0
milliohm, mΩ; kg1*m2*sec-3*A-2; 0.0010

-- electrical conductivity (kg-1*m-3*sec3*A2)
siemens_per_meter, S/m; kg-1*m-3*sec3*A2

-- electrical resistivity (kg1*m3*sec-3*A-2)
ohm_meter, Ωm; kg1*m3*sec-3*A-2

-- energy (kg1*m2*sec-2)
joule, J; kg1*m2*sec-2
kilojoule, kJ; kg1*m2*sec-2; 1000.0
watt_hour, Wh; kg1*m2*sec-2; 3600.0
kilowatt_hour, kWh; kg1*m2*sec-2; 3600000.0
megawatt_hour, MWh; kg1*m2*sec-2; 3.6E9
btu, BTU; kg1*m2*sec-2; 1054.852
kilobtu, kBTU; kg1*m2*sec-2; 1054852.0
megabtu, MBTU, MMBTU; kg1*m2*sec-2; 1.054852E9
horsepower_hour, hph; kg1*m2*sec-2; 2686088.6
calorie, cal; kg1*m2*sec-2; 4.184
therm; kg1*m2*sec-2; 1.05506E8
tons_refrigeration_hour, tonrefh; kg1*m2*sec-2; 1.26606708E7
megajoule, MJ; kg1*m2*sec-2; 1000000.0
newton_meter, Nm; kg1*m2*sec-2

-- apparent energy (kg1*m2*sec-2)
volt_ampere_hour, VAh; kg1*m2*sec-2; 3600.0
kilovolt_ampere_hour, kVAh; kg1*m2*sec-2; 3600000.0
megavolt_ampere_hour, MVAh; kg1*m2*sec-2; 3.6E9

-- reactive energy (kg1*m2*sec-2)
volt_ampere_reactive_hour, VARh; kg1*m2*sec-2; 3600.0
kilovolt_ampere_reactive_hour, kVARh; kg1*m2*sec-2; 3600000.0
megavolt_ampere_reactive_hour, MVARh; kg1*m2*sec-2; 3.6E9

-- energy by area (kg1*sec-2)
joules_per_square_meter, J/m²; kg1*sec-2
kilowatt_hours_per_square_meter, kWh/m²; kg1*sec-2; 3600000.0
kilowatt_hours_per_square_foot, kWh/ft²; kg1*sec-2; 3.8750077500155E7
megajoules_per_square_meter, MJ/m²; kg1*sec-2; 1000000.0
megajoules_per_square_foot, MJ/ft²; kg1*sec-2; 1.076391041671E7

-- enthalpy (m2*sec-2)
joules_per_gram, J/g; m2*sec-2; 0.0010
joules_per_kilogram, J/kg; m2*sec-2
joules_per_kilogram_dry_air, J/kg_dry; m2*sec-2
btu_per_pound, BTU/lb; m2*sec-2; 2325.5576058607867
btus_per_pound_dry_air, btu/lb_dry; m2*sec-2; 2326.0
kilojoules_per_kilogram, kJ/kg; m2*sec-2; 1000.0
kilojoules_per_kilogram_dry_air, kJ/kg_dry; m2*sec-2; 1000.0
megajoules_per_kilogram_dry_air, MJ/kg_dry; m2*sec-2; 1000000.0
calorie_per_gram, cal/g; m2*sec-2; 4184.0

-- entropy (kg1*m2*sec-2*K-1)
joules_per_degree_kelvin, J/°K; kg1*m2*sec-2*K-1
kilojoules_per_degree_kelvin, kJ/°K; kg1*m2*sec-2*K-1; 1000.0
megajoules_per_degree_kelvin, MJ/°K; kg1*m2*sec-2*K-1; 1000000.0

-- force (kg1*m1*sec-2)
newton, N; kg1*m1*sec-2
pound_force, lbf; kg1*m1*sec-2; 4.448222

-- frequency (sec-1)
hertz, Hz; sec-1
kilohertz, kHz; sec-1; 1000.0
cycles_per_hour, cph; sec-1; 2.777777777777778E-4
cycles_per_minute, cpm; sec-1; 0.016666666666666666
megahertz, MHz; sec-1; 1000000.0
per_minute, /min; sec-1; 0.016666666666666666
per_second, /s; sec-1
per_hour, /h; sec-1; 2.777777777777778E-4
percent_per_second, %/s; sec-1

-- grammage (kg1*m-2)
kilograms_per_square_meter, kg/m²; kg1*m-2
grams_per_square_meter, g/m²; kg1*m-2; 0.0010

-- heating rate (sec-1*K1)
degrees_kelvin_per_second, K/s; sec-1*K1
degrees_celsius_per_hour, °C/h; sec-1*K1; 2.777777777777778E-4
degrees_celsius_per_minute, °C/min; sec-1*K1; 0.016666666666666666
degrees_fahrenheit_per_hour, °F/h; sec-1*K1; 1.5432098765432E-4
degrees_fahrenheit_per_minute, °F/min; sec-1*K1; 0.0092592592592593
degrees_kelvin_per_hour, K/h; sec-1*K1; 2.777777777777778E-4
degrees_kelvin_per_minute, K/min; sec-1*K1; 0.016666666666666666

-- illuminance (m-2*cd1)
lux, lx; m-2*cd1
candelas_per_square_meter, cd/m²; m-2*cd1

-- inductance (kg1*m2*sec-2*A-2)
henry, H; kg1*m2*sec-2*A-2

-- irradiance (kg1*sec-3)
watts_per_square_meter_irradiance, W/m²_irr; kg1*sec-3
watts_per_square_foot_irradiance, W/ft²_irr; kg1*sec-3; 10.76391041671

-- length (m1)
meter, m; m1
micrometer, um; m1; 1.0E-5
millimeter, mm; m1; 0.0010
centimeter, cm; m1; 0.01
kilometer, km; m1; 1000.0
inch, in; m1; 0.0254
foot, ft; m1; 0.3048
yard, yd; m1; 0.9144
mile; m1; 1609.344

-- luminescence (cd1)
candela, cd; cd1
footcandle, ftcd; cd1

-- luminous flux (cd1)
lumen, lm; cd1

-- magnetic field strength (m-1*A1)
amperes_per_meter, A/m; m-1*A1

-- magnetic flux (kg1*m2*sec-2*A-1)
weber, Wb; kg1*m2*sec-2*A-1

-- magnetic flux density (kg1*sec-2*A-1)
tesla, T; kg1*sec-2*A-1

-- mass (kg1)
kilogram, kg; kg1
milligram, mg; kg1; 1.0E-6
gram, g; kg1; 0.0010
ounce, oz; kg1; 0.02835
pound, lb; kg1; 0.453591
metric_ton, ton; kg1; 1000.0
short_ton, t; kg1; 907.18474

-- mass flow (kg1*sec-1)
kilograms_per_second, kg/s; kg1*sec-1
kilograms_per_minute, kg/min; kg1*sec-1; 0.016666666666666666
kilograms_per_hour, kg/h; kg1*sec-1; 2.777777777777778E-4
pounds_per_minute, lb/min; kg1*sec-1; 0.007559872833333333
pounds_per_hour, lb/h; kg1*sec-1; 1.2599788055555556E-4
pounds_per_second, lb/s; kg1*sec-1; 0.45359237
grams_per_second, g/s; kg1*sec-1; 0.0010
grams_per_minute, g/min; kg1*sec-1; 1.6666666666666667E-5
metric_tons_per_hour, ton/h; kg1*sec-1; 0.2777777777777778

-- momentum (kg1*m1*sec-1)
newton_second, Ns; kg1*m1*sec-1

-- power (kg1*m2*sec-3)
watt, W; kg1*m2*sec-3
milliwatt, mW; kg1*m2*sec-3; 0.0010
kilowatt, kW; kg1*m2*sec-3; 1000.0
megawatt, MW; kg1*m2*sec-3; 1000000.0
gigawatt, GW; kg1*m2*sec-3; 1.0E9
btus_per_hour, BTU/h; kg1*m2*sec-3; 0.292875
horsepower, hp; kg1*m2*sec-3; 745.7
foot_pounds_per_second, ftlbs/sec; kg1*m2*sec-3; 1.355818
tons_refrigeration, tonref; kg1*m2*sec-3; 3516.853
kilobtus_per_hour, kBTU/h; kg1*m2*sec-3; 293.07107017222

-- power by area (kg1*sec-3)
watts_per_square_meter, W/m²; kg1*sec-3
kilowatts_per_square_meter, kW/m²; kg1*sec-3; 1000.0
kilowatts_per_square_foot, kW/ft²; kg1*sec-3; 10763.9104

-- apparent power (kg1*m2*sec-3)
volt_ampere, VA; kg1*m2*sec-3
kilovolt_ampere, kVA; kg1*m2*sec-3; 1000.0
megavolt_ampere, mVA; kg1*m2*sec-3; 1000000.0

-- reactive power (kg1*m2*sec-3)
volt_ampere_reactive, VAR; kg1*m2*sec-3
kilovolt_ampere_reactive, kVAR; kg1*m2*sec-3; 1000.0
megavolt_ampere_reactive, MVAR; kg1*m2*sec-3; 1000000.0

-- pressure (kg1*m-1*sec-2)
pascal, Pa; kg1*m-1*sec-2
kilopascal, kPa; kg1*m-1*sec-2; 1000.0
bar; kg1*m-1*sec-2; 100000.0
atmosphere, atm; kg1*m-1*sec-2; 101317.1
pounds_per_square_inch, psi; kg1*m-1*sec-2; 6894.73
centimeters_of_water, cmH₂O; kg1*m-1*sec-2; 98.0665
inches_of_water, inH₂O; kg1*m-1*sec-2; 248.84
millimeters_of_mercury, mmHg; kg1*m-1*sec-2; 133.322368421
centimeters_of_mercury, cmHg; kg1*m-1*sec-2; 1333.22368421
inches_of_mercury, inHg; kg1*m-1*sec-2; 3386.38815789
hectopascal, hPa; kg1*m-1*sec-2; 100.0
millibar, mbar; kg1*m-1*sec-2; 100.0

-- specific entropy (m2*sec-2*K-1)
joules_per_kilogram_degree_kelvin, J/kg°K; m2*sec-2*K-1

-- surface tension (kg1*sec-2)
newtons_per_meter, N/m; kg1*sec-2

-- temperature (K1)
fahrenheit, °F; K1; 0.5555555555555556; 255.37222222222223
celsius, °C; K1; 1.0; 273.15
kelvin, K; K1

-- temperature differential (K1)
fahrenheit_degrees, Δ°F; K1; 0.5555555555555556
celsius_degrees, Δ°C; K1
kelvin_degrees, ΔK; K1

-- thermal conductivity (kg1*m1*sec-3*K-1)
watts_per_meter_degree_kelvin, W/m°K; kg1*m1*sec-3*K-1

-- time (sec1)
nanosecond, ns; sec1; 1.0E-9
microsecond, us; sec1; 1.0E-6
millisecond, ms; sec1; 0.0010
hundredths_second, cs; sec1; 0.01
tenths_second, ds; sec1; 0.1
second, sec, s; sec1
minute, min; sec1; 60.0
hour, hr, h; sec1; 3600.0
day; sec1; 86400.0
week, wk; sec1; 604800.0
julian_month, mo; sec1; 2629800.0
year, yr; sec1; 3.1536E7

-- velocity (m1*sec-1)
meters_per_second, m/s; m1*sec-1
kilometers_per_second, km/s; m1*sec-1; 1000.0
kilometers_per_hour, km/h; m1*sec-1; 0.277778
miles_per_hour, mph; m1*sec-1; 0.447027
feet_per_second, ft/s; m1*sec-1; 0.3048
feet_per_minute, ft/min; m1*sec-1; 0.00508
millimeters_per_second, mm/s; m1*sec-1; 0.0010
millimeters_per_minute, mm/min; m1*sec-1; 1.6666666666666667E-5
meters_per_minute, m/min; m1*sec-1; 0.016666666666666666
meters_per_hour, m/h; m1*sec-1; 2.777777777777778E-4

-- volume (m3)
cubic_meter, m³; m3
cubic_millimeter, mm³; m3; 1.0E-9
cubic_centimeter, cm³; m3; 1.0E-6
milliliter, mL; m3; 1.0E-6
liter, L; m3; 0.0010
kiloliter, kL; m3
cubic_inch, in³; m3; 1.6387064E-5
cubic_foot, ft³; m3; 0.028317
cubic_yard, yd³; m3; 0.764555
gallon, gal; m3; 0.003785
quart, qt; m3; 9.46E-4
pint, pt; m3; 4.73E-4
fluid_ounce, fl_oz; m3; 2.95729E-5
imperial_gallon, galUK; m3; 0.004546092

-- volumetric flow (m3*sec-1)
cubic_meters_per_second, m³/s; m3*sec-1
milliliters_per_second, mL/s; m3*sec-1; 1.0E-6
liters_per_second, L/s; m3*sec-1; 0.0010
cubic_feet_per_second, cfs; m3*sec-1; 0.028317
cubic_feet_per_minute, cfm; m3*sec-1; 4.719474432E-4
kilocubic_feet_per_minute, kcfm; m3*sec-1; 0.4719474432
imperial_gallons_per_minute, galUK/min; m3*sec-1; 0.004546092
liters_per_minute, L/min; m3*sec-1; 1.6666666666666667E-5
gallons_per_minute, gal/min; m3*sec-1; 6.30901964E-5
cubic_meters_per_hour, m³/h; m3*sec-1; 2.777777777777778E-4
liters_per_hour, L/h; m3*sec-1; 2.7777777777777776E-7
cubic_meters_per_minute, m³/min; m3*sec-1; 0.016666666666666666

