Simulation of traffic at T-Junction

31
Simulation of Traffic at T-Junction

Transcript of Simulation of traffic at T-Junction

Page 1: Simulation of traffic at T-Junction

Simulation of Traffic

at T-Junction

Page 2: Simulation of traffic at T-Junction

N S

Page 3: Simulation of traffic at T-Junction

N S

Arrival Rate at Junction

every

6.28 s

Page 4: Simulation of traffic at T-Junction

N S

Max carsin Aisle 8

Page 5: Simulation of traffic at T-Junction

N STime toCross lane 3.6 s

Time toMerge in Traffic 4 s

Page 6: Simulation of traffic at T-Junction

N S

Arrival RateSouthbound 55 5sArrival Rate

Northbound 60 5s

Page 7: Simulation of traffic at T-Junction

N S

Time taken tocross Junction 15 5 s

Page 8: Simulation of traffic at T-Junction

GENERAL PURPOSE SIMULATION SYSTEM

Page 9: Simulation of traffic at T-Junction

? What is GPSS?

Page 10: Simulation of traffic at T-Junction

t

v

Discrete Time Simulation General Purpose Programming Language

Page 11: Simulation of traffic at T-Junction

+ = G P S S

ServicesTransaction

Page 12: Simulation of traffic at T-Junction

21 3

1Service

1Transaction

Page 13: Simulation of traffic at T-Junction

21 3

1Service

1Transaction

Page 14: Simulation of traffic at T-Junction

21 3

1Service

1Transaction

Page 15: Simulation of traffic at T-Junction

21 3

1Service

1Transaction

Page 16: Simulation of traffic at T-Junction

21 3

1Service

1Transaction

Page 17: Simulation of traffic at T-Junction

GENERATE TERMINATE

Basic GPSS Blocks

Page 18: Simulation of traffic at T-Junction

QUEUE DEPART

Basic GPSS Blocks

Page 19: Simulation of traffic at T-Junction

SEIZE RELEASE

Basic GPSS Blocks

Page 20: Simulation of traffic at T-Junction

ADVANCE

Basic GPSS Blocks

Page 21: Simulation of traffic at T-Junction

Let’s Come Back to the Project

Page 22: Simulation of traffic at T-Junction

Creating

Create Simulation Ready

Page 23: Simulation of traffic at T-Junction

Simulation Starts

for

60,000 unit time

as 1 unit time = 1/100 second

Page 24: Simulation of traffic at T-Junction

Simulation in Action

Page 25: Simulation of traffic at T-Junction
Page 26: Simulation of traffic at T-Junction

Outcome from the Simulation

Page 27: Simulation of traffic at T-Junction

Determine the transit time of northbound cars turning

at the T-Junction.

From the TRANSIT table we can see that: Mean Time = 4297.153 Unit Time Time (In Second) = 4297.153/100 = 42.97153 seconds

Page 28: Simulation of traffic at T-Junction

Tabulate the actual Erlang service times.

Crossing Time (Mean) = 359.996/100 = 3.59996 Crossing Time (S.D.) = 37.999/100 = 0.37999

Merge Time (Mean) = 400.181/100 = 4.00181 Merge Time (S.D.) = 44.992/100 = 0.44992

Page 29: Simulation of traffic at T-Junction

Find the maximum number of cars queuing in the lane,

waiting to make a right turn.

Max cars waiting for a right turn are 8.

FIRST Queue denotes queue of the cars waiting for a right turn.

Page 30: Simulation of traffic at T-Junction

Need for Traffic Simulation• To derive a plan for traffic control.

• Traffic Engineering

• Transportation Planning

Page 31: Simulation of traffic at T-Junction

Thank You