Layovers

A layover, also known as recovery time, is the time scheduled at the end of the journey before the departure of the next journey.

Overview

Layover calculationLayover / recovery time is scheduled for two reasons: 

•   To provide time for the vehicle operator to take a break (layover)
•   To provide time to get back on schedule before the next trip departs if the trip arrives late at the end of the route (recovery).

Layovers in Podaris

In Podaris, layovers can be specified as:
  • A percentage of a trip's runtime
  • A maximum duration (seconds, minutes or hours)
  • A minimum duration (seconds, minutes or hours)
Default layovers can be specified on a per-agency basis, and edited by updating the agency details Layovers can also be set on a per-trip basis, which will override the agency defaults.

Layover Example

Podaris calculates the layover times for your trip in the following way:

layover = min(maxLayover, max(minLayover, runtime * LayoverPercentage))

Using the following values as an example, we can deduce that the layover would be 6 minutes:

outbound duration = 30 min
inbound duration = 30 min
runtime = 30 min + 60 min = 60 min
layoverPercentage = 10%
minlayover = 5 min
maxLayover = 20 min

layover = min(20 min, max(5 min, 60 min * 10%))
= min(20 min, max(5 min, 6 min))
= min(20 min, 6 min)
= 6 min

This would have the impact of increasing the final runtime to 66 mins. This layover is then split into two halves, with 3 minutes applied at the end of the outbound journey, and 3 minutes applied at the end of the inbound journey.