From 79ad1dd1220dcc1421011eca7145ecd12e324146 Mon Sep 17 00:00:00 2001 From: JoeJimFlood Date: Fri, 18 Oct 2024 08:52:02 -0700 Subject: [PATCH] Removed initial wait time from transit travel time calculations --- src/main/python/AMTravelTimeReporterConfigs.yaml | 3 --- src/main/python/MDTravelTimeReporterConfigs.yaml | 3 --- src/main/python/TravelTimeReporter.py | 3 --- 3 files changed, 9 deletions(-) diff --git a/src/main/python/AMTravelTimeReporterConfigs.yaml b/src/main/python/AMTravelTimeReporterConfigs.yaml index c7802cd77..f4bc1dc75 100644 --- a/src/main/python/AMTravelTimeReporterConfigs.yaml +++ b/src/main/python/AMTravelTimeReporterConfigs.yaml @@ -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 diff --git a/src/main/python/MDTravelTimeReporterConfigs.yaml b/src/main/python/MDTravelTimeReporterConfigs.yaml index a1708fbde..981bde183 100644 --- a/src/main/python/MDTravelTimeReporterConfigs.yaml +++ b/src/main/python/MDTravelTimeReporterConfigs.yaml @@ -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 diff --git a/src/main/python/TravelTimeReporter.py b/src/main/python/TravelTimeReporter.py index aaf00f59f..dd3dd1246 100644 --- a/src/main/python/TravelTimeReporter.py +++ b/src/main/python/TravelTimeReporter.py @@ -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"]]