Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 1.5.1 #190

Merged
merged 30 commits into from
Apr 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a553725
preventing the modification of the environment action space and obser…
BDonnot Apr 2, 2021
239992d
yet another cleaning due to classes generation on the fly
BDonnot Apr 2, 2021
c3c9826
fixing 2 unit test, need linux for the other
BDonnot Apr 2, 2021
28668f1
fixing some issues with converter, need to work on the detailed attri…
BDonnot Apr 2, 2021
3b09d3a
fixing a bug due to multiprocessing in linux
BDonnot Apr 2, 2021
fdfaafa
let's see if it fixes the last remaining bug
BDonnot Apr 2, 2021
dd96562
Merge pull request #182 from BDonnot/bd_dev
BDonnot Apr 6, 2021
f7011bc
addressing issue rte-france#181
BDonnot Apr 6, 2021
65f958b
updating templates following rte-france#178
BDonnot Apr 6, 2021
32df604
adressing issue rte-france#180
BDonnot Apr 6, 2021
9ce2fe4
adressing issue rte-france#180
BDonnot Apr 6, 2021
a428ed7
fixing broken tests
BDonnot Apr 7, 2021
cb087e9
Merge pull request #183 from BDonnot/bd_dev
BDonnot Apr 7, 2021
57d6daa
adding non reg test for version 1.5.0
BDonnot Apr 7, 2021
787ba19
adding support for theta in the backend, if implemented
BDonnot Apr 7, 2021
8a6a999
adding doc for the graph of the grid
BDonnot Apr 7, 2021
a9bd339
dig more into the gym compat thanks to rte-france#185
BDonnot Apr 11, 2021
c5ac2f4
fix the error on CI
BDonnot Apr 12, 2021
588d4b3
Merge pull request #186 from BDonnot/bd_dev
BDonnot Apr 12, 2021
ee1bce5
adding some doc for the opponent*
BDonnot Apr 12, 2021
439e881
adressing issue rte-france#184 by adding a page of the documentation …
BDonnot Apr 12, 2021
754994a
addressing issue rte-france#187 and the redisp reward
BDonnot Apr 14, 2021
d6d91da
let's see if it fixes issue on ci
BDonnot Apr 14, 2021
7bbebf6
let's see if it fixes issue on ci
BDonnot Apr 14, 2021
1148a84
more documention for creating an environment in reference to rte-fran…
BDonnot Apr 14, 2021
27d7078
Merge pull request #188 from BDonnot/bd_dev
BDonnot Apr 15, 2021
710b2d6
adressing issue rte-france#166
BDonnot Apr 15, 2021
6d2f8a2
fixing some path display in the docs
BDonnot Apr 15, 2021
c1d0f69
Merge pull request #132 from BDonnot/bd_dev
BDonnot Apr 15, 2021
c8bcf68
Merge pull request #189 from BDonnot/master
BDonnot Apr 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ assignees: ''
---

## Documentation issue description
<--A description of what the problem/suggestion is.-->
<!--A description of what the problem/suggestion is.-->

## Suggested modifications
<--Be as concise and clear as possible.
<!--Be as concise and clear as possible.
Ideally we could directly copy paste this code in grid2op documentation / notebook etc.
-->

```
Please note:

Documentation issues are low priority.
Please provide your suggested modifications to increase processing speed.
Thanks for your understanding.
```

## Additional context
Add any other context here.
<!--Add any other context here.-->
29 changes: 25 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,34 @@ assignees: ''
---

## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
<!--A clear and concise description of what the problem is.-->
<!--Ex. I'm always frustrated when [...]-->
<!-- Do not forget to include code you are currently running that is frustrating-->

Ex. This is what i do:
```python
import grid2op
env_name = ...
env = grid2op.make(env_name, ...)

...
```
## Describe the solution you'd like
A clear and concise description of what you want to happen.
<!--A clear and concise description of what you want to happen.-->
<!--Don't forget to include the "code of your dream" -->

Ex. This is how i would like it to be done:
```python
import grid2op
env_name = ...
env = grid2op.make(env_name, ...)

# give an example on how your awesome new feature would behave
```

## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
<!--A clear and concise description of any
alternative solutions or features you've considered.-->

## Additional context
Add any other context about the feature request here.
<!--Add any other context about the feature request here.-->
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,11 @@ pp_error_non_connected_grid.py
test_issue174.py
actions2.npy
bug_discord_0.py
invert_idto_act.py
test_bug_discord1.py
test_networkx.py
test_issue185.py
test_can_make_opponent.py

# profiling files
**.prof
23 changes: 23 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ Change Log
- [???] "asynch" multienv
- [???] properly model interconnecting powerlines

[1.5.1] - 2021-xx-yy
-----------------------
- [FIXED]: `Issue #187 <https://github.com/rte-france/Grid2Op/issues/187>`_: improve the computation and the
documentation of the `RedispReward`. This has an impact on the `env.reward_range` of all environments using this
reward, because the old "reward_max" was not correct.
- [FIXED] `Issue #181 <https://github.com/rte-france/Grid2Op/issues/181>`_ : now environment can be created with
a layout and a warning is issued in this case.
- [FIXED] `Issue #180 <https://github.com/rte-france/Grid2Op/issues/180>`_ : it is now possible to set the thermal
limit with a dictionary
- [FIXED] a typo that would cause the attack to be discarded in the runner in some cases (cases for now not used)
- [FIXED] an issue linked to the transformation into gym box space for some environments,
this **might** be linked to `Issue #185 <https://github.com/rte-france/Grid2Op/issues/185>`_
- [ADDED] a feature to retrieve the voltage angle (theta) in the backend (`backend.get_theta`) and in the observation.
- [ADDED] support for multimix in the GymEnv (lack of support spotted thanks to
`Issue #185 <https://github.com/rte-france/Grid2Op/issues/185>`_ )
- [ADDED] basic documentation of the environment available.
- [ADDED] `Issue #166 <https://github.com/rte-france/Grid2Op/issues/166>`_ : support for simulate in multi environment
settings.
- [IMPROVED] extra layer of security preventing modification of `observation_space` and `action_space` of environment
- [IMPROVED] better handling of dynamically generated classes
- [IMPROVED] the documentation of the opponent


[1.5.0] - 2021-03-31
-------------------------
- [BREAKING] `backend.check_kirchoff()` method now returns also the discrepancy in the voltage magnitude
Expand Down
5 changes: 4 additions & 1 deletion docs/action.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ Now to retrieve a "graph like" object, you can :
# method 2
obs_add = obs + add

And refer to the section :ref:`observation_module_graph` to retrieve a graph structure from these observations.
And refer to the page :ref:`gridgraph-module` or the section :ref:`observation_module_graph` to retrieve a graph
structure from these observations.

For example:

.. code-block:: python
Expand All @@ -333,6 +335,7 @@ For example:
connect_mat = obs_add.connectivity_matrix() # alternatively `sim_obs.connectivity_matrix()`



.. _Illegal-vs-Ambiguous:

Illegal vs Ambiguous
Expand Down
6 changes: 6 additions & 0 deletions docs/agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
Agent
============

This page is organized as follow:

.. contents:: Table of Contents
:depth: 3


Objectives
-----------
In this RL framework, an Agent is an entity that acts on the Environment (modeled in grid2op as an object
Expand Down
Loading