Skip to content

Commit

Permalink
Release v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Apr 29, 2022
1 parent 28cd015 commit 55493b6
Show file tree
Hide file tree
Showing 33 changed files with 1,006 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Change Log
- [???] "asynch" multienv
- [???] properly model interconnecting powerlines

[1.6.6] - 2022-04-28
[1.7.0] - 2022-04-29
---------------------
- [BREAKING] the `L2RPNSandBoxScore`, `RedispReward` and `EconomicReward` now properly computes the cost of the grid
(there was an error between the conversion from MWh - cost is given in $ / MWh - and MW). This impacts also `ScoreICAPS2021` and `ScoreL2RPN2020`.
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.6.5" -b "v1.6.5-branch"
RUN git checkout "tags/v1.7.0" -b "v1.7.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.6.5'
version = '1.6'
release = '1.7.0'
version = '1.7'


# -- General configuration ---------------------------------------------------
Expand Down
14 changes: 12 additions & 2 deletions grid2op/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@

# Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# See AUTHORS.txt
# This Source Code Form is subject to the terms of the Mozilla Public License, version 2.0.
# If a copy of the Mozilla Public License, version 2.0 was not distributed with this file,
# you can obtain one at http://mozilla.org/MPL/2.0/.
# SPDX-License-Identifier: MPL-2.0
# This file is part of Grid2Op, Grid2Op a testbed platform to model sequential decision making in power systems.

"""
Grid2Op
"""
__version__ = "1.6.6.pre1"
__version__ = '1.7.0'

__all__ = [
"Action",
Expand Down Expand Up @@ -32,7 +41,8 @@
"change_local_dir",
"list_available_test_env",
"update_env",
]
"make"
,]

from grid2op.MakeEnv import make_old, make, make_from_dataset_path
from grid2op.MakeEnv import update_env
Expand Down
21 changes: 21 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.7.0/00/_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"ACTIVATE_STORAGE_LOSS": true,
"ALARM_BEST_TIME": 12,
"ALARM_WINDOW_SIZE": 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
}
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.7.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",
"chronics_max_timestep": "100",
"chronics_path": "/home/benjamin/Documents/grid2op_dev/grid2op/data/rte_case5_example/chronics/00",
"cumulative_reward": 4.722118377685547,
"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": 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Agent": {
"total": 3.83079996026936e-05
},
"Env": {
"apply_act": 0.0031759689991304185,
"observation_computation": 0.0011109200004284503,
"powerflow_computation": 0.03184064600009151,
"total": 0.03612753499965038
},
"total": 0.03697787500004779
}
3 changes: 3 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.7.0/00/grid2op.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.7.0"
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[
{},
{}
]
Binary file not shown.
21 changes: 21 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.7.0/01/_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"ACTIVATE_STORAGE_LOSS": true,
"ALARM_BEST_TIME": 12,
"ALARM_WINDOW_SIZE": 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
}
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.7.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",
"chronics_max_timestep": "100",
"chronics_path": "/home/benjamin/Documents/grid2op_dev/grid2op/data/rte_case5_example/chronics/01",
"cumulative_reward": 67.38427734375,
"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": 12
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Agent": {
"total": 0.000171155000316503
},
"Env": {
"apply_act": 0.018855834002351912,
"observation_computation": 0.011686267998811672,
"powerflow_computation": 0.14597200400021393,
"total": 0.1765141060013775
},
"total": 0.17960734699954628
}
3 changes: 3 additions & 0 deletions grid2op/data_test/runner_data/res_agent_1.7.0/01/grid2op.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "1.7.0"
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
]
Binary file not shown.
Loading

0 comments on commit 55493b6

Please sign in to comment.