Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sim2real and storage units #508

Closed
marota opened this issue Aug 1, 2023 · 1 comment
Closed

sim2real and storage units #508

marota opened this issue Aug 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@marota
Copy link
Contributor

marota commented Aug 1, 2023

Environment

  • Grid2op version: 1.9.3
    The bug that has been worked on in commit 6178dff "fix a bug in sim2real and storage units" does not seem perfectly fixed.

Same error as before but with Pandapower backend on my side

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"

@marota marota added the bug Something isn't working label Aug 1, 2023
@BDonnot
Copy link
Collaborator

BDonnot commented Aug 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants