Page 1 of 1

Pre loading a queue or level

Posted: Tue Apr 14, 2009 10:49 am
by rhasanen
Hi everyone

I'm wondering if there is any way to pre load a certain number of orders in a queue and its output so that they are in different stages of readyness.

The example I have is that it takes 22 months in average to finalize an order and after some reorganisation of work it will take 17 months but the input ratio will also be higher. So I would like to simulate what happens with the number of orders in the queue and of course the existing orders (450) are in different stages of readyness. I tested with a FIFO queue but i could not get the output flow and queue working with any type of pre allocation.

I have been thinking of creating a workflow switch so that I would start simulation under old conditions and then switch to new organisation but I feel that i might underestimate the power of vensim and I do want to learn vensim as well as possible.

Any assistance is much appricated.

p.s
For the simulation purposes it does not matter really if I use a queue or a more continous stock and flow. The orders are of different level of effort and can be seen as mixed, so i'm not stuck to queues.


[Edited on 4-14-2009 by rhasanen]

[Edited on 4-14-2009 by rhasanen]

Posted: Tue Apr 14, 2009 10:58 am
by bob@vensim.com
QUEUE FIFO and QUEUE FIFO ATTRIB both take a profile as an argument which allows you to apportion the initial quantity across age. Since normalization is automatic if you know you have 450 items just put each into the lookup with its current age starting at 0 eg

(0,10),(1,20),(2,40)

and so on.

Posted: Tue Apr 14, 2009 11:59 am
by rhasanen
Thanks - I remember that I initally wondered how to use the init profile part of the queue. Now you put me on the track.

Again, thanks for the help

Best regards
/Rolf