Search found 5 matches

by rogercai69
Fri Mar 28, 2008 4:54 pm
Forum: Vensim
Topic: Moving average
Replies: 2
Views: 4652

Moving average

hi, I am wondering, does Vensim provide any function to perform moving average. specifically speaking, I would like to take an average of a variable in its last three time steps. For example, Average =(Variable(t-3)+variable (t-2)+variable(t-1))/3, where t is time. I would appreciate that any one co...
by rogercai69
Mon Mar 17, 2008 10:21 am
Forum: Vensim
Topic: How to use the GET XLS LOOKUPS function
Replies: 4
Views: 4657

Many thanks. It is working now as I follows your advice. In order to make it more clear, I quote your advice here. "that means you create a variable named "excel lookup" then open the equation editor, then select type Lookup, then enter the equation GET XLS LOOKUPS('test.xls','Sheet2'...
by rogercai69
Thu Mar 13, 2008 12:29 pm
Forum: System Dynamics Discussion
Topic: how to get the value of variables, such as Level variables i
Replies: 1
Views: 3360

I have figured out the problem, by using Delay Fixed function, I have tested it and it is working.
by rogercai69
Thu Mar 13, 2008 12:17 pm
Forum: Vensim
Topic: How to use the GET XLS LOOKUPS function
Replies: 4
Views: 4657

How to use the GET XLS LOOKUPS function

hi, I am trying to use the function GET XLS LOOKUPS('file','tab','x row or col','cell') function to import data from EXCEL, I have read the VEnsim Manual about this function, and it gives a example regular lookup((0,0),(1,1)) excel lookup(GET XLS LOOKUPS('test.xls','Sheet2','1','B2')) ~~| subbed exc...
by rogercai69
Thu Mar 13, 2008 11:18 am
Forum: System Dynamics Discussion
Topic: how to get the value of variables, such as Level variables i
Replies: 1
Views: 3360

how to get the value of variables, such as Level variables i

hi,

any ideas to get the value of variables in last time step?

Roger