diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3acf1eaa..ee78f885 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -64,10 +64,8 @@ Next release - TODO L2RPN scores as reward (sum loads after the game over and have it in the final reward) - TODO on CI: test only gym, only gymnasium and keep current test for both gym and gymnasium -[1.10.3] - 2024-07-yy +[1.10.3] - 2024-07-12 ------------------------- -- TODO Automatic "experimental_read_from_local_dir" - - [BREAKING] `env.chronics_hander.set_max_iter(xxx)` is now a private function. Use `env.set_max_iter(xxx)` or even better `env.reset(options={"max step": xxx})`. Indeed, `env.chronics_hander.set_max_iter()` will likely have diff --git a/Dockerfile b/Dockerfile index 31efad00..3d47b14d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ WORKDIR /Grid2Op RUN git pull RUN git remote update RUN git fetch --all --tags -RUN git checkout "tags/v1.10.2" -b "v1.10.2-branch" +RUN git checkout "tags/v1.10.3" -b "v1.10.3-branch" # Install Dependencies RUN pip3 install .[optional,challenge] WORKDIR / diff --git a/docs/conf.py b/docs/conf.py index 8d3d22dd..1abcdb2f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ author = 'Benjamin Donnot' # The full version, including alpha/beta/rc tags -release = '1.10.3.dev1' +release = '1.10.3' version = '1.10' diff --git a/grid2op/__init__.py b/grid2op/__init__.py index 32bbc659..ea88ee3c 100644 --- a/grid2op/__init__.py +++ b/grid2op/__init__.py @@ -11,7 +11,7 @@ Grid2Op """ -__version__ = '1.10.3.dev1' +__version__ = '1.10.3' __all__ = [ "Action", diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/_parameters.json b/grid2op/data_test/runner_data/res_agent_1.10.3/00/_parameters.json new file mode 100644 index 00000000..46aaa941 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/00/_parameters.json @@ -0,0 +1,24 @@ +{ + "ACTIVATE_STORAGE_LOSS": true, + "ALARM_BEST_TIME": 12, + "ALARM_WINDOW_SIZE": 12, + "ALERT_TIME_WINDOW": 12, + "ALLOW_DISPATCH_GEN_SWITCH_OFF": true, + "ENV_DC": false, + "FORECAST_DC": false, + "HARD_OVERFLOW_THRESHOLD": 2.0, + "IGNORE_INITIAL_STATE_TIME_SERIE": 0, + "IGNORE_MIN_UP_DOWN_TIME": true, + "INIT_STORAGE_CAPACITY": 0.5, + "LIMIT_INFEASIBLE_CURTAILMENT_STORAGE_ACTION": false, + "MAX_LINE_STATUS_CHANGED": 1, + "MAX_SIMULATE_PER_EPISODE": -1, + "MAX_SIMULATE_PER_STEP": -1, + "MAX_SUB_CHANGED": 1, + "NB_TIMESTEP_COOLDOWN_LINE": 0, + "NB_TIMESTEP_COOLDOWN_SUB": 0, + "NB_TIMESTEP_OVERFLOW_ALLOWED": 2, + "NB_TIMESTEP_RECONNECTION": 10, + "NO_OVERFLOW_DISCONNECTION": false, + "SOFT_OVERFLOW_THRESHOLD": 1.0 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/actions.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/00/actions.npz new file mode 100644 index 00000000..bc9ea2f5 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/00/actions.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/agent_exec_times.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/00/agent_exec_times.npz new file mode 100644 index 00000000..e57d8796 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/00/agent_exec_times.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/disc_lines_cascading_failure.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/00/disc_lines_cascading_failure.npz new file mode 100644 index 00000000..29842148 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/00/disc_lines_cascading_failure.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/env_modifications.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/00/env_modifications.npz new file mode 100644 index 00000000..6e06d3e2 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/00/env_modifications.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/episode_meta.json b/grid2op/data_test/runner_data/res_agent_1.10.3/00/episode_meta.json new file mode 100644 index 00000000..ef2d68f7 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/00/episode_meta.json @@ -0,0 +1,11 @@ +{ + "agent_seed": null, + "backend_type": "PandaPowerBackend_rte_case5_example", + "chronics_max_timestep": "100", + "chronics_path": "/home/donnotben/Documents/grid2op_dev/grid2op/data/rte_case5_example/chronics/00", + "cumulative_reward": 7.773218154907227, + "env_seed": null, + "env_type": "Environment_rte_case5_example", + "grid_path": "/home/donnotben/Documents/grid2op_dev/grid2op/data/rte_case5_example/grid.json", + "nb_timestep_played": 3 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/episode_times.json b/grid2op/data_test/runner_data/res_agent_1.10.3/00/episode_times.json new file mode 100644 index 00000000..5d45e02a --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/00/episode_times.json @@ -0,0 +1,12 @@ +{ + "Agent": { + "total": 7.87390000027699e-05 + }, + "Env": { + "apply_act": 0.01019013399996993, + "observation_computation": 0.002153088000000025, + "powerflow_computation": 0.053345044999957736, + "total": 0.06568826699992769 + }, + "total": 0.06722843900001862 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/grid2op.info b/grid2op/data_test/runner_data/res_agent_1.10.3/00/grid2op.info new file mode 100644 index 00000000..0a5b47a3 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/00/grid2op.info @@ -0,0 +1,3 @@ +{ + "version": "1.10.3" +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/observations.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/00/observations.npz new file mode 100644 index 00000000..b1d0ef11 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/00/observations.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/opponent_attack.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/00/opponent_attack.npz new file mode 100644 index 00000000..e05f2691 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/00/opponent_attack.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/other_rewards.json b/grid2op/data_test/runner_data/res_agent_1.10.3/00/other_rewards.json new file mode 100644 index 00000000..ca609c0c --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/00/other_rewards.json @@ -0,0 +1,5 @@ +[ + {}, + {}, + {} +] \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/00/rewards.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/00/rewards.npz new file mode 100644 index 00000000..b1c0ccf8 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/00/rewards.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/_parameters.json b/grid2op/data_test/runner_data/res_agent_1.10.3/01/_parameters.json new file mode 100644 index 00000000..46aaa941 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/01/_parameters.json @@ -0,0 +1,24 @@ +{ + "ACTIVATE_STORAGE_LOSS": true, + "ALARM_BEST_TIME": 12, + "ALARM_WINDOW_SIZE": 12, + "ALERT_TIME_WINDOW": 12, + "ALLOW_DISPATCH_GEN_SWITCH_OFF": true, + "ENV_DC": false, + "FORECAST_DC": false, + "HARD_OVERFLOW_THRESHOLD": 2.0, + "IGNORE_INITIAL_STATE_TIME_SERIE": 0, + "IGNORE_MIN_UP_DOWN_TIME": true, + "INIT_STORAGE_CAPACITY": 0.5, + "LIMIT_INFEASIBLE_CURTAILMENT_STORAGE_ACTION": false, + "MAX_LINE_STATUS_CHANGED": 1, + "MAX_SIMULATE_PER_EPISODE": -1, + "MAX_SIMULATE_PER_STEP": -1, + "MAX_SUB_CHANGED": 1, + "NB_TIMESTEP_COOLDOWN_LINE": 0, + "NB_TIMESTEP_COOLDOWN_SUB": 0, + "NB_TIMESTEP_OVERFLOW_ALLOWED": 2, + "NB_TIMESTEP_RECONNECTION": 10, + "NO_OVERFLOW_DISCONNECTION": false, + "SOFT_OVERFLOW_THRESHOLD": 1.0 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/actions.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/01/actions.npz new file mode 100644 index 00000000..628314c1 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/01/actions.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/agent_exec_times.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/01/agent_exec_times.npz new file mode 100644 index 00000000..7ac79199 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/01/agent_exec_times.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/disc_lines_cascading_failure.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/01/disc_lines_cascading_failure.npz new file mode 100644 index 00000000..02855944 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/01/disc_lines_cascading_failure.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/env_modifications.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/01/env_modifications.npz new file mode 100644 index 00000000..33e0daca Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/01/env_modifications.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/episode_meta.json b/grid2op/data_test/runner_data/res_agent_1.10.3/01/episode_meta.json new file mode 100644 index 00000000..51820518 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/01/episode_meta.json @@ -0,0 +1,11 @@ +{ + "agent_seed": null, + "backend_type": "PandaPowerBackend_rte_case5_example", + "chronics_max_timestep": "100", + "chronics_path": "/home/donnotben/Documents/grid2op_dev/grid2op/data/rte_case5_example/chronics/01", + "cumulative_reward": 19.197418212890625, + "env_seed": null, + "env_type": "Environment_rte_case5_example", + "grid_path": "/home/donnotben/Documents/grid2op_dev/grid2op/data/rte_case5_example/grid.json", + "nb_timestep_played": 4 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/episode_times.json b/grid2op/data_test/runner_data/res_agent_1.10.3/01/episode_times.json new file mode 100644 index 00000000..f54e7013 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/01/episode_times.json @@ -0,0 +1,12 @@ +{ + "Agent": { + "total": 0.00010630600002059509 + }, + "Env": { + "apply_act": 0.011138778999907117, + "observation_computation": 0.0032093399999553185, + "powerflow_computation": 0.08027153299991596, + "total": 0.0946196519997784 + }, + "total": 0.0964781280000011 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/grid2op.info b/grid2op/data_test/runner_data/res_agent_1.10.3/01/grid2op.info new file mode 100644 index 00000000..0a5b47a3 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/01/grid2op.info @@ -0,0 +1,3 @@ +{ + "version": "1.10.3" +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/observations.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/01/observations.npz new file mode 100644 index 00000000..af56b6e9 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/01/observations.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/opponent_attack.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/01/opponent_attack.npz new file mode 100644 index 00000000..e05f2691 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/01/opponent_attack.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/other_rewards.json b/grid2op/data_test/runner_data/res_agent_1.10.3/01/other_rewards.json new file mode 100644 index 00000000..99bb44b9 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/01/other_rewards.json @@ -0,0 +1,6 @@ +[ + {}, + {}, + {}, + {} +] \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/01/rewards.npz b/grid2op/data_test/runner_data/res_agent_1.10.3/01/rewards.npz new file mode 100644 index 00000000..26541328 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.3/01/rewards.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/dict_action_space.json b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_action_space.json new file mode 100644 index 00000000..9fa976c0 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_action_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_GRID_CLASSES": null, + "_init_subtype": "grid2op.Action.topologyAction.TopologyAction", + "alarms_area_lines": [], + "alarms_area_names": [], + "alarms_lines_area": {}, + "alertable_line_ids": [], + "alertable_line_names": [], + "assistant_warning_type": null, + "dim_alarms": 0, + "dim_alerts": 0, + "env_name": "rte_case5_example", + "gen_cost_per_MW": [ + 0.0, + 70.0 + ], + "gen_max_ramp_down": [ + 0.0, + 10.0 + ], + "gen_max_ramp_up": [ + 0.0, + 10.0 + ], + "gen_min_downtime": [ + 0, + 4 + ], + "gen_min_uptime": [ + 0, + 4 + ], + "gen_pmax": [ + 10.0, + 30.0 + ], + "gen_pmin": [ + 0.0, + 0.0 + ], + "gen_pos_topo_vect": [ + 4, + 8 + ], + "gen_redispatchable": [ + false, + true + ], + "gen_renewable": [ + true, + false + ], + "gen_shutdown_cost": [ + 0.0, + 1.0 + ], + "gen_startup_cost": [ + 0.0, + 2.0 + ], + "gen_to_sub_pos": [ + 4, + 2 + ], + "gen_to_subid": [ + 0, + 1 + ], + "gen_type": [ + "wind", + "thermal" + ], + "glop_version": "1.10.3", + "grid_layout": { + "sub_0": [ + 0.0, + 0.0 + ], + "sub_1": [ + 0.0, + 400.0 + ], + "sub_2": [ + 200.0, + 400.0 + ], + "sub_3": [ + 400.0, + 400.0 + ], + "sub_4": [ + 400.0, + 0.0 + ] + }, + "line_ex_pos_topo_vect": [ + 6, + 9, + 13, + 18, + 10, + 14, + 15, + 19 + ], + "line_ex_to_sub_pos": [ + 0, + 0, + 0, + 0, + 1, + 1, + 2, + 1 + ], + "line_ex_to_subid": [ + 1, + 2, + 3, + 4, + 2, + 3, + 3, + 4 + ], + "line_or_pos_topo_vect": [ + 0, + 1, + 2, + 3, + 7, + 11, + 12, + 16 + ], + "line_or_to_sub_pos": [ + 0, + 1, + 2, + 3, + 1, + 2, + 3, + 3 + ], + "line_or_to_subid": [ + 0, + 0, + 0, + 0, + 1, + 2, + 2, + 3 + ], + "load_pos_topo_vect": [ + 5, + 17, + 20 + ], + "load_to_sub_pos": [ + 5, + 4, + 2 + ], + "load_to_subid": [ + 0, + 3, + 4 + ], + "n_busbar_per_sub": "2", + "name_gen": [ + "gen_0_0", + "gen_1_1" + ], + "name_line": [ + "0_1_0", + "0_2_1", + "0_3_2", + "0_4_3", + "1_2_4", + "2_3_5", + "2_3_6", + "3_4_7" + ], + "name_load": [ + "load_0_0", + "load_3_1", + "load_4_2" + ], + "name_shunt": [], + "name_storage": [], + "name_sub": [ + "sub_0", + "sub_1", + "sub_2", + "sub_3", + "sub_4" + ], + "shunt_to_subid": [], + "storage_Emax": [], + "storage_Emin": [], + "storage_charging_efficiency": [], + "storage_discharging_efficiency": [], + "storage_loss": [], + "storage_marginal_cost": [], + "storage_max_p_absorb": [], + "storage_max_p_prod": [], + "storage_pos_topo_vect": [], + "storage_to_sub_pos": [], + "storage_to_subid": [], + "storage_type": [], + "sub_info": [ + 6, + 3, + 4, + 5, + 3 + ] +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/dict_attack_space.json b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_attack_space.json new file mode 100644 index 00000000..31f90cf6 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_attack_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_GRID_CLASSES": null, + "_init_subtype": "grid2op.Action.dontAct.DontAct", + "alarms_area_lines": [], + "alarms_area_names": [], + "alarms_lines_area": {}, + "alertable_line_ids": [], + "alertable_line_names": [], + "assistant_warning_type": null, + "dim_alarms": 0, + "dim_alerts": 0, + "env_name": "rte_case5_example", + "gen_cost_per_MW": [ + 0.0, + 70.0 + ], + "gen_max_ramp_down": [ + 0.0, + 10.0 + ], + "gen_max_ramp_up": [ + 0.0, + 10.0 + ], + "gen_min_downtime": [ + 0, + 4 + ], + "gen_min_uptime": [ + 0, + 4 + ], + "gen_pmax": [ + 10.0, + 30.0 + ], + "gen_pmin": [ + 0.0, + 0.0 + ], + "gen_pos_topo_vect": [ + 4, + 8 + ], + "gen_redispatchable": [ + false, + true + ], + "gen_renewable": [ + true, + false + ], + "gen_shutdown_cost": [ + 0.0, + 1.0 + ], + "gen_startup_cost": [ + 0.0, + 2.0 + ], + "gen_to_sub_pos": [ + 4, + 2 + ], + "gen_to_subid": [ + 0, + 1 + ], + "gen_type": [ + "wind", + "thermal" + ], + "glop_version": "1.10.3", + "grid_layout": { + "sub_0": [ + 0.0, + 0.0 + ], + "sub_1": [ + 0.0, + 400.0 + ], + "sub_2": [ + 200.0, + 400.0 + ], + "sub_3": [ + 400.0, + 400.0 + ], + "sub_4": [ + 400.0, + 0.0 + ] + }, + "line_ex_pos_topo_vect": [ + 6, + 9, + 13, + 18, + 10, + 14, + 15, + 19 + ], + "line_ex_to_sub_pos": [ + 0, + 0, + 0, + 0, + 1, + 1, + 2, + 1 + ], + "line_ex_to_subid": [ + 1, + 2, + 3, + 4, + 2, + 3, + 3, + 4 + ], + "line_or_pos_topo_vect": [ + 0, + 1, + 2, + 3, + 7, + 11, + 12, + 16 + ], + "line_or_to_sub_pos": [ + 0, + 1, + 2, + 3, + 1, + 2, + 3, + 3 + ], + "line_or_to_subid": [ + 0, + 0, + 0, + 0, + 1, + 2, + 2, + 3 + ], + "load_pos_topo_vect": [ + 5, + 17, + 20 + ], + "load_to_sub_pos": [ + 5, + 4, + 2 + ], + "load_to_subid": [ + 0, + 3, + 4 + ], + "n_busbar_per_sub": "2", + "name_gen": [ + "gen_0_0", + "gen_1_1" + ], + "name_line": [ + "0_1_0", + "0_2_1", + "0_3_2", + "0_4_3", + "1_2_4", + "2_3_5", + "2_3_6", + "3_4_7" + ], + "name_load": [ + "load_0_0", + "load_3_1", + "load_4_2" + ], + "name_shunt": [], + "name_storage": [], + "name_sub": [ + "sub_0", + "sub_1", + "sub_2", + "sub_3", + "sub_4" + ], + "shunt_to_subid": [], + "storage_Emax": [], + "storage_Emin": [], + "storage_charging_efficiency": [], + "storage_discharging_efficiency": [], + "storage_loss": [], + "storage_marginal_cost": [], + "storage_max_p_absorb": [], + "storage_max_p_prod": [], + "storage_pos_topo_vect": [], + "storage_to_sub_pos": [], + "storage_to_subid": [], + "storage_type": [], + "sub_info": [ + 6, + 3, + 4, + 5, + 3 + ] +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/dict_env_modification_space.json b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_env_modification_space.json new file mode 100644 index 00000000..1b27c9a4 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_env_modification_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_GRID_CLASSES": null, + "_init_subtype": "grid2op.Action.completeAction.CompleteAction", + "alarms_area_lines": [], + "alarms_area_names": [], + "alarms_lines_area": {}, + "alertable_line_ids": [], + "alertable_line_names": [], + "assistant_warning_type": null, + "dim_alarms": 0, + "dim_alerts": 0, + "env_name": "rte_case5_example", + "gen_cost_per_MW": [ + 0.0, + 70.0 + ], + "gen_max_ramp_down": [ + 0.0, + 10.0 + ], + "gen_max_ramp_up": [ + 0.0, + 10.0 + ], + "gen_min_downtime": [ + 0, + 4 + ], + "gen_min_uptime": [ + 0, + 4 + ], + "gen_pmax": [ + 10.0, + 30.0 + ], + "gen_pmin": [ + 0.0, + 0.0 + ], + "gen_pos_topo_vect": [ + 4, + 8 + ], + "gen_redispatchable": [ + false, + true + ], + "gen_renewable": [ + true, + false + ], + "gen_shutdown_cost": [ + 0.0, + 1.0 + ], + "gen_startup_cost": [ + 0.0, + 2.0 + ], + "gen_to_sub_pos": [ + 4, + 2 + ], + "gen_to_subid": [ + 0, + 1 + ], + "gen_type": [ + "wind", + "thermal" + ], + "glop_version": "1.10.3", + "grid_layout": { + "sub_0": [ + 0.0, + 0.0 + ], + "sub_1": [ + 0.0, + 400.0 + ], + "sub_2": [ + 200.0, + 400.0 + ], + "sub_3": [ + 400.0, + 400.0 + ], + "sub_4": [ + 400.0, + 0.0 + ] + }, + "line_ex_pos_topo_vect": [ + 6, + 9, + 13, + 18, + 10, + 14, + 15, + 19 + ], + "line_ex_to_sub_pos": [ + 0, + 0, + 0, + 0, + 1, + 1, + 2, + 1 + ], + "line_ex_to_subid": [ + 1, + 2, + 3, + 4, + 2, + 3, + 3, + 4 + ], + "line_or_pos_topo_vect": [ + 0, + 1, + 2, + 3, + 7, + 11, + 12, + 16 + ], + "line_or_to_sub_pos": [ + 0, + 1, + 2, + 3, + 1, + 2, + 3, + 3 + ], + "line_or_to_subid": [ + 0, + 0, + 0, + 0, + 1, + 2, + 2, + 3 + ], + "load_pos_topo_vect": [ + 5, + 17, + 20 + ], + "load_to_sub_pos": [ + 5, + 4, + 2 + ], + "load_to_subid": [ + 0, + 3, + 4 + ], + "n_busbar_per_sub": "2", + "name_gen": [ + "gen_0_0", + "gen_1_1" + ], + "name_line": [ + "0_1_0", + "0_2_1", + "0_3_2", + "0_4_3", + "1_2_4", + "2_3_5", + "2_3_6", + "3_4_7" + ], + "name_load": [ + "load_0_0", + "load_3_1", + "load_4_2" + ], + "name_shunt": [], + "name_storage": [], + "name_sub": [ + "sub_0", + "sub_1", + "sub_2", + "sub_3", + "sub_4" + ], + "shunt_to_subid": [], + "storage_Emax": [], + "storage_Emin": [], + "storage_charging_efficiency": [], + "storage_discharging_efficiency": [], + "storage_loss": [], + "storage_marginal_cost": [], + "storage_max_p_absorb": [], + "storage_max_p_prod": [], + "storage_pos_topo_vect": [], + "storage_to_sub_pos": [], + "storage_to_subid": [], + "storage_type": [], + "sub_info": [ + 6, + 3, + 4, + 5, + 3 + ] +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.3/dict_observation_space.json b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_observation_space.json new file mode 100644 index 00000000..e341acff --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.3/dict_observation_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_GRID_CLASSES": null, + "_init_subtype": "grid2op.Observation.completeObservation.CompleteObservation", + "alarms_area_lines": [], + "alarms_area_names": [], + "alarms_lines_area": {}, + "alertable_line_ids": [], + "alertable_line_names": [], + "assistant_warning_type": null, + "dim_alarms": 0, + "dim_alerts": 0, + "env_name": "rte_case5_example", + "gen_cost_per_MW": [ + 0.0, + 70.0 + ], + "gen_max_ramp_down": [ + 0.0, + 10.0 + ], + "gen_max_ramp_up": [ + 0.0, + 10.0 + ], + "gen_min_downtime": [ + 0, + 4 + ], + "gen_min_uptime": [ + 0, + 4 + ], + "gen_pmax": [ + 10.0, + 30.0 + ], + "gen_pmin": [ + 0.0, + 0.0 + ], + "gen_pos_topo_vect": [ + 4, + 8 + ], + "gen_redispatchable": [ + false, + true + ], + "gen_renewable": [ + true, + false + ], + "gen_shutdown_cost": [ + 0.0, + 1.0 + ], + "gen_startup_cost": [ + 0.0, + 2.0 + ], + "gen_to_sub_pos": [ + 4, + 2 + ], + "gen_to_subid": [ + 0, + 1 + ], + "gen_type": [ + "wind", + "thermal" + ], + "glop_version": "1.10.3", + "grid_layout": { + "sub_0": [ + 0.0, + 0.0 + ], + "sub_1": [ + 0.0, + 400.0 + ], + "sub_2": [ + 200.0, + 400.0 + ], + "sub_3": [ + 400.0, + 400.0 + ], + "sub_4": [ + 400.0, + 0.0 + ] + }, + "line_ex_pos_topo_vect": [ + 6, + 9, + 13, + 18, + 10, + 14, + 15, + 19 + ], + "line_ex_to_sub_pos": [ + 0, + 0, + 0, + 0, + 1, + 1, + 2, + 1 + ], + "line_ex_to_subid": [ + 1, + 2, + 3, + 4, + 2, + 3, + 3, + 4 + ], + "line_or_pos_topo_vect": [ + 0, + 1, + 2, + 3, + 7, + 11, + 12, + 16 + ], + "line_or_to_sub_pos": [ + 0, + 1, + 2, + 3, + 1, + 2, + 3, + 3 + ], + "line_or_to_subid": [ + 0, + 0, + 0, + 0, + 1, + 2, + 2, + 3 + ], + "load_pos_topo_vect": [ + 5, + 17, + 20 + ], + "load_to_sub_pos": [ + 5, + 4, + 2 + ], + "load_to_subid": [ + 0, + 3, + 4 + ], + "n_busbar_per_sub": "2", + "name_gen": [ + "gen_0_0", + "gen_1_1" + ], + "name_line": [ + "0_1_0", + "0_2_1", + "0_3_2", + "0_4_3", + "1_2_4", + "2_3_5", + "2_3_6", + "3_4_7" + ], + "name_load": [ + "load_0_0", + "load_3_1", + "load_4_2" + ], + "name_shunt": [], + "name_storage": [], + "name_sub": [ + "sub_0", + "sub_1", + "sub_2", + "sub_3", + "sub_4" + ], + "shunt_to_subid": [], + "storage_Emax": [], + "storage_Emin": [], + "storage_charging_efficiency": [], + "storage_discharging_efficiency": [], + "storage_loss": [], + "storage_marginal_cost": [], + "storage_max_p_absorb": [], + "storage_max_p_prod": [], + "storage_pos_topo_vect": [], + "storage_to_sub_pos": [], + "storage_to_subid": [], + "storage_type": [], + "sub_info": [ + 6, + 3, + 4, + 5, + 3 + ] +} \ No newline at end of file