question

Antony C avatar image
0 Likes"
Antony C asked Regan Blackett answered

How do I make an Event-Triggered Source based on the number of Tokens in a List?

I want to trigger the creation of tokens based on the number of the finished good inventory that is saved in a list. How can I do that?

FlexSim 17.1.0
base stock level
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

Regan Blackett avatar image
1 Like"
Regan Blackett answered

If you have your event triggered source 'listen' to the list you get a lot of events you can look at, each with some different options. OnContentChange sounds like what you would want to listen for, which gives these rule options:

Depending what your goals are it sounds like 'Arrives At Value' is the rule you would choose, so that if the number of finished goods hits your target (either by increasing to or decreasing the number of list entries to the target) the Source creates a single token.


5 |100000

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