SANDAG / ABM

Sandag ABM
https://github.com/SANDAG/ABM/wiki
20 stars 21 forks source link

161 remove tnc accessegress skims from the model #169

Open aletzdy opened 1 month ago

aletzdy commented 1 month ago

Proposed changes

Removing TNC access/egress skims from the model

Impact

This update will reduce model runtime and disk usage:

Types of changes

What types of changes does your code introduce to ABM? Put an x in the boxes that apply

How has this been tested?

Please describe the tests that you ran to verify your changes.

Further comments

Code was reviewed by SANDAG staff.

aber-sandag commented 1 month ago

Visitor model trip mode choice preprocessor still references TNC skims. However, these lines (122-134) are no longer used, so it would be best to just remove them. Does not need to be part of this PR unless these lines result in errors with missing TNC skims.

https://github.com/SANDAG/ABM/blob/161-remove-tnc-accessegress-skims-from-the-model/src/asim/configs/visitor/trip_mode_choice_annotate_trips_preprocessor.csv#L122-L134

aber-sandag commented 1 month ago

TNC skims still referenced in write trip matrices annotator for crossborder and visitor models. These models do not use TNC-transit mode, so these lines are unused and should be removed. As above, does not need to be part of this PR unless it is causing errors.

https://github.com/SANDAG/ABM/blob/161-remove-tnc-accessegress-skims-from-the-model/src/asim/configs/crossborder/write_trip_matrices_annotate_trips_preprocessor.csv#L299

aber-sandag commented 2 weeks ago

TNC skims still referenced in write trip matrices annotator for crossborder and visitor models. These models do not use TNC-transit mode, so these lines are unused and should be removed. As above, does not need to be part of this PR unless it is causing errors.

https://github.com/SANDAG/ABM/blob/161-remove-tnc-accessegress-skims-from-the-model/src/asim/configs/crossborder/write_trip_matrices_annotate_trips_preprocessor.csv#L299

I ran a scenario with these changes, and it crashed in Crossborder due to this issue (AssertionError: 3d skim key TNCOUT_LOC_TOTALIVTT not in skims). Presumably all cases I mentioned previously where TNC skims are still referenced (though unused) need to be resolved. It should be possible to just remove these lines.

aber-sandag commented 2 weeks ago

After removing the mentioned lines, 2022 and 2035 build scenarios completed successfully. Did not find any clear differences in mode share compared to previous runs, though difficult to tell due to low volume of TNC transit trips.