Commit cc899e6
Dev switches (#723)
* initial commit with possible ideas [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* a first possible solution, will see if it works or not [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* improving on the detailed topology representation [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* first working POC on ieee grid and for backend actions, no regular action, no observation yet
Signed-off-by: DONNOT Benjamin <[email protected]>
* fixing 'legacy' import when no switches are defined
Signed-off-by: DONNOT Benjamin <[email protected]>
* fixing a broken test
Signed-off-by: DONNOT Benjamin <[email protected]>
* trying to fix readthedocs [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* trying to fix readthedocs [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* WIP, fixing read the docs
Signed-off-by: DONNOT Benjamin <[email protected]>
* start to add the switches action side, will require more time
Signed-off-by: DONNOT Benjamin <[email protected]>
* fixing an error in the action
Signed-off-by: DONNOT Benjamin <[email protected]>
* before solving conflicts
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix a bug after merging
Signed-off-by: DONNOT Benjamin <[email protected]>
* in the refacto for the connectivity node + synch with master [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* model with the connectivity nodes seems consistent, need to fix tests and implement two main methods [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* tests for detailed topo now pass again
Signed-off-by: DONNOT Benjamin <[email protected]>
* bump to upload / download artifact v4
Signed-off-by: DONNOT Benjamin <[email protected]>
* fight with github ci and node.js again
Signed-off-by: DONNOT Benjamin <[email protected]>
* adding function to convert switches state to topo_vect, need more tests [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* ready for detailed_topo class itself, now let's add action and later observation [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* start to implement the action module for switches
Signed-off-by: DONNOT Benjamin <[email protected]>
* attempt to fix CI and nodejs complaining about kernel version
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix broken tests after the change from IllegalAction to AmbiguousAction
Signed-off-by: DONNOT Benjamin <[email protected]>
* CI should be fixed, possible to do switch actions, need backend support and observation too
Signed-off-by: DONNOT Benjamin <[email protected]>
* start implementation -required...- for converting nodal to switch topology
Signed-off-by: DONNOT Benjamin <[email protected]>
* improving the representation of detailed topo [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* first version of detailed topo with generic topology
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix a bug due to shunt when all shunts are disconnected
Signed-off-by: DONNOT Benjamin <[email protected]>
* add more tests, fix issues when setting topology of multiple substations
Signed-off-by: DONNOT Benjamin <[email protected]>
* some work to do for topologies similar to real ones [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix a bug, seems to work now [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* more test pass [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* improving detailed top [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* improving detailed top [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* improve the algo [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* add lots of test for detailed topo description
Signed-off-by: DONNOT Benjamin <[email protected]>
* fixing broken test (topo_vect is the full vector and not only the substation)
Signed-off-by: DONNOT Benjamin <[email protected]>
* setting up independant tests for detailed topology - can take quite some time
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix broken test due to imports
Signed-off-by: DONNOT Benjamin <[email protected]>
* working on the detailed topology description, for backend [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* improving the switch support in backend action
Signed-off-by: DONNOT Benjamin <[email protected]>
* add the 'get_XXX_info' method and the possibility to reset with new thermal limtis
Signed-off-by: DONNOT Benjamin <[email protected]>
* improve handling of detailed topology
Signed-off-by: DONNOT Benjamin <[email protected]>
* Fix merge
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
* synch with dev_1.12.0
* fix a bug in merge of BaseAction
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix some broken tests after integration
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix some other tests
Signed-off-by: DONNOT Benjamin <[email protected]>
* ready to make proper integration tests for the feature, with backend not supporting switches first
Signed-off-by: DONNOT Benjamin <[email protected]>
* tests seem to pass
Signed-off-by: DONNOT Benjamin <[email protected]>
* optimize grid2Op action building [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* start to optimize action [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* fixing errors in CI
Signed-off-by: DONNOT Benjamin <[email protected]>
* increase version number: 1.12.2.dev0
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix some errors
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix github ci for extended test suite about the switches
Signed-off-by: DONNOT Benjamin <[email protected]>
* improve parralelism in grid2op circleci test suite
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix some broken tests after merge
Signed-off-by: DONNOT Benjamin <[email protected]>
* (undo) improve parralelism in grid2op circleci test suite
Signed-off-by: DONNOT Benjamin <[email protected]>
* improve building of the reference attribute
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix issues
Signed-off-by: DONNOT Benjamin <[email protected]>
* some addition for definition of classes
Signed-off-by: DONNOT Benjamin <[email protected]>
* some more fixes, but some other bugs
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix some issues in CI
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix some issues on sonarqube [skip ci]
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix some issues on sonarqube
Signed-off-by: DONNOT Benjamin <[email protected]>
* removing commented out code
Signed-off-by: DONNOT Benjamin <[email protected]>
* fix unused import in unused script
Signed-off-by: DONNOT Benjamin <[email protected]>
---------
Signed-off-by: DONNOT Benjamin <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Co-authored-by: Geoffroy Jamgotchian <[email protected]>1 parent 777868b commit cc899e6
File tree
708 files changed
+30525
-782
lines changed- .circleci
- .github/workflows
- _profiling
- docs
- grid2op
- Action
- Backend
- Environment
- MakeEnv
- Observation
- Opponent
- Rules
- Space
- VoltageControler
- data_test/test_detailed_topo
- gym_compat
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
708 files changed
+30525
-782
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
269 | 326 | | |
270 | 327 | | |
271 | 328 | | |
272 | 329 | | |
273 | | - | |
| 330 | + | |
274 | 331 | | |
275 | 332 | | |
276 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
419 | 427 | | |
| 428 | + | |
| 429 | + | |
420 | 430 | | |
421 | 431 | | |
422 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
103 | 116 | | |
104 | 117 | | |
105 | 118 | | |
| |||
288 | 301 | | |
289 | 302 | | |
290 | 303 | | |
291 | | - | |
| 304 | + | |
292 | 305 | | |
| 306 | + | |
293 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
294 | 311 | | |
295 | 312 | | |
296 | 313 | | |
| |||
303 | 320 | | |
304 | 321 | | |
305 | 322 | | |
| 323 | + | |
306 | 324 | | |
307 | 325 | | |
308 | 326 | | |
| |||
373 | 391 | | |
374 | 392 | | |
375 | 393 | | |
376 | | - | |
377 | 394 | | |
378 | 395 | | |
379 | 396 | | |
| |||
1160 | 1177 | | |
1161 | 1178 | | |
1162 | 1179 | | |
1163 | | - | |
| 1180 | + | |
1164 | 1181 | | |
1165 | 1182 | | |
1166 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
0 commit comments