seiggy / Skylines-Traffic-Manager

Cities: Skylines Traffic Management Mod
http://steamcommunity.com/sharedfiles/filedetails/?id=481786333
MIT License
8 stars 2 forks source link

Problem with Path Finder #12

Open hillcf opened 9 years ago

hillcf commented 9 years ago

Hi

I have just installed Traffic Manager Plus to try and manage some road connections. Having then set up a pair of traffic lights on two crossings I an now having major problems with the way the system is routing vehicles.

The junctions are as follows:

  1. A two way 4 lane road (East-West)across a edge of a manufacturing area, to the North of it.
  2. A second two way 4 lane approaching it from the South, which has been tunnelled under a highway and links to the rest of the city and bus station.
  3. Opposite route 2 there is a one way 2 lane road leading into the manufacturing area. To the East and West of the manufacturing area there are two way roads.
  4. From the highway there is a one way link bridged across the highway with a link from the other lane. This then joins route 2 leaving space for 3 lorries before it meets route 1.
  5. Also from that junction, there is a exit route which links to the highway, with an underpass to the far lane.
  6. To the East, there is also a two way 2 lane road back into the city.
  7. There are three bus routes running from the South, going East, North and West on reaching the manufacturing area. They all route back along the East side of route 1.

Without the traffic lights installed these junctions work as one would expect. I then set up a pair of timed traffic lights to manage the traffic flow. The routing is

  1. Allow traffic from the South and let it enter routes 1 and 3, Allow the East side of route 1 to turn left (this is a LHD system).
  2. Stop the traffic from the city and allow the traffic from the highway.
  3. Stop the traffic from the highway and stop route 2 where it joins route 1. Allow the West side of route 1 to proceed and stop the East side.
  4. Stop the West side and allow the East side to run.

This should enable the system to manage the junction correctly. Initially it seems to work and the traffic flows as I would expect. But then it goes out of control.

  1. The traffic on the West side of route 1 continues down the East side, and then turns right and uses route 6, including to get to the highway.
  2. The traffic on the East side of route 1 is routed directly down route 6.
  3. The highway traffic that was using the bridge across the highway now links to route 2 South of the highway.
  4. The three buses get as far as the route 1 and route 2 junction, turn right and loop back through the manufacturing area to get to route 6.
  5. The bus route that was turning right onto the East side of route 1 now loops into the manufacturing area and uses the West side of route 2 to get to the East side.

It appears that the path finding functionality believes that there is no South bound route down route 2, and that the highway bridge link across is missing. If I move the bus stations on the East side of route 1 and place them onto route 2 the bus route resets to the correct route.

If I close route 6 I find that the bus routes just terminate, and despawn buses, on the last bus station. I have left it running and it seems that the system totally ignore the South bound route down route 2.

In terms of traffic I am running with the Extended Public Transport UI and Improved Public Transport 3.1.6. I have Traffic++ but have not yet activated it.

Is there a problem with your system regarding path finding?

seiggy commented 9 years ago

it's a possibility. The PathManager needs a serious overhaul right now. My suggestion is to use Traffic++ in combination with this. It solves the pathing issues. Then just use this for traffic light managment / timings. They work really well together like that. I'm working on a patch for Improved AI so that it will work with that mod as well.