Skip to content

Pypsa v1.1 compatibility and secant-based transmission losses#164

Merged
lindnemi merged 3 commits intomainfrom
pypsa-v1.1-compatibility
Mar 5, 2026
Merged

Pypsa v1.1 compatibility and secant-based transmission losses#164
lindnemi merged 3 commits intomainfrom
pypsa-v1.1-compatibility

Conversation

@lindnemi
Copy link
Collaborator

@lindnemi lindnemi commented Mar 2, 2026

This is a hotfix for pypsa 1.1.

overnight_cost is now a reserved attribute of pypsa. The syntax is subtly different from how it is used here. That's why, for now, I just renamed overnight_cost to onight_cost. When pypsa-eur fully adopts the new overnight_cost, capital_cost, fom_cost syntax, we will deprecate onight_cost and follow pypsa-eur.

Additionally, this PR switches to the new, secant-based transsmission loss approximation available in pypsa1.1.

Before asking for a review for this PR make sure to complete the following checklist:

  • Workflow with target rule ariadne_all completes without errors
  • The logic of export_ariadne_variables has been adapted to the changes
  • One or several figures that validate the changes in the PR have been posted as a comment
  • A brief description of the changes has been added to Changelog.md
  • The latest main has been merged into the PR
  • The config has a new prefix of the format YYYYMMDDdescriptive_title

@lindnemi lindnemi changed the title Pypsa v1.1 compatibility and secant-based tranmission losses Pypsa v1.1 compatibility and secant-based transmission losses Mar 2, 2026
@lindnemi lindnemi merged commit 071365d into main Mar 5, 2026
2 of 5 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.

1 participant