question

Jiafeng W avatar image
0 Likes"
Jiafeng W asked Jiafeng W commented

How to let the two items of the same itemtype flow into two different ports?

The source produce two items of the same itemtype at the same time. Then two items flow to the queue. After the queue, I want the two items flow into two different ports.

FlexSim (other - please specify)
FlexSim (other)
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

·
jing.c avatar image
0 Likes"
jing.c answered Jiafeng W commented

Hi, jiafeng

Not quite understand what you want.

If you just want to split every 2 items to different port, you can just change the expression like "getinput(current)%2+1" in sendtoport trigger (as the pic show below)

May it helps~


捕获.png (4.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.

Jiafeng W avatar image Jiafeng W commented ·

Thank you so much.

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.