question

Herwina Richelle Andres avatar image
0 Likes"
Herwina Richelle Andres asked Sam Stubbs converted comment to answer

Custom Wait Times for Different Activity per Resource Type

lot-flow-1-plane-customstate-2-itemtype.fsm

Hi everyone.

I am trying to set the state of a container to a custom set of states on specific periods and activity. Below is the detailed events.

1. On PRE

I need to ensure that if the resource is busy when picked, the state of PLANE17 would be WaitForOp_EAA_PRE for Operator or WaitForTech_SETUP for the technician.

2. On InPROCESS

I have added a MTBF and MTTR specific to processing state and would require the assistance of Technician. State should be OnREPAIR. Should the technician be busy when picked, state should be WaitForTech_REPAIR.

Another thing is to mimic MTBF and MTTR but rather than in units of time, it would be in units of each entity. Mean Units Between Assist (MUBA). It would stop processing and call the operator for a certain period of time before it resumes processing. That period when the operator is assisting will set the state of the plane to be WaitForOp_IAA when the operator is busy or IAA when the operator is attending the assist.

Thank you for your help!

FlexSim 7.5.4
statewait timecustom dashboard
· 4
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

Adrian Haws avatar image
0 Likes"
Adrian Haws answered

@Herwina Richelle Andres As far as I know, states aren't really meant to be customized. To see what different state types there are, refer to the State List. What you can do, however, is customize a state's name in a dashboard chart as suggested in this answer, or use a tracked variable or label.

If I correctly understand what you're trying to do with the MTBF/MTTR, you can do this by incrementing a tracked variable with the entry of each entity, then checking its value in an object trigger. At certain intervals the code would then be executed to simulate that breakdown. For example, you could set a certain state, then send a delayed message to resume its previous logic.

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