RSGInc / bca4abm

Benefit Cost Analysis for Travel Demand Models
http://rsginc.github.io/bca4abm/
Other
7 stars 5 forks source link

output od benefit trace data for districts pairs #88

Closed bstabler closed 5 years ago

bstabler commented 5 years ago

We currently write out trace files for 4step as follows;

What we want to do instead for the od processor is write a sum for each origin district to destination district pair. We will code the districts at the TAZ level, probably in the COCs definition file. We will then trace out a FROM DISTRICT, TO DISTRICT, aggregated calculation result for expression 1, aggregated calculation result for expression 2, etc. The output file will look something like this:

FROM DISTRICT TO DISTRICT TRIPS TIMES ...
zone-group-1 zone-group-1 5678 78 ...
zone-group-1 zone-group-2 456 34 ...
zone-group-2 zone-group-1 1234 234 ...
zone-group-2 zone-group-2 8786 222 ...