Input Parameters

tr
Parameter Menu

Global parameters provide a means to control the local properties of APN objects. Those properties can be quicky imported from Excel (XLS) file. The corresponding tables can be accessed from the file menu under parameters. There are three types of parameters:

Controlling each of the three sets of parameters follows similar rules:

All three types of parameters can be imported with a single click by linking XLS file. The following convention is used: the first sheet corresponds to the transition parameters, the second to token parameters, and the third to trigger parameters.

In addition, starting with the version 2.1.0, the fourth sheet of the control spreadsheet can be used to specify simulation parameters.

simulationParameters
Screen shot of the fourth tab of the parameter spreadsheet
Old parameter files can be read as well (if the fourth sheet does not exist, or cell A1 does not contain "Simulation Parameters" string). When the Flag for Sensor Limits value is set to 1, then the following two rows of the input file allow to specify the start and the end limits for time averaging of all mean sensors (those limits are normalized with respect to the simulation time so only the non-negative values no greater than one are accepted). One can also control those limits individually for each sensor, so in order to avoid overriding those local setting, one can select the Flag for Sensor Limits value other than 1.

When parameters are read successfully from XLS spreadsheet the corresponding line in the menu has a green check mark as seen in the figure and an additional item appears on the menu allowing the update from the file. In addition, the name of the linked file appears at the very top bar of the window to the left of the .apn file.

simulationParSuccess
Parameters menu when the file has been linked successfully
Otherwise, the line in the menu shows a red cross, as shown in the next figure.
simulationParFailed
Parameters menu when the file has not been linked successfully.
The check of the link is intended to be the "first line of defence" and you might still want to check that the linked file is read properly. It is useful when you accidentally try to link to some XLS file that has not been formatted as expected.

Return to the introduction to APN