Introduction to the PySD CookbookΒΆ

Dear Reader,

This cookbook is intended to be a resource for system dynamicists interested in applying the power of python analytics to their simulation models.

Every recipe in this cookbook is an executable Jupyter Notebook (a.k.a. iPython Notebook). Because of this, I recommend that you download a copy of the cookbook, open the source files and follow along by executing the steps in each recipe as you read, playing with the parameters, etc. If you want to implement a recipe, you can make a copy of the notebook you are interested in, and modify it to analyze your own problem with your own data.

Workbook versions of many recipes are available for use in a classroom setting. In these workbooks, components of the code have been removed for students to fill in on their own. These are identified with a trailing _Workbook in the filename.

You can download the cookbook as a zip file from this link, or, if you prefer, create a fork of the repository from its github page, and clone it to your computer.

If you come up with an interesting recipe of your own, I’d love to have your contributions. If you find a bug in the scripts used in this cookbook, or have a suggestion for improvements, I’d encourage you to submit an issue on the project’s issue tracker. If you find a bug in the way PySD itself behaves, the PySD Issue Tracker is a great place to raise it.

Thanks for being interested and supportive of this project. I hope you find the tools presented here to be useful.

Happy Coding!

James Houghton