Closed marota closed 4 years ago
@mjothy @NMegel
Hi, In case there are no hubs, expert_operator function now returns ranked_combinations = [] Expert_system_results = empy dataframe actions = list with only one grid2op do_nothing action
See commit 5483f95c0f719c41d1e50683f4017cd9bf1f4a13
@NMegel did you have a test case for that on which you validated it is now working?
You can test with: python -m alphaDeesp.main -l 9 -t 2 -c 1 on network l2rpn_2019
Ok it is a good case and works. Can you add this test ("when no hubs exist") also to the test suit ?
Done in commit cc033044422aa07134320be30287e2ec8c6ae7e2
At the current stage of development, AlphaDeeps only looks for substations typed as hubs to do actions there. If no hubs are detected, it is unable to find good actions, rank them and it fails. In that case we should return a do nothing action because we get an error