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

getConnectableBus() returns exception if there is not bus in voltage level #939

Closed
miovd opened this issue Sep 16, 2019 · 0 comments · Fixed by #1008
Closed

getConnectableBus() returns exception if there is not bus in voltage level #939

miovd opened this issue Sep 16, 2019 · 0 comments · Fixed by #1008
Labels

Comments

@miovd
Copy link
Contributor

miovd commented Sep 16, 2019

  • Do you want to request a feature or report a bug?
    Bit of both

  • What is the current behavior?
    From a node breaker network, if there is a voltage level without bus, getConnectableBus() returns an exception "should not happen".

  • What is the expected behavior?
    To be defined: should we accept null if no bus is found? Or should we create a fictitious bus in this case? If so, how do we discriminate fictitious bus from real ones?

  • What is the motivation / use case for changing the behavior?
    It makes the import of the CGMES files of some contries to fail.

  • Please tell us about your environment:

    • PowSyBl Version: 3.0.0-SNAPSHOT
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)

(if a question doesn't apply, you can delete it)

@miovd miovd added the IIDM label Sep 16, 2019
@miovd miovd changed the title getConnectableBus() returns null if there is not bus in voltage level getConnectableBus() returns exception if there is not bus in voltage level Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant