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

[BUG] non-independent scenarios when batch scenario fails #461

Closed
mgovers opened this issue Jan 9, 2024 · 0 comments · Fixed by #462
Closed

[BUG] non-independent scenarios when batch scenario fails #461

mgovers opened this issue Jan 9, 2024 · 0 comments · Fixed by #462
Labels
bug Something isn't working

Comments

@mgovers
Copy link
Member

mgovers commented Jan 9, 2024

Describe the bug

A failing batch scenario may affect consecutive batch scenario

To Reproduce

  • Create valid input data
  • Create update batch with 2 scenarios
    • Ensure that the first scenario fails during calculation (e.g. sparse matrix error)
    • Ensure that the second scenario passes (e.g. by running it separately)
  • Create a model with the input data
  • Run powerflow calculations with the update batch with treading=-1
  • Observe the result
    • The first scenario fails with the correct batch error
    • The second scenario has a different output than if it is run separately as an individual scenario (e.g. in a batch without the first scenario)

Expected behavior

  • The first scenario fails with the correct batch error
  • The second scenario produces the same output

Additional context

c.c. @petersalemink95 @TonyXiang8787 This is quite severe. I'm surprised no-one has run into this issue yet.

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
Status: Q1 2024
Development

Successfully merging a pull request may close this issue.

1 participant