question

Martin B3 avatar image
0 Likes"
Martin B3 asked Hsu commented

How to produce one batch after another?

Hello,

I need help please.

I’m trying to build up a production line. In this production line, there are several queues which gather in one queue. This single queue follows a processor.

Problem:

Each item type has a different batch size (given by GlobalTable) and comes from another processor to a queue which belongs to a processor and portrays a buffer. After a specific delay time, the batches move to the single queue (Queue13).

The items of a specific batch can arrive at the same time. In this case, there will be a mix of different item types in the single queue. In the single queue should be proved, if the batch size of a defined item type is reached. If that is the case, the batch should be processed in the next processor (Processor13)

The requirement of the processor is, that he produces just one batch of an item type after another. There should be no mixture of different item types.

Please take a look at the attached screenshot.

How can this problem be solved?

Thank you in advance.

FlexSim 17.1.1
batch processingqueue content
batchproblem.png (223.0 KiB)
· 2
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 ·

@Martin B3

It's going to take more than a graphic to be able to tell you how to fix your problem. Can you send the model in the graphic to us? And can you give a better over-all description of what is supposed to happen in the model? Because there may be a better way of solving what you are trying to accomplish. If we knew that, we could give you a much better answer.

For example, why use interim Queue13? Why not just go straight from the four queues of the different types to Processor13?

0 Likes 0 ·
Martin B3 avatar image Martin B3 commented ·

@Jeff Nordgren

Processor5-8 are turning machines for example.

Queue5-8 are buffers in front of the machines, for batching. For example: Queue13 also provides a buffer before the next processing step. In this case, different batches meet here, waiting for the next processing step.

Queue9-12 and Queue14 are buffers after the machine. The task of these buffers is to collect all items of an itemtype until the specified batch size (given by a GlobalTable) has been processed.

To check whether the batch size has been processed, all items of the same item type from the affected queue are added with the items in the RejectQueue. If the batchsize is complete, the good parts in the queue are released for transport to the buffer before the next production stage.

Processor1-4 and Processor9-12 are only necessary to simulate the delay time before a processing step. I haven't found a way to specify the delay time in the queue.

The items in the RejectQueue do not leave them until a batch of a certain item type has passed through the entire production line. The items contained are always used to match the lot size.

The problem is, that different item types arrive in Queue13 at the same time and are processed according to the FIFO principle.

I would like, however, that itmes of a certain itemtype will be processed only after all the items belonging to the batch have completed the previous workstep and have arrived in the queue.

I hope this explains my problem somewhat better.

0 Likes 0 ·

1 Answer

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered Hsu commented
@Martin B3

I think that my answer to your question here, also answers this question.

· 1
5 |100000

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

Hsu avatar image Hsu commented ·

Hi, I need to set up a setting now, but your link doesn't seem to work!

Can you please help me to see my file or give me a file with this function?權重測試.fsm

0 Likes 0 ·
權重測試.fsm (380.1 KiB)