question

Eric D5 avatar image
0 Likes"
Eric D5 asked Brenton King answered

Tracking multiple shifts in process flow

Hello, I am trying to implement shifts in my process flow. My model is process flow based to easily change the number of operators and workstations using a single reference table once I get around to using the experimenter.

Currently, I am able to initially separate operators based on shift and release operators from off-shift to working. However, there are two main pieces of logic that I can't figure out how to implement to integrate shifts into my process flow.

Getting the operators to check if they are still on shift at the end of each job and pulling operators from searching for more work when the shift ends.

I have looked at the following resources, and I am still struggling.

Planning on using for in-shift breaks: https://answers.flexsim.com/questions/84923/stop-token-in-delay-task-sequence-activity-when-op.html

Tried to mimic this, but I don't understand what is going on well enough. Also, operators would more likely finish out their task then give it someone else: https://answers.flexsim.com/questions/57986/process-flow-shift-change-and-incomplete-work.html

Can't get second shift to work on tasks pulled by first shift: https://answers.flexsim.com/questions/24325/can-resources-in-process-flow-be-assigned-shift-sc.html

Operators are created with process flow, so I can't assign them to a time table: https://answers.flexsim.com/questions/72284/using-time-tables-with-process-flow.html

Was considering to use this to not worry about some logic, but having operators run some overtime is probably more accurate: https://answers.flexsim.com/questions/57995/dont-start-a-job-that-wont-be-finished-before-shif.html


I also tried tracking what shift it is using a variable, but I can't get a conditional decide to work:

token.Shift == getstat(getactivity(processFlow, "Variable: Shift"), "Output", STAT_CURRENT, current)

However, even if I got this to work, I still need a way to move operator tokens away from trying to pull jobs off the list after they go off shift.

How can I get my operator tokens to work on a shift schedule?

Here is my model for reference:

Shifts_test 2.fsm

FlexSim 20.1.2
processflowflexsim 20.1.2shifts
shifts-test-2.fsm (67.2 KiB)
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

·
Brenton King avatar image
1 Like"
Brenton King answered

@Eric D5

Here is a quick example of how I often do shifts in my models. I have every operator token create an End of Shift token that tells it to leave. After each completed job, the operator looks for more work. If it pulls the end of shift job it is told to go home.Hope this helps.Operator Shift Schedule.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.