From 890738636eb4fffb2c58509e645f1baea47e3590 Mon Sep 17 00:00:00 2001 From: Olivier Perrin Date: Mon, 16 Dec 2024 09:13:55 +0100 Subject: [PATCH] Bump powsybl-core to 6.6.0 + powsybl-open-loadflow to 1.14.0 (#174) * Bump powsybl-open-loadflow to 1.14.0 + add new report messages on slack bus distribution * Bump powsybl-core to 6.6.0 * Adapt unit tests to DC LF reporting change Signed-off-by: Olivier Perrin --- .../src/test/resources/balancedNetworkReport.txt | 6 ++++-- .../test/resources/unbalancedNetworkReport.txt | 15 ++++++++++----- pom.xml | 4 ++-- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/balances-adjustment/src/test/resources/balancedNetworkReport.txt b/balances-adjustment/src/test/resources/balancedNetworkReport.txt index 17ad2a93..69cac798 100644 --- a/balances-adjustment/src/test/resources/balancedNetworkReport.txt +++ b/balances-adjustment/src/test/resources/balancedNetworkReport.txt @@ -8,7 +8,8 @@ Network balance: active generation=4000.0 MW, active load=4000.0 MW, reactive generation=0.0 MVar, reactive load=0.0 MVar Angle reference bus: VOLTAGE_LEVEL_BE_0 Slack bus: VOLTAGE_LEVEL_BE_0 - DC load flow completed (status=true) + Slack bus active power (-0.0 MW) distributed in 0 distribution iteration(s) + DC load flow completed (solverSuccess=true, outerloopStatus=STABLE) + Checking load flow status Network CC0 SC0 Load flow complete with status 'CONVERGED' + Mismatch @@ -25,7 +26,8 @@ Network balance: active generation=4000.0 MW, active load=4000.0 MW, reactive generation=0.0 MVar, reactive load=0.0 MVar Angle reference bus: VOLTAGE_LEVEL_BE_0 Slack bus: VOLTAGE_LEVEL_BE_0 - DC load flow completed (status=true) + Slack bus active power (-1.7763568394002505E-13 MW) distributed in 0 distribution iteration(s) + DC load flow completed (solverSuccess=true, outerloopStatus=STABLE) + Checking load flow status Network CC0 SC0 Load flow complete with status 'CONVERGED' + Mismatch diff --git a/balances-adjustment/src/test/resources/unbalancedNetworkReport.txt b/balances-adjustment/src/test/resources/unbalancedNetworkReport.txt index fb9b9920..efb9589e 100644 --- a/balances-adjustment/src/test/resources/unbalancedNetworkReport.txt +++ b/balances-adjustment/src/test/resources/unbalancedNetworkReport.txt @@ -8,7 +8,8 @@ Network balance: active generation=4000.0 MW, active load=4000.0 MW, reactive generation=0.0 MVar, reactive load=0.0 MVar Angle reference bus: VOLTAGE_LEVEL_BE_0 Slack bus: VOLTAGE_LEVEL_BE_0 - DC load flow completed (status=true) + Slack bus active power (-0.0 MW) distributed in 0 distribution iteration(s) + DC load flow completed (solverSuccess=true, outerloopStatus=STABLE) + Checking load flow status Network CC0 SC0 Load flow complete with status 'CONVERGED' + Mismatch @@ -25,7 +26,8 @@ Network balance: active generation=3940.0 MW, active load=4040.0 MW, reactive generation=0.0 MVar, reactive load=0.0 MVar Angle reference bus: VOLTAGE_LEVEL_BE_0 Slack bus: VOLTAGE_LEVEL_BE_0 - DC load flow completed (status=true) + Slack bus active power (100.0 MW) distributed in 1 distribution iteration(s) + DC load flow completed (solverSuccess=true, outerloopStatus=STABLE) + Checking load flow status Network CC0 SC0 Load flow complete with status 'CONVERGED' + Mismatch @@ -42,7 +44,8 @@ Network balance: active generation=3880.0 MW, active load=4080.0 MW, reactive generation=0.0 MVar, reactive load=0.0 MVar Angle reference bus: VOLTAGE_LEVEL_BE_0 Slack bus: VOLTAGE_LEVEL_BE_0 - DC load flow completed (status=true) + Slack bus active power (200.0 MW) distributed in 1 distribution iteration(s) + DC load flow completed (solverSuccess=true, outerloopStatus=STABLE) + Checking load flow status Network CC0 SC0 Load flow complete with status 'CONVERGED' + Mismatch @@ -59,7 +62,8 @@ Network balance: active generation=3820.0 MW, active load=4120.0 MW, reactive generation=0.0 MVar, reactive load=0.0 MVar Angle reference bus: VOLTAGE_LEVEL_BE_0 Slack bus: VOLTAGE_LEVEL_BE_0 - DC load flow completed (status=true) + Slack bus active power (300.0 MW) distributed in 1 distribution iteration(s) + DC load flow completed (solverSuccess=true, outerloopStatus=STABLE) + Checking load flow status Network CC0 SC0 Load flow complete with status 'CONVERGED' + Mismatch @@ -76,7 +80,8 @@ Network balance: active generation=3760.0 MW, active load=4160.0 MW, reactive generation=0.0 MVar, reactive load=0.0 MVar Angle reference bus: VOLTAGE_LEVEL_BE_0 Slack bus: VOLTAGE_LEVEL_BE_0 - DC load flow completed (status=true) + Slack bus active power (399.99999999999983 MW) distributed in 1 distribution iteration(s) + DC load flow completed (solverSuccess=true, outerloopStatus=STABLE) + Checking load flow status Network CC0 SC0 Load flow complete with status 'CONVERGED' + Mismatch diff --git a/pom.xml b/pom.xml index 36e8040b..f51e1d82 100644 --- a/pom.xml +++ b/pom.xml @@ -58,8 +58,8 @@ 17 - 6.5.0 - 1.13.0 + 6.6.0 + 1.14.0 ../distribution-entsoe/target/site/jacoco-aggregate/jacoco.xml, ../../distribution-entsoe/target/site/jacoco-aggregate/jacoco.xml,