question

Rafael Andrade avatar image
0 Likes"
Rafael Andrade asked Joerg Vogel answered

Processor pulls from some queues a list of items

How to make an order list from a processor using the INPUT option of FLOW ?. Example: 3 queues are connected to the processor, which pulls 2 elements of the input port1 (queue 1), 3 of the input port 2 (queue 2) and 1 of the input port 3 (queue 3) @Matthew Gillespie

Inside the model, there is a global table (item list) that shows the qty of items required by input port, according the item type that arrives to the combiner beyond the proccesor (the global table "item type" saves the item type number).

model-pull-item-list.fsm

FlexSim 18.2.2
processorlist pullinput port
· 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 ·
@Rafael Andrade

I'm not sure what you are asking. The way you describe how the processor is supposed to work, it should be a combiner. And I'm not sure what you are trying to do with the Combiner in your model. Could you explain a little more what is supposed to happen in the model?

Thanks.

1 Like 1 ·
Rafael Andrade avatar image Rafael Andrade Jeff Nordgren commented ·

@Jeff Nordgren sure, i could explain it in detail, let see:

When a item arrives (from the source 12 of the model) to the combiner, if the item type is 1, the processor must pull 1 item from each input port. If the second arrive is an item type 3, the processor must pull nothing from the input ports 1 and 2, and 3 items from the input port 3, and so on...according is described in the global table "item list by ports".

The frequency of the item types its almost the same (1 third for each one), and a single color for each item type. Same way to the items that comes from the source 11 (Set item type and color: duniform(1,3))..

By the way: the queue 11 has set a target batch size of 10 to give more time to accumulate a buffer of items to have all the item types available.

The question is:

How can i make the processor pulls items according to the above? (without using process flow).

Thanks for your help.

0 Likes 0 ·
Rafael Andrade avatar image Rafael Andrade Rafael Andrade commented ·

if it´s not clear at all yet, i can continue explain you.

0 Likes 0 ·
Kari Payton avatar image Kari Payton commented ·

@Rafael Andrade are you familiar wiht process flow?

0 Likes 0 ·
Rafael Andrade avatar image Rafael Andrade Kari Payton commented ·
@

Kari Payton,

Not so much, once I saw a video but it was very basic ... I think it's not enough to apply it in this case. In principle I would like a method where process flow is not used, but if that is the most recommended, then ok, I am attentive to the recommendations. By the way, thanks for your comment! :)

0 Likes 0 ·
Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Rafael Andrade commented
@Rafael Andrade

It seems you are trying to use a Processor object when you should be using a Combiner object. Attached is your model with the changes that I made. I added a new container flowitem that is produced from Source1. It is used to hold all the other flowitems collected from the queues. In the OnEntry trigger of Combiner1, is where you can specify the Global Table for the number of flowitems to enter from each input port based on the item type of the new container flowitem. In Source1, I create container flowitems with a Type from 1 to 3 (to match the number of columns in the Global Table).

Is this what you were looking to accomplish?

Thanks.

model-pull-item-list-jn1.fsm


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

Rafael Andrade avatar image Rafael Andrade commented ·

Not exactly, i wanted that the processor takes items as the global table indicates, according the type that arrives to tha combiner beyond. But i can use it like a combiner to (as you show me in the model).

Thank you so much!.

0 Likes 0 ·
Vatic Group avatar image Vatic Group Rafael Andrade commented ·

Hi Rafael, tomorrow you will be able to see a video from our webinar: ProcessFlow y estadísticas, la combinación para modelar muy rápido y fácilmente (haga click) and you can also write to [email protected] for help.

0 Likes 0 ·
Rafael Andrade avatar image Rafael Andrade Vatic Group commented ·

Gracias por su atención e interés!

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

You are choosing in a down stream object of your flow the recipe which will be responsible for the order of items that you process in your up stream objects. As long as the recipe hasn't been chosen you have to prevent the upstream objects to do anything. After the recipe is set you choose the products you need to process in your up stream objects. Then you stop your up stream objects again until you know, which recipe is the next one. You can accelerate this if you know the order of recipes processed in your production line.

You copy the recipe of your recipe table to a partitioned list and you pull the list entry when a needed product enters your production line.

In other words you try to find a match of a product attribute that is on a partitioned recipe list with a product that is on list of available products in your queues. You batch the needed products and then you start the processing in the production line.

At combiner get Recipe > get number of products > setting needed attributes from the recipe> pull available items or mark them as unavailable> batch items > start processing > combine

5 |100000

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

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.