Closed marota closed 1 year ago
I cannot reproduce the bug like this, following the "bug issue template" would have saved me maybe half a day...
There appears to be a bug when first loading an env with lightsim2grid and then loading another env with pandapower. Which I am solving at the moment.
Environment
Grid2op version:
1.9.3
The bug that has been worked on in commit 6178dff40f55fad46b083bd56ce875f150f7fec0 "fix a bug in sim2real and storage units" does not seem perfectly fixed.Same error as before but with Pandapower backend on my side
Error File "/usr/local/lib/python3.10/site-packages/grid2op/Space/GridObjects.py", line 2211, in _check_validity_storage_data raise IncorrectNumberOfStorages("self.storage_type is None") grid2op.Exceptions.EnvExceptions.IncorrectNumberOfStorages: Grid2OpException EnvError IncorrectNumberOfStorages "self.storage_type is None"