Simulation/Variable Speed Signs

From Sumo
Revision as of 10:50, 8 July 2016 by Palcraft (talk | contribs)
Jump to navigation Jump to search

One of the trigger objects that may be specified within an additional-file allows the simulation of variable speed signs. The syntax for such an object is:

<additional>
  <variableSpeedSign id="VSS_ID" lanes="LANE_IDS" freq="<FREQUENCY>" file="DEF_FILE">
     <step time="


A file name must be supplied, called <DEF_FILE> within the schema above. This file must contain the information about when a certain speed shall be set onto the lane. This file has the following format:

<vss>
   <step time="<TIME>" speed="<SPEED>"/>
   <step time="<TIME>" speed="<SPEED>"/>

   ... further entries ...

   <step time="<TIME>" speed="<SPEED>"/>
</vss>

Each step is a combination of the time the next new speed shall be set and the speed to set itself.

A small example for usage of vss' may be found in the SUMO directory under "examples/sumo/variable_speed_signs".