Skip to content
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Total captured biogenic CO2 of all sectors
# Note: The molecule graph does not distinguish whether captured CO2 is biogenic or fossil.
# This query excludes potential biogenic CO2 captured via the molecule graph (e.g. CCS in industry);
# that share is counted in direct_emissions_co2_captured_fossil_total.

- unit = MT
- query =
DIVIDE(
SUM(
V(
G(direct_emissions),
direct_co2_output_production_capture_biogenic
)
),
BILLIONS
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# CO2 captured by direct air capture (DAC)

- unit = MT
- query =
DIVIDE(
SUM(
MV(
molecules_direct_air_capture_co2,
direct_reporting_emissions_co2_capture
)
),
BILLIONS
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Total captured fossil CO2 of all sectors from energy nodes

- unit = MT
- query =
DIVIDE(
SUM(
V(
G(direct_emissions),
direct_co2_output_production_capture_fossil
)
),
BILLIONS
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personal preferences:

  • I would create individual queries for 1) the energy nodes fossil CO2 capture and 2) the molecule nodes CO2 capture. This is because they require a different querying method (direct_co2_output_production_capture_fossil vs direct_reporting_emissions_co2_capture), which looks a bit more clear to me when queried in separate queries and then summed in one query.
  • I would subtract CO2 capture from direct air capture and LULUCF from the total by using the queries that you created for these, instead of the EXCLUDE() function. This is preferred in terms of chart logic and keeping queries as generic as possible: you're creating the individual queries for this new chart, so when exceptions or exclusions have to be done in other queries for this chart, it's good to reuse them again these queries again.
  • Minor note: we never use ML() in our queries. I'm not sure if this is a legacy attribute or if it's still validated well in the engine. I would avoid using this for now.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general for the capture-related queries: I would only just apply the NEG() function in the queries that are in the chart folder, and not in the queries that are in the general folder. The reason that we want to apply the NEG() is to show the values as negative in the dedicated chart, therefore it's more appropriate to use NEG() in the chart queries.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Total captured fossil CO2 of all sectors
# Molecule nodes do not distinguish between fossil and biogenic CO2;
# CO2 capture from molecule nodes are therefore now assumed to be fossil, which can lead
# to an overestimation of fossil captured CO2 and underestimation of biogenic captured CO2
# This has no effect on the total captured CO2 and net emissions

- unit = MT
- query =
SUM(
Q(direct_emissions_co2_captured_fossil_energy_nodes),
Q(direct_emissions_co2_captured_molecule_nodes)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# CO2 removed by LULUCF

- unit = MT
- query =
DIVIDE(
SUM(
MV(
lulucf_removals_non_energetic_co2,
direct_reporting_emissions_co2_capture
)
),
BILLIONS
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Total captured CO2 of all sectors from molecule nodes
# Molecule nodes do not distinguish between fossil and biogenic CO2
# direct_reporting_emissions_co2_capture is used for the molecule graph instead

- unit = MT
- query =
DIVIDE(
SUM(
MV(
MG(direct_emissions),
direct_reporting_emissions_co2_capture
)
),
BILLIONS
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Total gross CO2 production (before capture) of all sectors

- query =
DIVIDE(
SUM(
V(
G(direct_emissions),
direct_reporting_emissions_co2_production
),
MV(
MG(direct_emissions),
direct_reporting_emissions_co2_production
)
),
BILLIONS
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Mechanical turk query for total captured CO2
# Sums direct_reporting_emissions_co2_capture for all energy and molecule nodes
# Makes the total negative to compare with emissions chart CO2 capture query sum
# Final SUM() function used to avoid result becoming -0 with NEG() if capture is 0

- unit = MT
- query =
SUM(
NEG(
DIVIDE(
SUM(
V(
ALL(),
direct_reporting_emissions_co2_capture
),
MV(
MALL(),
direct_reporting_emissions_co2_capture
)
),
BILLIONS
)
)
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since in the mechanical turk test we want to check if the chart results are correct, I would use the chart queries instead of the queries from the general folder (the result will in this case not be different though).

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Mechanical turk query for total captured CO2
# Sums the captured CO2 queries used in the direct emissions chart

- unit = MT
- query =
SUM(
Q(direct_emissions_co2_captured_fossil_total_for_direct_emissions_per_category_chart),
Q(direct_emissions_co2_captured_biogenic_total_for_direct_emissions_per_category_chart),
Q(direct_emissions_co2_captured_dac_for_direct_emissions_per_category_chart),
Q(direct_emissions_co2_captured_lulucf_for_direct_emissions_per_category_chart)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Mechanical turk query for total GHG emissions
# Sums the series of the direct emissions chart: CO2 production, CO2 capture and other GHG

- unit = MT
- query =
SUM(
Q(direct_emissions_co2_production_for_direct_emissions_per_category_chart),
Q(direct_emissions_co2_captured_fossil_total_for_direct_emissions_per_category_chart),
Q(direct_emissions_co2_captured_biogenic_total_for_direct_emissions_per_category_chart),
Q(direct_emissions_co2_captured_dac_for_direct_emissions_per_category_chart),
Q(direct_emissions_co2_captured_lulucf_for_direct_emissions_per_category_chart),
Q(direct_emissions_other_ghg_total_for_direct_emissions_per_category_chart)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Captured biogenic CO2 from CCS

- unit = MT
- query = NEG(Q(direct_emissions_co2_captured_biogenic_total))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Captured CO2 from direct air capture

- unit = MT
- query = NEG(Q(direct_emissions_co2_captured_dac))
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Total fossil CO2 capture excl CO2 capture from DAC and LULUCF, which are shown as
# individual series in the chart

- unit = MT
- query =
NEG(
SUM(
Q(direct_emissions_co2_captured_fossil_total),
NEG(Q(direct_emissions_co2_captured_dac)),
NEG(Q(direct_emissions_co2_captured_lulucf))
)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Captured CO2 from LULUCF

- unit = MT
- query = NEG(Q(direct_emissions_co2_captured_lulucf))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Net total CO2 emissions

- unit = MT
- query = Q(direct_emissions_co2_incl_indirect_emissions_lulucf_bunkers)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Total gross CO2 production (before capture) of all sectors

- unit = MT
- query = Q(direct_emissions_co2_production_total)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Total other GHG emissions

- unit = MT
- query = Q(direct_emissions_other_ghg_incl_indirect_emissions_lulucf_bunkers)