I'm trying to have operators switch dispatchers mid-run, but as soon as they switch dispatchers at 10,080 seconds, they do not relocate and begin work at the other processor.
I'm trying to have operators switch dispatchers mid-run, but as soon as they switch dispatchers at 10,080 seconds, they do not relocate and begin work at the other processor.
Could you please state which version of the software you are using?
@Sam Stubbs - The model appears to be saved using FlexSim 16.2. Here is a cleaned up version that does not include extraneous user commands. It also includes a state gantt chart to show that the processors are entering a "waiting on operator" state when new items arrive at time 11,000. The dispatcher appears to be properly reaching the code segment where it passes the task sequence to the first available operator, but the operators are not being assigned the task sequence despite being idle. Thanks for any assistance you can provide.
I think I've created a simplified example. Instead of trying to control the switch logic via code and a General Process Flow. I created a instanced Process Flow and assigned the attached objects as the two processors. I centerport connected both dispatchers to both processors, and created a label on the processors called "Shift" which is set to be default as 1 at the start of the model. The processors choose a dispatcher based on the centerport number based on the Shift value. So at time 10080 in the instance process flow, I change the Shift label to 2.
I've attached my example model for you to look at. Hopefully this helps.
Hi Sam, thank you so much for the quick response. This was almost exactly what I was looking for. My coworker @Jon Abbott made some modifications so the operators continually rotate at a given time interval (50 minutes, just for ease of validation). This was accomplished by assigning two labels; the first called "counter" which increments each token by 1, and the second called "Shift" which performs a modulo operation on the first so that the value ultimately toggles back and forth between 1 and 2. Thus, the processors pick up the value of the "Shift" label. In addition, he selected the "repeat schedule" option for the process flow source. Thanks again for getting us started on this!
Best Regards,
Trevor Manzanares
5 People are following this question.
© 1993- FlexSim Software Products, Inc. All Rights Reserved.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.