what is the purpose of tracked varialbe?

what is the purpose of tracked varialbe?

zhun_z
Not applicable
15 Views
4 Replies
Message 1 of 5

what is the purpose of tracked varialbe?

zhun_z
Not applicable

[ FlexSim 22.2.0 ]

Hi, I am confused about the tracked varialbe, could someone tell me how to use the tracked varialbe, and how to bulid the connection between model and tracked varialbe. Thanks!

0 Likes
Accepted solutions (1)
16 Views
4 Replies
Replies (4)
Message 2 of 5

SCHamoen
Advisor
Advisor
Accepted solution

@Zhun Z I would start with reading the manual: Tracked Variables (flexsim.com) and here FlexScript Class - TrackedVariable (flexsim.com) and if you have a question after when trying to use a tracked variable please come back.


0 Likes
Message 3 of 5

zhun_z
Not applicable

Thanks for your reply. The mannual defines clearly about the Tracked variables, but I still want to learn about some typical cases about it , because i don't clearly understand how or when should use Tracked variables.

0 Likes
Message 4 of 5

moehlmann_fe
Observer
Observer
I think the uses in default functions of FlexSim are good examples:

- You use TRs when you want to store information about the value's history, for example for how long it stayed at certain values (object states)

- TRs automatically calculated averages (content, staytime)

- They allow you to listen for changes to the value. So for example a Wait for Event activity in Process Flow can react to a TR's value reaching a threshold.

0 Likes
Message 5 of 5

zhun_z
Not applicable
Thanks!
0 Likes