question

Manocher Djassemi avatar image
0 Likes"
Manocher Djassemi asked Sam Stubbs answered

Recording Up Time and Repair Time

@Sam Stubbs

In my model, up time and repair time are randomly generated for each processor. I am trying to record or display average up time and average repair time for individual processors. Since there is no On Breakdown trigger for a processor, how can I record/display such data? I can think of creating a TrackVariable for each processor but I can't figure out what script to write and where to place such script. Any help will be appreciated.

Manocher

FlexSim 17.0.2
mtbf mttrmttr mttf
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

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered

If you add your objects to an MTBF/MTTR table(s) to handle the breakdowns/repairs, then you can use the On Break Down trigger in the table to record your Tracked Variable. However, based on what I understand from your question, you are just looking for the average up time (processing) and the repair time (breakdown). If you use an MTBF/MTTR table, these states are already set on the processor when it breaks down and is up. So you could just one of the State widgets on the dashboard and record the average time the object is in Processing or Breakdown (Repairing) state.

Here is an example that uses both the tracked variable method and the state method of analysis:

trackedvarexample.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.