question

MPeyman avatar image
0 Likes"
MPeyman asked MPeyman commented

Satisfying Multi customers

Hi All, I have created a model with several queues, 3 of them considered as a warehouses and others as a customers. Also I modified 2 cranes as a drones in order to pickup some items from warehouses and satisfy multi customers and goes to other warehouses and so on.

But, in attached model the drones just satisfy one customer instead of multiple. I create it with process flow using wait for event and subflow. can anyone help me.

Thanks you. Multi_customers.fsm

FlexSim 23.0.0
wait for eventsub flowmultiple cranesload unload
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

@MPeyman ,please elaborate, what are the differences to your previous question? https://answers.flexsim.com/questions/134874/multi-drones-multi-warehouses-multi-customers.html. If there aren’t any, then asking questions twice violates best practices of this answer site. On the other side I mentioned before that support for academic exercises or projects is restricted to questions of detailed described problems. Please refer to FlexSim‘s policy of academic integrity.

0 Likes 0 ·
MPeyman avatar image MPeyman Joerg Vogel commented ·
@Joerg Vogel yes there is a difference in a process flow of those model the previous question process flow was different so I created new one with subflow and diferent behavior.
1 Like 1 ·

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered MPeyman commented

I'm not seeing the problem you describe. All customers receive items at some point. Each item is taken from a random warehouse to a random customer.

An issue I saw is that you create the items inside the cranes and then tell the cranes to load them, which causes them to teleport around. You should create the items in the warehouse queues.

Also, due to how the movement of the cranes works, it might be better to get rid of the initial travel activity, which would save one lift/drop process.

1674737307603.png


1674737307603.png (11.8 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.

MPeyman avatar image MPeyman commented ·

Hi @Felix Möhlmann, I have a question, in process flow, how or by using which function task executer can randomly choose the queue from group of queue and fill all their capacity on that queue? and for the next time choose randomly again another queue. here I used duniform and it randomly choose but in order to full fill the quantity it goes to different queue. task.png

0 Likes 0 ·
task.png (16.7 KiB)
Felix Möhlmann avatar image Felix Möhlmann MPeyman commented ·

In the screenshot, you determine the value of "W" independently for each token that runs through the sub flow.

To have them all refer to the same queue, determine that value once on the "main"/parent-token before it enters the "Load/Transport" activity. If you didn't forbid the created tokens from accessing labels on the parent token, then you don't even need to assign it to each individual token, since they will read the label on the parent token if they don't possess a label of that name themselves.

1675678002782.png

multi-customers-fm.fsm

0 Likes 0 ·
MPeyman avatar image MPeyman Felix Möhlmann commented ·

@Felix Möhlmann Thank you for your appropriate answer.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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