-
Notifications
You must be signed in to change notification settings - Fork 9
Add direct emissions method with data export #3444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
6c82e32
3190557
c774f1c
b3c441a
0c4c250
6f5915f
460d5e0
de226a1
a202bf7
a7e8a05
cbe6fc4
7d8abfe
c477cb9
95d1fb7
c727bda
88d2ce7
7672310
c4f6743
0bd9af6
a38a04a
f6e8f43
5ded374
316c9e8
18b1566
8d81730
f8e7d17
864d932
f82fc3f
d831e20
a6b5348
e8d02be
228632f
061a59b
9a55c43
a5af83f
136fdab
8d9896f
428ad20
50bac2d
9f30c9a
5e649d0
e232dbe
6ff95ee
f981149
b5d621d
b3ee488
267cb26
d04a523
070788b
9cec8e8
21fa157
8b791db
fb22c0c
e61941f
4914e7a
a94a3ee
7f50ada
7d1930f
68a1c5e
0e22131
b745435
a3c288e
f182e6f
e3079d9
3d8fd65
5856e95
aaa5e76
799f49d
4bae05e
700d36f
7589918
42b4fee
270eb16
5aa783f
a97905d
becd987
ffcdcf9
2b3f743
620564b
18f80a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| - infinite = false | ||
| - graphviz_color = purple | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| - infinite = false | ||
| - graphviz_color = purple | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| - infinite = false | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| - infinite = false | ||
| - graphviz_color = red | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| - infinite = false | ||
| - graphviz_color = purple | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| - infinite = false | ||
| - graphviz_color = purple | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 | ||
| ~ cost_per_mj = CARRIER(light, cost_per_mj) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| - infinite = false | ||
| - graphviz_color = gray46 | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 | ||
| ~ cost_per_mj = CARRIER(loss, cost_per_mj) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| - infinite = false | ||
| - graphviz_color = black |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| - infinite = false | ||
| - graphviz_color = purple | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| - infinite = false | ||
| - graphviz_color = purple | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| - infinite = false | ||
| - graphviz_color = purple | ||
|
|
||
| ~ co2_conversion_per_mj = 0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,207 @@ | ||
| # Configuration for the direct emissions CSV | ||
| # | ||
| # Schema | ||
| # ------ | ||
| # Defines the columns included in the exported CSV, split into three categories: | ||
| # | ||
| # Row identifiers — must also be specified in each `rows` entry: | ||
| # - Group Node group used to select which nodes appear in the export. | ||
| # The group name itself is not included in the data export. | ||
| # - Sector ETM sector name | ||
| # - Subsector ETM subsector name | ||
| # | ||
| # Auto-generated node attributes: | ||
| # - Key Unique node key | ||
| # - GHG Greenhouse gas type (CO2 or Other GHG), derived via ghg_carrier method | ||
| # | ||
| # Emission method columns. | ||
| # - CO2_production Direct reporting CO2 production | ||
| # - CO2_capture Direct reporting captured CO2 | ||
| # - Other_GHG_emissions Direct reporting other GHG emissions | ||
| # - Total_GHG_emissions Direct reporting total GHG emissions | ||
| # A transform is applied to each: emission values are given in kg, transformed to kton (× 1e-6) | ||
| # and rounded to 6 decimal places. | ||
| # | ||
| # Rows | ||
| # ---- | ||
| # See explanation above for row identifiers, rows include: | ||
| # - Group | ||
| # - Sector | ||
| # - Subsector | ||
|
|
||
|
|
||
| schema: | ||
| - name: Group | ||
| type: node_group | ||
| - name: Sector | ||
| - name: Subsector | ||
| - name: Key | ||
| type: node_attribute | ||
| value: key | ||
| - name: GHG | ||
| type: node_attribute | ||
| value: ghg_carrier | ||
| - name: CO2_production | ||
| label: "CO2 production [kton CO2-eq]" | ||
| type: node_attribute | ||
| value: direct_reporting_emissions_co2_production | ||
| transform: "(value * 1e-6).round(6)" | ||
| - name: CO2_capture | ||
| label: "CO2 capture [kton CO2-eq]" | ||
| type: node_attribute | ||
| value: direct_reporting_emissions_co2_capture | ||
| transform: "(value * 1e-6).round(6)" | ||
| - name: Other_GHG_emissions | ||
| label: "Other GHG emissions [kton CO2-eq]" | ||
| type: node_attribute | ||
| value: direct_reporting_emissions_other_ghg_emissions | ||
| transform: "(value * 1e-6).round(6)" | ||
| - name: Total_GHG_emissions | ||
| label: "Total GHG emissions[kton CO2-eq]" | ||
| type: node_attribute | ||
| value: direct_reporting_emissions_total_ghg_emissions | ||
| transform: "(value * 1e-6).round(6)" | ||
|
|
||
|
|
||
| rows: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This data-exports seems to be alphabetically sorted on Group, does that makes sense? Isn't there given order that we can follow that matches more with UNFCC, EU, PBL...? Something like Energy, Industry, Transport, Households, Services, Agriculture... |
||
| - Group: emissions_agriculture_electricity_and_heat_production | ||
| Sector: Agriculture | ||
| Subsector: Electricity and heat production | ||
| - Group: emissions_agriculture_heating | ||
| Sector: Agriculture | ||
| Subsector: Heating | ||
| - Group: emissions_agriculture_non_specified | ||
| Sector: Agriculture | ||
| Subsector: Non-specified | ||
| - Group: emissions_buildings_appliances | ||
| Sector: Buildings | ||
| Subsector: Appliances | ||
| - Group: emissions_buildings_cooling | ||
| Sector: Buildings | ||
| Subsector: Cooling | ||
| - Group: emissions_buildings_non_specified | ||
| Sector: Buildings | ||
| Subsector: Non-specified | ||
| - Group: emissions_buildings_space_heating | ||
| Sector: Buildings | ||
| Subsector: Space heating | ||
| - Group: emissions_energy_ccus | ||
| Sector: Energy | ||
| Subsector: CCUS | ||
| - Group: emissions_energy_electricity_and_heat_production | ||
| Sector: Energy | ||
| Subsector: Electricity and heat production | ||
| - Group: emissions_energy_fuels_production | ||
| Sector: Energy | ||
| Subsector: Fuels production | ||
| - Group: emissions_energy_fugitive_emissions | ||
| Sector: Energy | ||
| Subsector: Fugitive emissions | ||
| - Group: emissions_energy_hydrogen_production | ||
| Sector: Energy | ||
| Subsector: Hydrogen production | ||
| - Group: emissions_energy_methanol_production | ||
| Sector: Energy | ||
| Subsector: Methanol production | ||
| - Group: emissions_energy_steel | ||
| Sector: Energy | ||
| Subsector: Steel | ||
| - Group: emissions_households_cooking | ||
| Sector: Households | ||
| Subsector: Cooking | ||
| - Group: emissions_households_hot_water | ||
| Sector: Households | ||
| Subsector: Hot water | ||
| - Group: emissions_households_non_specified | ||
| Sector: Households | ||
| Subsector: Non-specified | ||
| - Group: emissions_households_space_heating | ||
| Sector: Households | ||
| Subsector: Space heating | ||
| - Group: emissions_industry_aluminium | ||
| Sector: Industry | ||
| Subsector: Aluminium | ||
| - Group: emissions_industry_chemicals | ||
| Sector: Industry | ||
| Subsector: Chemicals | ||
| - Group: emissions_industry_electricity_and_heat_production | ||
| Sector: Industry | ||
| Subsector: Electricity and heat production | ||
| - Group: emissions_industry_fertilizers | ||
| Sector: Industry | ||
| Subsector: Fertilizers | ||
| - Group: emissions_industry_food | ||
| Sector: Industry | ||
| Subsector: Food | ||
| - Group: emissions_industry_non_specified | ||
| Sector: Industry | ||
| Subsector: Non-specified | ||
| - Group: emissions_industry_other | ||
| Sector: Industry | ||
| Subsector: Other | ||
| - Group: emissions_industry_other_metals | ||
| Sector: Industry | ||
| Subsector: Other metals | ||
| - Group: emissions_industry_paper | ||
| Sector: Industry | ||
| Subsector: Paper | ||
| - Group: emissions_industry_refineries | ||
| Sector: Industry | ||
| Subsector: Refineries | ||
| - Group: emissions_industry_steel | ||
| Sector: Industry | ||
| Subsector: Steel | ||
| - Group: emissions_international_transport_international_aviation | ||
| Sector: International transport | ||
| Subsector: International aviation | ||
| - Group: emissions_international_transport_international_navigation | ||
| Sector: International transport | ||
| Subsector: International navigation | ||
|
Comment on lines
+154
to
+159
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These values need to be dependent on the sliders settings |
||
| - Group: emissions_lulucf_emissions | ||
| Sector: LULUCF | ||
| Subsector: Emissions | ||
| - Group: emissions_lulucf_removals | ||
| Sector: LULUCF | ||
| Subsector: Removals | ||
| - Group: emissions_national_transport_buses | ||
| Sector: National transport | ||
| Subsector: Buses | ||
| - Group: emissions_national_transport_cars | ||
| Sector: National transport | ||
| Subsector: Cars | ||
| - Group: emissions_national_transport_domestic_aviation | ||
| Sector: National transport | ||
| Subsector: Domestic aviation | ||
| - Group: emissions_national_transport_domestic_navigation | ||
| Sector: National transport | ||
| Subsector: Domestic navigation | ||
| - Group: emissions_national_transport_motorcycles | ||
| Sector: National transport | ||
| Subsector: Motorcycles | ||
| - Group: emissions_national_transport_non_specified | ||
| Sector: National transport | ||
| Subsector: Non-specified | ||
| - Group: emissions_national_transport_trains | ||
| Sector: National transport | ||
| Subsector: Trains | ||
| - Group: emissions_national_transport_trucks | ||
| Sector: National transport | ||
| Subsector: Trucks | ||
| - Group: emissions_national_transport_vans | ||
| Sector: National transport | ||
| Subsector: Vans | ||
| - Group: emissions_other_heating | ||
| Sector: Other | ||
| Subsector: Heating | ||
| - Group: emissions_other_indirect_emissions | ||
| Sector: Other | ||
| Subsector: Indirect emissions | ||
| - Group: emissions_other_non_specified | ||
| Sector: Other | ||
| Subsector: Non-specified | ||
| - Group: emissions_other_other_transportation | ||
| Sector: Other | ||
| Subsector: Other transportation | ||
| - Group: emissions_waste_non_specified | ||
| Sector: Waste | ||
| Subsector: Non-specified | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These attributes are now specified twice: once in their carrier files and once in the dataset files. Perhaps we can create an issue for this to remove this redundancy?