Skip to content

Fix duplicated years in add_land_use_constraint_m#968

Merged
fneum merged 1 commit intoPyPSA:masterfrom
Climact:feature/fix-duplicated-years
Mar 15, 2024
Merged

Fix duplicated years in add_land_use_constraint_m#968
fneum merged 1 commit intoPyPSA:masterfrom
Climact:feature/fix-duplicated-years

Conversation

@tgi-climact
Copy link
Copy Markdown
Contributor

When planning_horizons = 2030 and grouping_years also contains 2030, p_nom_max for generators is reduced twice by the value of the current installed capacities. This PR ensure to remove duplicated values.

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.

@FabianHofmann FabianHofmann enabled auto-merge March 14, 2024 16:53
@lisazeyen
Copy link
Copy Markdown
Contributor

FYI @lindnemi seems a similar issue

@fneum fneum disabled auto-merge March 15, 2024 12:52
@fneum fneum merged commit a5002f5 into PyPSA:master Mar 15, 2024
@tgi-climact tgi-climact deleted the feature/fix-duplicated-years branch May 21, 2024 07:10
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.

4 participants