Grid2Op
Grid2Op copied to clipboard
WIP: Flexibile Loads (v2)
Attempt to extend Redispatching by enabling Environment's to have flexible loads. See "getting_started" / "12_Flexibility.ipynb" for example use. Related to issue https://github.com/Grid2op/grid2op/issues/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:
- How should we define the max load / load size?
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)