Street traffic simulation for consecutive intersections

You have a number of intersections, e.g., in Cluj-Napoca (see picture below).
Aerial view of the central area of Cluj, Romania
You are asked to simulate the street traffic, including the operation of traffic lights, possibly using some traffic control algorithm.
The link microsimulation of road traffic can suggest you more about this problem. Please do not copy their code; this problem is different. Still you can use some of the solutions used there, provided that you clearly mention the source and understand what you use.