System dynamics in a jupyter notebook.