Code Monkey home page Code Monkey logo

dtaas-wt-swap's Introduction

dtaas-wt-swap

This repository contains a water-tank model swap experiment for DTaaS. The experiment uses the Maestro co-orchestration engine for FMI-based co-simulation with the Model Swap feature including a FaultInject extension. The repository is a Docker-less version of the experiment at https://github.com/lausdahl/fmiSwap for use on the DTaaS platform.

The model swap mechanism demonstrated by the experiment is detailed in the paper "Dynamic Runtime Integration of New Models in Digital Twins" [H. Ejersbo, K. Lausdahl, M. Frasheri, L. Esterle] presented at the SEAMS 2023 conference. The water-tank experiment is further detailed here: https://arxiv.org/abs/2304.07328.

Install in DTaaS workspace:

git clone [email protected]:hejersbo/dtaas-wt-swap.git <WORKSPACE>

or if folder structure already exists and is non-empty:

cd <WORKSPACE>
git init
git remote add origin <this-repo-url>
git pull
git checkout main -f
git branch --set-upstream-to origin/master

Run in DTaaS workspace:

cd <WORKSPACE>/digital_twins/water_tank_swap
./wt-run.sh
./post-process.sh

The post-process.sh runs an experiment specific python plot of outputs. Plot results are in folder post.

Prerequisites:

If not already installed on the DTaaS platform, maestro requires the Java JDK 11 to be installed:

sudo apt-get install openjdk-11-jdk

In addition, these python packages are needed for post processing:

pip install pandas matplotlib

dtaas-wt-swap's People

Contributors

hejersbo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.