Changes between Version 4 and Version 5 of HighwayModel
- Timestamp:
- 10/29/2017 08:46:02 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HighwayModel
v4 v5 28 28 29 29 30 == Simulating Congestion == 30 == Simulating Congestion == #congestion 31 31 32 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. … … 41 41 42 42 === 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.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 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. 44 44 45 45 Note that highway direction must be handled as indicated by arrows in sketch above. … … 47 47 Conversely for !East/West freeways. 48 48 49 If two incidents BOTH effect the same highway, use the color of the most severe incident. 50
