Skip to main content
The optimizer minimizes total tour time. Because charging is fastest at a low state of charge, the time-optimal plan sometimes contains a very short “bridge” charge — a stop of only a few minutes that adds just enough energy to reach a faster charger or clear the SoC safety floor. If short stops are operationally undesirable for your fleet, set min_charge_duration_min (0–100 minutes, default 0 = no floor). Charging sessions shorter than the floor are removed from the optimizer’s decision space: every planned charging stop is then at least that long, or the energy is shifted to other stops entirely.

Request

A ~280 km round trip between Arnhem and Alkmaar, with a 10-minute floor:

Effect on the plan

Without the floor, the optimizer plans a short top-up on this route:
With min_charge_duration_min=10, the same stop is planned at the floor instead:
The truck charges slightly longer and arrives with more energy; total tour time increases by at most the difference per affected stop. With a high floor the optimizer restructures the plan instead — fewer, longer sessions, or the energy moves into other stops.
  • The floor applies to pure charging time. The reported service_time_min additionally contains the connecting and parking overhead.
  • Planning granularity is 2 minutes: odd values round up to the next step (values of 2 or less have no effect).
  • The floor constrains the planned session. When the battery reaches the planned target SoC early, the reported session can end sooner.
  • Overnight rest charging is not affected — see Limitations.