Skip to content

Conversation

@cpschau
Copy link
Contributor

@cpschau cpschau commented Jun 20, 2025

Follow-up PR to #229

Changes proposed in this Pull Request

This PR corrects the unit for TES standing losses from per unit to %/hour and renames the parameters:

"Energy losses during storage" → "standing losses"

"Temperature difference" → "temperature difference"

These latter changes improve naming consistency.

Checklist

  • A note for the release notes doc/release_notes.rst of the upcoming release is included.
  • I consent to the release of this PR's code under the GPLv3 license.

@cpschau cpschau requested a review from TomKae00 June 20, 2025 11:15
Copy link
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

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

LGTM, these units definitely make more sense to me.

Copy link
Contributor

@TomKae00 TomKae00 left a comment

Choose a reason for hiding this comment

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

Hey Caspar, thanks for catching the unit mix up! Since all efficiencies and losses in the cost files are stored in per unit, I’d suggest computing standing losses directly in per unit instead of %/h, and dropping the reconversion step in the PyPSA model. That way we keep everything consistent and eliminate an extra conversion downstream.

Copy link
Contributor

@TomKae00 TomKae00 left a comment

Choose a reason for hiding this comment

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

Let’s stick with '%/hour'. Using 'per unit/hour' resulted in too many ndigits, making the values hard to read.

@cpschau cpschau merged commit e537caf into master Jun 26, 2025
3 checks passed
@cpschau cpschau deleted the fix-units-tes-losses branch June 26, 2025 11:40
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