Traffic From Events
Import traffic data from Matsim simulation output folder
Overview
Read Matsim events output file in order to get traffic NoiseModelling input
Arguments
Mandatory inputs
folder— Path of the Matsim output folderPath of the Matsim output folder For example : /home/matsim/simulation_output The folder must contain at least the following files:
output_network.xml.gz
output_allVehicles.xml.gz
output_events.xml.gz
Type:
String
Optional inputs
SRID— Projection identifierProjection identifier (also called SRID) of the geometric data.It should be an EPSG code, a integer with 4 or 5 digits (ex: 3857 is Web Mercator projection).
Type:
IntegerexportTraffic— Export additionnal traffic data ?Define if you want to output average speed and flow per vehicle category in an additional table
Type:
BooleanDefault:
falselink2GeometryFile— Network CSV fileThe path of the pt2matsim CSV file generated when importing OSM network. Ignored if not set. The file must contain at least two columns :
The link ID
The WKT geometry
Type:
StringoutTableName— Output table nameName of the table you want to create. A table with this name will be created plus another with a “_LW” suffix For exemple if set to “MATSIM_ROADS (default value)”:
the table MATSIM_ROADS, with the link ID and the geometry field
the table MATSIM_ROADS_LW, with the link ID and the traffic data
Type:
StringpopulationFactor— Population FactorSet the population factor of the MATSim simulation Must be a decimal number between 0 and 1
Type:
DoubleDefault:
1.0skipUnused— Skip unused links ?Define if links with unused traffic should be omitted in the output table.
Type:
BooleanDefault:
truetimeBinMax— The maximum of time bins in secondsThe maximum of time bins in seconds,
Type:
IntegerDefault:
86400timeBinMin— The minimum of time bins in secondsThe minimum of time bins in seconds
Type:
IntegerDefault:
0timeBinSize— The size of time bins in seconds.This parameter dictates the time resolution of the resulting data The time information stored will be the starting time of the time bins For exemple with a timeBinSize of 3600, the data will be analysed using the following timeBins: 0, 3600, 7200, …, 79200, 82800
Type:
IntegerDefault:
3600
Output
result— Result output stringThis type of result does not allow the blocks to be linked together.
Type:
String