From 71f7200b4574f14b511e1002f1e61d561d71d874 Mon Sep 17 00:00:00 2001 From: MioRtia Date: Fri, 2 Jul 2021 14:57:50 +0200 Subject: [PATCH] Clean code: control areas are now imported, method addCgmesSshControlAreas can be deleted (#1777) Signed-off-by: RALAMBOTIANA MIORA --- .../java/com/powsybl/cgmes/conversion/Conversion.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/Conversion.java b/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/Conversion.java index 4727e9396d2..96ebe7cd2ab 100644 --- a/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/Conversion.java +++ b/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/Conversion.java @@ -145,7 +145,6 @@ public Network convert() { assignNetworkProperties(context); addCgmesSvMetadata(network, context); addCgmesSshMetadata(network, context); - addCgmesSshControlAreas(network, context); addCimCharacteristics(network); if (context.nodeBreaker() && context.config().createCgmesExportMapping) { CgmesIidmMappingAdder mappingAdder = network.newExtension(CgmesIidmMappingAdder.class); @@ -361,14 +360,6 @@ private int readVersion(PropertyBags propertyBags, Context context) { } } - private void addCgmesSshControlAreas(Network network, Context context) { - PropertyBags sshControlAreas = cgmes.controlAreas(); - if (sshControlAreas != null && !sshControlAreas.isEmpty()) { - // TODO Develop conversion after IIDM modelling of control areas or define extension - context.ignored("ControlAreas", "Unsupported in current version"); - } - } - private void addCimCharacteristics(Network network) { if (cgmes instanceof CgmesModelTripleStore) { network.newExtension(CimCharacteristicsAdder.class)