Search found 42 matches

by luisangelguzmang
Tue Sep 29, 2015 6:54 pm
Forum: Vensim
Topic: Improving iterations!
Replies: 9
Views: 9029

Re: Improving iterations!

Hi, this is my problem. I have tried to be as specific as possible. I get an initial 4x4 (ij) matrix (M0) into the Vensim model. I get another two additional vectors where information is available on the expected growth in data cells originating (Oi) and terminating (Dj) in each zone. I need to obta...
by luisangelguzmang
Mon Aug 24, 2015 1:57 pm
Forum: Vensim
Topic: Improving iterations!
Replies: 9
Views: 9029

Re: Improving iterations!

Hi, can you help me?? or is not possible?
Thks
by luisangelguzmang
Wed Aug 19, 2015 12:51 pm
Forum: Vensim
Topic: Improving iterations!
Replies: 9
Views: 9029

Re: Improving iterations!

I tried with FIND ZERO function,but I can't (I did not know) do anything, because I got 2 subindex. I apologize if i was not clear. I need to estimate a future matrix (in this case "matrix 6") which is derived from base year matrix ("matrix 0") and the vectors "generation&qu...
by luisangelguzmang
Fri Aug 14, 2015 2:30 pm
Forum: Vensim
Topic: Improving iterations!
Replies: 9
Views: 9029

Improving iterations!

Hi, can you help me to do this in a better, simple and/or elegante way? I start whit the "matrix 0" and the vectors "generation" and attraction", these are constants and the result is the "matrox 6". It is possible to do this in one step and do more iterations? Tha...
by luisangelguzmang
Thu Jul 02, 2015 2:00 pm
Forum: Vensim
Topic: Simultaneous equations impossible to solve
Replies: 9
Views: 10057

Re: Simultaneous equations impossible to solve

Sorry! here it goes again...
by luisangelguzmang
Wed Jul 01, 2015 10:03 pm
Forum: Vensim
Topic: Simultaneous equations impossible to solve
Replies: 9
Views: 10057

Simultaneous equations impossible to solve

Hi, i'm building a model, but the simultaneous equations problem is unsolvable to me. I was trying to the simultaneous and fin zero functions, but did not work. The problem is (I think), that I use one variable (IVT car ij) to calculate a loop with many others, so I don't know where is the starting ...
by luisangelguzmang
Tue Feb 03, 2015 4:05 pm
Forum: Vensim
Topic: Get XLSX data
Replies: 5
Views: 4886

Re: Get XLSX data

Sooorry
by luisangelguzmang
Mon Feb 02, 2015 6:19 pm
Forum: Vensim
Topic: Get XLSX data
Replies: 5
Views: 4886

Re: Get XLSX data

I get the Vensim DDS V6.1
by luisangelguzmang
Mon Feb 02, 2015 6:07 pm
Forum: Vensim
Topic: Get XLSX data
Replies: 5
Views: 4886

Re: Get XLSX data

Sure...
Thks
by luisangelguzmang
Mon Feb 02, 2015 4:57 pm
Forum: Vensim
Topic: Get XLSX data
Replies: 5
Views: 4886

Get XLSX data

Hi, I have several problems trying to get data from an excel 2010 file. There is the error message:
Error message
Error message
1.jpg (22.86 KiB) Viewed 4886 times
My equation is:
Equation
Equation
1.jpg (26.99 KiB) Viewed 4886 times
And the excel file is:
Excel file
Excel file
1.jpg (61.28 KiB) Viewed 4886 times
Can you help me to fix the error?
Thks
by luisangelguzmang
Wed Dec 17, 2014 2:29 pm
Forum: Vensim
Topic: Move variables and calculate it into a vector
Replies: 10
Views: 9233

Re: Move variables and calculate it into a vector

Yes, but the point is that I need to use the last value of of the previous vector. Again, in t=0, V=[1 4 3 6 2 8], so in t=1, my new array will be V*= [14 3 6 2 8*2], using the last position, e.g. the eight (8) value from V. My problem is that I can not (I don't know how) use this value (in this cas...
by luisangelguzmang
Tue Dec 16, 2014 10:02 pm
Forum: Vensim
Topic: Move variables and calculate it into a vector
Replies: 10
Views: 9233

Re: Move variables and calculate it into a vector

One more question: how can change the last value (position) of each array with a new customized calculation? I mean, if I have the following array V=[1 4 3 6 2 8] in t=0, I need in t=1, calculate a new array V*= [14 3 6 2 8*2], for t=2, V**= [1 4 3 6 2 16*0.6] and so on. How can I do this in Vensim?...
by luisangelguzmang
Tue Dec 16, 2014 2:11 pm
Forum: Vensim
Topic: Move variables and calculate it into a vector
Replies: 10
Views: 9233

Re: Move variables and calculate it into a vector

Sorry, wrong file. I'm trying to replicate the values. My starting vector is the column B (yellow) and from this point (t=0) I need to replicate the values of the following columns.
Thanks.
by luisangelguzmang
Mon Dec 15, 2014 4:39 pm
Forum: Vensim
Topic: Move variables and calculate it into a vector
Replies: 10
Views: 9233

Re: Move variables and calculate it into a vector

Hi, this is a post of my model (in Excel). I would like to reproduce this Excel model in Vensim. My starting point (t=0) is the column B (in yellow). The column A shows the subscripts. Then, i need to calculate in the next iterations (t=1, 2,...n) the column values shown in the Excel file. It is pos...
by luisangelguzmang
Thu Dec 11, 2014 5:03 pm
Forum: Vensim
Topic: Move variables and calculate it into a vector
Replies: 10
Views: 9233

Move variables and calculate it into a vector

Hi, i'm trying to move variables over time into a vector, but i can´t. For example, I get a subscript i, so my vector Xi is [7 2 5 4 8 0 0 0] in t=0 (get from excel). In t=1, I need to get a new vector X'i = [0 2 5 4 8 3 0 0], for t=2, [0 0 5 4 8 3 9 0] and so on. First question: can you help me to ...
by luisangelguzmang
Fri May 31, 2013 6:20 pm
Forum: Vensim
Topic: License Vensim DSS
Replies: 4
Views: 4477

Re: License Vensim DSS

Ok, understood. But, there any way to fix that? We need teach vensim in our course.
by luisangelguzmang
Fri May 31, 2013 5:14 pm
Forum: Vensim
Topic: License Vensim DSS
Replies: 4
Views: 4477

License Vensim DSS

Hi, we get an academic license for Vensim DSS. It is possible install the software (same version) in several PCs for teaching a course at our University?
by luisangelguzmang
Thu Mar 14, 2013 5:07 pm
Forum: Vensim
Topic: How can I do a cumulative sum?
Replies: 7
Views: 6076

Re: How can I do a cumulative sum?

Sorry if I already have definined my subscript i, I have to redefined? or create a new subscript?
ID is a new variable?
Thanks
by luisangelguzmang
Wed Mar 13, 2013 9:33 pm
Forum: Vensim
Topic: How can I do a cumulative sum?
Replies: 7
Views: 6076

Re: How can I do a cumulative sum?

Thks, but I do not quite understand the code. I already got the subindex i, I don´t understand this part:

subscript i ID = i
by luisangelguzmang
Wed Mar 13, 2013 4:44 pm
Forum: Vensim
Topic: How can I do a cumulative sum?
Replies: 7
Views: 6076

How can I do a cumulative sum?

I need to do a cumulative sum over a vector according to V=ai+ai-1. For example:
Vector = [2, 4, 6, 3, 8, 1]
I need a new vector: V*=[2, 6, 12, 15, 23, 24]

There are a function for this?
Thks...
by luisangelguzmang
Wed Dec 05, 2012 4:25 pm
Forum: Vensim
Topic: Help in vector multiplication!!
Replies: 3
Views: 3910

Re: Help in vector multiplication!!

Thanks, but I can't understand completely. It is possible to get a small model with this?
by luisangelguzmang
Tue Dec 04, 2012 8:40 pm
Forum: Vensim
Topic: Help in vector multiplication!!
Replies: 3
Views: 3910

Help in vector multiplication!!

Hi, i try to make a multiplication bewtween a vector and a scalar. I need the result in another vector, but i can´t do that. I need some help.....
The multiplication is:
image
image
mult.jpg (16.63 KiB) Viewed 3910 times
by luisangelguzmang
Mon Jul 16, 2012 4:59 pm
Forum: Vensim
Topic: Not enough memory in Vensim
Replies: 12
Views: 11838

Re: Not enough memory in Vensim

Well, i would not mind that model executes slowly. The model info is the following:
Model info
Model info
Info.jpg (36.93 KiB) Viewed 11786 times
by luisangelguzmang
Mon Jul 16, 2012 3:33 pm
Forum: Vensim
Topic: Not enough memory in Vensim
Replies: 12
Views: 11838

Re: Not enough memory in Vensim

Ok, thank you Tony. So, it is impossible to expand the memory?