Comments (4)
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.
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.
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.
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)
- How to re-run experiments?
- Return useful error when sampling multiple policies with no levers defined, or multiple scenarios with no uncertainties defined
- Error during data conversion from Vensim (.vpmx) to Excel
- `test_plot_cdfs` test is extremely slow HOT 9
- Create Parameters with arbitrary shape
- Storing results and memory errors HOT 2
- Running a model for N replications but without iterating over uncertainties or levers HOT 4
- a simple model in vensim HOT 2
- dataframe is highly fragmented: tried to run a system dynamics file made by Vensim software HOT 3
- multiple experiments are not running in the file HOT 2
- Reimplement MultiprocesserEvaluator using ProcessPoolExecutor
- Error during data conversion from Vensim (.vpmx) to Excel
- Add example model and tutorial for Dynamic Adaptive Policy Pathways
- Run examples and Jupyter notebooks in CI
- Speed up onboarding time for new users by at least one order of magnitude HOT 2
- Add connectors for common machine-learning models HOT 1
- Support multiple levels of "acceptability" in PRIM. HOT 1
- Logo HOT 1
- MPI evaluator tutorial crashes on `pass_root_logger_level`
- Update code to be ready for NumPy 2.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emaworkbench.