Uniform Distribution and Unpacker
Posted: Friday 06 May, 2011 - 16:12
Hello,
I have two problems! First of all, I'd like to generate a random value that is uniformly distributed between 1 and 90. I'm using Uniform(1,90) and I have tried out quite a few simulation runs, but the source does never generate more than 20-30 products ever. What am I missing?
Secondly, I also have a label-problem. Every product gets a label with a value from 1-3 (depending on the destination - 1 for the first unpacker etc.)! Afterwards, 1 to 3 assemblers, depending on the amount of products, put a maximum of 30 products on a container. Those containers take off to three different unpackers that are placed in row. Now I'd like to unpack the exact amount of products by referring to the value of the label: (Unpack quantity)
The problem is that it seems like the unpacker unpacks randomly. So therefore, when the container arrives at the second unpacker, there are still products with a label value of "1" even though those were supposed to leave the container at the first unpacker!
How can I possibly solve this situation?
Thanks
I have two problems! First of all, I'd like to generate a random value that is uniformly distributed between 1 and 90. I'm using Uniform(1,90) and I have tried out quite a few simulation runs, but the source does never generate more than 20-30 products ever. What am I missing?
Secondly, I also have a label-problem. Every product gets a label with a value from 1-3 (depending on the destination - 1 for the first unpacker etc.)! Afterwards, 1 to 3 assemblers, depending on the amount of products, put a maximum of 30 products on a container. Those containers take off to three different unpackers that are placed in row. Now I'd like to unpack the exact amount of products by referring to the value of the label: (Unpack quantity)
Code: Select all
-
How can I possibly solve this situation?
Thanks