question

PuiLing avatar image
0 Likes"
PuiLing asked Felix Möhlmann commented

Output port with global table

Hi, I am trying to separate the output by using global table. But it seems like it does not travel to the port that I assigned to in the global table. Am I doing something wrong?


Model_Test.fsm

FlexSim 23.1.4
output port
model-test.fsm (1.9 MiB)
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

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

The Send to Port logic is evaluated after the Process Finish trigger. So the item's type has already been updated when the output port is determined. If you instead update the type label in the On Exit trigger, it should work correctly.

· 2
5 |100000

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

PuiLing avatar image PuiLing commented ·
It still doesnt work correctly.

I have change the Set Label in the OnExit Trigger, but it still continued to process the items after it changes the label and does not go to the port.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann PuiLing commented ·

They do, check the input/output statistics of Queue7. They just move back to the processor immediately, since the input rank of Queue 7 into the processor is lower than that or Queue3.

1694764207593.png

(To take this screenshot I stopped the model shortly before a green item finished on the processor and then used the Step button to go through the model one event at a time.)

0 Likes 0 ·
1694764207593.png (384.4 KiB)