question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Jacob Gillespie edited

Wait for Event releasing all tokens

In Wait for Event there is no criteria to match, then If we want to release one token at a time from Wait for Event activity how to achieve that.

I tried with Zone and it is working. But is there any other way of achieving that.

Directly is there any option in Wait for Event activity to release one token at a time if we don't have any criteria to match. Attached is the model for reference.

WaitForEvent.fsm

FlexSim 20.1.1
wait for eventflexsim 20.1.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.

1 Answer

Matt Long avatar image
0 Likes"
Matt Long answered Jacob Gillespie edited

@Sudheer R

This is the way the Wait for Event works if you don't have any match criteria.

In order to process one token at at a time you could either use a Zone as you've shown or you could also use a Resource with its default parameters (Reference = Numeric, Count = 1) then put an Acquire and Release around the Wait for Event.

I hope this helps!

5 |100000

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