OD2TRIPS
作者注:
原文链接:http://sumo.dlr.de/wiki/OD2TRIPS
根据名字就可以知道OD->TRIPS,就是将OD矩阵数据转换成trips信息。
1、简介
OD2TRIPS导入OD矩阵数据,然后分裂成单辆车的路径信息。
目的:OD到trips的转换
系统:win、linux
输入(强制性的):A) OD矩阵信息;B) 一个区域(a set of districts)
输出:一系列车辆的trips信息
编程语言:C++
2、用法描述
以下主要描述各种命令。
2.1配置Configuration
这部分是sumo通用的配置参数命令。
Option | Description |
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 <BOOL> | Adds comments to saved template, configuration, or schema; default:false |
2.2输入Input
Option | Description |
Loads TAZ (districts; also from networks) from FILE(s) | |
Loads O/D-files from FILE(s) | |
--od-amitran-files <FILE> | Loads O/D-matrix in Amitran format from FILE(s) |
2.3输出Output
Option | Description |
--output-prefix <STRING> | Prefix which is applied to all output files. The special string 'TIME' is replaced by the current time. |
Writes trip definitions into FILE | |
--flow-output <FILE> | Writes flow definitions into FILE |
--ignore-vehicle-type <BOOL> | Does not save vtype information;default: false |
2.4时间
Option | Description |
Defines the begin time; Previous trips will be discarded; default: 0 | |
Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent; default:9223372036854774 |
2.5处理Processing
Option | Description |
Scales the loaded flows by FLOAT;default: 1 | |
--spread.uniform <BOOL> | Spreads trips uniformly over each time period; default: false |
--different-source-sink <BOOL> | Always choose source and sink edge which are not identical; default:false |
--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 <BOOL> | Uses STR as a 24h-timeline definition;default: false |
--ignore-errors <BOOL> | Continue on broken input; default:false |
--no-step-log <BOOL> | Disable console output of current time step; default: false |
2.6默认Default
Option | Description |
--departlane <STRING> | Assigns a default depart lane;default: free |
--departpos <STRING> | Assigns a default depart position |
--departspeed <STRING> | Assigns a default depart speed;default: max |
--arrivallane <STRING> | Assigns a default arrival lane |
--arrivalpos <STRING> | Assigns a default arrival position |
--arrivalspeed <STRING> | Assigns a default arrival speed |
2.7报告Report
这部分也是通用的命令。
Option | Description |
Switches to verbose output; default:false | |
--print-options <BOOL> | Prints option values before processing; default: false |
Prints this screen; default: false | |
Prints the current version; default:false | |
Set schema validation scheme of XML inputs ("never", "auto" or "always");default: auto | |
--xml-validation.net <STRING> | Set schema validation scheme of SUMO network inputs ("never", "auto" or "always"); default: never |
Disables output of warnings; default:false | |
Writes all messages to FILE (implies verbose) | |
--message-log <FILE> | Writes all non-error messages to FILE (implies verbose) |
--error-log <FILE> | Writes all warnings and errors to FILE |
2.8随机数Random Number
这部分也是通用的。
Option | Description |
--random <BOOL> | Initialises the random number generator with the current system time; default: false |
--seed <INT> | Initialises the random number generator with the given value;default: 23423 |