Skip to content

Fix fill missing in industry sector ratios intermediate#1004

Merged
fneum merged 1 commit intoPyPSA:masterfrom
Climact:feature/fix-industry-intermediate
May 20, 2024
Merged

Fix fill missing in industry sector ratios intermediate#1004
fneum merged 1 commit intoPyPSA:masterfrom
Climact:feature/fix-industry-intermediate

Conversation

@tgi-climact
Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request

I found a strange behaviour of build_industry_sector_ratios_intermediate. When looking to intermediate steps between current and futur industry, missing values were wrongly filled with futur data.

I suggest to use futur data only when we miss the full description of the technology (carrier whise).

Here is an example of Ammonia in Belgium where we see a mix of current and futur data.

Ammonia / BE new new new old old old
MWh/tMaterial 2020 2030 2050 2020 2030 2050
elec 0.2473 0.17311 0 0.2473 0.17311 0
coal 0 0 0 0 0 0
coke 0 0 0 0 0 0
biomass 0 0 0 0 0 0
methane 0 0 0 0 0 0
hydrogen 5.93 4.151 0 5.93 4.151 0
heat 0 0 0 0 0 0
naphtha 0 0 0 0 0 0
ammonia 0 1.5498 5.166 5.166 5.166 5.166
process emission 0 0 0 0 0 0
process emission from feedstock 0 0 0 0 0 0

I used to following values for sector_ratios_fraction_future:

  sector_ratios_fraction_future:
    2020: 0.0
    2025: 0.1
    2030: 0.3
    2035: 0.5
    2040: 0.7
    2045: 0.9
    2050: 1.0

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in all of config.default.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv.
  • A release note doc/release_notes.rst is added.

@fneum fneum added this to the v0.11.0 milestone May 12, 2024
@fneum
Copy link
Copy Markdown
Member

fneum commented May 20, 2024

Good catch!

@fneum fneum merged commit eeb548c into PyPSA:master May 20, 2024
@tgi-climact tgi-climact deleted the feature/fix-industry-intermediate branch May 21, 2024 07:02
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