From 433f97883835d99079cf26f742aa7bc44ec4f844 Mon Sep 17 00:00:00 2001 From: dgelessus <dgelessus@users.noreply.github.com> Date: Fri, 5 May 2023 16:43:49 +0200 Subject: [PATCH] Remove section about co-simulation (no longer part of ProB 2) --- .../chapter/Java_API/08_cosimulation.adoc | 17 ----------------- src/docs/asciidoc/prob_handbook.adoc | 2 -- 2 files changed, 19 deletions(-) delete mode 100644 src/docs/asciidoc/chapter/Java_API/08_cosimulation.adoc diff --git a/src/docs/asciidoc/chapter/Java_API/08_cosimulation.adoc b/src/docs/asciidoc/chapter/Java_API/08_cosimulation.adoc deleted file mode 100644 index 6c08fd7..0000000 --- a/src/docs/asciidoc/chapter/Java_API/08_cosimulation.adoc +++ /dev/null @@ -1,17 +0,0 @@ - -[[co-simulation]] -= Co-Simulation - -ProB 2.0 contains some classes for cosimulating discrete models specified in one of the formalisms that are supported by ProB, and continuous models that are implemented using the https://fmi-standard.org/[functional mockup interface] standard. A so called functional mockup unit (FMU) can, for example, be created in C using the FMI SDK or exported from third party tools such as Dymola. The framework is built on top of https://ptolemy.berkeley.edu/java/jfmi//[JFMI] from the Ptolemy Project. In fact, we only added a thin wrapper on top of the JFMI library. -The `de.prob.cosimulation.FMU` class can be used to load a .fmu file and to control the continuous part of the simulation. - -[source, groovy] ----- -starttime = 0.0 -endtime = 5.0 -f = new FMU("/path/to/model.fmu") -f.initialize(starttime, endtime) -v = f.getDouble("some_portname") -f.set("some_other_portname", foo) -time = f.doStep(time, timedelta) ----- diff --git a/src/docs/asciidoc/prob_handbook.adoc b/src/docs/asciidoc/prob_handbook.adoc index 50ee945..1c901d8 100644 --- a/src/docs/asciidoc/prob_handbook.adoc +++ b/src/docs/asciidoc/prob_handbook.adoc @@ -49,8 +49,6 @@ include::chapter/Java_API/06_animation.adoc[] include::chapter/Java_API/07_evaluation.adoc[] -include::chapter/Java_API/08_cosimulation.adoc[] - include::chapter/Java_API/09_dependencyinjection.adoc[] include::chapter/Java_API/10_program_synthesis.adoc[] -- GitLab