Search found 16 matches
- Thu Jun 06, 2019 1:31 am
- Forum: Vensim
- Topic: Publishing a vensim model
- Replies: 1
- Views: 1597
Publishing a vensim model
Hi I have run the model for three different scenarios (with changing one parameter of the system), so Vensim plots the three different scenarios in one graph. Now, I need to send the vensim model to someone else and show the graphs, I want him to see the graph of three scenarios in one run. How can ...
- Sat Sep 10, 2016 2:10 pm
- Forum: Vensim
- Topic: different distribution for each subscript
- Replies: 5
- Views: 3585
Re: different distribution for each subscript
Thanks for your reply.
It means if I have 10 variables like this ( with different distributions for each subscript) I need to define about 50 extra variables in the model, right?
It means if I have 10 variables like this ( with different distributions for each subscript) I need to define about 50 extra variables in the model, right?
- Fri Sep 09, 2016 2:20 pm
- Forum: Vensim
- Topic: different distribution for each subscript
- Replies: 5
- Views: 3585
Re: different distribution for each subscript
thanks for your reply, you are right.
Then I have to define 5 new constants to the model and subscript them while I was thinking that maybe I can define it for example like this:
for three subscript:
RANDOM NORMAL(80,90,100,10,1),RANDOM NORMAL(82,95,100,10,1),RANDOM NORMAL(70,95,100,15,1)
Then I have to define 5 new constants to the model and subscript them while I was thinking that maybe I can define it for example like this:
for three subscript:
RANDOM NORMAL(80,90,100,10,1),RANDOM NORMAL(82,95,100,10,1),RANDOM NORMAL(70,95,100,15,1)
- Fri Sep 09, 2016 12:36 pm
- Forum: Vensim
- Topic: different distribution for each subscript
- Replies: 5
- Views: 3585
different distribution for each subscript
Hi
My question is, can I have different distribution for each of my subscript in vensim? the problem is I have three subscript and I want to define the price for each of them as random normal with different mean and std; however it causes an error. could you please guide me?
Cheers
Samira
My question is, can I have different distribution for each of my subscript in vensim? the problem is I have three subscript and I want to define the price for each of them as random normal with different mean and std; however it causes an error. could you please guide me?
Cheers
Samira
- Sat Aug 27, 2016 8:08 am
- Forum: Vensim
- Topic: optimization in vensim based on time
- Replies: 6
- Views: 4526
Re: optimization in vensim based on time
Thanks Tomfid for your help.
- Sat Aug 27, 2016 1:04 am
- Forum: Vensim
- Topic: optimization in vensim based on time
- Replies: 6
- Views: 4526
Re: optimization in vensim based on time
Sorry, I have attached them.
Thanks for your time and consideration.
For subscripts I selected them all in subscript control. Is it what you mean?
Thanks for your time and consideration.
For subscripts I selected them all in subscript control. Is it what you mean?
- Fri Aug 26, 2016 5:48 am
- Forum: Vensim
- Topic: optimization in vensim based on time
- Replies: 6
- Views: 4526
Re: optimization in vensim based on time
Hi Tomfid Thanks for your reply. I couldn't solve the problem even I made it worse, I used subscripts for my decision variables and now the optimization is not working anymore. Could you please have a look to my sample model( I tried to make a simple one just to learn Vensim through it). it would be...
- Tue Aug 23, 2016 2:33 am
- Forum: Vensim
- Topic: optimization in vensim based on time
- Replies: 6
- Views: 4526
optimization in vensim based on time
Greetings! I would like to know is there any chance in vensim optimization to have the result during time? for example I made a simple model to learn vensim optimization. in this model I have three suppliers which I want to allocate order amount to them without using (ALLOC function ). now I want to...
- Tue Aug 23, 2016 2:10 am
- Forum: Vensim
- Topic: Tutorials (Video + text)
- Replies: 19
- Views: 47821
Re: Tutorials (Video + text)
That is great, thanks
- Fri Jul 15, 2016 7:49 am
- Forum: Vensim
- Topic: vensim to matlab
- Replies: 14
- Views: 8229
Re: vensim to matlab
Hi When I use the given code for calling Vensim from Matlab, I don't get any error but the out put is just: ans = 6 ans = -6 ans = -6 ans = 0 0 0 0 ... ans = 0 0 0 0 ... the code I use is: %% MATLAB to VENSIM by-way-of DDL % The code below documents a successful example using the Vensim DDL % from V...
- Mon Jul 11, 2016 4:59 am
- Forum: Vensim
- Topic: vensim to matlab
- Replies: 14
- Views: 8229
Re: vensim to matlab
Hi
Yes and thanks for your help.
Matlabx32 installed and finally could load vendll32 there.Now I am figuring out how to call my Vensim file and special variables in the model.
Yes and thanks for your help.
Matlabx32 installed and finally could load vendll32 there.Now I am figuring out how to call my Vensim file and special variables in the model.
- Fri Jul 08, 2016 1:34 am
- Forum: Vensim
- Topic: vensim to matlab
- Replies: 14
- Views: 8229
Re: vensim to matlab
Sorry for the e mail address. it sounds my outlook had some issues. I resent the email, could you please reply that.
Thanks
Samira
Thanks
Samira
- Thu Jul 07, 2016 2:23 am
- Forum: Vensim
- Topic: vensim to matlab
- Replies: 14
- Views: 8229
Re: vensim to matlab
Hi
What if I upgrade my Vensim to 64 bit? Do you think it would work and can I call the dll from Matlab 64 bit?
What if I upgrade my Vensim to 64 bit? Do you think it would work and can I call the dll from Matlab 64 bit?
- Tue Jun 28, 2016 12:07 am
- Forum: Vensim
- Topic: vensim to matlab
- Replies: 14
- Views: 8229
Re: vensim to matlab
Yes I have tried the code for matlab which comes with vensim, however the first step ( calling vensim dll) is not working.
do you have any idea to have bridge process or getting rid of HWnd error.
do you have any idea to have bridge process or getting rid of HWnd error.
- Mon Jun 27, 2016 1:46 am
- Forum: Vensim
- Topic: vensim to matlab
- Replies: 14
- Views: 8229
vensim to matlab
Hi All I am using vensim 6.3D(32-bit) and matlab R2015b(64-bit), would like to call vensim from matlab with the command below: if not(libisloaded('VenDLL32')) hfile = ['C:\Users\Public\Vensim\dll\vendll.h']; loadlibrary('VenDLL32',hfile); end and get an error: Warning: Warnings messages were produce...
- Fri Jun 24, 2016 5:37 am
- Forum: Vensim
- Topic: vensim link matlab
- Replies: 74
- Views: 53362
Re:
Finaly I could load vendll32. Now I load this model: str=['SPECIAL>LOADMODEL|',test,'.vpm']; lp=libpointer('voidPtr',[int8(str) 0]); calllib('vendll32','vensim_command',lp); How can I see the result of my model in matlab or the amount of variable thet I defined in vensim? You mean by installing XP,...