question

Sandeep Kumar I avatar image
0 Likes"
Sandeep Kumar I asked Sandeep Kumar I commented

Skipping combiner operation based on item type

In the attached model, there are 3 part types generated from source1. I want to skip the combiner operation if the part type is of type 2. Type 2 part should simply pass through the combiner without consuming part from source2. Please help to model this use case. Thank you.

skippingcombiner.fsm

FlexSim 18.2.2
Choose One
combiner
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Sandeep Kumar I commented

I am a bit confused, because you can connect the Queue1 with Queue3 directly and tell Queue1 to send items of the type 2 to the output port 2. All other types are still going to the combiner and are joined with items of the Queue2. Why would you bother the combiner at all with the item type 2 products. If you need a scenario where the item type 2 enters the combiner, but it isn't joined, you must exchange the input ports of the combine such that the items with different types enter the combiner in the input port 1. Then you can exchange the recipes depending on the type and a global table. Items of the type 2 have an recipe that needn't any items from an input port higher than 1 at all. If the items of type 2 shouldn't have a process time, too, you can set a process time depending on the item type. It is the same construct "values by case" like "port by case".


· 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.

Sandeep Kumar I avatar image Sandeep Kumar I commented ·

Hello @Jörg Vogel , Thanks for your reply. What I have provided is a simplified use case of the actual model. I cannot connect queue1 to queue3 in my actual model. It's an automated conveyor system which wouldn't bypass a combiner station in its flow.

Could you explain how you exchange the input ports of the combiner? I didn't quite understand the recipe logic you suggested.

Best,

Sandeep

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Sandeep Kumar I commented ·

What you have in mind, won't work at all. The combiner uses always an item from input port 1. You can try to separate the item from port 1 onExit und move it back to Queue2, but it will leave previously the Queue2. Maybe and if you have great luck, you can switch the input ports numbers dynamically by code. Or you can pull needed items directly from a list.

An alternative to send the item directly consists of adding an invisible processor at the location of the combiner and lead the items of the special type over this object, while the other object isn't allowed to process simultaneously.

The recipe logic is well explained in the basic FlexSim videos on Youtube and Vimeo. Please look for yourself.

0 Likes 0 ·
Sandeep Kumar I avatar image Sandeep Kumar I Joerg Vogel commented ·

Thanks for your suggestions @Jörg Vogel

0 Likes 0 ·
Show more comments

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.