Skip to content

ABM3 Bike Route Choice Model Update#389

Merged
bhargavasana merged 66 commits intomainfrom
ABM3_bike_route_choice_RSG
Feb 20, 2026
Merged

ABM3 Bike Route Choice Model Update#389
bhargavasana merged 66 commits intomainfrom
ABM3_bike_route_choice_RSG

Conversation

@aber-sandag
Copy link
Contributor

Proposed changes

Re-implements the existing Java bike route choice model in Python with some simplification and bugfixes. Also updates the bike model specification based on a Copenhagen study identified in a literature review. More information in the report here: https://github.com/SANDAG/ABM/blob/ABM3_bike_route_choice_RSG/docs/pdf_reports/SANDAG_ABM3_Bike_Model_Report.pdf

Impact

Conversion from Java to Python maintains consistency with the rest of the model and enables removal of old Java files (in combination with other updates, see #366). Simplification and re-implementation greatly reduces runtime, from 2.5 hours down to 20 minutes.

Types of changes

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

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

How has this been tested?

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

  • Ran bike logsum step for 2022 and confirmed output files were generated
  • Ran 2022 scenario with updated logsum files and calibration (see Abm3 recalib #384)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

dhensle and others added 30 commits December 30, 2024 17:11
updates include randomized coefficients, batching and multiprocessing, correctly unmapping node ids, centroid selection, and output writing
@bhargavasana bhargavasana merged commit b6122a5 into main Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants