Page 1 of 1

How can I use Vensim DLL in Python, Linux?

Posted: Fri Jan 15, 2016 6:25 pm
by baharGS
Hi there,

I work for an institute and as part of my job, I am implementing an interface to interpret the results from some of already-built Vensim models.

I am using Python on Linux, and am wondering if I can some how generate and use DLL files to access these Vensim Models from within Linux?

I read something (here in this page: http://vensim.com/workbench/) which gave me hope:

"... For the moment, most of what we provide is Windows-specific, though it is generally possible to recompile external functions for Mac and Linux..."

I really appreciate if anyone can help me with this matter.

Thanks,

Re: How can I use Vensim DLL in Python, Linux?

Posted: Sat Jan 16, 2016 12:57 pm
by Administrator
The only version of Vensim for Linux is the multi-context library which is usually used on web servers.

Re: How can I use Vensim DLL in Python, Linux?

Posted: Sat Aug 06, 2016 3:25 pm
by nocegius
Hi

I develop model using vensim DSS in ubuntu 16.04 using WINE. I want use DDL to integrate my vensim models with other software and R or GIS.

Can I will do it using wine or is better to use virtual machine with windows ?

Thanks
Giuseppe

Re: How can I use Vensim DLL in Python, Linux?

Posted: Sat Aug 06, 2016 4:02 pm
by tomfid
I don't know of anyone who's tried, but if you have Vensim running OK in WINE, the .dll should work too, so it might be worth a try.

Re: How can I use Vensim DLL in Python, Linux?

Posted: Mon Aug 08, 2016 5:54 pm
by nocegius
It runs or better venapp works i have not yet tried DLL .. but i suppose it works

giuseppe

Re: How can I use Vensim DLL in Python, Linux?

Posted: Tue Aug 09, 2016 12:04 am
by pbreach
I've done this on Windows. Not sure if it will work the same way on Linux but since you're using wine with the windows dll (I think?) then maybe take a look here: https://github.com/pbreach/venpy

Re: How can I use Vensim DLL in Python, Linux?

Posted: Wed Aug 10, 2016 5:26 am
by nocegius
thank you pbreach your hint it is very useful. i will try and then tell you.

giuseppe

Re: How can I use Vensim DLL in Python, Linux?

Posted: Wed Dec 06, 2017 7:26 pm
by kingle
Has anybody tried the Multi-context DLL to get Vensim projects running on Linux? Would love some advice on where to begin with this and whether it's possible before I purchase the multi-context license.

Re: How can I use Vensim DLL in Python, Linux?

Posted: Fri Dec 08, 2017 4:05 pm
by tomfid
Forio.com runs on the MC library on Linux, as do several other high-traffic simulations.