Clear Filters
Clear Filters

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

2 views (last 30 days)
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.

Answers (1)

Mo Zhao
Mo Zhao on 17 Apr 2017
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

Categories

Find more on Messages in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!