Page 1 of 1

How to determine equation ordering?

Posted: Wed Aug 08, 2018 8:01 pm
by kingle
I'm working on converting a vensim model to run in a C/Python environment so it can run on a Linux supercomputing environment. In order for this converted model to get the same results, it is crucial to check the ordering of equation calculations somehow. Any suggestions?

Re: How to determine equation ordering?

Posted: Thu Aug 09, 2018 7:18 am
by tomfid
Right-click the document tool and change its settings to show All Equations, with Ordering: Comp.

I think PySD already does this, so check that first.

Re: How to determine equation ordering?

Posted: Fri Aug 10, 2018 12:40 am
by kingle
Thanks. It works. I'm not using PySD as it cannot handle all the subscripts yet. My Vensim model relies on GAME variable inputs from Python as well. So I'm trying a couple of options, one uses SDEverywhere and interfaces it with Python using Cython callbacks, the second option is using the compiled C model and interfacing it to my Python script with Cython. Hoping to get something working soon!

Re: How to determine equation ordering?

Posted: Fri Aug 10, 2018 5:33 am
by tomfid
Nice. I'd be interested to hear what ultimately works.