Residential Electric Vehicle Orderly Charging Strategy Considering the Capacity of Public Charging Piles: A Two-Stage Optimization Model

The global energy landscape is undergoing a profound transformation, driven by the dual pressures of fossil fuel supply constraints and escalating environmental pollution. In this context, new energy technologies have seen rapid development and adoption. The automotive sector, a major contributor to carbon emissions, is shifting towards electrification, leading to an exponential increase in the number of Battery Electric Vehicles (BEVs) on the roads. As the primary location for daily charging, residential communities have become the frontline for integrating these battery EV cars into the power grid. However, the charging behavior of a large fleet of battery EV cars, if left unmanaged, poses significant challenges to the safety, stability, and economic operation of the power system. Uncoordinated charging, typically concentrated during evening peak hours when residents return home, can exacerbate existing load peaks, cause transformer overloads, increase network losses, and threaten power quality. Therefore, developing effective orderly charging strategies for battery EV cars in residential areas has emerged as a critical research focus.

The widespread adoption of battery EV cars in communities is currently hampered by a severe shortage of charging infrastructure. Several factors contribute to this “charging difficulty.” First, the capacity of distribution transformers in existing residential areas is often limited. Upgrading this infrastructure involves substantial capital investment and complex engineering work. Second, many residents lack dedicated parking spaces, which is a prerequisite for installing a private charging point. This mismatch between battery EV car ownership and the ability to install home chargers creates a significant access gap. To alleviate this pressure, property managers and service providers are increasingly installing shared public charging piles in common parking areas. These public piles offer a flexible solution but introduce new scheduling complexities, as they are a shared resource not dedicated to a single vehicle owner. While prior research has explored various orderly charging strategies, often assuming sufficient charging point availability, fewer studies address the more common and challenging scenario of limited public charging resources. This paper tackles this gap by explicitly modeling the distinction between private and public piles. We propose a novel two-stage orderly charging optimization model that prioritizes maximizing the service capacity of the limited public charging infrastructure before jointly scheduling all battery EV car charging loads to achieve grid-friendly and cost-effective outcomes.

The core of our strategy is a hierarchical decision-making process. We classify the charging scenario based on the relationship between the number of available public charging piles ($N_{com}$) and the number of public pile users with charging demand ($N_{dem}$). The three states are: Overflow State ($N_{com} \geq N_{dem}$), where conventional orderly charging suffices; Sufficient State ($N_{com} < N_{dem}$, but all demands can be met with smart scheduling); and Deficit State ($N_{com} < N_{dem}$, and some demands cannot be satisfied due to physical constraints). Our two-stage model is specifically designed for the latter two, more constrained states.

Mathematical Model and Methodology

Stage 1: Day-Ahead Public Pile Acceptance Maximization

The objective of the first stage is to determine the maximum number of public pile battery EV cars that can be physically accommodated given the limited number of piles, parking space occupancy rules, and transformer capacity limits. This stage answers a fundamental planning question before detailed charging schedules are made.

Objective Function: Maximize the acceptance number $N_{acc}$.
$$ \max N_{acc} = \sum_{n=1}^{N_{com}} \delta_n $$
where $\delta_n \in \{0,1\}$ is a binary variable indicating whether the charging demand of public battery EV car $n$ can be satisfied.

Constraints:

  1. Charging Power: Assuming constant-power charging.
    $$ P^{ch}_{n,t} = L_{n,t} \cdot P^{ch}_{max} $$
    Here, $P^{ch}_{n,t}$ is the actual charging power of vehicle $n$ at time $t$, $P^{ch}_{max}$ is the rated charging power, and $L_{n,t} \in \{0,1\}$ indicates the charging state.
  2. Public Pile Usage & Occupancy: A vehicle can only charge if it is occupying a public pile parking spot.
    $$ L_{n,t} \leq u_{n,t} $$
    A public pile user typically connects only once per charging session.
    $$ \sum_{t=1}^{T} y_{n,t} \leq 1 $$
    where $y_{n,t} \in \{0,1\}$ indicates the start of occupancy. The occupancy variable $u_{n,t}$ links to the start variable through logical constraints (e.g., once $y_{n,t}=1$, $u_{n,k}=1$ for $k=t, t+1, …$ until departure). The total simultaneous occupancy cannot exceed the number of piles.
    $$ \sum_{n=1}^{N} u_{n,t} \leq N_{com} $$
  3. Late-Night Scheduling Constraint: To respect community quiet hours, if a vehicle returns during a predefined late-night period $[T_{a,n}, T^{end}_{deep}]$, its parking spot occupancy status remains unchanged until the end of that period.
    $$ u_{n,\sigma} = 1 \text{ or } 0, \quad \sigma \in [T_{a,n}, T^{end}_{deep}] $$
  4. Demand Satisfaction Logic: If a vehicle occupies a pile ($\sum_t y_{n,t}=1$), its charging demand must be met ($\delta_n=1$). This is enforced by:
    $$ \delta_n = \sum_{t=1}^{T} y_{n,t} $$
    The final State of Charge (SOC) must reach the desired level $SOC^E$ if accepted.
    $$ SOC^E \cdot E^{bat}_n – M(1 – \delta_n) \leq E_{n,T} \leq SOC^E \cdot E^{bat}_n + M(1 – \delta_n) $$
    where $E^{bat}_n$ is the battery capacity, $E_{n,T}$ is the energy at the final time $T$, and $M$ is a large constant.
  5. Transformer Capacity Limit: The total load from base load ($P^{base}_t$), public battery EV cars, and private battery EV cars ($P^{ch}_{m,t}$) must not exceed the transformer rating $P^{trans}_{max}$.
    $$ \sum_{n=1}^{N_{com}} P^{ch}_{n,t} + \sum_{m=1}^{N_{pri}} P^{ch}_{m,t} + P^{base}_t \leq P^{trans}_{max} $$
    For this stage, private battery EV car charging can be considered as a fixed or conservatively estimated profile.

The solution to this stage yields the maximum achievable acceptance number, $N_{acc}^{max}$.

Stage 2: Intra-Day Coordinated Orderly Charging Scheduling

The second stage takes the maximum acceptance number $N_{acc}^{max}$ as a given constraint. Its goal is to find the optimal charging schedule for all accepted public pile battery EV cars and all private pile battery EV cars, optimizing for grid and user benefits.

Multi-Objective Function: We consider three key objectives:

  1. Minimize Grid Power Fluctuation: To support grid stability, we minimize the fluctuation of the total power drawn from the distribution grid.
    $$ \min F_1 = \sum_{t=2}^{T} | P^{total}_t – P^{total}_{t-1} | $$
    where $P^{total}_t$ is the sum of base load and all battery EV car charging power at time $t$.
  2. Minimize Total Charging Cost: To benefit users, we minimize total electricity cost under Time-of-Use (TOU) tariffs.
    $$ \min F_2 = C_{com} + C_{pri} = \sum_{t} \pi_t \cdot \left( \sum_{n} P^{ch}_{n,t} + \sum_{m} P^{ch}_{m,t} \right) \Delta t $$
    where $\pi_t$ is the electricity price at time $t$.
  3. Minimize Public User Waiting Time: To ensure fairness and service quality for public pile users, we minimize the total waiting time before charging starts.
    $$ \min F_3 = \sum_{n=1}^{N_{com}} T^{wait}_n $$
    where $T^{wait}_n = t^{start}_n – t^{arrival}_n$, the difference between scheduled charge start time and arrival time.

These objectives can be combined into a single objective using a weighted sum approach: $\min F = \omega_1 F_1 + \omega_2 F_2 + \omega_3 F_3$, where $\omega_i$ are weighting factors.

Key Constraint from Stage 1:
$$ \sum_{n=1}^{N_{com}} \delta_n = N_{acc}^{max} $$
This ensures the scheduling solution does not compromise the maximum service capacity determined in the day-ahead stage. All constraints from Stage 1 related to charging dynamics, energy demand, and transformer capacity remain in effect, but are now applied to the detailed schedule for both vehicle types.

Case Study and Simulation Analysis

We evaluate the proposed two-stage strategy using a simulated residential community case. The community has a transformer with a capacity of 1250 kVA. The base load profile is taken from a typical residential dataset. The Time-of-Use (TOU) electricity tariff structure used in the simulation is as follows:

Period Time Interval Electricity Price (USD/kWh)
Off-Peak 00:00 – 08:00 0.05
Mid-Peak 12:00 – 17:00, 21:00 – 24:00 0.12
On-Peak 08:00 – 12:00, 17:00 – 21:00 0.18

The electric vehicle fleet parameters are summarized below:

Parameter Value
Number of Private Pile battery EV cars 50
Number of Public Pile battery EV cars with Demand 50
Number of Public Charging Piles ($N_{com}$) 10
battery EV car Battery Capacity ($E^{bat}$) 35 kWh
Charging Power ($P^{ch}_{max}$) 7 kW (AC Level 2)
Charging Efficiency ($\eta$) 0.95
Target State of Charge ($SOC^E$) 0.9

The stochastic behavior of each battery EV car is modeled using probability distributions derived from travel surveys:

  • Arrival Time ($t_{arr}$): Normally distributed, $N(\mu=17.47, \sigma=3.41)$ hours.
  • Departure Time ($t_{dep}$): Normally distributed, $N(\mu=8.92, \sigma=3.24)$ hours.
  • Initial SOC upon Arrival ($SOC_{init}$): Normally distributed, $N(\mu=0.51, \sigma=0.18)$.

The two-stage optimization model is implemented and solved using a mixed-integer linear programming (MILP) solver.

Simulation Results and Discussion

The performance of the proposed Two-Stage Orderly Charging Strategy is compared against an Uncoordinated Charging scenario, where each battery EV car starts charging immediately upon arrival at maximum power until its battery is full.

Performance Metric Uncoordinated Charging Proposed Two-Stage Strategy Improvement
Total Charging Cost (USD) 163.50 102.35 -37.4%
Load Peak-to-Valley Difference (kW) 729.1 450.6 -38.2%
Maximum Total Load (kW) 1359.9 (108.8% of Transformer Rating) 998.2 (79.9% of Transformer Rating) —
Public Pile battery EV car Acceptance 36 vehicles* 42 vehicles +16.7%
Average Waiting Time (min) 0 (immediate start) 32 —
* In the uncoordinated case, acceptance is limited by pile congestion and transformer overloading, causing charging interruptions.

The results clearly demonstrate the superiority of the proposed strategy. Under uncoordinated charging, the simultaneous plug-in of many battery EV cars during the evening return peak (coinciding with the grid’s on-peak period) creates a severe “peak-on-peak” effect. The total load exceeds the transformer’s safe operating capacity, risking equipment failure and necessitating costly infrastructure upgrades. Furthermore, because the 10 public piles are immediately occupied, only 36 public battery EV cars manage to complete charging before the next day’s departure, while others are effectively blocked.

In contrast, our two-stage strategy successfully flattens the load curve. By intelligently shifting a significant portion of battery EV car charging to the off-peak period (midnight to 8 AM), it alleviates the evening peak pressure. The load peak is reduced by over 360 kW, and the peak-to-valley difference is minimized, greatly enhancing grid stability and allowing the existing transformer to operate within its safe limits. Financially, users benefit from the lower off-peak electricity rates, reducing the aggregate charging cost by over 37%. Most importantly, by first solving the acceptance problem in Stage 1, the strategy maximizes the utilization of the scarce public piles, enabling 42 public battery EV cars to be served—a 16.7% increase in service capacity. The modest average waiting time introduced is a reasonable trade-off for ensuring access to charging and lower costs.

The load profile comparison visually underscores these findings. The uncoordinated curve shows a sharp, dangerous spike in the evening. The orderly charging curve is markedly smoother, with a delayed and broader charging peak during the night and early morning, demonstrating effective load shifting. This directly translates to enhanced grid safety, deferred infrastructure investment, and greater user satisfaction.

Conclusion

This paper addresses the critical challenge of managing battery EV car charging in resource-constrained residential areas. We have proposed and validated a novel two-stage orderly charging optimization model that explicitly considers the limited number of shared public charging piles. The first stage focuses on maximizing the number of public pile battery EV cars that can be physically accommodated, a crucial step for communities with insufficient charging infrastructure. The second stage then performs a coordinated optimization for both private and accepted public battery EV cars, targeting grid-friendly load shaping, minimized user costs, and reasonable service fairness.

Simulation results from a realistic case study confirm that the proposed strategy delivers a “win-win” outcome. From the grid perspective, it significantly reduces load fluctuations and prevents transformer overloads, ensuring safe and stable operation. From the user perspective, it lowers overall charging costs and, critically, increases the number of battery EV cars that can successfully access charging services from limited public piles. This work provides a practical and effective framework for property managers, utilities, and charging service operators to implement smart charging solutions that can accelerate battery EV car adoption even in communities with inherent infrastructural constraints. Future work may incorporate vehicle-to-grid (V2G) capabilities for additional grid services, consider more detailed models of user behavior and uncertainty, and explore distributed or real-time control implementations of the proposed strategy.

Scroll to Top