SUMO应用工具:OD2TRIPS

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

-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 <BOOL>

Adds comments to saved template, configuration, or schema; default:false

2.2输入Input

Option

Description

-n <FILE>
--taz-files <FILE>

Loads TAZ (districts; also from networks) from FILE(s)

-d <FILE>
--od-matrix-files <FILE>

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.

-o <FILE>
--output-file <FILE>

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

-b <TIME>
--begin <TIME>

Defines the begin time; Previous trips will be discarded; default: 0

-e <TIME>
--end <TIME>

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

-s <FLOAT>
--scale <FLOAT>

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

-v <BOOL>
--verbose <BOOL>

Switches to verbose output; default:false

--print-options <BOOL>

Prints option values before processing; default: false

-? <BOOL>
--help <BOOL>

Prints this screen; default: false

-V <BOOL>
--version <BOOL>

Prints the current version; default:false

-X <STRING>
--xml-validation <STRING>

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

-W <BOOL>
--no-warnings <BOOL>

Disables output of warnings; default:false

-l <FILE>
--log <FILE>

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

 

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值