question

Daniel Saravia avatar image
0 Likes"
Daniel Saravia asked Ryan Clark commented

How to select TE's from Global table in PF?

Hello,

I have created a global table "Stockpickers" that has the assigned Task Executer to pick and drop pallets and pick pieces from designated locations (buffers and racks). Currently my model has 3 TEs ( and 3 similar process flow) to execute the process but I wonder if I can use the table to simplify the process flow. I actually going to have 18 stock pickers so I don't know if a good idea to create 18 PFs. In the attached model only 3 stock pickers have been loaded with work to simplify my question.

@Ryan Clark

TX Picking ALL Racks_2.fsm

FlexSim 21.2.3
processflowglobal tablestask executers
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

·
Ryan Clark avatar image
0 Likes"
Ryan Clark answered Ryan Clark commented

Hi @Daniel Saravia,

The Global Table is a really good idea to simplify the logic of your model. I agree that it's not good practice to create so many duplicate process flows. So, what you can do is create an Object Process Flow with all of the same logic as before and attach the Stockpickers as "instances" to that process flow. Then, every transporter will use the same logic, but they won't interfere with the other transporters' logic. I also went ahead and modified the logic in the various Create Object activities and Load/Unload activities to make sure the transporters were going to the correct locations.

I think it should be working as you want now.

I hope this helps! Let me know if you have further questions!

tx-picking-all-racks-2-rc.fsm


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

Daniel Saravia avatar image Daniel Saravia commented ·
Hi @Ryan Clark ,


One more question, how do you assure the SP is working with their own picking list ("Picks")? I do have 18 different tables/sources, one for each SP. In the Excel Import you can see the tables the reference the assignments. I do have 3 but I will add the remaining 15.

Thanks!

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark Daniel Saravia commented ·

Hi @Daniel Saravia,

I didn't notice that the SPs each have their own picking list. Sorry about that!

I wasn't sure how to adjust it so that each instance could draw from its own source table, so I just added multiple sources into the main process flow that each have their own table. I then pushed all of the tokens to a global list, separated by a partition ID that referenced which SP is being used. Then, in the Object Process Flow, I could have the Pull from List activities only pull items matching the current instance's partition ID (which is the SP).

I think this should be working as you want. I hope this helps! Let me know if you have further questions!

tx-picking-all-racks-2-rc-v2.fsm

0 Likes 0 ·
Daniel Saravia avatar image Daniel Saravia Ryan Clark commented ·

Hi @Ryan Clark ,


I loaded all the SPs following your logic (partition model.find) But I have encountered and error in the PF "Unload Pallet" to CPU queue. I don't know if I missed something or I need to modify the custom code.


Thanks !

ALL Racks SP TUG_1.fsm

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.