OD2TRIPS

Contents

From 30.000 feet

OD2TRIPS imports O/D-matrices and splits them into single vehicle trips.

Purpose: Conversion of O/D-matrices to single vehicle trips
System: portable (Linux/Windows is tested); runs on command line
Input (mandatory):
A) O/D-Matrix
B) a set of districts
Output: A list of vehicle trip definitions
Programming Language: c++

Usage Description

Options

You may use a XML schema definition file for setting up a OD2TRIPS configuration: [1].

Configuration

Option Default Value Description
-c <FILE>
--configuration-file <FILE>
Loads the named config on startup
--save-configuration <FILE> Saves current configuration into FILE
--save-template <FILE> Saves a configuration template (empty) into FILE
--save-schema <FILE> Saves the configuration schema into FILE
--save-commented false Adds comments to saved template, configuration, or schema

Input

Option Default Value Description
-n <FILE>
--net-file <FILE>
Loads network (districts) from FILE
-d <FILE>
--od-matrix-files <FILE>
Loads O/D-files from FILE(s)

Output

Option Default Value Description
-o <FILE>
--output-file <FILE>
Writes trip definitions into FILE
--ignore-vehicle-type false Does not save vtype information

Time

Option Default Value Description
-b <TIME>
--begin <TIME>
0 Defines the begin time; Previous trips will be discarded
-e <TIME>
--end <TIME>
2147483 Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent

Processing

Option Default Value Description
-s <FLOAT>
--scale <FLOAT>
1 Scales the loaded flows by FLOAT
--spread.uniform false Spreads trips uniformly over each time period
--vtype <STRING> Defines the name of the vehicle type to use
--prefix <STRING> Defines the prefix for vehicle names
--timeline <STRING> Uses STR as a timeline definition
--timeline.day-in-hours false Uses STR as a 24h-timeline definition
--dismiss-loading-errors false Continue on broken input

Defaults

Option Default Value Description
--departlane <STRING> free Assigns a default depart lane
--departpos <STRING> Assigns a default depart position
--departspeed <STRING> max Assigns a default depart speed
--arrivallane <STRING> Assigns a default arrival lane
--arrivalpos <STRING> Assigns a default arrival position
--arrivalspeed <STRING> Assigns a default arrival speed

Report

Option Default Value Description
-v
--verbose
false Switches to verbose output
-p
--print-options
false Prints option values before processing
-?
--help
true Prints this screen
-V
--version
false Prints the current version
-W
--no-warnings
false Disables output of warnings
-l <FILE>
--log <FILE>
Writes all messages to FILE
--message-log <FILE> Writes all non-error messages to FILE
--error-log <FILE> Writes all warnings and errors to FILE

Random Number

Option Default Value Description
--random false Initialises the random number generator with the current system time
--seed <INT> 23423 Initialises the random number generator with the given value






This page was last modified on 23 November 2011, at 08:50.