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.

Joerg Vogel avatar image Joerg Vogel commented ·

Please look for FlexSim Basic Videos on Vimeo or YouTube. What you describe is basic and you get your answers in those videos!

One Hint: if you find the expression “itemtype” this is in current FlexSim versions just a label. “item.Type”.

0 Likes 0 ·
Valentin O avatar image Valentin O Joerg Vogel commented ·
@Jörg Vogel

Thank you. But it works for unpacking mode when you have pallets. For split mode it doesn't seem to work :(

0 Likes 0 ·
David Seo avatar image David Seo Valentin O commented ·

@Valentin O

When using joining mode in Combiner, the sub-component items are all destroyed permanently. So you need to use 'Pack Mode' in Combiner.

Then you can solve your issue.

1 Like 1 ·
Show more comments

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.

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.