question

Bruno Almeida avatar image
0 Likes"
Bruno Almeida asked Patricia_brenny R edited

Set rule for queues

Darlings, I hope you are well!

Well, I need the process outputs to go to the corresponding queue according to the arrival criteria, that is,

  • if the item enters Arrival 1, it will go to Queue 1;
  • If the item enters Arrival 2, it will go to Queue 2;
  • So that in the end they are united and give the final output.


1690341008942.png


FlexSim 23.1.3
queuesource
1690341008942.png (115.7 KiB)
5 |100000

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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Bruno Almeida commented

I assume that by "Arrival1" and "Arrival2" you mean the sources (Chegada, Chegada2)?

In that case you can have the sources set a label that denotes where the item came from on the items. Then use that label in the processors' Send to Port field to determine the queue they are send to.

port-by-case.fsm


port-by-case.fsm (27.1 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.

Bruno Almeida avatar image Bruno Almeida commented ·
Perfect! I wonder if with a font I could do this from a percentage: 50% to the right and 50% to the left (in processing)
0 Likes 0 ·
Patricia_brenny R avatar image
0 Likes"
Patricia_brenny R answered Patricia_brenny R edited

Hello, the ideal solution is the one mentioned by Felix, on your Chegada1 and 2 add a label that will trace them back to where they originated, then use this label on the "Send to Port" field choose the desired output port by case. If you want a 50% 50% entering rate from the sources, consider using a Pulling method on "Mesa" and pull from each input port based on percentage.

5 |100000

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