I am trying to set up the source to set up 2 parts every day for 255 days but with the delivery table it gives me an error (A time specified has become negative). I don't understand why.
For me it would be fine also to use a normal distribution where on average 2 parts per day are generated for 255 days or 365 days (it doesn't matter).
Anyone knows how to do this? I can attach the model if needed.
Solved! Go to Solution.
I think a delivery table should work. The DeliveryTime column should contain the overall simulation time of each creation of two parts. For example:
and so on for each of the 255 days.
Yes it works now, I had a problem in a single process operation.
Do you know how to statistically distribute 20,000 objects over 255 days ? Instead of using a delivery table but maybe with a function.
You could do this in an exit control on your Source.
Continue to use a delivery table to create one new MU for each of the 255 days. Connect this Source to a Drain.
In the Source exit control, determine the number of parts needed for the day with a random distribution with a mean of 20,000/255 = 78.4, rounded to an integer. Then in a for loop, use the create method to generate that number of MUs to a Buffer that connects to the rest of your model.