Skip to content

Commit

Permalink
Removed microConstant from travel time reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeJimFlood committed Oct 15, 2024
1 parent 5d869ff commit f54463e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/python/TravelTimeReporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ def coalesce_results(self):
_ebikeMaxTime = self.constants["ebikeMaxDist"] / self.constants["ebikeSpeed"] * 60
_escooterMaxTime = self.constants["escooterMaxDist"] / self.constants["escooterSpeed"] * 60

_ebikeTime = self.results["bike"] * self.constants["bikeSpeed"] / self.constants["ebikeSpeed"] + self.results["i"].map(self.land_use["MicroAccessTime"]) + self.constants["microConstant"] + self.constants["microRentTime"]
_escooterTime = self.results["bike"] * self.constants["bikeSpeed"] / self.constants["escooterSpeed"] + self.results["i"].map(self.land_use["MicroAccessTime"]) + self.constants["microConstant"] + self.constants["microRentTime"]
_ebikeTime = self.results["bike"] * self.constants["bikeSpeed"] / self.constants["ebikeSpeed"] + self.results["i"].map(self.land_use["MicroAccessTime"]) + self.constants["microRentTime"]
_escooterTime = self.results["bike"] * self.constants["bikeSpeed"] / self.constants["escooterSpeed"] + self.results["i"].map(self.land_use["MicroAccessTime"]) + self.constants["microRentTime"]

self.results["ebike"] = np.where(
_ebikeTime > _ebikeMaxTime,
Expand Down

0 comments on commit f54463e

Please sign in to comment.