Page 1 of 1

Timesteps and lookups

Posted: Fri Apr 21, 2006 1:34 pm
by skjold
Hi,

I'm a new user of Vensim. I'm trying to create a model that should simulate a year on a hour by hour basis.

I have tried to create some lookup variable with 8760 time step. Every time I do this, I get this error message:

"Memory allocation failure - subblock"

Then a message with "aborting Vensim" appears and the program close down.

Why is this? I have tried to create lookups with only 4000 steps and this doesn’t appear to be a problem. Isn’t Vensim able to handle more than this?

If you could tell me how to overcome this problem I would really appreciate it.

Best regards,

Skjold from DK

Posted: Sat Apr 22, 2006 11:12 am
by bob@vensim.com
There is a limit to the number of pairs in a Lookup - and a Lookup is a avery ineffecient means for storing a large number of points. If you simply have data, then use a Data variable for this.

time steps

Posted: Sat Apr 22, 2006 11:20 am
by LAUJJL
Hi Skjold

If you have Vensim pro you can try something like the model joined.
Regards.
JJ

Posted: Tue Apr 25, 2006 10:53 am
by skjold
Thank you for your helpfuld answers. The use of data variables did the trick.

Best regards

Skjold