The PySD Cookbook

Simple recipes for powerful analysis of system dynamics models


  1. Install PySD (we recommend using the latest available PySD version) and needed requirements for the notebooks

  2. Download this cookbook and unzip it to a working directory

  3. Navigate your command prompt to the working directory just created

  4. Launch ipython notebook with the command ipython notebook at your command prompt

  5. In the ipython browser, open sourceanalysesgetting_startedHello_World_Teacup.ipynb

How to use this cookbook

Every recipe in this cookbook is an executable ipython notebook. Because of this, I recommend that you download a copy of the cookbook, and follow along by executing the steps in each notebook as you read, playing with the parameters, etc.

If you want to implement a recipe, you can then make a copy of the notebook you are interested in, and modify it to analyze your own problem with your own data.

To download the cookbook in its entirity, use this link or visit the cookbook’s Github Page and select one of the options in the righthand panel.


Extra Resources

The PySD Documentation can answer most questions about how PySD itself should be used, with basic examples and function reference.

Indices and tables