question

Noah Z avatar image
3 Likes"
Noah Z asked Phil BoBo edited

How to track flow item quantity during sim run?

Is there a way to track the number of flowitems that are currently in play within a model over the course of a simulation run? Is that information stored within the tree?

FlexSim 17.1.4
flowitemsvariablesmodel tree
5 |100000

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

Ben Wilson avatar image
5 Likes"
Ben Wilson answered Phil BoBo edited

Hi @Noah Zenker,

The WorkInProgress Tracked Variable does exactly what you're looking for, and is one of the two default tracked variables included in any new model (the other being TimeInSystem).

You can easily use the 'pin' button to add a dashboard graph showing the tracked variable changing over time.

If you ever need to find and track a different stat, please check out the documentation for Tracked Variables. You can find this in your 17.1.4 User Manual under Modeling Tools > Tracked Variables.

In 17.2, you can find the entry for Tracked Variables under Reference > Tools > Tracked Variables.


· 5
5 |100000

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

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Noah Z commented

@Noah Zenker

If I'm understanding your question, couldn't you just get the number of flowitem produced (getoutput(Source)) and substract the number of flowitems that have left the model (getinput(Sink))? Not sure what your model consists of but if it's a single source (or even multiples, just add them up) and a single sink (or multiples, just add them up) then would something like this work for you?

· 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.