Task assignment problem

Task assignment problem

a9080109
Collaborator Collaborator
5,138 Views
28 Replies
Message 1 of 29

Task assignment problem

a9080109
Collaborator
Collaborator

[ FlexSim 23.0.15 ]

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

0 Likes
5,139 Views
28 Replies
Replies (28)
Message 2 of 29

FelixMoehlmann
Mentor
Mentor

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

0 Likes
Message 3 of 29

a9080109
Collaborator
Collaborator

0221-1.fsm

SO I finished this problem?

0 Likes
Message 4 of 29

FelixMoehlmann
Mentor
Mentor
If you remove your added logic and implement what I outlined in my post, yes.
0 Likes
Message 5 of 29

a9080109
Collaborator
Collaborator

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
Message 6 of 29

a9080109
Collaborator
Collaborator

How can I implement this logic using front-end OHT Standby to reduce machine waiting time!?

0 Likes
Message 7 of 29

FelixMoehlmann
Mentor
Mentor
A simple change you can make is push the M10 processors back to the list as soon as the finished item enters the output queue rather than exits. That way the resupply task is started in parallel to the retrieval task.

In a quick test the utilization of the processors went from around 71% to 82% (warm-up time set at 3600s and stop time at 10800s).

To get the utilization even higher, the task would need to start even soone (before the previous item finishes processing). Essentially having a loaded AGV wait at the processor for it to become available.

0 Likes
Message 8 of 29

a9080109
Collaborator
Collaborator

Can you show me the PF or model you designed?

0 Likes
Message 9 of 29

a9080109
Collaborator
Collaborator

I don’t quite understand why warm-up is needed?!

0 Likes
Message 10 of 29

FelixMoehlmann
Mentor
Mentor

The only change I made was moving the "Push to List" to the OnEntry trigger of the InOut queues. I don't understand your model enough to know if moving the Write to Global Table also over might make sense.

capture1.png

It takes time for the simulation to reach a steady state. Resetting the stats after a warmup time let's you get proper utilization stats quicker.

https://docs.flexsim.com/en/25.0/FlexSimUI/RunningSimulations/RunningSimulations.html#stopping

0 Likes
Message 11 of 29

a9080109
Collaborator
Collaborator


Can you explain in detail the impact of such changes on my model?

0 Likes
Message 12 of 29

joerg_vogel_HsH
Mentor
Mentor
Tasks are dispatched on events. You can let a logic act strict on if this than that. But under typical circumstances you can say if a product gets processed it will be released at a distinct time in the future. Now you can estimate to dispatch a task earlier under the assumption that you can accelerate a process. BUT if there is a delay through a breakdown your thoughtful assumption gets corrupted. So more reliable is if this than that, but it is slow and creates waiting times. Thoughtful forecasts can accelerate a system but on costs of reliability.
0 Likes
Message 13 of 29

Jacob_White
Community Manager
Community Manager

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
Message 14 of 29

a9080109
Collaborator
Collaborator

@Felix Möhlmann

Sir

I want to understand that I now have two models for comparison. The model compare model is the benchmark. The 0305 model is one that I have adapted, but now I want to restore 0305 (I have tried it), but there is still a gap between the final results of 0305 and compare. I want to know where the difference is.0305.fsm0305compare.fsm

0 Likes
Message 15 of 29

a9080109
Collaborator
Collaborator

I observed it because my door1/door2 side has been adjusted, but I want to understand the impact of this change in the model. As a result, my final production capacity is different.


In addition, I also have some problems with my ZONE. In theory, I should only be able to enter one car at a time. Why are there two cars entering the zone at the same time? like the figure (1660 time )1741225522382.png

0 Likes
Message 16 of 29

FelixMoehlmann
Mentor
Mentor

The marked zone should be configured to only allow a single token per AGV, not overall. This is to prevent issues when an AGV is pre-empted while waiting at the door which could otherwise lead to duplicate tokens.

1741261372479.png

0 Likes
Message 17 of 29

a9080109
Collaborator
Collaborator
so why have 2 car in this area!
0 Likes
Message 18 of 29

FelixMoehlmann
Mentor
Mentor
Because, as I said, the zone is not configured correctly, allowing only a single token at a time to enter the control logic. Thus additional AGVs are simply never stopped, because they ignore the logic.
0 Likes
Message 19 of 29

a9080109
Collaborator
Collaborator

so i need to change the PF LIKE ?

1741262918833.png

0 Likes
Message 20 of 29

FelixMoehlmann
Mentor
Mentor

No, you remove the general limit on number of token in the zone and instead partition the list by AGV and limit the partition content to 1.

capture1.png

0 Likes