TrackedVariable by multiple categories?

TrackedVariable by multiple categories?

guiroehe
Collaborator Collaborator
495 Views
3 Replies
Message 1 of 4

TrackedVariable by multiple categories?

guiroehe
Collaborator
Collaborator

[ FlexSim 25.0.4 ]

Hello,

I need to track 21 aspects of items passing on decision points (7 categories x 3 aspects per category) at different locations of a model. My first thought was to use a bundle label in a template and store tracked variables, but bundle labels do not hold tracked variables.

Are there any alternatives to get the information besides creating, in this case, 21 labels on the template object?

Thank you.

0 Likes
496 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor
@Gui Vaccaro, a tracked variable has a time stamp. That is a positive feature. A tracked variable value can be a variant. Then you can parse a structured array as this value. In a static collector you can resolve this structure to get different charts. I am currently not sure if array elements of variant values can be used to react on and create events.
0 Likes
Message 3 of 4

guiroehe
Collaborator
Collaborator

Thank you, @joerg_vogel_HsH .
Would it be possible for you to give me an example or syntax excerpt on how to do this programmatically?

Thank you.

0 Likes
Message 4 of 4

guiroehe
Collaborator
Collaborator

Hi, @joerg_vogel_HsH ,

Please see the attached model. If I understood correctly what you suggested, it either does not seem to work; or I missed something.

Would you have any suggestion or correction on what I did in this example?

Thank you.

0 Likes