Skip to content

Commit

Permalink
Merge pull request #58 from BDonnot/baselines
Browse files Browse the repository at this point in the history
Update to version 0.7.0
  • Loading branch information
BDonnot authored Apr 15, 2020
2 parents 11af94c + ce92371 commit e02e6f0
Show file tree
Hide file tree
Showing 282 changed files with 13,356 additions and 7,893 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- run:
command: |
cd grid2op/tests/
circleci tests glob "test_*.py" | circleci tests split > /tmp/torun
python -m unittest $(cat /tmp/torun)
python3 helper_list_test.py | circleci tests split > /tmp/tests_run
python3 -m unittest $(cat /tmp/tests_run)
workflows:
version: 2.1
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,9 @@ l2rpn_2019/exped_saved/
Untitled*.ipynb
**config.ini
getting_started/study_agent_getting_started.zip
*.gif
getting_started/awesome_agent_logs/
getting_started/path_agents/
**Test.ipynb
baselines/

46 changes: 44 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ Change Log

[TODO]
--------------------
- [???] Extensive tests for BridgeReward
- [???] Extensive tests for DistanceReward
- [???] test and doc for opponent
- [???] better logging
- [???] rationalize the public and private part of the API. Some members now are public but should be private.
- [???] rationalize the names of plotting utilities

- [???] better explanation of the notebook 3 with action silently
- [???] have something remembering the topology in the environment, and when an object is
reconnected, and no buses are specified, then it connects it to last buses.
Expand All @@ -21,9 +23,49 @@ Change Log
- [???] modeled dumps in grid2op (stuff that have a given energy max, and cannot produce more than the available energy)
- [???] fix notebook 5 texts

[0.7.0] - 2020-04-??
--------------------
- [BREAKING] class `grid2op.Environment.BasicEnv` has been renamed `BaseEnv` for consistency. As this class
should not be used outside of this code base, no backward compatibility has been enforced.
- [BREAKING] class `grid2op.Environment.ObsEnv` has been renamed `_ObsEnv` to insist on its "privateness". As this class
should not be used outside of this code base, no backward compatibility has been enforced.
- [BREAKING] the "baselines" directory has been moved in another python package that will be released soon.
- [DEPRECATION] `grid2op.Action.TopoAndRedispAction` is now `grid2op.Action.TopologyAndDispatchAction`.
- [FIXED] Performances caveats regarding `grid2op.Backend.PandaPowerBackend.get_topo_vect`: Reduced the method running
time and reduced number of direct calls to it.
- [FIXED] Command line install scripts: Can now use `grid2op.main` and `grid2op.download` after installing the package
- [FIXED] a bug that prevented to perform redispatching action if the sum of the action was neglectible (*eg* 1e-14)
instead of an exact `0`.
- [FIXED] Manifest.ini and dockerfile to be complient with standard installation of a python package.
- [ADDED] a notebook to better explain the plotting capabilities of grid2op (work in progrress)
- [ADDED] `grid2op.Backend.reset` as a way for backends to implement a faster way to reload the grid. Implemented in
`grid2op.Backend.PandaPowerBackend`
- [ADDED] `grid2op.Action.PowerlineChangeAndDispatchAction` A subset of actions to limit the agents scope to
'switch line' and 'dispatch' operations only
- [ADDED] `grid2op.Action.PowerlineChangeAction` A subset of actions to limit the agents scope to 'switch line'
operations only
- [ADDED] `grid2op.Action.PowerlineSetAndDispatchAction` A subset of actions to limit the agents scope to 'set line'
and 'dispatch' operations only
- [ADDED] `grid2op.Action.PowerlineSetAction` A subset of actions to limit the agents scope to 'set line' operations only
- [ADDED] `grid2op.Action.TopologySetAction` A subset of actions to limit the agents scope to 'set' operations only
- [ADDED] `grid2op.Action.TopologySetAndDispatchAction` A subset of actions to limit the agents scope to 'set' and
'redisp' operations only
- [ADDED] `grid2op.Action.TopologyChangeAction` A subset of actions to limit the agents scope to 'change' operations only
- [ADDED] `grid2op.Action.TopologyChangeAndDispatchAction` A subset of actions to limit the agents scope to 'change'
and 'redisp' operations only
- [ADDED] `grid2op.Action.DispatchAction` A subset of actions to limit the agents scope to 'redisp' operations only
- [ADDED] a new method to plot other values that the default one for plotplotly.
- [ADDED] a better plotting utilities that is now consistent with `PlotPlotly`, `PlotMatplotlib` and `PlotPyGame`
- [ADDED] a class to replay a logger using `PlotPyGame` class (`grid2op.Plot.EpisodeReplay`)
- [ADDED] a method to parse back the observations with lower memory footprint and faster, when the observations
are serialized into a numpy array by the runner, and only some attributes are necessary.
- [UPDATED] overall documentation: more simple theme, easier organization of each section.


[0.6.1] - 2020-04-??
--------------------
- [FIXED] Issue#54: Setting the bus for disconnected lines no longer counts as a substation operation.
- [FIXED] `Issue #54 <https://github.com/rte-france/Grid2Op/issues/54>`_: Setting the bus for disconnected lines no
longer counts as a substation operation.
- [FIXED] if no redispatch actions are taken, then the game can no more invalid a provided action due to error in the
redispatching. This behavior was caused by increase / decrease of the system losses that was higher (in absolute
value) than the ramp of the generators connected to the slack bus. This has been fixed by removing the losses
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
recursive-include grid2op/data/ *.bz2 *.json *.zip prods_charac.csv
recursive-include grid2op/data/ *.bz2 *.json *.zip prods_charac.csv *.py
29 changes: 0 additions & 29 deletions baselines/DoubleDuelingDQN/CustomAction.py

This file was deleted.

100 changes: 0 additions & 100 deletions baselines/DoubleDuelingDQN/DoubleDuelingDQN.py

This file was deleted.

Loading

0 comments on commit e02e6f0

Please sign in to comment.