question

Marc B avatar image
0 Likes"
Marc B asked Marc B commented

combine specific mold with item

Dear community,

I am new to FlexSim and I can't figure out how to solve this problem:

My products are casted. Each Product has their specific casting mold. The mold can be reused.

To put the product in to the mold I used a combiner. For the casting a processor and to put the product out of the mold a seperator. My Problem is that the combiner combines the mold and the product acording to FIFO and not according to their attributes.

For Example ProductB has to be put (combined) into MoldB.

problem1.fsm

I hope you understand my problem and my English. Thank you very much for your answers
Marc

FlexSim 17.0.13
combinercombine
problem1.fsm (17.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.

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Marc B commented

@Marc B,

Here is another solution that doesn't use Process Flow just so you have a couple of examples.

I added 4 more output ports from the Part Queue to Combiner1. One output port for each itemtype. Then in the Part Queue, Send To Port field, I set that to be By Expression (send to the output port that matches the itemtype of the part).

Then I changed the input ports for Combiner1 to that the Mold Queue would be the first input port (container port). Then in the OnEntry trigger, I chose to update the combiner component list based on a global table (PartsTable). So if Mold flowitem has an itemtype of 1, it will look in the first column of the global table for the parts it should pull from each of the Combiner's input ports (2 and higher, 1 is for the container object - Mold). In the global table, there is a number in each row of the number of flowitems that should be pulled from that input port. In you case, only 1 flowitem is pulled based on the itemtype or input port number (2 and higher).

Then in Separator1, I swapped the output ports so that it was sending the proper Mold back to the Mold Queue.

If you have any questions or problems, please let us know.

Thanks.

marc-problem1-jn2.fsm


· 1
5 |100000

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

Marc B avatar image Marc B commented ·

Thank you both very much for your help. The solution look very good.

0 Likes 0 ·
Steven Hamoen avatar image
1 Like"
Steven Hamoen answered

@Marc B This type of problems screams for a list. You could do it with a global list but I created a small process flow example that makes all of this so much easier. Take a look mold-model.fsm


mold-model.fsm (39.7 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.