question

Eduardo avatar image
0 Likes"
Eduardo asked Eduardo commented

Can I avoid the intersection of two maintenance?

I am attempting to prevent the intersection between MTBF/MTTR and the Time Table using a FlexSim script code to enable and disable the Time Table. However, I'm not achieving the desired result. Even when I disable the Time Table during the breakdown, it still performs the action. I am attaching the model I am using along with an image of the current simulation outcome and the desired one. Your assistance would be greatly appreciated.

maquinas-excel-22-04-2024-11-04-18-p-m.png

model.fsm

FlexSim 23.2.1
mtbf mttrtimetablescustomcode
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Eduardo commented

MTBF/MTTR can you apply to a set of states that count as uptime. If you exclude a state of scheduled down, that is perhaps your state of a break in a timetable, then a breakdown cannot happen while an object is state scheduled down.

· 2
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·

For the other way around, preventing the time table from changing the state when a breakdown is active, you could do something as simple as only running the Down and Resume Function code if the object is/is not in the correct state.

model(11).fsm

0 Likes 0 ·
model11.fsm (227.9 KiB)
Eduardo avatar image Eduardo Felix Möhlmann commented ·

Thank you very much for attaching the FSM model with the solution. It helps me visualize the proposed conceptual model.

0 Likes 0 ·

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.