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.
Attempt to extend Redispatching by enabling Environment's to have flexible loads. See "getting_started" / "12_Flexibility.ipynb" for example use. Related to issue #623 (will move onto load / generator shedding once this works).
Currently working:
Able to define "flexibility" actions (env.action_space({"flexibility":[("load_0_0", 0.1]}) with correct print string for BaseAction
Able to load flexible load attributes from "flex_loads_charac.csv"
"InvalidFlexibility" error if flexibility exceeds size of load
Observable change in load after executing flexibility action in environment
Integration with redispatch routine (flexibility and redispatch are solved together in one optim. problem)
Observable change in actual/target flexibility after executing flexibility action in environment
Automated tests
Open Challenges/Issues:
Progress
Conventions:
Positive flexibility: Reduce consumption (less demand in the grid)
Negative flexibility: Increase consumption (more demand in the grid)
target_flex: Sum of all flexibility at a load
actual_flex: Sum of all physically feasible flexibility at a load (determined by Environment)