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..318f514be 100644 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.3.0-SNAPSHOT powsybl-dynawo-commons diff --git a/distribution/pom.xml b/distribution/pom.xml index b9d345998..5fd435a37 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -16,7 +16,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.3.0-SNAPSHOT pom diff --git a/dynaflow/pom.xml b/dynaflow/pom.xml index 791b35d8c..2dfdd479b 100644 --- a/dynaflow/pom.xml +++ b/dynaflow/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.3.0-SNAPSHOT powsybl-dynaflow diff --git a/dynawaltz-dsl/pom.xml b/dynawaltz-dsl/pom.xml index 52bad7935..ae1d5dc89 100644 --- a/dynawaltz-dsl/pom.xml +++ b/dynawaltz-dsl/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.3.0-SNAPSHOT powsybl-dynawaltz-dsl diff --git a/dynawaltz/pom.xml b/dynawaltz/pom.xml index d5e7ea19d..006ddc3e5 100644 --- a/dynawaltz/pom.xml +++ b/dynawaltz/pom.xml @@ -13,7 +13,7 @@ powsybl-dynawo com.powsybl - 2.2.0-SNAPSHOT + 2.3.0-SNAPSHOT powsybl-dynawaltz diff --git a/dynawo-integration-tests/pom.xml b/dynawo-integration-tests/pom.xml index d2871229b..eb6984a80 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.3.0-SNAPSHOT powsybl-dynawo-integration-tests diff --git a/pom.xml b/pom.xml index 409cc97ca..057cb1dcc 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ powsybl-dynawo - 2.2.0-SNAPSHOT + 2.3.0-SNAPSHOT pom powsybl dynawo