TL;DR
This paper introduces the first deterministic online algorithms that achieve the best possible competitive ratio for scheduling electric vehicle (EV) charging under unpredictable real-time electricity pricing. By elegantly balancing electricity costs with user dissatisfaction (the "penalty" for not being fully charged), the proposed algorithms provide a robust, "win-win" solution for both consumers and grid operators without requiring any future price forecasts.
What Problem Does This Paper Address?
As renewable energy fluctuates, power grids increasingly rely on demand response—incentivizing users to shift their consumption to off-peak hours. EVs are perfect candidates for this because their charging is flexible. However, real-time electricity prices are notoriously volatile and hard to predict.
Most existing charging strategies are "offline" (assuming we know future prices) or "stochastic" (assuming we know the probability distribution of prices). In reality, an EV owner must make an irrevocable decision every few minutes: Do I charge now at the current price, or wait and hope it gets cheaper later? If they wait too long and prices stay high, they end up with an empty battery and high "user dissatisfaction." This paper tackles the challenge of making these decisions in a truly "online" setting where the future is a total mystery.
Methods
The authors formulate the problem as a minimization of a joint objective: Total Charging Cost + User Dissatisfaction. Dissatisfaction is modeled as a linear penalty for every unit of energy the battery is short of its target at the end of the charging window.
The core contribution consists of two deterministic online algorithms:
- $ALG(\pi^*)$: A "pessimistic" algorithm that maintains a fixed, theoretically optimal performance ratio (competitive ratio) relative to an imaginary offline optimal that knows the future.
- Adaptive $ALG$: An improved version that adaptively updates its target performance ratio based on observed prices, allowing it to perform much better in typical (non-worst-case) scenarios.
To handle realistic charging rate limits (where you can't just fill the whole battery in one 5-minute slot), the authors employ a divide-and-conquer technique. They decompose the total battery capacity into multiple "unit-capacity" sub-problems, distributing the charging load across time slots using an "input distributor" that ensures the overall rate limit is never exceeded.
Datasets
The study evaluates the algorithms using real-world electricity price traces:
- ComEd (Illinois, USA): 5-minute interval real-time pricing data from June 2017 to June 2018.
- Scenario Parameters: A typical residential scenario where an EV (8.8kW charger, 24kWh battery) is parked from 5:00 PM to 8:00 AM.
Key Insights and Ideas
- The Dissatisfaction Parameter ($\alpha$): This value acts as a "soft ceiling." If the electricity price exceeds $\alpha$, the algorithm recognizes it is cheaper to suffer the dissatisfaction of an uncharged battery than to pay the exorbitant electricity cost.
- The "Price of Uncertainty": The authors derive a tight bound for the competitive ratio: $\min \{ \sqrt{\alpha/p_{min}}, p_{max}/p_{min} \}$. This formula explicitly shows how the range of possible prices ($p_{max}, p_{min}$) and the user's tolerance for dissatisfaction ($\alpha$) dictate how well any online algorithm can possibly perform.
- Divide-and-Conquer Simplicity: One of the "aha moments" is showing that a complex problem with charging rate limits can be perfectly solved by treating the battery as a stack of unit-sized "slices" and solving for each slice independently. This incurs zero loss in optimality.
- Pessimism vs. Opportunism: While $ALG(\pi^*)$ is safe, it's often too conservative. The adaptive $ALG$ demonstrates that by being "opportunistic" when prices are low, you can significantly beat the theoretical worst-case guarantees without ever performing worse than the fixed-ratio version.
Key Results
- Theoretical Optimality: The proposed algorithms are proven to achieve the best possible competitive ratio among all deterministic online algorithms.
- Empirical Performance: In simulations using real ComEd data, the algorithms' actual performance was substantially better than their theoretical worst-case bounds.
- Superiority over Baselines: The proposed $ALG_{int}$ outperformed common alternatives like Receding Horizon Control (RHC) (which relies on look-ahead windows) and naive threshold-based strategies, especially when price patterns were irregular.
- Charging Rate Impact: The results show that increasing the EV's charging rate limit decreases the overall cost almost linearly, as it gives the algorithm more flexibility to "grab" energy during brief windows of low prices.
Limitations and Future Work
- Linear Dissatisfaction: The model assumes dissatisfaction grows linearly with the missing charge. In reality, a user might feel "fine" at 90% charge but "panicked" at 20%, suggesting a non-linear (convex) dissatisfaction function might be more realistic.
- Price-Taker Assumption: The paper assumes a single EV's charging doesn't change the market price. If thousands of EVs used this algorithm simultaneously, they might inadvertently create new price peaks.
- Future Directions: The authors suggest exploring scenarios where the charging deadline ($T$) is unknown (e.g., the user might leave early) or where the algorithm must guarantee a minimum "emergency" charge level regardless of price.
Summary updated