question

yoni A avatar image
0 Likes"
yoni A asked tannerp edited

Set-up From to Table

fromto-table-setup.png

How do I set-up the row and column field in a processor that have 8 items type as shown in the picture (item types :17,18,19,20,21,22,23,24). the processor have to process all items types in batches of 500, when it finishes an item type then the processor have to read the global table and do the set-up based on the from to table

FlexSim 18.2.2
setup time
· 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.

tannerp avatar image tannerp commented ·

So just to clarify, you'd like the setup time to take the item type of the last item it processed and the item type of the next item it will process and look for the change-over time in the table you provided?

Is the most recent item's type the column value?

or

Is the next item's type the column value?

0 Likes 0 ·

1 Answer

·
tannerp avatar image
1 Like"
tannerp answered tannerp edited

Here's an example where I used a second global table to determine the row value. In this model, the GlobalTable2 value is set to the "Type" of the item that most recently finished processing.

Then, the processor determines the setup time by looking at the table with a row value coming from the previous item's "Type" and the column value coming from the current item's "Type".

I know this isn't perfect, but I hope it helps and maybe gives you an idea for your own solution.

Example Model with 4 item types: setup-time-table-example.fsm


· 3
5 |100000

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

yoni A avatar image yoni A commented ·

see labels-setup.png image for how I defined ItemType is this why the processor is having a hard time reading the right ItemType @Tanner Poulton

0 Likes 0 ·
labels-setup.png (187.2 KiB)
Joerg Vogel avatar image Joerg Vogel yoni A commented ·

The global must contain only your process times at the row numbers matching your item.Types values.

1 Like 1 ·
tannerp avatar image tannerp yoni A commented ·

@yoni A,

Because Column 1 in your table is assigned the number "17", it won't access the table properly. You can offset the values to match column numbers like this:

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.