

This will run the dashboard and open it in your browser.
STELLA ARCHITECT MODELS FULL
Next to the full Jupyter notebook we have also included a stripped down version that only includes the interactive dashboard. Running the Jupyter dashboard using Voila Your browser will open showing JupyterLab and your chosen directory.
STELLA ARCHITECT MODELS INSTALL
Install Jupyter widgets (needed for the interactive dashboard): jupyter labextension install Start JupyerLab: jupyter lab.Install the necessary python modules: pip install -r requirements.txt.Activate the virtual environment: source venv/bin/activate (MacOS/Linux) or venv\scripts\activate.bat (Windows).Install a virtual environment in that directory: python3 -m venv venv.This will stop and remove the container.įirst, make sure you have Python 3 installed on your machine. When you are finished, close your browser and call docker-compose down from within your directory.Open the notebook sim-covid-19.ipynb from within JupyterLab and run all cells.Point your browser at – this will open JupyterLab showing the contents of your directory.On the command line, move into a directory where you would like to store the COVID-19 repository.

Docker Desktop on MacOS or on Windows), follow these steps: The repository also contains a REST-API server, which you can find in the rest-api folder. The Stella Architect file is in simulation_models/sir_model.stmx

STELLA ARCHITECT MODELS HOW TO
You can take a look at a live version of the dashboard at you can find instructions how to start the REST-API server down below. There is a companion repository on Github that illustrates how to build a web-based dashboard that runs against a REST-API provided by the COVID simulation. The simulation also includes a dashboard that can be run interactively in Jupyter or as a standalone application using Voila. You can play with the simulation and the scenarios using Jupyter notebooks, the simulation itself is built using System Dynamics as implemented in the BPTK-Py simulation framework. The main objective of the simulation is to illustrate how to use the BPTK-Py simulation framework. It illustrates some scenarios regarding social distancing, with the objective of keeping the strain on the health care system at a tolerable level. The simulation is roughly calibrated to the situation as it was in Germany in March 2020. This repository contains a simulation of the COVID-19 pandemic based on the SIR model.
