Skip to content
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

Enhance Carbon budget distribution plot #1070

Merged
merged 2 commits into from
May 19, 2024
Merged

Enhance Carbon budget distribution plot #1070

merged 2 commits into from
May 19, 2024

Conversation

Parisra
Copy link
Contributor

@Parisra Parisra commented May 18, 2024

Enhance the carbon budget plot by:
-Adding 2022 emissions
-Adding UK emissions to the previous numbers

Changes proposed in this Pull Request

currently, the plot_carbon_budget_distribution from plot_summary uses the below numbers for plotting Europe's carbon emissions:
emissions.loc[2019] = 2.971372
emissions.loc[2020] = 2.691958
emissions.loc[2021] = 2.869355
This is technically missing the UK emissions and that's why there is a rather sudden drop in emissions (figure below). I tried calculating the UK emissions by taking the latest available numbers for UK from EEA_2018 (v23) and estimating their reduction based on the UK's total emissions reductions (Provisional UK greenhouse gas emissions national statistics, 2022).
I've also added the carbon emissions for 2022 using the latest EEA report from 2024 (v27) and again estimating the UK emissions for 2022. Here's what the graph would look like before :

and after:

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.

Parisra and others added 2 commits May 16, 2024 17:06
-Add 2022 emissions to plot carbon budget
-Add UK emissions to the previous numbers
@Parisra Parisra changed the title Update plot_summary.py Enhance Carbon budget distribution plot May 18, 2024
Copy link
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

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

Great! Thanks @Parisra

@fneum fneum merged commit 9051d22 into PyPSA:master May 19, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants