question

Hajaj S avatar image
0 Likes"
Hajaj S asked Joerg Vogel edited

How to process multiple flowitems at the same time?

I'm trying to create a processor that makes a part made up of 4 components. I want to be able to feed those 4 parts into the processor at one time and process them together. I have setup four different queue's to pull from.

FlexSim 18.1.0
processor
· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Hajaj S,

Have you tried using the Combiner object? It's basically a processor with additional functionality which should do what you are describing.

Thanks.

1 Like 1 ·
Hajaj S avatar image Hajaj S Jeff Nordgren commented ·

@Jeff Nordgren

I have, But how do i designate different process times for different items? let me explain further, I want to simulate a robot cell where the operator refills it with trays when it runs out. This robot cell holds 10 trays for each part type for inventory. there are four different types of trays that run out on different times. each tray holds 30 items and the robot takes 20 seconds to complete one item. therefore, the operator shouldn't have to reload trays till all ten trays are out. So, the processor should process for 20 seconds, pull 4 different items from 4 different trays and process again till one of the trays get empty. then, the operator comes and refills that empty tray and so on

0 Likes 0 ·
Jeff Nordgren avatar image Jeff Nordgren Hajaj S commented ·
@Hajaj S

Can you send your model or a sample model so that we can see what is happening in the model?

Thanks.

0 Likes 0 ·
Show more comments
Show more comments

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

I think you can achieve this by using more objects in your model instead of writing a logic in a single object. You start with the 10 queues which are your trays. Then you connect the trays with queues. Their capacity is set to one. They are holding the different parts to process. The robot transports those stored parts to a combiner object. If you need different process times in the combiner, you use a label at your part, that you read on entry in the combiner which changes then the process time directly in the process time function. Or you change a label value on the combiner that the process time function reads when the processing starts. You can even change the recipe on entry by a picklist option. Those recipes are stored in a global table. Then you sets the process time in relation to the recipe you use.

If it is important that the robot takes the parts directly from the trays it is just a visual aspect. Then you set the location of all items in the queues by an own logic that updates the location of the parts after gripping by the robot. The part in one of the 4 queue gets the relative location that it had in the tray queue before. You need the queue option "do nothing" in the its stacking option field. Then you can overrule the standard stacking procedures by your own logic. But the visual aspect is the second step in the model. If you need help how to store location data and process it, please look for an answer here at this forum or come back and ask a new question.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.