question

Steven Chen avatar image
0 Likes"
Steven Chen asked Steven Chen answered

Wait for event activity

I created 1 token and I want a "waiting event" when the Object variable reaches > 0. Release until the value == 0 is released. Is there such a function.

FlexSim 19.1.1
activity
· 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.

zacharyh avatar image zacharyh ♦ commented ·

You can use a decision and delay to cycle through the object until the variable reaches its desired value. This could also be done using custom code.

I am not quite sure exactly what you mean but explain a little more and if you send your example model it might be easier to help you out.

0 Likes 0 ·

1 Answer

Steven Chen avatar image
1 Like"
Steven Chen answered

I found a duplicate topic about my question:

「wait for event increase to exact value by token label」

https://answers.flexsim.com/questions/42110/wait-for-event-increase-to-exact-value-by-token-la.html

5 |100000

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