question

Anutt K avatar image
0 Likes"
Anutt K asked Anutt K commented

Find Stay Time of each Item in system by use Experimenter.

Hello. I want some solution for find Item's Stay Time. And I want to find Stay time of All Item.

From this model. I sample to find solution to solve the bottle neck by use Experimenter.

1671158482610.png

From picture this model have 1 Operator a bottle neck is in Queue1. Then I use Experimenter to find Avg. Stay Time of box in bottle neck.

1671164778116.png1671164841782.png

I assigned Parameter : Quantity of Operator and assigned Performance : Stay Time of box at bottle neck in Queue1.

1671165125620.png

It can found the Scenario3 is Optimize Quantity of Operator. In this sample It can show Avg. Stay Time of box in Queue1

1671165935660.png

Then I has adding Output of Queue1 to find Quantity of box it can send to processor.

How can I find a Stay Time of each box that it stay at Queue1 by it not average stay from all box.

Exam : If Queue1 is have 500 box, then how can find Stay Time of 500 box

I want to find this for Export or Generate to use be a Raw Data.

I has attached model file at here. Thank You Somuch.

Model 8 Use Experimenter.fsm




FlexSim 22.2.2
optimizationexperimeterbottleneckstay timeavg stay time
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Felix Möhlmann commented

A statistics collector to measure the staytime of all items is relatively easy to build. In the attached example the collector reacts to the entry and exit of items in Queue1.

1671177119232.png

The entry will create a new row with item as the "row value". At the same time the entry time will be written to the row. Via the row value, the collector can then identify the correct row when an item leaves and update it with the staytime by using the previously stored entry time to calculate it.

1671177143834.png

model-8-staytime_collector.fsm

If you haven't deactivated that setting, then all data from statistics collectors is saved for each replication in the experimenter sqlite-file and can be accessed together with the other results in the "Statistics Tables" tab.


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.