Developer.Matrix Routing : Traffic Modes comparison

deals with computation of distance matrices
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2780
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Developer.Matrix Routing : Traffic Modes comparison

Post by Bernd Welter »

Hi there,

Technical Concept "TrafficMode"

as the handling of
  • TrafficMode: NULL / AVERAGE / REALISTIC
  • StartTime: NULL / hh:mm...
  • SYNC / ASYNC
seems to be confusing sometimes I decided to prepare some fancy example.
Take your time to look into the charts to learn from the overview...
Coordinates are been based on <br />48.9236907958984,8.47517967224121<br />48.9424781799316,8.40237045288086<br />49.0109596252441,8.40847969055176
Coordinates are been based on
48.9236907958984,8.47517967224121
48.9424781799316,8.40237045288086
49.0109596252441,8.40847969055176
  • TrafficMode = null , Start Time = null
  • TrafficMode = AVERAGE , Start Time = null
  • TrafficMode = AVERAGE , Start Time = 16:00
  • TrafficMode = AVERAGE , Start Time = 23:00
  • TrafficMode = REALISTIC , Start Time = 16:00
  • TrafficMode = REALISTIC , Start Time = 23:00
MatrixRouting-GRID.png
  • TrafficMode=NULL produces equal results as TrafficMode=Average (if StartTime == null)
  • TrafficMode=Average, StartTime=NULL produces more relaxed results than TrafficMode=Average, StartTime=16:00
  • TrafficMode=Average, StartTime=23:00 produces more relaxed results than TrafficMode=Average, StartTime=16:00
  • TrafficMode=Average, StartTime=23:00 produces more relaxed results than TrafficMode=Average, StartTime=NULL
  • Average(16:00) produces more relaxed results than Realistic(16:00)
MatrixRouting-Chart-TraveltimesDistances.png
  • Start Time given or not has a clear impact on Calculation Time
Whenever a start time is given the calculation time is way higher than without a start time
Whenever a start time is given the calculation time is way higher than without a start time


Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2780
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Developer.Matrix Routing : Traffic Modes comparison

Post by Bernd Welter »

I made some more tests...
Combined
  • various (square) matrix sizes
  • complexity
    • average without start time
    • average with start time
    • average with toll time
    • realistics with start time
  • protocols: sync versus async
Please be aware that not every combination is supported (as of today, 21.3.2025).
Here are some impossible ones:
  • SYNC + AVERAGE + StartTime (no matter what size)
  • ASYNC + REALISTIC + TollTime (no matter what size)
  • SYNC + AVERAGE + extended size (>250'000 relations)
History of my calls
History of my calls
Calculation times somewhere clearly below 60 seconds
Calculation times somewhere clearly below 60 seconds
Attachments
Sample dataset of about 500 locations in the wide area around Berlin
Sample dataset of about 500 locations in the wide area around Berlin
Sample dataset of about 2'000 zipcode locations in Austria
Sample dataset of about 2'000 zipcode locations in Austria
matrix-Performance 02.png
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply