earth 0.12.3 → 0.12.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/TODO +1 -0
- data/bin/earth_tester.rb +39 -47
- data/data/air/airlines.csv +45 -0
- data/data/air/airports.csv +11 -0
- data/data/hospitality/lodging_classes.csv +4 -0
- data/data/locality/national_electricity_efs.csv +137 -0
- data/earth.gemspec +1 -1
- data/errata/airline/bts_carrier_codes_errata.csv +2 -0
- data/lib/earth.rb +3 -0
- data/lib/earth/active_record_base_class_methods.rb +25 -0
- data/lib/earth/air/aircraft.rb +5 -4
- data/lib/earth/air/airline.rb +5 -1
- data/lib/earth/air/airline/data_miner.rb +1 -1
- data/lib/earth/air/airport.rb +10 -2
- data/lib/earth/air/airport/data_miner.rb +11 -5
- data/lib/earth/air/bts_aircraft.rb +1 -1
- data/lib/earth/air/flight_segment.rb +14 -1
- data/lib/earth/air/flight_segment/data_miner.rb +6 -13
- data/lib/earth/automobile/automobile_activity_year/data_miner.rb +1 -1
- data/lib/earth/automobile/automobile_activity_year_type/data_miner.rb +1 -1
- data/lib/earth/automobile/automobile_fuel/data_miner.rb +5 -5
- data/lib/earth/automobile/automobile_make/data_miner.rb +1 -1
- data/lib/earth/automobile/automobile_make_model/data_miner.rb +1 -1
- data/lib/earth/automobile/automobile_make_model_year/data_miner.rb +1 -1
- data/lib/earth/automobile/automobile_make_model_year_variant/data_miner.rb +6 -6
- data/lib/earth/automobile/automobile_type_fuel/data_miner.rb +2 -2
- data/lib/earth/automobile/automobile_type_fuel_year/data_miner.rb +1 -1
- data/lib/earth/conversions_ext.rb +7 -6
- data/lib/earth/fuel/fuel.rb +1 -1
- data/lib/earth/fuel/fuel/data_miner.rb +1 -3
- data/lib/earth/hospitality/commercial_building_energy_consumption_survey_response.rb +3 -1
- data/lib/earth/hospitality/commercial_building_energy_consumption_survey_response/data_miner.rb +44 -11
- data/lib/earth/hospitality/lodging_class.rb +0 -1
- data/lib/earth/hospitality/lodging_class/data_miner.rb +3 -9
- data/lib/earth/industry/merchant_category/data_miner.rb +14 -0
- data/lib/earth/locality/country.rb +33 -7
- data/lib/earth/locality/country/data_miner.rb +46 -32
- data/lib/earth/locality/egrid_subregion.rb +1 -1
- data/lib/earth/locality/egrid_subregion/data_miner.rb +16 -31
- data/lib/earth/locality/electricity_mix.rb +37 -0
- data/lib/earth/locality/electricity_mix/data_miner.rb +87 -0
- data/lib/earth/locality/state.rb +12 -4
- data/lib/earth/locality/state/data_miner.rb +33 -18
- data/lib/earth/locality/zip_code.rb +9 -1
- data/lib/earth/locality/zip_code/data_miner.rb +4 -0
- data/lib/earth/rail/country_rail_traction/data_miner.rb +2 -2
- data/lib/earth/rail/country_rail_traction_class/data_miner.rb +2 -2
- data/lib/earth/rail/national_transit_database_record.rb +4 -0
- data/lib/earth/rail/rail_company/data_miner.rb +3 -3
- data/lib/earth/rail/rail_fuel/data_miner.rb +1 -1
- data/lib/earth/residence/clothes_machine_use/data_miner.rb +1 -1
- data/lib/earth/residence/dishwasher_use/data_miner.rb +1 -1
- data/lib/earth/residence/residence_fuel_price.rb +1 -1
- data/lib/earth/version.rb +1 -1
- data/spec/earth/air/airline_spec.rb +1 -1
- data/spec/earth/air/airport_spec.rb +7 -0
- data/spec/earth/air/flight_segment_spec.rb +26 -12
- data/spec/earth/automobile/automobile_type_fuel_spec.rb +1 -1
- data/spec/earth/automobile/automobile_type_fuel_year_spec.rb +3 -3
- data/spec/earth/fuel/fuel_spec.rb +1 -1
- data/spec/earth/hospitality/commercial_building_energy_consumption_survey_response_spec.rb +32 -19
- data/spec/earth/hospitality/lodging_class_spec.rb +18 -0
- data/spec/earth/industry/mecs_energy_spec.rb +2 -2
- data/spec/earth/industry/mecs_ratio_spec.rb +1 -1
- data/spec/earth/industry/merchant_category_spec.rb +17 -0
- data/spec/earth/locality/country_spec.rb +32 -16
- data/spec/earth/locality/egrid_subregion_spec.rb +40 -27
- data/spec/earth/locality/electricity_mix_spec.rb +70 -0
- data/spec/earth/locality/state_spec.rb +10 -11
- data/spec/earth/locality/zip_code_spec.rb +9 -5
- data/spec/earth_spec.rb +4 -4
- data/spec/spec_helper.rb +3 -0
- metadata +19 -10
- data/lib/earth/hospitality/country_lodging_class.rb +0 -18
- data/lib/earth/hospitality/country_lodging_class/data_miner.rb +0 -40
- data/lib/earth/industry/merchant.rb +0 -9
- data/spec/earth/hospitality/country_lodging_class_spec.rb +0 -30
data/Gemfile
CHANGED
data/TODO
CHANGED
data/bin/earth_tester.rb
CHANGED
@@ -7,6 +7,11 @@ end
|
|
7
7
|
if File.exist?(File.join(Dir.pwd, 'earth.gemspec'))
|
8
8
|
require 'bundler'
|
9
9
|
Bundler.setup
|
10
|
+
if Bundler.definition.specs['debugger'].first
|
11
|
+
require 'debugger'
|
12
|
+
elsif Bundler.definition.specs['ruby-debug'].first
|
13
|
+
require 'ruby-debug'
|
14
|
+
end
|
10
15
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
11
16
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
12
17
|
end
|
@@ -14,48 +19,34 @@ end
|
|
14
19
|
require 'active_support/all'
|
15
20
|
require 'active_record'
|
16
21
|
|
17
|
-
case ENV['
|
18
|
-
when
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
database
|
29
|
-
username = nil
|
30
|
-
password = nil
|
22
|
+
case ENV['DATABASE']
|
23
|
+
when /postgr/i
|
24
|
+
system %{dropdb test_earth}
|
25
|
+
system %{createdb test_earth}
|
26
|
+
ActiveRecord::Base.establish_connection(
|
27
|
+
'adapter' => 'postgresql',
|
28
|
+
'encoding' => 'utf8',
|
29
|
+
'database' => 'test_earth',
|
30
|
+
'username' => `whoami`.chomp
|
31
|
+
)
|
32
|
+
when /sqlite/i
|
33
|
+
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
|
31
34
|
else
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
35
|
+
system %{mysql -u root -ppassword -e "DROP DATABASE test_earth"} if ENV['RESET_DB'] == 'true'
|
36
|
+
system %{mysql -u root -ppassword -e "CREATE DATABASE test_earth CHARSET utf8"}
|
37
|
+
ActiveRecord::Base.establish_connection(
|
38
|
+
'adapter' => (RUBY_PLATFORM == 'java' ? 'mysql' : 'mysql2'),
|
39
|
+
'encoding' => 'utf8',
|
40
|
+
'database' => 'test_earth',
|
41
|
+
'username' => 'root',
|
42
|
+
'password' => 'password'
|
43
|
+
)
|
41
44
|
end
|
42
45
|
|
43
|
-
config = {
|
44
|
-
'encoding' => 'utf8',
|
45
|
-
'adapter' => adapter,
|
46
|
-
'database' => database,
|
47
|
-
}
|
48
|
-
config['username'] = username if username
|
49
|
-
config['password'] = password if password
|
50
|
-
|
51
|
-
ActiveRecord::Base.establish_connection config
|
52
|
-
|
53
46
|
require 'earth'
|
54
47
|
|
55
|
-
domain = ARGV[0]
|
56
|
-
|
57
48
|
DataMiner.unit_converter = :conversions
|
58
|
-
|
49
|
+
|
59
50
|
DataMiner::Run.auto_upgrade!
|
60
51
|
|
61
52
|
ActiveRecord::Base.logger = Logger.new $stderr
|
@@ -75,15 +66,16 @@ def show_resource(resource)
|
|
75
66
|
end
|
76
67
|
end
|
77
68
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
DataMiner.run
|
85
|
-
Earth.resources(domain).each do |resource|
|
86
|
-
show_resource resource
|
87
|
-
end
|
69
|
+
def init(domain)
|
70
|
+
Earth.init domain, :load_data_miner => true, :apply_schemas => true
|
71
|
+
end
|
72
|
+
|
73
|
+
if ARGV[0]
|
74
|
+
init ARGV[0]
|
88
75
|
end
|
89
|
-
|
76
|
+
|
77
|
+
require 'pry'
|
78
|
+
Pry.color = false
|
79
|
+
|
80
|
+
# you prob want to init() something
|
81
|
+
binding.pry
|
@@ -0,0 +1,45 @@
|
|
1
|
+
name,secondary_name,icao_code,icao_code_source,iata_code,iata_code_source,notes
|
2
|
+
ABSA Cargo,,TUS,Wikipedia,M3,IATA
|
3
|
+
ABX Air,,ABX,Wikipedia,GB,IATA
|
4
|
+
AeroSucre,,KRE,Wikipedia,6N,IATA
|
5
|
+
Air Hong Kong,,AHK,Wikipedia,LD,IATA
|
6
|
+
Air Slovakia,,SVK,Wikipedia,GM,IATA
|
7
|
+
Air Tanzania,,ATC,Wikipedia,TC,IATA
|
8
|
+
Airlift International,,LFM,ICAO
|
9
|
+
Amerijet International,,AJT,Wikipedia,M6,IATA
|
10
|
+
Arrow Cargo,,APW,Wikipedia,JW,IATA
|
11
|
+
BA Connect,,BRT,Wikipedia
|
12
|
+
Baboo,,BBO,Wikipedia,F7,IATA
|
13
|
+
Bluebird Cargo,,BBD,Wikipedia,BF,IATA
|
14
|
+
China Cargo Airlines,,CKK,Wikipedia,CK,IATA
|
15
|
+
China Postal Airlines,,CYZ,Wikipedia,8Y,IATA
|
16
|
+
Domodedovo Airlines,,DMO,Wikipedia,E3,IATA
|
17
|
+
Eurojet Romania,,RDP,Wikipedia
|
18
|
+
FedEx,,FDX,Wikipedia,FX,IATA
|
19
|
+
Florida West Airlines,,FWL,Wikipedia,RF,IATA
|
20
|
+
GB Airways,,GBL,Wikipedia,GT,IATA
|
21
|
+
Grandstar Cargo,,GSC,Wikipedia,GD,IATA
|
22
|
+
Great Wall Airlines,,GWL,Wikipedia,IJ,IATA
|
23
|
+
Highland Airways,,HWY,Wikipedia,8H,IATA
|
24
|
+
Itek Air,,IKA,Wikipedia,GI,IATA
|
25
|
+
Jade Cargo International,,JAE,Wikipedia,JI,IATA
|
26
|
+
KrasAir,,KJC,Wikipedia,7B,IATA
|
27
|
+
MAT,Macedonian Airlines,MAK,Wikipedia,IN,IATA
|
28
|
+
Mexicana,,MXA,Wikipedia,MX,IATA
|
29
|
+
MIA Airlines,,JLA,Wikipedia
|
30
|
+
NCA,Nippon Cargo Airlines,NCA,Wikipedia,KZ,IATA
|
31
|
+
Northwest Airlines,,NWA,Wikipedia,NW,IATA
|
32
|
+
Polar Air Cargo,,PAC,Wikipedia,PO,IATA
|
33
|
+
Romavia,,RMV,Wikipedia,WQ,IATA
|
34
|
+
SAM,,SAM,ICAO,,,subsidiary of Avianca
|
35
|
+
Shanghai Airlines Cargo,,SHQ,Wikipedia,F4,IATA
|
36
|
+
Shenzhen Donghai Airlines,,EPA,Wikipedia
|
37
|
+
Silverjet,,FJE,Wikipedia
|
38
|
+
SkyEurope,,ESK,Wikipedia,NE,IATA
|
39
|
+
Tavria-Mak,,TVM,Wikipedia
|
40
|
+
Tiriac Air,,TIH,Wikipedia
|
41
|
+
UPS,,UPS,Wikipedia,5X,IATA
|
42
|
+
Varig,,VRG,Wikipedia,RG,IATA
|
43
|
+
VarigLog,,VLO,Wikipedia
|
44
|
+
Yangtze River Express,,YZR,Wikipedia,Y8,IATA
|
45
|
+
Zoom Airlines,,UKZ,Wikipedia
|
@@ -0,0 +1,11 @@
|
|
1
|
+
iata_code,name,city,country_name,latitude,longitude,source
|
2
|
+
MSG,Matsaile,Matsaile,Lesotho,-29.7263,28.7701,Brighter Planet
|
3
|
+
ILB,Ilha Solteira,Ilha Solteira,Brazil,-20.3979,-51.3583,Brighter Planet
|
4
|
+
SJS,San Jose,San Jose,"Bolivia, Plurinational State Of",-17.8309,-60.7435,Brighter Planet
|
5
|
+
KMB,Koinambe,Koinambe,Papua New Guinea,-5.485,144.599,Brighter Planet
|
6
|
+
KCF,Kadanwari,Kadanwari,Pakistan,27.2064,69.1564,Brighter Planet
|
7
|
+
OYA,Goya,Goya,Argentina,-29.145,-59.263,Brighter Planet
|
8
|
+
AMO,Mao,Mao,Chad,8.248,16.663,Brighter Planet
|
9
|
+
BTZ,Bursa,Bursa,Turkey,40.234,29.01,Brighter Planet
|
10
|
+
NBC,Naberevnye Chelny,Naberevnye Chelny,Russian Federation,55.564,52.103,Brighter Planet
|
11
|
+
QUG,Chichester/Goodwood,Chichester,United Kingdom,50.859,-0.759,Brighter Planet
|
@@ -0,0 +1,137 @@
|
|
1
|
+
country_iso_3166_code,co2_emission_factor,co2_emission_factor_units,ch4_emission_factor,ch4_emission_factor_units,n2o_emission_factor,n2o_emission_factor_units,loss_factor,source,source_detail,source_url
|
2
|
+
AE,0.938297499,kilograms_per_kilowatt_hour,0.0000172,kilograms_per_kilowatt_hour,0.0000018,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
3
|
+
AL,0.009130088,kilograms_per_kilowatt_hour,0.00000037,kilograms_per_kilowatt_hour,7.39E-08,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
4
|
+
AM,0.128177031,kilograms_per_kilowatt_hour,0.00000228,kilograms_per_kilowatt_hour,0.000000228,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
5
|
+
AO,0.037950113,kilograms_per_kilowatt_hour,0.0000015,kilograms_per_kilowatt_hour,0.000000301,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
6
|
+
AR,0.391932833,kilograms_per_kilowatt_hour,0.00000854,kilograms_per_kilowatt_hour,0.00000137,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
7
|
+
AT,0.176796609,kilograms_per_kilowatt_hour,0.00000221,kilograms_per_kilowatt_hour,0.00000114,kilograms_per_kilowatt_hour,0.061,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
8
|
+
AU,0.991757127,kilograms_per_kilowatt_hour,0.000011,kilograms_per_kilowatt_hour,0.0000138,kilograms_per_kilowatt_hour,0.078,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
9
|
+
AZ,0.391831037,kilograms_per_kilowatt_hour,0.00000779,kilograms_per_kilowatt_hour,0.000000929,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
10
|
+
BA,1.32624734,kilograms_per_kilowatt_hour,0.000014,kilograms_per_kilowatt_hour,0.0000202,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
11
|
+
BD,0.63714323,kilograms_per_kilowatt_hour,0.0000124,kilograms_per_kilowatt_hour,0.00000191,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
12
|
+
BE,0.224767376,kilograms_per_kilowatt_hour,0.00000286,kilograms_per_kilowatt_hour,0.00000111,kilograms_per_kilowatt_hour,0.049,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
13
|
+
BG,1.166008316,kilograms_per_kilowatt_hour,0.0000121,kilograms_per_kilowatt_hour,0.0000172,kilograms_per_kilowatt_hour,0.148,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
14
|
+
BH,0.726834092,kilograms_per_kilowatt_hour,0.000013,kilograms_per_kilowatt_hour,0.0000013,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
15
|
+
BJ,0.700678676,kilograms_per_kilowatt_hour,0.0000282,kilograms_per_kilowatt_hour,0.00000563,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
16
|
+
BN,0.819498808,kilograms_per_kilowatt_hour,0.0000148,kilograms_per_kilowatt_hour,0.00000151,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
17
|
+
BO,0.534996875,kilograms_per_kilowatt_hour,0.0000136,kilograms_per_kilowatt_hour,0.00000209,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
18
|
+
BR,0.092643638,kilograms_per_kilowatt_hour,0.00000178,kilograms_per_kilowatt_hour,0.00000054,kilograms_per_kilowatt_hour,0.157,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
19
|
+
BW,1.825675055,kilograms_per_kilowatt_hour,0.0000193,kilograms_per_kilowatt_hour,0.0000289,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
20
|
+
BY,0.610873739,kilograms_per_kilowatt_hour,0.0000113,kilograms_per_kilowatt_hour,0.00000123,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
21
|
+
CA,0.179763325,kilograms_per_kilowatt_hour,0.00000225,kilograms_per_kilowatt_hour,0.00000237,kilograms_per_kilowatt_hour,0.085,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
22
|
+
CD,0.004158606,kilograms_per_kilowatt_hour,0.000000112,kilograms_per_kilowatt_hour,1.81E-08,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
23
|
+
CG,0.120109978,kilograms_per_kilowatt_hour,0.000002141,kilograms_per_kilowatt_hour,0.000000214,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
24
|
+
CH,0.003177437,kilograms_per_kilowatt_hour,7.02E-08,kilograms_per_kilowatt_hour,9.47E-09,kilograms_per_kilowatt_hour,0.07,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
25
|
+
CI,0.501179338,kilograms_per_kilowatt_hour,0.00000897,kilograms_per_kilowatt_hour,0.000000904,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
26
|
+
CL,0.408614261,kilograms_per_kilowatt_hour,0.00000874,kilograms_per_kilowatt_hour,0.00000507,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
27
|
+
CM,0.216568535,kilograms_per_kilowatt_hour,0.00000648,kilograms_per_kilowatt_hour,0.00000112,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
28
|
+
CN,0.972581723,kilograms_per_kilowatt_hour,0.0000105,kilograms_per_kilowatt_hour,0.0000152,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
29
|
+
CO,0.111425218,kilograms_per_kilowatt_hour,0.00000159,kilograms_per_kilowatt_hour,0.000000908,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
30
|
+
CR,0.063756361,kilograms_per_kilowatt_hour,0.00000257,kilograms_per_kilowatt_hour,0.000000514,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
31
|
+
CU,0.938086187,kilograms_per_kilowatt_hour,0.0000374,kilograms_per_kilowatt_hour,0.00000749,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
32
|
+
CY,0.771651255,kilograms_per_kilowatt_hour,0.0000299,kilograms_per_kilowatt_hour,0.00000599,kilograms_per_kilowatt_hour,0.045,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
33
|
+
CZ,0.93846226,kilograms_per_kilowatt_hour,0.00000958,kilograms_per_kilowatt_hour,0.0000138,kilograms_per_kilowatt_hour,0.108,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
34
|
+
DE,0.672220452,kilograms_per_kilowatt_hour,0.00000722,kilograms_per_kilowatt_hour,0.0000091,kilograms_per_kilowatt_hour,0.059,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
35
|
+
DK,0.374745583,kilograms_per_kilowatt_hour,0.0000049,kilograms_per_kilowatt_hour,0.00000479,kilograms_per_kilowatt_hour,0.119,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
36
|
+
DO,0.641741728,kilograms_per_kilowatt_hour,0.0000201,kilograms_per_kilowatt_hour,0.0000056,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
37
|
+
DZ,0.66420926,kilograms_per_kilowatt_hour,0.0000122,kilograms_per_kilowatt_hour,0.0000013,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
38
|
+
EC,0.269613843,kilograms_per_kilowatt_hour,0.00000959,kilograms_per_kilowatt_hour,0.00000183,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
39
|
+
EE,1.906907035,kilograms_per_kilowatt_hour,0.0000196,kilograms_per_kilowatt_hour,0.0000284,kilograms_per_kilowatt_hour,0.152,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
40
|
+
EG,0.500886095,kilograms_per_kilowatt_hour,0.0000116,kilograms_per_kilowatt_hour,0.00000165,kilograms_per_kilowatt_hour,0.127,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
41
|
+
ER,0.677991638,kilograms_per_kilowatt_hour,0.0000265,kilograms_per_kilowatt_hour,0.0000053,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
42
|
+
ES,0.34287509,kilograms_per_kilowatt_hour,0.00000553,kilograms_per_kilowatt_hour,0.00000307,kilograms_per_kilowatt_hour,0.071,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
43
|
+
ET,0.118948451,kilograms_per_kilowatt_hour,0.00000482,kilograms_per_kilowatt_hour,0.000000963,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
44
|
+
FI,0.225457295,kilograms_per_kilowatt_hour,0.00000261,kilograms_per_kilowatt_hour,0.00000243,kilograms_per_kilowatt_hour,0.044,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
45
|
+
FR,0.070927465,kilograms_per_kilowatt_hour,0.00000101,kilograms_per_kilowatt_hour,0.000000649,kilograms_per_kilowatt_hour,0.063,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
46
|
+
GA,0.425188882,kilograms_per_kilowatt_hour,0.0000122,kilograms_per_kilowatt_hour,0.00000205,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
47
|
+
GB,0.508501975,kilograms_per_kilowatt_hour,0.00000675,kilograms_per_kilowatt_hour,0.00000512,kilograms_per_kilowatt_hour,0.073,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
48
|
+
GE,0.089456936,kilograms_per_kilowatt_hour,0.00000159,kilograms_per_kilowatt_hour,0.000000159,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
49
|
+
GH,0.214767509,kilograms_per_kilowatt_hour,0.00000879,kilograms_per_kilowatt_hour,0.00000176,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
50
|
+
GI,0.772321446,kilograms_per_kilowatt_hour,0.0000299,kilograms_per_kilowatt_hour,0.00000599,kilograms_per_kilowatt_hour,0,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
51
|
+
GR,1.921092777,kilograms_per_kilowatt_hour,0.0000233,kilograms_per_kilowatt_hour,0.0000269,kilograms_per_kilowatt_hour,0.088,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
52
|
+
GT,0.341534936,kilograms_per_kilowatt_hour,0.00000968,kilograms_per_kilowatt_hour,0.00000367,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
53
|
+
HK,0.786680632,kilograms_per_kilowatt_hour,0.00000956,kilograms_per_kilowatt_hour,0.0000102,kilograms_per_kilowatt_hour,0.107,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
54
|
+
HN,0.415487352,kilograms_per_kilowatt_hour,0.0000161,kilograms_per_kilowatt_hour,0.00000323,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
55
|
+
HR,0.386458364,kilograms_per_kilowatt_hour,0.00000784,kilograms_per_kilowatt_hour,0.00000392,kilograms_per_kilowatt_hour,0.122,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
56
|
+
HT,0.483325309,kilograms_per_kilowatt_hour,0.0000194,kilograms_per_kilowatt_hour,0.00000388,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
57
|
+
HU,0.589672564,kilograms_per_kilowatt_hour,0.0000074,kilograms_per_kilowatt_hour,0.0000063,kilograms_per_kilowatt_hour,0.075,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
58
|
+
ID,0.684693977,kilograms_per_kilowatt_hour,0.0000141,kilograms_per_kilowatt_hour,0.00000775,kilograms_per_kilowatt_hour,0.116,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
59
|
+
IE,0.521193132,kilograms_per_kilowatt_hour,0.00000818,kilograms_per_kilowatt_hour,0.00000441,kilograms_per_kilowatt_hour,0.079,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
60
|
+
IL,0.740303524,kilograms_per_kilowatt_hour,0.0000108,kilograms_per_kilowatt_hour,0.00000966,kilograms_per_kilowatt_hour,0.03,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
61
|
+
IN,1.333174843,kilograms_per_kilowatt_hour,0.0000155,kilograms_per_kilowatt_hour,0.0000201,kilograms_per_kilowatt_hour,0.26,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
62
|
+
IQ,0.820614626,kilograms_per_kilowatt_hour,0.0000323,kilograms_per_kilowatt_hour,0.00000646,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
63
|
+
IR,0.631113877,kilograms_per_kilowatt_hour,0.000015,kilograms_per_kilowatt_hour,0.0000022,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
64
|
+
IS,0.000193484,kilograms_per_kilowatt_hour,7.83E-09,kilograms_per_kilowatt_hour,1.57E-09,kilograms_per_kilowatt_hour,0.061,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
65
|
+
IT,0.410898038,kilograms_per_kilowatt_hour,0.00000708,kilograms_per_kilowatt_hour,0.00000281,kilograms_per_kilowatt_hour,0.056,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
66
|
+
JM,0.796106233,kilograms_per_kilowatt_hour,0.000031,kilograms_per_kilowatt_hour,0.00000619,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
67
|
+
JO,0.643924449,kilograms_per_kilowatt_hour,0.0000142,kilograms_per_kilowatt_hour,0.00000192,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
68
|
+
JP,0.443356848,kilograms_per_kilowatt_hour,0.0000071,kilograms_per_kilowatt_hour,0.00000396,kilograms_per_kilowatt_hour,0.048,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
69
|
+
KE,0.332297783,kilograms_per_kilowatt_hour,0.0000131,kilograms_per_kilowatt_hour,0.00000261,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
70
|
+
KG,0.091404273,kilograms_per_kilowatt_hour,0.00000132,kilograms_per_kilowatt_hour,0.000000768,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
71
|
+
KH,1.170839671,kilograms_per_kilowatt_hour,0.0000464,kilograms_per_kilowatt_hour,0.00000928,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
72
|
+
KP,0.494658925,kilograms_per_kilowatt_hour,0.00000655,kilograms_per_kilowatt_hour,0.00000745,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
73
|
+
KR,0.504377662,kilograms_per_kilowatt_hour,0.00000632,kilograms_per_kilowatt_hour,0.00000614,kilograms_per_kilowatt_hour,0.035,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
74
|
+
KW,0.637316929,kilograms_per_kilowatt_hour,0.0000214,kilograms_per_kilowatt_hour,0.00000398,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
75
|
+
KZ,0.923181405,kilograms_per_kilowatt_hour,0.0000107,kilograms_per_kilowatt_hour,0.0000138,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
76
|
+
LB,0.694755686,kilograms_per_kilowatt_hour,0.0000276,kilograms_per_kilowatt_hour,0.00000552,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
77
|
+
LK,0.417247633,kilograms_per_kilowatt_hour,0.0000164,kilograms_per_kilowatt_hour,0.00000329,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
78
|
+
LT,0.115934959,kilograms_per_kilowatt_hour,0.0000024,kilograms_per_kilowatt_hour,0.000000303,kilograms_per_kilowatt_hour,0.141,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
79
|
+
LU,0.276002537,kilograms_per_kilowatt_hour,0.00000492,kilograms_per_kilowatt_hour,0.000000492,kilograms_per_kilowatt_hour,0.015,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
80
|
+
LV,0.192071871,kilograms_per_kilowatt_hour,0.00000344,kilograms_per_kilowatt_hour,0.000000404,kilograms_per_kilowatt_hour,0.142,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
81
|
+
LY,0.919629046,kilograms_per_kilowatt_hour,0.0000306,kilograms_per_kilowatt_hour,0.00000563,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
82
|
+
MA,0.731211458,kilograms_per_kilowatt_hour,0.000013019,kilograms_per_kilowatt_hour,0.00000945,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
83
|
+
MD,0.637194856,kilograms_per_kilowatt_hour,0.0000117,kilograms_per_kilowatt_hour,0.00000124,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
84
|
+
MK,1.9406436,kilograms_per_kilowatt_hour,0.0000204,kilograms_per_kilowatt_hour,0.0000291,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
85
|
+
MM,0.315665174,kilograms_per_kilowatt_hour,0.00000622,kilograms_per_kilowatt_hour,0.00000073,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
86
|
+
MN,2.310868705,kilograms_per_kilowatt_hour,0.0000245,kilograms_per_kilowatt_hour,0.0000346,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
87
|
+
MT,0.866166929,kilograms_per_kilowatt_hour,0.0000338,kilograms_per_kilowatt_hour,0.00000675,kilograms_per_kilowatt_hour,0.136,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
88
|
+
MX,0.452483345,kilograms_per_kilowatt_hour,0.0000103,kilograms_per_kilowatt_hour,0.00000265,kilograms_per_kilowatt_hour,0.175,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
89
|
+
MY,0.74884244,kilograms_per_kilowatt_hour,0.000011,kilograms_per_kilowatt_hour,0.00000675,kilograms_per_kilowatt_hour,0.028,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
90
|
+
MZ,0.000445032,kilograms_per_kilowatt_hour,7.93E-09,kilograms_per_kilowatt_hour,7.9E-10,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
91
|
+
NA,0.489803834,kilograms_per_kilowatt_hour,0.00000545,kilograms_per_kilowatt_hour,0.0000077,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
92
|
+
NG,0.43963136,kilograms_per_kilowatt_hour,0.0000101,kilograms_per_kilowatt_hour,0.00000142,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
93
|
+
NI,0.472119274,kilograms_per_kilowatt_hour,0.0000183,kilograms_per_kilowatt_hour,0.00000367,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
94
|
+
NL,0.413302564,kilograms_per_kilowatt_hour,0.00000554,kilograms_per_kilowatt_hour,0.00000287,kilograms_per_kilowatt_hour,0.07,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
95
|
+
NO,0.002240278,kilograms_per_kilowatt_hour,2.69E-08,kilograms_per_kilowatt_hour,6.43E-09,kilograms_per_kilowatt_hour,0.088,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
96
|
+
NP,0.00304179,kilograms_per_kilowatt_hour,0.000000118,kilograms_per_kilowatt_hour,2.36E-08,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
97
|
+
NZ,0.197695588,kilograms_per_kilowatt_hour,0.00000276,kilograms_per_kilowatt_hour,0.00000148,kilograms_per_kilowatt_hour,0.076,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
98
|
+
OM,0.93649203,kilograms_per_kilowatt_hour,0.000021,kilograms_per_kilowatt_hour,0.00000287,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
99
|
+
PA,0.276797888,kilograms_per_kilowatt_hour,0.0000108,kilograms_per_kilowatt_hour,0.00000217,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
100
|
+
PE,0.237721212,kilograms_per_kilowatt_hour,0.0000054,kilograms_per_kilowatt_hour,0.00000119,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
101
|
+
PH,0.52673385,kilograms_per_kilowatt_hour,0.0000081,kilograms_per_kilowatt_hour,0.00000616,kilograms_per_kilowatt_hour,0.135,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
102
|
+
PK,0.473378547,kilograms_per_kilowatt_hour,0.0000138,kilograms_per_kilowatt_hour,0.00000243,kilograms_per_kilowatt_hour,0.231,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
103
|
+
PL,1.196125502,kilograms_per_kilowatt_hour,0.0000125,kilograms_per_kilowatt_hour,0.000018,kilograms_per_kilowatt_hour,0.065,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
104
|
+
PT,0.400151316,kilograms_per_kilowatt_hour,0.0000067,kilograms_per_kilowatt_hour,0.00000404,kilograms_per_kilowatt_hour,0.071,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
105
|
+
PY,0,kilograms_per_kilowatt_hour,0,kilograms_per_kilowatt_hour,0,kilograms_per_kilowatt_hour,0.057,The World Bank,Electric power transmission and distribution losses (% of output),http://data.worldbank.org/indicator/EG.ELC.LOSS.ZS
|
106
|
+
QA,0.596345388,kilograms_per_kilowatt_hour,0.0000106,kilograms_per_kilowatt_hour,0.000001063,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
107
|
+
RO,1.069422796,kilograms_per_kilowatt_hour,0.0000117,kilograms_per_kilowatt_hour,0.0000148,kilograms_per_kilowatt_hour,0.168,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
108
|
+
RS,1.548567819,kilograms_per_kilowatt_hour,0.0000157,kilograms_per_kilowatt_hour,0.0000233,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
109
|
+
RU,0.513180381,kilograms_per_kilowatt_hour,0.0000074,kilograms_per_kilowatt_hour,0.00000413,kilograms_per_kilowatt_hour,0.088,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
110
|
+
SA,0.795591395,kilograms_per_kilowatt_hour,0.0000238,kilograms_per_kilowatt_hour,0.0000041,kilograms_per_kilowatt_hour,0.093,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
111
|
+
SD,0.614906086,kilograms_per_kilowatt_hour,0.0000244,kilograms_per_kilowatt_hour,0.00000487,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
112
|
+
SE,0.023033883,kilograms_per_kilowatt_hour,0.000000257,kilograms_per_kilowatt_hour,0.000000139,kilograms_per_kilowatt_hour,0.067,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
113
|
+
SG,0.57904595,kilograms_per_kilowatt_hour,0.0000133,kilograms_per_kilowatt_hour,0.00000188,kilograms_per_kilowatt_hour,0.058,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
114
|
+
SI,0.578399475,kilograms_per_kilowatt_hour,0.00000594,kilograms_per_kilowatt_hour,0.00000862,kilograms_per_kilowatt_hour,0.076,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
115
|
+
SK,0.282995496,kilograms_per_kilowatt_hour,0.00000322,kilograms_per_kilowatt_hour,0.00000377,kilograms_per_kilowatt_hour,0.081,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
116
|
+
SN,0.5982594,kilograms_per_kilowatt_hour,0.0000232,kilograms_per_kilowatt_hour,0.00000462,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
117
|
+
SV,0.256072792,kilograms_per_kilowatt_hour,0.00000993,kilograms_per_kilowatt_hour,0.00000199,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
118
|
+
SY,0.639109712,kilograms_per_kilowatt_hour,0.0000208,kilograms_per_kilowatt_hour,0.00000383,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
119
|
+
TG,0.207239024,kilograms_per_kilowatt_hour,0.00000839,kilograms_per_kilowatt_hour,0.00000168,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
120
|
+
TH,0.626742612,kilograms_per_kilowatt_hour,0.00000934,kilograms_per_kilowatt_hour,0.00000473,kilograms_per_kilowatt_hour,0.074,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
121
|
+
TJ,0.023245211,kilograms_per_kilowatt_hour,0.000000414,kilograms_per_kilowatt_hour,4.14E-08,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
122
|
+
TM,0.644672553,kilograms_per_kilowatt_hour,0.0000115,kilograms_per_kilowatt_hour,0.00000115,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
123
|
+
TN,0.572169413,kilograms_per_kilowatt_hour,0.0000121,kilograms_per_kilowatt_hour,0.00000156,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
124
|
+
TR,0.865664547,kilograms_per_kilowatt_hour,0.0000111,kilograms_per_kilowatt_hour,0.00000991,kilograms_per_kilowatt_hour,0.143,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
125
|
+
TT,0.766677522,kilograms_per_kilowatt_hour,0.0000137,kilograms_per_kilowatt_hour,0.00000139,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
126
|
+
TW,0.578261935,kilograms_per_kilowatt_hour,0.00000784,kilograms_per_kilowatt_hour,0.00000738,kilograms_per_kilowatt_hour,0.041,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
127
|
+
TZ,0.26675705,kilograms_per_kilowatt_hour,0.00000471,kilograms_per_kilowatt_hour,0.000000954,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
128
|
+
UA,0.56313293,kilograms_per_kilowatt_hour,0.00000627,kilograms_per_kilowatt_hour,0.00000723,kilograms_per_kilowatt_hour,0.204,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
129
|
+
US,0.547096737,kilograms_per_kilowatt_hour,0.00000655,kilograms_per_kilowatt_hour,0.00000724,kilograms_per_kilowatt_hour,0.067,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
130
|
+
UY,0.303713979,kilograms_per_kilowatt_hour,0.0000121,kilograms_per_kilowatt_hour,0.00000241,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
131
|
+
UZ,0.567432849,kilograms_per_kilowatt_hour,0.00000988,kilograms_per_kilowatt_hour,0.00000234,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
132
|
+
VE,0.208069719,kilograms_per_kilowatt_hour,0.00000603,kilograms_per_kilowatt_hour,0.00000102,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
133
|
+
VN,0.466848028,kilograms_per_kilowatt_hour,0.00000705,kilograms_per_kilowatt_hour,0.0000042,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
134
|
+
YE,0.644106104,kilograms_per_kilowatt_hour,0.0000252,kilograms_per_kilowatt_hour,0.00000505,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
135
|
+
ZA,1.069026617,kilograms_per_kilowatt_hour,0.0000113,kilograms_per_kilowatt_hour,0.0000169,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
136
|
+
ZM,0.003197305,kilograms_per_kilowatt_hour,0.000000123,kilograms_per_kilowatt_hour,0.000000028,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
137
|
+
ZW,0.600377947,kilograms_per_kilowatt_hour,0.00000644,kilograms_per_kilowatt_hour,0.00000949,kilograms_per_kilowatt_hour,0.096,Brander et al. (2011),Brander et al. (2011) Electricity-specific emission factors for grid electricity. [Emission factors are per kWh generated. Loss factors calculated by dividing T&D loss emission factors by consumption emission factors.],http://ecometrica.com/ecometrica-press/technical-papers/electricity-specific-emission-factors-for-grid-electricity/
|
data/earth.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_runtime_dependency 'fuzzy_match', '>=1.3.3'
|
27
27
|
s.add_runtime_dependency 'geokit'
|
28
28
|
s.add_runtime_dependency 'active_record_inline_schema'
|
29
|
-
s.add_runtime_dependency 'remote_table', '>=
|
29
|
+
s.add_runtime_dependency 'remote_table', '>=2.0.2'
|
30
30
|
s.add_runtime_dependency 'table_warnings', '>=1.0.1'
|
31
31
|
s.add_runtime_dependency 'to_regexp'
|
32
32
|
s.add_runtime_dependency 'weighted_average', '>=1.0.2'
|
@@ -25,6 +25,7 @@ date,name,email,type,section,action,x,y,condition,notes
|
|
25
25
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Aerosvit Ukranian Airlines,Aerosvit Airlines,,
|
26
26
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Alia-(The) Royal Jordanian,Royal Jordanian|Alia,,
|
27
27
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Arrow Air,Arrow Cargo,,match name for ICAO/IATA codes
|
28
|
+
6/22/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Continental Air Lines,Continental Airlines,,typo
|
28
29
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,China Cargo Airline,China Cargo Airlines,,match name for ICAO/IATA codes
|
29
30
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Federal Express,FedEx,,match name for ICAO/IATA codes
|
30
31
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,/Grand Canyon Airlines.+Scenic Airlines/i,Grand Canyon Airlines|Scenic Airlines,,
|
@@ -33,6 +34,7 @@ date,name,email,type,section,action,x,y,condition,notes
|
|
33
34
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Nippon Cargo Airlines,NCA|Nippon Cargo Airlines,,
|
34
35
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Polar Air Cargo Airways,Polar Air Cargo,,
|
35
36
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Sociedad Aeronautica De Med,SAM|Sociedad Aeronautica De Medellin,,
|
37
|
+
6/22/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,United Air Lines,United Airlines,,typo
|
36
38
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Varig Logistica S/A,VarigLog,,
|
37
39
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,Yangtze River Express Airlines Company,Yangtze River Express,,
|
38
40
|
5/15/12,Ian Hough,ian@brighterplanet.com,editorial,Description,replace,/ d\/b\/a /i,|,,
|
data/lib/earth.rb
CHANGED
@@ -13,6 +13,9 @@ require 'earth/utils'
|
|
13
13
|
require 'earth/conversions_ext'
|
14
14
|
require 'earth/inflectors'
|
15
15
|
|
16
|
+
require 'earth/active_record_base_class_methods'
|
17
|
+
ActiveRecord::Base.extend Earth::ActiveRecordBaseClassMethods
|
18
|
+
|
16
19
|
# The earth module is an interface for loading data models from various domains.
|
17
20
|
module Earth
|
18
21
|
TAPS_SOURCE = 'http://carbon:neutral@data.brighterplanet.com:5000'
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Earth
|
2
|
+
module ActiveRecordBaseClassMethods
|
3
|
+
# http://www.seejohncode.com/tag/rails/
|
4
|
+
# Override due to implementation of regular find_in_batches conflicting using UUIDs
|
5
|
+
def safe_find_in_batches(&block)
|
6
|
+
return find_in_batches({}, &block) if relation.primary_key.is_a?(Arel::Attributes::Integer)
|
7
|
+
|
8
|
+
batch_size = 1000
|
9
|
+
offset = 0
|
10
|
+
# Get the relation and keep going over it until there's nothing left
|
11
|
+
relation = order("#{quoted_table_name}.#{quoted_primary_key} ASC").limit(batch_size)
|
12
|
+
while (results = relation.offset(offset).limit(batch_size).all).any?
|
13
|
+
unscoped { block.call(results) }
|
14
|
+
offset += batch_size
|
15
|
+
end
|
16
|
+
nil
|
17
|
+
end
|
18
|
+
|
19
|
+
def safe_find_each
|
20
|
+
safe_find_in_batches do |records|
|
21
|
+
records.each { |record| yield record }
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/lib/earth/air/aircraft.rb
CHANGED
@@ -25,7 +25,7 @@ class Aircraft < ActiveRecord::Base
|
|
25
25
|
manually_cache_flight_segments!
|
26
26
|
|
27
27
|
# Calculate seats and passengers for each aircraft based on associated flight_segments
|
28
|
-
|
28
|
+
safe_find_each do |a|
|
29
29
|
if a.seats = a.flight_segments.weighted_average(:seats_per_flight, :weighted_by => :passengers)
|
30
30
|
a.seats_specificity = 'aircraft'
|
31
31
|
end
|
@@ -36,7 +36,7 @@ class Aircraft < ActiveRecord::Base
|
|
36
36
|
end
|
37
37
|
|
38
38
|
# Calculate seats for any aircraft that don't have any flight_segments by averaging across all aircraft with flight segments in the aircraft class
|
39
|
-
where(:seats => nil).
|
39
|
+
where(:seats => nil).safe_find_each do |a|
|
40
40
|
if a.seats = where(:class_code => a.class_code, :seats_specificity => 'aircraft').weighted_average(:seats, :weighted_by => :passengers)
|
41
41
|
a.seats_specificity = 'aircraft_class'
|
42
42
|
a.save!
|
@@ -44,7 +44,7 @@ class Aircraft < ActiveRecord::Base
|
|
44
44
|
end
|
45
45
|
|
46
46
|
# Calculate any missing fuel use coefficients by averaging across all aircraft with fuel use coefficients in the same aircraft class
|
47
|
-
where(:m3 => nil).
|
47
|
+
where(:m3 => nil).safe_find_each do |a|
|
48
48
|
a.m3 = where(:class_code => a.class_code, :fuel_use_specificity => 'aircraft').weighted_average(:m3, :weighted_by => :passengers)
|
49
49
|
a.m2 = where(:class_code => a.class_code, :fuel_use_specificity => 'aircraft').weighted_average(:m2, :weighted_by => :passengers)
|
50
50
|
a.m1 = where(:class_code => a.class_code, :fuel_use_specificity => 'aircraft').weighted_average(:m1, :weighted_by => :passengers)
|
@@ -145,6 +145,7 @@ class Aircraft < ActiveRecord::Base
|
|
145
145
|
col :fuel_use_specificity
|
146
146
|
|
147
147
|
warn_if_nulls_except(
|
148
|
+
:passengers,
|
148
149
|
:seats,
|
149
150
|
:seats_specificity,
|
150
151
|
:m3,
|
@@ -155,7 +156,7 @@ class Aircraft < ActiveRecord::Base
|
|
155
156
|
:m1_units,
|
156
157
|
:b,
|
157
158
|
:b_units,
|
158
|
-
:fuel_use_specificity
|
159
|
+
:fuel_use_specificity
|
159
160
|
)
|
160
161
|
|
161
162
|
warn_unless_size 437
|
data/lib/earth/air/airline.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
class Airline < ActiveRecord::Base
|
2
2
|
self.primary_key = "name"
|
3
|
+
|
4
|
+
has_many :flight_segments,
|
5
|
+
:primary_key => :bts_code,
|
6
|
+
:foreign_key => :airline_bts_code
|
3
7
|
|
4
8
|
col :name
|
5
9
|
col :secondary_name
|
@@ -7,5 +11,5 @@ class Airline < ActiveRecord::Base
|
|
7
11
|
col :iata_code
|
8
12
|
col :icao_code
|
9
13
|
|
10
|
-
warn_unless_size
|
14
|
+
warn_unless_size 1523 # note: this is overridden in data1, which imports extra airlines from proprietary data
|
11
15
|
end
|