Skip to content

Commit

Permalink
Adding settings to run telemcommute scenarios.
Browse files Browse the repository at this point in the history
  • Loading branch information
Modeller authored and Modeller committed Jul 13, 2022
1 parent 95bedc9 commit 9dea340
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 15 deletions.
26 changes: 25 additions & 1 deletion daysim_configuration_template.properties
Original file line number Diff line number Diff line change
Expand Up @@ -426,4 +426,28 @@ AV_SharingEconomy_ConstantForOwning4Vehicles = -1.0

BCA_WriteAggregateLogsumsToPersonRecords = false
WriteResidentialBufferDensityToOwnOrRent = true
PaidRideshare_UseEstimatedInsteadOfAssertedCoefficients = true
PaidRideshare_UseEstimatedInsteadOfAssertedCoefficients = true

# Telecommute
UseDiaryVsSmartphoneBiasVariables = $TELECOMMUTE
UseProxyBiasVariables = $TELECOMMUTE
UseWorkAtHomeModelAndVariables = $TELECOMMUTE
WorkAtHome_DurationThreshold = 2.5
WorkAtHome_AlternativeSpecificConstant = -1.918
WorkAtHome_PartTimeWorkerCoefficient = -0.038
WorkAtHome_Income0to50Coefficient = 0.020
WorkAtHome_IncomeOver150Coefficient = 0.249
WorkAtHome_NonWorkerAndKidsInHHCoefficient = 0
WorkAtHome_NoVehiclesInHHCoefficient = 0.266
WorkAtHome_FractionMedicalJobsCoefficient = -1.131
WorkAtHome_FractionEducationJobsCoefficient = 0
WorkAtHome_FractionServiceJobsCoefficient = 0
WorkAtHome_FractionOtherJobsCoefficient = -0.325
WorkAtHome_FractionGovernmentJobsLowIncomeCoefficient = -0.968
WorkAtHome_FractionIndustrialJobsLowIncomeCoefficient = -0.576
WorkAtHome_FractionRetailFoodJobsLowIncomeCoefficient = -0.873
WorkAtHome_FractionOfficeJobsLowIncomeCoefficient = 0.051
WorkAtHome_FractionGovernmentJobsHigherIncomeCoefficient = -0.968
WorkAtHome_FractionIndustrialJobsHigherIncomeCoefficient = -0.576
WorkAtHome_FractionRetailFoodJobsHigherIncomeCoefficient = -0.873
WorkAtHome_FractionOfficeJobsHigherIncomeCoefficient = 0.051
21 changes: 11 additions & 10 deletions input_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
##############################
# Initial Setup
##############################
run_accessibility_calcs = True
run_setup_emme_project_folders = True
run_setup_emme_bank_folders = True
run_copy_scenario_inputs = True
run_import_networks = True
run_accessibility_calcs = False
run_setup_emme_project_folders = False
run_setup_emme_bank_folders = False
run_copy_scenario_inputs = False
run_import_networks = False

##############################
# Model Procedures
##############################
run_skims_and_paths_free_flow = True
run_skims_and_paths = True
run_truck_model = True
run_supplemental_trips = True
run_skims_and_paths_free_flow = False
run_skims_and_paths = False
run_truck_model = False
run_supplemental_trips = False
run_daysim = True
run_summaries = True
run_summaries = False

##############################
# Modes and Path Types
Expand All @@ -37,6 +37,7 @@
include_tnc_to_transit = False # AV to transit path type allowed
include_knr_to_transit = False # Kiss and Ride to Transit
include_delivery = False
include_telecommute = True

##############################
# Pricing
Expand Down
15 changes: 12 additions & 3 deletions inputs/model/coefficients/IndividualPersonDayPatternModel.F12
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
126 W-INTDEN T .000000000000 .000000000000
127 W-ACCLOG F .208574021361 .482325096352E-01
128 W-T-LOGS F .108712811663 .171652486846E-01
129 W-S-LOGS T .000000000000 .000000000000
129 W-S-LOGS T .000000000000 .000000000000
134 W-WATHOME T -10.2100000000 .000000000000
151 W-FTW T .100000000000 .000000000000
200 S-TASC F 1.00000000000 .126055258252
201 S-SASC F .250527471761 .352211973827
Expand All @@ -52,7 +53,8 @@
226 S-INTDEN T .000000000000 .000000000000
227 S-ACCLOG T .000000000000 .000000000000
228 S-T-LOGS T .100000000000 .000000000000
229 S-S-LOGS T .000000000000 .000000000000
229 S-S-LOGS T .000000000000 .000000000000
234 S-WATHOME T 1.30000000000 .000000000000
251 S-FTW T .000000000000 .000000000000
300 E-TASC F -2.50000000000 .234283483337
301 E-SASC F -2.00000000000 .289383426208
Expand Down Expand Up @@ -83,6 +85,7 @@
327 E-ACCLOG T .000000000000 .000000000000
328 E-T-LOGS F -.402814156802E-01 .205861866843E-01
329 E-S-LOGS F -.179238721996E-01 .230829524579E-01
334 E-WATHOME F -1.40000000000 .000000000000
351 E-FTW F .231141115699 .923043481694E-01
400 P-TASC F -1.70000000000 .196662851185
401 P-SASC F -.400000000000E-01 .267241793116
Expand Down Expand Up @@ -113,6 +116,7 @@
427 P-ACCLOG T .000000000000 .000000000000
428 P-T-LOGS F -.303237822839E-01 .147838668001E-01
429 P-S-LOGS F -.331574869640E-01 .183613758519E-01
434 P-WATHOME T -1.70000000000 .000000000000
451 P-FTW T .000000000000 .000000000000
500 H-TASC F -1.40000000000 .181807649431
501 H-SASC F .684639749398 .260633296495
Expand Down Expand Up @@ -143,6 +147,7 @@
527 H-ACCLOG T .000000000000 .000000000000
528 H-T-LOGS F -.990772992029E-02 .136828090178E-01
529 H-S-LOGS F -.340075996586E-01 .230408235344E-01
534 H-WATHOME T -2.00000000000 .000000000000
551 H-FTW T .000000000000 .000000000000
600 M-TASC F -3.16500764780 .150259640217
601 M-SASC F -.714129706605 .252909699025
Expand Down Expand Up @@ -173,6 +178,7 @@
627 M-ACCLOG T .100000000000 .000000000000
628 M-T-LOGS F .270652839789E-01 .143308245660E-01
629 M-S-LOGS F -.237266979579E-01 .203522377021E-01
634 M-WATHOME T -.700000000000 .000000000000
651 M-FTW T .000000000000 .000000000000
700 D-TASC F -1.60000000000 .145815968942
701 D-SASC F -.400000000000 .231790144821
Expand Down Expand Up @@ -203,6 +209,7 @@
727 D-ACCLOG T .000000000000 .000000000000
728 D-T-LOGS F .471011364865E-01 .130683101885E-01
729 D-S-LOGS F .330431482080E-01 .173437963982E-01
734 D-WATHOME F -1.20000000000 .000000000000
751 D-FTW F -.181999194674 .575835462377E-01
802 T-PTW F .482161162082 .109512246390
803 T-RET F .414394647083E-01 .129588946039
Expand All @@ -229,6 +236,7 @@
825 T-MIXDEN T .000000000000 .000000000000
826 T-INTDEN F .776394676716E-03 .285022273998E-03
827 T-ACCLOG F .606809861420E-01 .159257402511E-01
834 T-WATHOME F 2.30000000000 .000000000000
851 T-FTW T .100000000000 .000000000000
902 I-PTW T .000000000000 .000000000000
903 I-RET T .000000000000 .000000000000
Expand All @@ -254,7 +262,8 @@
924 I-WAHOME F .796000431416 .684389755626
925 I-MIXDEN T .000000000000 .000000000000
926 I-INTDEN T .000000000000 .000000000000
927 I-ACCLOG T .000000000000 .000000000000
927 I-ACCLOG T .000000000000 .000000000000
934 M-WATHOME F -1.60000000000 .000000000000
951 I-FTW T .000000000000 .000000000000
1010 TW/S-LS F .467024948568 .451036146479E-01
1011 T/S-W/W F .356271067666 .400514889656
Expand Down
6 changes: 5 additions & 1 deletion run_soundcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,12 @@ def main():
logger.info("Starting run at %s" % str((time_start)))

if not should_build_shadow_price:
if include_telecommute:
telecommute = "true"
else:
telecommute = "false"
# Set up your Daysim Configration
modify_config([("$SHADOW_PRICE" ,"true"),("$SAMPLE",pop_sample[iteration]),("$RUN_ALL", "true")])
modify_config([("$SHADOW_PRICE" ,"true"),("$SAMPLE",pop_sample[iteration]),("$RUN_ALL", "true"),("$TELECOMMUTE" , telecommute)])

else:
# We are building shadow prices from scratch, only use shadow pricing if pop sample is 2 or less
Expand Down

0 comments on commit 9dea340

Please sign in to comment.