You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,19 @@ Contribution can take different forms:
16
16
- adding a new functionality to grid2op (or increase its speed)
17
17
- extend grid2op
18
18
19
-
# What to do ?
19
+
# On which topic to contribute ?
20
+
21
+
If you want to contribute but are not sure were to start you can, for example:
22
+
23
+
- tackle an opened issue tagged as `good first issue`
24
+
- try to solve an opened issue marked with `helps wanted`
25
+
- there are also some contribution ideas written in the `Work "in progress"` section of the `CHANGELOG.rst`
26
+
at the top level of the github repo.
27
+
28
+
In any case, if you are not sure about what is written here, feel free to ask in the grid2op [github discussion](https://github.com/orgs/Grid2op/discussions),
29
+
in the [grid2op discord](https://discord.gg/cYsYrPT) or by contacting by mail the person in charge of the [pypi package](https://pypi.org/project/Grid2Op/).
30
+
31
+
# What to do concretely ?
20
32
21
33
For smaller changes (including, but not limited to the reporting of a bug or a contribution to the explanotory notebooks or the documentations)
22
34
a simple "pull request" with your modifications by detailing what you had in mind and the goal of your changes.
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/00_Introduction.ipynb)
139
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/00_Introduction.ipynb)
140
140
and [00_SmallExample](getting_started/00_SmallExample.ipynb)
141
-
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/00_SmallExample.ipynb)
141
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/00_SmallExample.ipynb)
142
142
describe what is
143
143
adressed by the grid2op framework (with a tiny introductions to both power systems and reinforcement learning)
144
144
and give and introductory example to a small powergrid manipulation.
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/01_Grid2opFramework.ipynb)
146
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/01_Grid2opFramework.ipynb)
147
147
covers the basics
148
148
of the
149
149
Grid2Op framework. It also covers how to create a valid environment and how to use the
150
150
`Runner` class to assess how well an agent is performing rapidly.
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/02_Observation.ipynb)
152
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/02_Observation.ipynb)
153
153
details how to create
154
154
an "expert agent" that will take pre defined actions based on the observation it gets from
155
155
the environment. This Notebook also covers the functioning of the BaseObservation class.
156
156
*[03_Action](getting_started/03_Action.ipynb)
157
-
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/03_Action.ipynb)
157
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/03_Action.ipynb)
158
158
demonstrates
159
159
how to use the BaseAction class and how to manipulate the powergrid.
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/04_TrainingAnAgent.ipynb)
161
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/04_TrainingAnAgent.ipynb)
162
162
shows how to get started with
163
163
reinforcement learning with the grid2op environment. It shows the basic on how to train a "PPO" model operating the grid relying on "stable baselines 3" PPO implementation.
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/05_StudyYourAgent.ipynb)
165
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/05_StudyYourAgent.ipynb)
166
166
shows how to study an BaseAgent, for example
167
167
the methods to reload a saved experiment, or to plot the powergrid given an observation for
168
168
example. This is an introductory notebook. More user friendly graphical interface should
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/06_Redispatching_Curtailment.ipynb)
171
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/06_Redispatching_Curtailment.ipynb)
172
172
explains what is the
173
173
"redispatching" and curtailment from the point
174
174
of view of a company who's in charge of keeping the powergrid safe (aka a Transmission System Operator) and how to
175
175
manipulate this concept in grid2op. Redispatching (and curtailment) allows you to perform **continuous**
176
176
actions on the powergrid
177
177
problem.
178
178
*[07_MultiEnv](getting_started/07_MultiEnv.ipynb)
179
-
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/07_MultiEnv.ipynb)
179
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/07_MultiEnv.ipynb)
180
180
details how grid2op natively support a single agent interacting
181
181
with multiple environments at the same time. This is particularly handy to train "asynchronous" agent in the
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/08_PlottingCapabilities.ipynb)
184
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/08_PlottingCapabilities.ipynb)
185
185
shows you the different ways with which you
186
186
can represent (visually) the grid your agent interact with. A renderer is available like in many open AI gym
187
187
environment. But you also have the possibility to post process an agent and make some movies out of it, and we also
188
188
developed a Graphical User Interface (GUI) called "[grid2viz](https://github.com/mjothy/grid2viz)" that allows
189
189
to perform in depth study of your agent's behaviour on different scenarios and even to compare it with baselines.
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/09_EnvironmentModifications.ipynb)
191
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/09_EnvironmentModifications.ipynb)
192
192
elaborates on the maintenance,
193
193
hazards
194
194
and attacks. All three of these represents external events that can disconnect some powerlines. This notebook
195
195
covers how to spot when such things happened and what can be done when the maintenance or the attack is over.
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/10_StorageUnits.ipynb)
197
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/10_StorageUnits.ipynb)
198
198
details the usage and behaviour of the storage units
[](https://colab.research.google.com/github/rte-france/Grid2Op/blob/master/getting_started/11_IntegrationWithExistingRLFrameworks.ipynb)
201
+
[](https://colab.research.google.com/github/Grid2Op/grid2op/blob/master/getting_started/11_IntegrationWithExistingRLFrameworks.ipynb)
202
202
explains how to use grid2op with other reinforcement learning framework. TODO: this needs to be redone
203
203
204
204
Try them out in your own browser without installing
0 commit comments