How to determine equation ordering?

Use this forum to post Vensim related questions.
Post Reply
kingle
Junior Member
Posts: 9
Joined: Wed Aug 23, 2017 3:55 pm
Vensim version: DSS

How to determine equation ordering?

Post 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?
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: How to determine equation ordering?

Post 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.
kingle
Junior Member
Posts: 9
Joined: Wed Aug 23, 2017 3:55 pm
Vensim version: DSS

Re: How to determine equation ordering?

Post 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!
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: How to determine equation ordering?

Post by tomfid »

Nice. I'd be interested to hear what ultimately works.
Post Reply