question

Robert Hambright avatar image
0 Likes"
Robert Hambright asked Robert Hambright commented

How do I send a percent of one flow item to a specific rack?

I want to create a flowitem, and then send it to the blue rack 25% of the time, to the red rack 60% of the time, and to the yellow rack 15% of the time. How can I do this?

Also, if there are two different flowitems created and brought to the same queue, can I also send the second item to different racks based on percentages?

Here is the model below: samplemodel.fsm

Thanks!

Rob

FlexSim 16.2.0
rackslabeldistributions
vlfbe.png (341.3 KiB)
samplemodel.fsm (19.3 KiB)
5 |100000

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

1 Answer

Sam Stubbs avatar image
2 Likes"
Sam Stubbs answered Robert Hambright commented

You can send items to a certain port by percentage. This is a default option from the Send to Port picklist in the Flow tab of your Queue's properties. You simply select Random > By Percentage. And then fill out your percentage distribution. It would look something like this:

However if you want the percentages to be different based upon the type of item coming through. What you could do, is to create a table (where, for example, rows would be the percentage values for Blue, Red, Yellow, and Columns would be item types) and then have the Percent field instead call a function that grabs the number off the table. For example:

I've included an updated version of your model below showing these changes.

2334-samplemodel.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.

Robert Hambright avatar image Robert Hambright commented ·

Awesome! Thanks, Sam.

0 Likes 0 ·