How to trigger time-based entity generator by given the specific number of entities in simevents?

2 次查看(过去 30 天)
I had a manufacturing process model. In the model, I had using FIFO queue with the capacity of 20.I need to trigger another process to start in another line once the 20th entities had passed through. So, how to trigger the time-based entity generator? I'm using old version of Simevent library 4.4.1. I will appreciate any suggestion recommended on this matter. Thank you.

回答(1 个)

Mo Zhao
Mo Zhao 2017-4-17
Hi Pei,
You can use the statistics port of the Entity Queue block (#d, number of entities departed), which can be connected to a Relational Operator block (greater than, with another input from const 20) and then to an Event Based Entity Generator.
Thanks,
Mo

类别

Help CenterFile Exchange 中查找有关 Messages 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by