Aggregate by month
Posted: Thu Dec 06, 2007 6:51 pm
Hi,
I'm new to the forum and relatively new to vensim.
I am working on a TBL tourism model that uses months. I am searching for a way to aggregate a variable so that it cumulates by month across the course of a model (ie all the data for jan cumulates, all data for feb cumulates, etc). I have tried the CUMULATE function but I am feeding in auxileries, not data. I can get away with using a series of delays but given that the model will be 20 years long, this is an ugly option.
Is there a function or other method I can use?
Any advice would be appreciated. Great to find a place for these kinds of questions.
Cheers, Tod
I'm new to the forum and relatively new to vensim.
I am working on a TBL tourism model that uses months. I am searching for a way to aggregate a variable so that it cumulates by month across the course of a model (ie all the data for jan cumulates, all data for feb cumulates, etc). I have tried the CUMULATE function but I am feeding in auxileries, not data. I can get away with using a series of delays but given that the model will be 20 years long, this is an ugly option.
Is there a function or other method I can use?
Any advice would be appreciated. Great to find a place for these kinds of questions.
Cheers, Tod