Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synch with dev 1.11.0 #671

Merged
merged 44 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
79a4483
fix issue grid2op#657
BDonnot Nov 6, 2024
c30ac8a
fix some error after previous commit
BDonnot Nov 6, 2024
edc1565
fix some error after previous commits
BDonnot Nov 7, 2024
9d02624
fixing bugs
BDonnot Nov 7, 2024
bd1679d
Merge pull request #658 from BDonnot/bd_dev
BDonnot Nov 7, 2024
80a54f9
adding the 'caching' kwargs to FromMultiEpisodeData
BDonnot Nov 7, 2024
914e003
fixing some bugs after changing the get_id / set_id of MultiEpisodeData
BDonnot Nov 7, 2024
c94c1da
now failing if the init state options raises a warning
BDonnot Nov 7, 2024
5c14343
now failing if the init state options raises a warning
BDonnot Nov 7, 2024
f259521
fix broken tests
BDonnot Nov 8, 2024
b658793
improve reading speed of FromEpisodeData by not reading everything, s…
BDonnot Nov 8, 2024
ccdc626
some improvment for base agents
BDonnot Nov 8, 2024
7acf066
fix an non issue spotted by sonarcube [skip ci]
BDonnot Nov 8, 2024
14e0bdb
Merge pull request #660 from BDonnot/bd_dev
BDonnot Nov 8, 2024
bbec434
fixing an issue in the action
BDonnot Nov 19, 2024
2b6a03e
Merge pull request #662 from BDonnot/bd_dev
BDonnot Nov 19, 2024
253be86
some fixes, need proper tests now
BDonnot Nov 19, 2024
4ac67de
fix typo in Kirchhoff name and fix issue with init topology in foreca…
BDonnot Nov 20, 2024
8407f6d
Merge pull request #663 from BDonnot/bd_dev
BDonnot Nov 20, 2024
ad607b9
by default grid2op env will not take the name of the backend class
BDonnot Nov 20, 2024
47ae6b2
fixing the automatic class with the new name change + improve automat…
BDonnot Nov 21, 2024
964899f
fix broken observation tests
BDonnot Nov 21, 2024
22342e2
fix some broken tests
BDonnot Nov 21, 2024
6637d2d
in the middle of fixes [skip ci]
BDonnot Nov 21, 2024
c731a06
fixing bugs in CI
BDonnot Nov 22, 2024
e03f5d7
small refacto for sonarcube
BDonnot Nov 22, 2024
d0eacac
fix broken tests
BDonnot Nov 22, 2024
37029ad
fix a bug (variable in error message not initialized)
BDonnot Nov 22, 2024
26e8e33
Merge pull request #664 from BDonnot/bd_dev
BDonnot Nov 22, 2024
1713fca
fix issue grid2op#665
BDonnot Nov 28, 2024
c2db05a
use manylinux_2_28 instead of manylinux2014 which is now EOL
BDonnot Nov 28, 2024
2483987
use manylinux_2_28 instead of manylinux2014 which is now EOL
BDonnot Nov 28, 2024
c6754d1
Merge pull request #668 from BDonnot/bd_dev
BDonnot Nov 28, 2024
85d2e3e
fix issue #667
BDonnot Nov 28, 2024
e83face
fix issues spotted in the CI after the act.as_serializable_dict() fix…
BDonnot Nov 29, 2024
627f52d
fix issues spotted in the CI after the act.as_serializable_dict() fix…
BDonnot Nov 29, 2024
abddf01
Fix bug in the MultifolderWithCache.seed method and add a test
EBoguslawski Nov 29, 2024
8dfe10c
fix typing error
EBoguslawski Nov 29, 2024
6e59656
remove useless code
EBoguslawski Nov 29, 2024
5a335c0
Merge pull request #670 from EBoguslawski/dev_1.11.0_seed_chronics
BDonnot Dec 1, 2024
f10836e
fix issue when init an env from handlers
BDonnot Dec 2, 2024
ea78fdb
fix a bug when setting thermal limit with obs_env
BDonnot Dec 2, 2024
f462820
fix a bug introduced in the previous fix
BDonnot Dec 2, 2024
f282298
Merge pull request #669 from BDonnot/bd_dev
BDonnot Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
manylinux_build:
name: Build linux ${{ matrix.python.name }} wheel
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64
container: quay.io/pypa/manylinux_2_28_x86_64
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
GHA_USE_NODE_20: false
Expand Down
50 changes: 49 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,62 @@ Native multi agents support:

[1.11.0] - 202x-yy-zz
-----------------------
- [BREAKING] Change for `FromMultiEpisodeData` that disables the caching by default
when creating the data.
- [BREAKING] deprecation of `backend.check_kirchoff` in favor of `backend.check_kirchhoff`
(fix the typo in the name)
- [BREAKING] change the name of the generated classes: now by default the backend class
name is added. This behaviour can be turned off by passing `_add_cls_nm_bk=False`
when calling `grid2op.make(...)`. If you develop a new Backend, you can also
customize the added name by overloading the `get_class_added_name` class method.
- [FIXED] issue https://github.com/Grid2op/grid2op/issues/657
- [FIXED] missing an import on the `MaskedEnvironment` class
- [FIXED] a bug when trying to set the load_p, load_q, gen_p, gen_v by names.
- [FIXED] the `obs.get_forecast_env` : in some cases the resulting first
observation (obtained from `for_env.reset()`) did not have the correct
topology.
- [FIXED] issue https://github.com/Grid2op/grid2op/issues/665 (`obs.reset()`
was not correctly implemented: some attributes were forgotten)
- [FIXED] issue https://github.com/Grid2op/grid2op/issues/667 (`act.as_serializable_dict()`
was not correctly implemented AND the `_aux_affect_object_int` and `_aux_affect_object_float`
have been also fixed - weird behaviour when you give them a list with the exact length of the
object you tried to modified (for example a list with a size of `n_load` that affected the loads))
- [FIXED] a bug when using the `DoNothingHandler` for the maintenance and the
environment data
- [FIXED] an issue preventing to set the thermal limit in the options
if the last simulated action lead to a game over
- [ADDED] possibility to set the "thermal limits" when calling `env.reset(..., options={"thermal limit": xxx})`
- [ADDED] possibility to retrieve some structural information about elements with
with `gridobj.get_line_info(...)`, `gridobj.get_load_info(...)`, `gridobj.get_gen_info(...)`
or , `gridobj.get_storage_info(...)`
- [ADDED] codacy badge on the readme
- [ADDED] a method to check the KCL (`obs.check_kirchhoff`) directly from the observation
(previously it was only possible to do it from the backend). This should
be used for testing purpose only
- [IMPROVED] possibility to set the injections values with names
to be consistent with other way to set the actions (*eg* set_bus)
- [IMPROVED] error messages when creating an action which changes the injections

- [IMPROVED] (linked to https://github.com/Grid2op/grid2op/issues/657) the way the
"chronics_hander" in the ObsEnv behaves (it now fully implements the public interface of
a "real" chronic_handler)
- [IMPROVED] error message in the `FromNPY` class when the backend is checked
- [IMRPOVED] the `FromMultiEpisodeData` class with the addition of the `caching`
kwargs to allow / disable caching (which was default behavior in previous version)
- [IMPROVED] the `FromMultiEpisodeData` class that now returns also the path of the data
- [IMPROVED] the classes inherited from `GreedyAgent` with the added possibility to
do the `obs.simulate` on a different time horizon (kwarg `simulated_time_step`)
- [IMPROVED] some type hints for some agent class
- [IMPROVED] the `backend.update_from_obs` function to work even when observation
does not have shunt information but there are not shunts on the grid.
- [IMPROVED] consistency of `MultiMixEnv` in case of automatic_classes (only one
class is generated for all mixes)
- [IMPROVED] the `act.as_serializable_dict()` to be more 'backend agnostic'as
it nows tries to use the name of the elements in the json output
- [IMPROVED] the way shunt data are digested in the `BaseAction` class (it is now
possible to use the same things as for the other types of element)
- [IMPROVED] grid2op does not require the `chronics` folder when using the `FromHandlers`
class

[1.10.4] - 2024-10-15
-------------------------
- [FIXED] new pypi link (no change in code)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![PyPi_Compat](https://img.shields.io/pypi/pyversions/grid2op.svg)](https://pypi.org/project/Grid2Op/)
[![LICENSE](https://img.shields.io/pypi/l/grid2op.svg)](https://www.mozilla.org/en-US/MPL/2.0/)
[![Documentation Status](https://readthedocs.org/projects/grid2op/badge/?version=latest)](https://grid2op.readthedocs.io/en/latest/?badge=latest)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3a4e666ba20f4f20b9131e9a6081622c)](https://app.codacy.com/gh/Grid2op/grid2op/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/Grid2op/grid2op/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/Grid2op/grid2op/tree/master)
[![discord](https://discord.com/api/guilds/698080905209577513/embed.png)](https://discord.gg/cYsYrPT)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/grid2op/grid2op.git/master)
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.11.0.dev0'
release = '1.11.0.dev2'
version = '1.11'


Expand Down
Loading
Loading