Skip to content

fix: make workflow compatible with optimization framework changes#1720

Merged
FabianHofmann merged 2 commits intomasterfrom
align-to-pypsa-v1-api-changes
Jun 26, 2025
Merged

fix: make workflow compatible with optimization framework changes#1720
FabianHofmann merged 2 commits intomasterfrom
align-to-pypsa-v1-api-changes

Conversation

@FabianHofmann
Copy link
Copy Markdown
Contributor

With PyPSA API changes coming from PyPSA/PyPSA#1154 index names will be called "name" instead of "Bus"/"Generator" etc. This backwards compatible change account for this.

Changes proposed in this Pull Request

Checklist

  • I tested my contribution locally and it works as intended.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in config/config.default.yaml.
  • Changes in configuration options are documented in doc/configtables/*.csv.
  • Sources of newly added data are documented in doc/data_sources.rst.
  • A release note doc/release_notes.rst is added.

@FabianHofmann FabianHofmann requested a review from lkstrp June 25, 2025 15:29
Copy link
Copy Markdown
Member

@lkstrp lkstrp left a comment

Choose a reason for hiding this comment

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

I suppose the parts where it's renamed to 'name' without a v1 check, are consequent scripts on already renamed dataframes?

@FabianHofmann
Copy link
Copy Markdown
Contributor Author

I suppose the parts where it's renamed to 'name' without a v1 check, are consequent scripts on already renamed dataframes?

exactly

@FabianHofmann FabianHofmann merged commit 478b7ab into master Jun 26, 2025
8 checks passed
@FabianHofmann FabianHofmann deleted the align-to-pypsa-v1-api-changes branch June 26, 2025 08:22
toniseibold pushed a commit that referenced this pull request Dec 1, 2025
)

* fix: make workflow compatible with optimization framework changes

* refac: rename to pypsa_v1
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