Hello,
I have a simple model with a source, queue, processor, and a sink. The objects are getting the label "ProcessTime" on creation in the source. "ProcessTime" values are set according to lognormal distribution. The processor uses the value of "ProcessTime" for processing time. What I could not do but want to implement is that as follows: before releasing the next object, I want to sum the "ProcessTime" values of the objects that are currently on Queue1 and the "ProcessTime" value of the next object to be released. If this "Total ProcessTime" is under a limit (let's say 50), then I want to release the object and continue on processing. Otherwise, I want to wait for releasing the next object until this "Total ProcessTime" becomes under 50. If someone can help me with this problem, I would be appreciated. Thank you very much.
I am also attaching my flexsim file.