How to determine equation ordering?
How to determine equation ordering?
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?
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.
I think PySD already does this, so check that first.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: How to determine equation ordering?
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?
Nice. I'd be interested to hear what ultimately works.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/