I want to enter the next batch after ejecting all the items being processed by the processor.
I have set current.subnodes.length == 0 to the condition, but it doesn't work.
What's wrong?
How can I fix it?
I want to enter the next batch after ejecting all the items being processed by the processor.
I have set current.subnodes.length == 0 to the condition, but it doesn't work.
What's wrong?
How can I fix it?
Hi anonymous user, was Jörg Vogel's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
The content of a processor is still 1 when a last item leaves.
Test it on your own on exit
print(current.subnodes.length);
Changed to "current.subnodes.length == 1" so that one content can be port-opened.
But after 214 seconds the simulation freezes.
What's wrong?
anonymous user, EDIT: I have looked into your model, and it behaves absolutly strange. It processes 2 batches. First batch released with a max wait timer, second batch with a max wait timer and then the model stopps unexpectingly.
It doesn't matter wether you check a content of the processor to open the input nor if you check a label of an item.
next approach: On End Collecting trigger I assign a label at the last item of current batch. The batch is transferred directly to the processor or to a bypass queue. The label is responsible for closing and opening the input of the processor.
8 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