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.

Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·

Hi @jordan.johnson,

Do you know that the enable check box still does not do anything in 18.2.2? It would be nice if you could fix that for the 19.0 release.

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Patrick Zweekhorst commented ·

The fix should be available in 18.0.9, 18.2.3, and in the 19.0 beta

1 Like 1 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Jordan Johnson ♦♦ commented ·

Thanks, looking forward to the 19.0 beta

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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