question

mark zhen avatar image
0 Likes"
mark zhen asked mark zhen commented

Task assignment problem

I need to add a new logic to my model. When M10 completes production and transportation, I need to check whether there are still items in the BUFFER. If there are, I need to process the products in the BUFFER first. My current approach is to set up a checking mechanism, but it is not working effectively.

0221-1.fsm

FlexSim 23.0.15
proces flowtask logic
0221-1.fsm (10.9 MiB)
· 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.

Jacob W2 avatar image Jacob W2 ♦ commented ·

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

If I understand the flow correctly, then items moved into the buffer (red) wait until a machine is available anyway (orange). So the logic you added (blue) is currently creating a duplicate task, likely messing up the processing order down the line.

capture1.png

All you need to do is to give token whose item is in the buffer priority when pulling a processor. Add a backorder strategy to the list that orders the pullers (tokens) by a label value. Set some default value for that value on all tokens (orange). If the item is moved to the buffer, increase that label (blue).

capture2.png


capture1.png (81.0 KiB)
capture2.png (98.7 KiB)
· 26
5 |100000

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

mark zhen avatar image mark zhen commented ·

0221-1.fsm

SO I finished this problem?

0 Likes 0 ·
0221-1.fsm (444.6 KiB)
Felix Möhlmann avatar image Felix Möhlmann mark zhen commented ·
If you remove your added logic and implement what I outlined in my post, yes.
0 Likes 0 ·
mark zhen avatar image mark zhen Felix Möhlmann commented ·

I have a question now. I think my vehicle vacancy rate is very high! Is there something wrong with my logic in dispatching vehicles? My current need is to solve the congestion problem of M10. So I have observed that maybe my call is not timely enough? So how can I improve it?

0 Likes 0 ·
Show more comments