question

Ella Layton avatar image
0 Likes"
Ella Layton asked Jason Lightfoot commented

Using Multiple ports

I have a source connected to 2 queues and those 2 queues connected to a single processor. How can I make it to where X% of things produced go to queue 1 and Y% of things produced go to queue 2? I would like the processor ports to be controlled by the same logic but with different percentages.

FlexSim 23.2.0
queuesports
5 |100000

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

1 Answer

·
Carter Walch avatar image
1 Like"
Carter Walch answered Jason Lightfoot commented

Hi @Ella Layton ,

You can do this in the Output tab of the properties window under Send to Port --> Random --> By Percentage. Just make sure the percentages add up to 100

1689979996662.png

1689980026709.png


1689979996662.png (34.9 KiB)
1689980026709.png (13.9 KiB)
· 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.

Ella Layton avatar image Ella Layton commented ·
@Carter Walch , This works great until one of the queues is empty. How can I change the processor input to take 100% from one queue if the other is empty while still using different percentages if neither queue is empty?
0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Ella Layton commented ·
@Ella Layton, pllease ask this as a new question. This needs more then an simple comment to answer, because of your restriction from your question here. Thanks!
1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Joerg Vogel commented ·

New question is here.

1 Like 1 ·

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.