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

Security Analysis module gives wrong loadflow results on PST outages #758

Open
nicow-elia opened this issue Jun 4, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@nicow-elia
Copy link

nicow-elia commented Jun 4, 2024

Describe the current behavior

Using DC loadflows, when outaging a PST through pypowsybl.security, the loadflow results are incorrect. Using net.remove_elements to remove the PST completely from the grid gives the correct post-outage loadflows, however the result in the security module are different. I am reasonably certain that the results using remove_elements are the correct ones as they match with our internal lodf based computation.

Describe the expected behavior

Loadflows p1_sec and p1_ref are equal up to floating point precision.

Describe the steps

Code to replicate available in this gist.

Environment

  • pypowsybl 1.3.1 (latest from pip, I think it should relate to 1.5.1 in this repository but pip freeze gives 1.3.1 as result)
  • Python 3.10

Relevant Log Output

image

Extra Information

No response

@nicow-elia nicow-elia added the bug Something isn't working label Jun 4, 2024
@nicow-elia nicow-elia changed the title Security Analysis module gives wrong results on PST outages Security Analysis module gives wrong loadflow results on PST outages Jun 4, 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