question

christopher solano avatar image
0 Likes"
christopher solano asked Julie Weller commented

How do I make 20 products enter the processor and 5 come out?

Tengo una entrada de 20 productos pero a la salida solo necesito que salgan 5

FlexSim 23.1.2
processorsprocesstimecomo configurar entradas e saidasprioridades para entrar al procesador
· 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.

Julie Weller avatar image Julie Weller commented ·

Hi @christopher solano, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot edited

I assume you want to process 20 products at once. Then something like processing 4 products and 1 product leaves an object is not your intention.

The general idea behind a solution is:

  • You collect 20 products,
  • you destroy 19 products,
  • you duplicate 4 products.

You collect 20 products and release 1 product is a process of a combiner object in 3D model or of a batch activity in Process Flow.

You split a product into 5 is a process of a separater object in a 3D model or a create object activity in Process Flow.

By source code you achieve this by methods of destroy and copy.

· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Another way is to use a BasicFR and use a process flow to receive 20 items before the processing delay and then release 5 and destroy the rest. Wait until the 5 have exited before receiving another 20. This is simplest to implement in an object process flow. In this way you don't have to worry about the capacity of two fixed resources and the need to manage them through, say, opening and closing input ports.

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.