Skip to content

Commit

Permalink
Added estimation functionality for telecommute_frequency_model
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdman committed Sep 12, 2023
1 parent 49a20fb commit 0950b80
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions activitysim/estimation/larch/simple_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,3 +377,21 @@ def transponder_ownership_model(
1: 2, # 1 means pass, alternative 2
},
)

def telecommute_frequency_model(
name="telecommute_frequency",
edb_directory="output/estimation_data_bundle/{name}/",
return_data=False,
):
return simple_simulate_model(
name=name,
edb_directory=edb_directory,
return_data=return_data,
choices={
"No_Telecommute" : 1,
"1_day_week" : 2,
"2_3_days_week" : 3,
"4_days_week" : 4,
},
)

0 comments on commit 0950b80

Please sign in to comment.