Why can't the combiner work when I use code

Why can't the combiner work when I use code

AriaZhou
Not applicable
121 Views
2 Replies
Message 1 of 3

Why can't the combiner work when I use code

AriaZhou
Not applicable

[ FlexSim 25.0.0 ]

I use code created Q1 and Q2, and connect this two queue to combiner1. But when I create some boxes on Q1 and Q2, the boxes won't flow to the combiner, I checked the input port of combiner, it is correct.

Below I am attaching the ss and model, kindly can anyone guide me in fixing the issue. Thanks in advance !


1745205369726.png1745205381178.png

CombinerDoesn'tWork.fsm

0 Likes
122 Views
2 Replies
Replies (2)
Message 2 of 3

PabloCASP
Enthusiast
Enthusiast

"I thought it was enough to open the input ports of the combiner (openip(Model.find("Combiner1"), 1);), but I realized that the component table structure in the tree is missing in the combiner if you have not reset the model(open the tree of a combiner after making the connections, and only then when pressing reset the node From Input Port x and its subnodes Target and Current Quantity are created)."

0 Likes
Message 3 of 3

AriaZhou
Not applicable

Thanks Pablo! The target function for my model is that I want to make sure each time when I press reset, the input queue can destroy and recreate (by different commands), and then re-connect, but I think I'm now in a deadlock, maybe execute the contextdragconnection command in the processflow is not a good method. Thanks!

0 Likes