Abstract
The rapid adoption of electric vehicles (EVs) poses significant challenges to existing power grid infrastructures due to the high, unpredictable demand they introduce. This paper presents a novel dynamic Model Predictive Control (MPC) framework designed to coordinate EV charging with grid power generation. Utilizing a "bang-bang" (on/off) charging strategy, the proposed system simplifies hardware requirements while maintaining grid stability. A two-stage optimization solver is introduced to handle the resulting Mixed-Integer Nonlinear Programming (MINLP) problem, ensuring computational efficiency for real-time applications. Simulations across various standard power network models demonstrate that the approach achieves near-optimal performance, effectively shifting loads to off-peak periods and minimizing operational costs.
Introduction
As the global transition toward sustainable transportation accelerates, electric vehicles (EVs) have moved from niche products to mainstream commodities. While essential for decarbonization, the widespread integration of EVs presents a paradox for power utilities. A massive, unregulated "plug-in" event—such as a neighborhood returning home at 6:00 PM—could easily overwhelm local transformers, cause voltage instability, and lead to localized blackouts.
Traditional power grids were designed for predictable residential and industrial loads. EVs introduce "elastic" demand that is highly stochastic; the exact arrival time, departure time, and required state-of-charge (SoC) for any given vehicle are unknown until the moment of connection. Existing management solutions often rely on static scheduling or over-simplified linear models of the grid. However, power grids are inherently nonlinear systems governed by complex AC power flow equations. Ignoring these physics can result in "optimal" schedules that are physically infeasible or hazardous to grid health.
This paper addresses the challenge of dynamic, joint optimization: managing a fluctuating fleet of EVs while simultaneously optimizing generator output, all while strictly adhering to the nonlinear physical constraints of the electrical grid.
Methodology
The researchers propose a framework built on three technical pillars: Bang-Bang control, Model Predictive Control, and a specialized two-stage solver.
Bang-Bang Control and Temporal Framework
Instead of employing continuous variable-rate charging, which requires complex and expensive power electronics, the authors utilize a bang-bang strategy. In this model, a vehicle is either charging at its maximum rated power or is completely disconnected (off). This discrete approach simplifies implementation at the charging station level.
As shown in the figure above, the system operates over a discretized time horizon $T$. For each EV, the arrival and departure times define a window within which the required energy must be delivered. The "charging period" consists of specific time slots where the bang-bang controller is set to "on."
Model Predictive Control (MPC)
To manage the inherent uncertainty of EV arrivals, the system employs a "rolling horizon" MPC approach. At each time step, the controller solves an optimization problem for the entire future horizon based on current information. However, only the control action for the immediate next step is implemented. As new vehicles arrive or conditions change, the problem is re-solved, allowing the grid to adapt dynamically to real-time demand.
Two-Stage MINLP Solver
The integration of discrete charging states (binary variables) with nonlinear grid physics results in a Mixed-Integer Nonlinear Programming (MINLP) problem. Such problems are typically NP-hard and computationally prohibitive for real-time grid management. The authors overcome this with a two-stage approach:
- Stage 1: Charging Scheduling. The complex grid constraints are relaxed to find a high-quality charging schedule. To avoid slow branch-and-bound methods, a mathematical "penalty function" is used to force charging variables toward binary values (0 or 1) within a continuous optimization space.
- Stage 2: Grid Optimization. Given the fixed charging schedule from Stage 1, the system solves for optimal generator power and bus voltages using a nonsmooth optimization algorithm that respects the full nonlinear AC power flow equations.
Experimental Validation
The framework was validated using standard benchmarks and real-world data to ensure practical relevance:
- Power Network Models: Four standard "Matpower" cases (Case9, Case14, Case30, and Case57) were used to test scalability across grids of varying complexity.
- Demand and Pricing: Residential load profiles and electricity price data were sourced from the Australian Energy Market Operator (AEMO) for the year 2017.
- EV Fleet Modeling: The simulation modeled a fleet based on Tesla Model S specifications, assuming 100 kWh battery capacities and standard charging efficiencies.
Results and Discussion
The proposed system demonstrated high performance across several key metrics:
- Optimality: The MPC-based "online" results were found to be remarkably close to the "offline optimal" benchmark—the theoretical maximum efficiency achievable if all future arrivals were known in advance.
- Computational Speed: For a 30-bus system managing 252 EVs, the average computation time was approximately 35 seconds. Given the 30-minute time slots used in the study, this confirms the algorithm's suitability for real-time deployment.
- Grid Stability: Unlike linear models, this framework successfully maintained voltage levels within safe operating limits by accounting for reactive power and nonlinear losses.
- Load Leveling: The system effectively shifted EV charging to periods of low residential demand and lower electricity prices, reducing the peak-to-average ratio on generators.
Conclusion
The "Bang-Bang" charging framework provides a robust, scalable solution for integrating EVs into the smart grid. By combining simple control logic with sophisticated mathematical optimization, the authors demonstrate that it is possible to maintain grid stability and reduce costs without requiring perfect foresight of driver behavior.
Future research may explore the impact of varying charging rates across different vehicle models and the potential for Vehicle-to-Grid (V2G) capabilities, where EVs can discharge power back into the grid during peak demand. Additionally, the communication requirements and cybersecurity aspects of such a distributed control system warrant further investigation.
Summary updated