question

Adam J avatar image
0 Likes"
Adam J asked tannerp commented

Use a single transporter to "deliver" flowitems to multiple queues

Hope you all fine and dandy.

I'm wondering how can I use the same transporter in a way that it will transport flow items from a source to 2 points ( queues) which has a required amount of items ? I linked it to the two queues but it doesn't seem to work it just transports them from the source to the first queue and totally ignore the second one or just deliver to the first one and returns to the source to pick others items and goes to the second points. I want that transporter to load a determined quantity of items and delivers a " percentage" to the first point and the rest to the second one. Any idea how should I do? Thanks in advance

FlexSim 18.0.8
transporters
· 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
2 Likes"
Joerg Vogel answered Joerg Vogel commented

Based on my comment you find two models attached. Therein the second sub process flow call defines how many items are unloaded to the first destination queue. Currently it is a random amount of the complete loaded items. You can exchange the statistical discrete uniform distribution by a constant value matching the desired percentage. The first "simple" variant contains the algebraic solution to identify the items from an array to unload. The "array methods" set the labels to unload by methods of the array class.

This is a simple process flow model. All action is done by process flow.

This process flow uses direct references chosen by the sampler tool from the 3D model. It misses some resources, you would add if you build a model straight from the tutorials. I left this because I wanted to show, that Process Flow controls a model like you describe it by text.

deliver-2-destinations-simple.fsm

deliver-2-destinations-array-methods.fsm


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

Clair A avatar image
1 Like"
Clair A answered

Take a look at the Send to Port parameter in your Source. By default it sends the flowitems to the First Available output port. There are a lot of other pickoptions available. The one you are looking for is probably Random > By Percentage.

5 |100000

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