98. SUMO Coding Inquiry - dataandcrowd/GlasgowLEZ_SUMO GitHub Wiki
- Generating various types of vehicles and letting them move randomly
- Generating pedestrians and letting them move randomly
- Adding sidewalks
- Sidewalks, or pavements in the UK context, are not created automatically
- As a result, pedestrians walk together with vehicles which causes collisions and traffic jams.

- Some vehicles come back after reaching the edge of the road network
How to simulate train movement and unload pedestrians
Do I need to create zebra crossings manually?
More information about my coding development can be found at this link.
## Learning how to code in SUMO: Progress
### 1. Generate the network file (glasgow.net.xml) using the netconvert
netconvert --osm-files glasgow.osm -o glasgow.net.xml --junctions.join --roundabouts.guess --osm.elevation --tls.guess --osm.sidewalks polyconvert --net-file glasgow.net.xml --osm-files glasgow.osm --type-file typemap.xml -o glasgow.poly.xml
python randomTrips.py -n glasgow.net.xml -r bus_routes.rou.xml -o bus_trips.xml -e 600 -p 30 --vehicle-class bus --trip-attributes="accel=\"0.8\""
python randomTrips.py -n glasgow.net.xml -r truck_routes.rou.xml -o truck_trips.xml -e 600 -p 15 --vehicle-class truck --trip-attributes="color=\"179,223,183\""
python randomTrips.py -n glasgow.net.xml -r delivery_routes.rou.xml -o delivery_trips.xml -e 600 -p 30 --vehicle-class delivery --trip-attributes="color=\"115,211,230\""
python randomTrips.py -n glasgow.net.xml -r trailer_routes.rou.xml -o trailer_trips.xml -e 600 -p 150 --vehicle-class trailer --trip-attributes="color=\"223,179,180\" accel=\"0.5\""
python 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\""
python randomTrips.py -n glasgow.net.xml -r ped_routes.rou.xml -o ped_trips.xml -e 600 -p 5 --pedestrians