question

MajWest avatar image
0 Likes"
MajWest asked Logan Gold commented

The operator after transporting 15 items stops.

FS Model.fsm

Hi, am building a FlexSim model where an Operator is responsible for the following sequence of tasks:FS Model.fsm

1- The Operator transports Flowitems from Queue 1 to a Processor. After each transport, the Operator performs a setup operation that takes 2 seconds.

2- Once 15 Flowitems have been processed at the Processor, the Operator needs to switch Queues and move to Queue 2 and transport one Flowitem to the same Processor.

3- Return to Queue 1: After completing the task for Queue 2, the Operator returns to Queue 1 to continue the cycle.

After processing 15 items the operator stops, i think it is something with the processflow. I have attached the model.

FlexSim 24.2.0
variablesoperaterconditional portdecide activityprocesflow
fs-model.fsm (52.2 KiB)
· 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @MajWest, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of the 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 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

You use an event triggered source to create a token for each item entering Queue1. This means that these tokens essentially represent the items in the Process Flow and the logic is build from the perspective of the item ("I need to find an operator to move me to the processor").

In your post you describe the logic from the perspective of the operator. Probably because it's easier. As such I would also build the Process Flow in the model in this way. Have one persistent token that represents the operator. This token can then cycle between picking 15 items from Queue1 and 1 item from Queue2. A list is a good way to access the available items.

Note that I added an extra field to the list in the attached model that denotes the name of the queue the item is in.

capture1.pngfs-model-fm.fsm


capture1.png (28.8 KiB)
fs-model-fm.fsm (152.0 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.

MajWest avatar image MajWest commented ·

Hi @Felix Möhlmann , Thank you so much for your fast response, that's an interesting and new approach to me. I was wondering if it it possible to have a different setup time (delay), for example triangular (5, 15, 10), after unloading the flowitem from queue 2.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann MajWest commented ·

Sure, but in order to sync the operator and processor they both need the same number. I would write the setup time to a label on the token in the Run Sub Flow activity. Then later also copy it to the item so both the processor and the delay activity can access the value.

fs-model-fm_1.fsm

0 Likes 0 ·
fs-model-fm-1.fsm (53.2 KiB)