From f1bbdaae8f8a508e7071c91fb4662acf7df3e979 Mon Sep 17 00:00:00 2001 From: Florian Dupuy Date: Mon, 9 Dec 2024 17:15:07 +0100 Subject: [PATCH] CGMES: fictitious voltage levels are marked as fictitious Signed-off-by: Florian Dupuy --- .../src/main/java/com/powsybl/cgmes/conversion/Conversion.java | 1 + 1 file changed, 1 insertion(+) 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 628f4a8d15d..757dd5787ac 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 @@ -639,6 +639,7 @@ private void createFictitiousVoltageLevelsForLineContainer(Context context, Stri .setLowVoltageLimit(vlref.getLowVoltageLimit()) .setHighVoltageLimit(vlref.getHighVoltageLimit()) .setId(fictitiousVoltageLevelId) + .setFictitious(true) .setName(containerName) .setEnsureIdUnicity(context.config().isEnsureIdAliasUnicity()) .add();