reiterate xls data

Use this forum to post Vensim related questions.
Post Reply
thomas.petit
Junior Member
Posts: 2
Joined: Mon Dec 21, 2009 1:37 pm

reiterate xls data

Post by thomas.petit »

I would like to reitare a excel table for my simulation: I import xls data on 24 hours, my step time is of 1 hour but i would like to reiterate it on 8760 hours without chancing my folder.

Thank you for your help
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

You will need to use GET XLS TABLES and then give the table the input modulo the repeat time as in

cyclic results = table on hour(MODULO(Time/Unit Hour,8760))
thomas.petit
Junior Member
Posts: 2
Joined: Mon Dec 21, 2009 1:37 pm

Post by thomas.petit »

I'm sorry but i try to use this syntax and I can't get a result. I don't no really how you define the variable " table on hour" and in my Vensim Version there is not the function "GET XLS TABLES". So can you give more details to solve my problem.

Thanks for the second time
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

This is just a Lookup - for example

table on hour((0,1),(6,3),(12,4),(18,2))


for 24 hours - obviously lots more values for a full year, though you probably won't be able to enter 8760 because of size limitations.
tomfid
Administrator
Posts: 3815
Joined: Wed May 24, 2006 4:54 am

Post by tomfid »

Hi Bob - I think you mean GET XLS LOOKUPS ? - Tom
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

Yes, that should have read

You will need to use GET XLS LOOKUPS and then give the table the input modulo the repeat time as in

cyclic results = table on hour(MODULO(Time/Unit Hour,8760))
Post Reply