question

Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann asked Joerg Vogel commented

Add statistics to dashboard

Hi @jordan.johnson,

I´ve figured out some stuff that is not working as expected.

1. If I click on the small red pin next to a Statistic in the Quickproperties (e.g. Input vs. Time) a dashboard is created but it does not show any results in the dashboard. Looks as if I have to change some settings in this case.

2. There is no Template to show Input/ Output vs. Time in the Library.

3. I´m looking for a way to show a (result) global table in the Experimenter results. Did not find a way to do that!? I can take a cell and show it in the PFM but not a whole table. And I can add the Table to a dashboard, but it isn´t showing it in the results!?

FlexSim 19.0.2
quick propertiestemplates
5 |100000

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

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Jordan Johnson edited

I couldn't replicate the issue for number 1. Once you pin the dashboard, you do need to reset and run the model, as FlexSim doesn't keep history data like that unless you ask for it.

For number 2, see this answer:

https://answers.flexsim.com/questions/62857/throughput-vs-time-template-missing.html

For number 3, you have a few options:

  1. Use two calculated tables. One can have the query that selects all from the global table. The other can have a query that selects all from Experiment.CalcTable1. The first one will automatically keep each replication's results, and the second will put those results in a nice big table (which you can chart, if you want). Just be sure that the "Save Statistics Data" box in the Experimenter is checked. You can also view the table in Statistics Tables tab of the Experiment Results window.
  2. Statistics Collectors are designed to be output tables, and they (like Calculated Tables) automatically keep their results per replication. Consider make a Statistics Collector that gathers the data you want, and again using the "Save Statistics Data" box in the Experimenter.
  3. You can write code in the EndOfReplication that passes entire Global Tables up from each replication. See from Phil's answer on this post: https://answers.flexsim.com/questions/64517/trouble-to-use-dbexporttable.html. The "Write a Global Table" pickoption on the End of Replication trigger is also a good demonstration of how to get data from a replication.

Also, it sounds like you are reporting a bug in number 3, but I don't know what you mean by "add the Table to a dashboard". Are you adding a table chart? Are you adding a table view?

· 4
5 |100000

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

Galo David MC avatar image
0 Likes"
Galo David MC answered Joerg Vogel commented

My problem is in X axis, initial time isn´t 8 AM, how i can do to fix it?


captura.png (6.2 KiB)
· 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.