What Depot Batteries Are Worth When Buses Fill Up

Electric bus fleets have to recharge, and recharging competes with service. When electricity is expensive or the depot's chargers are busy, the scheduler can delay a bus's departure or slow it down so that it charges at a cheaper moment. Current scheduling models price the passengers' cost of that delay as a flat penalty per minute. They also usually assume that a bus can carry any number of riders. Under those two assumptions, a few minutes of charging-driven hold looks cheap. In a real morning rush the picture is different. A full bus leaves people at the stop, the next bus is the one being held at the charger, and the riders left behind wait through a whole extra headway. Some of them arrive late to work, and that cost does not grow in proportion to minutes. This note proposes to measure how much of the value of a stationary depot battery has been hidden by those two assumptions. Such a battery decouples bus charging from grid prices, so buses no longer need to be held at peak.

The proposal treats the three directions unequally. Removing the infinite passenger capacity assumption is the core mechanism, because it is what makes delay grow faster than linearly at peak. Stationary energy storage is the decision being studied: whether to install a depot battery and how large. Indirect productivity loss, borrowed from health economics, supplies the way we value delay. It replaces a uniform per-minute charge with a valuation that depends on who is delayed, at what time of day, and whether they cross a work-start threshold. The deliverable is a sizing result an agency could act on. We will also run an explicit test of whether the productivity valuation adds anything beyond simply fixing the capacity assumption.

Core Claim

The claim is that standard integrated charging-and-operations models undervalue stationary depot storage. They do so for two reasons that compound. They let delay accumulate linearly because vehicles never fill, and they price delay uniformly across hours and riders. The optimal battery size and the peak-hour holding policy should change materially once riders can be left behind and lateness is valued with a human-capital-style weighting.

The claim is falsifiable in two separate parts. The first part could be wrong: finite capacity might not shift battery sizing at realistic loads. The second part could be redundant: a single tuned per-minute penalty might reproduce whatever the weighted valuation does. The experiments are built to detect either outcome.

Relation to Prior Work

The closest work integrates charging with transit operations but stops short of both corrections. Integrated Charging Scheduling and Operational Control for an Electric Bus Network solves a mixed-integer program that jointly sets bus holding, speeds and charger use at a single terminal with a finite number of chargers. It uses Lagrangian relaxation, meaning the shared charger constraints are priced rather than enforced so the fleet problem splits into one subproblem per bus line. That paper supplies our method and our strongest baseline. It ignores passenger capacity on the buses, has no stationary battery, and prices delay as an internal agency cost.

Two other papers set constraints on the design.

Three papers motivate the proposal by showing that the infinite capacity assumption breaks at peak.

From health economics we borrow only the valuation logic.

We do not claim transit delay causes clinical presenteeism. The file contains no evidence linking the two, so the productivity parameters are assumptions that we will vary in sensitivity analyses.

Research Program

The model. We extend the integrated model from the closest work in three ways.

First, each stop gets a passenger queue, and each bus visit can board at most its remaining capacity. Let $q_{s,k}$ be the riders waiting at stop $s$ when bus $k$ arrives, $a_{s,k}$ the new arrivals since the previous bus, and $b_{s,k}$ the number boarded. Then

$$q_{s,k+1} = q_{s,k} + a_{s,k} - b_{s,k}, \qquad b_{s,k} \le \min\big(q_{s,k}+a_{s,k},\; C - \ell_{s,k}\big),$$

where $C$ is vehicle capacity and $\ell_{s,k}$ is the onboard load. Riders who cannot board carry over to the next bus. This carry-over is what makes delay grow faster than linearly when holds coincide with full buses.

Second, a stationary battery is added at the depot. It has its own state of charge, a power rating and an energy rating. Depot grid import is billed with time-of-use energy prices plus a demand charge on the peak import level.

Third, the passenger cost becomes

$$L = \sum_{p} \omega_{g(p)}\big(v\, d_p + c\, \mathbf{1}[d_p > \tau_{p}]\big).$$

Here $d_p$ is rider group $p$'s extra delay, $v$ is a wage-based value per minute, and $\tau_p$ is a lateness tolerance that applies only in commute time bands. The term $c$ is an absenteeism-style lump cost for arriving late to work, expressed as a fraction of an hourly wage. The weight $\omega_{g}$ is a productivity weight for the group's time band and demographic mix. The lateness indicator is linearized with standard big-M constraints.

Solving it. One structural observation keeps the model tractable. Passenger capacity constraints live entirely within a single bus line. Only the depot couples lines, through charger occupancy, depot grid power and the shared battery. Lagrangian relaxation therefore still splits the problem by line. The multipliers on depot power play the role of an internal electricity price, and the battery is handled as a small coordinating subproblem. Battery size is chosen in an outer loop over a grid of energy and power ratings, which keeps the inner problem a fixed-size mixed-integer program.

The factorial design. Four model variants cross two factors: infinite versus finite vehicle capacity, and uniform versus productivity-weighted delay valuation. Every plan is evaluated in the same finite-capacity stochastic simulator, regardless of what its planning model assumed. This separates what each model believes from what actually happens to riders.

Baselines

Naive reference. The do-nothing reference is the agency's rule-based practice: charge on arrival when a charger is free and run the fixed timetable, with no battery. This is the baseline against which Integrated Charging Scheduling and Operational Control for an Electric Bus Network reported 11% to 19% lower total operational cost and charging conflicts cut from up to 9.5% to under 1% on Chicago Transit Authority routes.

Strongest existing method. The main competitor is that integrated Lagrangian model, re-implemented as published: infinite passenger capacity, uniform delay penalty, no battery. We then also give it a battery whose size is chosen by its own objective. It is the strongest competitor because it already optimizes holding and charging jointly, and it was the method able to solve 20-line instances (about 2 minutes, where a direct commercial solve found no feasible solution in 30 minutes). Fairness rules are as follows.

  • It receives the same routes, demand, price series, battery cost assumptions and solver time limit.
  • Its uniform delay penalty is tuned by sweeping a scalar over a wide range, so it is not handicapped by a poorly chosen weight.

Beating it means two things in the finite-capacity simulator: lower realized total cost (operator cost plus passenger loss), and fewer left-behind riders in commute bands. Both must hold under the uniform valuation as well as under ours, so the win cannot be an artifact of scoring with our own metric.

Learning-based competitor. The hierarchical constrained reinforcement learning controller from Safe and Sustainable Electric Bus Charging Scheduling with Constrained Hierarchical DRL serves as a stochastic-control competitor on its Guelph routes. It reports cost within about 1% of a perfect-information oracle and roughly 1% battery-safety violations at 20 buses. We give it the same battery and add our passenger cost to its reward, with an equal training budget measured in simulator steps.

Peak-shaving sizing. We include a sequential battery-sizing baseline: freeze the schedule, then size the battery purely to minimize demand charges.

Ablations. Two ablations isolate the key ingredients. The first keeps finite capacity but uses a uniform penalty. The second keeps the weighted valuation but assumes infinite capacity.

Missing numbers. No reported result was found on Lacuna for stationary depot battery sizing in electric bus operations. Battery-related comparisons therefore have no published number to beat and rest on our own runs.

Why not just…?

Why not just raise the uniform delay penalty? This is the most serious threat to the productivity-weighting half of the claim. If finite capacity is modeled, a large enough per-minute penalty may already discourage peak holds. Our test is direct: sweep the scalar and ask whether any value reproduces the weighted model's battery size and peak holding policy at comparable operator cost. If one does, we will report that the weighting is unnecessary and that the contribution is the capacity correction alone. The weighting can only matter where it changes the ranking of delays. A uniform penalty cannot separate a rider at 8:10 who misses a shift start from a rider at 13:00 who does not. The lateness term separates them, and the experiment measures whether that separation changes decisions.

Why not size the battery by peak-shaving on a fixed schedule? Sequential designs perform worse than joint ones in this setting. The integrated model's gains over decoupled rules in Integrated Charging Scheduling and Operational Control for an Electric Bus Network came largely from avoiding the charger conflicts that sequential plans create. A peak-shaving size also ignores the battery's second job: letting the scheduler stop holding full buses at peak. This baseline is in the experiments. If it matches our size, the passenger-side value of storage is negligible.

Why not just buy more chargers? Extra chargers relieve charger contention but not price exposure. With more chargers, buses can charge simultaneously at peak and raise the demand charge, which is exactly the pressure that motivates holding. We include charger count as an alternative investment in the outer loop at matched capital cost. The result reports which investment wins, under which load levels.

Proposed Experiments

We use the Chicago Transit Authority routes 7, 12 and 85 with Vissim-calibrated travel times and demand, priced with Nordpool time-of-use data, from the integrated charging paper. We also use Guelph Transit routes 17 and 18 with MISO prices from the reinforcement learning paper. Guelph is in Ontario, so the Canadian wage of Can$31.90/hour gives a defensible base value for $v$.

Demand is scaled from off-peak up to 130% of observed peak. This tests the prediction that the gap between infinite-capacity and finite-capacity plans is near zero off-peak and grows as load factors approach one. That gradient is the mechanism signature.

First decisive check. In the finite-capacity simulator, measure the infinite-capacity planner's realized left-behind riders and commute-band lateness at peak. Then compare its chosen battery size with the size chosen by the finite-capacity planner. A small gap at realistic peak loads would refute the core claim.

Second decisive check. Run the scalar-penalty sweep described above. Report whether any uniform penalty recovers the weighted plan.

Robustness. We vary the lateness tolerance, the lump cost $c$, the productivity weights, battery capital cost, and the demand-charge rate. We report the region of parameter space in which a depot battery pays back within its lifetime.

Distribution of losses. Following the distributional analysis paper, we report losses by stop and time band, not only in aggregate.

Scalability. We repeat the 20-line synthetic scalability test. The goal is to show that adding queue and battery constraints keeps the Lagrangian solve within the minutes-scale budget that made the original method practical.