diff --git a/network-store-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/RegulatingPoint.java b/network-store-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/RegulatingPoint.java index 991fb5bb8..2f33d74d9 100644 --- a/network-store-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/RegulatingPoint.java +++ b/network-store-iidm-impl/src/main/java/com/powsybl/network/store/iidm/impl/RegulatingPoint.java @@ -39,6 +39,7 @@ private RegulationPointAttributes getAttributes(Resource resource) { } public Terminal getRegulatingTerminal() { + // FIXME when deleting a element the regulating terminal are not set to their original terminal it creates bugs Terminal localTerminal = TerminalRefUtils.getTerminal(index, getAttributes().getLocalTerminal()); Terminal regulatingTerminal; if (index.getIdentifiable(getAttributes().getRegulatingTerminal().getConnectableId()) == null) {