question

Valentin O avatar image
0 Likes"
Valentin O asked Matthew Gillespie answered

Separator dividing into previous components and item type

So the logic is:

I have 2 sources that produce only 10 items each. 10 items of type 1 and 10 items of type 2. Each item of type 1 must be joined with one item of type 2 in the combiner. In the combiner, I have assigned a trigger on exit creating item type 3. Then, each item type 3 is processed and then, in the separator each item type 3 must be split into previous subcomponents item 1 and item 2. They have to follow different paths, item type 1 must go through processor 8 (as in the picture above) and item type 2 must go through processor 9 (as in picture above)

How do I do this ? In send to port field I tried port by case with item.type but apparently it doesn't recognize pre-combiner types.

Maybe @Jörg Vogel, do you have any idea?

Thank you!

FlexSim 18.2.3
separatoritem typetypeseparators
3.jpg (387.3 KiB)
· 4
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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

You can use the Pack option on the Combiner and the Unpack option on the Separator.

packunpack.fsm


packunpack.fsm (19.4 KiB)
5 |100000

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