question

el C avatar image
0 Likes"
el C asked tannerp commented

Picking by global table

Hi,

I am creating a model which consist of a rack with a different type of items on pallets and the operator should pick up the boxes when the rack is full. I have 2 issues:

1. The second list which should have the orders is not working there is a syntax error.

2. How can he pick according to the global table Clients which I have created?

I have tried different things to make it work, I could use some help, please. Thank you

By the way, I used painted slots.

this is the model i updated it

pick-boxes-from-abc-rack.fsm

FlexSim 19.2.4
global tablepickingpainted slots
5 |100000

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

tannerp avatar image
2 Likes"
tannerp answered tannerp commented

@el C

1) The syntax error is because you are using space characters in your list name, "Pull from List". Generally, coders are advised to use something like "Camel Case" or other naming conventions to avoid spaces in variable names. I fixed this first problem in the updated model I've attached.

2) You need to provide more details about how the Global Table is to be interpreted. Is the operator going to pick in order of the columns? I've given you examples of how to do this before, treating each column as an order. Do you want to pick orders differently? How exactly should the Global Table be used?

pick-boxes-abc-update.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.

el C avatar image el C commented ·

Hi @tanner.p thank you for your answers.

1) Great now it works.

2) I tried using the logic that you had on the example that you gave me but I need to apply this in a later stage for about 500 different Type of products, therefore, I can't label all the products manually and then on the Process Flow add one block for each item so it can " Pull Product ... from list". Basically I'm looking forward to using an excel to insert the orders the clients will have and then I thought of using it to copy-paste the data on the Global table. The operator will pick either according to the column or row I don't know yet so any one of the two choices is good for now.

I hope i described my thoughts well. if you have any ideas or you know any model logic that I could use, it will be much appreciated. Thanks Kind Regards

0 Likes 0 ·
tannerp avatar image tannerp el C commented ·

Hi @el C,

Could you upload the Excel file with the 500 different types of products and client orders? The Process Flow logic that you use for these situations will change as the situation changes. If we saw what the final client orders sheet looks like, we might be able to figure something out.

0 Likes 0 ·
el C avatar image el C tannerp commented ·

picking-operationabc-port-by-case.fsm

Hi @tanner.p,

I fixed the model a bit. I enhanced the excel file in the global table. So my question is how can the operator pick up all the boxes from one "Order" at a time and then go to the next order? The operator needs to get the boxes only from the first level (ground level) since he can't fly.

0 Likes 0 ·
Show more comments
Braydn T avatar image
1 Like"
Braydn T answered el C commented

@el C

Here is a link to the user manual and the excel interface: https://docs.flexsim.com/en/19.1/Reference/Tools/ExcelInterface/

And here is a reference to using global tables here:

https://docs.flexsim.com/en/19.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/Table.html

Using a combination of these two along with labels and a small amount of custom code you should be able to make all of that happen dynamically.

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

el C avatar image el C commented ·

hi @Braydn T

Thank you for your answer. I read the manual for the table and excel. importing the excel file is not a problem. I just haven't figured out how to add the global table in the Process flow for a large number of Types.

0 Likes 0 ·

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.