-
Notifications
You must be signed in to change notification settings - Fork 6
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
add regulating point for transformers #479
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some first comments
...store-model/src/main/java/com/powsybl/network/store/model/RegulatingEquipmentIdentifier.java
Show resolved
Hide resolved
...re-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/InjectionRegulatingPoint.java
Outdated
Show resolved
Hide resolved
network-store-model/src/main/java/com/powsybl/network/store/model/ResourceType.java
Outdated
Show resolved
Hide resolved
network-store-model/src/main/java/com/powsybl/network/store/model/ResourceDeserializer.java
Outdated
Show resolved
Hide resolved
...re-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/CachedNetworkStoreClient.java
Outdated
Show resolved
Hide resolved
...-iidm-impl/src/test/java/com/powsybl/network/store/iidm/impl/TwoWindingsTransformerTest.java
Outdated
Show resolved
Hide resolved
...-iidm-impl/src/test/java/com/powsybl/network/store/iidm/impl/TwoWindingsTransformerTest.java
Outdated
Show resolved
Hide resolved
...-iidm-impl/src/test/java/com/powsybl/network/store/iidm/impl/TwoWindingsTransformerTest.java
Show resolved
Hide resolved
...e-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/TapChangerRegulatingPoint.java
Outdated
Show resolved
Hide resolved
...e-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/TapChangerRegulatingPoint.java
Outdated
Show resolved
Hide resolved
a7c9927
to
a9562d3
Compare
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
8ccff89
to
1217fdd
Compare
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Fix sonar issues |
...ore-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/AbstractRegulatingPoint.java
Show resolved
Hide resolved
// for three windings transformer the local side will be the leg number | ||
// for two windings transformer the ratio is regulating on side 2 | ||
ThreeSides side = ThreeSides.TWO; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still not sure where does this come from?
...ore-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/AbstractRegulatingPoint.java
Outdated
Show resolved
Hide resolved
...ork-store-iidm-impl/src/test/java/com/powsybl/network/store/iidm/impl/tck/GeneratorTest.java
Outdated
Show resolved
Hide resolved
...ork-store-model/src/main/java/com/powsybl/network/store/model/RegulatingPointAttributes.java
Outdated
Show resolved
Hide resolved
network-store-model/src/main/java/com/powsybl/network/store/model/RegulatingTapChangerType.java
Outdated
Show resolved
Hide resolved
network-store-model/src/main/java/com/powsybl/network/store/model/RegulatingTapChangerType.java
Outdated
Show resolved
Hide resolved
...e-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/TapChangerRegulatingPoint.java
Outdated
Show resolved
Hide resolved
network-store-model/src/test/java/com/powsybl/network/store/model/TopLevelDocumentTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
My last comment is that I'm not sure why we hard code: |
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
no
What kind of change does this PR introduce?
it is a new feature and a bug fix
What is the current behavior?
when ratio tap changer and phase tap changer for 2 and 3 windings transformers regulate in remote,
if the regulated equipment is deleted they still regulate on the deleted element.
What is the new behavior (if this is a feature change)?
add regulating point for 2 and 3 windings transformers
Does this PR introduce a breaking change or deprecate an API?
Other information:
The list of regulating equipments in the equipment that can be regulated change from
to
where is a class containing String, ResourceType because RatioTapChanger and PhaseTapChanger regulating point have the same regulatingEquipment id which is the transformerId and can not be distinguished with the map if they regulate the same equipment