question

Yunjukuo avatar image
0 Likes"
Yunjukuo asked Jacob W2 commented

calculate the item's "waiting for Operator time" and display on Dashboard

Hello,

I'm analyzing those processes that wait a long time for operator. Below is a simple example. I have question of how to calculate below index and display them on dashboard.

1. For a single machine (blue box): item's "waiting for Operator time" mean, min, max, standard deviation value

2. For group (red box): item's "waiting for Operator time" mean, min, max, standard deviation value

1658397223578.png

AvgWaitOPTime.fsm



FlexSim 16.1.2
operatorwait timedashboard chart
1658397223578.png (74.0 KiB)
avgwaitoptime.fsm (23.1 KiB)
· 3
5 |100000

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

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Yunjukuo, was Andrew O'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 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·
Hello @Yunjukuo,

Please note that your version of FlexSim 2016.1.2 is at its end of life. Please, contact your local FlexSim Distributor to upgrade your Software.

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ commented ·

Hi @Yunjukuo, was Andrew O'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

·
Andrew O avatar image
0 Likes"
Andrew O answered Fengjun0113 commented

Hi @Yunjukuo,

Here is a possible solution to your problem. Attached below is a model where process flow has been used to track the time it takes for an operator to get to your processor once an item has reached it. From there, a Statistics Collector stores that value, and a Calculated Table displays Mean, Min, Max, and Standard Deviation.

Also, your version of FlexSim(16.1) has reached end of life and has stopped being supported. We recommend updating to the latest version of the software.

avgwaitoptime - solution.fsm


· 11
5 |100000

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

Yunjukuo avatar image Yunjukuo commented ·

Thank for your reply, this solution do work on FlexSim2022. Since my cooperation organization is still using FlexSim2016, I'm still figuring out if there's other way. Does function similar to Statistics Collector exist in FlexSim2016, which allow to calculate numerical value collect by process flow?

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Yunjukuo commented ·

You can use code and global tables to emualte the statistics collector and calculated table. Write the wait times to a global table instead of having the statistics collector write them to its internal table. Then use an SQL query to calculated the statistical values and write them to a separate table.

1659513093573.png

The process flow works very similar to Andrew's model. I opted to listen to the state change in the event-triggered source instead of the OnEntry event. Note that I use an instanced process flow as this makes listening to multiple objects much easier in the 16.1 version. In the Decide activity I check if the 'toState' is equal to 9, the "Wait for Operator" state number. If not, the token is sunk directly.

0 Likes 0 ·
1659513093573.png (223.3 KiB)
Fengjun0113 avatar image Fengjun0113 Felix Möhlmann commented ·
Hello @Felix Möhlmann, Could you please uplaod your model? It would be easier to understand because I don't see "Multiprocessor2" and "Muliprocessor8" in previous model. Thank you.
0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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