question

Byron H2 avatar image
0 Likes"
Byron H2 asked Matthew Gillespie commented

How to assign different delay times depending on the location resource?

In the restaurant sample model, the delay time for "eat" is of 300 inside of the "sit" process. How to delay the time each party eats depending of the table they sit on. For example: the delay time in the table 1 will be of 400 and for the rest of the tables will be 300.

FlexSim 19.1.0
process flowdelaydelay activity
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

Sebastian Hemmann avatar image
1 Like"
Sebastian Hemmann answered Matthew Gillespie commented

So I´ve added a Label "DelayTime" to every Table and call the Value with "token.location.DelayTime" in the "Eat" Activity.

21550-21327-restaurantsample-sh.fsm

TableAndChairs13 and TableAndChairs14 have the value 400 on their labels.


· 2
5 |100000

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

Byron H2 avatar image Byron H2 commented ·

Thanks for the help! Just one more question: Does the label "DelayTime" functions with statistical distributions?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Byron H2 commented ·

If the label has FlexScript data then it will execute the code on the label when you ask for the label's value. You can assign the label FlexScript data in the right click menu:

2 Likes 2 ·