How to skim PT measures by line post-processing TraceIJ reports


Users might find useful to skim measures from a Public Transport program (PT) by post-processing the TraceI/J reports provided in the Reporto File. 

To generate this report from the route Evaluation step, it is necessary to specify the ROUTEO (or ROUTEI) sub-keywords below in the Public Transport program: TRACEI, TRACEJ

PT then will generate a table for each route boundle, with the structure shown in the example below:

N: 16 Mode WaitA TimeA Actual B/XPen Percvd Dist Total Lines(weight)
-> 477 100 - 9.17 9.17 - 9.17 0.38 0.38
-> 690 2 9.45 2.66 21.28 0.00 25.07 1.46 1.84 Flashb(1.000)
-> 690 - - 0.00 21.28 - 25.07 0.00 1.84
-> 757 2 3.00 7.14 31.43 5.00 41.41 4.42 6.26 Flash(0.629) Blue(0.371)
-> 1348 200 - 11.47 42.90 - 52.88 0.48 6.74
-> 1349 1 4.00 1.29 48.18 5.00 64.76 0.60 7.34 Cubetown Rail(1.000)
-> 9 100 - 5.33 53.51 - 70.09 0.22 7.56
Mode TimeA Dist IWaitA XWaitA
1 1.29 0.60 0.00 4.00
2 9.80 5.88 9.45 3.00
100 14.50 0.60
200 11.47 0.48
Probability=0.0101

These tables contain several useful information. The example that can be downloaded below provides an example on how these information can be processed to produce, as an example, an OD matrix with skims at line level:

In the example, to variables have been skimmed in this way: weighted average actual in-vehicle travel time and number of boardings.

The demonstrative application provided below contains the following steps:

  1. Public Transport program undertaking PT network building + route enumeration and evaluation - with generation of TraceI/J report
  2. Matrix program converting the TraceI/J report into tabular format - note: for very large PT networks it might be necessary to generate the TraceI/J report for sub-zones only, due to the size of the generated files
  3. Matrix program listing the lines used in each route boundle, with their proportion
  4. Matrix program combining the above information into a single table and generating skimming measures (weighted averages based on probabilities)
  5. Matrix program generating the final skim matrix in tabular format (screenshot above) for the selected measures

Download link for the example catalog:

/cfs-file/__key/communityserver-wikis-components-files/00-00-00-06-46/PT_5F00_processing_5F00_TraceIJ_5F00_for_5F00_Skimming.zip