![]() |
|
Table of Contents We want to supply some additional information that did not fit into the descriptions within the previous chapters. The next chapters are possibly the most interesting ones of this document as they describe some possibilities to ease the work. Most simulations have to be executed more than only one time. Furthermore, some experiments require the execution of similar, slightly different settings, for example the same network with a different route set. To avoid retyping of all parameter at the input line, all of the main applications can be fed with a configuration file. This configuration file contains the values the user normally would give to the program at the command line. For example, instead of typing duarouter --cell= you can start the router with a configuration file only: duarouter -c=The Of course, you have to build the configuration file
" A configuration file is a simple XML-file in which each of the
command line parameters is represented as a XML-element with the
parameter's value being given as text between the begin and end tag of
this parameter. So if you want to set a parameter "foo" to the value
"bar" within your configuration file, write
<configuration> Between the starting at the ending tag, any type of values may be
set, use a 'x' to mark boolean values as set. If a parameter allows a
set of values (normally separated by a ';'), you have to use a single
element and embed these value into it as you would on command line. A
different approach will maybe be invented in future. You can find the
templates for each of the package's application's configuration files
within the folder
" All applications of the SUMO-package print a help-screen is
printed including all options the application knows when the application
is started with the Recent changes:
You can some find helpful tools within the
Since version 0.9.5 a further application was added to the
suite: POLYCONVERT, a tool which allows you
to convert polygons from Elmar's format into a description that may be
used by SUMO. As the offset that was applied to the network during the
conversion using NETCONVERT is needed, one
has to supply the network name using Defaults for the polygon's color and layer as well as a name
prefix and the name of the type to assign can be given using the
options
An example type-map for Elmar's polygons can be found in
Since version 0.9.6, POLYCONVERT can
also import single points of interest from Elmar's pointcollection
files. To import such a file use the option Also since this version, POLYCONVERT
can import polygons and pois from Visum-networks. The options herefore
are In some cases, it is wished not to import all polygons/pois. You
can constrain which polygons/pois shall be written using the by
assigning the attribute " All options:
Recent changes:
This script performs a dua computation by runing the DUAROUTER and SUMO a given number of times and using the previous outputs. A detailed description may be found in the subchapter "Automatic Iteration using 'dua-iterate.pl'". Usage: dua-iterate.pl
Output: see "Automatic Iteration using 'dua-iterate.pl'" Location:
This tool converts route files as generated by DUAROUTER/JTRROUTER from their old-style representation where the route and the according vehicle where in separate tags into the new style where the route-description is. Usage:
oldStyle2newStyle_Routes.pl
Output: The tool prints the modified route file in the new-style on the command line Location:
This tool randomizes the departure time of vehicles within a given route/route alternatives file. Usage: randomizeDepart.pl
Output: The tool prints the modified route / route alternatives file in the new-style on the command line Location:
Removes the ids of routes from their description within the given route file. Usage: removeRouteId.pl
Output: The tool prints the modified route file in the new-style on the command line Location:
Removes the references to routes from the descriptions of vehicles within the given route file. Usage: removeRouteReference.pl
Output: The tool prints the modified route file in the new-style on the command line Location:
|