can road traffic volume information improve partitioning ... · lero (c) 2014 why sumo? • tapas,...

58
Lero (c) 2014 Can Road Traffic Volume Information Improve Partitioning for Distributed SUMO? Ulrich Dangel, Quentin Bragard, Patrick McDonagh, Anthony Ventresque and Liam Murphy

Upload: others

Post on 13-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Can Road Traffic Volume Information Improve Partitioning

for Distributed SUMO?

Ulrich Dangel, Quentin Bragard, Patrick McDonagh, Anthony Ventresque and Liam Murphy

Page 2: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Ulrich Dangel !

@mr_ud | [email protected] http://dangel.im

Page 3: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

TRAFFIC

• Software Engineering issues within Intelligent Transportation Systems

• VANET (NS3 & SUMO)

• Global Route balancing (SUMO)

• Distributed Simulation (SUMO)

Page 4: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Why SUMO?

• TAPAS, rl-world scenario, not 100x100 grid

• dSUMO

• TraCI

Page 5: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Objective

• Use traffic information to improve map partitioning

• Unbalanced partitions cause delay/waiting time

Page 6: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Datasets / Open Data

• Dublin - SCATS & TRIPS via dublinked

• SCATS preliminary data

• TRIPS - realtime

Page 7: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Dublin SCATS

Page 8: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Dublin TRIPS

Page 9: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Dublin TRIPS

Page 10: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Datasets / Open Data

• Dublin - SCATS & Trips via dublinked

• SCATS preliminary data

• TRIPS - realtime

• Census data

• Manual vehicle count

Scenario for inner city Dublin by Ronan Doolan

Page 11: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Partitioning

Page 12: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI
Page 13: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI
Page 14: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

} map & reduce

Page 15: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Map Partitioning

Page 16: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Quadtree

Page 17: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Quadtree

Page 18: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Quadtree

0

5

10

15

20

Population (in Million)

North Rhine-Westphalia BavariaBaden-Württemberg Lower Saxony

Page 19: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Region Growing

Page 20: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Region Growing

Page 21: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Region Growing

Page 22: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Smart Quadtree

Page 23: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Smart Quadtree

Page 24: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Smart Quadtree

Page 25: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Region Growing

Page 26: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

SParTSim

Page 27: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

SParTSim

Page 28: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

SParTSim

Page 29: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

SParTSim

Page 30: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Heuristic

Page 31: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Heuristic

H(e) = dist(e)lanes(e)

Page 32: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Usage Data

Page 33: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Change Heuristic

• Use real-data / runtime data to improve partitioning

• Use volume data - TAPASCologne

• Can be calculated offline

Page 34: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Usage Data

Nw Node weight

ct total number of carswt

=ctn

cmax

ctn cars at node

Nw =X

wtctnct

Page 35: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Extensions

Page 36: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Extension Quadtree

Wp =X

Nwp

Page 37: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Extension Quadtree

Page 38: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Extension Smart Quadtree

XNwppartition to join =

Page 39: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Extension Smart Quadtree

Page 40: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Extension SParTSim

• Only start node selection was modified

• Trading phase uses the existing, established method

• Identify impact of starting node

Page 41: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Extension SParTSim

Page 42: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Equality

Page 43: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Equality QuadTree - 4

0.4

0.5

0.6

0.7

0.8

0 2000 4000 6000Step

Sim

pson

Inde

x

4 partitions

Page 44: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Equality QuadTree - 10

0.3

0.4

0.5

0.6

0 2000 4000 6000Step

Sim

pson

Inde

x

10 partitions − modified

10 partitions − unmodified

Page 45: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Equality - Smart QT - 4

0.4

0.6

0.8

1.0

0 2000 4000 6000Step

Sim

pson

Inde

x

4 partitions − modified

4 partitions − unmodified

Page 46: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Equality - Smart QT 8

0.3

0.4

0.5

0.6

0.7

0.8

0 2000 4000 6000Step

Sim

pson

Inde

x

8 partitions − modified

8 partitions − unmodified

Page 47: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Equality - SParTSim - 4

0.5

0.6

0.7

0.8

0 2000 4000 6000Step

Sim

pson

Inde

x

4 partitions − modified

4 partitions − unmodified

Page 48: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Equality - SParTSim 8

0.4

0.5

0.6

0.7

0 2000 4000 6000Step

Sim

pson

Inde

x

8 partitions − modified

8 partitions − unmodified

Page 49: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Conclusion

• Using volume data can improve partitioning

• Smart Quadtree (modified) can achieve better results than SParTSim

Page 50: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Questions?

Page 51: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Ulrich Dangel !

@mr_ud [email protected]

Page 52: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Outlook

• Update dSUMO to support latest SUMO

• Switch to embedded Python

• Evaluate repartitioning strategies

Page 53: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Wishlist ;)

• Speed up TRaCI

• Maybe luas scripting interface?

Page 54: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Visualisation

Page 55: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Simpson Diversity Index

Dt =1P

p=0(Cp/Ct)2p

Page 56: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Communication - QT

0

500

1000

1500

0 2000 4000 6000Step

Mes

sage

s

4 partitions

10 partitions − modified

10 partitions − unmodified

Page 57: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Communication - Smart QT

0

1000

2000

3000

0 2000 4000 6000Step

Mes

sage

s 4 partitions − modified

4 partitions − unmodified

8 partitions − modified

8 partitions − unmodified

Page 58: Can Road Traffic Volume Information Improve Partitioning ... · Lero (c) 2014 Why SUMO? • TAPAS, rl-world scenario, not 100x100 grid ! • dSUMO! • TraCI

Lero (c) 2014

Communication

0

1000

2000

3000

4000

5000

0 2000 4000 6000Step

Mes

sage

s 4 partitions − modified

4 partitions − unmodified

8 partitions − modified

8 partitions − unmodified