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 6c08fd7e1659deaa4f619ca94fa57cbee89c0929..0000000000000000000000000000000000000000 --- 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 50ee94529f30b46c595343dba0636ee08f5aa8d8..1c901d8546d067f1d32e27ca9431373841241bb1 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[]