arXiv:2610.08187cs.CEOct 2026

Manuscript Offprint

arXiv:2610.08187

Hours-of-service-aware siting of charging and battery-swapping stations for long-haul electric trucks under adoption uncertainty

Elnaz Irannezhad, Jia Guo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Planning en-route charging and battery-swapping infrastructure for long-haul battery-electric trucks (BETs) requires models that reflect how trucks actually operate. This paper develops a mixed-integer programming framework that jointly sites charging or swapping stations and schedules each truck's charging, swapping and mandatory driver rest, so that charging time overlaps with regulated rest instead of being added to it. Energy use is derived segment by segment from road terrain with a tractive-force model, and the truck battery is modelled as a set of independently swappable packs. Staged investment under uncertain BET adoption is formulated as a multistage stochastic program with Markovian demand and solved by stochastic dual dynamic integer programming (SDDiP) with Lagrangian cuts; we show that the Lagrangian multipliers can be bounded by each station's annualised cost without weakening the cuts. Applied to twelve freight corridors on Australia's East Coast, the algorithm jointly optimises charging and battery swapping events as well as mandatory break events. A ±30% change in adoption alters the final charge-only network by only −12% to +13% of stations, with over 95% of stations built by the second stage. Hedging against uncertainty mainly changes which sites are chosen (71% overlap with a deterministic rolling-horizon model), not when they are built.

Keywords: Battery-electric trucks; Charging infrastructure; Hours of service; Multistage stochastic programming; Stochastic dual dynamic integer programming; Driver rest regulations

1 Introduction

Battery electric trucks (BETs) are widely regarded as a key pathway to decarbonising road freight, and attention is shifting from urban and regional operations to long-haul corridors (Balke et al., 2024). Their operational feasibility depends not only on battery capacity but also on how charging events are represented, how limited station capacity is allocated and how charging interacts with vehicle schedules. Unlike diesel refuelling, battery replenishment may require substantial dwell time and is affected by the nonlinear charging profile, available infrastructure and uncertain demand. Infrastructure planning must therefore connect spatial deployment decisions with operational constraints, including delivery schedules and mandatory driver rest periods.

Return-to-base operations, in which trucks complete short routes and recharge at a depot, are a plausible early deployment pathway. Long-haul operations require a different planning problem because en-route charging or battery swapping must be coordinated with route geometry, energy use, station capacity and driver regulations. A useful planning model should therefore identify infrastructure that is feasible for representative freight movements while making its assumptions about demand, technology and regulation explicit.

Distance-based station placement alone does not guarantee an economically or operationally feasible network. Existing heavy-vehicle rest areas, passenger electric vehicle (EV) charging sites and diesel refuelling locations may offer different combinations of land, access, amenities and electrical infrastructure. Co-locating replenishment facilities with rest areas may reduce the incremental delay associated with charging when the charging event can overlap with a required break. This is particularly advantageous, as it aligns charging dwell time with regulated driver rest periods, thereby minimising productivity impacts. Where feasible, expansion of existing EV charging infrastructure may also reduce marginal upgrade costs, though dedicated high-capacity connections or on-site energy management solutions for heavy vehicles may still be required. Finally, existing diesel refuelling sites along major freight corridors present strong candidates for early-stage retrofitting due to their established heavy-vehicle access, strategic locations, and supporting amenities; however, the significantly higher power requirements of heavy-duty charging necessitate careful assessment of electrical capacity, civil works, and site layout constraints. Importantly, infrastructure planning should adopt a network-level optimisation framework accounting for truck charging demands and prioritising strategically located stations at freight corridor intersections to maximise utilisation and reduce redundant capital expenditure (CAPEX) investments. Capacity and station siting design must be informed by freight volume projections and peak demand modelling to ensure operational reliability while maintaining cost efficiency.

This paper develops a staged planning framework that combines uncertain BET demand, candidate-site feasibility, station capacity and route-level charging or swapping schedules. The framework considers demand stages associated with increasing BET penetration and identifies station locations and capacity requirements as demand evolves. It also evaluates whether regulated rest periods can absorb some replenishment time. BET charging demand on each corridor is derived from observed traffic volumes at several adoption levels, and its growth is represented by a Markov chain over low, mid and high adoption branches. These stochastic demands feed a cost-delay optimisation model that determines which candidate sites to open at each adoption stage, how many chargers or swap batteries each site requires, and how each truck combines charging or swapping with the mandatory short breaks and long rests of its driver. The result is a staged deployment plan whose site choices hedge against the range of adoption paths.

The literature on BET charging infrastructure heavily focuses on mathematical optimisation methods to address facility location or vehicle routing problems. Whitehead et al. (2021) argue that current optimisation models of this nature function well for strategic planning. However, they have difficulty in representing the dynamic complexity of actual operations. The early BET studies have simplified the technical and operational constraints. For example, numerous optimisation models adopt the charging time and battery state-of-charge (SoC) as a linear relationship. The lithium-ion battery is charged following a non-linear profile, and the speed of charging is reduced when the battery is almost full, which is the tapering phase. When the non-linear behaviour of the battery is ignored, it is possible that "optimistic" operational schedules will appear that cannot be realised in practice (Montoya et al., 2017).

Furthermore, early studies often relied on other simplified assumptions, such as the requirement to always fully recharge the battery. Although overnight depot charging remains the most common strategy for fleet operations to avoid downtime, opportunity charging through battery swapping or fast charging can extend the daily operating range. Furthermore, the separation of charger deployment from vehicle scheduling usually results in the inefficient use of capital (Bertucci et al., 2024). It becomes particularly important for heavy vehicle operations, because heavy vehicles must take mandatory rests and follow the fatigue management schemes set by heavy vehicle regulators. The mandatory truck driver rest duration can be utilised for charging or battery swapping purposes.

Three questions motivate this study. First, how much charging or swapping infrastructure do long-haul freight corridors require when energy use is derived from terrain, charging follows a non-linear curve, and charging or swapping is scheduled jointly with mandatory driver rest? Second, how sensitive is that requirement to the balance between capital cost and driver delay, and does the sensitivity differ by corridor? Third, how much does planning under adoption uncertainty, rather than for a single forecast, change which stations are built and when?

To answer these questions, this study makes five contributions. First, unlike a flat, distance-proportional approximation of energy use, the proposed model derives energy consumption directly from the road corridor's vertical alignment. The road centreline for each route is discretised into 1-kilometre segments, each of which is assigned a terrain-derived grade. A physics-based tractive-force model is then applied to each segment to determine whether the truck draws energy from the battery (level or uphill travel) or returns energy to the battery through regenerative braking (sufficiently steep descents), and a constant auxiliary electrical load is added on top of traction demand. Segment-level energy values are summed to obtain cumulative energy consumption between the origin and destination of each route, and between consecutive candidate charging/swapping facilities along the route.

Second, the model jointly sites stations and schedules charging or swapping together with mandatory driver rest. Charging and rest are allowed to overlap, so charging adds to trip time only when it outlasts the rest the driver must take anyway. Earlier studies schedule charging and rest along a given route with given stations (Bai et al., 2023; Wan et al., 2024; Zähringer et al., 2024; Kahlert et al., 2026); here station locations are decision variables. We implement a stylised two-tier rule (a 10-minute short break after at most 2 hours of continuous driving and a 30-minute long rest after at most 5 hours of cumulative driving) that requires more frequent rest than the minimum under Australia's Standard Hours (Section 4). Other two-tier regimes can be represented by only changing four parameters.

Third, this study considers multi-pack batteries on trucks instead of one battery. This introduces a more realistic assumption where each battery is independently swappable. Most existing studies target passenger cars and last-mile delivery vans, which carry a single battery pack, so the battery has not been modelled as an indexed set of packs. Modular heavy-truck swapping systems already allow one to three standardised packs per truck (Barnard, 2026). In this study, we assume each truck is equipped with a fixed number of battery modules. In a modular battery-swapping system, the number of packs exchanged during a single swapping event may vary, such that either a single pack or multiple packs can be replaced. By contrast, for charging, the onboard charging system distributes power across the individual battery modules, enabling simultaneous charging of all batteries.

Fourth, staged investment under uncertain adoption is formulated as a multistage stochastic program with Markovian demand and solved by stochastic dual dynamic integer programming (SDDiP), building on Zou et al. (2019). At each adoption stage, the policy decides which stations to open, given the stations already built and the adoption level observed so far; an opened station is never closed. Because station costs are discounted, a station that is not yet needed is cheaper to build later, and the stochastic policy weighs this against the risk of having to add stations if adoption turns out high. Methodologically, multistage stochastic integer programs of the kind formulated here are increasingly solved with SDDiP (Zou et al., 2019), which has been applied to power-system capacity expansion (Lara et al., 2020). Stagewise-dependent uncertainty is commonly handled by modelling the random process as a Markov chain and keeping a separate cost-to-go approximation for each Markov state (Dowson and Kapelevich, 2021; Löhndorf and Shapiro, 2019). We adopt this approach for BET adoption. We also show that the Lagrangian multipliers used to generate SDDiP cuts can be bounded by each station's annualised cost without weakening the cuts (Proposition 2), and that the cuts remain valid when dual iterations or MILP solves are stopped early (Proposition 1). Fifth, a route's peak-hour flow can be split into several parallel sub-flows, each free to use different stations, so that peak demand is served jointly by multiple capacity-constrained stations rather than by a single facility.

Section 2 provides a review of the literature and research gap. Section 3 introduces the methods and model formulation. Section 4 presents the case study, and Section 5 presents the results. Section 6 discusses the results, and Section 7 concludes the study and outlines study limitations and future research directions.

References (48)