Skip to content

Upgrade ActivitySim to v1.5.1#425

Open
JiaXu1024 wants to merge 6 commits into
mainfrom
asim_151
Open

Upgrade ActivitySim to v1.5.1#425
JiaXu1024 wants to merge 6 commits into
mainfrom
asim_151

Conversation

@JiaXu1024
Copy link
Copy Markdown
Contributor

@JiaXu1024 JiaXu1024 commented May 4, 2026

Proposed changes

This PR updates the ABM model to use ActivitySim version 1.5.1, with necessary compatibility changes to configuration files and code.

Changes

  • Updated dependencies: Bumped ActivitySim version to v1.5.1 in requirements
  • Configuration updates: Removed deprecated estimation_table_recipes parameter from estimation YAML files (no longer accepted in v1.5.1)
  • Code fixes:
    -- Removed unavailable imports and updated function calls
    -- Added missing model_settings argument to choose_MAZ_for_TAZ() function calls
  • Environment updates: Updated environment references to asim_151

Impact

No impacts to model outputs

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)
  • ActivitySim version update

How has this been tested?

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

  • Model runs successfully with ActivitySim v1.5.1
  • Test B

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

Further comments

This upgrade addresses API changes in ActivitySim v1.5.1 and ensures compatibility with the latest version.

@JiaXu1024 JiaXu1024 self-assigned this May 4, 2026
@JiaXu1024 JiaXu1024 added enhancement dependencies Pull requests that update a dependency file labels May 4, 2026
Copy link
Copy Markdown
Contributor

@aber-sandag aber-sandag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update documentation for setting up UV environment with updated environment name (asim_151) and activation env variable (activate_uv_asim_151). https://sandag.github.io/ABM/installation.html#setting-up-the-uv-python-environment

@JiaXu1024 JiaXu1024 requested a review from aber-sandag May 4, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants