pypowsybl
pypowsybl copied to clipboard
Wrap replaceTeePointByVoltageLevelOnLine
Signed-off-by: Bertrand Rix [email protected]
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
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
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)
For the documentation of the function I used the one from powsybl core. Also the parameters name are the same as in the core API but I don't really get logic (line1c_id/ linec2_id), in doubt I kept the same names.
As discussed today, let's put this on hold until java API is reviewed, in particular:
- using voltage level ID (tee point ID) instead of lines IDs
- parameters naming
@sylvlecl I updated the pull request with latest changes in powsybl-core. Can you take a look and see if there is still work to do ?
@EtienneLt I am fixing the small conflict with main.