question

Navode W avatar image
0 Likes"
Navode W asked Dan Bell edited

Probability distribution source input help

Hello,

Currently in my attached model, my source 2 produces boxes of 3 colors, and I was wondering if there was a possibility of inputting for each color box that is produced, adding a probability distribution to the production number of these color boxes? And how to add a certain number of red, blue, and green boxes that will get produced? For ex. for the red color boxes, it produces according to this probability distribution that we inputted and so on for each color, is there a way to do this in FlexSim? Is it sometime to do with interarrival time?

Thank You very much for your time and consideration!

Most updated 2.8.fsm

FlexSim 22.0.0
warehousingforkliftfloor storage
most-updated-28.fsm (143.2 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

·
Dan Bell avatar image
0 Likes"
Dan Bell answered Dan Bell edited

Hello @Navode W!

There are a few ways to go about achieving the desired logic you described.

First, to change the amount of boxes being created by Source2, you can set the interarrival time to whatever your desired output is. FlexSim has pre-built statistical distributions, or you can put in the number of seconds between each arrival. For example, if you want 4 items per minute you could enter '15' as the interarrival time so that an item is created every 15 seconds.

Second, to change the distribution of item types that are being produced you can use the OnCreation option under triggers as shown in the images below:

oncreation.png

oncreationoptions.png

Using this feature, you can set up a percentage for each item created. As shown above, it will create each item about 33% of the time.

Hopefully this helps you accomplish your desired outcome, if you have further questions feel free to reach out again.


oncreation.png (15.4 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.

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.