question

Kathryn McNeal avatar image
0 Likes"
Kathryn McNeal asked Jeff Nordgren rolled back

Event-Triggered Source based on Inventory

I'm trying to have a source in process flow create a token when the inventory falls below a certain value, we'll say 10. I'm open to tracking the inventory in different ways: quantity in a final queue, value in a table, list, etc. This will be part of a very large/complex model that is used a lot, so I am also concerned about computational efficiency. For this reason, I'm concerned that simply executing a decision that checks the inventory every time a new object enters the final queue is going to slow down the model. How would you recommend doing this?

FlexSim 17.0.4
event-triggered sourceinventory
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

Jacob Gillespie avatar image
1 Like"
Jacob Gillespie answered Jeff Nordgren rolled back
· 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.

Kathryn McNeal avatar image Kathryn McNeal commented ·

@Jacob Gillespie, Thanks! Can you think of a similar way to do this if you track the inventory in a global table? Ideally we would do that so we don't have thousands of items needlessly sitting around in the model.

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Kathryn McNeal commented ·

@Kathryn McNeal

If you assign Tracked Variable data to the cell, then you should be able to listen to that cell in the same way.

1 Like 1 ·