Skip to content

Commit

Permalink
Merge pull request #195 from BDonnot/bd_dev
Browse files Browse the repository at this point in the history
comment things for sonarcloud [skip ci]
  • Loading branch information
BDonnot authored Jun 14, 2024
2 parents ae241f1 + 7d5cfc8 commit 9e21965
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ Change Log
- [???] "asynch" multienv
- [???] properly model interconnecting powerlines


- TODO A number of max buses per sub
- TODO in the runner, save multiple times the same sceanrio


[1.10.3] - 2024-xx-yy
-------------------------
- TODO A number of max buses per sub
- TODO Automatic "experimental_read_from_local_dir"
- TODO Notebook for stable baselines
- TODO reset options in the runner

- [BREAKING] `env.chronics_hander.set_max_iter(xxx)` is now a private function. Use
`env.set_max_iter(xxx)` or even better `env.reset(options={"max step": xxx})`.
Expand Down
4 changes: 2 additions & 2 deletions examples/backend_integration/Step5_modify_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ def get_topo_vect(self) -> np.ndarray:
local_topo = (1, 2, 1, 2, 1, 2)
elif env_name == "l2rpn_wcci_2022_dev":
raise RuntimeError("Storage units are not handled by the example backend, and there are some on the grid.")
sub_id = 3
local_topo = (1, 2, 1, 2, 1)
# sub_id = 3
# local_topo = (1, 2, 1, 2, 1)
else:
raise RuntimeError(f"Unknown grid2op environment name {env_name}")
action = env.action_space({"set_bus": {"substations_id": [(sub_id, local_topo)]}})
Expand Down

0 comments on commit 9e21965

Please sign in to comment.