00. SUMO Development Update - dataandcrowd/GlasgowLEZ_SUMO GitHub Wiki
- Expanded to 5km x 5km (25m2) using the QGIS OSM downloader
- It used to be approximately 2km x 2km
- Pros: Wider area to consider in the inbound and outbound vehicles
- Cons: Delay in loading and moving screen
- Tested for 3600 time unit
- One issue: traffic bottleneck detected at the junction of M8 sliproad to Royal Infirmary
- Add sidewalks
- Test for additional vehicles
- Test for a longer period
- Added a new folder 03_Expand-Area in the
Glasgow_SUMOfolder. - Unzip the osm and created the network files link to the file
netconvert --osm-files glasgow.osm -o glasgow.net.xml --junctions.join --roundabouts.guess --osm.elevation --tls.guess --osm.sidewalks --tls.ignore-internal-junction-jam
Since the initial simulation caused some errors in some junctions, we added the --tls.ignore-internal-junction-jam function
- Import polygons from OSM-data and produces a sumo-polygon file
polyconvert --net-file glasgow.net.xml --osm-files glasgow.osm --type-file typemap.xml -o glasgow.poly.xml
- Generate a random trip for vehicles and pedestrians
python3 randomTrips.py -n glasgow.net.xml -r passenger_routes.rou.xml -o passenger_trips.xml -e 600 -p 0.1 --vehicle-class passenger --trip-attributes="color=\"255,255,255\""
python3 randomTrips.py -n glasgow.net.xml -r ped_routes.rou.xml -o ped_trips.xml -e 600 -p 5 --pedestrians
- Study Area