Reputation: 313
I calculate the number of components in the queue. As you can see in the image below,
Kindly let me know how I can do that. Thank you.
Logic of System:
Upvotes: 1
Views: 454
Reputation: 2213
The simplest way to do this is to use a time-plot element from the Analysis palette. Let's say you want to update the graph every 10 min, then you fill it this way for the queue:
Then, for the number of agents in the system as a whole, you can use the same approach, but change the value to:
source.count() - sink.count() - scrapped.count();
Upvotes: 1