question

left.tsig avatar image
0 Likes"
left.tsig asked Jeanette F commented

Storing Tracked Variable Values in a Global Table

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?

FlexSim 24.2.0
global tabletracked variables
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

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

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

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.

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

left.tsig avatar image left.tsig commented ·

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 0 ·
Joerg Vogel avatar image Joerg Vogel left.tsig commented ·

@left.tsig, right mouse button menu:

assign-data-to-table-cell.jpg

edit tracked variable type

edit-type-tracked-variable.jpg



0 Likes 0 ·