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!