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

Isolating load issue #51

Closed
sunghoonhong opened this issue Mar 31, 2020 · 4 comments
Closed

Isolating load issue #51

sunghoonhong opened this issue Mar 31, 2020 · 4 comments

Comments

@sunghoonhong
Copy link

I played with “case5_example” environment, and I found a strange situation.
Initially, all loads, generators, and powerlines are connected to bus1. If I change bus of a load, which means change bus connection 1 to 2, the load is isolated, and therefore, I think it must lead to the game over. However, the game was not over. I changed the bus of two loads, and the game still was not over (‘done’ keeps giving ‘false’). Is it legal action or bug?
image

If I try to change the bus of last load, I found

{'disc_lines': array([False, False, False, False, False, False, False, False]), 'is_illegal': False, 'is_ambiguous': False, 'is_dispatching_illegal': True, 'is_illegal_reco': False, 'exception': [Grid2OpException Grid2OpException('Impossible to solve for this equilibrium, not enough production')]}

from ‘info’. After this step, all actions did not work, but ‘done’ gave ‘false’.

Best regards,
Thank you

@BDonnot
Copy link
Collaborator

BDonnot commented Mar 31, 2020

Dear Sunghoon,

Thanks for raising this error. Indeed it is a bug in the implementation of pandapower backend. I fixed the issue.
The fix will be live in next version (0.5.9 or 0.6.0).
I also made a test to make sure this issue will not arise again.

Thanks a lot

Benjamin

@sunghoonhong
Copy link
Author

Thanks for your reply.

I'm looking forward to checking new version!

@BDonnot
Copy link
Collaborator

BDonnot commented Mar 31, 2020

I will close this issue when the new version will be released :-)

Have a nice day

Benjamin

@BDonnot
Copy link
Collaborator

BDonnot commented Apr 3, 2020

The new release is out. I am closing this issue.

Don't hesitate to open it again if the new versions did not fix this bug.

Best

Benjamin

@BDonnot BDonnot closed this as completed Apr 3, 2020
BDonnot added a commit that referenced this issue May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants