question

mad2411 avatar image
1 Like"
mad2411 asked Felix Möhlmann commented

Machine waiting operator already utilized

Hello everyone,

When I run my simulation with >= 7 units, my deflash machine is waiting for the opdfsh2 who has only one task : to do the process of deflash machine.

I don't get it why my machine is waiting for the operator who is utilized by her.

Here it is my simulation if anybody has an answer :

Projet2023.fsm


Thank you very much !

FlexSim 23.1.2
utilize operatormachine utilizationwaiting machine
projet2023.fsm (392.1 KiB)
· 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.

1 Answer

Felix Möhlmann avatar image
2 Likes"
Felix Möhlmann answered Felix Möhlmann commented

The short answer is: The Use Operator function is does not properly when the maximum capacity of the processor is larger than 1. This is also stated in the first warning box in the documentation.

This situation happens because when an item enters the processor and it currently has enough operators 'utilizing' it, it will not call new operators for that item. When the item that originally called the operator finishes processing, the operator is released and becomes idle. Any items that entered the processor in the meantime will keep processing. When a new item now enters the processor it will call the operator again. However, the next time any item finishes, the code that releases the operator will be executed, but possibly with the wrong item reference. The wrong reference causes the operator to stay utilized, but the processor thinks that it was released and will call the operator again for the next item that enters. Because the operator is still busy, this leads to the locking state you mention.

As a workaround, you can use the Task Sequence Example option for the operator reference. This by default implements the same logic as the default behaviour. In the attached model I edited it to prevent the processor from locking and to keep the operator state synced with the processor's. It works by creating a new task sequence right away when the operator is released and there are still other items on the processor.

workaround-fm.fsm


workaround-fm.fsm (32.0 KiB)
· 11
5 |100000

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