Page 1 of 1

Time Steps

Posted: Fri Jul 23, 2004 2:33 pm
by T_Brewer
I am having trouble solving an issue related to time steps. I am mapping a production process where the input data is available on a monthly basis but the processing decisions are made on a daily basis.

My problem lies if I use a time step of one month the rates in the system do not react quickly enough to adjust for low inventories (an important measure) and I end up with negative stock. If I use a daily time step, the stock drifts downward instead of the needed sharp adjustment (another important measure).

I have a model in Vensim to explain this behavior if it would be of value.

Thank you for any help

Posted: Mon Jul 26, 2004 8:20 am
by Pruyn
This is probably posted in the wrong section, but here's my solution.

In a similar case I used months for time, but a time step of 1/32 month. Inputs are generated with a modulo funcion:

If then else (modulo (time) = 0, x, 0)
This way input will be read at the start of the month.