marota / Oracle4Grid

Documentation at https://oracle4grid.readthedocs.io/en/latest/
Mozilla Public License 2.0
3 stars 1 forks source link

Replay agent is combining actions innapropriately #40

Open marota opened 2 years ago

marota commented 2 years ago

While running

oracle4grid -d 1 -f oracle4grid/ressources/actions/neurips_track1/ExpertActions_Track1_action_list_score4.json
-e ./data/l2rpn_neurips_2020_track1 -c Scenario_august_dummy -as 16101991 -es 16101991

with maxDepth=1 Logs of replay agent shows that it is combining unitary actions and not unsetting the ones already in place as it should

image

marota commented 2 years ago

Solved in 4a556ca3d83a94856c4d01e1ea1e41272139ad39 => only using OracleActionPath in replayAgent and igoring grid2opPath (which is currently not representing correctly action transition between topology configurations)

marota commented 2 years ago

We see that topology distance is never above 1 (corresponding to max Depth) and that when transitionning to actions on other substation, it goes through the reference topology (distance 0) image

marota commented 2 years ago

Can be loaded in grid2viz with these logs replay_test_2.zip

marota commented 2 years ago

Used that script AgentReplay_test.zip