Describe the bug
We noticed this issue during MAZ assignment. MAZ assignment complains that there are vehicle trips longer than our pre-defined distance threshold for MAZ assignment, which should not happen.
We use the trip_dist column from the CT-RAMP trip list to select trips that are subject to MAZ assignment. It turns out that trip_dist is inaccurate. The screenshot below shows the EA vehicle trip table for MAZ assignment, where MAZ_x, MAZ_y, orig_taz, dest_taz, trip_dist, eq_cnt, taz_distance are the origin MAZ, destination MAZ, origin TAZ, destination TAZ, trip_dist from CT-RAMP trip list, number of vehicle trips, and lastly, the distance skim from highway TAZ skims. You can see that there are a couple of OD pairs with large discrepancies between the trip_dist and the highway distance skim.
We should investigate deeper:
- How is
trip_dist created and why doesn't it match skims?
- Whether
trip_dist is used in CT-RAMP, and if so, any implications? It's used by tm2py only in MAZ assignment.
Progress:
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Failing tests
Triggering line of code
Thoughts on resolution
Full stack trace
Environment
Operating system:
Context (conda, jupyter, etc):
Environment (e.g. output from conda list):
Describe the bug
We noticed this issue during MAZ assignment. MAZ assignment complains that there are vehicle trips longer than our pre-defined distance threshold for MAZ assignment, which should not happen.
We use the
trip_distcolumn from the CT-RAMP trip list to select trips that are subject to MAZ assignment. It turns out thattrip_distis inaccurate. The screenshot below shows the EA vehicle trip table for MAZ assignment, whereMAZ_x,MAZ_y,orig_taz,dest_taz,trip_dist,eq_cnt,taz_distanceare the origin MAZ, destination MAZ, origin TAZ, destination TAZ,trip_distfrom CT-RAMP trip list, number of vehicle trips, and lastly, the distance skim from highway TAZ skims. You can see that there are a couple of OD pairs with large discrepancies between thetrip_distand the highway distance skim.We should investigate deeper:
trip_distcreated and why doesn't it match skims?trip_distis used in CT-RAMP, and if so, any implications? It's used by tm2py only in MAZ assignment.Progress:
To Reproduce
Steps to reproduce the behavior:
Failing tests
Triggering line of code
Thoughts on resolution
Full stack trace
Environment
Operating system:
Context (conda, jupyter, etc):
Environment (e.g. output from
conda list):