This repository contains a watertank with model swap and a Dockerfile
to build a running example using the Maestro co-orchestration engine for FMI-based co-simulation with the model swap feature including a FaultInject extension.
In order to quickly run the experiment and produce the results of the artefact paper ("Dynamic Runtime Integration of New Models in Digital Twins" [H. Ejersbo, K. Lausdahl, M. Frasheri, L. Esterle]) do the following:
Clone this repo locally
$ git clone https://github.com/lausdahl/SEAMS2023Artefact-fmiSWAP.git
Change to the repo directory before going to the next step.
$ docker build . --tag lausdahl/maestro:2.3.0-model-swap
$ docker run -it -v ${PWD}:/work/model/post lausdahl/maestro:2.3.0-model-swap
After this step completes, you should see in the containing folder two files result.png
and result.pdf
, showing the plot included in the paper.
For futher information about the image content see the README_dockerhub.md
.