question

Kari Payton avatar image
0 Likes"
Kari Payton asked Kavika F commented

Backorder Staytime by partition ID

partition stats help.fsm

Is it possible to keep statistics of my backorder chart by the partition ID? For example in this model, I'd like a row that shows staytime for partitionId "abc" and "spy" separately. Sorry, if this question is worded poorly, I am terrible with the statistics collector.

FlexSim 21.2.4
statistic collectorparition
· 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.

Kavika F avatar image Kavika F ♦ commented ·

Hi @Kari Payton, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

Measuring this "properly" would be possible but complicated. A workaround to get the same data would be to instead measure the time between a pull request and its fulfillment. To identify a request I use the token id together with a count label that gets incremented after each pull. This serves as the row value in the statistics collector.

The collector reacts to two events. "On Pull" marks the start of the request and "On Value Pulled" (where "isLeaving" is true) marks the end. When a new row is created, the current model time and the partitionID are stored in columns (RequestTime, Partition). "On Value Pulled" the model time is again written to a different column (FulfillTime), which allows to calculate the staytime as (FulfillTime - RequestTime).

A calculated table then aggregates the data from the statistics collector to display them in the dashboard.

If the pullers are tokens, you could also just measure the staytime of the tokens in the respective part of the process flow by using a zone and listening to its entry and exit events. In the attached model this is demonstrated by measuring the usage times of the pulled equipment.

partition-stats-help-fm.fsm


5 |100000

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