diff --git a/src/main/java/com/powsybl/openloadflow/sensi/AbstractSensitivityAnalysis.java b/src/main/java/com/powsybl/openloadflow/sensi/AbstractSensitivityAnalysis.java index 9fddff513c..49deb80ba3 100644 --- a/src/main/java/com/powsybl/openloadflow/sensi/AbstractSensitivityAnalysis.java +++ b/src/main/java/com/powsybl/openloadflow/sensi/AbstractSensitivityAnalysis.java @@ -772,7 +772,8 @@ public SensitivityFactorHolder readAndCheckFactors(Network network, Map Collections.singletonList(new BusVoltagePerTargetV(busVoltage, targetVoltage)); + SensitivityAnalysisResult result = sensiProvider.run(network, VariantManagerConstants.INITIAL_VARIANT_ID, factorsProvider, Collections.emptyList(), + sensiParameters, LocalComputationManager.getDefault()) + .join(); + assertTrue(result.getSensitivityValues().isEmpty()); + } + @Test void testBranchFunctionOutsideMainComponent() { testBranchFunctionOutsideMainComponent(false);