Changes between Version 5 and Version 6 of HighwayModel


Ignore:
Timestamp:
02/26/2019 05:40:28 PM (7 years ago)
Author:
jdalbey
Comment:

update highway definition

Legend:

Unmodified
Added
Removed
Modified
  • HighwayModel

    v5 v6  
    11== Highway Model Design == 
    2 Conceptual diagram showing elements of a highway. 
    3 [[Image(Conceptual Highway Model.png)]] 
     2Conceptual diagram showing elements of a highway. [[Image(Conceptual Highway Model.png)]] 
    43 
    54First draft of data structure for representing a highway network that can model traffic congestion. 
     
    76[[Image(intersection_sketch.jpg)]] 
    87 
    9  
    10 '''Highway''' (as shown in sketch) is a highway name and a list of LDS's (Lane Detector Stations). 
     8'''Highway''' (as shown in sketch) is a highway name and a list of VDS's (Vehicle Detector Stations) (''not'' LDS as labeled in illustration). 
    119 
    1210'''Intersection''' is a postmile number and a cross street identifier. 
    1311 
    14 '''Junction Map''' is a data structure to model highway intersections (junctions),  
    15 A map that associates highways to the cross streets that intersect them. 
    16  
     12'''Junction Map''' is a data structure to model highway intersections (junctions),  A map that associates highways to the cross streets that intersect them. 
    1713 
    1814'''Example Map''' 
     
    2420Hwy 789: [(22, Hwy 123)][[BR]] 
    2521 
    26  
    2722In the example Hwy 123 has two cross streets: Hwy 456 at postmile 17 and later at postmile 54 it crosses Hwy 789. 
    2823 
     24== Simulating Congestion == #congestion 
     25Alternative 1.  Every 30 seconds traverse the network from the incident origin point to find the next LDS that is unaffected, then change its state. Pro: Simple concept, needs only the data structures above. Con: In a very large network performance would be slow. 
    2926 
    30 == Simulating Congestion == #congestion 
    31  
    32 Alternative 1.  Every 30 seconds traverse the network from the incident origin point to find the next LDS that is unaffected, then change its state. 
    33 Pro: Simple concept, needs only the data structures above. 
    34 Con: In a very large network performance would be slow. 
    35  
    36 Alternative 2.  Maintain a "state" that knows the current extent of congestion and can quickly identify next LDS to be changed. 
    37 Pro: Better performance. 
    38 Con: Additional data structures needed. 
     27Alternative 2.  Maintain a "state" that knows the current extent of congestion and can quickly identify next LDS to be changed. Pro: Better performance. Con: Additional data structures needed. 
    3928 
    4029Decision: We prefer alternative 1.  We don't expect out network to be large enough for performance to be a factor.  Even a list of thousands of LDS could be traversed in a second and we have 30 second intervals between ATMS updates. 
     
    4332The 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. 
    4433 
    45 Note that highway direction must be handled as indicated by arrows in sketch above. 
    46 Congestion on a !North/South freeway will backup westward on Eastbound lanes of intersection street and eastward on Westbound lanes of intersecting street. 
    47 Conversely for !East/West freeways. 
     34Note that highway direction must be handled as indicated by arrows in sketch above. Congestion on a !North/South freeway will backup westward on Eastbound lanes of intersection street and eastward on Westbound lanes of intersecting street. Conversely for !East/West freeways. 
    4835 
    49 If two incidents BOTH effect the same highway, use the color of the most severe incident.  
    50  
     36If two incidents BOTH effect the same highway, use the color of the most severe incident.