Pydynamo
Pydynamo is a module to define, run and analyse system dynamics.
It was originally created to run the World3 model [2], written in DYNAMO language [1]. Included in the module are functions to convert DYNAMO code to pydynamo syntax. All scenarios of Limits to Growth are shown in LimitsToGrowth.
Installation
- clone this repository and got to folder
- python -m pip install -r requirements.txt
- you can import pydynamo
BTmodel for example)
Usage (see- Define the system equations in a function or file with pydynamo syntax
- Get a System object from this function or file
- Run, change parameters, re-run, plot
Author
Achille BAUCHER for my internship at the LIG-lab. I used some functions from pyworld3 [3], and nice explanations by it's author Charles Vanwynsberghe.
References
- [1] How DYNAMO works: https://archive.org/details/dynamousersmanua0000pugh/
- Some additional explanations about DYNAMO language are in dynamo_doc
- [2] Book describing the world3 model: https://archive.org/details/dynamicsofgrowth0000unse/
- [3] Pyworld3: https://github.com/cvanwynsberghe/pyworld3