Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Strange behavior gate by adding a queue

1 visualización (últimos 30 días)
Loek Vroomen
Loek Vroomen el 1 de Feb. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi,
I have a question. I made a very simple simevents model.
The goal of this model is batching entities. I used a gate which will be enabled if the batch size is reached.
In my attachment the production line is shown. Both production lines are similar, only the upper production line uses an extra queue behind the gate.
As can be seen in the attachment, the gate works in the lower line without any complications. Scope6 shows a perfect queuing behavior. If the batch size is reached, 50 entities pass and then the gate is disabled again until the next batch is created.
But, the upper production line has an error. The only difference is that is added a infinite queue behind the gate. The rest of the line is copied. By adding this queue, the batching behavior is completely wrong. The first batch is created, the gate is disabled. However the next entity also passes the gate. Therefor the batching process is wrong.
Can somebody help me with this problem, or tell me why this phenomenon occurs .
Thanks A lot!
Greetings Loek

Respuestas (1)

Kevin Chien
Kevin Chien el 8 de Jun. de 2017
I downloaded the model and ran the simulation - both production lines returned the same results. Sometime scopes present values with different layouts, maybe you want to adjust it for comparison.

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by