quintel / etsource

Data source for the Energy Transition Model
https://energytransitionmodel.com/
MIT License
12 stars 8 forks source link

Biogenic share should include industry in "Net effect of demand and supply of CO2 on emissions" #3024

Open mabijkerk opened 3 months ago

mabijkerk commented 3 months ago

Background The chart "Net effect of demand and supply of CO2 on emissions" (waterfall_captured_emissions) includes a bar "Captured biogenic share" that corrects the captured flows for the biogenic emissions which do not count towards the emissions dashboard item.

Screenshot 2024-03-27 at 17 21 17

Issue The query underlying this bar (negative_captured_bio_emissions_waterfall_captured_emissions) only looks at biogenic emissions from hydrogen and electricity production.

- query = 
    DIVIDE(
      SUM(
        V(
          G(electricity_production),
          G(hydrogen_production),
          "demand * weighted_carrier_potential_co2_per_mj * free_co2_factor"
        )
      ),
      1000.0
    )

The issue is that this does not include biogenic emissions that are captured in industry. For example, biogenic emissions might be captured during combustion of network gas in the fertilizer sector when it consists 100% of green gas. This means that the biogenic share is not accurately reflected in the chart.

Solution The difficulty here is that the energy graph knows the weighted_carrier_co2_per_mj, while the molecule graph knows the captured share. We need to create a comprehensive approach for biogenic and fossil CO2 flows (and emissions) between the molecule and energy graph, in order to guarantee consistency.

See also https://github.com/quintel/etsource/issues/3022 and https://github.com/quintel/etsource/issues/3023. Notifying @kaskranenburgQ and @kndehaan.

github-actions[bot] commented 1 month ago

This issue has had no activity for 60 days and will be closed in 7 days. Removing the "Stale" label or posting a comment will prevent it from being closed automatically. You can also add the "Pinned" label to ensure it isn't marked as stale in the future.