Skip to content

Commit

Permalink
landuse and reindex in loc choice
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensle committed Mar 7, 2024
1 parent 6d817be commit 0630659
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions activitysim/abm/models/location_choice.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
)
from activitysim.core.interaction_sample import interaction_sample
from activitysim.core.interaction_sample_simulate import interaction_sample_simulate
from activitysim.core.util import reindex

# import multiprocessing

Expand Down Expand Up @@ -157,6 +158,8 @@ def _location_sample(
"orig_col_name": skims.orig_key, # added for sharrow flows
"dest_col_name": skims.dest_key, # added for sharrow flows
"timeframe": "timeless",
"reindex": reindex,
"land_use": inject.get_table("land_use").to_frame(),
}
locals_d.update(model_settings.CONSTANTS or {})

Expand Down Expand Up @@ -620,6 +623,8 @@ def run_location_simulate(
"orig_col_name": skims.orig_key, # added for sharrow flows
"dest_col_name": skims.dest_key, # added for sharrow flows
"timeframe": "timeless",
"reindex": reindex,
"land_use": inject.get_table("land_use").to_frame(),
}
locals_d.update(model_settings.CONSTANTS or {})

Expand Down

0 comments on commit 0630659

Please sign in to comment.