question

Enrique Da avatar image
1 Like"
Enrique Da asked Ryan Clark commented

Blocked Task executers

task executers.fsm


Hello, can you give me a hand with this?

I had an executer (ex4) doing two tasks (processing and carrying stuff) at the same time so, when the processor had two items ready to be processed, ex4 operations were blocked. I think that maybe he had to choose between processing one of the two elements in the queue and he couldn’t do anything bc both tasks had the same priority… At first I tried changing preemption priorities bc I thought that the problem was choosing between processing or carrying but, after applying a color change to the processor's output,I realized that both objetcs were in queue to be processed. I would be very happy if someone can give me an answer, thanks

FlexSim 22.1.0
processortask executerblocked
task-executers.fsm (62.5 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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Ryan Clark commented

The problem is that the operator is unable to load the box from the stopped processor. If the transport task sequence is assigned ahead of the "utilize" sequence, this leads to the blocked state you encountered. Both the operator and processor wait for each other.

As a workaround, you could add a queue directly behind the processor and have the operator transport items from there to the final queue. This prevents the items being stuck in the stopped processor.

1649920934783.png

task-executers-fm.fsm


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

Enrique Da avatar image Enrique Da commented ·

Thank you! that's what I was searching for, very clear explanation and the modified model helped even more :)

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark Enrique Da commented ·

Hi @Enrique Da,

I'm glad Felix's answer was helpful! In the future, please be sure to respond to any answers by using the Comment button rather than writing a new answer. That helps to keep things organized. Also, if an answer is helpful, please click the Accept button under that answer to indicate that your question has been resolved. Please see Best practices for using this Answers site - FlexSim Community for more info. Thanks!

0 Likes 0 ·