Fixed bug that was causing insufficient overtaking on a
single-lane road when using sublane simulation (most noticeable
with small step-lengths). #2518
Fixed invalid count of insertion-backlog for flows. #2535
Added check for possibility to stop at scheduled stops during
insertion. #2543
Fixed invalid timeLoss values in
tripinfo-output (last
step was counted twice for some vehicles).
Fixed bug that would prevent a vehicle from reaching the end of
its route after rerouting while being teleported. #2554
Fixed erroneous detector output for a special situation. #2556
Fixed computation of energy loss for subsecond simulation. #2559
Fixed crash when using
closing-rerouters
that prevent vehicles from departing after being loaded (related
to #2561).
Fixed invalid permissions when using multiple
closing-rerouters
that modify permissions of the same edge #2560.
Fixed crash when using the sublane model with varying lane
widths. #2585
The option --ignore-errors now properly ignores vClass-related errors. #2148
Tripinfo-output now has appropriate timeLoss values. #2570
netconvert
Fixed invalid lane permissions when setting lane-specific
attributes without specifying lane-specific permissions. #2515
Fixed invalid elevation values at junctions when importing
OpenDRIVE networks.
Fixed crash when importing OpenDRIVE networks.
Fixed invalid internal-lane geometries when exporting OpenDRIVE
networks. #2562
Fixed various specification conformity issues when exporting
OpenDRIVE networks.
Option --street-sign-output now only generates signs at real intersections.
Fixed error when loading a .net.xml file and patching lane
numbers with an .edg.xml file. #2459
sumo-gui
The visulization option show lane borders is now working.
Fixed crash when user loads an empty E3 detector #2249
netedit
Geometry nodes are no longer drawn when set to full transparency
(alpha = 0).
Geometry nodes are now colored for selected edges.
All textures are now loaded instead of a white square or a
netedit crash. #2594#2476#2597
dfrouter
Vehicles now always depart with the measured speeds. A vehicle
type with non-zero speedDev is used to allow patching the
vehicle-specific speed factor
in sumo. #2510
TraCI
Vehicles added via method add() of the python client now have
the correct departDelay value. #2540
Vehicle type value retrieval via the C++ API is now working.
Setting and retrieving edge travel times and efforts via the
C++ API is now working.
It is now possible to specify routes that contain
TAZ-edges. #2586
Electricity consumption is now included in emission outputs. #2211
Added option --save-state.period<TIME> for periodically saving simulation state. The new option
--save-state.suffix<STRING> can be used to determine whether state should be saved in
binary (.sbx) or XML (.xml). #2441
Tripinfo-output now includes the values departPosLat,arrivalPosLat when running a
sublane-simulation.
Added option --tls.all-off<BOOL> for switching off all traffic lights in the
simulation.
netedit
Added new option --new<BOOL> for starting with an empty network.
Added new option --window-size<INT>,<INT> for specifying the initial window size. #2514
Junction attribute tltype is now supported.
Joined TLS can now be defined by setting the junction attribute
tl following the same rules as in .nod.xml files. #2389
Added support for restricted lanes (Sidewalks, buslanes and
bikelanes). #1568
Now junction visualization can be toggled between bubbles and
their real shape when in Move-mode.
Connections can now be shown in inspect mode (by activating a
check-box) and their attributes can be edited. They can also be
selected in select-mode and deleted in delete mode. When
inspecting edges or lanes, controls for accessing their
connections are now available. #2067
Now delete mode has a frame with information and options for
deleting. #2432
Intervals of Rerouters can be edited using a dialog #2480
sumo-gui
Added new option --window-size<INT>,<INT> for specifying the initial window size. #2514
Added new visualization setting for drawing right-of-way rules
(colored bars).
Background images (decals) now
support the new Boolean attribute screenRelative. When set to
true, position and size are relative to the drawing window
instead of being relative to the network. #2438
Railway crossings are now imported from
OSM. #2059
Added new option --junctions.scurve-stretch<FLOAT> which generates longer intersection shapes
whenever the number of lanes changes. This allows for smoother
trajectories and is recommended when writing OpenDRIVE networks. #2522
Added new option --rectangular-lane-cut<BOOL> which prevents oblique angles between edges
and intersections. This option is automatically enabled when
exporting OpenDRIVE networks. #2562
Vehicle types are now included in the
emitters-output
by default. The new option --vtype-output<FILE> allows redirection the vTypes into a
separate file.
If the average measured speeds are systematically above the
speed limit of the respective roads, the written vTypes use
attribute
speedFactor
to reflect systematic speeding.
Added new convenience function traci.start that automatically
selects a port, starts sumo on that port and connects. #2236
Added new get/set command height (0xbc) to retrieve and modify
vehicle height (applicable to vehicles and vehicle types). #2573
When adapting edge travel times and efforts, the (optional)
parameters begin and end are now supported by the python client and the
C++ client. #2584
Tools
The tool
route_departOffset.py
(previously undocumented) now supports additional options for
departure time modification based on departure edge and for
shifting departures within one time interval to another
interval. #2568
randomTrips.py supports the new alias --edge-permission for former option --vclass.
Added new option save-state.period<TIME> to save simulation state periodically. #2441
Added new option save-state.suffix<STRING> to determine the suffix of saved state files.
The default is .sbx which saves in a binary format.
Alternatively, .xml may be used which makes the state files
human-readable.
netconvert
Networks exported to OpenDRIVE now use parametric curves to
represent smooth geometry in place of straight-line segments. #2041
Networks exported to OpenDRIVE now contain elevation data. #2240
Parametric curves as specified in OpenDRIVE version 1.4 can now
be imported. #2478
Revised default OpenDRIVE typemap. Now imports additional lane
types such as tram and rail. #2492
Fixed bug where vehicles would not depart from a triggered stop #2339
Fixed deadlock when vehicles with triggered stops could not load
passengers or containers due to capacity constraints.
Fixed invalid edge travel times used for dynamic routing in case
flow differs among the lanes. #2362
Fixed invalid edge travel times used for dynamic routing due to
invalid averaging #2351
Fixed invalid time stamps for leave times and an off by one for
instant induction loops #1841
MESO
The jam-front back-propagation speed now reaches realistic
values (it was illogically low before). Note that default value
of option --meso-taujj changes as well as its semantics. #2244
Fixed bug where the simulation would not terminate when using
calibrators. #2346
The options --meso-tauff and --meso-taufj now define net time gaps (default values were
changed accordingly). The gross time gaps are computed based on
vehicle lengths and edge speed to allow for more realistic flow
in networks with widely varying speed limits. This also affects
the threshold that defines jamming when using default options
(thresholds based on allowed speeds). #2364
Lane-changing models can now be configured with additional vType
parameters. There exists one parameter for each of the
lane-changing
motivationsstrategic,cooperative,speedGain and keepRight which can be
used to increase or reduce that type of lane changing. #1136
Added new option --collision.action<STRING> for configuring the action to take on vehicle
collision. Allowed actions are none,warn,teleport and
remove. The default is teleport which moves the rear vehicle
involved in a collision onto a subsequent lane (as before).
Added new option --collision.check-junctions<BOOL> to enable geometrical collision checking on
junctions. By default this option is set to false and
collisions between non-consecutive lanes are ignored as before.
This option may slow down the simulation. #984
the vehicle route
output now includes
optional vehicle parameters as param entries
Added new option --device.rerouting.adaptation-steps<INT> to switch the default algorithm for averaging
edge travel times from exponential averaging to a moving average
over the given number of steps. #2374
Added new option --tls.all-off<BOOL> for switching off all traffic lights (the
traffic lights can still be switched on via GUI or TraCI). #2442
The option --meso-jam-threshold<FLOAT> now gives additional freedom when configuring a
speed dependent jam-threshold. When an value below 0 is given
the absolute value is taking as a factor for the minimum
unjammed speed. Thus, negative values closer to 0 result in less
jamming. The default value remains at -1 and results in the
original behavior (values above 0 set the occupancy fraction
threshold independent of edge speed as before).
sumo-gui
The number of running vehicles and persons is now shown in the
status bar. This display also acts as a button for opening the
network parameter dialog. #1943
Persons are now more visible when selecting Draw with constant
size when zoomed out.
Added the averaged speeds that are used for simulation
routing to the lane
parameter dialog.
Added new option --demo<BOOL> which automatically reloads and starts the
simulation every time it ends. #1645
MESO-GUI
Can now color edges by the averaged speeds that are used for
simulation routing.
Can now color edge segments (mesoscopic vehicle queues)
individually by various traffic measures. #2243
netconvert
Added option default.lanewidth<FLOAT> for setting the default width of lanes (also
applies to netgenerate).
Added option numerical-ids<BOOL> for forcing all node and edge IDs to be integers
(also applies to netgenerate). #1742
Added Option speed.minimum to avoid negative speeds when using Option --speed.offset. #2363
netedit
Many additional network structures such as busStops, detectors
and variable speed signs can now be defined and manipulated. #1916
netgenerate
Added option grid.alphanumerical-ids<BOOL> for using a chess-like intersection naming scheme
(A1, B3, etc).
TraCI
Added vehicle
commandnext TLS to
retrieve upcoming traffic lights along a vehicles route. #1760
The vehicle
commandmove to XY (formerly move to VTD) now supports an additional
flag which selects whether the original route shall be kept or
the route may change and whether the vehicle may leave the road
network. #2033, #2258
The vehicle
commandmove to XY now allows moving vehicles that are still in the
insertion buffer.
Added functions vehicle.add, vehicle.remove and
vehicle.moveToXY to the C++ TraCI API
client
Added object variable subscriptions and context subscriptions to
the C++ TraCI-library (subscribe, getSubscriptionResults,
subscribeContext, getContextSubscriptionResults). Thanks to
Erik Newton for the patch.
Added person value retrieval functions to the C++ TraCI API
client. Thanks to Caner Ipek
for the patch.
Added vehicle
commandget slope
0x36 to retrieve the slope at its current position #2071
Added vehicle,
lane and
edge command get
electricity consumption 0x71 to retrieve the electricity
consumption if the emission model supports it. #2211
Multiple subscriptions for the same object are now merged. #2318
Tools
Added new tool
createVehTypeDistribution.py
to simplify definition of heterogeneous vehicle fleets by
sampling numerical attributes from configurable distributions.
Thanks to Mirko Barthauer for the contribution.
Fixed bug that was causing false positives when calling
traci.inductionloop.getLastStepVehicleIds and
traci.inductionloop.getLastStepVehicleNumber. #2104
Induction loop
detectors
now count vehicles which occupy the detector position during
insertion.
Fixed collisions when using using continuous lane-changing.
Fixed bug that was causing erratic emission behavior for stopped
vehicles when using the PHEMlight emission
model. #2109
Fixed unsafe traffic light plans when building networks without
exclusive left-green phase. #2113
When using the striping
model,
pedestrians now avoid moving with near-zero speed. #2143
various set-commands were not consuming all result bytes
and thus corrupted the message stream. Thanks to Alexander
Weidinger for the patch. #2007
Fixes to TraaS functions Simulation_getDistance2D and
Simulation_getDistanceRoad. #2127
Fixed crash when using vehicle command move to VTD. #2129
vehicle command move to VTD can now position vehicles on
internal lanes. #2130
Commands that return the road distance no longer return an
exaggerated value in networks without internal links (distances
across intersections were counted twice).
vehicle command distance now takes the depart position into
account (was using 0 before). #2203
Can now simulated rail road crossings (see netconvert
enhancement below). Vehicles will get a red light whenever a
train is approaching. #1744
Added option --emission-output.precision<INT> for configuring the numerical precision of vehicle
emissions. #2108
Added new
departPos
value last which can be used to maximize flow and still maintain
vehicle ordering. #2025
Rerouters now apply to
vehicles that are already on the rerouter edge at the start of
the active interval. #2207
Vehicles that are equipped with a rerouting
device now incorporate
knowledge about the current traffic state when computing a new
route due to encountering a rerouter
object. #2197
Adjusted zooming distance when centering on simulation objects
to make objects easier to find. #2146
Added option --waiting-time-memory<TIME> for tracking accumulated waiting time of vehicles.
The accumulated waiting time (seconds of waiting time within the
configured interval, default 100s) can be inspected in the
vehicle's parameter window and the vehicles can be colored
according to this value. #999
Lanes can now be colored by routing device assumed speed. This
is an exponential moving average of mean travel speeds used for
dynamic rerouting. #2189
MESO
Added option --meso-tls-penalty<FLOAT> as an alternative way to model the delay effects
of traffic lights. When this option is set to a positive value,
the expected delay time for each controlled link (based on red
duration and cycle duration) is added to the travel time,
multiplied with the <FLOAT> argument. By calibrating the parameter, the
quality of TLS coordination can be modeled. #2199
MESO-GUI
Coloring vehicles by depart delay is now working. Added
depart delay to the vehicle parameter dialog.
Added event time, entry time and block time to the vehicle
parameter dialog. These values record when a vehicle leaves,
entered and was blocked on an edge segment.
When a flow has a stop definition with attribute until, the time is
shifted for each successive vehicle in the flow. #1514
marouter
Added bulk routing and better OD cell handling for speed
improvements. #2167
TraCI
The python
client is now
thread safe when using multiple connections in parallel. Each
opened connection returns an independent TraCI instance. #2091
Added support for vehicle commands to the C++ TraCI
library Thanks to Alexander
Weidinger for the patch. #2008
Added new TraaS
commandsEdge.getLastStepPersonIDs, Person.getNextEdge,
Vehicle.getRouteIndex, Vehicle.getStopState, Vehicle.isStopped
and some more stop-related vehicle commands.
The angle argument of vehicle command move to
VTD
now overrides the vehicle angle for drawing and
fcd-output. #2131
Added new simulation command save state
0x95
for saving the current simulation state. #2191
Tools
tls_csv2SUMO.py now
handles controlled edges within a joined traffic light
definition automatically.
Added option --ignore-connections to
netcheck.py. This can be
used to compute all components in the node graph without
considering lane-to-lane connections.
Added option --symmetrical to
generateBidiDistricts.py
(previously undocumented tool). This can improve
opposite-finding in conjunction with option --radius.
Added option --geo to
route2poly.py. This can
be used to visualize routes from one network within another
network.
Visual Studio project files have been updated MSVC12. While it
is still possible to build SUMO with MSVC10, this support may be
dropped in the future in favor of C++11.
Simulation
When saving simulation
state as XML, lane
elements now contain their id for easier inspection.
The
departPos
values maxSpeedGap, pwagSimple and pwagGeneric were removed since they never worked as intended.
Option lanechange.allow-swap is now deprecated.
sumo-gui
Vehicle type parameters were moved to a separate dialog box
(Show Type Parameter). #2133