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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started