Skip to content
Snippets Groups Projects
user avatar
abaucher authored
ae05871a
History

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, updated with 2003 version, are shown in LimitsToGrowth03.

Documentation about the World models is in https://abaucher.gitlabpages.inria.fr/pydynamo/ !

Installation

  • clone this repository and got to folder
  • python -m pip install -r requirements.txt
  • you can import pydynamo

Note

This is a beta version and all documentation and commands may not be complete or updated

Usage (see BTmodel for example)

  • 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