question

Dhakshinamoorthy A avatar image
0 Likes"
Dhakshinamoorthy A asked Dhakshinamoorthy A commented

How to vary number of operators working on processor for different items

Hi I want to create a Scenario where Product A,B,C are produced and they are moved to a single processor but they should have different processing time for Product A = 10 mins, Product B=20 mins,Product C=30 mins. But i also want set number of operator working for processing Product A as 3 number, Product B as 2 numbers, Product C as 5 Numbers.

I have managed to create different processing time in a single processor by editing the code but can anyone help me on the operator mapping?Operator mapping.fsm

FlexSim 19.1.0
operatorprocessorsoperator assignmentflexsim 19.1.0processor times based on label values and item type
5 |100000

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

Regan Blackett avatar image
1 Like"
Regan Blackett answered Dhakshinamoorthy A commented

There isn't a really easy way to do this as far as I know. But you could do it with a flowitem Label and a couple of code expressions in the OnEntry Trigger of the Processor.

In the attached model (variable operators.fsm), I created a label for your flowitems called "NumOps" with the value of how many operators should be requested. Then OnEntry I ahve these two expressions to programmatically set the number of requested operators equal to the value of the label.

  1. setvarnum(current, "nrofsetupoperators", item.NumOps);
  2. setvarnum(current, "nrofprocessoperators", item.NumOps);

Visually this might look a little weird because when the operators are requested they may stand on top of each other but if you move them out of the way, the right number of operators are present. Also since your process time for Product C is 0, the operators won't be requested at all.



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

Phil BoBo avatar image
2 Likes"
Phil BoBo answered

The Use Operator picklist has an option called Multiple Teams that you can specify how many operators you want from any number of dispatchers. The number of operators can be dynamic based on the item.

Attached is your model using this option to do what you specified in your question.

I copied your Process Time code into a user command to use that same logic for picking the number of operators, and then I called that user command from the Multiple Teams picklist option.

I also added a dispatcher and set the operators to return to their starting positions when idle, so that you can easily see that it is using different amounts of operators for each item type. This isn't necessary in a real model though. It just makes it easier to see how many are being used in this sample model if they don't stand by the processor when idle.

operator-mapping_1.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.

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Dhakshinamoorthy A edited

A related idea you might be able to take value from, is used in this old model from 2011 where the processing time is dependant on the number of available operators which can change as the item is being processed. The idea is that you define how long it would take with a fixed number, say 1,2,3 or 4 (or n) operators, and then it looks at the lost efficiency compared to the optimal number (the one with least total operator time), and calculates the work content contributed/remaining. The work definition is stored in a label "processdurations" on the basicFR you see between the conveyors and the operators are called to that process, but can be preempted away by higher priority tasks. Needs re-verification in the latest versions no doubt and might benefit from being converted to process flow. For different products you could use multiple 'label tables' or have them nested in one lookup table.

20.1_OperatorDependentProcessTime4_cleartasks.fsm

5.5_OperatorDependentProcessTime4_cleartasks.fsm

MultipleOperatorsPTimeCalcs.xlsx


· 3
5 |100000

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