Skip to content

Commit

Permalink
Release v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Mar 31, 2021
1 parent 74e93e3 commit d891b9e
Show file tree
Hide file tree
Showing 33 changed files with 944 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Change Log
- [???] "asynch" multienv
- [???] properly model interconnecting powerlines

[1.5.0] - 2021-xx-yy
[1.5.0] - 2021-03-31
-------------------------
- [BREAKING] `backend.check_kirchoff()` method now returns also the discrepancy in the voltage magnitude
and not only the error in the P and Q injected at each bus.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ WORKDIR /Grid2Op
RUN git pull
RUN git remote update
RUN git fetch --all --tags
RUN git checkout "tags/v1.4.0" -b "v1.4.0-branch"
RUN git checkout "tags/v1.5.0" -b "v1.5.0-branch"
# Install Dependencies
RUN pip3 install .[optional,challenge]
WORKDIR /
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
author = 'Benjamin Donnot'

# The full version, including alpha/beta/rc tags
release = '1.4.0'
version = '1.4'
release = '1.5.0'
version = '1.5'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion grid2op/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Grid2Op
"""
__version__ = '1.4.0'
__version__ = '1.5.0'

__all__ = [
"Action",
Expand Down
16 changes: 16 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.5.0/00/_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"ACTIVATE_STORAGE_LOSS": true,
"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,
"MAX_LINE_STATUS_CHANGED": 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
}
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.5.0/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_rte_case5_example",
"chronics_max_timestep": "100",
"chronics_path": "/home/benjamin/Documents/grid2op_dev/grid2op/data/rte_case5_example/chronics/00",
"cumulative_reward": 22.511795043945312,
"env_seed": null,
"env_type": "Environment_rte_case5_example",
"grid_path": "/home/benjamin/Documents/grid2op_dev/grid2op/data/rte_case5_example/grid.json",
"nb_timestep_played": 6
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Agent": {
"total": 0.00012969970703125
},
"Env": {
"apply_act": 0.011852025985717773,
"observation_computation": 0.005419254302978516,
"powerflow_computation": 0.08653426170349121,
"total": 0.1038055419921875
},
"total": 0.10569381713867188
}
3 changes: 3 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.5.0/00/grid2op.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.4.0"
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{},
{},
{},
{},
{},
{}
]
Binary file not shown.
16 changes: 16 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.5.0/01/_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"ACTIVATE_STORAGE_LOSS": true,
"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,
"MAX_LINE_STATUS_CHANGED": 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
}
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.5.0/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_rte_case5_example",
"chronics_max_timestep": "100",
"chronics_path": "/home/benjamin/Documents/grid2op_dev/grid2op/data/rte_case5_example/chronics/01",
"cumulative_reward": 16.219785690307617,
"env_seed": null,
"env_type": "Environment_rte_case5_example",
"grid_path": "/home/benjamin/Documents/grid2op_dev/grid2op/data/rte_case5_example/grid.json",
"nb_timestep_played": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Agent": {
"total": 6.771087646484375e-05
},
"Env": {
"apply_act": 0.006358623504638672,
"observation_computation": 0.0029401779174804688,
"powerflow_computation": 0.046306610107421875,
"total": 0.055605411529541016
},
"total": 0.0565946102142334
}
3 changes: 3 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.5.0/01/grid2op.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.4.0"
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{},
{},
{},
{}
]
Binary file not shown.
210 changes: 210 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.5.0/dict_action_space.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
{
"_init_subtype": "grid2op.Action.TopologyAction.TopologyAction",
"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.4.0",
"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
]
}

0 comments on commit d891b9e

Please sign in to comment.