Hi Tony
Thanks for the reply. Actually its a single *.txt file which is updated in each time step. It seems that I have to use external function but couldn't figure it out. Do you have any advice for me?
Thanks again
Search found 42 matches
Re: matrix
Hi Tony
Thanks for the quick response. However, Vensim manual dosent't have much information that I am asking for.
In every time step I will get a text file and need to read those in matrix format while simulation is going on . What do you think?
Thanks for the quick response. However, Vensim manual dosent't have much information that I am asking for.
In every time step I will get a text file and need to read those in matrix format while simulation is going on . What do you think?
matrix
Hi
I have a text file, which contains around 40 parameter value for each timestep. My intension is to read those data at every timestep during the simulation period. If anyone can help me to findout, how to read those data in Vensim from the Matrix format.
Best
Khaled
I have a text file, which contains around 40 parameter value for each timestep. My intension is to read those data at every timestep during the simulation period. If anyone can help me to findout, how to read those data in Vensim from the Matrix format.
Best
Khaled
- Tue Nov 23, 2010 7:36 pm
- Forum: Vensim
- Topic: External Function
- Replies: 20
- Views: 11150
Thanks bob for your kind reply. However, I followed your advice to run Vensim as administrator but I am still having the same trouble. Then I created a new VENSIM.DLL file and checked in my older PC which works fine, but it's not working in my new machine. So, there could be 2 issues as per my view:...
- Mon Nov 22, 2010 8:01 pm
- Forum: Vensim
- Topic: External Function
- Replies: 20
- Views: 11150
- Mon Nov 22, 2010 1:01 am
- Forum: Vensim
- Topic: External Function
- Replies: 20
- Views: 11150
- Sun Nov 21, 2010 8:42 pm
- Forum: Vensim
- Topic: External Function
- Replies: 20
- Views: 11150
- Sun Nov 21, 2010 8:11 pm
- Forum: Vensim
- Topic: External Function
- Replies: 20
- Views: 11150
Hi, I just faced another problem regarding external function. Previously my external function was working fine. However, I just transfered all my files to my new PC (Windows7, 64 bit). I coppied the actual VENSIM.DLL file and then mentioned the path in 'startup', but I am not able to see my external...
- Tue Nov 16, 2010 6:19 am
- Forum: Vensim
- Topic: Autocalibration
- Replies: 5
- Views: 4189
- Sun Nov 14, 2010 8:11 pm
- Forum: Vensim
- Topic: Autocalibration
- Replies: 5
- Views: 4189
- Sat Nov 13, 2010 11:49 pm
- Forum: Vensim
- Topic: Autocalibration
- Replies: 5
- Views: 4189
Autocalibration
Hi I am trying to implement auto-calibration within Vensim. I have observed data in vensim environment. My intension is to make the calibration parameter (in this case calibration parameter is "width" and I am trying to match my "stock" with "observed”) time dependent. I loo...
- Sun Oct 24, 2010 4:26 am
- Forum: Vensim
- Topic: Matrix Multiplication
- Replies: 2
- Views: 2402
- Fri Oct 22, 2010 7:17 pm
- Forum: Vensim
- Topic: Matrix Multiplication
- Replies: 2
- Views: 2402
Matrix Multiplication
I am just wondering, does anybody know how to carryout matrix multiplication in Vensim, without writing the whole equation manually?
- Tue Sep 07, 2010 8:32 pm
- Forum: Vensim
- Topic: Export data to Excel or something similar
- Replies: 9
- Views: 7132
Yes, I am using Vensim5.10a DSS. I am having problem in writing anything within the vensim external function. It's not same as writing in C++, as I need to know the correct place to insert that code. If possible, can I please have a *.DLL file which can export data from Vensim to a text or xls file,...
- Tue Sep 07, 2010 4:59 am
- Forum: Vensim
- Topic: Export data to Excel or something similar
- Replies: 9
- Views: 7132
- Tue Sep 07, 2010 4:47 am
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
Hi tomfid. Thanks for your response. All the parameters that are entering in to the optimization are mostly unit less. We are using some kind of conversion factor for each of them. Some variables are related to energy price of different sources, energy reserve, emission and etc. Yes, the solution I ...
- Mon Sep 06, 2010 11:20 pm
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
HI Thanks for your advice. I think, I don't have any unit error. In response to you second point (reducing size), I would say that I am unable to reduce the number of variables. Regadring the bigger time step, I am in bit problem, as rest of the model needs small calculation time step to avoid insta...
- Mon Sep 06, 2010 10:48 pm
- Forum: Vensim
- Topic: Export data to Excel or something similar
- Replies: 9
- Views: 7132
I want to export, part of my model result (continuously) to a text/Excel file, in every step of my calculation, so that value can be used by another program. I know how to export data after the simulation, but I need to know how to do the same thing during the simulation period. Can anybody please h...
- Sun Sep 05, 2010 6:46 pm
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
Hi Bob Thanks for your advice. Actually I tested that model with double precision in both 5.3a and 5.10a and I am getting better result in Vensim 5.10a. My question was what are the changes/up gradation you made in version 5.10a, so that it can perform better? However, even with version 5.10a, I can...
- Sun Sep 05, 2010 10:02 am
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
Hi, I just remember that in case of 'L', I used a multiplying factor 6, so that the model can be simulated at least for few time steps. If I remove this factor then the model is not able to run even a single timestep. Surprisingly, I was able to run the model for entire simulation period in Vensim 1...
- Sat Sep 04, 2010 8:32 pm
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
- Sat Sep 04, 2010 8:28 pm
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
Hi Tomfid So far I know, matlab's ‘fsolve’ (non-linear equation solver) is something called a 'trust-region dogleg'. The algorithm approximates the function with a piecewise linear polygon. I should thank Bob, as he helped me helped me to use FIND ZERO function. Unfortunately, I couldn't get much in...
- Fri Sep 03, 2010 9:25 pm
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
- Fri Sep 03, 2010 9:03 pm
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728
Hi Bob Actually its a typing error (Vensimfloder ), while I was composing mail to you, but the model is fine. Thanks for this correction. I need to do simulation and optimization at the same time for my research work. Initiall I tried to do the optimization with the external facilities of Vensim but...
- Fri Sep 03, 2010 7:18 pm
- Forum: Vensim
- Topic: Call vensim
- Replies: 91
- Views: 52728