Hi everyone,
Is there a way to know how many items i already loaded from a Queue?
I want to do something like, if you already loaded/unloaded 60 at this place you can for the next one.
Thanks, Miguel Pereira.
Hi everyone,
Is there a way to know how many items i already loaded from a Queue?
I want to do something like, if you already loaded/unloaded 60 at this place you can for the next one.
Thanks, Miguel Pereira.
Hello @Miguel Pereira ,
You can evaluate this for example, using a label with the origin of the item and every time you load check how many items you have with this label using a loop with the resource's subnodes.
But really, I don't think you need it to achieve your objective, here you have an example using a counter and a limit (contMax) per subflow.
Hi
You can try to check the output value of the object
and in decide block write this
if(Model.find("Queue1").as(Object).stats.output.value ==60){ return something; }else{ return something2; }
Good luck
Attached model is checking in Break To function of Output pane, if a label value allows to load from same load station. I set this label in On Unload trigger. If this label returns a 0
value, then the function evaluates the second condition to load from a different nearest load station. On Unload I reset a label to check if it is still the same load station.
Labels of Operator
18 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