rte-france / Grid2Op

Grid2Op a testbed platform to model sequential decision making in power systems.
https://grid2op.readthedocs.io/
Mozilla Public License 2.0
288 stars 116 forks source link

sim2real and storage units #508

Closed marota closed 1 year ago

marota commented 1 year ago

Environment

grid2op.make(env_name)

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"

BDonnot commented 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.