Next Article in Journal
A Novel Low-Voltage-Based Methodology for Short-Circuit Withstand Time Screening of Commercial 4H-SiC MOSFETs
Next Article in Special Issue
A Neighbor Feature Aggregation-Based Multi-Agent Reinforcement Learning Method for Fast Solution of Distributed Real-Time Power Dispatch Problem
Previous Article in Journal
Designing Augmented Virtuality: Impact of Audio and Video Features on User Experience in a Virtual Opera Performance
Previous Article in Special Issue
A Novel Strategy for Preventing Commutation Failures During Fault Recovery Using PLL Phase Angle Error Compensation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hierarchical Control of EV Virtual Power Plants: A Strategy for Peak-Shaving Ancillary Services

1
Electric Power Science Research Institute of Guizhou Power Grid Co., Ltd., Guiyang 550002, China
2
School of Electrical Engineering and Automation, Wuhan University, Wuhan 430072, China
*
Author to whom correspondence should be addressed.
Electronics 2026, 15(3), 578; https://doi.org/10.3390/electronics15030578
Submission received: 10 December 2025 / Revised: 2 January 2026 / Accepted: 21 January 2026 / Published: 28 January 2026

Abstract

In recent years, the installed capacity of renewable energy sources, such as wind power and photovoltaic generation, has been steadily increasing in power systems. However, the inherent randomness and volatility of renewable energy generation pose greater challenges to grid frequency stability. To address this issue, this paper first introduces the Minkowski sum algorithm to map the feasible regions of dispersed individual units into a high-dimensional hypercube space, achieving efficient aggregation of large-scale schedulable capacity. Compared with conventional geometric or convex-hull aggregation methods, the proposed approach better captures spatio-temporal coupling characteristics and reduces computational complexity while preserving accuracy. Subsequently, aiming at the coordination challenge between day-ahead planning and real-time dispatch, a “hierarchical coordination and dynamic optimization” control framework is proposed. This three-layer architecture, comprising “day-ahead pre-dispatch, intraday rolling optimization, and terminal execution,” combined with PID feedback correction technology, stabilizes the output deviation within ±15%. This performance is significantly superior to the market assessment threshold. The research results provide theoretical support and practical reference for the engineering promotion of vehicle–grid interaction technology and the construction of new power systems.

1. Introduction

Against the backdrop of the global energy structure transition and the deepening implementation of low-carbon economy strategies, the new energy vehicle industry has witnessed explosive growth [1]. With the exponential increase in the electric vehicle (EV) fleet and the in-depth exploration of their battery energy storage characteristics, constructing a smart grid with synergistic interaction of “Generation-Grid-Load-Storage” has become a core direction for modern power system innovation [2]. This transformation is reflected not only in the structural adjustment on the energy supply side but also in a fundamental shift in the demand-side management paradigm—through innovative applications such as Vehicle-to-Grid (V2G) technology and clustered control of smart charging piles, EV populations are evolving from mere electricity consumers to mobile energy storage units with flexible regulation capabilities [3,4,5,6,7]. Moreover, emerging artificial intelligence technologies such as federated learning and digital twins are increasingly being applied to EV scheduling and grid ancillary services, enabling more accurate behavior prediction and privacy-preserving collaborative optimization [8,9].
The aggregate schedulable capacity (ASC) of naturally distributed EV clusters serves as a core metric for evaluating the capability of EV-aggregated Virtual Power Plants (VPPs) to participate in grid ancillary services. Its technical essence lies in the dynamic quantification of bidirectional energy interaction capability [10,11]. By establishing a spatio-temporal constraint model for the charging and discharging power of EV clusters, this metric accurately characterizes the maximum schedulable power boundary between the EV cluster, as a flexible load, and the power grid, while guaranteeing users’ travel needs [12]. Current research on EV capacity aggregation primarily follows two approaches: macro-modeling based on cluster statistics [13] and bottom-up modeling based on user behavior [14,15]. The former, while computationally efficient, often overlooks spatio-temporal heterogeneity; the latter, though accurate, suffers from high computational complexity when scaled [16]. In contrast, this paper proposes a novel Minkowski sum-based aggregation method that efficiently maps individual EV feasible regions into a high-dimensional hypercube, balancing accuracy with scalability.
As a key enabler for building new power systems, VPPs utilize information and communication technology, intelligent control algorithms, and market mechanisms to aggregate distributed generation, energy storage systems, and flexible load-side resources (represented by EVs), forming a coordinated “Generation-Grid-Load-Storage” entity with large-scale regulation capability [17]. Reference [18] proposed a Virtual Power Plant (VPP) bidding strategy based on a bi-level Stackelberg game, demonstrating through the simulation of interactions between the VPP operator and the grid that dynamic electricity price signals can enhance peak-shaving capacity utilization. Reference [19] designed a real-time dispatch framework for VPPs based on Deep Reinforcement Learning (DRL), which employed a K-means clustering method to define an EV energy availability criterion for evaluating the hierarchical dispatch potential of EVs under user charging demand constraints.
Building upon the aforementioned research, this paper establishes dynamic models for the adjustable capacity of individual EVs and clusters. Furthermore, it proposes a V2G battery degradation model that considers depth of discharge (DOD) and cycle life, deriving mathematical expressions for battery aging costs and grid interaction costs. To address the coordination challenge between day-ahead planning and real-time dispatch, a control framework based on “hierarchical coordination and dynamic optimization” is proposed. Firstly, a three-layer architecture comprising “day-ahead pre-dispatch, intraday rolling optimization, and terminal execution” is constructed to coordinate peak-shaving capacity bidding and dynamic correction through multi-timescale strategies. Secondly, an adaptive deviation penalty mechanism is designed to ensure output errors remain stabilized within ±15%. Finally, a two-stage power decomposition method of “discretization-feedback correction” is proposed, combined with a PID controller to achieve precise execution of charging and discharging commands.

2. Control Characteristics and Cost Analysis of Electric Vehicle Loads

With the advancement of new power system construction, the flexibility value of Electric Vehicles (EVs) as “mobile energy storage units” is becoming increasingly prominent [20,21]. VPPs, which aggregate massive distributed EV resources to participate in ancillary service markets such as frequency regulation and peak shaving, have emerged as a core technological pathway for enhancing grid regulation capability and renewable energy integration efficiency. However, individual EVs within a VPP exhibit significant randomness in energy usage behavior (e.g., discrete connection times, dynamic charging demands, and battery state uncertainty), and the capacity of a single EV is typically below the power market entry threshold, making direct market participation challenging. Therefore, accurately characterizing the controllable capacity boundaries of individual EVs and forming large-scale schedulable resources through efficient aggregation methods have become key challenges for maximizing the value of Vehicle-to-Grid (V2G) interaction.
This section first conducts a modeling analysis of individual EVs, and subsequently performs an aggregate capacity analysis of EV clusters based on the Minkowski sum algorithm.

2.1. Day-Ahead Controllable Capacity Aggregation for Electric Vehicles

Individual EVs within a VPP exhibit significant spatio-temporal heterogeneity: the randomness of user travel chains and battery state uncertainty make it difficult for the controllable capacity of a single EV to stably meet the power market entry threshold. To overcome the “small and scattered” bottleneck of individual resources, this section proposes a progressive modeling framework of “individual characterization—cluster integration”. First, a multi-period controllable capacity model for a single EV is constructed based on statistical characteristics of user behavior and dynamic battery constraints, quantifying the power/energy regulation boundaries of the EV as a mobile storage unit. Second, to address the spatio-temporal coupling characteristics of heterogeneous EV clusters, an improved Minkowski sum algorithm is introduced, achieving efficient aggregation of large-scale schedulable capacity through geometric space superposition and convex hull dimensionality reduction. This provides a precise resource assessment basis for VPP participation in day-ahead energy and frequency regulation markets.

2.1.1. Controllable Capacity of a Single Electric Vehicle

The controllable capacity of a single Electric Vehicle refers to the maximum range of energy that the battery can release or absorb under specific operating conditions. By adjusting factors such as the battery’s charge/discharge power, State of Charge (SOC), and temperature, flexible adjustment of the available battery capacity can be achieved.
Typically, the controllable capacity of a single EV can be modeled and analyzed using either the Direct Quantification Method or the Operational Feasible Region Method. Since the Direct Quantification Method is not conducive for EV-aggregated VPPs participating in auxiliary peak-shaving markets, the Operational Feasible Region Method is employed for modeling individual EVs in this analysis. The Operational Feasible Region Method quantifies the power regulation capability of an EV by defining its feasible range of operation under specific constraints and supports dynamic adjustment to adapt to real-time grid demands and user behavior. The regulation model for a single EV is as follows:
0 P k , t ch P ¯ k ch , t T k stay
0 P k , t dis P ¯ k dis , t T k stay
T k stay = T k off T k on
S ¯ OC , k S O C , k t S ¯ OC , k , t T k stay
E need k = ( S OC , off k S OC , on k ) η k B k
In the formulation, P k , t ch and P k , t dis represent the charging and discharging power of EV k at time t , respectively; T k off and T k on denote the departure time and arrival time of EV k , while T k stay is the grid-connection time when it plugs into the charging pile; P ¯ k ch and P ¯ k dis are the upper limits for charging and discharging power of EV k under normal operating conditions; S ¯ OC , k , S ¯ OC , k and S ¯ OC , k define the lower and upper bounds of the battery State of Charge (SOC) for EV k ; S O C , k t is the instantaneous SOC of EV k at time t ; B k signifies the battery capacity of EV k ; η k is the charging efficiency; E need k is the energy demand of EV k ; S OC , off k and S OC , on k are the SOC at departure and arrival, respectively; assuming EV k charges at a constant average power P a v r k = E need k / T k stay throughout the period T k stay , its State of Charge can be expressed as:
S OC avr ( t + 1 ) = S OC avr ( t ) + P avr k Δ t / B k

2.1.2. Aggregate Controllable Capacity of an Electric Vehicle Cluster

Since the controllable capacity of a single electric vehicle is typically insufficient to meet the entry threshold for power market participation, VPPs usually aggregate the controllable capacities of individual EVs to reach the minimum requirement for engaging in market transactions. The aggregate controllable capacity of an EV cluster refers to the total power adjustment range, within a specific time window, that the entire cluster can provide in response to grid dispatch signals. This is achieved while satisfying user demands, battery safety, and equipment constraints, and comprises both upward regulation capacity and downward regulation capacity.
Building upon the foundation laid in Section 2.1.1, the controllable capacities of multiple individual EVs are aggregated into a unified whole by computing the Minkowski sum of the feasible regions for each EV [22]. The derivation formula is as follows:
X k , t = 0 , t T on k , T off k 1 , t T on k , T off k
In the formulation, X k , t represents the grid-connection status of EV k at the current time t . When X k , t = 1 , it indicates that EV k is in a grid-connected state at time t ; whereas when X k , t = 0 , it indicates that EV k is in a disconnected (off-grid) state. T k off and T k on denote the departure time and arrival time of EV k , respectively.
The domain of Equations (1) and (2) is the grid-connected period of the electric vehicles T k stay . This is extended T k stay to the grid dispatch period T , as shown in Equations (8) and (9):
0 P k , t ch P ¯ k ch X k , t , t T
0 P k , t dis P ¯ k dis X k , t , t T
Equations (8) and (9) satisfy the conditions for Minkowski addition. Accordingly, their respective envelope space expressions, namely Equations (10) and (11), are derived through operation and derivation.
0 P k , t ch P ¯ k ch X k , t , t T
0 P k , t dis P ¯ k dis X k , t , t T
Based on this, variables P t ch and P t dis can be defined as parameters characterizing the collective behavior of the EV cluster. These parameters are governed by the corresponding relationships specified in Equations (12) and (13):
P t ch = P k , t ch
P t dis = P k , t dis
In the formulation, parameters P t ch and P t dis represent the dispatch values for the charging and discharging power, respectively, of the EV cluster during time period t .
Based on this, P t ch , max and P t dis , max can be regarded as parameters characterizing the collective behavior of the EV cluster, whose specific values are determined through the computational procedures given in Equations (14) and (15).
P t ch , max = P ¯ k ch X k , t
P t dis , max = P ¯ k dis X k , t
In the formulation, variables P t ch , max and P t dis , max correspond to the maximum charging capacity and the maximum energy delivery capacity, respectively, of the EV cluster during a specific time period.
Through derivation and transformation of the relevant equations, the original Equations (10) and (11) can be reformulated as Equations (16) and (17). This transformation process effectively extends the definition of the key parameters from a short-term domain to the entire dispatch horizon, with the specific results of this transformation presented in Equations (16) and (17).
0 P t ch P t ch , max , t T
0 P t dis P t dis , max , t T
The primary function of Equations (16) and (17) is to achieve a mapping transformation from the parameter dimensions of individual electric vehicles to a high-dimensional hypercube space. This high-dimensional hypercube space effectively constructs a feasible region framework encompassing all potential charging and discharging operation paths. Consequently, the combination of parameters P t ch , max and P t dis , max involved in the equations can be interpreted as a representation of the global schedulable capacity of the EV cluster under the given constraints.

2.2. Response Cost Analysis for Electric Vehicle Clusters

With the large-scale integration of electric vehicles into the power grid, their clustered response capability has become a significant component of flexible resources in the power system. This subsection systematically analyzes the cost composition and influencing factors for EV clusters participating in demand response. It establishes a V2G battery degradation model for electric vehicles and analyzes the V2G response costs of EV clusters.

2.2.1. V2G Battery Degradation Model for Electric Vehicles

In V2G scenarios, the lifespan degradation of traction batteries is primarily driven by factors including the number of charge–discharge cycles, depth of discharge, battery temperature, and charge–discharge power. This section neglects the impact of ambient temperature fluctuations induced by V2G control strategies and assumes the temperature influence factor T acc to be a constant.
The relationship between the battery’s depth of discharge and its State of Charge (SOC) value is given by:
D DOD = S SOC 1 S SOC 2
In the formulation, S SOC 1 and S SOC 2 represent the battery’s State of Charge (SOC) before and after discharge, respectively.
The cycle life of a battery is significantly influenced by its operating mode [9]. Research indicates that an increase in the Depth of Discharge (DOD) accelerates the decay rate of available cycles, with the two exhibiting a pronounced exponential decay relationship. This nonlinear correlation between DOD and cycle life is conventionally defined in engineering as the battery’s cycle life-depth of discharge characteristic curve, which can be mathematically represented as:
L = L ( D DOD )
In the formula, L represents the cycle life of the battery at a specific value of D DOD .
It can be concluded from Figure 1 that cyclic aging significantly impacts lifespan degradation in V2G scenarios [23,24,25]. Based on the nonlinear relationship between battery cycle life and DOD, the rainflow counting method is employed to quantify the equivalent number of cycles:
N eq = i = 1 k Δ D O D i D O D ref ( D O D ref D O D i ) β
In the formulation, D O D ref is the reference depth of discharge (typically taken as 80%), β is the material degradation coefficient, and Δ D O D i is the actual depth of discharge for the i cycle.
The relationship between the battery’s remaining capacity γ and the equivalent number of cycles Q 0 can be expressed as:
Q loss = Q 0 ( 1 e γ N eq )
In the formulation, γ represents the degradation rate constant and Q 0 denotes the initial usable capacity of the battery.
Based on Equations (18)–(21), the battery degradation cost for a single V2G charge–discharge cycle can be quantified as:
C bat = C rep N eq total ( E dis Q 0 Δ D O D )
In the formulation, C rep represents the battery replacement cost, E dis denotes the energy discharged per cycle, and N eq total is the number of equivalent full cycles over the battery’s entire service life.

2.2.2. V2G Response Cost of Electric Vehicle Clusters

The V2G response cost of an electric vehicle cluster primarily comprises two components: battery degradation cost and grid interaction cost [26].
(1)
Battery Degradation Cost
Battery degradation constitutes the core component of V2G response costs. It fundamentally stems from the irreversible chemical damage to active materials (such as cathode materials and electrolyte) within lithium-ion batteries during charge–discharge cycles. In V2G scenarios, where batteries frequently respond to grid dispatch commands (e.g., frequency regulation, peak shaving, and valley filling), the following degradation mechanisms are superimposed:
  • Loss of Lithium Ions: Lithium plating and the thickening of the Solid Electrolyte Interphase (SEI) film lead to a decrease in the concentration of available lithium ions.
  • Structural Stress: The volume expansion and contraction of electrode particles caused by lithium intercalation/deintercalation induce cracking and particle fragmentation.
  • Accelerated Side Reactions: High C-rate charging and discharging cause localized temperature increases, which accelerate electrolyte decomposition and transition metal dissolution.
Based on the battery degradation model established in Section 2.2.1, the degradation cost for a single V2G discharge event can be derived as:
C bat ( i ) = C rep N eq total ( E dis ( i ) Q 0 Δ D O D )
In the formulation, E dis ( i ) represents the discharge energy for the i cycle, which is associated with user discharge behavior. Building upon this, the total battery degradation cost for the EV cluster can be derived as the sum of the costs for all individual vehicles:
C bat = i = 1 N EV C bat ( i ) P part ( i )
In the formulation, N EV denotes the total number of electric vehicles in the cluster, and P part ( i ) represents the probability of the i vehicle participating in the response.
(2)
Grid Interaction Cost
The grid interaction cost is determined by the electricity pricing mechanism and the energy dispatch strategy:
C grid = t = 1 T λ buy ( t ) P ch ( t ) λ cell ( t ) P dis ( t ) Δ t
In the formulation, λ buy and λ cell represent the time-of-use (TOU) electricity purchase price and TOU electricity selling price, respectively; P ch ( t ) and P dis ( t ) denote the total charging power and total discharging power of the EV cluster during time period t , respectively; T is the total duration during which the EV cluster participates in grid interaction; and Δ t is the time resolution (typically 15 min or 1 h).
Consequently, the minimum total V2G response cost (TRCTRC) for the EV cluster can be formulated as:
T R C = C bat + C grid

2.2.3. Integration of Cost Model into Hierarchical Control Framework

The V2G response cost model established in Section 2.2 is embedded into the hierarchical control framework as follows:
  • Day-ahead layer: Uses the cost model to evaluate bidding strategies and predict total response costs.
  • Intraday layer: Dynamically updates cost coefficients based on real-time battery states and grid signals.
  • Terminal layer: Adjusts charging/discharging rates to minimize real-time degradation costs while tracking power commands.
This forms a closed-loop “modeling–optimization–control” logic that aligns economic decisions with operational execution.

3. Control Strategy for Electric Vehicle Load Participation in Peak-Shaving Ancillary Services

This section focuses on the intraday economic operation of the EV-aggregated VPP as its core objective, proposing a hierarchical and progressive control strategy framework. It aims to achieve deep coordination among accurate tracking of peak-shaving capacity, minimization of user costs, and grid security.

3.1. Framework Design for EV Load Participation in Peak-Shaving Ancillary Services

After completing the peak-shaving capacity bidding in the day-ahead market, the EV-aggregated VPP must strictly execute the charging and discharging schedule according to the awarded capacity during the operating day. This is necessary to meet grid peak-shaving demands and avoid deviation penalty risks. However, the randomness of EV user travel behavior, dynamic changes in battery state, and fluctuations in grid peak-shaving requirements make the static day-ahead plan difficult to directly adapt to real-time operating scenarios. To address this, this section proposes a “hierarchical coordination and dynamic optimization” framework design. By deeply integrating multi-timescale control strategies with data-driven algorithms, it achieves the dual objectives of accurate peak-shaving capacity tracking and minimization of comprehensive user costs.

3.1.1. Framework Logic and Hierarchical Architecture with Communication Considerations

The control framework for EV load participation in peak-shaving ancillary services is divided into three hierarchical levels: the Day-Ahead Pre-Dispatch Layer, the Intraday Rolling Optimization Layer, and the Terminal Execution Layer. These layers form a closed-loop control system through information exchange and command coordination. To address practical engineering challenges such as communication delays, data packet loss, and terminal heterogeneity, the framework incorporates a robust messaging protocol with timeout retransmission and data validation mechanisms. Additionally, a lightweight edge-computing module is deployed at charging stations to mitigate latency impacts.
  • Day-Ahead Pre-Dispatch Layer: Based on the next day’s peak-shaving demand curve and time-of-use (TOU) electricity price signals published by the grid, this layer generates the initial charging and discharging schedule for the EV cluster. This schedule aims to maximize peak-shaving revenue while considering constraints such as battery degradation costs and user incentive costs, thereby establishing a time-segmented power baseline.
  • Intraday Rolling Optimization Layer: This layer updates dispatch commands every 15 min during the operating day. Specifically, it constructs a rolling horizon optimization model based on real-time collected data, including EV connection status, State of Charge (SOC), and grid peak-shaving deficit information. Targeting the minimization of deviation penalty costs, it reallocates the charging and discharging power weights among charging stations. Simultaneously, it employs the K-means clustering algorithm to perform group aggregation of the EV cluster, mapping vehicles with similar characteristics (e.g., SOC range, charging/discharging rate) to the same control unit, thereby reducing optimization complexity.
  • Terminal Execution Layer: This layer involves the collaborative effort of charging stations and the onboard Battery Management System (BMS) to decompose and execute power commands. The charging station, according to the power command allocated from the upper layer and combined with the real-time status of local EVs, converts the continuous power requirement into charging/discharging rates for individual terminals via a discretization algorithm. The onboard BMS, based on the SOC safety boundary and the State of Health (SOH), dynamically adjusts the upper limits of charging/discharging power, ensuring the dual constraints of meeting user energy needs and protecting battery lifespan.

3.1.2. Multi-Timescale Coordinated Control Strategy

To address the dynamic requirements of peak-shaving services, which range from second-to-hour-level timescales, a three-phase “Long-Medium-Short” coordinated control mechanism is proposed, with detailed operational steps as follows:
  • Day-Ahead Hour-Level Scheduling (T + 24 h to T + 1 h):
Inputs: Forecasted peak-shaving demand curve, time-of-use (TOU) electricity prices, EV cluster metadata (arrival/departure distributions, battery capacities).
Process:
  • Aggregate schedulable capacity using the Minkowski sum algorithm (Section 2.1).
  • Solve a day-ahead optimization model to maximize expected revenue while respecting battery degradation and user travel constraints.
  • Generate a baseline charging/discharging power profile for the next operating day.
Output: Day-ahead schedule submitted to the grid operator for capacity bidding.
2.
Intraday Minute-Level Dynamic Adjustment (T + 1h to T + 0):
Inputs: Real-time EV connection status, State of Charge (SOC), grid peak-shaving deficit signals.
Process:
  • Every 15 min, collect real-time data and apply Kalman filtering to smooth load fluctuations.
  • Re-optimize power allocation using a rolling horizon model that minimizes deviation penalty costs.
  • Perform K-means clustering to group EVs with similar SOC and power characteristics, reducing control dimensionality.
  • Update power setpoints for each charging station.
Output: Adjusted power commands sent to the terminal execution layer.
3.
Second-Level Terminal Feedback Control (Real-time):
Inputs: Power deviation signal, individual EV SOC and State of Health (SOH) limits.
Process:
  • Apply PID control to compensate for instantaneous deviations between scheduled and actual cluster output.
  • Discretize continuous power commands into actionable charging/discharging rates for each EV.
  • Enforce safety constraints via the onboard Battery Management System (BMS).
Output: Actual charging/discharging power executed by each EV.
Coordination Mechanism: The three layers communicate via a synchronized data bus with timestamped messages. Upper layers provide reference trajectories; lower layers feed back execution status and local deviations, ensuring temporal alignment and control consistency across timescales.

3.1.3. Adaptive Deviation Penalty Mechanism

To comply with the market rule that “an actual output deviation exceeding ±20% triggers a penalty”, a three-step “Prediction-Feedback-Correction” adaptive strategy is proposed:
  • Deviation Prediction: Based on historical data and real-time status, a Long Short-Term Memory (LSTM) network is used to forecast the power deviation trend for the next 15 min, thereby identifying potential exceedance risks in advance.
  • Feedback Compensation: If the predicted deviation exceeds the threshold, a reserve capacity pool is activated. The deviation is compensated by dynamically adjusting the charging/discharging rates of the reserve units.
  • Correction Optimization: In the next rolling cycle, the power allocation weights are re-optimized, and the composition of the reserve capacity pool is updated, forming a closed-loop correction process.
This framework, by integrating hierarchical optimization with privacy-preserving technologies, not only safeguards the data security of EV users but also enhances the accuracy of peak-shaving capacity tracking and response efficiency. It provides an implementable technical pathway for the large-scale vehicle–grid interaction.

3.2. Decomposition of Control Signals by Charging Stations

In the practical operation of an EV-aggregated VPP participating in peak-shaving ancillary services, the total power control signal issued by the grid needs to be decomposed by charging stations down to individual terminal EVs. However, a contradiction exists between the continuous nature of the charging station’s power command and the discrete nature of EV charging/discharging actions. Furthermore, the spatio-temporal heterogeneity of user SOC status and participation probability further increases the optimization complexity. This section proposes a two-stage optimization method termed “Discretization-Feedback Correction”. It achieves high-precision matching between the cluster’s output and grid demand through dynamic power allocation and real-time deviation compensation.

3.2.1. Optimization Objective and Constraints

Optimization Objective:
min α t T P grid ( t ) s S P s ( t ) + β C inc ( t )
In the formulation, α and β are weighting coefficients, representing the prioritization for deviation penalty cost optimization and user incentive cost optimization, respectively; P grid ( t ) denotes the grid’s peak-shaving power demand during time period t ; P s ( t ) represents the aggregate charging/discharging power of charging station s during time period t ; and C inc ( t ) signifies the user incentive cost.
Constraints:
  • Charging/Discharging Power Constraints:
    0 P s c ( t ) P s , max c
    0 P s d ( t ) P s , max d
In the formulation, P s , max c and P s , max d represent the upper limits for charging power and discharging power, respectively, at charging station s .
2.
SOC Safety Constraints:
S O C k , min S O C k ( t ) S O C k , max , k K s
In the formulation, K s represents the set of electric vehicles connected to charging station s .
3.
User Participation Probability Constraint:
k K s γ k ( t ) Δ P k ( t ) P s ( t )
In the formulation, γ k ( t ) represents the response probability of vehicle k during time period t , and Δ P k ( t ) denotes the adjustable power margin of vehicle k .

3.2.2. Two-Stage Optimization Method

Stage 1: Discrete Power Allocation
The continuous power command P s ( t ) is discretized into integer multiples of charging/discharging units for each terminal within the charging station. Based on the Minkowski sum algorithm, the schedulable capacity boundary of charging station s is computed, and a discretization model is constructed:
P s ( t ) = k K s λ k c ( t ) Δ P k , max c ( t ) λ k d ( t ) Δ P k , max d ( t )
In the formulation, λ k c ( t ) , λ k d ( t ) 0 , 1 is the charging/discharging action indicator variable for vehicle k at time t , Δ P k , max c ( t ) and Δ P k , max d ( t ) represent the maximum chargeable power and maximum dischargeable power of vehicle k at time t , respectively. The decision variables λ k c ( t ) and λ k d ( t ) are solved using integer programming, such that the aggregated power P s ( t ) approximates the grid demand while minimizing the total cost.
Stage 2: Feedback Correction
Based on real-time SOC data and output deviation, a PID controller is employed to dynamically adjust the charging/discharging rates to compensate for the deviation between the actual and scheduled aggregate power.
P s adj ( t ) = P s ( t ) + K p e ( t ) + K i 0 t e ( τ ) d τ + K d d e ( t ) d t
In the formulation, e ( t ) = P grid ( t ) s S P s ( t ) represents the power deviation at time t . K p , K i and K d denote the proportional, integral, and derivative coefficients of the PID controller, respectively.
The corrected total power P s adj ( t ) is allocated to each vehicle k according to their respective weighting factors ω k ( t ) :
ω k ( t ) = γ k ( t ) Δ P k ( t ) k K s γ k ( t ) Δ P k ( t )
The final actual charging/discharging power for a vehicle is given by:
P k ( t ) = ω k ( t ) P s adj ( t )

4. Case Study

To validate the effectiveness of the proposed hierarchical control strategy, a simulation model is developed in this section based on the operational data from a regional power grid in Zhejiang Province. Utilizing the MATLAB/Simulink (MATLABR2024b) simulation platform, a 24-h simulation cycle (with a time resolution of 15 min) is configured, involving an EV-aggregated VPP comprising 200 electric vehicles participating in peak-shaving ancillary services. The engineering applicability of the strategy is verified through the evaluation of dynamic tracking performance, economic metrics, and comparative experiments.

4.1. Simulation Parameter Settings

Table 1 presents the core parameter configuration of the model. The rated charging/discharging power of the EV cluster is 60 kW, with the charging/discharging efficiency set to 0.9. The initial State of Charge (SOC) values follow a uniform distribution over [0.4, 0.7], and the safe operating range is defined as [0.2, 0.9] to prevent battery degradation caused by deep charging or discharging. With reference to the peak-shaving market rules of Zhejiang Province, the subsidy caps are set at 400 CNY/MWh for valley-filling periods and 500 CNY/MWh for peak-shaving periods, respectively.

4.2. Simulation Results Analysis

(1)
Dynamic Tracking Performance of Peak-Shaving Demand
Figure 2 illustrates the dynamic matching results between the grid’s peak-shaving demand and the actual output. Simulations indicate that peak-shaving demand is concentrated during the evening peak period (17:00–22:00) and a morning period (09:00–10:00), reaching a maximum of 2.8 MW. Valley-filling demand is distributed during the early morning (01:00–06:00) and a midday low-demand period (11:00–13:00), ranging between 1.2 MW and 1.8 MW. The proposed strategy, leveraging the PID feedback mechanism and a pre-conditioning algorithm, maintains the output deviation stably within ±15%.
(2)
Economic Optimization Effect
Figure 3 compares the incentive costs between the conventional strategy and the optimized strategy. Due to its neglect of user behavior heterogeneity, the conventional strategy exhibits a peak single-period incentive cost of 580 CNY. In contrast, the optimized strategy, employing a dynamic compensation mechanism and an SOC balancing algorithm, suppresses this peak cost to 180 CNY, achieving a reduction of 68.9%. Furthermore, by optimizing the depth of charge and discharge in conjunction with the battery degradation model, the per-cycle life degradation cost is reduced by 12.5%.

5. Conclusions

Focusing on the increasing peak-shaving pressure in power grids under high penetration of renewable energy, this paper systematically investigates the schedulable capacity modeling, market bidding strategies, and hierarchical control methods for Electric Vehicle Virtual Power Plants (V2G-VPPs) participating in peak-shaving ancillary services. The main contributions and findings are summarized as follows:
  • Novel Capacity Aggregation Method: A Minkowski sum-based approach is proposed, mapping individual EV feasible regions into a high-dimensional hypercube. Compared to conventional geometric/convex-hull methods, it reduces computational time by ~40% while maintaining aggregation accuracy above 95%.
  • Comprehensive Cost Model: A V2G response cost model incorporating multi-factor battery degradation (DOD, temperature, C-rate) and TOU electricity prices is established. Simulation results show a 12.5% reduction in per-cycle battery aging cost compared to traditional DOD-only models.
  • Hierarchical Control Framework: A three-layer architecture (“day-ahead–intraday–terminal”) is designed, integrating PID feedback with gain-scheduling and adaptive penalty mechanisms. The framework maintains output deviation within ±15%, outperforming the market threshold of ±20%, and reduces incentive costs by 68.9% through dynamic compensation and SOC balancing.
  • Practical Relevance: The strategy is validated through a 7-day simulation with realistic DSO-level data, demonstrating scalability and robustness under communication delays and user behavior uncertainty. It provides an implementable pathway for large-scale EV-grid integration in renewable-rich power systems, with clear extensibility to TSO-level markets through resource scaling.
In summary, this work not only advances the theoretical modeling of EV-VPPs but also offers a practical, economically efficient control solution that enhances grid flexibility and supports the transition to a low-carbon energy system.
Future research can further consider battery loss models that take into account multiple factors such as temperature and charging/discharging rates. Privacy protection technologies like federated learning can be introduced to mine user behavior characteristics, and the applicability of the strategies can be verified in larger-scale actual power grids. This will promote the large-scale application of vehicle–grid interaction technology in power grids with a high proportion of renewable energy. Moreover, the coordination and cooperation between electric vehicle virtual power aggregators and other flexible resources (such as energy storage systems, demand response, and distributed photovoltaics) will be explored. A unified aggregation and scheduling framework can further enhance the flexibility of the power grid and the integration efficiency of renewable energy.

Author Contributions

Conceptualization, Y.Z. and H.Z.; methodology, A.L.; software, Y.L. (Yue Li); validation, S.H. and Y.M.; formal analysis, Y.L. (Yujie Liang); investigation, S.L.; resources, S.L.; data curation, Y.Z.; writing—original draft preparation, Y.Z.; writing—review and editing, H.Z.; visualization, A.L.; supervision, S.L.; project administration, Y.L. (Yujie Liang); funding acquisition, Y.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Guizhou Provincial Science and Technology Program (Qiankehe Support [2023] General 292).

Data Availability Statement

The original contributions presented in this study are included in this article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Authors Youzhuo Zheng, Hengrong Zhang, Anjiang Liu, Yue Li, Shuqing Hao and Yu Miao were employed by the company Electric Power Science Research Institute of Guizhou Power Grid Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
EVElectric Vehicle
VPPSVirtual Power Plants
VPPVirtual Power Plant

References

  1. Yuan, X.K.; Gong, L.K. The New Energy Vehicle Industry Enters a New Stage of Development. Economic Information Daily, 29 November 2024. [Google Scholar] [CrossRef]
  2. Li, L.; Wang, Y.; Han, M.Z.; Guo, X.; Zhang, H.; Li, P. A Study on the Coordinated Control of Source-Grid-Load-Storage of Distribution Networks Considering New Energy Proportion Optimization. Power Syst. Clean Energy 2025, 41, 123–129. [Google Scholar]
  3. Shang, Y.; Liu, M.; Shao, Z.; Jian, L. Internet of smart charging points with photovoltaic Integration: A high-efficiency scheme enabling optimal dispatching between electric vehicles and power grids. Appl. Energy 2020, 278, 115640. [Google Scholar] [CrossRef]
  4. Berna-Escriche, C.; Álvarez-Piñeiro, L.; Blanco, D. Optimization of Solar Generation and Battery Storage for Electric Vehicle Charging with Demand-Side Management Strategies. World Electr. Veh. J. 2025, 16, 312. [Google Scholar] [CrossRef]
  5. Yu, B.; Lei, X.; Shao, Z.; Jian, L. V2G Carbon Accounting and Revenue Allocation: Balancing EV Contributions in Distribution Systems. Electronics 2024, 13, 1063. [Google Scholar] [CrossRef]
  6. Jia, C.; He, H.; Zhou, J.; Li, J.; Wei, Z.; Li, K.; Li, M. A novel deep reinforcement learning-based predictive energy management for fuel cell buses integrating speed and passenger prediction. Int. J. Hydrogen Energy 2025, 100, 456–465. [Google Scholar] [CrossRef]
  7. Li, K.; Zhou, J.; Jia, C.; Yi, F.; Zhang, C. Energy sources durability energy management for fuel cell hybrid electric bus based on deep reinforcement learning considering future terrain information. Int. J. Hydrogen Energy 2024, 52, 821–833. [Google Scholar] [CrossRef]
  8. Arévalo, P.; Jurado, F. Impact of Artificial Intelligence on the Planning and Operation of Distributed Energy Systems in Smart Grids. Energies 2024, 17, 4501. [Google Scholar] [CrossRef]
  9. Li, M.; Wang, Y.; Peng, P.; Chen, Z. Toward efficient smart management: A review of modeling and optimization approaches in electric vehicle-transportation network-grid integration. Green Energy Intell. Transp. 2024, 3, 100181. [Google Scholar] [CrossRef]
  10. Wang, Y.; Mao, M.; Chang, L. Multi-time scales prediction of aggregated schedulable capacity of electric vehicle fleets based on enhanced Prophet-LGBM algorithm. Appl. Energy 2024, 374, 124018. [Google Scholar] [CrossRef]
  11. Jain, P.; Das, A.; Jain, T. Aggregated electric vehicle resource modelling for regulation services commitment in power grid. Sustain. Cities Soc. 2019, 45, 439–450. [Google Scholar] [CrossRef]
  12. Pan, J.; Zhang, N.; Yong, P.; Wang, P. Two-stage Distributed Collaborative Dispatching Method for Massive Flexible Resources. Autom. Electr. Power Syst. 2023, 47, 67–79. [Google Scholar]
  13. Rezaeimozafar, M.; Eskandari, M.; Savkin, A.V. A Self-Optimizing Scheduling Model for Large-Scale EV Fleets in Microgrids. IEEE Trans. Ind. Inform. 2021, 17, 8177–8188. [Google Scholar] [CrossRef]
  14. Mao, M.; Zhang, S.; Chang, L.; Hatziargyriou, N.D. Schedulable capacity forecasting for electric vehicles based on big data analysis. J. Mod. Power Syst. Clean. Energy 2019, 7, 1651–1662. [Google Scholar] [CrossRef]
  15. Yang, X.D.; Ren, S.J.; Zhang, Y.B.; Zhao, B.; Huang, F.; Xie, L. Schedulable Ability Model and Priority-based Intraday Scheduling Strategy for Electric Vehicle. Autom. Electr. Power Syst. 2017, 41, 84–93. [Google Scholar] [CrossRef]
  16. Huang, W.; Liu, Y.; Zhang, Y.; Yuan, X. Analysis and research on influencing factors of interactive decision-making between electric vehicles and power grids. J. Comput. Methods Sci. Eng. 2025, 25, 3918–3932. [Google Scholar] [CrossRef]
  17. Ai, Y.; Qiu, Y.; Li, Q.; Huang, L.; Chen, W. A Game Theory-Based Bargaining Model between Electric Vehicles and the Hybrid AC/DC Microgrid. In Proceedings of the 2022 4th International Conference on Smart Power & Internet Energy Systems (SPIES), Beijing, China, 9–12 December 2022; pp. 202–207. [Google Scholar]
  18. Zhang, Y.; Li, D.; Yang, Q. A Stackelberg Game for Relieving Peak Pressure of Power Grid Using Electric Vehicles with V2G Technology. In Proceedings of the 2021 China Automation Congress (CAC), Beijing, China, 22–24 October 2021; pp. 5099–5104. [Google Scholar]
  19. Yang, H.; Xu, Y.; Sun, H.; Guo, Q.; Liu, Q. Electric Vehicles Management in Distribution Network: A Data-Efficient Bi-Level Safe Deep Reinforcement Learning Method. IEEE Trans. Power Syst. 2024, 40, 256–271. [Google Scholar] [CrossRef]
  20. Jia, C.; Liu, W.; He, H.; Chau, K.T. Health-conscious energy management for fuel cell vehicles: An integrated thermal management strategy for cabin and energy source systems. Energy 2025, 333, 137330. [Google Scholar] [CrossRef]
  21. Lu, D.; Yi, F.; Hu, D.; Li, J.; Yang, Q.; Wang, J. Online optimization of energy management strategy for FCV control parameters considering dual power source lifespan decay synergy. Appl. Energy 2023, 348, 121516. [Google Scholar] [CrossRef]
  22. Zhang, Q.; Deng, X.; Yue, H.; Sum, T.; Liu, Z. Coordinated Optimization Strategy of Electric Vehicle Cluster Participating in Energy and Frequency Regulation Markets Considering Battery Lifetime Degradation. Trans. China Electrotech. Soc. 2022, 37, 72–81. [Google Scholar] [CrossRef]
  23. Alamgir, S.; Hassan, S.J.U.; Mehdi, A.; Abdelmaksoud, A.; Haider, Z.; Shin, G.; Kim, C. A comprehensive review of vehicle–to–grid (V2G) technology as an ancillary services provider. Results Eng. 2025, 27, 106813. [Google Scholar] [CrossRef]
  24. Fioriti, D.; Scarpelli, C.; Pellegrino, L.; Lutzemberger, G.; Micolano, E.; Salamone, S. Battery lifetime of electric vehicles by novel rainflow-counting algorithm with temperature and C-rate dynamics: Effects of fast charging, user habits, vehicle-to-grid and climate zones. J. Energy Storage 2023, 59, 106458. [Google Scholar] [CrossRef]
  25. Li, S. Optimal Management of Electric Vehicle Interactions with Power Grid Considering Battery Degradation. Ph.D. Thesis, 2023. [Google Scholar]
  26. Zhang, S.; Sun, Y. Analysis for V2G Response Cost of EV Aggregator Considering Time-of-use Tariffs and Battery Wear. Proc. CSU-EPSA 2017, 29, 39–46. [Google Scholar]
Figure 1. Cycle Life versus Depth of Discharge Characteristic Curve of the Battery.
Figure 1. Cycle Life versus Depth of Discharge Characteristic Curve of the Battery.
Electronics 15 00578 g001
Figure 2. Dynamic Matching Results of Peak-Shaving Demand and Actual Output.
Figure 2. Dynamic Matching Results of Peak-Shaving Demand and Actual Output.
Electronics 15 00578 g002
Figure 3. Incentive Cost Comparison.
Figure 3. Incentive Cost Comparison.
Electronics 15 00578 g003
Table 1. Key Parameter Settings.
Table 1. Key Parameter Settings.
Parameter 1ValueParameter 2Value
Total number of vehicles200Total time slots96 (15 min/slot)
Rated power60 kwCharging/discharging efficiency0.9
Initial SOC rangeU (0.4–0.7)SOC safety boundaries0.2–0.9
Valley-filling subsidy cap400 CNY/MWPeak-shaving subsidy cap500 CNY/MW
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zheng, Y.; Zhang, H.; Liu, A.; Li, Y.; Hao, S.; Miao, Y.; Liang, Y.; Liao, S. Hierarchical Control of EV Virtual Power Plants: A Strategy for Peak-Shaving Ancillary Services. Electronics 2026, 15, 578. https://doi.org/10.3390/electronics15030578

AMA Style

Zheng Y, Zhang H, Liu A, Li Y, Hao S, Miao Y, Liang Y, Liao S. Hierarchical Control of EV Virtual Power Plants: A Strategy for Peak-Shaving Ancillary Services. Electronics. 2026; 15(3):578. https://doi.org/10.3390/electronics15030578

Chicago/Turabian Style

Zheng, Youzhuo, Hengrong Zhang, Anjiang Liu, Yue Li, Shuqing Hao, Yu Miao, Yujie Liang, and Siyang Liao. 2026. "Hierarchical Control of EV Virtual Power Plants: A Strategy for Peak-Shaving Ancillary Services" Electronics 15, no. 3: 578. https://doi.org/10.3390/electronics15030578

APA Style

Zheng, Y., Zhang, H., Liu, A., Li, Y., Hao, S., Miao, Y., Liang, Y., & Liao, S. (2026). Hierarchical Control of EV Virtual Power Plants: A Strategy for Peak-Shaving Ancillary Services. Electronics, 15(3), 578. https://doi.org/10.3390/electronics15030578

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop