From e6af65b69038b6520c641af2fbcef73b0cf7c8be Mon Sep 17 00:00:00 2001 From: Florian Dupuy Date: Wed, 13 Dec 2023 23:39:29 +0100 Subject: [PATCH] Bump to 2.2.0 Signed-off-by: Florian Dupuy --- README.md | 5 +++-- commons/pom.xml | 2 +- distribution/pom.xml | 2 +- dynaflow/pom.xml | 2 +- dynawaltz-dsl/pom.xml | 2 +- dynawaltz/pom.xml | 2 +- dynawo-integration-tests/pom.xml | 2 +- pom.xml | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2a4737043..2898af07e 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,9 @@ DynamicSimulationParameters parameters = DynamicSimulationParameters.load(); // Run the simulation and display the results DynamicSimulationResult result = DynamicSimulation.run(network, dynamicModelsSupplier, eventModelsSupplier, curvesSupplier, parameters); -System.out.println(result.isOk()); -System.out.println(result.getLogs()); +System.out.println(result.getStatus()); +System.out.println("Timeline:"); +result.getTimeLine().forEach(tl -> System.out.printf("[%.8f] %s (on %s)%n", tl.time(), tl.message(), tl.modelName())); ``` To learn more about the usage of DynaWaltz, read the [dedicated page](https://www.powsybl.org/pages/documentation/simulation/timedomain/dynawo) on our website. diff --git a/commons/pom.xml b/commons/pom.xml index 68c1efed5..a1ae5b737 100644 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.2.0 powsybl-dynawo-commons diff --git a/distribution/pom.xml b/distribution/pom.xml index b9d345998..589e69896 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -16,7 +16,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.2.0 pom diff --git a/dynaflow/pom.xml b/dynaflow/pom.xml index 791b35d8c..ab2a037f2 100644 --- a/dynaflow/pom.xml +++ b/dynaflow/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.2.0 powsybl-dynaflow diff --git a/dynawaltz-dsl/pom.xml b/dynawaltz-dsl/pom.xml index 52bad7935..aa4f3a59f 100644 --- a/dynawaltz-dsl/pom.xml +++ b/dynawaltz-dsl/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.2.0 powsybl-dynawaltz-dsl diff --git a/dynawaltz/pom.xml b/dynawaltz/pom.xml index d5e7ea19d..b32f017e8 100644 --- a/dynawaltz/pom.xml +++ b/dynawaltz/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.2.0 powsybl-dynawaltz diff --git a/dynawo-integration-tests/pom.xml b/dynawo-integration-tests/pom.xml index d2871229b..7072f5207 100644 --- a/dynawo-integration-tests/pom.xml +++ b/dynawo-integration-tests/pom.xml @@ -13,7 +13,7 @@ com.powsybl powsybl-dynawo - 2.2.0-SNAPSHOT + 2.2.0 powsybl-dynawo-integration-tests diff --git a/pom.xml b/pom.xml index 409cc97ca..452290d39 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ powsybl-dynawo - 2.2.0-SNAPSHOT + 2.2.0 pom powsybl dynawo