# Default Pint units definition file
# Based on the International System of Units
# Language: english
# author: Andreas Geiges

# economical dimension

Th = 1e3 = th-
Mi- = 1e6 = mi-
Bi- = 1e9 = bi-
Tr- = 1e12 = tr

USD = [dollar_currency] = usd
USD_2005 = USD2005 = [dollar_currency_2005]
USD_2010 = USD2010 = [dollar_currency_2010]
USD_2016 = USD2016 = [dollar_currency_2016]
USD_2018 = USD2018 = [dollar_currency_2018]

billion_USD = 1e9 * USD
billion_USD_2005 = 1e9 * USD_2005_ppp
billion_USD_2010 = 1e9 * USD_2010_ppp


EUR = [euro_currency] = eur
USD_ppp_2011 = [constant_PPP2011]
million_USD_ppp_2011 = USD_ppp_2011 * 1e6
USD_ppp_2012 = [constant_PPP2012]
USD_ppp_2015 = [constant_PPP2015]
USD_ppp_2016 = [constant_PPP2016]
USD_ppp_2018 = [constant_PPP2018]
USD_MER_2018 = [constant_MER2018]
cuPPP = [current_PPP]




# social dimension
capita = [count]
cap = 1* capita
person = 1 * capita
thousands = 1000 * count
millions = 1000000 * count

# Transport
[person_travelled] = [count * length]
pkm = person * km
[mass_transported] = [mass * length]
tkm = tonnes *km


# energy related
oe = 41.868 * 1e6 * J / kg = oil_equivalent
kg oil_equivalent =  41.868 *1e6* J

# climate context
[AGWP] = [Power] * [time] / [area] / [mass]
AGWP_CO2 =  9.17E-14 * W * yr /m**2 / kg
#CO2eq = [CO2-equiv]
#CO2eq = 1 * [GWP]
 
#NF3 = NF3
#NO2 = 265 * CO2eq
CH4eq = [CH4 equivalent]
CF4eq = [CF4 equivalent]
HFC134aeq = [HFC134a equivalent]
# relative
#percent = 100 * dimensionless
#none = dimensionless

@context(n=1) spectroscopy = sp
    # n index of refraction of the medium.
    [length] <-> [frequency]: speed_of_light / n / value
    [frequency] -> [energy]: planck_constant * value
    [energy] -> [frequency]: value / planck_constant
@end

