Parameters YAML File#

The parameter file holds the parameters information for a certain portion of the software.

Assignment#

The assignment section of the parameter file is the smallest one, and it contains only the convergence criteria for assignment in terms of the maximum number of iterations and target Relative Gap.

Assignment example

Although these parameters are required to exist in the parameters file, one can override them during the assignment, as detailed in Convergence criteria.

Distribution#

The distribution section of the parameter file is also fairly short, as it contains only the parameters for number of maximum iterations, convergence level and maximum trip length to be applied in Iterative Proportional Fitting and synthetic gravity models, as shown below.

Distribution example

Network#

There are four groups of parameters under the network section: links, nodes, OSM, and GMNS. The first are basically responsible for the design of the network to be created in case a new project/network is to bre created from scratch, and for now each one of these groups contains only a single group of parameters called fields.

Node fields#

The specification for node fields is similar to the one for link fields, with the key difference that it does not make sense to have fields for one or two directions and that it is not possible yet to import any tagged values from OSM at the moment, and therefore the parameter osm_source would have no effect here.

Open Street Maps#

The OSM group of parameters has two specifications: modes and all_link_types.

modes contains the list of key tags we will import for each mode. Description of tags can be found on Open-Street Maps, and we recommend not changing the standard parameters unless you are exactly sure of what you are doing.

For each mode to be imported there is also a mode filter to control for non-default behaviour. For example, in some cities pedestrians a generally allowed on cycleways, but they might be forbidden in specific links, which would be tagged as pedestrian:no. This feature is stored under the key mode_filter under each mode to be imported.

There is also the possibility that not all keywords for link types for the region being imported, and therefore unknown link type tags are treated as a special case for each mode, and that is controlled by the key unknown_tags in the parameters file.

GMNS#

The GMNS group of parameters has four specifications: critical_dist, link, node, and use_definition.

GMNS parameter group

critical_dist is a numeric threshold for the distance.

Under the keys links, nodes, and use_definition there are the fields equivalency and fields. They represent the equivalency between GMNS and AequilibraE data fields and data types for each field.

System#

The system section of the parameters file holds information on the number of threads used in multi-threaded processes, logging and temp folders and whether we should be saving information to a log file at all, as exemplified below.

System example

The number of CPUs have a special behaviour defined, as follows:

  • cpus<0 : The system will use the total number logical processors MINUS the absolute value of cpus

  • cpus=0 : The system will use the total number logical processors available

  • cpus>0The system will use exactly cpus for computation, limited to

    the total number logical processors available

A few of these parameters, however, are targeted at its QGIS plugin, which is the case of the driving side and default_directory parameters.

Open Streeet Maps#

The OSM section of the parameter file is relevant only when one plans to download a substantial amount of data from an Overpass API, in which case it is recommended to deploy a local Overpass server.

OSM example

The user is also welcome to change the maximum area for a single query to the Overpass API (m2) and the pause duration between successive requests sleeptime.

It is also possible to set a custom address for the Nominatim server, but its use by AequilibraE is so small that it is likely not necessary to do so.