|
6 лет назад | |
---|---|---|
cosimlibrary | 6 лет назад | |
examples | 6 лет назад | |
fmus | 6 лет назад | |
solutions | 6 лет назад | |
.gitignore | 6 лет назад | |
Dockerfile | 6 лет назад | |
README.md | 6 лет назад | |
notebook.ps1 | 6 лет назад |
This repository contains the materials that are used in the Co-simulation tutorial delivered at Wintersim Conference, in 2019.
The best way to run the examples is to use Docker.
docker build -t jupyter .
This will download all dependencies you need to run the examples.docker-machine ip
. Let us denote it by MACHINE_IP
docker run -p 8888:8888 jupyter
. This will start a container of the image tagged with jupyter
and will forward any traffic going into port 8888 (in the host machine) to the same port in the virtual machine. Let TOKEN
denote the token given.http://MACHINE_IP:8888/?token=TOKEN
Ctrl+C
.docker container ls
. If there are running containers, note their ID and stop them using: docker stop CONTAINERID
. Alternatively, you can just stop all containers by running docker stop $(docker ps -aq)
.Any changes made in the notebooks are not permanent. You have to save them to your computer.