From d970e987b50b8c621c7d114c10043d75fc1bfa16 Mon Sep 17 00:00:00 2001 From: Etienne LESOT Date: Mon, 7 Oct 2024 16:49:51 +0200 Subject: [PATCH] add fixme Signed-off-by: Etienne LESOT --- .../com/powsybl/network/store/iidm/impl/RegulatingPoint.java | 1 + 1 file changed, 1 insertion(+) 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) {