Changes between Version 4 and Version 5 of HighwayModel


Ignore:
Timestamp:
10/29/2017 08:46:02 AM (9 years ago)
Author:
jdalbey
Comment:

elaborate algorithm

Legend:

Unmodified
Added
Removed
Modified
  • HighwayModel

    v4 v5  
    2828 
    2929 
    30 == Simulating Congestion == 
     30== Simulating Congestion == #congestion 
    3131 
    3232Alternative 1.  Every 30 seconds traverse the network from the incident origin point to find the next LDS that is unaffected, then change its state. 
     
    4141 
    4242=== Algorithm overview === 
    43 The algorithm that models congestion will build a simple FIFO queue of highways starting with the highway on which the incident occurs.  Congestion will move linearly opposite the highway direction, advancing one LDS each interval (say 1 second).  At each interval the list of intersections for this highway will be fetched from the Junction Map and checked to see if a junction has been encountered.  If so, the intersecting highway will be added to the queue.  After advancing the congestion for each highway in the queue the algorithm ends. 
     43The algorithm that models congestion will build a simple FIFO queue of highways starting with the highway on which the incident occurs.  Congestion will move linearly opposite the highway direction, advancing one LDS each interval (say 30 seconds).  At each interval the list of intersections for this highway will be fetched from the Junction Map and checked to see if a junction has been encountered.  If so, the intersecting highway will be added to the queue.  After advancing the congestion for each highway in the queue the algorithm ends. 
    4444 
    4545Note that highway direction must be handled as indicated by arrows in sketch above. 
     
    4747Conversely for !East/West freeways. 
    4848 
     49If two incidents BOTH effect the same highway, use the color of the most severe incident.  
     50