question

komalkoli avatar image
0 Likes"
komalkoli asked komalkoli commented

MTBF-MTTR-Global Table

I am using Global table for downtime and uptime in MTBFMTTR command. However, the code written for down time/up time is not working in sequence as per global table. When I run model, its taking random values form Global Table.

How to run global table for MTBFMTTR function? Thank you.

MTBFMTTR Global Table.fsm

FlexSim 24.1.1
global tablemtbf mttr
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

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

The current code is choosing a random row each time. You can use a global variable to denote the row and increment it in the Up Time code.

mtbfmttr-global-table_1.fsm

(I removed the Process Flow activities to quickly get rid of the error messages. The sources were not linked correctly.)


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

komalkoli avatar image komalkoli commented ·

Thank you, this worked!

Just a follow up question - I need to add coffee Break from 9 am to 9:15 am and Lunch Break from 12 pm to 12:30 pm. For this, I used "Time Table" option. However, machine does not stop for these two breaks. Is it because I have MTBFMTTR already assigned? How can I add coffee break/lunch time in addition to MTBFMTTR?

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

Time table and MTBF can exist in parallel. But you should make sure that the stop and resume functions are using a different "Stop ID".

Optionally, you might also want to only apply the MTBF to the 'active' states, so the machine doesn't break down during the break.

1724738542552.png

0 Likes 0 ·
1724738542552.png (12.2 KiB)
komalkoli avatar image komalkoli Felix Möhlmann commented ·
Thank you very much. It worked!
0 Likes 0 ·