Transcript

Simulation of Traffic

at T-Junction

N S

N S

Arrival Rate at Junction

every

6.28 s

N S

Max carsin Aisle 8

N STime toCross lane 3.6 s

Time toMerge in Traffic 4 s

N S

Arrival RateSouthbound 55 5sArrival Rate

Northbound 60 5s

N S

Time taken tocross Junction 15 5 s

GENERAL PURPOSE SIMULATION SYSTEM

? What is GPSS?

t

v

Discrete Time Simulation General Purpose Programming Language

+ = G P S S

ServicesTransaction

21 3

1Service

1Transaction

21 3

1Service

1Transaction

21 3

1Service

1Transaction

21 3

1Service

1Transaction

21 3

1Service

1Transaction

GENERATE TERMINATE

Basic GPSS Blocks

QUEUE DEPART

Basic GPSS Blocks

SEIZE RELEASE

Basic GPSS Blocks

ADVANCE

Basic GPSS Blocks

Let’s Come Back to the Project

Creating

Create Simulation Ready

Simulation Starts

for

60,000 unit time

as 1 unit time = 1/100 second

Simulation in Action

Outcome from the Simulation

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

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

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.

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

• Traffic Engineering

• Transportation Planning

Thank You

top related