Storing Tracked Variable Values in a Global Table

Storing Tracked Variable Values in a Global Table

lefterisosfp23
Observer Observer
14 Views
4 Replies
Message 1 of 5

Storing Tracked Variable Values in a Global Table

lefterisosfp23
Observer
Observer

[ FlexSim 24.2.0 ]

Hello,

I am running a FlexSim model for one week and want to store the values of my tracked variables in a global table on a daily basis. My goal is to save these values each day for later analysis.

I tried using custom code, but I couldn't find a working solution. Does anyone have an idea on how to correctly write tracked variable values to a global table?

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

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

https://answers.flexsim.com/questions/175369/storing-tracked-variable-values-in-a-global-table.html

https://answers.flexsim.com/questions/65780/how-to-get-the-average-from-a-local-tracked-variab.html

Please consider to store your tracked variable in a table cell node. Then you can evaluate this tracked variable history for example by an statistic collector.

0 Likes
Message 3 of 5

lefterisosfp23
Observer
Observer

I didn't get how to assign the value of a tracked variable in the end of the day with a row in a global table.


0 Likes
Message 4 of 5

joerg_vogel_HsH
Mentor
Mentor

@left.tsig, right mouse button menu:

assign-data-to-table-cell.jpg

edit tracked variable type

edit-type-tracked-variable.jpg



0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @left.tsig, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes