Skip to content

Fix build_renewable_profiles.py for offshore regions with missing ons… - #2425

Merged
fneum merged 5 commits into
PyPSA:masterfrom
AFU3141:fix_offshore_profile
Nov 18, 2026
Merged

fneum merged 5 commits into
PyPSA:masterfrom
AFU3141:fix_offshore_profile

Conversation

@AFU3141

@AFU3141 AFU3141 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

…hore regions

Closes #1597

Changes proposed in this Pull Request

In a busmap configuration with large number of buses, i.e. 2000, there can be offshore regions with no corresponding onshore region. A mapping of those offshore regions to the nearest onshore region (of the same associated country) is used to find a corresponding onshore region.

Checklist

Required:

  • Changes are tested locally and behave as expected.
  • Code and workflow changes are documented.
  • [] A release note entry is added to doc/release_notes.md.
  • [] The description is human-written and any AI-generated content is marked.

If applicable:

  • Changes in configuration options are reflected in scripts/lib/validation.
  • For new data sources or versions, these instructions have been followed.
  • New rules are documented in the appropriate doc/*.md files.

@fneum
fneum merged commit 164c9bb into PyPSA:master Nov 18, 2026
5 of 8 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.

Build renewable profile for offwind (ac, dc, float) fails due to missing regions

2 participants