question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

How to provide calaculated table cell reference?

Hi Team,

I have collected statistics using calculated table. Now, I want to show it as KPI in performance measure.

1666934676305.png

I am trying to link calculated table cell in performance measure, but it is showing errors.

Is it possible to do the same?

Thank you!

FlexSim 21.1.5
performance measurecalculated table cell reference
1666934676305.png (158.6 KiB)
5 |100000

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

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ankur A3 commented

When using the sampling tool to select the calculated table choose the lower entry. This will add the "Table value" option into the Value field.

1666937012691.png

Your code isn't working because you first need to cast the treenode reference into a table class variable in order to use the [row][col]-syntax to read entries. You can see how this is done by inspecting the code of the "Table value" option.

1666936998541.png


1666936998541.png (38.1 KiB)
1666937012691.png (41.6 KiB)
· 3
5 |100000

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