diff --git a/Dockerfile b/Dockerfile index a771938ac..77812e479 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.9.5" -b "v1.9.5-branch" +RUN git checkout "tags/v1.9.6" -b "v1.9.6-branch" # Install Dependencies RUN pip3 install .[optional,challenge] WORKDIR / diff --git a/docs/conf.py b/docs/conf.py index 2bdb031f9..1972076e8 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.9.5' +release = '1.9.6' version = '1.9' diff --git a/grid2op/__init__.py b/grid2op/__init__.py index ac42f79b0..6b4eeaacb 100644 --- a/grid2op/__init__.py +++ b/grid2op/__init__.py @@ -11,7 +11,7 @@ Grid2Op """ -__version__ = '1.9.5' +__version__ = '1.9.6' __all__ = [ "Action", diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/_parameters.json b/grid2op/data_test/runner_data/res_agent_1.9.6/00/_parameters.json new file mode 100644 index 000000000..ce75edee3 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/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.9.6/00/actions.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/00/actions.npz new file mode 100644 index 000000000..767abd9ad Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/00/actions.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/agent_exec_times.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/00/agent_exec_times.npz new file mode 100644 index 000000000..4dab106f0 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/00/agent_exec_times.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/disc_lines_cascading_failure.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/00/disc_lines_cascading_failure.npz new file mode 100644 index 000000000..298421483 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/00/disc_lines_cascading_failure.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/env_modifications.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/00/env_modifications.npz new file mode 100644 index 000000000..6e06d3e28 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/00/env_modifications.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/episode_meta.json b/grid2op/data_test/runner_data/res_agent_1.9.6/00/episode_meta.json new file mode 100644 index 000000000..7223c9436 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/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": 9.161613464355469, + "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.9.6/00/episode_times.json b/grid2op/data_test/runner_data/res_agent_1.9.6/00/episode_times.json new file mode 100644 index 000000000..a80346de4 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/00/episode_times.json @@ -0,0 +1,12 @@ +{ + "Agent": { + "total": 8.197699935408309e-05 + }, + "Env": { + "apply_act": 0.014833036995696602, + "observation_computation": 0.002485878998413682, + "powerflow_computation": 0.06346367900550831, + "total": 0.0807825949996186 + }, + "total": 0.08239645399953588 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/grid2op.info b/grid2op/data_test/runner_data/res_agent_1.9.6/00/grid2op.info new file mode 100644 index 000000000..4889892d4 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/00/grid2op.info @@ -0,0 +1,3 @@ +{ + "version": "1.9.6" +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/observations.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/00/observations.npz new file mode 100644 index 000000000..3cb5dd4a1 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/00/observations.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/opponent_attack.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/00/opponent_attack.npz new file mode 100644 index 000000000..e05f26912 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/00/opponent_attack.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/00/other_rewards.json b/grid2op/data_test/runner_data/res_agent_1.9.6/00/other_rewards.json new file mode 100644 index 000000000..ca609c0c6 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/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.9.6/00/rewards.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/00/rewards.npz new file mode 100644 index 000000000..9e7ce99c6 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/00/rewards.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/_parameters.json b/grid2op/data_test/runner_data/res_agent_1.9.6/01/_parameters.json new file mode 100644 index 000000000..ce75edee3 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/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.9.6/01/actions.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/01/actions.npz new file mode 100644 index 000000000..aa023834c Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/01/actions.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/agent_exec_times.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/01/agent_exec_times.npz new file mode 100644 index 000000000..b76b3c8a9 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/01/agent_exec_times.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/disc_lines_cascading_failure.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/01/disc_lines_cascading_failure.npz new file mode 100644 index 000000000..714f93b4d Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/01/disc_lines_cascading_failure.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/env_modifications.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/01/env_modifications.npz new file mode 100644 index 000000000..92e0ead30 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/01/env_modifications.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/episode_meta.json b/grid2op/data_test/runner_data/res_agent_1.9.6/01/episode_meta.json new file mode 100644 index 000000000..e66c193de --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/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.21123504638672, + "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.9.6/01/episode_times.json b/grid2op/data_test/runner_data/res_agent_1.9.6/01/episode_times.json new file mode 100644 index 000000000..05f3f91a6 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/01/episode_times.json @@ -0,0 +1,12 @@ +{ + "Agent": { + "total": 0.00018192499919678085 + }, + "Env": { + "apply_act": 0.03575586100487271, + "observation_computation": 0.005782992000604281, + "powerflow_computation": 0.15825524700267124, + "total": 0.19979410000814823 + }, + "total": 0.20350440100082778 +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/grid2op.info b/grid2op/data_test/runner_data/res_agent_1.9.6/01/grid2op.info new file mode 100644 index 000000000..4889892d4 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/01/grid2op.info @@ -0,0 +1,3 @@ +{ + "version": "1.9.6" +} \ No newline at end of file diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/observations.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/01/observations.npz new file mode 100644 index 000000000..ac1626c4f Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/01/observations.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/opponent_attack.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/01/opponent_attack.npz new file mode 100644 index 000000000..e05f26912 Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/01/opponent_attack.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/01/other_rewards.json b/grid2op/data_test/runner_data/res_agent_1.9.6/01/other_rewards.json new file mode 100644 index 000000000..3f83ec75a --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/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.9.6/01/rewards.npz b/grid2op/data_test/runner_data/res_agent_1.9.6/01/rewards.npz new file mode 100644 index 000000000..0e54c61da Binary files /dev/null and b/grid2op/data_test/runner_data/res_agent_1.9.6/01/rewards.npz differ diff --git a/grid2op/data_test/runner_data/res_agent_1.9.6/dict_action_space.json b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_action_space.json new file mode 100644 index 000000000..ed56e26cb --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_action_space.json @@ -0,0 +1,219 @@ +{ + "_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.9.6", + "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 + ], + "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.9.6/dict_attack_space.json b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_attack_space.json new file mode 100644 index 000000000..ee138682b --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_attack_space.json @@ -0,0 +1,219 @@ +{ + "_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.9.6", + "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 + ], + "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.9.6/dict_env_modification_space.json b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_env_modification_space.json new file mode 100644 index 000000000..d51d1e6b4 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_env_modification_space.json @@ -0,0 +1,219 @@ +{ + "_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.9.6", + "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 + ], + "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.9.6/dict_observation_space.json b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_observation_space.json new file mode 100644 index 000000000..81b7213c9 --- /dev/null +++ b/grid2op/data_test/runner_data/res_agent_1.9.6/dict_observation_space.json @@ -0,0 +1,219 @@ +{ + "_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.9.6", + "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 + ], + "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