question

MISUL I avatar image
0 Likes"
MISUL I asked MISUL I commented

How can I make the task executer work not wait while processor is working

How can I set when these two processors are working, the task executer can get a new item from queue 1 not waiting there.

And also, in the simulation, the task executer can not leave item to processor 2 while the processor 1 isn't finished, what should I do next?

Thanks.

process-flow.fsm

FlexSim 17.2.5
process flowsame time
process-flow.fsm (21.8 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.

Braydn T avatar image Braydn T commented ·

@MISUL I

It looks like your Task Executor follows the same task sequence every time. Could you give me a list of what you would like the task executor to do exactly?

0 Likes 0 ·
MISUL I avatar image MISUL I Braydn T commented ·

@Braydn T,

1. The task executer loads the item 1 with waiting 10s and then send it to the processor 1. When the item 1 is being processed, the executer will load item 2.

2.After the item 1 is finished, the executer will load item 1 and unload item 2 into the processor 1.

3. The executer will go back to the queue and load item 3 with waiting 10s.

4. After the item 2 is finished, the executer will load item 2 and unload item 3 into the processor 1 and then go to the processor 2 with unloading item 1.

5. The executer will go back to the queue and load item 4 with waiting 10s.

6. After the item 1&3 is finished, the executer will load item 3 and unload item 4 into the processor 1 and then go to the processor 2 with unloading item 2 and loading item 1.

7. The executer will go back to the queue and load item 5 with waiting 10s.

8. At the same time, item 1 will be send to the sink by the executer.

0 Likes 0 ·

1 Answer

Joseph Gillespie avatar image
1 Like"
Joseph Gillespie answered MISUL I commented

@MISUL I

Here's an updated version of your model that should do what you are looking for: processflowanswer.fsm

In this model I created a looping general Process Flow that has the TaskExecuter follow the steps you explained to Braydn, picking up items from the queue while others are processing. Queue1 and the two processors push their items that are ready for delivery to the list, and the TaskExecuter just pulls the next item off the list for each location as it loops around the model. I also set up the "Pull from List" activities to send the token down an alternate branch if there are no items to pull at Processor1 or Processor2.

Let me know if you have any questions on this!


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

MISUL I avatar image MISUL I commented ·

Thanks a lot. Most parts are correct except the step 2&3.

After processed by Processor 1, the item 1 is unloaded in the TaskExecuter and then they will go back together to Queue 1 with getting a new item 3. But in your model, the item 1 is delivered from Processor 1 to Processor 2 directly.

0 Likes 0 ·
Show more comments
MISUL I avatar image MISUL I commented ·

That's absolutely correct! Thank you so much.

0 Likes 0 ·