PySD and Vensim

Use this forum to post Vensim related questions.
Post Reply
bahri
Senior Member
Posts: 61
Joined: Wed May 11, 2016 4:43 am
Vensim version: DSS

PySD and Vensim

Post by bahri »

Hi,

Let's two scientists want to work together.
Scientist A is a master of Python but he has a very limited knowledge in the SD approach
Scientist B is a master of the SD approach he has a very limited knowledge in Python.

Scientist B develops a medium/large SD models and convert his SD models to
Python scripts/models through your masterpiece, the PySD.

Can scientist A simulates the Python scripts (from SD models) perfectly as
scientist B simulates his SD models in Vensim ?

I appreciate if you give me a comprehensive answer.

Cheers...
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: PySD and Vensim

Post by tomfid »

PySD isn't our masterpiece - it was created by James Houghton at MIT. https://github.com/SDXorg/pysd

PySD can translate many models, and there are many test cases demonstrating fidelity. I don't know for sure, but I think it's likely that there are some unsupported functions, or functions for which some numerical differences are inevitable.

Another possible option is to use the dll with VenPy: https://github.com/VensimOfficial/venpy
Post Reply