question

Marco Baccalaro avatar image
0 Likes"
Marco Baccalaro asked Patrick Zweekhorst commented

Calculated Tables questions

A few questions on Calculated Tables.

I’m using a Calculated Table updated “Always”. I’d like to enable it just when needed so that I can choose

  • if to have the simulation running fast but without updated Dashboard Graphs
  • or if to slow down the run speed but to show a lot of real time statistics.

I’m noticing that Enabling or Disabling this Calculated Table doesn’t change anything: the values are updated anyway. Is it a bug?

And is there a way to do the query also on tables stored somewhere else than as Global Tables?

FlexSim 17.2.1
calculated tablecalculatedtable
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

Jordan Johnson avatar image
4 Likes"
Jordan Johnson answered Patrick Zweekhorst commented

The "Always" mode only re-runs the query when the values are needed. When you run the model fast, there is more model run per paint, so the update is called far less often. If the dashboard is closed, the update may not happen at all, unless some other mechanism (like querying or using the Table() constructor) causes an update. To run fast, you probably just need to close the dashboard, and any open table. In 18.0, there are additional optimization to reduce the total number of queries in the Always mode.

Thanks for reporting the enable/disable bug. We'll get that fixed.

Currently, you can only query global tables/lists/stats collectors/calculated tables.

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