///////////////////////////////////////////////
// UNIT DEFINITIONS  //////////////////////////
//  UnitSystem;UnitName;UnitAliases...;...; ///
///////////////////////////////////////////////

//Baseflow
SI;cms/km2
English;cfs/mi2

//Length
SI;km;kilometer;kilometers
SI;m;meter;metre;meters;metres;METERS
SI;cm;centimeter;centimeters
SI;mm;MM;millimeter;millimeters
English;mi;mile;miles;Mile
English;ft;feet;FEET;FT;foot;Feet;foot_survey_us
English;in;inch;inches;INCHES;IN;Inch

//Time
SI;sec;second;seconds;SEC
SI;min;minute;minutes;MIN
SI;hr;hour;hours;HR;HOUR;HOURS
English;sec;second;seconds;SEC
English;min;minute;minutes;MIN
English;hr;hour;hours;HR;HOUR;HOURS

//Area
SI;m2;sq m;sq meter;sq meters;square meters;M2
SI;ha;hectare;hectares
SI;1000 m2;1000 sq m;1000 sq meters;1000 M2
SI;km2;sqkm;sq km;sq.km
English;ft2;sq ft;square feet
English;acre;acres;ACRES
English;mile2;mi2;sq mi;sq mile;sq miles;square miles
English;1000 acre

//Volume
SI;m3;cu m;cu meter;cu meters;cubic meters;M3
SI;km3;cu km
SI;1000 m3;1000 cu m;1000 M3
English;ft3;cu ft;cubic feet
English;ac-ft;acft;acre-ft;acre-feet;ACFT
English;kaf;1000 ac-ft;KAF
English;mile3;cu mile;cu miles
English;kgal;KGAL;tgal;TGAL;1000 gallon;1000 gallons
English;gal;GAL;gallon;gallons
English;mgal;MGAL;million gallon;millon gallons
English;sfd;SFD;dsf;DSF;second-foot-day;cfs-day
English;ksfd;KSFD;kdsf;KDSF;ksecond-foot-day;kcfs-day;1000 sfd;1000 cfs-day
SI;mcm;1000000 m3

//Rate
SI;mm/day
SI;mm/hr
SI;kph
SI;m/s
SI;m/hr
SI;mm/deg-day;mm/deg-d
SI;cm/day
SI;tonne/day
English;in/day
English;in/hr
English;ft/s;ft/sec;fps
English;ft/hr
English;mph
English;in/deg-day;in/deg-d
English;ton/day

//Volume Rate
SI;cms;CMS;m3/sec;cu-meters/sec;m3/s;M3/S;M3/SEC
SI;kcms;1000cms;KCMS
English;cfs;CFS;ft3/sec;ft3/s;cu-ft/sec;cuft/sec;cusecs;FT3/SEC;FT3/S;ft³/s
English;kcfs;1000 cfs;1000 ft3/sec;1000 cu-ft/sec;KCFS
English;gpm;GPM;Gal/min;gallons per minute
English;mgd;MGD;million gallons/day;
English;KAF/mon;1000 ac-ft/mon;
SI;mcm/mon;

//Spin Rate
SI;rpm;revolutions per minute;rev/min
English;rpm;revolutions per minute;rev/min

//Pressure
SI;kPa;kN/m2
English;in-hg
SI;mm-hg
English;psi;lbs/sqin
SI;mb;millibar;millibars;mbar;mbars

//Temperature
SI;C;Centigrade;Celcius;Deg-C;DEG-C;DegC;degC;DEG C;deg C;deg c
English;F;Fahrenheit;Deg-F;DEG-F;DegF;degF;DEG F;deg F;deg f
SI;degC-day
English;degF-day

//Angular
SI;deg
English;deg

//Unitless
SI;%;percent;PERCENT
English;%;percent;PERCENT
SI;unit
English;unit

//This is used for the Parameter Penalty, it is NOT Currency
//A given K$ number is an established value that can be 
//compared to other K$ and ranked according to worth. 
SI;K$
English;K$

// No unit
SI;n/a
English;n/a

// pH
SI;su
English;su

// Turbidity
SI;jtu;JTU
SI;ntu;NTU
SI;fnu;FNU
English;jtu;JTU
English;ntu;NTU
English;fnu;FNU

// Mass/Volume
SI;mg/l;mg/L;millgrams/liter;milligrams per liter
SI;g/l;gm/l;grams per liter
English;g/l;gm/l;grams/liter;grams per liter
English;ppm
SI;g/cm3;gm/cm3
English;lb/ft3;lbs/ft3
SI;g/m3;gm/m3

// Weight
English;lb;lbs

// Electrical
SI;umho/cm;umhos/cm;UMHOS/CM;UMHO/CM
English;umho/cm;umhos/cm;UMHOS/CM;UMHO/CM
SI;volt;Volt;VOLT;volts;Volts;VOLTS
English;volt;Volt;VOLT;volts;Volts;VOLTS

// Power
SI;W
SI;kW;KW
SI;MW
SI;GW
SI;TW
English;W
English;kW;KW
English;MW
English;GW
English;TW

//Energy
SI;Wh
SI;kWh;KWH
SI;MWh;MWH
SI;GWh
SI;TWh
English;Wh
English;kWh;KWH
English;MWh;MWH
English;GWh
English;TWh

// Solar Radiation
SI;J/m2
English;langley


// Solar Irradiance
SI;W/m2
English;langley/min

// Currency
SI;$
English;$

//Currency per Volume
SI;$/mcm
English;$/KAF

// Decay Coeffs
SI;1/m
English;1/ft

////////////////////////////////////////////////////////////
////////////////CONVERSIONS/////////////////////////////////
////////////////////////////////////////////////////////////

// Length Conversions (SI/English based on 2.54cm/in)
SI;cm>English;ft;0.03280839895013123
SI;cm>English;in;0.3937007874015748
SI;cm>SI;km;0.000010
SI;cm>SI;m;0.010
SI;cm>English;mi;0.000006213711922373339
SI;cm>SI;mm;10

English;ft>SI;cm;30.480
English;ft>English;in;12.0
English;ft>SI;km;0.00030480
English;ft>SI;m;0.30480
English;ft>English;mi;0.0001893939393939394
English;ft>SI;mm;304.80

English;in>SI;cm;2.540000000000000
English;in>English;ft;0.08333333333333333
English;in>SI;km;0.00002540000000000000
English;in>SI;m;0.02540000000000000
English;in>English;mi;0.00001578282828282828
English;in>SI;mm;25.40000000000000

SI;km>SI;cm;1.0E+5
SI;km>English;ft;3280.839895013123
SI;km>English;in;39370.07874015748
SI;km>SI;m;1.0E+3
SI;km>English;mi;0.6213711922373339
SI;km>SI;mm;1.0E+6

SI;m>SI;cm;1.0E+2
SI;m>English;ft;3.280839895013123
SI;m>English;in;39.37007874015748
SI;m>SI;km;0.0010
SI;m>English;mi;0.0006213711922373339
SI;m>SI;mm;1.0E+3

English;mi>SI;cm;160934.400
English;mi>English;ft;5280.0
English;mi>English;in;63360.0
English;mi>SI;km;1.60934400
English;mi>SI;m;1609.34400
English;mi>SI;mm;1609344.00

SI;mm>SI;cm;0.10
SI;mm>English;ft;0.003280839895013123
SI;mm>English;in;0.03937007874015748
SI;mm>SI;km;0.0000010
SI;mm>SI;m;0.0010
SI;mm>English;mi;6.213711922373339E-7

// Decay Coeffs
English;1/ft>SI;1/m;3.280839895013123

// Currency Conversions
English;$>SI;$;1
SI;$>English;$;1

// Currency per Volume Conversions
English;$/KAF>SI;$/mcm;1.23348183754752

// Time Conversions
English;hr>SI;sec;3600.
English;min>SI;sec;60.
SI;hr>SI;sec;3600.
SI;min>SI;sec;60.
English;hr>English;sec;3600.
English;min>English;sec;60.

// Area Conversions
English;acre>English;ft2;43560
English;acre>SI;m2;4046.8564224
SI;km2>English;mile2;3.861021585424458e-001
SI;m2>English;mile2;3.861021585424458e-007
SI;m2>SI;ha;1.0e-004
English;ft2>SI;m2;0.09290304
English;mile2>English;acre;640
SI;1000 m2>SI;m2;1000
English;acre>SI;1000 m2;4.0468564224
SI;km2>SI;m2;1000000
SI;ha>English;acre;2.471053814671653
English;ft2>SI;cm2;929.0304
English;acre>SI;km2;.0040468564224

// Volume Conversions
English;ac-ft>SI;m3;1233.48183754752
English;kaf>SI;m3;1233481.83754752
English;kaf>SI;km3;0.00123348183754752
English;mile3>SI;km3;4.168181825440580
SI;km3>SI;m3;1000000000
English;ac-ft>SI;km3;.00000123348183754752
English;kaf>SI;m3;1233481.83754752
English;kaf>English;ac-ft;1000
English;mile3>SI;m3;4168181825.440580        
English;mile3>English;ac-ft;3379200
SI;1000 m3>SI;m3;1000
English;ac-ft>SI;1000 m3;1.23348183754752
// Gallon conversions based on assuming 1 gal = 231 in3
English;kgal>SI;m3;3.7854120
English;gal>SI;m3;0.0037854120
English;mgal>SI;m3;3785.4120
English;kgal>English;gal;1000.
English;mgal>English;gal;1000000.
SI;m3>English;ft3;35.314666721488590250438010354003
English;ac-ft>English;sfd;5.041666666666667e-001
English;ac-ft>English;ksfd;5.041666666666667e-004
English;sfd>SI;m3;2446.5755455488
English;ksfd>English;sdf;1000.



SI;mcm>SI;m3;1000000.
English;kaf>SI;mcm;1.23348183754752

// Rate Conversions
English;mph>SI;kph;1.609344
English;in/day>SI;mm/day;25.4
English;in/hr>SI;mm/hr;25.4
SI;mm/hr>SI;mm/day;24.
English;in/hr>English;in/day;24.
English;ft/s>SI;m/s;0.3048
English;ft/hr>SI;m/hr;0.3048
English;ft/hr>SI;ft/s;2.777777777777778e-004
English;m/hr>SI;m/s;2.777777777777778e-004
English;ft/s>SI;kph;1.09728
SI;m/s>SI;kph;3.6
English;in/day>SI;cm/day;2.54
English;in/deg-day>SI;mm/deg-day;45.72
English;ton/day>SI;tonne/day;.90718474

// Spin Rate Conversions
English;rpm>SI;rpm;1.

// Mass/Volume Conversions
SI;mg/l>English;ppm;1.0
English;g/l>SI;mg/l;1000.
SI;mg/l>SI;g/cm3;1.0e-006
SI;g/l>SI;mg/l;1000.
SI;g/cm3>English;ppm;1.0e+006
SI;g/cm3>English;lb/ft3;62.42796057614462
English;lb/ft3>SI;g/cm3;0.01601846337396014
SI;mg/l>SI;g/m3;1.0

// Volume Rate Conversions
SI;cms>English;cfs;35.314666721488590250438010354003
SI;cms>English;kcfs;0.035314666721488590250438010354003
SI;cms>English;gpm;15850.32223705108        
English;gpm>English;cfs;0.00222800938639206
English;cfs>English;gpm;448.8311432203417
English;kcfs>English;cfs;1000
SI;cms>English;mgd;22.82446402135356
SI;kcms>SI;cms;1000
English;KAF/mon>SI;mcm/mon;1.23348183754752

//Baseflow Conversions
SI;cms/km2>English;cfs/mi2;91.46456692913386        
English;cfs/mi2>SI;cms/km2;0.01093319559228650

// Electrical Conversions
SI;kW>English;MW;.001
SI;MW>English;MW;1.
SI;GW>English;MW;1000.
SI;TW>English;MW;1000000.
SI;kW>SI;MW;.001
SI;GW>SI;MW;1000.
SI;TW>SI;MW;1000000.
English;kW>English;MW;.001
English;GW>English;MW;1000.
English;TW>English;MW;1000000.

SI;kWh>English;MWh;.001
SI;GWh>English;MWh;1000.
SI;TWh>English;MWh;1000000.
SI;kWh>SI;MWh;.001
SI;GWh>SI;MWh;1000.
SI;TWh>SI;MWh;1000000.
English;kWh>English;MWh;.001
English;GWh>English;MWh;1000.
English;TWh>English;MWh;1000000.

// Pressure Conversions
// For conversions involving in-hg and mm-hg, the density of mercury 
// at 0 degC is used, which is 13.5951 g/cm3 (from http://www.sizes.com/units/mmHg.htm).
English;in-hg>SI;kPa;3.3863890
SI;mm-hg>SI;kPa;0.13332240
SI;kPa>SI;mb;10.
English;psi>SI;kPa;6.8947570
English;in-hg>SI;mm-hg;25.4
SI;mm-hg>English;psi;0.01933678010697114
English;in-hg>SI;mb;33.863890
English;in-hg>English;psi;0.4911542205185767

// Temperature Conversions
English;F>SI;C;ARG 0|32.|-|5|*|9|/
SI;C>English;F;ARG 0|9|*|5|/|32.|+

// Weight Conversions
English;lb>SI;gm;453.59237

// Solar Radiation/Irradiance Conversion
English;langley>SI;J/m2;41840
English;langley/min>SI;W/m2;697.3333333333333

// Cross System Conversions for Same units
SI;sec>English;sec;1
SI;min>English;min;1
SI;hr>English;hr;1
SI;%>English;%;1
SI;ppm>English;ppm;1
SI;su>English;su;1
SI;mg/l>SI;gm/cm3;1.0e-006
SI;deg>English;deg;1
SI;umho/cm>English;umho/cm;1
SI;n/a>English;n/a;1
SI;unit>English;unit;1
SI;jtu>English;jtu;1
SI;ntu>English;ntu;1
SI;fnu>English;fnu;1
SI;volt>English;volt;1
SI;W>English;W;1.
SI;MW>English;MW;1.
SI;MWh>English;MWh;1.
SI;Wh>English;Wh;1.
SI;$>English;$;1.
