timing strategy for products from queue to server

All topics on coding 4Dscript in Enterprise Dynamics.
Post Reply
fox
Posts: 1
Joined: Sunday 24 June, 2012 - 15:56

timing strategy for products from queue to server

Post by fox »

Hello together,

we have a problem. We are having a simple model with source --> server --> queue --> server and --> sink. From time of creation until leaving the queue the products should need around 10 minutes. The cycle time of the first server is 4 minutes. How do we keep the products in the source for the rest of the time?

Thanks for your help!

Kind regards
SimonvdW
Posts: 47
Joined: Thursday 06 January, 2011 - 09:52

Re: timing strategy for products from queue to server

Post by SimonvdW »

Hello,

You can't keep products in the source. The source just creates products at specific times and tries to send them out to the next atom (the server). If this server is however full or blocked the source is not able to send the product out and the products creation time is delayed.

If you insert an additional queue beweent source and server 1 you will see that the product will be send out by the source and wait in this new queue until server 1 is available. Now the creation time is as you defined, then the output of the source will not be blocked (when the queue size is large enough).

In your case: the server has a 4 minutes cycle time. Afterwards the product goes to the queue and leave the queue again as soon as server 2 is available (push-principle). The time until leaving the queue is also dependent to the process time of both servers and the queue sizes.
Post Reply