question

Ines L avatar image
0 Likes"
Ines L asked Jeanette F commented

Number of items in a processor

Hello,

I want to send two items at a time to a processor but i want the processor to be empty. Thants why I want to implement a function to know the content of the processor and the write the condition "send to processor when empty"

I need to do it from a queue, so content(current) doesn't work.


My flexsim version is 7.1.4

FlexSim (other)
FlexSim (other - please specify)
processorcontentprogramming
· 3
5 |100000

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

Ines L avatar image Ines L commented ·
0 Likes 0 ·
Ines L avatar image Ines L commented ·

I am using a normal processor

The processor in the middle receives 2 items from the middle queue. I want the processor to process to items at a time and the middle queue has to send the next two items only when the processor is empty.

0 Likes 0 ·
1607972667638.png (79.5 KiB)
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ines L, was Jeanette F's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jeanette F avatar image
0 Likes"
Jeanette F answered Ben Wilson commented

Hello @Ines L

A combiner would be able to batch and process two boxes together.

· 3
5 |100000

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

Ines L avatar image Ines L commented ·

Is there a way of doing it with a processor?

A restriction in send to port kind of "first available if processor is empty"??

Thankyou

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Ines L commented ·

Hello @Ines L,

You can set the processor's max content to 2. However, the processor will process each box once they are in the processor and can process 2 at a time. I am trying to say that the processor will not sync the boxes and process them at the same exact time. You can have one box half way through being processed and another one starts being processed. This is why a combiner is helpful because it requires both boxes to be there before it starts processing them.

This version of Flexsim is outdated. Please ask your professor if you have more questions.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@Ines L,

If you need to sync the processor to to process 2 items at a time, starting simultaneously, set the Processor's max capacity to 2, and use a queue just before the processor with batching enabled for a quantity of 2.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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