i am very new in plant simulation. I need a method which can organize that 6 MUs with a specific attribute go from a buffer or store to a next free machine or buffer. Can you help please?
basically you can write a method which loops through all the MUs on your buffer and store, checks for that specific attribute and then use the move method to move them to the machin or buffer.
But this might not be the most efficient way. If we would know what you exactly try to achieve and when this behavior is triggered there might be easier solutions.
I had a similar problem. So i wrote with a method all incoming MUs in a table and searched in the table for the right attribute of the MU with a loop. With that way i got the place in the buffer and could use the move-command. But first you need to set your buffer capaticity right. For example Xdim = ? and Ydim = 1 that you can use the table row of the found MU.
Hope i'm allowed to help as a newbie
Thank you for your response. The aim of the model ist to check all MUs in buffer. If there a 6 MUs with same attribute, the next production process can start.
Just give a few more information about the MUs like the name and the attributes.
After 6 same MUs should all MUs be moved or only the 6?
Later i try my best to write a method
thank you for your support.
Name of the MU´s: Fördergut1
Attribute of the MU´s: Name: Press; Value: 5
The goal is to batch always 6 MU´s with Attribute Press and Value 5 or 6 for the next production step - an oven process. Do you need more information?
Thank in advance.