Search the Community
Showing results for 'add Queue tto entity like Batch Member'.
-
I will try to use the match expressions to determine which containers to batch. It would make things simpler. In the meantime, I discovered I could insert an extra server with 0 processing time just to store the worker and trigger the processing. Then, if a member entity is ready to batch, the worker can perform the batch. If there is no member entity yet, the worker waits in the output buffer and then when the member entity arrives at his detached queue (I needed to add that back in for this to work) it transfers the worker back to the input of this server so the worker can execute the batching logic again. Then, the parent and members arrive together at the combiner and they're ready to be combined. Again, I'll try again to use the match expressions, but if I can't figure that out, this should suffice. thank you very much for your help. using combiner.spfx
-
Servers Processing Time for each Entity in Batch
KatieP replied to AR1995's topic in SI General Discussions
If you batch the Entities together, you can Search the ModelEntity.MemberBatch queue. Then sum the lead time for each member entity and the parent entity to get the total lead time. -
Hi! I want to model the loading of containers at a terminal. On each terminal there is a queue with containers. Each container has different properties, like the size in TEU (is equal to 1 or 2) and their destination. I want to batch a vehicle (parent entity) to a group of containers (member entities). When the capacity of the vehicle is for instance 10 TEUs, you have to batch an amount of containers to that vehicle. The problem is that I cannot express the Batch Quantity in containers, but only in TEUs. Per container the size in TEUs is known and the containers (member entities) must all have the same destination. What should be the expression for the Batch Quantity? It is the most optimal when the vehicle with a capacity of 10 TEUs will be loaded fully. So, when the first number of containers in the list that will be loaded on the vehicle has a common size of 9 TEUs, the last spot can only be occupied by a 1 TEU container. When the first container waiting is 2 TEUs, this one must wait, but the first 1 TEU container waiting in the queue can be taken by the vehicle. How to model this? Does someone has an idea to model this problem? Thanks!