question

Varun Rawal avatar image
0 Likes"
Varun Rawal asked Regan Blackett edited

Staytime of a token for state change in processor

I am trying to log in every time the processor breaks down and log the duration it broke down. I was thinking statistic collector would be a way to do it. I have a token created when processir breaks down and wait until it is repaired. However, I am not able to get it reflected in the statistical collector. Please find the attached model that I am working on. If someone can point me in right direction or help me with the model. This will let me use for other major models

mttr time logic.fsm.

FlexSim 20.0.2
processflowflexsim 20.0.2mttrstatisticcollectortimelog
mttr-time-logic.fsm (56.9 KiB)
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

·
Regan Blackett avatar image
0 Likes"
Regan Blackett answered Regan Blackett edited

See if this is what you had in mind. Granted this is the way I thought of to solve this, one of our stats gurus (@Jordan Johnson or @Brittany Evans) might have a better way.

I'm using a stats collector to build a data table time stamps for the start and end of the break down events directly from the events of the MTBF/MTTR object. I'm using those time stamps to get the duration of the down time by subtracting the two column values. I also created a label on the processor that incerements each time it goes down so I can use that to create a unique row for each down event. From there I can point a chart at the table of data, like the histogram to chart the down time durations.

Then I created a calculated table to get the average of the duration column from the stats collector so you could see the average times for the break down.

statscollector example.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.

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.