question

Kevin S7 avatar image
0 Likes"
Kevin S7 asked Ryan Clark commented

How to transport products from the first available

What happens is that I have this model but the operators do not respect the condition that they have to carry the first queue that fills up, they must transport to the exit


at the beginning the model works correctly but then it no longer respects the condition that the queue that fills up first goes to the output port that is available first


1636501754395.png


CONFIGURACION 6_OP.fsm

FlexSim 21.2.4
operatorqueues
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·
I would invoke a priority hierarchy. A default dispatch mechanism sort tasksequences by priority. A higher number has got an higher priority.
0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ryan Clark commented

I'd suggest to use a process flow to control the item transports. Using only 3D logic to achieve the goal is certainly possible but probably more complex at this point.

In the attached model, a new token is created each time an item enters one of the queues. These tokens are then batched together up to the batch size setting of the queue. After the batch is full, the released token acquires both a destination queue and operators. These are implemented as resources, so only one token (queue) can use them at a time.

The operators are then told to transport the items. When they are done, the queue and operators are released again.

When acquiring a queue, the condition that there must be enough capacity for the batch items must be fulfilled. That capacity is tracked in a label on the queues. When one is acquired by a token, the capacity is decremented by the amount of items in the batch. It is incremented again in the "On Exit" trigger of the destination queues.

configuracion-6-op_1.fsm

I hope this is what you had in mind.

If you haven't worked with process flow before I'd suggest to work through the corresponding tutorials in the manual.

Basics 1.3 https://docs.flexsim.com/en/21.2/Tutorials/FlexSimBasics/1-3BuildProcessFlow/
Basics 1.4 https://docs.flexsim.com/en/21.2/Tutorials/FlexSimBasics/1-4LinkModels/

PF Shared Assets https://docs.flexsim.com/en/21.2/Tutorials/ProcessFlow/Tutorial1UsingSharedAssets/UsingSharedAssetsOverview/

If you have any questions about the attached model after that, feel free to ask.


· 4
5 |100000

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

Kevin S7 avatar image Kevin S7 commented ·

Perfect now if it works as I imagined thanks to your help

0 Likes 0 ·
Kevin S7 avatar image Kevin S7 commented ·

@Felix Möhlmann

Good morning friend, can you help me correct a model that I have, please, what happens is that I want the operators after loading the products in queue 5, those two operators transport the combiner and therefore, two operators have what to pack in the combiner. the products already with the time that is there once this task is finished, you can return to pick up the products and so on


LOAD PRUE.fsm

0 Likes 0 ·
load-prue.fsm (118.7 KiB)
Kevin S7 avatar image Kevin S7 commented ·

@Felix Möhlmann

friend I already changed a few errors small errors, but this in itself is the model

LOAD PRUE.fsm

0 Likes 0 ·
load-prue.fsm (118.4 KiB)
Ryan Clark avatar image Ryan Clark Kevin S7 commented ·

Hi @Kevin S7,

Since this is a new question, could you please post it separately as its own question? Please see https://answers.flexsim.com/articles/22192/best-practices-for-using-this-answers-site.html for more details. Thanks!

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.