/home/benjamin/Documents/grid2op_dev/grid2op/MakeEnv/Make.py:317: UserWarning: You are using a development environment. This environment is not intended for training agents. It might not be up to date and its primary use if for tests (hence the "test=True" you passed as argument). Use at your own risk.
warnings.warn(_MAKE_DEV_ENV_WARN)
Traceback (most recent call last):
File "test_deepcopy_env.py", line 11, in <module>
assert not done_2, f'powerflow diverge, error was: \n{info_2["exception"]}'
AssertionError: powerflow diverge, error was:
[RuntimeError('The slack bus is disconnected.')]
Expected output
Nothing shoud be raised and the environment should work correctly
The complete implementation of "deepcopy" is not really implemented at the moment, in the mean time, please use env.copy() which is working as expected
Environment
1.6.2
(eg 1.4.0)0.5.4
(eg 0.5.0)Bug description
The powerflow diverge when the environment is deep copied.
How to reproduce
It can be reproduced by executing:
Current output
Expected output
Nothing shoud be raised and the environment should work correctly