The documentation of methods getRatedU1(), getRatedU2(), setRatedU1(arg) and setRatedU2(arg) is wrong.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
For people, secondary side means lower voltage level. But it does work like this in IIDM model : the secondary side is side 1 if side 1 is lower or side 2 if side 2 is lower.
What is the expected behavior?
Change primary by 1 and secondary by 2.
Explain in the documentation ".md" how to find the regulation side.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
PowSyBl Version: ...
OS Version: ...
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Bug.
The documentation of methods getRatedU1(), getRatedU2(), setRatedU1(arg) and setRatedU2(arg) is wrong.
For people, secondary side means lower voltage level. But it does work like this in IIDM model : the secondary side is side 1 if side 1 is lower or side 2 if side 2 is lower.
Change primary by 1 and secondary by 2. Explain in the documentation ".md" how to find the regulation side.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
(if a question doesn't apply, you can delete it)