
Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Strange behavior gate by adding a queue
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Kevin Chien
2017 年 6 月 8 日
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.

0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!