Skip to content

Commit

Permalink
Release v1.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Dec 1, 2023
1 parent c3ae34b commit 8bb7132
Show file tree
Hide file tree
Showing 32 changed files with 992 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Change Log
- [???] properly model interconnecting powerlines


[1.9.7] - 2023-12-0z
[1.9.7] - 2023-12-01
----------------------
- [BREAKING] removal of the `grid2op/Exceptions/PowerflowExceptions.py` file and move the
`DivergingPowerflow` as part of the BackendException. If you imported (to be avoided)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ WORKDIR /Grid2Op
RUN git pull
RUN git remote update
RUN git fetch --all --tags
RUN git checkout "tags/v1.9.6" -b "v1.9.6-branch"
RUN git checkout "tags/v1.9.7" -b "v1.9.7-branch"
# Install Dependencies
RUN pip3 install .[optional,challenge]
WORKDIR /
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Benjamin Donnot'

# The full version, including alpha/beta/rc tags
release = '1.9.7.dev0'
release = '1.9.7'
version = '1.9'


Expand Down
2 changes: 1 addition & 1 deletion grid2op/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Grid2Op
"""
__version__ = '1.9.7.dev0'
__version__ = '1.9.7'

__all__ = [
"Action",
Expand Down
23 changes: 23 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.9.7/00/_parameters.json
Original file line number Diff line number Diff line change
@@ -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
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.9.7/00/episode_meta.json
Original file line number Diff line number Diff line change
@@ -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": 30.19790267944336,
"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": 7
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Agent": {
"total": 0.00018804800129146315
},
"Env": {
"apply_act": 0.03656216100080201,
"observation_computation": 0.006631043999732356,
"powerflow_computation": 0.16643031500098004,
"total": 0.2096235200015144
},
"total": 0.21395956200012733
}
3 changes: 3 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.9.7/00/grid2op.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.9.7"
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{},
{},
{},
{},
{},
{},
{}
]
Binary file not shown.
23 changes: 23 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.9.7/01/_parameters.json
Original file line number Diff line number Diff line change
@@ -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
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.9.7/01/episode_meta.json
Original file line number Diff line number Diff line change
@@ -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": 8.710962295532227,
"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
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Agent": {
"total": 6.966899945837213e-05
},
"Env": {
"apply_act": 0.01420826599951397,
"observation_computation": 0.0023521240009358735,
"powerflow_computation": 0.05833839099977922,
"total": 0.07489878100022906
},
"total": 0.07635611800014885
}
3 changes: 3 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.9.7/01/grid2op.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.9.7"
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
{},
{},
{}
]
Binary file not shown.
219 changes: 219 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.9.7/dict_action_space.json
Original file line number Diff line number Diff line change
@@ -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.7",
"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
]
}
Loading

0 comments on commit 8bb7132

Please sign in to comment.