Ahhh I see
thanks
Search found 14 matches
- Fri Oct 10, 2003 1:03 pm
- Forum: Vensim
- Topic: ordering vectors
- Replies: 6
- Views: 6685
- Thu Oct 09, 2003 1:51 pm
- Forum: Vensim
- Topic: ordering vectors
- Replies: 6
- Views: 6685
- Wed Oct 08, 2003 10:47 am
- Forum: Vensim
- Topic: ordering vectors
- Replies: 6
- Views: 6685
ordering vectors
Hello I'm looking for a way to add 2 subscripted variables (var1 and var2) together so that the largest element of var2 is added to the first element of var1, the second largest element of var2 is added to the second element of var1... and so on. I have seen the functions vector reorder and vector s...
- Mon Apr 14, 2003 12:33 pm
- Forum: Vensim
- Topic: Data Export question
- Replies: 2
- Views: 4608
- Wed Apr 09, 2003 10:53 am
- Forum: Vensim
- Topic: Data Export question
- Replies: 2
- Views: 4608
venapp command
Is there a way when using the venapp command:
menu>vdfxls|vdffile|tabfile|savelist|+*!number,
to only read out the data for the final time?
menu>vdfxls|vdffile|tabfile|savelist|+*!number,
to only read out the data for the final time?
- Mon Apr 07, 2003 1:26 pm
- Forum: Vensim
- Topic: Last in First out Queues
- Replies: 2
- Views: 4690
Thanks for your thoughts. Unfortunately, I've opted against an SD approach for this problem for a number of reasons: I am looking to get recommendations for individual SKUs and so the model tracks the flow of 1 product rather than a group of products. Therefore the delays are discrete rather than di...
- Fri Apr 04, 2003 2:06 pm
- Forum: Vensim
- Topic: Last in First out Queues
- Replies: 2
- Views: 4690
Last in First out Queues
Are there any plans to provide a queue function that operates on a last in first out principle? This would be very useful for modelling date life waste in inventory stocks: Customers tend to look for the youngest goods on a supermarket shelf. This is hard to replicate using the standard vensim queue.
- Thu Mar 27, 2003 1:23 pm
- Forum: Vensim
- Topic: time shifted data
- Replies: 3
- Views: 5461
That's as i expected. Essentially I need to look ahead from the current day (the model time step) in some data read in from excel. The trouble is the look ahead shift is dependent (a function of) on another variable which is read in from excel. Incidentally, I have found that that using an element f...
- Thu Mar 27, 2003 10:46 am
- Forum: Vensim
- Topic: time shifted data
- Replies: 3
- Views: 5461
time shifted data
I have found that using the function 'time shift' to look ahead along a data series, often returns an error if the shift parameter is not a constant. For example if the time series is shifted by a variable shift and shift=constant +1, where 1 is a constant, the error is returned even if shift is des...
- Tue Mar 25, 2003 5:18 pm
- Forum: Vensim
- Topic: summing over subscript ranges
- Replies: 5
- Views: 5896
- Tue Mar 25, 2003 4:50 pm
- Forum: Vensim
- Topic: summing over subscript ranges
- Replies: 5
- Views: 5896
- Tue Mar 25, 2003 4:12 pm
- Forum: Vensim
- Topic: summing over subscript ranges
- Replies: 5
- Views: 5896
- Tue Mar 25, 2003 9:27 am
- Forum: Vensim
- Topic: summing over subscript ranges
- Replies: 5
- Views: 5896
summing over subscript ranges
Summing over the entire subscript range is easy using sum(!). My question is: Is there a way to sum over the first (or last) n elements in an m element range (m>n)?:(