question

chao.g avatar image
1 Like"
chao.g asked Adrian Haws commented

Process Flow for Combiner

I am trying to use process flow to realize the function of a combiner, in the model, I have one combiner that is receiving part from 5 different lineside buffers and receiving pallet from upstream source. Each lineside buffer will supply more than 1 type of part, and consumption quantity is 1 part per product for all different parts.

I can do this through 3D model window by having multiple connection between each buffer and the combiner, but I want to use process flow to realize this function as the # of parts in each lineside buffer is TBD and the consumption quantity /part is also TBD, I want to have a flexible template using process flow where I can easily change and scale up to many other production lines.

Attached is the model I am trying to test, thanks for help!

lineside-combine.fsm

FlexSim 16.1.2
process flow for 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

Regan Blackett avatar image
3 Likes"
Regan Blackett answered Adrian Haws commented

Chao,

Here's a version of your model that I think does what you want. The key here is the use of a Subflow that goes out and pulls all the parts you are looking for. So the Token that represents your pallet hits a subflow and creates child tokens, one for each itemtype you are looking to get from the list. Since you have 12 itemtypes, I create 12 children and they pull from your Partitions based on which child they are; IE child 1, pulls from partition 1, child 2 pulls from partition 2 and so on.

I've also set it up so that your Pull from List activities can pull different quantities based on the different types, you just have to edit the values found in the window under "Request Number". Let me know if this helps or if you have any other questions.

2223-lineside-combine-1.fsm


· 2
5 |100000

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

chao.g avatar image chao.g commented ·

Thanks for the sample model, this solves my problem.

Just one part I don't quite understand, for the "Request Number", where can I edit the value for that, I saw you defined the value as "double requestNum = param(6);" not understanding this part.

Please let me know, thanks!

0 Likes 0 ·
Adrian Haws avatar image Adrian Haws chao.g commented ·

@chao.gao The code you referenced is already in the "Pull from List" activity by default. All that does is provide a reference to the value entered for "Request Number" in the activity. What @regan.blackett did was to define the "Require Number" by that reference (requestNum), so that it will require the same amount of items as it requested.

0 Likes 0 ·