Grid2op

Latest version: v1.10.5

Safety actively analyzes 702445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 11

0.4.2

--------------------
- [BREAKING] previous saved BaseAction Spaces and BaseObservation Spaces (as dictionary) are no more compatible
- [BREAKING] renaming of attributes describing the powergrid across classes for better consistency:

============================= ======================= =======================
Class Name Old Attribute Name New Attribute Name
============================= ======================= =======================
Backend n_lines n_line
Backend n_generators n_gen
Backend n_loads n_load
Backend n_substations n_sub
Backend subs_elements sub_info
Backend name_loads name_load
Backend name_prods name_gen
Backend name_lines name_line
Backend name_subs name_sub
Backend lines_or_to_subid line_or_to_subid
Backend lines_ex_to_subid line_ex_to_subid
Backend lines_or_to_sub_pos line_or_to_sub_pos
Backend lines_ex_to_sub_pos line_ex_to_sub_pos
Backend lines_or_pos_topo_vect line_or_pos_topo_vect
Backend lines_ex_pos_topo_vect lines_ex_pos_topo_vect
BaseAction / BaseObservation _lines_or_to_subid line_or_to_subid
BaseAction / BaseObservation _lines_ex_to_subid line_ex_to_subid
BaseAction / BaseObservation _lines_or_to_sub_pos line_or_to_sub_pos
BaseAction / BaseObservation _lines_ex_to_sub_pos line_ex_to_sub_pos
BaseAction / BaseObservation _lines_or_pos_topo_vect line_or_pos_topo_vect
BaseAction / BaseObservation _lines_ex_pos_topo_vect lines_ex_pos_topo_vect
GridValue n_lines n_line
============================= ======================= =======================

- [FIXED] Runner cannot save properly action and observation (sizes are not computed properly)
**now fixed and unit test added**
- [FIXED] Plot utility has a bug in extracting grid information.
**now fixed**
- [FIXED] gym compatibility issue for environment
- [FIXED] checking key-word arguments in "make" function: if an invalid argument is provided,
it now raises an error.
- [UPDATED] multiple random generator streams for observations
- [UPDATED] Refactoring of the BaseAction and BaseObservation Space. They now both inherit from "Space"
- [UPDATED] the getting_started notebooks to reflect these changes

0.4.1

--------------------
- [FIXED] Bug14 : Nan in the observation space after switching one powerline [PandaPowerBackend]
- [UPDATED] plot now improved for buses in substations

0.4.0

--------------------
- [ADDED] Basic tools for plotting with the `PlotPlotly` module
- [ADDED] support of maintenance operation as well as hazards in the BaseObservation (and appropriated tests)
- [ADDED] support for maintenance operation in the Environment (read from the chronics)
- [ADDED] example of chronics with hazards and maintenance
- [UPDATED] handling of the `AmbiguousAction` and `IllegalAction` exceptions (and appropriated tests)
- [UPDATED] various documentation, in particular the class BaseObservation
- [UPDATED] information retrievable `BaseObservation.state_of`

0.3.6

--------------------
- [ADDED] functionality to restrict action based on previous actions
(impacts `Environment`, `RulesChecker` and `Parameters`)
- [ADDED] tests for the notebooks in `getting_started`
- [UPDATED] readme to properly show the docker capability
- [UPDATED] Readme with docker

0.3.5

--------------------
- [ADDED] serialization of the environment modifications
- [ADDED] the changelog file
- [ADDED] serialization of hazards and maintenance in actions (if any)
- [FIXED] error messages in `grid2op.GridValue.check_validity`
- [UPDATED] notebook `getting_started/4_StudyYourAgent.ipynb` to reflect these changes

Page 11 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.