Combiner "pack" to separator "unpack" - item won't leave separator

Combiner "pack" to separator "unpack" - item won't leave separator

bennett_foster
Not applicable
219 Views
4 Replies
Message 1 of 5

Combiner "pack" to separator "unpack" - item won't leave separator

bennett_foster
Not applicable

[ FlexSim 16.1.0 ]

I'm teaching a course and have an example problem with a combiner followed by a separator - to illustrate the various options.

It works fine until I have "pack" in the combiner and "unpack" in the separator. Then the first flow item out of the separator won't enter the next object (and of course everything backs up).

What do I need to know about combiners and separators that causes this to happen?

0 Likes
Accepted solutions (1)
220 Views
4 Replies
Replies (4)
Message 2 of 5

jing_chen
Not applicable

Hi Bennett, if you attach the model someone can help you easier.

Message 3 of 5

joerg_vogel_HsH
Mentor
Mentor

1466-combiner-separator.jpgstandard-combiner-separator-combination.fsm

Model is something like that?

0 Likes
Message 4 of 5

bennett_foster
Not applicable

That solves it. I needed 2 output queues for the separator. I only had one in the model. I had not assumed that it would segregate the flowitems after unpacking them from the packed flowitem. Putting in the second queue makes it work. (I had never worked much with separators before.)

THANKS!!!

0 Likes
Message 5 of 5

Ben_WilsonADSK
Community Manager
Community Manager
Accepted solution

The default separator Send To Port logic sends the container object out through port 1 and the contents through port 2:

1480-separatorproperties.png

If you keep the default Send To Port logic, but don't have a 2nd output port connection, then the contents will be stuck in the Separator and block anything new from entering.

So as you found, one solution is to create a 2nd output port so that the default Send To Port behavior can function properly.

You could also choose or create any number of other Send To Port behaviors, however. The list of preconfigured options includes standard entries like First Available, Random, Round Robin, etc., or as always you can customize the behavior or start a new option from scratch by editing the code.