powsybl-open-loadflow
powsybl-open-loadflow copied to clipboard
[WIP] Support of BusbarSectionContingency for everything
Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)
- [ ] The commit message follows our guidelines
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX' and skip the rest
Maybe :-)
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This PR is a trial, to see what is missing in the API and what kind of difficulties we can met in the implementation. I am only testing on node/breaker topology network for the moment, but I have in mind to test on bus/breaker topology through the busId.
- In case of contingency propagation in N/B network, I see not difficulties because the fault propagation will gave me the switches. They will be modeled in the LfNetwork and so, a busbar contingency is similar as a loss of a bus and branches.
- In case of no contingency propagation, for the moment, I am looking for the bus from the bus/breaker view linked to the terminal of the busbar section. From this bus, I am looking for the connected branches in the same view and I disable them. An improvement could be to consider as open at one side if connected at both sides in pre-contignency network and impedant.
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API? If yes, check the following:
- [ ] The Breaking Change or Deprecated label has been added
- [ ] The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)
Other information:
(if any of the questions/checkboxes don't apply, please delete them entirely)







