diff --git a/Dockerfile b/Dockerfile index 5d681135..9aa74d9e 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.0" -b "v1.10.0-branch" +RUN git checkout "tags/v1.10.1" -b "v1.10.1-branch" # Install Dependencies RUN pip3 install .[optional,challenge] WORKDIR / diff --git a/docs/conf.py b/docs/conf.py index 629f582c..0566bef4 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.1.dev0' +release = '1.10.1' version = '1.10' diff --git a/grid2op/__init__.py b/grid2op/__init__.py index 72b65ee2..28509189 100644 --- a/grid2op/__init__.py +++ b/grid2op/__init__.py @@ -11,7 +11,7 @@ Grid2Op """ -__version__ = '1.10.1.dev0' +__version__ = '1.10.1' __all__ = [ "Action", diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/_parameters.json b/grid2op/data_test/runner_data/res_agent_1.10.1/00/_parameters.json new file mode 100644 index 00000000..ce75edee --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/00/_parameters.json @@ -0,0 +1,23 @@ +{ + "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_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.1/00/actions.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/00/actions.npz new file mode 100644 index 00000000..cebffdf5 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/00/actions.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/agent_exec_times.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/00/agent_exec_times.npz new file mode 100644 index 00000000..a39e5882 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/00/agent_exec_times.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/disc_lines_cascading_failure.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/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.1/00/disc_lines_cascading_failure.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/env_modifications.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/00/env_modifications.npz new file mode 100644 index 00000000..ac8a9b5f Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/00/env_modifications.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/episode_meta.json b/grid2op/data_test/runner_data/res_agent_1.10.1/00/episode_meta.json new file mode 100644 index 00000000..e3e1e685 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/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": 5.266750335693359, + "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": 2 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/episode_times.json b/grid2op/data_test/runner_data/res_agent_1.10.1/00/episode_times.json new file mode 100644 index 00000000..4c57d0c8 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/00/episode_times.json @@ -0,0 +1,12 @@ +{ + "Agent": { + "total": 5.939000038779341e-05 + }, + "Env": { + "apply_act": 0.008951105000960524, + "observation_computation": 0.0010598629996820819, + "powerflow_computation": 0.10305314399920462, + "total": 0.11306411199984723 + }, + "total": 0.11474273299972992 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/grid2op.info b/grid2op/data_test/runner_data/res_agent_1.10.1/00/grid2op.info new file mode 100644 index 00000000..bad939ea --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/00/grid2op.info @@ -0,0 +1,3 @@ +{ + "version": "1.10.1" +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/observations.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/00/observations.npz new file mode 100644 index 00000000..a06a3588 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/00/observations.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/opponent_attack.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/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.1/00/opponent_attack.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/other_rewards.json b/grid2op/data_test/runner_data/res_agent_1.10.1/00/other_rewards.json new file mode 100644 index 00000000..a12aa787 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/00/other_rewards.json @@ -0,0 +1,4 @@ +[ + {}, + {} +] \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/00/rewards.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/00/rewards.npz new file mode 100644 index 00000000..dc078e60 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/00/rewards.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/_parameters.json b/grid2op/data_test/runner_data/res_agent_1.10.1/01/_parameters.json new file mode 100644 index 00000000..ce75edee --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/01/_parameters.json @@ -0,0 +1,23 @@ +{ + "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_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.1/01/actions.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/01/actions.npz new file mode 100644 index 00000000..d8c55330 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/01/actions.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/agent_exec_times.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/01/agent_exec_times.npz new file mode 100644 index 00000000..84c833f2 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/01/agent_exec_times.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/disc_lines_cascading_failure.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/01/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.1/01/disc_lines_cascading_failure.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/env_modifications.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/01/env_modifications.npz new file mode 100644 index 00000000..92e0ead3 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/01/env_modifications.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/episode_meta.json b/grid2op/data_test/runner_data/res_agent_1.10.1/01/episode_meta.json new file mode 100644 index 00000000..786ca237 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/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": 20.205652236938477, + "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": 5 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/episode_times.json b/grid2op/data_test/runner_data/res_agent_1.10.1/01/episode_times.json new file mode 100644 index 00000000..5e5e3b30 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/01/episode_times.json @@ -0,0 +1,12 @@ +{ + "Agent": { + "total": 0.00013265999950817786 + }, + "Env": { + "apply_act": 0.016178616000615875, + "observation_computation": 0.0045671650004806, + "powerflow_computation": 0.2390781300018716, + "total": 0.2598239110029681 + }, + "total": 0.26314936900053 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/grid2op.info b/grid2op/data_test/runner_data/res_agent_1.10.1/01/grid2op.info new file mode 100644 index 00000000..bad939ea --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/01/grid2op.info @@ -0,0 +1,3 @@ +{ + "version": "1.10.1" +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/observations.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/01/observations.npz new file mode 100644 index 00000000..fc14704b Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/01/observations.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/opponent_attack.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/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.1/01/opponent_attack.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/other_rewards.json b/grid2op/data_test/runner_data/res_agent_1.10.1/01/other_rewards.json new file mode 100644 index 00000000..3f83ec75 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/01/other_rewards.json @@ -0,0 +1,7 @@ +[ + {}, + {}, + {}, + {}, + {} +] \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/01/rewards.npz b/grid2op/data_test/runner_data/res_agent_1.10.1/01/rewards.npz new file mode 100644 index 00000000..0d6e8d84 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.10.1/01/rewards.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.10.1/dict_action_space.json b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_action_space.json new file mode 100644 index 00000000..5a03afed --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_action_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_ENV": 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.1", + "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.1/dict_attack_space.json b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_attack_space.json new file mode 100644 index 00000000..366bc97c --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_attack_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_ENV": 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.1", + "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.1/dict_env_modification_space.json b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_env_modification_space.json new file mode 100644 index 00000000..f31de303 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_env_modification_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_ENV": 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.1", + "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.1/dict_observation_space.json b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_observation_space.json new file mode 100644 index 00000000..47fcd8e2 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.10.1/dict_observation_space.json @@ -0,0 +1,220 @@ +{ + "_PATH_ENV": 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.1", + "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