anyLogistix
Expand
Font size

Post-Processors

Post-processors define how the gathered output data is treated:

  • Export statistics to external DB — exports all the statistics that are enabled in Configure statistics with their default settings.
  • Export dashboard to external DB — [available in Simulation experiment only] exports the statistics added to the dashboard with the user-defined settings and filters.
  • Export statistics to a file — each gathered statistics will be exported to a .txt file.

To configure post-processor parameters

  1. Navigate to the parameters of the experiment.
  2. Select the required processor from the Post-processor drop-down list.
  3. Click the icon to open the dialog box with the parameters of the post-processor.

    The set of parameters depends on the post-processor type. The Export statistics to external DB and Export dashboard to external DB post-processors have the same set of parameters.

  4. Define the parameters of the post-processor.
  5. Click OK to close the parameters of the post-processor.

Parameters of the export statistics / dashboard to external DB post-processors

The statistics enabled in the Configure statistics dialog box can show either aggregated data (Accumulate) or per each day of simulation (Daily). This mode can be defined in the properties of a dashboard element.

The parameters of this post-processor allow you to configure export properties separately for these types.

  • Total statistics export mode — [available in SIM-based experiments only] defines if the Accumulate type of statistics is exported into a single table or a number of tables, one for each statistic enabled in the Configure statistics dialog box:
    • Export to one table — all the enabled statistics will be exported to a single DB table.
    • Export to separate tables — a new DB table will be created for each enabled statistics.
  • Daily statistics export mode — [available in SIM-based experiments only] defines if the Daily type of statistics is exported into a single table or a number of tables, one for each statistic enabled in the Configure statistics dialog box:
    • Export to one table — all the enabled statistics will be exported to a single DB table.
    • Export to separate tables — a new DB table will be created for each enabled statistics.
  • Export keys by name — [disabled by default] if enabled, the exported data will contain actual names instead of IDs.

    If you have previously run the experiment with Export keys by name disabled and now you want to enable it and run the experiment again, then you must also enable the Clear tables before export parameter to clear the tables before writing new data.

  • Accumulate daily statistics — [available if Export statistics to external DB or Export statistics to a file post-processor is selected] defines if the statistics gathered per each day should be exported as accumulated statistics. Statistics showing only daily type of data are not affected by this parameter.
  • Save results to anyLogistix — [available in SIM-based experiments only] defines if the result of the experiment will be saved when the experiment stops. The parameter is disabled by default.
  • Database — [available if Export statistics to external DB is selected] the DB the result will be saved to. If required you can set a custom DB type.
  • Clear tables before export — [available if Export statistics to external DB post-processor is selected] [disabled by default] if enabled, the export will delete data from the destination tables before writing the exporting data.

To specify a non-default DB type for experiment results

  1. Click the icon to open the parameters of the post-processor.
  2. Click the Database drop-down list and select Custom. Advanced parameters will open, allowing you to specify the desired DB type and its parameters:
    • DB type — specify one of the supported DB types: sqlite, sqlserver, postgresql, mysql.
    • DB address — specify the location of the database.
    • DB name — specify the name of the database
    • DB login — specify the login that can be used to access the database.
    • DB password — specify the password that can be used to access the database.

  3. Define parameters of the selected DB type below the DB type parameter.
  4. Click OK to save the changes and close the dialog box.

Parameters of the Export statistics to a file post-processor

Each statistics will be exported to a separate .txt file:

  • Save result to anyLogistix — is enabled, the gathered statistics will be also saved in the new Result item.
  • Folder — the path to the user-defined folder, where the exported statistics will be stored.

    If the Clear folder is disabled and the destination folder already contains exported statistics, the new data will be added to the end of the existing files.

  • Clear folder — if enabled, anyLogistix will delete all the data stored in the destination folder prior to exporting the statistics.
How can we improve this article?