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.

Sebastian Hemmann avatar image Sebastian Hemmann commented ·

blank-dashboards-flexsim20191beta.fsm

Hi @jordan.johnson
I´ve add an example Model (built in 2019.1 beta :-)). The model includes two Dashboards I´ve added via pin from the statistics field in the Queues Quick Properties. (sadly I can´t replicate it in my other model in 2019.0 ...).

For number 3 I´ve further implemented an example for a table in the dashboards.

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Sebastian Hemmann commented ·

The pin to dashboard charts certainly show a bug. I will get that on the dev list. I still don't know what you are looking for with the dashboard table. Do you want to see that table for every replication? The dashboard charts are supposed to do that, but not the dashboard input widgets (which includes the table view).

0 Likes 0 ·
Sebastian Hemmann avatar image Sebastian Hemmann Jordan Johnson ♦♦ commented ·

Hi @jordan.johnson,

in the end I´m looking for an easy way to show a hand full of standard results (e.g. Staytime, Throughput, and other stuff) of different objects for each replication together with all relevant parameters that were set for the Scenario.

A table view would be great, because in this case we also could copy stuff to excel.

But if there is a way to just show all results together in FlexSim, it would be great.

Maybe I just don´t see the best way!?


0 Likes 0 ·
Show more comments
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.

Joerg Vogel avatar image Joerg Vogel commented ·

@Galo David MC, Hi here at answers.flexsim.com. It is a new style forum here. You ask question by creating new threads, and you get then answers. You don’t ask questions in an already accepted thread anymore. So please ask a new question by creating a thread and you inserts a link to this thread if you feel it is related. Thanks!

1 Like 1 ·

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.