question

Dominik K avatar image
0 Likes"
Dominik K asked Mischa Spelt commented

Processtime by case in lookup-table

I have a simulation, on where I have different items going through the same process.

The processtime differs from item to item - depending on its type.

Using a global lookup table works just fine, but I need to differ between types, so for example, that a type 1 item looks into row 4 column 1 and an incoming type 2 looks into row 5 column 2.

Is there a way to solve this usse with programming or anything as easy as possible?

Thanks

FlexSim 18.2.3
flexsim 18.2.3global lookup tableprocess time by caseprocesstimes
1596012438191.png (43.6 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.

Mischa Spelt avatar image Mischa Spelt commented ·

If you have a direct connection between item types and row numbers, you can also continue to use the Global Lookup Table option, but with a calculated row number. For example, if you have consecutive rows for consecutive item types, starting from row 4, you can calculate the row number as follows:

such that item type 1 will return row (3 + 1) = 4, item type 2 will look in row (3 + 2) = 5, etc.

If such a calculation is not possible, @sudheer.r's "Values by Case" is the way to go.

1 Like 1 ·
1596018971414.png (9.5 KiB)

1 Answer

·
SudheerReddy avatar image
2 Likes"
SudheerReddy answered

@dominik.k

In Process Time tab select Value by Case from drop down. And add number of Cases or Types like 1 or 2 or 3.

Give respective Global Table look up value as shown in below image for respective Types.


1596013473251.png (49.2 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.

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.