number of drivers and route time

Deals with generic topics such as logging, framework and so on. If you are not sure where to place your topic just put it here.

number of drivers and route time

Postby filipp » Tue Sep 15, 2015 2:03 pm

Hello !
We are currently having trouble calculating route time considering the number of drivers.
There is a route parameter NUMBER_OF_PASSENGERS, but it is influencing only the toll costs.
How is it possible to calculate the time of the route taking into consideration that there are 1 or 2 drivers ?
Threre is a method xRoute.calculateAdvancedTour which should do the thing, but still there is a question if using DriverRegulations, does it mean that we have to define all the regulations considering different countries regarding working/rest hours manually.
Does the xRoute support implicitly regulations only for single-driver crew ?

Thank you in advance for your attention to this matter.
Posts: 3
Joined: Thu Sep 10, 2015 8:36 am

Re: number of drivers and route time

Postby Bernd Welter » Wed Sep 16, 2015 4:12 pm

Hello Filipp,

you should be able to model the two-drivers-scenario (also known as "multi-manning") according to the following info:

  • Question: What is Multi-Manning?
  • Answer: Article 4(o) of the EU Driver Regulation: ‘multi-manning’ means the situation where, during each period of driving between any two consecutive daily rest periods, or between a daily rest period and a weekly rest period, there are at least two drivers in the vehicle to do the driving. For the first hour of multi-manning the presence of another driver or drivers is optional but for the remainder of the period it is compulsory;

  • Question: What changes according to law?
  • Answer: Article 8.5 of the EU Driver Regulation: By way of derogation from paragraph 2, within 30 hours of the end of a daily or weekly rest period, a driver engaged in multi-manning must have taken a new daily rest period of at least nine hours.

  • Parameter Setting in Multi-Manning Case
  • For multi-manning you should:
    • double the driving periods of the RegulationParameters as both drivers will take turns:
      breakRule_drivingPeriod, dailyRestRule_regularDrivingPeriod, dailyRestRule_extendedDrivingPeriod, weeklyRestRule_weeklyDrivingPeriod, weeklyRestRule_biWeeklyDrivingPeriod
    • change two more values of the RegulationParameters according to article 8.5:
      dailyRestRule.regularRestPeriod = 32400 (9h) instead of 39600 (11h), dailyRestRule.maximumPeriodBetweenEndOfDailyRests = 108000 (30h) instead of 86400 (24h)
    • disable the break rule as the co-driver will take a break while the other is driving

Taken from the TimeCalculator documentation (i.e. TimeCalc.dll)

User avatar
Bernd Welter
Site Admin
Posts: 1070
Joined: Mon Apr 14, 2014 10:28 am

Re: number of drivers and route time

Postby C5092632 » Fri Jun 22, 2018 11:41 am

Hello PTV experts!

Let me raise the problem of multi-manning again.

I need to calculate the tour (truck/road) duration against the number of drivers assigned to a tour (either 1 or 2). Apparently the duration with 2 drivers should be shorter because the 2nd driver drives while the 1st one takes a rest and I'm looking for a easiest solution. Maybe since 3 years back there's more sophisticated solution appeared (e.g. just specifying the particular Context Property Profile in calculateAdvancedTour) and you can suggest.

Thanks in advance!

Posts: 1
Joined: Wed Jun 20, 2018 3:56 pm

Re: number of drivers and route time

Postby Bernd Welter » Wed Jul 04, 2018 7:30 am

Hello Nikolai,

here's some feedback from Alex (developer and expert for time calculation):
  • If you provide two drivers instead of one single driver the result tours can be shorter.
  • The period for a single driver in the multi scenario could be calculated by tour period / number of drivers.
  • What exactly is the open question or expectation? Do you want the service / algorithm to decide whether you should provide a second driver or not?
Best regards,
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
Posts: 1070
Joined: Mon Apr 14, 2014 10:28 am

Return to Generic questions