sfctools – A toolbox for stock-flow consistent, agent-based models

A new Python package has been released. The package is an open-source toolbox and touches both stock-flow consistent and agent-based modeling aspects. It also contains a graphical user interface.

Repository: https://gitlab.com/dlr-ve/esy/sfctools/framework

Installation via Pypi: https://pypi.org/project/sfctools/

Documentation: https://sfctools-framework.readthedocs.io/en/latest/

Paper: https://joss.theoj.org/papers/10.21105/joss.04980

Author: Thomas Baldauf, German Aerospace Center

SFC models in Python

Here is a letter from Kenn Tamara, who developed the models in Godley-Lavoie using Python:

I was reading “Monetary Economics” by Godley and Lavoie and came across the sfc-models.net website. I have taken your eViews models and reimplemented them using Python (running the experiments and generating the figures).

Everything is open-source and is written with a package that I developed to help specify and solve the models. The models are implemented as iPython notebooks for easier viewing and can be found at:
https://github.com/kennt/monetary-economics

Information on the pysolve package used to specify and solve the models can be found at:
https://github.com/kennt/pylinsolve

(A little warning, the code for pysolve is still under development and there isn’t that much documentation yet)

I hope that the python implementation is useful and would like to contribute it to sfc-models.net.

Thank you,
Kenn Takara