Hi,
I want to built a model, that consists of only one stock with an inflow. Inflow should grow for 5 time steps with1/time step. From time step 5-10 the model should take the last stock value, import it into an Exel sheet, where some numeric operation happens (say every value times 3). At time step 10 I would like the model to take the last value computed in the Exel sheet and let the inflow grow again with 1/time step till time 30.
As I am a beginner in Vensim, I have no Idea how to do that, and would really appreciate every help.
Greetings
[Edited on 1-14-2008 by mayean]
[Edited on 1-14-2008 by mayean]
[Edited on 1-14-2008 by mayean]
switches between exel data and endogeneous data
switches between exel data and endogeneous data
- Attachments
-
- Trial.xls
- (13.5 KiB) Downloaded 303 times
-
- Super Administrator
- Posts: 4841
- Joined: Wed Mar 05, 2003 3:10 am
>> import it into an Exel sheet, where some numeric operation
>> happens (say every value times 3).
This can be done, but you need to program it using external functions (build a custom DLL with the code to push/pull individual values from Excel).
It is possible that the calculation you want to do in Excel is easily replicated in Vensim, but you will have to give us some more information to help you (the example spreadsheet does not give much away).
Tony.
>> happens (say every value times 3).
This can be done, but you need to program it using external functions (build a custom DLL with the code to push/pull individual values from Excel).
It is possible that the calculation you want to do in Excel is easily replicated in Vensim, but you will have to give us some more information to help you (the example spreadsheet does not give much away).
Tony.