question

PT2 avatar image
0 Likes"
PT2 asked PT2 edited

Failure repair process flow

How to assign failure and repair times (MTBF and MTTR) to individual stations connected in series.


FlexSim 21.1.4
flexsim 21.1.4
· 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.

Eric M avatar image Eric M commented ·

Hi @Prashant T2, was Felix Möhlmann's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

What is missing to your solution is a way to tell the "breakdown token" which token to release and to differentiate between the case when a token is already using the station or not.

For this purpose I added an array as a label "stationTokens" of the process flow. When a token pulls a station, I change the entry for that station's index to a reference to the token. This way the "breakdown tokens" can check whether they should pull a token to the "Waiting Area" and which one.

If there is no token they simply pull the station themselves to prevent other tokens from using it for the duration of the repair.

I create one "breakdown token" for each station and have them loop through the "wait for breakdown - repair" cycle.

multistation2_1.fsm


multistation2-1.fsm (38.3 KiB)
· 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.

PT2 avatar image PT2 commented ·

Hi, when I run this model with frequent failures and repairs, I see that at times the stations are not moved back from the 'Waiting Area'. Please see the model between the simulation time 880 - 920 seconds. Do you know what can be the reason for this? Thank you for the help.


Picture1.png

Picture4.PNG

multistation2-1.fsm

0 Likes 0 ·
picture1.png (131.4 KiB)
picture4.png (118.7 KiB)
multistation2-1.fsm (39.7 KiB)
Felix Möhlmann avatar image Felix Möhlmann PT2 commented ·

I made a small error. I didn't consider the order of pulling the station from the list and adding the token to the array. What happens is that the entry in the array gets overwritten by another token. So the "new" token gets "restored" to the state of the old one that stays in the "waiting area".

The "Add to Array" and "Remove from Array" activities should be nested inside the pull from list and push to list.

movedactivities.png

multistation2-1_1.fsm

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.