question

Astrid De Cock avatar image
0 Likes"
Astrid De Cock asked Astrid De Cock commented

When having 2 itemtypes in the queue, how can I send type 1 to processor 1 and type 2 to processor 2 OR 3?

FlexSim 7.5.4
itemtypesend to portports
5 |100000

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

Rodrigo Lamas avatar image
2 Likes"
Rodrigo Lamas answered Astrid De Cock commented
@Astrid De Cock

Please see the model attached with pull from the processors. I hope can be helpful. Regards!

example.fsm


examplegif.gif (8.8 MiB)
example.fsm (15.3 KiB)
· 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.

Astrid De Cock avatar image Astrid De Cock commented ·

Thank you very much for your answer!!!!!!

0 Likes 0 ·
Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Astrid De Cock commented

@Astrid De Cock

Astrid,

Here is how I would do it in the current version of FlexSim using lists.

In the Send To Port of Queue1, I would Push the flowitem to a new list called ItemList1.

Then in Processor1 on the Flow tab, check the Pull Strategy check box in the Input area and select the Pull from ItemList1 and specify only itemtype 1 flowitems.

Then in Processors 2 & 3, do the same thing changing only the Query statement so that it will get anything but itemtype 1 flowitems.

This way you don't even need connections between Queue1 and the Processors. Here is what it looks like.

sendtoportsample-jn1fsm.fsm


vvwcr.png (17.9 KiB)
iqxu5.png (19.8 KiB)
wwsmr.png (19.8 KiB)
· 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.

Astrid De Cock avatar image Astrid De Cock commented ·

Thank you very much for your answer!!!!!

0 Likes 0 ·