Hi, team.
When Combiner sends 666 entities, we checked that only one of the subsequent batch items is pushed into the list, causing the model to stop, please download and run the model to see the exact issue.
This happens due to the usage of the Move Object activity. When an item is send through a port-connection, the nroftransportsin variable on the receiving fixed resource gets incremented. When an item is unloaded to the object, the variable is decremented again, however this does not happen, when it is 'moved' into the object.
The variable is taken into account when the queue evaluates whether it can receive another item or not. Because half of the items are not 'unloaded' into the queue, at the point where the 1000th item is send, the queue has 334 pending transports. These plus the content of 666 mean that the queue is full and does not open its input again and the combiner becomes blocked.
(The same is also true for the combiner. Since half the items are 'moved' instead of 'loaded', it still has 334 pending outputs. This is just not a problem since the number of outputs is not limited.)
You can manually let the fixed resources know that you moved the items in/out with the commands transportoutcomplete() and transportincomplete().
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved