Output management

Several different kinds of files can be automatically generated during simulations, including:

These files will be saved in directories determined by the output management facilities.

The output management facilities are used to create and provide access to a number of different directories, such as:

  • Top output directory
  • Simulation output directory
  • Simulation log files directory
  • Replication output directory
  • Replication log files directory

The different output directories are described below. Functions for accessing the names of output directories can be found on the help page for Output management functions.

Top output directory

The top output directory for a given net is determined by the Output directory option for the net.

Output directory option

The output directory option is found under the net overview for the net in the Index.

All other output directories that are created by CPN Tools will be created as subdirectories of the top output directory.

By default the top output directory will be a directory named output in the directory in which net is saved.

Top output directory

Simulation output directory

A simulation output directory is a directory in which all files from an individual simulation are saved.

Single simulations are run when the Fast forward, Play, Single step, or Bind manually tools are applied. When running single simulations, the default simulation output directory will be the same as the top output directory.

When Simulation replications are run, a new simulation output directory is created for each of the individual simulations. The simulation output directories are created in replication output directories (see below). In this case, the simulation output directories will be named sim_n where n is an integer that is increased each time a new simulation is run.

Simulation output directories will typically contain the files generated by Write-in-file monitors, performance reports, and a simulation log file directory.

Simulation output directory

Simulation log files directory

The data that is collected for Data collector monitors can be saved in log files. These log files are saved in a simulation log files directory. The simulation log files directory is named logfiles and it can be found in a simulation output directory.

Simulation log files directory

Replication output directory

When Simulation replications are run, one replication output directory will be created for each set of simulation replications. Replication output directories are created in the top output directory. The name of a replication output directory is reps_n where n is an integer that is increased each time a new set of simulations are run.

Replication output directories typically contain replication status reports, simulation output directories, replication log file directories, and different kinds of Performance output, such as replication performance reports, confidence interval files, and gnuplot scripts.

Replication output directory

Replication log files directory

When multiple simulation replications are run for a net with Data collector monitors, a number of additional log files are generated. These log files are saved in the replication log files directory, and several log files will be created for each data collector monitor.

Replication log files directory

Related pages