question

Remi A2 avatar image
0 Likes"
Remi A2 asked Remi A2 commented

How can I affect a process time based on a global table to different items ?

Hello,

Here's an example but to summarize I cannot link my global table to process time of different items. Thanks


Test.fsm

FlexSim 21.2.0
global tableitemprocessortime
test.fsm (27.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.

1 Answer

Felix Möhlmann avatar image
2 Likes"
Felix Möhlmann answered Remi A2 commented

The "Row" in the global table lookup option defines the row number (the N-th row in the table) rather than the row header (the "name" of the row, so to speak). So in your case you would want to assign the row number 1-3 to the item.

You called your label "AZE". The label name you use in the lookup option has to match this. The label "Type" is not defined on your items.

If you want to work with your IDs, rather than row numbers, add an extra column to the table that contains these values and use the following command to find the row number with the corresponding value. (This finds the first row in GlobalTable1 in which the entry in the third column is equal to item.AZE)

Table("GlobalTable1").getRowByKey(item.AZE, 3)

test_1.fsm


test-1.fsm (27.9 KiB)
· 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.

Remi A2 avatar image Remi A2 commented ·

Thank you so much for taking time to explain things to me I really appreciate your help.

0 Likes 0 ·