diff --git a/dynaflow/src/main/java/com/powsybl/dynaflow/results/ContingencyResultsUtils.java b/dynaflow/src/main/java/com/powsybl/dynaflow/results/ContingencyResultsUtils.java index 80aeccba2..3194a5474 100644 --- a/dynaflow/src/main/java/com/powsybl/dynaflow/results/ContingencyResultsUtils.java +++ b/dynaflow/src/main/java/com/powsybl/dynaflow/results/ContingencyResultsUtils.java @@ -55,9 +55,9 @@ public static SecurityAnalysisResult createSecurityAnalysisResult(Network networ private static PreContingencyResult getPreContingencyResult(Network network, LimitViolationFilter violationFilter, Path constraintsDir, Map scenarioResults) { NetworkResult networkResult = new NetworkResult(Collections.emptyList(), Collections.emptyList(), Collections.emptyList()); - //Dynaflow SA case (see issue #174) List limitViolations = Security.checkLimits(network); List filteredViolations = violationFilter.apply(limitViolations, network); + // Pre contingency always set to CONVERGED (see issue #174 & #414) return new PreContingencyResult(LoadFlowResult.ComponentResult.Status.CONVERGED, new LimitViolationsResult(filteredViolations), networkResult); }