notebook10 redipatch and market clearing fix - #838
Conversation
PR Reviewer Guide 🔍(Review updated until commit dcb7024)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to dcb7024 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 2c0928c
Suggestions up to commit c74dacc
Suggestions up to commit c238685
Suggestions up to commit c238685
|
|
Persistent review updated to latest commit c238685 |
1 similar comment
|
Persistent review updated to latest commit c238685 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #838 +/- ##
=======================================
Coverage 83.35% 83.35%
=======================================
Files 56 56
Lines 9508 9508
=======================================
Hits 7925 7925
Misses 1583 1583
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Persistent review updated to latest commit c74dacc |
c74dacc to
2c0928c
Compare
|
Persistent review updated to latest commit 2c0928c |
|
Persistent review updated to latest commit dcb7024 |
| "hour_of_day = time_index.hour + time_index.minute / 60\n", | ||
| "daily_shape = 0.5 + 0.5 * np.sin(2 * np.pi * (hour_of_day - 9) / 24)\n", | ||
| "demand_values1 = 130 + 280 * daily_shape # north: load centre\n", | ||
| "demand_values2 = 20 + 20 * daily_shape # south: mostly generation\n", |
There was a problem hiding this comment.
Explanation below does not fit to the code ("The demand pattern fluctuates between 44,000 MW and 46,000 MW...")
| "### **1. Prepare Input Files**\n", | ||
| "\n", | ||
| "We'll reuse the DataFrames for powerplant units, demand units, and demand_df that were already created in Use Case 1. These files will be saved in the inputs/tutorial_10 folder for Use Case 3." | ||
| "For this redispatch use case we **reconfigure** the two-node grid so that the network congestion produces a clean, easy-to-read result. All renewables are placed in the **north** together with a small local load, while the **south** holds the load centre and all the dispatchable plants (nuclear and gas). The cheap northern renewables are dispatched in full in the day-ahead market, so more power than the 200 MW line can carry has to flow north -> south, congesting the line.\n", |
There was a problem hiding this comment.
Why do you want to have this dedicated redispatch example in this notebook if the steelplant is not part of it? What additional value do you see here, in comparison to the notebook 11 for showcasing redispatch?





User description
Related Issue
Closes #838
Description
Checklist
docsfolder updates, etc.)Additional Notes (optional)
PR Type
Enhancement, Bug fix, Documentation
Description
Reworks Tutorial 10 redispatch scenario
Adds gas peaker clearing behavior
Balances redispatch with summary table
Updates explanations and release notes
Diagram Walkthrough
File Walkthrough
release_notes.rst
Document Tutorial 10 redispatch improvementsdocs/source/release_notes.rst
10_DSU_and_flexibility.ipynb
Rework clearing and redispatch tutorial scenarioexamples/notebooks/10_DSU_and_flexibility.ipynb
Gas CCGTwithnatural_gasfuel pricing to create a clearermerit-order and peaker-driven clearing price behavior.
logic for Use Cases 1 and 2.
and dispatchable plants, and removes the DSM unit for
energy-consistent redispatch.
table with balanced upward/downward totals.