Refactor redispatch bids and calculation to incorporate availabilities correctly#803
Merged
Conversation
…o availability-in-redispatch
maurerle
approved these changes
Apr 30, 2026
Member
maurerle
left a comment
There was a problem hiding this comment.
Looks good to me, but lets wait for @paragpatil39 review as well
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #803 +/- ##
==========================================
+ Coverage 80.49% 80.51% +0.01%
==========================================
Files 56 56
Lines 9004 9013 +9
==========================================
+ Hits 7248 7257 +9
Misses 1756 1756
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
Author
|
New examples will be added in a different PR, so I reverted the commits. We can either merge now or wait for @paragpatil39's review decision :) |
gugrimm
approved these changes
May 13, 2026
Contributor
gugrimm
left a comment
There was a problem hiding this comment.
added a test to check availability 0, 0.5 and 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Closes #775
Description
For the upward redispatch potential, the nominal power was previously submitted as maximum generation potential. This did not account for unit outages or limited availability of renewables as specified in the 'availabilities.csv' inputs.
This PR ensures that availabilities are now correctly considered for the redispatch calculation.
Checklist
docfolder updates etc.)Additional Notes
New redispatch examples provided by @paragpatil39 will be added in a seperate PR.