You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BREAKING] env.chronics_hander.set_max_iter(xxx) is now a private function. Use env.set_max_iter(xxx) or even better env.reset(options={"max step": xxx}).
Indeed, env.chronics_hander.set_max_iter() will likely have
no effect at all on your environment.
[BREAKING] for all the Handler (egCSVForecastHandler) the method set_max_iter is
now private (for the same reason as the env.chronics_handler). We do not recommend to
use it (will likely have no effect). Prefer using env.set_max_iter instead.
[BREAKING] now the runner.run() method only accept kwargs argument
(because it should always have been like this)
[BREAKING] to improve pickle support and multi processing capabilities, the attribute gym_env.observation_space._init_env and gym_env.observation_space.initial_obs_space
have been deleted (for the Dict space only, for the other spaces like the Box they
were not present in the first place)
[BREAKING] in the GymEnv class now by default the underlying grid2op environment has no
forecast anymore in an attempt to make this wrapper faster AND more easily pickle-able. You can
retrieve the old behaviour by passing gym_env = GymEnv(grid2op_env, with_forecast=True)
[FIXED] a bug in the MultiFolder and MultifolderWithCache leading to the wrong
computation of max_iter on some corner cases
[FIXED] the function cleanup_action_space() did not work correctly when the "chronics_hander"
was not initialized for some classes
[FIXED] the _observationClass attribute of the "observation env" (used for simulate and forecasted env)
is now an Observation and not an Action.
[FIXED] a bug when deep copying an "observation environment" (it changes its class)
[FIXED] issue on seed and MultifolderWithCache which caused #616
[FIXED] another issue with the seeding of MultifolderWithCache: the seed was not used
correctly on the cache data when calling chronics_handler.reset multiple times without
any changes
[FIXED] Backend now properly raise EnvError (grid2op exception) instead of previously EnvironmentError (python default exception)
[FIXED] a bug in PandaPowerBackend (missing attribute) causing directly #617
[FIXED] a bug in Environment: the thermal limit were used when loading the environment
even before the "time series" are applied (and before the user defined thermal limits were set)
which could lead to disconnected powerlines even before the initial step (t=0, when time
series are loaded)
[FIXED] an issue with the "max_iter" for FromNPY time series generator
[FIXED] a bug in MultiMixEnvironment : a multi-mix could be created even if the underlying
powergrids (for each mix) where not the same.
[FIXED] a bug in generate_classes (experimental_read_from_local_dir) with alert data.
[FIXED] a bug in the Runner when using multi processing on macos and windows OS: some non default
parameters where not propagated in the "child" process (bug in runner._ger_params)
[ADDED] possibility to skip some step when calling env.reset(..., options={"init ts": ...})
[ADDED] possibility to limit the duration of an episode with env.reset(..., options={"max step": ...})
[ADDED] possibility to specify the "reset_options" used in env.reset when
using the runner with runner.run(..., reset_options=xxx)
[ADDED] the argument mp_context when building the runner to help pass a multiprocessing context in the
grid2op Runner
[ADDED] the time series are now able to regenerate their "random" part
even when "cached" thanks to the addition of the regenerate_with_new_seed of the GridValue class (in public API)
[ADDED] MultifolderWithCache now supports FromHandlers time series generator
[IMPROVED] more consistency in the way the classes are initialized at the creation of an environment
[IMPROVED] more consistency when an environment is copied (some attributes of the copied env were
deep copied incorrectly)
[IMPROVED] Doc about the runner
[IMPROVED] the documentation on the time series folder.
[IMPROVED] now the "maintenance from json" (eg the JSONMaintenanceHandler or the GridStateFromFileWithForecastsWithMaintenance) can be customized with the day
of the week where the maintenance happens (key maintenance_day_of_week)
[IMPROVED] in case of "MultiMixEnvironment" there is now only class generated for
all the underlying mixes (instead of having one class per mixes)
[IMPROVED] the EpisodeData have now explicitely a mode where they can be shared accross
processes (using fork at least), see ep_data.make_serializable
[IMPROVED] chronix2grid tests are now done independantly on the CI