From Sumo
Jump to: navigation, search




  • Simulation
    • Vehicles with departspeed="max" now properly adapt their speed to vehicles ahead at insertion. This results in higher flows.
    • Teleporting vehicles will only be inserted if they fit fully onto the destination lane.
    • Fixed some inconsistencies in E3-Detector output (see E3 Further_Notes).
    • Flows using attribute probability now correctly terminate when attribute end is given.
    • Fixed several bugs for traffic lights of type actuated.
    • Pedestrians using the model striping now always respect attribute arrivalPos
    • Fixed crash when computing pedestrians positions on short walkingAreas.
    • Fixed crash when using car following model <carFollowing-IDM/>
    • Fixed bug that was causing collisions at intersections.
    • Fixed bug that was causing collisions due to unsafe lane-changing decisions.
    • Fixed bug that was causing collisions due to unsafe insertion.
    • Fixed bug that was causing collisions due to unsafe re-insertion after teleporting.
    • Fixed bug that was causing silent collisions between vehicles on different edges. Previously this type of collision was not reported but visible in the gui.
    • Fixed bug that sometimes lead to inferior lane-change decisions in networks with vehicle class restrictions.
    • Fixed bugs that sometimes prevented vehicles from being inserted at the earliest opportunity.
    • Fixed bug that prevented vehicles from being inserted when their departSpeed was close to their maximumSpeed and using car following model <carFollowing-IDM/>.
    • Fixed bug that was causing unnecessary lane changes leading to oscillations.
    • Fixed bug that was degrading the cooperation between vehicles during lane changing.
    • Single-stepping the simulation with hotkey (Ctrl-D) is now working as smoothly as intended.
    • Changing simulation delay via mousewheel now works when the pointer is on top of the dial.
    • Vehicle coloring by acceleratio, by time gap and by offset from best lane now correctly visualize negative values
    • Persons which are waiting or riding in a a vehicle now face the correct direction.
    • Fixed crash related to parking vehicles.
    • Corrected angle of parking vehicles.
    • Fixed bug where train carriages were drawn incorrectly.
    • Street-sign-output now references the correct xsd file.
    • Fixed crash when using options --repair and --ignore-errors.
    • Fixed crash when using option --remove-loops.
    • When using option --remove-loops the non-looping parts of the route are now kept unchanged as intended.
    • Progress indicator is now only shown if the --end option is used.
  • TraCI
    • Fixed crash when retrieving vehicle variable best lanes (id 0xb2) while the vehicle is on an internal lane.


  • Simulation
    • Whenever rerouting vehicles, a new route is only recordered when it differs from the previous route.
    • tripinfo-output now includes attribute timeLoss which holds the time loss compared to the maximum driving speed.
    • Added option --tripinfo-output.write-unfinished <BOOL>. When this is set, tripinfo output will additionally be written for all vehicles that did not arrive at the end of the simulation.
    • Vehicles with the attribute departLane="free" now consider the free space on all candidate lanes instead of the number of vehicles. This results in higher flow.
    • Added a new departLane-value named departLane="first" where vehicles are inserted on the rightmost lane they are allowed to use; this is the new default insertion lane
    • Now supports parallel routing by using the option --device.rerouting.threads <INT>
    • Added new routing algorithms 'astar' and 'CH' which are faster than the default 'dijkstra' algorithm.
    • Now appending .xml suffix when saving viewport, view settings or decals
    • Added lane coloring by loaded weights. This colors by whatever attribute was set with option --weight-attribute <STRING>.
    • Added lane coloring by priority. This uses the edge priorities used during network creation. The priority value is also shown in the parameter dialog.
    • Added junction coloring by type.
    • Added visualization options for drawing vehicles, persons, POIs, polygons and additional gui objects with constant size when zooming out.
    • The dialog for changing visualization settings is now resizable and will remember its size across application runs. All settings are now scrollable to allow work on smaller screens.
    • The attributes which can be used to customize lane colors can now also be used to scale their width. This is done in the view customization dialog unter 'Streets' -> 'Scale width'. See [1].
    • Vehicle coloring by time since lane change' now indicates the direction of the change by its color
    • Added new link state 'u' to encode red-yellow phase (shown as orange). Vehicles behave as if 'r' (red) was set. This linkstate may be used to indicates upcoming green phase according to RiLSA.
    • Roundabouts can now be specified via plain-xml input. They are also written to the .edg.xml-file when using option --plain-output-prefix.
    • Now supports parallel routing by using the option --routing-threads <INT>
    • Added new routing algorithms 'astar' and 'CH' which are faster than the default 'dijkstra' algorithm.
    • Routes which loop back on themselves are no longer genereated by default (can be enabled using option --allow-loops).
  • TraCI
    • added method vehicle.setSpeedMode() to the python API (command 0x3b)).
  • Tools
    • Added option --weights-output-prefix <STRING> to generate weight files which can be used to visualize the edge probabilities for being source/destination/via in SUMO-GUI.
    • Added option --weights-prefix <STRING> which allows loading edge probabilities for being source/destination/via. The file format is the same as for option --weights-output-prefix <STRING> with missing edges defaulting to probability 0 and missing files defaulting to normal randomization.
    • Added new router which reads trips and writes routes by computing a macroscopic user assignment.


    • Now issuing warnings about repaired routes.
  • Misc
    • The version string for each application now includes the flag 'D' for the debug-build and flag 'I' for the internal build

Version 0.21.0 (11.06.2014)


  • Simulation
    • Fixed infinite loop when tls-phases were shorter than the step-size
    • Fixed bug where vehicles would block the intersection when stopping at the very end of a lane due to a red light
    • Fixed lane-changing bug which could cause differing results between different compilers due to uninitialized memory.
    • The vehicle class ignoring now properly ignores edge permissions and is allowed to drive anywhere.
    • Time values are now checked on input whether they are in the correct range (less than 2147483 seconds)
    • Teleport over an edge which has a stop now removes the stop from the list of pending stops
    • the IDM and the IDMM car following model now stop closer to the halting line (in front of intersections), furthermore the moving average in the IDMM was repaired
    • Bluetooth device handles subsecond simulation correctly
    • Fixed check for slow lanes ahead of the depart position to allow for higher insertion speeds
    • Repaired rerouting of vehicles which are on an internal lane
    • Several fixes with teleporting over, on and onto induction loops and range detectors.
    • Fix to the computation of the expected time at which vehicles leave an intersection. This results in a minor increase in junction throughput.
    • The time shown in the gui now matches the time found in simulation outputs for the shown vehicle positions. Previously, the gui showed the time + 1 step.
    • Fixed crash when drawing persons
    • Patched building under MacOS, thanks to Alex Voronov
    • lane coloring by netto occupancy no longer shows brutto occupancy (see lane coloring).
    • drawing of simple vehicle shapes now always uses a distinct color for drawing details.
    • Fixed crash when closing the breakpoint editor
    • Fixed crash when loading viewsettings and changing them immediately.
    • when loading traffic light programs from tllogic-files, the node attribute controlledInner is now propperly preserved
    • guessed traffic light programs no longer contain duplicate consecutive phases
    • Fixed bug where option ramps.guess would sometimes fail to add necessary lanes.
    • Extremely short internal lanes are no longer split. Instead a warning is issued since these cases usually indicate an invalid junction geometry.
    • removed option --all-end-follower as it's not longer needed and buggy
    • when using tazs (districts) they are now correctly attached to the network with an edge with travel time 0 (before it was 1)
  • TraCI
    • subscriptions for VAR_LOADED_VEHICLES_IDS now work
    • when setting lane change mode to prevent all changes due to a certain change-motivation, motivations with lower priority are now correctly considered.
    • adding a vehicle with a negative depart position gives an error message (applies only to ADD not to ADD_FULL)
    • adding a vehicle with a depart time in the past gives an error instead of silently dropping the vehicle
    • vaporizing parked vehicles is now possible
    • forcing a lane change for a stopped vehicle now correctly removes the current stop from the list of pending stops
  • Tools
    • Fixed bug where would produce invalid XML (thanks to Pieter Loof for the patch)
    • Fixed bug in when generating files for NS2 which caused non-sequential IDs to be written.
  • General
    • Fixed several divisions by zero and integer over- and underflows reported by the clang sanitizer
    • Trying to open existing files which do not have reading permissions now gives a correct error message
    • All tools now give error messages when an output socket is not any longer available on closing


  • Simulation
    • Added improved capabilities for pedestrian simulation
      • Added option --pedestrian.model <STRING> with available values nonInteracting and striping. The most important features of the striping model (which is the new default are:
      • Pedestrian cross streets and interact with traffic (blocking vehicles, blocked by vehicles, reacting to traffic lights)
      • Pedestrians interact with each other (jam)
      • Pedestrians select their route dynamically to avoid red lights when multiple paths across an intersection are available.
      • Added options --pedestrian.striping.stripe-width <FLOAT> and --pedestrian.striping.dawdling <FLOAT> to configure the 'striping'-model
    • Added option --lanechange.overtake-right <BOOL> to switch between german overtaking laws (default) where overtaking on the right on highways is prohibited and american overtaking laws
    • Vehicles which are already on a junction but have to wait for another vehicles (also on the junction) now always drive up to point where their path crosses with the blocking vehicle.
    • Added option --random-depart-offset <TIME> to randomize departure times for all vehicles by applying a positive (uniform) random offset.
    • <flow> elements now support attribute probability for specifying flows with randomly distributed departures (following a binomial distribution). Each second a vehicle is inserted with the given probability (which is scaled according to the given --step-length).
    • Vehicles with a vType which has a specified vClass will now get appropriate default values for some of their parameters (i.e. busses will be longer than 5m by default). Refer to Vehicle_Type_Parameter_Defaults for details.
    • the option --scale <FLOAT> can now also handle values > 1 and inserts more vehicles in this case
    • added HBEFA3 emission model
    • added outputs conforming to the Amitran standards
    • the option --no-warnings <BOOL> now also applies to the GUI message window
    • Added person coloring scheme by selection and by angle
    • All person modes now give a waitingTime
    • Person parameter dialog now inclues attributes 'edge', 'position', 'angle' and 'waitingTime'
    • Pedestrian crossings are now indicated by the typical zebra-pattern (light color indicates that pedestrians have priority, dark color means that vehicles have priority)
    • Showing permission code in lane parameter dialog, updated style color by permissions
    • Uncontrolled links (not part of a junction logic) are now shown with index -1
    • Now showing edge type in lane parameter dialog
    • Customizable drawing of ids for edges of type crossings and walkingarea
    • Added lane coloring scheme by angle
    • Lanes are now drawn with smooth shapes regardless of geometry (fixed white gaps at corners)
    • Added element <crossing> for '.con.xml' files. This can be used to specify pedestrian crossings
    • Added attribute sidewalkWidth to <type> elements in .typ.xml files. If this is given, edges of this type will get an extra lane with allow="pedestrian" and the specified width.
    • Added options --sidewalks.guess <BOOL>, --sidewalks.guess.min-speed <FLOAT> and --sidewalks.guess.max-speed <FLOAT> to trigger guessing of sidewalks
    • Added option --crossings.guess <BOOL> to trigger guessing of pedestrian crossings
    • Added options --tls.guess-signals <BOOL> and --tls.guess-signals.dist <FLOAT> to interpret special traffic light nodes which surround an intersection as the signal positions for that intersection. This heuristic is useful for correctly importing a typical representation of traffic lights in OSM data.
    • Added attribute shape to <node> elements in .nod.xml files. This allows to specify a custom shape for that node.
    • can write networks in the Amitran format
    • <trip> and <flow elements now support attribute via for specifying intermediate edges to use during routing.
    • vType and route definitions can now be given in additional-files just like for SUMO
    • Pedestrian walks with attributes from and to are now routed and written with attribute edges.
    • the maximum (the average) speed factor are taken into account when calculating the minimum (the default) travel times
    • References to an unknown vType are now an error (which can be ignored with --ignore-errors). Previously, an unknown vType was silently copied to the output and treated like the default type during routing.
    • reads now OD matrices in Amitran format
  • Tools


  • Simulation
    • Removed obsoleted --incremental-dua-step and --incremental-dua-base option (use --scale instead)
  • Tools
    • Renamed option for setting the id prefix of generated trips from -t, --trip-id-prefix to --prefix
    • Renamed option for setting trip attributes from -a, --trip-parameters to -t, --trip-attributes
  • Miscellaneous
    • Some vClass definitions where added and others renamed. Old definitions will continue to work but some will cause deprecation warnings.
    • Referenze typemap files for importing edges and polygon data from OSM networks as well as from other formats can now be found at <SUMO_HOME>/data
    • SUMO builds now with clang as well
    • The shortcut -p for the option --print-options was removed because of possible name clashes

Version 0.20.0 (11.03.2014)


  • Simulation
    • Fixed bug in the computation of safe velocities. Sometimes the velocity was too high (causing collisions) but most times it was too low (degrading traffic flow).
    • Vehicles now move to the right lane after passing instead of staying on the passing lane. (see #1139)
    • Fixed simulation crash related to lane-changing.
    • Fixed bug where vehicles would no longer stop on the correct lane if they already stopped on the wrong lane.
    • Fixed bug which would cause collisions due to unsafe lane changes
    • Fixed crash when terminating the simulation while vehicles were performing continuous lane changing maneuvers (using option --lanechange.duration)
    • Fast vehicles can now be correctly inserted closely in front of slow vehicles (#1176).
    • Rerouting fixed for vehicles which are on internal lanes when the rerouting is requested (#1128).
    • Fixed crash when using the object locator on some versions of Ubuntu.
    • Fixed bug where brake lights were shown even though the vehicle was not braking
    • Fixed bug where train carriages where sometimes drawn onto the wrong lane
    • The vehicle option 'select foes' now works correctly for foe vehicles on internal lanes
    • Fixed rare graphical glitch when drawing concave junction shapes
    • Fixed drawing of segmented vehicles (trains) which are longer than their departPos
    • Fixed bug which gave some links the wrong priority thus causing collisions (see ticket #1096)
    • Fixed crash when specifying connections from/to edges which are removed during network building
    • OSM import no longer fails when encountering empty strings in places where numerical values are expected.
    • Fixed bug where permissions involving the vClasses custom1 and custom2 were not written correctly.
    • Fixed bug where connections from a lane were sometimes indexed in the wrong order.
    • Disconnected nodes can no longer be joined into a cluster when using the option --junctions.join.
    • Fixed crash when using option --ramps.guess
    • option --ramps.guess no longer creates ramps if one of the involved connections is a turnaround
    • traffic lights which get new programs are no longer renamed (see ticket 1157)
  • DFRouter
    • Fixed crash/infinite loop when using option --guess-empty-flows. Use of this option is not (yet) recommended (see ticket 1198)
  • JTRRouter
    • Fixed handling of empty flows (no vehicles) together with a specified start time (see ticket 1109)
  • TraCI
    • instantInductionLoops are no longer included when calling calling traci.inductionloop.getIDList()
  • Tools
    • Fixed bug which prevented from running
    • Fixed bug which caused all speed values in NS2 output to be 0
    • Fixed bug which prevented option --penetration <FLOAT> from taking effect


  • Simulation
    • The summary of teleporting vehicles now lists all teleports according to their reason
    • Vehicles now perform an emergency braking maneuver to prevent driving across a red light. If this happens in a simulation it usually indicates that the length of the yellow-phase is to short in relation to the road speed and the braking capabilities. To enable driving across red lights, additional TraCI flags were added (see below).
    • Improved intersection model which results in less conflicts between vehicles with intersecting trajectories while on internal lanes.
    • Added a first version of the PHEMlight emission model (contribution of TU Graz)
    • Rerouting now keeps existing stops and adds new stops which are part of the new route even in cyclic routes
    • Reworked drawing of trains to have more realistic carriage lengths. Also some busses are drawn with flexible segments now.
    • The vehicle parameter dialog now lists the maximum speed of the vehicle's type and the the time headway to the vehicle's current leader
    • added vehicle coloring mode by time headway
    • Traffic light colors now distinguish between green major (code G) and green minor (code g) by coloring the minor state with a darker color.
    • The lane color scheme by vClass now gives fine-grained control over coloring by using the permission bitmask to select the color.
    • Added menu option Edit->Select lanes which allow...->vClass. Together with the street-coloring option by selection this allows an easy overview of the road network permitted for a given vClass.
    • Added junction visualization option to disable drawing of junction shapes.
    • The vehicle coloring mode by max speed now factors in the speed limit on the current lane and the speedFactor of the vehicle. The same color thresholds as in coloring by speed are now used.
    • added option --osm.elevation <BOOL> which imports elevation data from OSM input (default false).
    • Conflicts between connections originating from the same edge are now recognized. This can be used to model interaction between right turning vehicles and straight moving non-vehicular traffic on a lane further right.
    • improved the heuristic for determining junction clusters to be joined when using option --junctions.join. This results in fewer invalid joins. Candidate clusters for manual intervention are indicated.
  • TraCI
    • added method traci.simulation.convert3D() which converts a road position to either x,y,z or lon,lat,alt
    • added additonal bits to the traci command Change Vehicle State/speed mode to configure the behavior at intersections. This can be used to make vehicles ignore right-of-way rules and also to force them to drive across a red light.
    • added optional argument 'flags' to traci.vehicle.setStop() in accordance with the Vehicle modification API specification
    • the API to Areal Lane Detectors was added; thanks to Mario Krumnow and Robbin Blokpoel
    • it is now possible to retrieve the leading vehicle within a specified range Vehicle API specification
    • a vehicle may be added using a full specification (which is available via XML input)
  • Tools
    • added tool which converts all of the XML-output files written by SUMO to a flat-file (CSV) format which can by opened with most spread-sheet software
    • added tool for the opposite conversion, requiring an XML schema and also for conversion to Google's protocol buffers
    • osm/ now supports retrieving very large areas by bounding box using the option --tiles <INT>. (previously this option was only supported together with option --oldapi which has severe size limitations}}
    • added option --gpx-output <FILE> to which allows exporting vehicle trajactories as GPX files
    • added option --poi-output <FILE> to which allows exporting vehicle trajectories as POIs
    • added option --vclass <STRING> to which ensures that generated trips only depart and arrive at edges permitted for vclass
    • now recognizes the network fringe even if the network contains turn-around connections (An edge belongs to the fringe if it contains only incoming or outgoing connections excepting turnarounds). This is important when using the option --fringe-factor <FLOAT> for generating plausible through-traffic in small networks.
    • added two tools for visualising emission behaviour
    • added some visualisation tools


  • TraCI
    • TraCI version is now 8
    • fixed documentation of of command slow down: It changes speed smoothly over the given number of milliseconds (in contrast to command speed which changes using maximum acceleration/deceleration).
  • All Applications
    • Added option --xml-validation <STRING> with possible values never, always and auto defaulting to auto. This causes all input files to be validated against their respective schema, provided the schema-URL is declared in the toplevel XML-Tag (always requires the schema-URL to be present).
    • Added option <STRING> to all applications which read .net.xml-files which works like option --xml-validation <STRING> but applies only to sumo networks (default never since network validation is computationally expensive).
    • Most of the input and output files have an XML schema now, see

Older Versions













pre 0.8.x