anyLogistix anyLogistix
Expand
Font size

Parameters of the Simulation Experiment

The parameters view of the Simulation experiment comprise two sections:

The top part of the Simulation experiment view contains toolbar with the following control elements:

  • Run (it is substituted by Pause during the experiment run) - starts the experiment.
  • Pause(it is substituted by Run if the experiment is not launched or if it is paused) - pauses the experiment.
  • Run in virtual time mode without animation - (active only if the experiment is not running) - starts the experiment and runs it without displaying the GIS map.
  • Stop - (active only if the experiment is launched or paused) click to stop the experiment.
  • Speed slider (active only if the experiment is launched or paused). Sets the experiment execution speed as a scale ratio between model time and real-time.
    The value defines the number of model time units (days) corresponding to one second of real-time. The x1 value sets the execution speed to one model day per second, the x2 value - to two model days per second, and so on.
    The max value sets the execution speed to the maximum. The maximum speed can be set when you need to simulate a model for an extended period of time and the model does not require you to set correspondence between the model time and the real-time units.
    The x0 value sets the execution speed to zero, which pauses the experiment. You can resume it by setting Speed to a non-zero value and clicking Run.
  • Simulation log view - [available only if experiment is Run in virtual time mode without animation] shows the current progress of the experiment
    1. Simulation progress - the progress bar showing the current progress of the experiment.
    2. Model time - currently simulated model time.
    3. Experiment status - show the current status of the experiment:
      • Experiment successfully completed
      • Experiment aborted. Check the log file for more details.

Below the toolbar you can find a set of the experiment's parameters which are available only if the experiment is not launched:

The experiment parameters can be reset to their default values if required.

  • Experiment start - defines when the experiment starts.
    • Time period - [Set by default] the option shows the first period defined in the Periods table. If you rename the period, the name of this option will be updated. The starting date of this period is shown in the Start date parameter below.
    • Selected period - allows you to define the required period (from the ones defined in the Periods table) as the starting period in the now available Start period option.
    • Initial state - allows you to define the required initial state as the starting point in the now available Initial state parameter.
    • Start date - [visible if Time period option is selected] shows the beginning of this period, i.e., the date specified in the Start column of this period (in the Periods table).
    • Start period - [visible if Selected period option is selected] specify the period, the starting date of which will be used as the starting date of the experiment.
    • Initial state - [visible if Initial state option is selected] - specify the initial state, the starting date of which will be used as the starting date of the experiment.
  • Experiment end - defines when the experiment ends:
    • Time period - [Set by default] the option shows the last period defined in the Periods table. If you rename the period, the name of this option will be updated. The ending date of this period is shown in the End date parameter below.
    • Selected period - allows you to define the required period (from the ones defined in the Periods table) as the ending period in the now available End period option.
    • Custom date - allows you to define a custom experiment end date in the now available End date parameter.
    • End date - [visible if Time period option is selected] shows the end of this period, i.e., the date specified in the End column of this period (in the Periods table).
    • End period - [visible if Selected period option is selected] specify the period, the ending date of which will be used as the ending date of the experiment.
  • Random Seed - [By default the 0 value is used] you can define any value of long type as the seed for the random number generator. If you leave the field empty, you will see the Random value description, which means that random number generator is initialized with different values for each scenario run.

    Other simulation-based multi-run experiments have random seed value for each run.

  • Finances statistics unit - the monetary unit that will be used in the statistics.
  • Product statistics unit - the product measurement unit (also includes units defined in the Measurement Units table) that will be used in the statistics.
  • Time statistics unit - the time measurement unit that will be used in the statistics.
  • Distance statistics unit - the distance measurement unit that will be used in the statistics.
  • Configure statistics - opens the dialog box allowing you to specify the statistics to be collected during the Simulation experiment.
  • Pre-processor - custom user-defined Java processor. If no custom pre-processor is provided, the Default pre-processor will be used.
  • Post-processor - custom user-defined Java processor. You can set the required post-processor and define its parameters during the experiment run.
    • Default - results will not be saved.
    • Save results - [Selected by default] allows you to save experiment results to the dashboard. If it is not set, results will not be saved.
    • Export statistics to External DB - if set, all the gathered statistics (enabled in Configure statistics) will be exported to the database table. Click the icon to the right of this parameter to configure export parameters.
    • Export dashboard to External DB - if set, all the statistics added to the dashboard will be exported to the database table (including the user-defined settings and filters). Click the icon to the right of this parameter to configure export parameters.
    • Export statistics to a file - if set, each gathered statistics will be exported to a .txt file. Click the icon to the right of this parameter to configure export parameters.
How can we improve this article?