question

Kamil KS avatar image
0 Likes"
Kamil KS asked Kamil KS commented

Conveoyrs decision points

Hello

I want to send the equal amount of items to 3 different locations using decion points in conveoyr systems. It needs to go randomly during the model run so it sends 33,33% to the first destination, 33,33% to 2nd and so on. I tried to do it with bernoulli (33.33,1,0) but it isnt working as I expected.

coveyorlogic.fsm

Thank you, Kamil KS.

FlexSim 18.2.2
conveyor
coveyorlogic.fsm (38.7 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

·
Clair A avatar image
1 Like"
Clair A answered Kamil KS commented

Hi @Kamil KS,

For the destination select this option:

This option uses a uniform distribution which returns random integers between 1 and the number of objects connected through output port connections, in your model = 3.

So this returns 1, 2 or 3 with a uniform probablity of 33% for each value.


randomouputport.png (21.0 KiB)
· 10
5 |100000

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

Kamil KS avatar image Kamil KS commented ·

HI,

I need to change the percent values and I wonder if I can do it directly in decision points or I need to create a process flow with destinations ? E.g 20%, 30% and 50 %

0 Likes 0 ·
Clair A avatar image Clair A Kamil KS commented ·

You don't need a process flow, you can use a discrete empirical distribution with the dempirical command. See the menu Help > Command Helper for detailed explanation about this command.

0 Likes 0 ·
Kamil KS avatar image Kamil KS Clair A commented ·

I am not sure how to use it. I have read the Command Helper and I figured that i have to create a global table. So I did it with 3 rows of different percent value each (all equals to 100%), and now i want to put it into decision point to choose between 3 destinations like in the picture.

example.png

0 Likes 0 ·
example.png (12.3 KiB)
Show more comments
Show more comments

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.