I need that the Queue4 select the best item according to two requirements (variables)
1.- Best minimun number on a label (sec)
2. Product B has to be separated by five A products
Is there anyway to do that?
hope somebody can help me with this!
I need that the Queue4 select the best item according to two requirements (variables)
1.- Best minimun number on a label (sec)
2. Product B has to be separated by five A products
Is there anyway to do that?
hope somebody can help me with this!
This kind of sorting can be difficult to do in the 3D model. Have you tried implementing Process Flow into your models before? It can be much easier to do things like this and it helps you avoid writing custom code. I'd be happy to make a sample model using Process Flow so you could see how it works in this situation.
The following attached model will hopefully help you pull the items as you outlined in your question.
It works by pushing the items to a list using Queues 2 and 3 as shown in this image:
Items are assigned to a partition, which can be pulled from later in the model by Process Flow. The token in process flow goes round robin style - getting 5 of Product A and then 1 of Product B on the next time through. The image below shows how it pulls from the item list:
Let me know if you have questions about Process Flow or if this didn't quite capture what you wanted for your model.
Looks great, product B is being separated with product A, but there is something missing.
Product A and B has a label called "sec", that represents the sequence that the product should take to enter to Queue4, so, the most important thing its to respect that order, however if its impossible to respect the label "sec" because of the separation required by the process , then the software has to forget "sec" and put the separation between products.
Thank you man, i hope i can make something from this example.
@Alex Gf This is actually pretty straight forward with lists. If you open your list activity and open the advanced button you can add fields to the list. If you add a label field and call it "sec" it should have that field with correct value (if the item also has the label sec)
In the pull activity on the Query/Object field you select Order By and the field "sec" and you should be ready
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