question

collier avatar image
0 Likes"
collier asked collier commented

How to count the number of breakdowns that happen?

I am using the MTBF MTTR for a crane and would like to put on the dashboard how many times it has a breakdown in the simulation.


If possible it would be great to calculate the average time between failures in that simulation and how long it is down for.

FlexSim 22.2.4
dashboardsstatisctis collector
5 |100000

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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered collier commented

Increment a tracked variable on Breakdown:

TrackedVariable("TrackedVariable1").value +=1;

You need to setup a trackedvariable first in Toolbox > Statistics. Choose type "cumulative"

Later you can pin a statistic line chart by red bin icon after a double click on toolbox item tracked variable to a dashboard.

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

collier avatar image collier commented ·
@Joerg Vogel thank you for the support, it is now working!
0 Likes 0 ·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

You can listen to the "Down Function" event of the MTBF/MTTR with a Statistics Collector. This let's you log the time, object and duration of the breakdown.

By searching the table for the last breakdown of the respective object you can also store the uptime since the previous breakdown.

With a Calculated Table you can then determine get sums, averages or other aggregates of the collected data.

MTBF-stats-collector-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.

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.