Giter Site home page Giter Site logo

Vensim connector about emaworkbench HOT 4 CLOSED

quaquel avatar quaquel commented on August 22, 2024
Vensim connector

from emaworkbench.

Comments (4)

quaquel avatar quaquel commented on August 22, 2024

I have used excel with vensim and multiprocessing successfully in the past. So I know it can work.

A few questions:

  • which version of windows?
  • which version of vensim?
  • what is the directory structure?

Have you tried moving the excel file out of the directory in which the vensim file resides? That is, don't have multiple copies of the excel file. In principle is only writing to file a problem in multiprocessing. Reading from is no problem.

Alternatively, would it be possible to read the excel files in Python and use them as constants?

from emaworkbench.

sibeleker avatar sibeleker commented on August 22, 2024

Thanks!

I use Windows 10 64bit and Vensim 7.3 32bit.

Both the model file and the excel file are in the same directory, say 'C:/Users/eker/Documents/Felix_runs/', and this is the working directory used in multiprocessing.

I can try keeping the Excel file out, but I think it must be in the same directory as the model file, because the model reads from the Excel file using predefined Vensim functions, which require them to be in the same directory.

Yes, I think the alternative solution you suggested would work. I am just trying to avoid it :)

from emaworkbench.

quaquel avatar quaquel commented on August 22, 2024

I am not an active Vensim user myself so I have no idea, but are you certain that vensim requires that the excel file is in the same directory?

from emaworkbench.

sibeleker avatar sibeleker commented on August 22, 2024

I was sure but apparently I shouldn't have been. It worked fine when I took the Excel file out of the directory. Thanks a lot!

from emaworkbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.