Question: Hi... I am working on a traffic Simulation Task (queuing task), I have to use Simpy (python library) to apply discrete event simulation on a

Hi...

I am working on a traffic Simulation Task (queuing task), I have to use Simpy (python library) to apply discrete event simulation on a traffic intersection,

The problem is to simulate the ( traffic signals )on an intersection (lets assume two traffic Signals),

each traffic signal have two lights (red, green)

as Inputs:

i want to specify Inter-arrival time of the cars and the arrivals need to follow stochastic process,

-----------------------------

when the first signal has Red light - cars start queueing on tis signal , and the second signal should be green and cars departure

As Results:

we want the behviour of the cars when arrived and departue to be printed and to show it relates to which signal.

also, we need to see a summary of the number of arrivals cars, number of departures cars, queue length, delay, and throughput per traffic signal .

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!