Counting the number of pulses
Posted: Thu Dec 07, 2006 5:28 pm
Hi there,
I think I'm asking a fairly simple thing here, but I can't think how to actually do it in Vensim.
I would like to count the number of pulses that I have in a period, so say in 24 hours I may have had 5 pulses of 3 hours long. If I add this as a level, it gives me the wrong result - I need it to return 5. Any way that I can do this?
Many thanks,
Gemma
I think I'm asking a fairly simple thing here, but I can't think how to actually do it in Vensim.
I would like to count the number of pulses that I have in a period, so say in 24 hours I may have had 5 pulses of 3 hours long. If I add this as a level, it gives me the wrong result - I need it to return 5. Any way that I can do this?
Many thanks,
Gemma