Skip to content

Commit

Permalink
Merge pull request #221 from SANDAG/ttr_remove_init_wait
Browse files Browse the repository at this point in the history
Removed initial wait time from transit travel time calculations
  • Loading branch information
bhargavasana authored Oct 21, 2024
2 parents 167ccc9 + 79ad1dd commit 9365b92
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/main/python/AMTravelTimeReporterConfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ infinity: 999
outfile: report\walkMgrasWithin45Min_AM.csv

transit_skim_matrices: # If set to True, replace values of zero with the number set as infinity
WALK_LOC_FIRSTWAIT__{}: False
WALK_LOC_XFERWALK__{}: False
WALK_LOC_XFERWAIT__{}: False
WALK_LOC_TOTALIVTT__{}: True
WALK_PRM_FIRSTWAIT__{}: False
WALK_PRM_XFERWALK__{}: False
WALK_PRM_XFERWAIT__{}: False
WALK_PRM_TOTALIVTT__{}: True
WALK_MIX_FIRSTWAIT__{}: False
WALK_MIX_XFERWALK__{}: False
WALK_MIX_XFERWAIT__{}: False
WALK_MIX_TOTALIVTT__{}: True
Expand Down
3 changes: 0 additions & 3 deletions src/main/python/MDTravelTimeReporterConfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ infinity: 999
outfile: report\walkMgrasWithin45Min_MD.csv

transit_skim_matrices: # If set to True, replace values of zero with the number set as infinity
WALK_LOC_FIRSTWAIT__{}: False
WALK_LOC_XFERWALK__{}: False
WALK_LOC_XFERWAIT__{}: False
WALK_LOC_TOTALIVTT__{}: True
WALK_PRM_FIRSTWAIT__{}: False
WALK_PRM_XFERWALK__{}: False
WALK_PRM_XFERWAIT__{}: False
WALK_PRM_TOTALIVTT__{}: True
WALK_MIX_FIRSTWAIT__{}: False
WALK_MIX_XFERWALK__{}: False
WALK_MIX_XFERWAIT__{}: False
WALK_MIX_TOTALIVTT__{}: True
Expand Down
3 changes: 0 additions & 3 deletions src/main/python/TravelTimeReporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,21 +320,18 @@ def get_transit_time(self):
print("Calculating transit times")

_loc_time = (
self.skims["WALK_LOC_FIRSTWAIT__" + self.settings["time_period"]] +
self.skims["WALK_LOC_XFERWALK__" + self.settings["time_period"]] +
self.skims["WALK_LOC_XFERWAIT__" + self.settings["time_period"]] +
self.skims["WALK_LOC_TOTALIVTT__" + self.settings["time_period"]]
)

_prm_time = (
self.skims["WALK_PRM_FIRSTWAIT__" + self.settings["time_period"]] +
self.skims["WALK_PRM_XFERWALK__" + self.settings["time_period"]] +
self.skims["WALK_PRM_XFERWAIT__" + self.settings["time_period"]] +
self.skims["WALK_PRM_TOTALIVTT__" + self.settings["time_period"]]
)

_mix_time = (
self.skims["WALK_MIX_FIRSTWAIT__" + self.settings["time_period"]] +
self.skims["WALK_MIX_XFERWALK__" + self.settings["time_period"]] +
self.skims["WALK_MIX_XFERWAIT__" + self.settings["time_period"]] +
self.skims["WALK_MIX_TOTALIVTT__" + self.settings["time_period"]]
Expand Down

0 comments on commit 9365b92

Please sign in to comment.