| 1 |
#***************************************************************************** |
| 2 |
#units.dat, the units data file, version 0.6.1 |
| 3 |
# |
| 4 |
# ConvertAll, a units conversion program |
| 5 |
# Copyright (C) 2015, Douglas W. Bell |
| 6 |
# |
| 7 |
# This is free software; you can redistribute it and/or modify it under the |
| 8 |
# terms of the GNU General Public License, Version 2. This program is |
| 9 |
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. |
| 10 |
#***************************************************************************** |
| 11 |
# |
| 12 |
# Units are defined by an optional quantity and an equivalent unit or unit |
| 13 |
# combination. A Python expression may be used for the quantity, but is |
| 14 |
# restricted to using only the following operators: *, /, +, -, **, (, ). |
| 15 |
# Beware of integer division truncation: be sure to use a float for at least |
| 16 |
# one of the values. |
| 17 |
# |
| 18 |
# The unit type must be placed in square brackets before a set of units. The |
| 19 |
# first comment after the equivalent unit will be put in parenthesis after the |
| 20 |
# unit name (usually used to give the full name of an abbreviated unit). The |
| 21 |
# next comment will be used in the program list's comment column; later |
| 22 |
# comments and full line comments are ignored. |
| 23 |
# |
| 24 |
# Non-linear units are indicated with an equivalent unit in square brackets, |
| 25 |
# followed by either equations or equivalency lists for the definition. For |
| 26 |
# equations, two are given, separated by a ';'. Both are functions of "x", the |
| 27 |
# first going from the unit to the equivalent unit and the second one in |
| 28 |
# reverse. Any valid Python expression returning a float (including the |
| 29 |
# functions in the math module) should work. The equivalency list is a Python |
| 30 |
# list of tuples giving points for linear interpolation. |
| 31 |
# |
| 32 |
# All units must reduce to primitive units, which are indicated by an |
| 33 |
# equivalent unit starting with '!'. A special "unitless" primitve unit |
| 34 |
# (usualty called "unit") has '!!' for an equivalent unit. Circular references |
| 35 |
# must also be avoided. |
| 36 |
# |
| 37 |
# Primitive units: kg, m, s, K, A, mol, cd, rad, sr, bit, unit |
| 38 |
# |
| 39 |
############################################################################## |
| 40 |
|
| 41 |
# |
| 42 |
# mass units |
| 43 |
# |
| 44 |
[mass] |
| 45 |
kg = ! # kilogram |
| 46 |
kilogram = kg |
| 47 |
key = kg # # drug slang |
| 48 |
hectogram = 100 gram |
| 49 |
dekagram = 10 gram |
| 50 |
gram = 0.001 kg |
| 51 |
g = gram # gram |
| 52 |
decigram = 0.1 gram |
| 53 |
centigram = 0.01 gram |
| 54 |
milligram = 0.001 gram |
| 55 |
mg = milligram # milligram |
| 56 |
microgram = 0.001 mg |
| 57 |
tonne = 1000 kg # # metric |
| 58 |
metric ton = tonne |
| 59 |
megagram = tonne |
| 60 |
kilotonne = 1000 tonne # # metric |
| 61 |
gigagram = 1e9 gram |
| 62 |
teragram = 1e12 gram |
| 63 |
carat = 0.2 gram |
| 64 |
ct = carat # carat |
| 65 |
amu = 1.66053873e-27 kg # atomic mass |
| 66 |
atomic mass unit = amu |
| 67 |
pound = 0.45359237 kg # # avoirdupois |
| 68 |
lb = pound # pound # avoirdupois |
| 69 |
lbm = pound # pound # avoirdupois |
| 70 |
ounce = 1/16.0 pound # # avoirdupois |
| 71 |
oz = ounce # ounce # avoirdupois |
| 72 |
lid = ounce # # drug slang |
| 73 |
dram = 1/16.0 ounce # # avoirdupois |
| 74 |
pound troy = 5760 grain |
| 75 |
lb troy = pound troy # pound troy |
| 76 |
ounce troy = 1/12.0 lb troy |
| 77 |
oz troy = ounce troy # ounce troy |
| 78 |
ton = 2000 lb # # non-metric |
| 79 |
kiloton = 1000 ton # # non-metric |
| 80 |
long ton = 2240 lb # # Imperial |
| 81 |
slug = lbf*s^2/ft |
| 82 |
stone = 14 lb |
| 83 |
grain = 1/7000.0 lb |
| 84 |
pennyweight = 24 grain |
| 85 |
hundredweight long = 112 lb # # Imperial |
| 86 |
hundredweight short = 100 lb # # US & Canada |
| 87 |
solar mass = 1.9891e30 kg |
| 88 |
|
| 89 |
|
| 90 |
# |
| 91 |
# length / distance units |
| 92 |
# |
| 93 |
[length] |
| 94 |
m = ! # meter |
| 95 |
meter = m |
| 96 |
metre = m |
| 97 |
dm = 0.1 m # decimeter |
| 98 |
decimeter = dm |
| 99 |
cm = 0.01 m # centimeter |
| 100 |
centimeter = cm |
| 101 |
mm = 0.001 m # millimeter |
| 102 |
millimeter = mm |
| 103 |
micrometer = 1e-6 m |
| 104 |
micron = micrometer |
| 105 |
nanometer = 1e-9 m |
| 106 |
nm = nanometer # nanometer |
| 107 |
dekameter = 10 m |
| 108 |
hectometer = 100 m |
| 109 |
km = 1000 m # kilometer |
| 110 |
kilometer = km |
| 111 |
megameter = 1000 km |
| 112 |
angstrom = 1e-10 m |
| 113 |
fermi = 1e-15 m # # nuclear sizes |
| 114 |
inch = 2.54 cm |
| 115 |
in = inch # inch |
| 116 |
inches = inch |
| 117 |
mil = 0.001 inch |
| 118 |
microinch = 1e-6 inch |
| 119 |
microinches = microinch |
| 120 |
foot = 12 inch |
| 121 |
ft = foot # foot |
| 122 |
feet = foot |
| 123 |
foot US survey = 1200/3937.0 m |
| 124 |
yard = 3 ft |
| 125 |
yd = yard # yard |
| 126 |
mile = 5280 ft # # statute mile |
| 127 |
mi = mile # mile # statute mile |
| 128 |
nautical mile = 1852 m |
| 129 |
nmi = nautical mile # nautical mile |
| 130 |
mile US survey = 5280 foot US survey |
| 131 |
league = 3 mile |
| 132 |
chain = 66 ft |
| 133 |
chain US survey = 66 foot US survey |
| 134 |
link = 0.01 chain |
| 135 |
fathom = 6 ft |
| 136 |
rod = 5.5 yard |
| 137 |
furlong = 40 rod |
| 138 |
hand = 4 inch |
| 139 |
cubit = 21.8 inch # # biblical unit |
| 140 |
point = 1/72.0 inch # # desktop publishing point |
| 141 |
pica = 12 point |
| 142 |
caliber = 1.0 inch # # bullet sizes |
| 143 |
rack unit = 1.75 in # # computing |
| 144 |
smoot = 67 inch |
| 145 |
football field = 100 yd |
| 146 |
marathon = 46145 yd |
| 147 |
mil Swedish = 10 km |
| 148 |
versta = 3500 ft # # Russian unit |
| 149 |
au = 1.49597870691e11 m # astronomical unit |
| 150 |
astronomical unit = au |
| 151 |
LD = 384400 km # lunar distance # astronomical |
| 152 |
lunar distance = LD # # astronomical distance |
| 153 |
light year = 365.25 light speed * day |
| 154 |
light minute = light speed * min |
| 155 |
light second = light speed * s |
| 156 |
parsec = 3.0856775813e16 m |
| 157 |
kiloparsec = 1000 parsec |
| 158 |
megaparsec = 1000 kiloparsec |
| 159 |
screw size = [in] 0.013*x + 0.06 ; (x - 0.06) / 0.013 \ |
| 160 |
# # Unified diameters, non-linear |
| 161 |
AWG Dia = [in] 92.0**((36-x)/39.0)/200.0 ; \ |
| 162 |
36 - 39.0*log(200.0*x)/log(92.0) \ |
| 163 |
# American Wire Gauge \ |
| 164 |
# use -1, -2 for 00, 000; non-linear |
| 165 |
American Wire Gauge Dia = [in] 92.0**((36-x)/39.0)/200.0 ; \ |
| 166 |
36 - 39.0*log(200.0*x)/log(92.0) \ |
| 167 |
# # use -1, -2 for 00, 000; non-linear |
| 168 |
standard gauge = [in] [(-5, .448350), (1, .269010), (14, .0747250), \ |
| 169 |
(16, .0597800), (17, .0538020), (20, .0358680), \ |
| 170 |
(26, .0179340), (31, .0104615), (36, .00672525), \ |
| 171 |
(38, .00597800)] # steel \ |
| 172 |
# Manufacturers Std. Gauge, non-linear |
| 173 |
zinc gauge = [in] [(1, .002), (10, .02), (15, .04), (19, .06), \ |
| 174 |
(23, .1), (24, .125), (27, .5), (28, 1)] \ |
| 175 |
# # sheet metal thickness, non-linear |
| 176 |
ring size = [in] 0.1018*x + 1.4216 ; (x - 1.4216) / 0.1018 \ |
| 177 |
# # US size, circum., non-linear |
| 178 |
shoe size mens = [in] x/3.0 + 7 + 1/3.0 ; (x - 7 - 1/3.0) * 3 \ |
| 179 |
# # US sizes, non-linear |
| 180 |
shoe size womens = [in] x/3.0 + 6 + 5/6.0 ; (x - 6 - 5/6.0) * 3 \ |
| 181 |
# # US sizes, non-linear |
| 182 |
|
| 183 |
|
| 184 |
# |
| 185 |
# time units |
| 186 |
# |
| 187 |
[time] |
| 188 |
s = ! # second |
| 189 |
sec = s # second |
| 190 |
second = s |
| 191 |
ms = 0.001 s # millisecond |
| 192 |
millisecond = ms |
| 193 |
microsecond = 1e-6 s |
| 194 |
ns = 1e-9 s # nanosecond |
| 195 |
nanosecond = ns |
| 196 |
minute = 60 s |
| 197 |
min = minute # minute |
| 198 |
hour = 60 min |
| 199 |
hr = hour # hour |
| 200 |
bell = 30 min # # naval definition |
| 201 |
watch = 4 hour |
| 202 |
watches = watch |
| 203 |
day = 24 hr |
| 204 |
week = 7 day |
| 205 |
wk = week # week |
| 206 |
fortnight = 14 day |
| 207 |
month = 1/12.0 year |
| 208 |
year = 365.242198781 day |
| 209 |
yr = year # year |
| 210 |
calendar year = 365 day |
| 211 |
decade = 10 year |
| 212 |
century = 100 year |
| 213 |
centuries = century |
| 214 |
millennium = 1000 year |
| 215 |
millennia = millennium |
| 216 |
[scheduling] |
| 217 |
man hour = 168/40.0 hour |
| 218 |
man week = 40 man hour |
| 219 |
man month = 1/12.0 man year |
| 220 |
man year = 52 man week |
| 221 |
|
| 222 |
|
| 223 |
# |
| 224 |
# temperature |
| 225 |
# |
| 226 |
[temperature] |
| 227 |
K = ! # Kelvin |
| 228 |
Kelvin = K |
| 229 |
deg K = K # Kelvin |
| 230 |
degree Kelvin = K |
| 231 |
|
| 232 |
C = [K] x + 273.15 ; x - 273.15 # Celsius # non-linear |
| 233 |
Celsius = [K] x + 273.15 ; x - 273.15 # # non-linear |
| 234 |
deg C = [K] x + 273.15 ; x - 273.15 # Celsius # non-linear |
| 235 |
degree Celsius = [K] x + 273.15 ; x - 273.15 # # non-linear |
| 236 |
|
| 237 |
R = 5/9.0 K # Rankine |
| 238 |
Rankine = R |
| 239 |
deg R = R # Rankine |
| 240 |
F = [R] x + 459.67 ; x - 459.67 # Fahrenheit # non-linear |
| 241 |
Fahrenheit = [R] x + 459.67 ; x - 459.67 # # non-linear |
| 242 |
deg F = [R] x + 459.67 ; x - 459.67 # Fahrenheit # non-linear |
| 243 |
degree Fahrenheit = [R] x + 459.67 ; x - 459.67 # # non-linear |
| 244 |
|
| 245 |
[temp. diff.] |
| 246 |
C deg = K # Celsius degree |
| 247 |
Celsius degree = C deg |
| 248 |
F deg = R # Fahrenheit deg. |
| 249 |
Fahrenheit degree = F deg |
| 250 |
|
| 251 |
|
| 252 |
# |
| 253 |
# electrical units |
| 254 |
# |
| 255 |
[current] |
| 256 |
A = ! # ampere |
| 257 |
ampere = A |
| 258 |
amp = A |
| 259 |
milliampere = 0.001 A |
| 260 |
milliamp = milliampere |
| 261 |
mA = milliampere # milliampere |
| 262 |
microampere = 0.001 mA |
| 263 |
kiloampere = 1000 A |
| 264 |
kA = kiloampere # kiloampere |
| 265 |
[charge] |
| 266 |
coulomb = A*s |
| 267 |
amp hour = A*hr |
| 268 |
mAh = 0.001 amp hour # milliamp hour |
| 269 |
milliamp hour = mAh |
| 270 |
[potential] |
| 271 |
volt = W/A |
| 272 |
V = volt # volt |
| 273 |
millivolt = 0.001 volt |
| 274 |
mV = millivolt # millivolt |
| 275 |
kilovolt = 1000 volt |
| 276 |
kV = kilovolt # kilovolt |
| 277 |
[resistance] |
| 278 |
ohm = V/A |
| 279 |
milliohm = 0.001 ohm |
| 280 |
microhm = 0.001 milliohm |
| 281 |
kilohm = 1000 ohm |
| 282 |
[conductance] |
| 283 |
siemens = A/V |
| 284 |
[capacitance] |
| 285 |
farad = coulomb/V |
| 286 |
millifarad = 0.001 farad |
| 287 |
microfarad = 0.001 millifarad |
| 288 |
nanofarad = 1e-9 farad |
| 289 |
picofarad = 1e-12 farad |
| 290 |
[magn. flux] |
| 291 |
weber = V*s |
| 292 |
Wb = weber # weber |
| 293 |
maxwell = 1e-8 Wb |
| 294 |
[inductance] |
| 295 |
henry = Wb/A |
| 296 |
H = henry # henry |
| 297 |
millihenry = 0.001 henry |
| 298 |
mH = millihenry # millihenry |
| 299 |
microhenry = 0.001 mH |
| 300 |
[flux density] |
| 301 |
tesla = Wb/m^2 |
| 302 |
T = tesla # tesla |
| 303 |
gauss = maxwell/cm^2 |
| 304 |
|
| 305 |
|
| 306 |
# |
| 307 |
# molecular units |
| 308 |
# |
| 309 |
[molecular qty] |
| 310 |
mol = ! # mole # gram mole |
| 311 |
mole = mol # # gram mole |
| 312 |
gram mole = mol |
| 313 |
kilomole = 1000 mol |
| 314 |
kmol = kilomole # kilomole |
| 315 |
pound mole = mol*lbm/gram |
| 316 |
lbmol = pound mole # pound mole |
| 317 |
[size of a mol] |
| 318 |
avogadro = gram/(amu*mol) |
| 319 |
|
| 320 |
|
| 321 |
# |
| 322 |
# Illumination units |
| 323 |
# |
| 324 |
[lum. intens.] |
| 325 |
cd = ! # candela |
| 326 |
candela = cd |
| 327 |
|
| 328 |
[luminous flux] |
| 329 |
lumen = cd * sr |
| 330 |
lm = lumen # lumen |
| 331 |
|
| 332 |
[illuminance] |
| 333 |
lux = lumen/m^2 |
| 334 |
footcandle = lumen/ft^2 |
| 335 |
metercandle = lumen/m^2 |
| 336 |
|
| 337 |
[luminance] |
| 338 |
lambert = cd/(pi*cm^2) |
| 339 |
millilambert = 0.001 lambert |
| 340 |
footlambert = cd/(pi*ft^2) |
| 341 |
|
| 342 |
|
| 343 |
# |
| 344 |
# angular units |
| 345 |
# |
| 346 |
[angle] |
| 347 |
radian = ! |
| 348 |
rad = radian # radian |
| 349 |
circle = 2 pi*radian |
| 350 |
turn = circle |
| 351 |
revolution = circle |
| 352 |
rev = revolution # revolution |
| 353 |
degree = 1/360.0 circle |
| 354 |
deg = degree # degree |
| 355 |
arc min = 1/60.0 degree # minute |
| 356 |
arc minute = arc min |
| 357 |
min arc = arc min # minute |
| 358 |
minute arc = arc min |
| 359 |
arc sec = 1/60.0 arc min # second |
| 360 |
arc second = arc sec |
| 361 |
sec arc = arc sec # second |
| 362 |
second arc = arc sec |
| 363 |
quadrant = 1/4.0 circle |
| 364 |
right angle = quadrant |
| 365 |
gradian = 0.01 quadrant |
| 366 |
|
| 367 |
|
| 368 |
# |
| 369 |
# solid angle units |
| 370 |
# |
| 371 |
[solid angle] |
| 372 |
sr = ! # steradian |
| 373 |
steradian = sr |
| 374 |
sphere = 4 pi*sr |
| 375 |
hemisphere = 1/2.0 sphere |
| 376 |
|
| 377 |
|
| 378 |
# |
| 379 |
# information units |
| 380 |
# |
| 381 |
[data] |
| 382 |
bit = ! |
| 383 |
kilobit = 1000 bit # # based on power of 10 |
| 384 |
megabit = 1000 kilobit # # based on power of 10 |
| 385 |
byte = 8 bit |
| 386 |
B = byte # byte |
| 387 |
kilobyte = 1024 byte # # based on power of 2 |
| 388 |
kB = kilobyte # kilobyte # based on power of 2 |
| 389 |
megabyte = 1024 kB # # based on power of 2 |
| 390 |
MB = megabyte # megabyte # based on power of 2 |
| 391 |
gigabyte = 1024 MB # # based on power of 2 |
| 392 |
GB = gigabyte # gigabyte # based on power of 2 |
| 393 |
terabyte = 1024 GB # # based on power of 2 |
| 394 |
TB = terabyte # terabyte # based on power of 2 |
| 395 |
petabyte = 1024 TB # # based on power of 2 |
| 396 |
PB = petabyte # petabyte # based on power of 2 |
| 397 |
|
| 398 |
kilobyte IEC std = 1000 byte # # based on power of 10 |
| 399 |
kB IEC std = kilobyte IEC std # kilobyte # based on power of 10 |
| 400 |
megabyte IEC std = 1000 kB IEC std # # based on power of 10 |
| 401 |
MB IEC std = megabyte IEC std # megabyte # based on power of 10 |
| 402 |
gigabyte IEC std = 1000 MB IEC std # # based on power of 10 |
| 403 |
GB IEC std = gigabyte IEC std # gigabyte # based on power of 10 |
| 404 |
terabyte IEC std = 1000 GB IEC std # # based on power of 10 |
| 405 |
TB IEC std = terabyte IEC std # terabyte # based on power of 10 |
| 406 |
petabyte IEC std = 1000 TB IEC std # # based on power of 10 |
| 407 |
PB IEC std = petabyte IEC std # petabyte # based on power of 10 |
| 408 |
|
| 409 |
kibibyte = 1024 byte |
| 410 |
KiB = kibibyte # kibibyte |
| 411 |
mebibyte = 1024 KiB |
| 412 |
MiB = mebibyte # mebibyte |
| 413 |
gibibyte = 1024 MiB |
| 414 |
GiB = gibibyte # gibibyte |
| 415 |
tebibyte = 1024 GiB |
| 416 |
TiB = tebibyte # tebibyte |
| 417 |
pebibyte = 1024 TiB |
| 418 |
PiB = pebibyte # pebibyte |
| 419 |
|
| 420 |
[data transfer] |
| 421 |
bps = bit/sec # bits / second |
| 422 |
kbps = 1000 bps # kilobits / sec. # based on power of 10 |
| 423 |
|
| 424 |
|
| 425 |
# |
| 426 |
# Unitless numbers |
| 427 |
# |
| 428 |
[quantity] |
| 429 |
unit = !! |
| 430 |
1 = unit # unit |
| 431 |
pi = 3.14159265358979323846 unit |
| 432 |
pair = 2 unit |
| 433 |
hat trick = 3 unit # # sports |
| 434 |
dozen = 12 unit |
| 435 |
doz = dozen # dozen |
| 436 |
bakers dozen = 13 unit |
| 437 |
score = 20 unit |
| 438 |
gross = 144 unit |
| 439 |
great gross = 12 gross |
| 440 |
ream = 500 unit |
| 441 |
percent = 0.01 unit |
| 442 |
% = percent |
| 443 |
mill = 0.001 unit |
| 444 |
[interest rate] |
| 445 |
APR = [unit] log(1 + x/100) ; (exp(x) - 1)*100 \ |
| 446 |
# annual % rate # based on continuous compounding |
| 447 |
[concentration] |
| 448 |
proof = 1/200.0 unit # # alcohol content |
| 449 |
ppm = 1e-6 unit # parts per million |
| 450 |
parts per million = ppm |
| 451 |
ppb = 1e-9 unit # parts per billion |
| 452 |
parts per billion = ppb |
| 453 |
ppt = 1e-12 unit # parts per trillion |
| 454 |
parts per trillion = ppt |
| 455 |
karat = 1/24.0 unit # # gold purity |
| 456 |
carat gold = karat # # gold purity |
| 457 |
|
| 458 |
|
| 459 |
# |
| 460 |
# force units |
| 461 |
# |
| 462 |
[force] |
| 463 |
newton = kg*m/s^2 |
| 464 |
N = newton # newton |
| 465 |
dekanewton = 10 newton |
| 466 |
kilonewton = 1000 N |
| 467 |
kN = kilonewton # kilonewton |
| 468 |
meganewton = 1000 kN |
| 469 |
millinewton = 0.001 N |
| 470 |
dyne = cm*g/s^2 |
| 471 |
kg force = kg * gravity # kilogram f |
| 472 |
kgf = kg force # kilogram force |
| 473 |
kilogram force = kg force |
| 474 |
kp = kg force # kilopond |
| 475 |
kilopond = kg force |
| 476 |
gram force = g * gravity |
| 477 |
pound force = lbm * gravity # # avoirdupois |
| 478 |
lbf = pound force # pound force # avoirdupois |
| 479 |
ton force = ton * gravity |
| 480 |
ounce force = ounce * gravity |
| 481 |
ozf = ounce force # ounce force |
| 482 |
tonne force = tonne * gravity # # metric |
| 483 |
pdl = lbm * ft / sec^2 # poundal # Imperial force |
| 484 |
poundal = pdl # # Imperial force |
| 485 |
|
| 486 |
|
| 487 |
# |
| 488 |
# area units |
| 489 |
# |
| 490 |
[area] |
| 491 |
barn = 1e-28 m^2 # # particle physics |
| 492 |
are = 100 m^2 |
| 493 |
decare = 10 are |
| 494 |
dekare = 10 are |
| 495 |
hectare = 100 are |
| 496 |
stremma = 1000 m^2 |
| 497 |
acre = 10 chain^2 |
| 498 |
section = mile^2 |
| 499 |
township = 36 section |
| 500 |
homestead = 160 acre |
| 501 |
rai = 1600 m^2 # # Thai |
| 502 |
ngaan = 400 m^2 # # Thai |
| 503 |
circular inch = 1/4.0 pi*in^2 # # area of 1 inch circle |
| 504 |
circular mil = 1/4.0 pi*mil^2 # # area of 1 mil circle |
| 505 |
AWG Area = [in^2] pi/4*(92.0**((36-x)/39.0)/200.0)**2 ; \ |
| 506 |
36 - 39.0*log(200.0*sqrt(x*4.0/pi))/log(92.0) \ |
| 507 |
# American Wire Gauge \ |
| 508 |
# use -1, -2 for 00, 000; non-linear |
| 509 |
American Wire Gauge Area = [in^2] pi/4*(92.0**((36-x)/39.0)/200.0)**2 ; \ |
| 510 |
36 - 39.0*log(200.0*sqrt(x*4.0/pi))/log(92.0) \ |
| 511 |
# # use -1, -2 for 00, 000; non-linear |
| 512 |
|
| 513 |
|
| 514 |
# |
| 515 |
# volume units |
| 516 |
# |
| 517 |
[volume] |
| 518 |
cc = cm^3 # cubic centimeter |
| 519 |
cubic centimeter = cc |
| 520 |
liter = 1000 cc |
| 521 |
l = liter # liter |
| 522 |
litre = liter |
| 523 |
deciliter = 0.1 liter |
| 524 |
centiliter = 0.01 liter |
| 525 |
milliliter = cc |
| 526 |
ml = milliliter # milliliter |
| 527 |
microliter = 1e-6 liter |
| 528 |
dekaliter = 10 liter |
| 529 |
hectoliter = 100 liter |
| 530 |
kiloliter = 1000 liter |
| 531 |
kl = kiloliter # kiloliter |
| 532 |
megaliter = 1000 kiloliter |
| 533 |
gallon = 231 in^3 # # US liquid |
| 534 |
gal = gallon # gallon # US liquid |
| 535 |
quart = 1/4.0 gallon # # US liquid |
| 536 |
qt = quart # quart # US liquid |
| 537 |
pint = 1/2.0 quart # # US liquid |
| 538 |
pt = pint # pint # US liquid |
| 539 |
fluid ounce = 1/16.0 pint # # US |
| 540 |
fl oz = fluid ounce # fluid ounce # US |
| 541 |
ounce fluid = fluid ounce # # US |
| 542 |
fluid dram = 1/8.0 fluid ounce # # US |
| 543 |
minim = 1/480.0 fluid ounce # # US |
| 544 |
imperial gallon = 4.54609 liter |
| 545 |
imp gal = imperial gallon # imperial gallon |
| 546 |
gallon imperial = imperial gallon |
| 547 |
imperial quart = 1/4.0 imp gal |
| 548 |
imp qt = imperial quart # imperial quart |
| 549 |
quart imperial = imperial quart |
| 550 |
imperial pint = 1/8.0 imp gal |
| 551 |
imp pt = imperial pint # imperial pint |
| 552 |
pint imperial = imperial pint |
| 553 |
imperial fluid ounce = 1/160.0 imp gal |
| 554 |
imp fl oz = imperial fluid ounce # imperial fluid ounce |
| 555 |
imperial fluid dram = 1/8.0 imp fl oz |
| 556 |
imperial minim = 1/480.0 imp fl oz |
| 557 |
cup = 8 fl oz |
| 558 |
tablespoon = 1/16.0 cup |
| 559 |
tbsp = tablespoon # tablespoon |
| 560 |
teaspoon = 1/3.0 tbsp |
| 561 |
tsp = teaspoon # teaspoon |
| 562 |
barrel = 42 gallon |
| 563 |
bbl = barrel # barrel |
| 564 |
shot = 1.5 fl oz |
| 565 |
fifth = 1/5.0 gallon # # alcohol |
| 566 |
wine bottle = 750 ml |
| 567 |
magnum = 1.5 liter # # alcohol |
| 568 |
keg = 15.5 gallon # # beer |
| 569 |
hogshead wine = 63 gal |
| 570 |
hogshead beer = 54 gal |
| 571 |
bushel = 2150.42 in^3 |
| 572 |
peck = 1/4.0 bushel |
| 573 |
cord = 128 ft^3 |
| 574 |
board foot = ft^2*in |
| 575 |
board feet = board foot |
| 576 |
|
| 577 |
|
| 578 |
# |
| 579 |
# velocity units |
| 580 |
# |
| 581 |
[velocity] |
| 582 |
knot = nmi/hr |
| 583 |
kt = knot # knot |
| 584 |
light speed = 2.99792458e8 m/s |
| 585 |
mph = mi/hr # miles/hour |
| 586 |
kph = km/hr # kilometers/hour |
| 587 |
mach = 340.29 m/s # # speed sound at STP |
| 588 |
[rot. velocity] |
| 589 |
rpm = rev/min # rev/min |
| 590 |
rps = rev/sec # rev/sec |
| 591 |
|
| 592 |
|
| 593 |
# |
| 594 |
# flow rate units |
| 595 |
# |
| 596 |
[fluid flow] |
| 597 |
gph = gal/hr # gallons/hour |
| 598 |
gpm = gal/min # gallons/minute |
| 599 |
cfs = ft^3/sec # cu ft/second |
| 600 |
cfm = ft^3/min # cu ft/minute |
| 601 |
lpm = l/min # liter/min |
| 602 |
[gas flow] |
| 603 |
sccm = atm*cc/min # std cc/min # pressure * flow |
| 604 |
sccs = atm*cc/sec # std cc/sec # pressure * flow |
| 605 |
slpm = atm*l/min # std liter/min # pressure * flow |
| 606 |
slph = atm*l/hr # std liter/hour # pressure * flow |
| 607 |
scfh = atm*ft^3/hour # std cu ft/hour # pressure * flow |
| 608 |
scfm = atm*ft^3/min # std cu ft/min # pressure * flow |
| 609 |
|
| 610 |
|
| 611 |
# |
| 612 |
# pressure units |
| 613 |
# |
| 614 |
[pressure] |
| 615 |
Pa = N/m^2 # pascal |
| 616 |
pascal = Pa |
| 617 |
hPa = 100 Pa # hectopascal |
| 618 |
hectopascal = hPa |
| 619 |
kPa = 1000 Pa # kilopascal |
| 620 |
kilopascal = kPa |
| 621 |
MPa = 1000 kPa # megapascal |
| 622 |
megapascal = MPa |
| 623 |
GPa = 1000 MPa # gigapascal |
| 624 |
gigapascal = GPa |
| 625 |
atm = 101325 Pa # atmosphere |
| 626 |
atmosphere = atm |
| 627 |
bar = 1e5 Pa |
| 628 |
mbar = 0.001 bar # millibar |
| 629 |
millibar = mbar |
| 630 |
microbar = 0.001 mbar |
| 631 |
decibar = 0.1 bar |
| 632 |
kilobar = 1000 bar |
| 633 |
megabar = 1000 kilobar |
| 634 |
mm Hg = mm*density Hg*gravity |
| 635 |
millimeter of Hg = mm Hg |
| 636 |
torr = mm Hg |
| 637 |
micron of Hg = micron*density Hg*gravity |
| 638 |
in Hg = in*density Hg*gravity # inch of Hg |
| 639 |
inch of Hg = in Hg |
| 640 |
m water = m*density water*gravity # meter of H2O # fresh water |
| 641 |
m H2O = m water # meter of H2O # fresh water |
| 642 |
meter of water = m water # # fresh water |
| 643 |
in water = in*density water*gravity # inch of H2O # fresh water |
| 644 |
in H2O = in water # inch of H2O # fresh water |
| 645 |
inch of water = in water # # fresh water |
| 646 |
ft water = ft*density water*gravity # feet of H2O # fresh water |
| 647 |
ft H2O = ft water # feet of H20 # fresh water |
| 648 |
feet of water = ft water # # fresh water |
| 649 |
foot of head = ft water # # fresh water |
| 650 |
ft hd = ft water # foot of head # fresh water |
| 651 |
psi = lbf/in^2 # pound / sq inch |
| 652 |
pound per sq inch = psi |
| 653 |
ksi = 1000 psi # 1000 lb / sq inch |
| 654 |
|
| 655 |
|
| 656 |
# |
| 657 |
# density units |
| 658 |
# |
| 659 |
[density] |
| 660 |
density water = gram/cm^3 |
| 661 |
density sea water = 1.025 gram/cm^3 |
| 662 |
density Hg = 13.5950981 gram/cm^3 |
| 663 |
density air = 1.293 kg/m^3 # # at STP |
| 664 |
density steel = 0.283 lb/in^3 # # carbon steel |
| 665 |
density aluminum = 0.098 lb/in^3 |
| 666 |
density zinc = 0.230 lb/in^3 |
| 667 |
density brass = 0.310 lb/in^3 # # 80Cu-20Zn |
| 668 |
density copper = 0.295 lb/in^3 |
| 669 |
density iron = 0.260 lb/in^3 # # cast iron |
| 670 |
density nickel = 0.308 lb/in^3 |
| 671 |
density tin = 0.275 lb/in^3 |
| 672 |
density titanium = 0.170 lb/in^3 |
| 673 |
density silver = 0.379 lb/in^3 |
| 674 |
density nylon = 0.045 lb/in^3 |
| 675 |
density polycarbonate = 0.045 lb/in^3 |
| 676 |
|
| 677 |
|
| 678 |
# |
| 679 |
# energy units |
| 680 |
# |
| 681 |
[energy] |
| 682 |
joule = N*m |
| 683 |
J = joule # joule |
| 684 |
kilojoule = 1000 joule |
| 685 |
kJ = kilojoule # kilojoule |
| 686 |
megajoule = 1000 kilojoule |
| 687 |
gigajoule = 1000 megajoule |
| 688 |
millijoule = 0.001 joule |
| 689 |
mJ = millijoule # millijoule |
| 690 |
calorie = 4.1868 J |
| 691 |
cal = calorie # calorie |
| 692 |
kilocalorie = 1000 cal |
| 693 |
kcal = kilocalorie # kilocalorie |
| 694 |
calorie food = kilocalorie |
| 695 |
thermie = 1000 kcal |
| 696 |
Btu = cal*lb*R/(g*K) # British thermal unit |
| 697 |
British thermal unit = Btu |
| 698 |
therm = 100000 Btu |
| 699 |
erg = cm*dyne |
| 700 |
electronvolt = 1.602176462e-19 J |
| 701 |
eV = electronvolt # electronvolt |
| 702 |
kWh = kW*hour # kilowatt-hour |
| 703 |
kilowatt hour = kWh |
| 704 |
ton TNT = 4.184e9 J |
| 705 |
tonne oil equivalent = 41.868 gigajoule |
| 706 |
tonne coal equivalent = 7000000 kcal |
| 707 |
|
| 708 |
|
| 709 |
# |
| 710 |
# power units |
| 711 |
# |
| 712 |
[power] |
| 713 |
watt = J/s |
| 714 |
W = watt # watt |
| 715 |
kilowatt = 1000 W |
| 716 |
kW = kilowatt # kilowatt |
| 717 |
megawatt = 1000 kW |
| 718 |
MW = megawatt # megawatt |
| 719 |
gigawatt = 1000 MW |
| 720 |
GW = gigawatt # gigawatt |
| 721 |
milliwatt = 0.001 W |
| 722 |
horsepower = 550 ft*lbf/sec |
| 723 |
hp = horsepower # horsepower |
| 724 |
metric horsepower = 75 kgf*m/s |
| 725 |
ton refrigeration = 12000 Btu/hr |
| 726 |
|
| 727 |
|
| 728 |
# |
| 729 |
# frequency |
| 730 |
# |
| 731 |
[frequency] |
| 732 |
hertz = unit/sec |
| 733 |
Hz = hertz # hertz |
| 734 |
millihertz = 0.001 Hz |
| 735 |
kilohertz = 1000 Hz |
| 736 |
kHz = kilohertz # kilohertz |
| 737 |
megahertz = 1000 kHz |
| 738 |
MHz = megahertz # megahertz |
| 739 |
gigahertz = 1000 MHz |
| 740 |
GHz = gigahertz # gigahertz |
| 741 |
|
| 742 |
|
| 743 |
# |
| 744 |
# radioactivity |
| 745 |
# |
| 746 |
[radioactivity] |
| 747 |
becquerel = unit/sec |
| 748 |
Bq = becquerel # becquerel |
| 749 |
curie = 3.7e10 Bq |
| 750 |
millicurie = 0.001 curie |
| 751 |
roentgen = 2.58e-4 coulomb/kg |
| 752 |
[radiation dose] |
| 753 |
gray = J/kg |
| 754 |
Gy = gray # gray |
| 755 |
centigray = 0.01 Gy |
| 756 |
rad. abs. dose = 0.01 Gy # # commonly rad |
| 757 |
sievert = J/kg # # equiv. dose |
| 758 |
millisievert = 0.001 sievert # # equiv. dose |
| 759 |
Sv = sievert # sievert # equiv. dose |
| 760 |
rem = 0.01 Sv # # roentgen equiv mammal |
| 761 |
millirem = 0.001 rem # # roentgen equiv mammal |
| 762 |
|
| 763 |
|
| 764 |
# |
| 765 |
# viscosity |
| 766 |
# |
| 767 |
[dyn viscosity] |
| 768 |
poise = g/(cm*s) |
| 769 |
P = poise # poise |
| 770 |
centipoise = 0.01 poise |
| 771 |
cP = centipoise # centipoise |
| 772 |
|
| 773 |
[kin viscosity] |
| 774 |
stokes = cm^2/s |
| 775 |
St = stokes # stokes |
| 776 |
centistokes = 0.01 stokes |
| 777 |
cSt = centistokes # centistokes |
| 778 |
|
| 779 |
|
| 780 |
# |
| 781 |
# misc. units |
| 782 |
# |
| 783 |
[acceleration] |
| 784 |
gravity = 9.80665 m/s^2 |
| 785 |
galileo = cm/s^2 |
| 786 |
[constant] |
| 787 |
gravity constant = 6.673e-11 N*m^2/kg^2 |
| 788 |
gas constant = 8.314472 J/(mol*K) # R |
| 789 |
[fuel consumpt.] |
| 790 |
mpg = mi/gal # miles/gallon |
| 791 |
mpg imp = mi/gallon imperial # miles/gallon imp |
| 792 |
liter per 100 km = [mpg] 3.785411784 / (x * 0.01609344) ; \ |
| 793 |
3.785411784 / (x * 0.01609344) # # non-linear |
| 794 |
[permeability] |
| 795 |
darcy = 1 cm^2*centipoise/atm/s |
| 796 |
millidarcy = 0.001 darcy |
| 797 |
|