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

don't lose voltage/phase values during topology invalidation #476

Open
jonenst opened this issue Oct 29, 2024 · 0 comments
Open

don't lose voltage/phase values during topology invalidation #476

jonenst opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jonenst
Copy link
Collaborator

jonenst commented Oct 29, 2024

Describe the current behavior

bus.setV(200)
System.out.println(bus.getV()); // OK

switch.setOpen(true);
switch.setOpen(false); // causes invalidation of buses (views)

System.out.println(getBusView().getBus(...).getV()); // NaN

Describe the expected behavior

like in powsybl-core, voltage/phase values should be kept as much as possible. this makes for better user interfaces where they can be displayed (maybe disabled) until new values are recomputed with the new toplogy

Describe the steps

No response

Environment

No response

Relevant Log Output

No response

Extra Information

No response

@jonenst jonenst added the bug Something isn't working label Oct 29, 2024
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

1 participant