Next Article in Journal
Hydrolysis Assessment of Orange Peel and Brewer’s Spent Grain for Bioethanol Production
Previous Article in Journal
Biosorption and Regeneration Studies for Cu (II) and Cd (II) Removal from Industrial Effluents Using Orange Peel and Composite Adsorbents
Previous Article in Special Issue
Research on Power Stability of Wind-Solar-PEM Hydrogen Production System Based on Virtual Synchronous Machine Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Coordinated Scheduling Strategy for Campus Power Grid and Aggregated Electric Vehicles Within the Framework of a Virtual Power Plant

1
China Three Gorges Corporation Limited, Wuhan 430010, China
2
Shenzhen Zhongdian Electric Power Technology Co., Ltd., Shenzhen 518031, China
3
College of Electrical Engineering and New Energy, China Three Gorges University, Yichang 443002, China
*
Author to whom correspondence should be addressed.
Processes 2025, 13(7), 1973; https://doi.org/10.3390/pr13071973
Submission received: 11 April 2025 / Revised: 14 May 2025 / Accepted: 20 May 2025 / Published: 23 June 2025
(This article belongs to the Special Issue Applications of Smart Microgrids in Renewable Energy Development)

Abstract

:
The inherent intermittency and uncertainty of renewable energy generation pose significant challenges to the safe and stable operation of power grids, particularly when power demand does not match renewable energy supply, leading to issues such as wind and solar power curtailment. To effectively promote the consumption of renewable energy while leveraging electric vehicles (EVs) in virtual power plants (VPPs) as distributed energy storage resources, this paper proposes an ordered scheduling strategy for EVs in campus areas oriented towards renewable energy consumption. Firstly, to address the uncertainty of renewable energy output, this paper uses Conditional Generative Adversarial Network (CGAN) technology to generate a series of typical scenarios. Subsequently, a mathematical model for EV aggregation is established, treating the numerous dispersed EVs within the campus as a collectively controllable resource, laying the foundation for their ordered scheduling. Then, to maximize renewable energy consumption and optimize EV charging scheduling, an improved Particle Swarm Optimization (PSO) algorithm is adopted to solve the problem. Finally, case studies using a real-world testing system demonstrate the feasibility and effectiveness of the proposed method. By introducing a dynamic inertia weight adjustment mechanism and a multi-population cooperative search strategy, the algorithm’s convergence speed and global search capability in solving high-dimensional non-convex optimization problems are significantly improved. Compared with conventional algorithms, the computational efficiency can be increased by up to 54.7%, and economic benefits can be enhanced by 8.6%.

1. Introduction

With the depletion of fossil fuels and the heightened awareness of environmental protection, clean energy has been vigorously promoted, leading to rapid development in electric vehicles (EVs). In 2021, the global EV fleet reached 16.5 million units, and it is estimated that the global EV sales share will reach 22% by 2030 [1]. The large-scale promotion of EVs will also drive the construction of a large number of charging piles. As of May 2022, there were 3.581 million charging piles in China, including 1.419 million public charging piles [2]. Currently, the primary methods for replenishing EV energy in China are charging and battery swapping. In the battery swapping mode, the impact on the power grid is relatively small, but the initial investment cost is high, and the business operation model is not yet fully mature, making it difficult to implement on a large scale. The charging mode is currently used more widely, but when a large number of EVs connect to the grid for unordered charging, it can lead to issues such as increased peak-to-valley differences in grid load, degraded power quality, and increased grid operation losses [3], posing new challenges to the grid.
The prerequisite for EVs to participate in demand response is to accurately characterize their electricity consumption behavior. Pan Yinji and Qiu Xiaoyan et al. [4] establish an EV travel model and a battery state-of-charge model based on the trip chain theory, and introduce a Markov decision process to analyze EV users’ charging behavior. Yu Haiyang and Zhang Lu et al. [5], leveraging Internet of Vehicles data and the trip chain theory, use a logistic regression model to analyze factors influencing user charging, but only predict whether users will charge during their trips, lacking research on specific charging durations. To obtain the spatio-temporal distribution of EV charging loads, Zhang Meixia and Cai Yahui et al. [6] employ fuzzy inference based on the trip chain theory to analyze the impact of electricity prices and parking durations on users’ charging willingness. Cheng Shan and Zhao Zikai [7] consider various factors such as traffic flow and utilize trip chain technology to construct an energy consumption model per unit mile for EVs. It also introduces Markov decision process theory to predict the spatio-temporal distribution of loads under different strategies, regions, and travel days. To evaluate the potential of EVs to participate in grid demand-side response regulation, Li Yaohong and Chen Liangliang [8] simulate EV trip chains on weekdays and weekends, obtaining the spatial variations of EVs in different urban areas and estimating users’ willingness to respond to scheduling.
Sun Jingqi and Wang Yuan et al. [9] established a framework for electricity price-driven road-grid and power-grid interactive load forecasting based on trip chain theory and regret theory, enabling relatively accurate EV charging load predictions. Reference [10] constructs an individual EV charging model and a road traffic model, introduces an origin–destination analysis method to accurately simulate EV travel routes, and then uses the Monte Carlo method to predict the spatio-temporal distribution of EV loads. The predicted results are subsequently allocated to corresponding nodes in the distribution network to analyze the impact of large-scale EV integration into the distribution network. Xue Dong [11] divides the region into grids and introduces a Bayesian regularized backpropagation neural network prediction algorithm to establish a relationship between EV charging loads and influencing factors, thereby predicting the spatio-temporal distribution of EV charging loads. Xu Zhiwei et al. [12] divide the region based on different functions and predict the spatio-temporal distribution of EV charging loads in different regions using an origin-destination matrix, providing basic data for orderly EV charging scheduling. Tong Jingjing et al. [13] establish a modified trip chain model considering users’ travel willingness, achieving relatively accurate predictions of the spatio-temporal distribution of EV charging loads. However, it does not consider the impact of factors such as charging electricity prices and weather conditions on users’ travel willingness.
Uncontrolled charging of EVs connected to the grid can adversely affect the power system. However, as a controllable load, orderly charging control of EVs can not only eliminate the impact on the grid but also help improve load fluctuations and promote the consumption of renewable energy. Based on control methods, orderly charging scheduling strategies for EVs can be divided into centralized control and distributed control. Centralized control refers to a strategy where a control center uniformly schedules the charging of all EVs connected to the grid within a specific area based on grid source-load information. References [14,15,16,17] all adopt centralized control strategies to achieve goals such as reducing network losses or load fluctuations through unified control of EVs. After EVs are connected to the grid, users upload information such as charging needs and parking durations. The control center comprehensively considers source-load levels and user demands to formulate and issue an orderly EV charging plan, which EVs follow for charging. Distributed control, on the other hand, involves EV users autonomously responding to orderly charging strategies based on grid-published charging demand and price information, combined with their own needs. In this process, the grid does not directly participate in the control of EV charging but establishes incentive mechanisms based on source-load information to encourage user participation in orderly charging strategies. Reference [18] proposes a method for setting EV charging prices to encourage users to charge their EVs during off-peak load periods, based on users’ responses to electricity prices. Incentive mechanisms for distributed control are mainly divided into price-based mechanisms and incentive-based mechanisms. Price-based mechanisms include time-of-use pricing, critical peak pricing, and real-time pricing. Among them, time-of-use pricing is a common electricity pricing strategy in China, which appropriately raises prices during peak hours and lowers them during off-peak hours to incentivize users to reduce electricity consumption during peak periods and narrow the peak-to-valley difference [19]. Reference [20] establishes a multi-objective optimization model considering grid load fluctuations and user costs based on the time-of-use pricing system and EV grid integration, comparing and analyzing simulation results under time-of-use pricing and fixed pricing, as well as the impact of different time-of-use pricing on scheduling strategies. Reference [21] studies methods for setting time-of-use charging prices for EVs and proposes an orderly EV charging guidance strategy based on time-of-use charging price guidance and energy storage systems, which reduces electricity purchase costs for operators and user charging costs while enabling friendly access of charging loads in smart grids. Reference [22] evaluates the impact of EV discharging on battery life through a battery degradation model and establishes a multi-objective optimization scheduling model, analyzing optimization effects under different battery degradation models, user participation levels, and time-of-use pricing scenarios. In the context of campus power grids, References [23,24] proposed demand response-based load regulation methods, while references [25,26] investigated optimal configuration strategies for distributed energy resources (DERs) such as photovoltaic systems and energy storage systems. Regarding the aggregated scheduling of electric vehicles, references [27,28] developed vehicle-to-grid charge-discharge control models, and references [19,20,21] further incorporated the impact of user behavior uncertainty on scheduling. Additionally, reference [29] studied the bidding mechanisms for VPP participation in joint energy-ancillary service markets, and reference [30] proposed a multi-timescale dynamic scheduling algorithm to address renewable energy volatility. However, existing research predominantly focuses on single resources or isolated scenarios, lacking systematic exploration of coordinated scheduling strategies between campus power grids and EV fleets within the VPP framework, particularly in terms of high-penetration renewable energy integration and multi-objective optimization [31].
The main innovations of this study are summarized as follows:
(1)
This study constructs a deeply integrated framework for renewable energy accommodation and orderly EV scheduling in park scenarios. While existing research has focused on EV scheduling in VPPs, few studies have addressed the synergistic optimization between the high-density, regular charging/discharging behaviors of EVs in park scenarios and the fluctuating characteristics of renewable energy. This paper is the first to propose a customized scheduling strategy for park scenarios, which transforms distributed resources into flexibly controllable energy storage units through an EV aggregation model. By leveraging typical renewable energy output scenarios generated by CGAN, it achieves precise matching between demand-side response and renewable energy accommodation. This scenario-driven modeling approach provides new insights for similar high-density EV areas;
(2)
This study employs an improved PSO algorithm to achieve efficient solving of complex nonlinear non-convex problems. Although PSO algorithms have been used for EV scheduling, this paper introduces a dynamic inertia weight adjustment mechanism and a multi-population cooperative search strategy to address multiple constraints in park scenarios, including multi-time-scale coupling, stochastic charging/discharging behaviors, and user satisfaction. These improvements significantly enhance the algorithm’s convergence speed and global search capability when solving high-dimensional non-convex optimization problems. This method effectively balances the conflicting objectives of maximizing renewable energy accommodation and minimizing user charging costs.

2. Methodology

2.1. Attention Model

The attention mechanism has been widely applied in fields such as natural language processing and computer vision, effectively enhancing the model’s feature extraction capabilities by focusing on important features. Considering the relative positions of elements in wind and solar power output time series data, a self-attention model with a temporal pseudo-Gaussian distribution is adopted to incorporate the relative positional information of time series data on top of the traditional attention model [32,33].
K = W K F Q = W Q F V = W V F
A 1 = S [ S o f t M a x ( Q K T d ) ]
p i , j = e j i 4 ( W x ) 2 ,   j < i e j i 4 ( W x ) 2 ,   j i
P i T = [ p i , 1 , p i , 2 , , p i , T ]
A 2 T = [ P 1 , P 2 , , P N ]
O = f N ( A 1 + A 2 2 ) V
In the equations, F represents the input data to the self-attention layer; K, Q and V represent the key sequence, query sequence, and value sequence in the self-attention model, respectively; A1 denotes the attention matrix in the original self-attention model; pi,j represents the distance between the time series data at time i and time j; A2 is composed of pi,j. Equation (1) indicates the process of calculating the key sequence, query sequence, and value sequence; Equation (2) shows the calculation of the traditional attention matrix; Equation (3) uses the exponential function to calculate the distance between time series data; Equations (4) and (5) describe the composition of matrix A2; Equation (6) adds A1 and A2, multiplies the result by the value sequence after normalization function fN, and obtains the output of the attention model.

2.2. Mathematical Model of CGAN

CGANs have been widely applied in the field of power system scenario generation. By alternately training a discriminator and a generator, CGANs can convert random noise into random data that meets certain conditions and resembles real data characteristics. The input data for the discriminator includes both real and fake samples, which consist of wind and solar power output curve data for two consecutive days. Among them, the wind and solar power output curve data for the current day serve as conditional data, and the discriminator outputs a logical judgment on whether the sample is real. The input data for the generator includes random noise and the conditional data of the current day’s wind and solar power output, and the generator outputs a generated potential wind and solar power output curve for the following day. For the discriminator D and generator G, the objective function for training the CGAN is shown in Equation (7) [34].
min max V ( D , G ) = E I d a t a p ( I d a t a ) [ log D ( I d a t a I c o n ) ] + E I r a n p ( I r a n ) [ log ( 1 D ( G ( I r a n I c o n ) I c o n ) ) ]
In Equation (7), V(D,G) represents the loss function of the CGAN for the samples; E is the function for calculating the expected value of data; p(Idata) denotes the distribution of real samples; p(Iran) represents the distribution of random noise. The discriminator and generator are trained alternately, ultimately making it difficult for the discriminator to distinguish between real samples and samples generated by the generator. However, traditional Generative Adversarial Networks (GANs) often use Jensen–Shannon divergence to measure the loss function, which can easily lead to issues such as gradient vanishing. In this paper, the Wasserstein distance is adopted to characterize the loss function of the GAN. For two random variables ϖ and ϖ′, the Wasserstein distance can be defined as (8) according to reference [35].
W [ p ( ϖ ) , p ( ϖ ) ] = inf π ( ϖ , ϖ ) d ( ϖ , ϖ ) π ( d ϖ , d ϖ )
The distribution π(ϖ, ϖ′) in the formula represents the joint distribution of the random variables ϖ and ϖ′.
Considering the practical difficulty in directly calculating the Wasserstein distance, we incorporate the Kantorovich–Rubinstein duality theorem. Based on the Wasserstein distance condition [36], the loss function for generative adversarial networks can be expressed as in Equation (9):
W [ D , G ] = sup f D L 1 E I d a t a p ( I d a t a ) [ D ( I d a t a I c o n ) ] E I r a n p ( I r a n ) [ D ( G ( I r a n I c o n ) I c o n ) ]
The expression ‖fDL ≤ 1 indicates that the discriminator function satisfies 1-Lipschitz continuity. When converted into a penalty term [37], Equation (7) can be written as Equation (10).
min max V ( D , G ) = E I d a t a p ( I d a t a ) [ D ( I d a t a I c o n ) ] [ D ( G ( I r a n I c o n ) I c o n ) ] + λ E x p ( x ) [ ( D ( x ) 2 1 ) 2 ] I r a n p ( I r a n )
Here, the function λEx_~p(x)[(‖∇x_D(x_)‖2 − 1)2] serves as a gradient penalty term, ensuring that the discriminator function approximately satisfies 1-Lipschitz continuity.

2.3. Design of CGAN Structures

Introducing an attention model into the discriminator can effectively enhance the feature extraction capability of the discriminator, enabling it to efficiently guide the generator in producing data. In this paper, a convolutional neural network is used to construct the generator model. The CGAN network designed in this paper generates forecasted wind and solar power output for the next day based on actual measured data for the current day. A schematic diagram of the CGAN network structure is shown in Figure 1.
A formula meaning explanation Table 1 is given, which elaborates in detail on the functions, implementation methods, implementation tools, and universality of each formula, to help the reader gain a better understanding.

3. Results

3.1. Strategy for EV Aggregation Based on the Monte Carlo Method

In recent years, there has been a significant increase in the number of EVs. When a large number of EVs are connected to the power grid, their charging loads can have a certain impact on the power system. EVs also possess the characteristic of mobile energy storage compared to other loads. Therefore, a large number of EVs can simultaneously participate in the scheduling and control of VPPs as both energy sources and loads. Depending on the incentives and forms of participation, there are currently two main strategies for EV charging and discharging demand response. The first category is the demand response strategy based on EV charging tariffs, which influences EV users’ charging behavior by adjusting charging prices. The strategies currently adopted include time-of-use tariffs, real-time tariffs, and other customized charging tariff strategies. By enhancing the economic benefits of EV users’ charging, this approach guides changes or shifts in users’ charging demand to achieve the desired outcomes for the VPP. The second category is the demand response approach based on incentive pricing. In this strategy, the VPP formulates corresponding reward policies in the form of contracts, and EV users receive economic compensation by choosing to participate in either supplementary charging or grid-connected discharging based on the VPP’s needs.
If the battery range when the EV leaves home each day is ds, and the maximum range is dm, the state of charge (SOC) when the owner returns can be calculated using the following formula (11) according to [38].
S O C E V = ( d s d d m ) × 100 %
If the car owner starts charging with a constant power immediately after completing their daily trip until the end, it leads to a peak stacking phenomenon in the grid load. Using the Monte Carlo method to sample the EV travel distribution in residential areas can better simulate the travel patterns of EVs [39], and its distribution function is shown in Equation (12).
f ( x t ) = 1 σ t 2 π e ( t h μ t ) 2 2 σ t 2   μ t 12 t h 24 1 σ t 2 π e ( t h + 24 μ t ) 2 2 σ t 2   0 t h μ t 12
Here, th represents the return time of residential users; μt is the expected value, taken as 17.6; σt is the standard deviation, taken as 3.2.
The probability density function of the daily driving mileage d of EVs follows a log-normal distribution d I n N ( μ d , σ d 2 ) , and the expression is as in Equation (13) [40].
f ( d ) = 1 d σ d 2 π [ exp ( ln d μ d ) 2 2 σ d 2 ]
When considering the randomness of travel patterns in EV aggregation, we perform sampling on travel times, return times, and driving distances to summarize the random travel patterns of EVs. For the i-th EV, the following model is established [41,42]:
0 P E V , i ( t ) P E V , max
S O C E V , i ( t ) = S O C E V , i ( t 1 ) + η E V P E V , i ( t )
S O C E V , min S O C E V , i ( t ) S O C E V , max
P E V , s u m ( t ) = i = 1 I P E V , i ( t )
The fluctuation range of the aggregated power interval for EVs can be expressed as follows:
P E V , s u m ( t ) = i = 1 I P E V , i ( t )

3.2. Optimal Economic Dispatch Model

In optimal economic dispatch, the objective function aims to minimize the overall cost and maximize the renewable energy integration rate. This involves forecasting the wind and solar power output for the next day and optimizing the operation of each unit within the VPP. When EVs participate in system dispatch as part of the VPP, the system needs to comprehensively consider the generation costs of both the VPP and other generating units, with the goal of minimizing system operation costs. The objective function of the system dispatch model can be expressed as in Equation (19) according to [43].
min f ( t ) = C c g ( t ) + C o m ( t ) + C V P P ( t )
The scheduling period of the system dispatch model is one day. f(t) represents the total operating cost of the system during the time period t. The objective function consists of three components: generation cost Ccg(t), operation and maintenance cost Com(t), and demand response cost Cvpp(t).
The generation cost of the VPP can be calculated according to Equation (20).
C c g ( t ) = n = 1 N ( a n P G , n 2 + b n P G , n + c n )
The operation and maintenance cost of the VPP refers to the cost incurred to ensure the normal operation of the units. The specific expression is as follows:
C o m ( t ) = i W T , P V , E S S P i ( t ) θ i
The demand response cost can be calculated according to Equation (22).
C V P P ( t ) = G ( t ) J s ( t )
In the equation, G(t) represents the power output of the VPP to the system during time period t; Js(t) represents the wholesale electricity price for the VPP to sell to the system during time period t.
In addition, another objective function is to maximize the renewable energy integration rate. The renewable energy integration rate refers to the ratio of the actual consumption of wind and solar power in the VPP to their actual output, and the expression is given by Equation (23):
w r e t = P W T , F ( t ) + P P V , F ( t ) P W T ( t ) + P P V ( t )
In the equation, w r e t represents the renewable energy integration rate at time t; P W T , F ( t ) and P P V , F ( t ) represent the actual consumption values of wind power and photovoltaic power, respectively; P W T ( t ) and P P V ( t ) represent the actual output values of wind power and photovoltaic power, respectively.
When considering the optimization of the system, the constraints include equality constraints and inequality constraints, including power balance constraints, photovoltaic and wind power output constraints, and constraints related to energy storage devices.

3.3. Introduction to the Improved PSO Algorithm

The optimal economic dispatch considering the participation of EV aggregations is essentially a nonlinear programming problem. To enhance the solution efficiency, this paper adopts an improved PSO algorithm for solving it, ensuring the solution accuracy while improving efficiency.
PSO has broad application prospects in distribution networks, allowing for a more comprehensive assessment of actual grid conditions such as power consumption levels, active power losses, and reactive power demand. As a simplified and updated version of bird flock algorithms, PSO incorporates new measurement methods and rules, enabling a more comprehensive evaluation of actual grid usage. The improved PSO algorithm offers the following three advantages:
(1)
Broader data testing range: It avoids cross-collisions among individual data points, which could lead to calculation errors;
(2)
Increased calculation speed: After capturing data, it combines it with the corresponding calculation formulas to ensure consistent and coordinated calculation results;
(3)
Active proximity to individual measurements: It efficiently centralizes and processes information.
Based on the advantages of the improved PSO algorithm, a specific calculation algorithm is proposed. Let each particle in the PSO algorithm conduct search tests at a certain speed in the z-dimensional search space. Here, zj = (zj1, zj2, …, zjx) represents the position of particle j in the z-dimensional space, vj = (vj1, vj2, …, vjx) represents the testing speed of particle j in the z-dimensional space, and Obestj = (Obestj1, Obestj2, …, Obestjx) represents the optimal testing position of particle j in the z-dimensional space. Within the z-dimensional space, particle j’s testing speed and position can be partially adjusted based on its own testing capabilities and specific experience, using dynamic simulation to achieve optimal results.
v j n ( t + 1 ) = v j n ( t ) + a 1 b 1 ( ( O b e s t j n ( t ) z j ( t ) ) + a 2 b 2 ( ( E b e s t j n ( t ) z j ( t ) )
In Equation (24), vjn(t) represents the n-dimensional velocity component of particle j at iteration t; Obestjn(t) denotes the n-dimensional individual optimal position component of particle j at iteration t; a1 and a2 are learning constant factors; b1 and b2 are randomly selected within the range [0, 1] to ensure the universality of the test results; and Ebestjn(t) indicates the optimal measured position for the entire particle swarm.
The traditional PSO’s fixed inertia weight struggles to adapt to the dynamic coupling characteristics of multi-timescale and multi-objective EV scheduling. This paper adopts a piecewise linear decreasing inertia weight strategy, dynamically adjusting the inertia weight w based on the iteration phase, as shown in Equation (25).
w ( t ) = w max ( w max w min ) t T max
Here, t represents the current iteration count, T max denotes the total number of iterations, w max = 0.9, and w min = 0.4. In the early stages, a higher inertia weight w max enhances global search capability, preventing premature convergence to local optima. In later stages, a lower inertia weight w min improves local exploitation precision, accelerating convergence.
Meanwhile, coefficients a1 and b1 in the individual velocity update formula (24) are dynamically adjusted based on the deviation between the current solution and the optimal solution, as specified in Equations (26) and (27):
a 1 ( t ) = a 1 0 e χ t
b 1 ( t ) = b 1 0 ( 1 e γ t )
Here, χ and γ serve as attenuation factors that dynamically balance the weight distribution between individual experience and collective collaboration through an adaptive adjustment mechanism. To address the high-dimensional nonlinear characteristics exhibited by charging/discharging power constraints, state-of-charge constraints, and power flow equation constraints in the electric vehicle aggregation model, this study innovatively proposes a hierarchical population grouping mechanism. This mechanism divides the particle swarm agents into an exploration group focused on global space exploration and an exploitation group dedicated to local refinement optimization, with the two groups maintaining independent evolutionary processes while periodically exchanging optimal solution information. The exploration group adopts a large-scale random initialization strategy to effectively expand the algorithm’s search space by temporarily relaxing some inequality constraints, while the exploitation group constructs neighborhood solution spaces based on the current optimal solution and employs the projected gradient method to rectify infeasible solutions, thereby ensuring strict satisfaction of all constraint conditions.

3.4. Specific Implementation Steps of the Algorithm

The specific steps for optimizing the solution of the new energy grid dispatch model are as follows:
(1)
Set the economic dispatch mode of the grid and read the distribution network system data, and set parameters to calculate the optimal solution of the data;
(2)
Initialize all data within the grid to ensure the uniformity and completeness of the test. Calculate the actual electricity consumption and system power loss data through the objective function and determine whether they meet the set constraints. If the conditions are met, the economic income is taken as the fitness value. If not, reduce the constraints and recalculate according to step (1). Set parameters for the internal operating conditions and related costs of the grid based on the actual dispatch period, and determine the number of iteration channels, maximum particle speed, and acceleration factor for the grid;
(3)
Set the initial iteration count of the grid to 0, and then form all initial particles within the grid by randomly generating particles, determining the number and z-dimensional spatial position of each initial particle;
(4)
After the final iteration, each particle calculates the economic dispatch value of the grid. Compare the current particle with historical particles and optimize or replace it based on the comparison;
(5)
Use the improved PSO algorithm to output specific values for the calculated particle speed and update the particle’s position in real-time. If the calculated particle speed is greater than or equal to the maximum historical speed, select the current calculation result as the particle speed value; otherwise, retain the historical calculated speed;
(6)
When the initial iteration count of the grid reaches the maximum number of iterations, it indicates that the grid test is complete, and proceed to step (7). Otherwise, repeat step (4);
(7)
Obtain the optimal value of the internal test position of the grid.

4. Case Study

4.1. Effectiveness Validation of Scenario Generation

Firstly, the actual wind and solar power output data from a certain region in Xinjiang is used as the dataset, as shown in Figure 2 below. The data are preprocessed through cleaning, normalization, and other operations to ensure data quality. The method proposed in this paper is compared with the following two methods:
M1: Historical Data Resampling, which randomly selects samples from historical data as predictions for future scenarios;
M2: Monte Carlo Simulation, which generates future wind and solar power output scenarios based on the statistical characteristics of historical data using the Monte Carlo method.
The comparison results of evaluation indicators for scenario generation using different methods are shown in Table 2 below.
Observing the above table, it can be found that the CGAN performs better than both the historical data resampling method and the Monte Carlo method in generating wind and solar power output scenarios, based on the Mean Squared Error (MSE) and Mean Absolute Error (MAE) as well as the distribution fitting accuracy. Through the mutual competition between the generator and the discriminator, CGAN can learn and simulate complex data distributions. In power systems, wind and solar power output (such as from wind turbines and photovoltaic panels) is influenced by various factors, resulting in highly uncertain and random output data. CGAN can capture these complex data characteristics and generate wind and solar power output scenarios that are closer to real-world conditions. Compared to traditional GANs, CGAN introduces conditional variables, making the generation process more controllable. In power system dispatching, these conditional variables can include time, weather, geographical location, etc., ensuring that the generated scenarios are more aligned with actual conditions.
The historical data resampling method mainly relies on historical data and may not fully cover all possible scenarios. In contrast, CGAN can generate new and diverse scenarios, thereby increasing the richness and representativeness of the dataset. Over-reliance on historical data may lead to overfitting, where the model fits historical data well but has poor prediction capabilities for new data. By generating new data samples, CGAN helps to mitigate the overfitting problem. The Monte Carlo method estimates probability distributions through a large number of random samples, which can be computationally expensive. In contrast, CGAN learns data distributions through neural networks and can generate a large number of samples more quickly, improving computational efficiency. The Monte Carlo method may not accurately capture the complex characteristics of data distribution in some cases, leading to low-precision scenarios. However, through deep learning techniques, CGAN can more accurately simulate data distributions and generate more precise scenarios. CGAN can generate scenarios that are very close to the real data distribution, thus performing excellently in terms of distribution fitting. Since the scenarios generated by CGAN are closer to real-world conditions, their MSE and MAE values are typically lower when compared to real data.

4.2. Economic Analysis

The 24 h of a day are divided into peak, flat, and off-peak periods, with specific divisions and corresponding electricity prices listed in Table 3. The various cost information for EVs is shown in Table 4. The number of EVs in the VPP is 1000, with an initial state of charge following a normal distribution N(0.5, 0.12). The maximum charging power and discharging power for each EV is 10 kW, and the charging and discharging efficiencies are 90%. The expected state of charge at the beginning of a trip is 0.85. To prevent overcharging of EVs, the minimum and maximum states of charge are set to 0.2 and 0.9, respectively. To more intuitively demonstrate the effect of scheduling, two different scenarios are set here: ordered scheduling and unordered scheduling.
Scenario 1: Unordered charging of EVs.
Scenario 2: Ordered charging of EVs participating in VPP scheduling.
A comparison of the number of EVs on the grid during unordered charging (Scenario 1) and the EVs participating in demand response charging based on electricity prices (Scenario 2) is shown in Figure 3.
The comparison between the EV load during unordered charging (Scenario 1) and the EV load when participating in demand response based on electricity prices (Scenario 2) is shown in Figure 4.
Observing the above figure, we can find that in Scenario 2, during peak hours, the number of EVs charging decreases, resulting in a reduction of 14.56 MW in EV charging load compared to unordered charging; during flat hours, the EV charging load decreases by 9.40 MW compared to unordered charging, and the economic benefit of the VPP increases by USD 867.54 after demand response; during off-peak hours, the number of EVs charging increases, leading to an increase of 31.51 MW in EV charging load compared to unordered charging. Therefore, EV participation in demand response can reduce EV charging load during peak hours and shift it to off-peak hours. Active participation of EV users in demand response can change the EV charging time and charging power, which not only increases the economic benefit of the VPP but also reduces the “peak on peak” phenomenon caused by a large number of EVs charging simultaneously. During the operation of the VPP, there is a deviation between the planned output and the actual output, and the VPP needs to pay a corresponding penalty cost to the system. Figure 5 shows a comparison of the planned output and actual output of the VPP when EVs do not participate in its scheduling, with an overall output deviation of 9.26%. Figure 6 shows a comparison of the planned output and actual output of the VPP when EVs participate in its scheduling, with an overall deviation of 5.16%. By comparing these figures, it can be seen that EV participation in VPP scheduling helps to reduce the deviation between planned and actual output, improve the flexibility of internal scheduling within the VPP, and reduce penalty costs for the VPP.
To further demonstrate the effectiveness and feasibility of the proposed method, we have added comprehensive comparisons with currently prevalent approaches, including traditional PSO algorithms [43], deep reinforcement learning algorithms [44,45], and simulated annealing algorithms [46,47]. The comparative evaluation focuses on three key metrics: computation time, renewable energy accommodation rate, and single-scheduling computation time. The detailed comparative results are presented in Table 5 below.
The improved PSO algorithm demonstrates significant advantages in convergence iterations compared to traditional PSO, deep reinforcement learning (DRL), and simulated annealing (SA) algorithms, requiring only 145 iterations to converge, a 54.7% reduction from traditional PSO’s 320 iterations. This improvement stems from the combined effect of dynamic inertia weight adjustment and multi-population cooperative search strategies: early-stage high inertia weights expand global search scope to avoid local optima, while mid-to-late stages employ refined local searches by the exploitation group based on global optima transmitted from the exploration group. The piecewise linear decreasing weight strategy effectively balances exploration-exploitation trade-offs. In contrast, traditional PSO suffers from search oscillations due to fixed inertia weights. DRL requires 500 training epochs to balance policy network exploration and exploitation. SA needs 800 iterations due to slow annealing temperature decay, with its random inferior-solution acceptance further impeding efficiency.
Regarding renewable energy accommodation rate, the improved PSO achieves 92.6%, attributable to the exploration group’s active identification of high-potential scenarios (e.g., wind power output peaks) and the exploitation group’s precise matching via the projected gradient method for infeasible solution repair. Dynamic penalty functions enhance grid security constraint handling, reducing renewable curtailment. While DRL captures temporal correlations through Q-learning networks, its adaptability to extreme fluctuations is limited by training data coverage. Traditional PSO sacrifices the accommodation rate due to single-objective cost optimization bias, whereas SA struggles to stably approach high-accommodation solutions due to strong randomness.
In user cost reduction, the improved PSO delivers a 23.8% decrease, outperforming traditional PSO, DRL, and SA. Its multi-objective optimization framework coordinates accommodation and cost targets via the weighted sum method, with GPU parallel computing enabling real-time evaluation of thousands of EVs’ charging/discharging costs for rapid, low-cost solution screening. Though DRL implicitly learns price-time-user behavior relationships, it requires extensive cost-labeled training data. Traditional PSO fails to resolve multi-objective conflicts due to single-objective limitations, while SA lacks directional search mechanisms for efficient cost optimization.
For single-scheduling computation time, the improved PSO requires merely 4.2 s, a marked advantage. This results from GPU parallelization, distributing fitness calculations across 1024 CUDA cores and solution-space pruning that eliminates 15–20% invalid regions based on historical data. Traditional PSO suffers from serial full-space search inefficiency. DRL is constrained by policy network inference latency and environment interaction overhead. SA cannot parallelize sequential neighborhood solution generation. These innovations enable the improved PSO to meet microgrid real-time requirements while ensuring scheduling precision, offering an efficient solution for high-dimensional nonlinear-constrained problems.
Simulation results demonstrate that when EV penetration reaches 20%, the proposed strategy can improve the system power factor from an initial 0.82 to 0.95 while reducing key bus voltage fluctuations from ±8.5% to ±2.3%. Specifically, during peak photovoltaic output periods (11:00–13:00), the EV cluster actively provides 12.3 Mvar of capacitive reactive power through four-quadrant regulation, increasing the bus voltage from 0.91 p.u. to 1.03 p.u. while reducing total voltage harmonic distortion (THD) from 7.2% to 3.8%. Notably, under extreme wind power output drop conditions (25% reduction during 14:30–14:45), the EV dynamic reactive power support system injects 9.8 Mvar of reactive power within 420 ms, restoring the fault node voltage from 0.87 p.u. to 0.96 p.u. For an in-depth evaluation of different scenarios, we established Table 6 and Table 7. Table 6 data shows that as EV penetration increases from 15% to 35%, the system’s average power factor improves linearly from 0.85 to 0.98, with each 10% penetration increase reducing harmonic THD by approximately 1.2 percentage points. Table 7 quantifies dynamic responses under three typical disturbances: (1) During three-phase load mutation (+40%), the improved PSO algorithm-based dynamic reactive power allocation reduces voltage imbalance from 8.7% to 2.1%. (2) In photovoltaic islanding switching, EV reactive power compensation shortens the voltage sag duration to 180 ms. (3) During nighttime charging peaks, coordinated charging phase angles of 300 EVs reduce the regional grid’s inductive reactive power demand by 62%. These results validate the superiority of EV clusters as flexible reactive power compensation resources. Their distributed characteristics enable more precise voltage regulation (with spatial resolution reaching distribution transformer level) than centralized devices, while the intelligent scheduling algorithm resolves the contradiction between response speed and control accuracy in traditional compensation devices, improving dynamic response rates by 2–3 times, providing a new technical pathway for coordinated power quality optimization in VPP environments.

5. Discussions

The integration of EVs into VPP architectures presents significant opportunities for energy system transformation while simultaneously facing complex challenges. The core value of this integration lies in aggregating distributed EV battery resources into controllable grid assets, thereby enhancing power system flexibility and stability [48]. Through intelligent scheduling, EVs can charge during off-peak periods and discharge or reduce charging loads during peak hours, effectively alleviating grid pressure. Research indicates that large-scale deployment of vehicle-to-grid (V2G) technology can significantly improve renewable energy accommodation capacity [49]. However, multiple barriers remain for large-scale EV integration into VPPs. Technically, battery cycle life and degradation issues are particularly prominent, as frequent charging/discharging may impact battery performance and raise owner concerns. While some studies suggest optimized charging strategies can maintain battery wear within acceptable limits, resolving this issue still requires more precise battery management systems and comprehensive health assessment models. Immature market mechanisms also constrain VPP development, as many regional electricity markets lack appropriate trading rules for distributed resource participation, making it difficult for EV aggregators to obtain reasonable returns. For instance, some U.S. states lack clear V2G capacity compensation mechanisms, preventing full utilization of potential dispatchable capacity [50].
User acceptance represents another critical challenge [51]. Despite VPP technology’s potential, most EV owners lack understanding of its operational models and even hold misconceptions, such as concerns about grid participation affecting daily usage or reducing battery lifespan. Behavioral economics research shows that designing more user-friendly participation mechanisms, such as automatically optimized charging/discharging schedules that do not compromise vehicle availability, can significantly improve user willingness. Additionally, infrastructure limitations hinder VPP expansion, particularly regarding bidirectional charger deployment and distribution grid digitalization upgrades, as many regional grids lack the real-time monitoring and response capabilities required for high-penetration EV integration. Policy and industry collaboration will be crucial for advancing EV-VPP integration [52,53]. Pioneering regions have validated this model’s feasibility through subsidies and pilot projects, with China conducting V2G demonstrations in selected cities to explore scheduling strategies suitable for high coal-power contexts. Moving forward, standardized communication protocols, dynamic pricing mechanisms, and improved cross-sector regulatory frameworks will become decisive factors in realizing EVs’ potential as grid flexibility resources. Overall, despite numerous challenges, the coordinated development of EVs and VPPs represents a critical pathway for energy systems transitioning toward distributed and intelligent paradigms, with successful implementation poised to profoundly enhance grid reliability and accelerate carbon neutrality progress.

6. Conclusions

This paper addresses the challenges posed by the inherent intermittency and uncertainty of renewable energy generation to the safe and stable operation of power grids, particularly issues such as wind and solar power curtailment arising from mismatches between power demand and renewable energy supply. It proposes an ordered scheduling strategy for EVs targeted at renewable energy consumption in campus areas. By leveraging EVs in VPPs as distributed energy storage resources, the paper effectively promotes the consumption of renewable energy.
Firstly, this paper employs CGANs technology to generate a series of typical scenarios in order to address the uncertainty of renewable energy output. Subsequently, a mathematical model for EV aggregation is established, treating the numerous dispersed EVs within the campus as a collectively controllable resource, laying the foundation for their ordered scheduling. To maximize renewable energy consumption and optimize EV charging scheduling, an improved PSO algorithm is adopted to solve the problem. Finally, case studies using a testing system demonstrate the feasibility and effectiveness of the proposed method.
In future research, several potential directions are worth exploring further. Firstly, the EV aggregation model can be further optimized by considering more practical factors, such as EV driving patterns, battery aging, and charging preferences of EV owners. Secondly, research can be conducted on how to coordinate the schedule with other distributed energy resources (such as energy storage systems, microgrids, etc.) to further improve the consumption rate of renewable energy and the stability of the power grid. Additionally, exploring the application of artificial intelligence and machine learning technologies in the ordered scheduling of EVs can lead to smarter and more efficient scheduling strategies. These research directions will help further promote the widespread use of renewable energy and the sustainable development of power systems.

Author Contributions

Conceptualization, X.Z., C.L., Z.P., T.L., J.Y., Z.X., X.W. and H.Z.; software, X.Z., C.L., Z.P., T.L., J.Y., Z.X., X.W. and H.Z.; writing—original draft preparation, X.Z., C.L., Z.P., T.L., J.Y., Z.X., X.W. and H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Hubei Provincial Natural Science Foundation Innovation and Development Joint Fund Project (2024AFD370): Research on the evaluation of industrial load demand response potential and ag-gregation response strategy based on digital twin technology and Research project of China Three Gorges Corporation (NBZZ202400038): Research on the Application of Virtual Power Plant Evaluation Modeling and Market Trading Strategy Technology for Industrial and Commercial Flexibility Resources.

Data Availability Statement

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

Conflicts of Interest

Authors Xiao Zhou, Cunkai Li, Zhongqi Pan, Tao Liang and Jun Yan were employed by the China Three Gorges Corporation Limited and authors Zhengwei Xu and Xin Wang were employed by the Shenzhen Zhongdian Electric Power Technology 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.

References

  1. Li, L.; Zhao, X.; Li, X.; Zu, G.; Cao, S. A Prediction Model for Electric Vehicle Charging Demand Based on Dynamic Traffic Information and Its Impact Analysis on the Distribution Network. Power Syst. Clean Energy 2020, 36, 107–118. [Google Scholar]
  2. Li, J.; Du, C.; Zhang, H. Overview of Bidirectional Interaction Technology Between Smart Grid and Electric Vehicles. Power Supply Util. 2020, 27, 12–14. [Google Scholar]
  3. Zhang, B.; Sun, Y.; Li, J. Peak Shaving Model and Benefit Analysis of Electric Vehicles in the Power Grid. Power Supply Util. 2022, 29, 29–32. [Google Scholar]
  4. Pan, Y.; Qiu, X.; Wu, J.; Yan, Z. Analysis of Electric Vehicle Charging Behavior Based on Markov Decision Process. Electr. Power Constr. 2019, 39, 129–137. [Google Scholar]
  5. Yu, H.; Zhang, L.; Ren, Y. Analysis of Factors Influencing Electric Vehicle Charging Behavior Based on Travel Chains. J. Beijing Univ. Aeronaut. Astronaut. 2019, 45, 1732–1740. [Google Scholar]
  6. Zhang, M.; Cai, Y.; Yang, X.; Wang, K. Distribution Analysis Method for Household Electric Vehicle Charging Demand Considering User Charging Variability. Electr. Power Autom. Equip. 2020, 40, 154–163. [Google Scholar]
  7. Cheng, S.; Zhao, Z.; Chen, N.; Zhao, K. Temporal and Spatial Distribution Prediction of Electric Vehicle Charging Load Considering Coupling Factors. Electr. Power Eng. Technol. 2022, 41, 194–201, 208. [Google Scholar]
  8. Li, Y.; Chen, L.; Liu, W.; Zhao, J. Assessment of Urban Private Electric Vehicle Regulation Capability Based on User Travel Chains and Regulation Willingness. Electr. Power Constr. 2021, 42, 100–112. [Google Scholar]
  9. Sun, J.; Wang, Y.; Guo, X.; Xiao, B.; Yu, H. Operation Optimization of Virtual Power Plants Considering Environmental Externalities and Renewable Energy Output Uncertainties. Autom. Electr. Power Syst. 2022, 46, 50–59. [Google Scholar]
  10. Ying, F.; Xu, T.; Li, Y.; Wang, D.; Zhang, D.; Yao, D. Research on Day-Ahead Scheduling Optimization Strategy for Commercial Virtual Power Plants with Electric Vehicle Charging Stations. Power Syst. Prot. Control 2020, 48, 92–100. [Google Scholar]
  11. Xue, D. Research on Optimal Operation of Virtual Power Plants Considering the Integration of Electric Vehicles. Ph.D. Thesis, Hefei University of Technology, Hefei, China, 2020. [Google Scholar]
  12. Xu, Z.; Hu, Z.; Song, Y.; Xie, K. Ordered Charging Strategy for Electric Vehicle Charging Stations Based on Dynamic Time-of-Use Electricity Prices. Proc. CSEE 2024, 34, 3638–3646. [Google Scholar]
  13. Tong, J.; Wen, J.; Wang, D.; Wang, F.; Yao, W. Multi-Objective Optimization Charging Strategy for Electric Vehicles Based on Time-of-Use Electricity Prices. Power Syst. Prot. Control 2025, 44, 17–23. [Google Scholar]
  14. Zhang, P.; Qian, K.; Zhou, C.; Stewart, B.G.; Hepburn, D.M. A methodology for optimization of power systems demand due to electric vehicle charging load. IEEE Trans. Power Syst. 2022, 27, 1628–1636. [Google Scholar] [CrossRef]
  15. Wu, C.; Zhang, J.; Zhang, X.; Wu, W. Evaluation of peak shaving and valley filling levels of electric vehicles considering the impact of electricity prices. Power Syst. Prot. Control 2024, 47, 14–22. [Google Scholar]
  16. Pan, Y.; Qiu, X.; Xiao, J.; Chun, Z. Temporal and spatial two-layer optimal scheduling strategy for electric vehicle charging load. South. Power Syst. Technol. 2023, 55, 62–70. [Google Scholar]
  17. Cheng, S.; Yang, K.; Wei, Z.; Yuan, J. Ordered charging and discharging scheduling of electric vehicle charging stations considering electricity price optimization and discharging regulation. Power Syst. Prot. Control 2021, 49, 1–8. [Google Scholar]
  18. Wang, H.; Jia, Y.; Shi, M.; Xie, P.; Lai, C.S.; Li, K. A hybrid incentive program for managing electric vehicle charging flexibility. IEEE Trans. Smart Grid 2022, 14, 476–488. [Google Scholar] [CrossRef]
  19. Huang, L.; Zhou, G.; Zhang, Y.; Zhao, Y. Precise evaluation and dynamic incentive decision-making for aggregator demand response considering contribution degree. Electr. Power Eng. Technol. 2022, 41, 21–29. [Google Scholar]
  20. Chen, R.; Fan, R.; Wang, D.; Yao, Q. Effects of multiple incentives on electric vehicle charging infrastructure deployment in China: An evolutionary analysis in complex network. Energy 2023, 264, 125747. [Google Scholar] [CrossRef]
  21. Wang, J.; Jia, Y.; Mi, Z.; Kou, Y. Strategy for electric vehicle standby service based on dual incentive mechanism. Autom. Electr. Power Syst. 2020, 44, 68–76. [Google Scholar]
  22. Chang, F.; Huang, M.; Zhang, W. Guidance strategy for orderly charging of electric vehicles under time-of-use charging prices. Power Syst. Technol. 2024, 40, 2609–2615. [Google Scholar]
  23. Qin, W.; Li, X.; Jing, X.; Zhu, Z.; Lu, R.; Han, X. Multi-Temporal Optimization of Virtual Power Plant in Energy-Frequency Regulation Market Under Uncertainties. J. Mod. Power Syst. Clean Energy 2025, 13, 675–687. [Google Scholar] [CrossRef]
  24. Mo, L.; Lan, J.; Chen, Z.; Yang, H.; Liao, X.; Chen, H. Multi-Time Scale Frequency Regulation Control of Virtual Power Plant Based on Fuzzy Sets. IEEE Trans. Smart Grid 2025, 16, 2361–2374. [Google Scholar] [CrossRef]
  25. Qureshi, U.; Andrabi, I.; Manzoor, M.; Khan, S.J.; Gul, O.; Farooq, F.; Panigrahi, B.K. Optimizing Electric Vehicle Integration in Virtual Power Plants: A Stochastic Optimization Framework with MDNN Integration. IEEE Trans. Ind. Appl. 2024, 60, 9227–9236. [Google Scholar] [CrossRef]
  26. Bonfiglio, A.; Minetti, M.; Procopio, R. Vehicle-to-Home Service via Electric Vehicle Energy Storage Virtual Partitioning. IEEE Trans. Ind. Appl. 2025. early access. [Google Scholar] [CrossRef]
  27. Kikusato, H.; Ando, R.; Hashimoto, J.; Otani, K.; Kaneko, N. Optimal Short-Term Charge/Discharge Operation for Electric Vehicles with Volt-Var Control in Day-Ahead Electricity Market. IEEE Open Access J. Power Energy 2024, 11, 410–420. [Google Scholar] [CrossRef]
  28. Chen, Q.; Wang, X.; Feng, C.; Li, C.; Zheng, K. Empowering the Grid Edge to Think: Applications of Artificial Intelligence for Virtual Power Plants in China. IEEE Power Energy Mag. 2024, 22, 66–77. [Google Scholar] [CrossRef]
  29. Rahimi, F.; Ipakchi, A.; Albuyeh, F.; Mokhtari, S. Enterprise DERMS: A universal virtual power plant management platform. IEEE Electrif. Mag. 2025, 13, 22–29. [Google Scholar] [CrossRef]
  30. Wang, S.; Wu, W.; Chen, Q.; Yu, J.; Wang, P. Stochastic Flexibility Evaluation for Virtual Power Plants by Aggregating Distributed Energy Resources. CSEE J. Power Energy Syst. 2024, 10, 988–999. [Google Scholar]
  31. Papalexopoulos, A.; Oren, S.; Chao, H.-P. Integrating Behind-the-Meter Grid Edge Technologies into Wholesale Electricity Markets: A Novel Methodology Using Virtual Power Plants. IEEE Power Energy Mag. 2024, 22, 91–100. [Google Scholar] [CrossRef]
  32. Fu, Y.; Ren, Z.; Wei, S.; Huang, L.; Li, F.; Liu, Y. Dynamic Optimal Power Flow Method Based on Reinforcement Learning for Offshore Wind Farms Considering Multiple Points of Common Coupling. J. Mod. Power Syst. Clean Energy 2024, 12, 1749–1759. [Google Scholar] [CrossRef]
  33. Liu, W.; Wang, Y.; Shi, Q.; Yao, Q.; Wan, H. A multi-stage restoration strategy to enhance distribution system resilience with improved conditional generative adversarial nets. CSEE J. Power Energy Syst. 2022. early access. [Google Scholar] [CrossRef]
  34. Niu, Z.; Li, J.; Ai, Q.; Jiang, J.; Yang, Q.; Zhou, H. EV Charging System Considering Power Dispatching Based on Multi-Agent LLMs and CGAN. IEEE Trans. Intell. Transp. Syst. 2025. early access. [Google Scholar] [CrossRef]
  35. Yang, L.; Sun, X.; Cao, X.; Chen, M.; Guan, X. Joint chance-constrained coordinated scheduling for electricity-heat coupled systems considering hydrogen storage. Energy Internet 2024, 1, 99–111. [Google Scholar] [CrossRef]
  36. Tong, H.; Zeng, X.; Yu, K.; Zhou, Z. A Fault Identification Method for Animal Electric Shocks Considering Unstable Contact Situations in Low-Voltage Distribution Grids. IEEE Trans. Ind. Inform. 2025, 21, 4039–4050. [Google Scholar] [CrossRef]
  37. Xia, Y.; Li, Z.; Xi, Y.; Wu, G.; Peng, W.; Mu, L. Accurate Fault Location Method for Multiple Faults in Transmission Networks Using Travelling Waves. IEEE Trans. Ind. Inform. 2024, 20, 8717–8728. [Google Scholar] [CrossRef]
  38. Kanimozhi, K.; Kesavan, P.K.; Harischandrappa, N.; Venkatesaperumal, B. Design and Laboratory Validation of a Grid-Interfaced Totem-Pole PFC Converter with PR Controller and Isolated Phase Modulated Converter for Solar-Powered Next-Gen EV Charging System. CPSS Trans. Power Electron. Appl. 2025, 10, 32–43. [Google Scholar]
  39. Schwanninger, R.; Friedrich, J.; Drexler, K.; Lavery, M.; Maerz, M. Introduction of a Self-Stabilizing Decentralized Energy Management System for Undersupplied EV Charging Parks. IEEE Open J. Power Electron. 2025, 6, 660–680. [Google Scholar] [CrossRef]
  40. Ny, D.; Jeenanunta, C. Optimizing Power System Reliability and Carbon Emissions with a Fuzzy Unit Commitment Model Incorporating Renewable Energy, Load Forecast Errors, EV Charging, and Energy Storage System. IEEE Access 2024, 12, 164412–164426. [Google Scholar] [CrossRef]
  41. Jie, B.; Baba, J.; Kumada, A. Contribution to V2G System Frequency Regulation by Charging/Discharging Control of Aggregated EV Group. IEEE Trans. Ind. Appl. 2024, 60, 1129–1140. [Google Scholar] [CrossRef]
  42. Thapa, J.; Olowolaju, J.; Benidris, M.; Livani, H. Power System Reliability Assessment Under Electric Vehicle and Photovoltaic Uncertainty. IEEE Trans. Ind. Appl. 2025, 61, 2248–2257. [Google Scholar] [CrossRef]
  43. Xu, B. Research on the Application of PSO Algorithm in Aviation Control Flight Plan Path Search. In Proceedings of the 2024 IEEE 2nd International Conference on Sensors, Electronics and Computer Engineering (ICSECE), Jinzhou, China, 29–31 August 2024; pp. 1435–1439. [Google Scholar]
  44. Ji, T.; Lin, P.; Zhu, M.; Meng, Q.; Zhang, C.; Zhu, J. Deep Reinforcement Learning Based Robust Control Strategy for Power Sharing and Voltage Regulation in DC Grid-Forming Energy Storage System. In Proceedings of the 2024 4th Power System and Green Energy Conference (PSGEC), Shanghai, China, 22–24 August 2024; pp. 1327–1331. [Google Scholar]
  45. Xi, J.; Hu, X.; Xiao, D. Energy Management Strategy for Fuel Cell Hybrid Emergency Power System based on Deep Reinforcement Learning. In Proceedings of the 2024 4th International Symposium on AI (ISAI), Chengdu, China, 25–27 April 2024; pp. 43–47. [Google Scholar]
  46. Huo, X.; Yu, J.; Pang, C.; Ding, Y. Integrated Demand Response Optimization for Consumer with Herd Mentality: A Genetic Simulated Annealing Approach. IEEE Access 2024, 12, 69097–69111. [Google Scholar] [CrossRef]
  47. Gao, J.; Xu, X.; Pu, Q.; Petrovic, P.B.; Rodić, A.; Wang, Z. A Hybrid Path Planning Method Based on Improved A* and CSA-APF Algorithms. IEEE Access 2024, 12, 39139–39151. [Google Scholar] [CrossRef]
  48. Xia, S.; Zhang, X.; Yuan, L.; Wu, T.; Li, G.; Shahidehpour, M. An Energy Scheduling Scheme for Highway Microgrids Virtually Networked by Electric Operation and Maintenance Vehicles. IEEE Trans. Ind. Appl. 2024, 60, 1010–1022. [Google Scholar] [CrossRef]
  49. Wang, Y.; Wang, H.; Du, X. Optimized Operation of Multi-Virtual Power Plant for Energy Sharing Based on Nash Multi-Stage Robust. IEEE Access 2024, 12, 169805–169823. [Google Scholar] [CrossRef]
  50. Wu, X.; Huang, H.; Chen, J.; Tong, X.; Tong, N.; Lai, L.L. Consensus Algorithm-Based Two-Stage Frequency Regulation Strategy with EVs Participating as VSMs. IEEE Trans. Smart Grid 2025, 16, 1562–1574. [Google Scholar] [CrossRef]
  51. Harsh, P.; Sun, H.; Das, D.; Rameshrao, A.G.; Jiang, J. Stochastic Incentive-based Demand Response Program for Virtual Power Plant with Distributed Energy Resources. IEEE Trans. Ind. Appl. 2025. early access. [Google Scholar] [CrossRef]
  52. Yuvaraj, T.; Sengolrajan, T.; Prabaharan, N.; Devabalaji, K.R.; Uehara, A.; Senjyu, T. Enhancing Smart Microgrid Resilience and Virtual Power Plant Profitability through Hybrid IGWO-PSO Optimization with a Three-Phase Bidding Strategy. IEEE Access 2025, 13, 80796–80820. [Google Scholar] [CrossRef]
  53. Li, M.; Mohammadi, J. Learning to optimize joint chance-constrained power dispatch problems. CSEE J. Power Energy Syst. 2025. early access. [Google Scholar] [CrossRef]
Figure 1. A schematic diagram of the CGAN network structure.
Figure 1. A schematic diagram of the CGAN network structure.
Processes 13 01973 g001
Figure 2. Real renewable energy output data from Xinjiang in China. (a) Output of wind power. (b) Output of photovoltaic power.
Figure 2. Real renewable energy output data from Xinjiang in China. (a) Output of wind power. (b) Output of photovoltaic power.
Processes 13 01973 g002
Figure 3. Number of EVs before and after participating in demand response.
Figure 3. Number of EVs before and after participating in demand response.
Processes 13 01973 g003
Figure 4. Charging power of EVs before and after participating in demand response.
Figure 4. Charging power of EVs before and after participating in demand response.
Processes 13 01973 g004
Figure 5. Output of VPP after participating in demand response.
Figure 5. Output of VPP after participating in demand response.
Processes 13 01973 g005
Figure 6. Output of VPP before participating in demand response.
Figure 6. Output of VPP before participating in demand response.
Processes 13 01973 g006
Table 1. Explanation of formula meaning and implementation method.
Table 1. Explanation of formula meaning and implementation method.
Formula NumberMeaningImplementation MethodTools/PlatformsUniversality When Parameters Change
(1)–(6)Calculation and attention matrix generation of key sequence, query sequence, and value sequence in the self-attention model.Linear transformation of input data through neural network layers, incorporating pseudo-Gaussian distribution to introduce relative position information of time series and enhance feature extraction capability.Python 3 (TensorFlow/PyTorch), utilizing the frameworks’ matrix operations and automatic differentiation to implement the attention mechanism.High: Only requires adjustment of weight matrix dimensions when input dimensions change, with no need to modify the formula structure.
(7)Definition of the loss function for CGAN to optimize the adversarial training process between generator and discriminator.Alternating training of generator and discriminator, updating network parameters through backpropagation.Python (PyTorch/TensorFlow), implementing conditional input and loss calculation using GAN frameworks.Medium: Requires adjustment of generator/discriminator input layer structures.
(8)–(10)Introducing Wasserstein distance to improve GAN training stability by adding gradient penalty terms to ensure the discriminator satisfies 1-Lipschitz continuity.Adding gradient penalty terms to the loss function to constrain the discriminator’s weight updates during optimization, preventing gradient vanishing or explosion.Python (PyTorch), implementing custom loss functions that utilize automatic differentiation to compute gradient penalties.High: WGAN-GP is a general method where parameter changes only require numerical adjustments.
(11)Calculation of SOC for EV users upon return, based on the relationship between daily travel distance and battery capacity.Predicting dynamic SOC changes by simulating user behavior using Monte Carlo methods, combining travel distance and maximum battery capacity.Python (NumPy/Pandas) or MATLAB 2024a, implemented through probability distribution sampling and numerical calculations.Medium: If battery capacity or user travel patterns change, parameters need adjustment while the formula structure remains unchanged.
(12)–(13)Modeling probability distributions for user return time and travel distance in Monte Carlo method.Random sampling of user travel times and distances to generate multiple possible travel scenarios for charging load prediction.Python, utilizing random number generators and distribution functions for sampling.High: Distribution parameters can be directly modified to adapt to travel patterns in different regions or user groups.
(14)–(18)Modeling individual EV charging/discharging power and aggregated power intervals to quantify the dispatchable potential of EV clusters.Establishing power and time constraints for single EV, then calculating the total power range of the cluster by aggregating individual behaviors.Python (Pyomo/Gurobi) or MATLAB, solving power interval constraints using optimization toolkits.Medium: If EV charging power or efficiency parameters change, variables in the formula need updating, but the model framework remains unchanged.
(19)–(23)Objective function of the VPP economic dispatch model, including generation costs, operation and maintenance costs, demand response costs, and renewable energy accommodation rate.Minimizing total costs while maximizing accommodation rate through optimization algorithms, solving for optimal dispatch solutions under constraints.Python (Pyomo/Gurobi/CPLEX) or MATLAB, implemented using MIP solvers.High: The mathematical form of the objective function and constraints remains fixed, with parameters directly replaceable with actual data.
(24)–(27)Enhanced PSO algorithm featuring velocity updates, dynamic inertia weight adjustment, and adaptive learning factor mechanisms.Dynamically adjusts inertia weights to balance global exploration and local exploitation, while multi-population collaboration enhances solving efficiency for high-dimensional non-convex problems.Python or MATLAB, coding particle update rules and grouping strategies.High: The algorithm framework is universal, with adjustable parameters, applicable to diverse optimization scenarios.
Table 2. The comparison results of evaluation indicators for scenario generation.
Table 2. The comparison results of evaluation indicators for scenario generation.
MethodEvaluation Indicators
Degree of Distribution FittingMSEMAE
The proposed method0.0210.0480.075
M10.0450.0680.089
M20.0390.0650.101
Table 3. Time period division and corresponding dynamic time-of-use electricity prices.
Table 3. Time period division and corresponding dynamic time-of-use electricity prices.
Period of TimeElectricity Sales Price of VPPs/USDElectricity Price After EVs Participating Demand Response/USDElectricity Purchase Price from the Main Grid/USD
11:00–13:00, 17:00–21:000.550.551.02
7:00–10:00; 14:00–16:000.410.450.81
Other time0.240.340.54
Table 4. Cost information for EVs.
Table 4. Cost information for EVs.
Power TypeCharging Cost/(USD/MWh)Discharging Cost/(USD/MWh)Replacement Cost/(USD)
EVs68.568.540,000
Table 5. Performance comparison of different methods.
Table 5. Performance comparison of different methods.
AlgorithmConvergence IterationsRenewable Energy Accommodation RateUser Cost ReductionSingle Scheduling Computation Time
Traditional PSO32082.3%15.2%18.7 s
Improved PSO (this study)14592.6%23.8%4.2 s
Deep Reinforcement Learning (DRL)500 (Training times)89.5%20.1%26.5 s
Simulated Annealing (SA)80078.6%12.4%42.3 s
Table 6. Steady-state reactive power compensation performance.
Table 6. Steady-state reactive power compensation performance.
EV Penetration RateInitial Power FactorOptimized Power FactorVoltage Fluctuation Rate Reactive Power Output Range (Mvar) THD Suppression Rate
15%0.87 ± 0.050.93 ± 0.02±4.1%4.8–6.341.2%
25%0.82 ± 0.070.96 ± 0.01±2.3%8.5–11.258.7%
35%0.78 ± 0.090.98 ± 0.005±1.8%12.6–14.972.4%
Table 7. Transient voltage support capability.
Table 7. Transient voltage support capability.
Disturbance TypeMaximum Voltage Deviation Recovery Time (ms)Reactive Power Injection (Mvar)Unbalance Reduction Algorithm Convergence Iterations
Wind Power Sudden Drop (30%)0.87→0.964209.8 ± 1.2/18
Photovoltaic Islanding Switch0.89→0.973807.2 ± 0.86.3%→1.9%15
Three-phase Load Mutation0.85→0.9452011.5 ± 2.18.7%→2.1%22
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

Zhou, X.; Li, C.; Pan, Z.; Liang, T.; Yan, J.; Xu, Z.; Wang, X.; Zou, H. Coordinated Scheduling Strategy for Campus Power Grid and Aggregated Electric Vehicles Within the Framework of a Virtual Power Plant. Processes 2025, 13, 1973. https://doi.org/10.3390/pr13071973

AMA Style

Zhou X, Li C, Pan Z, Liang T, Yan J, Xu Z, Wang X, Zou H. Coordinated Scheduling Strategy for Campus Power Grid and Aggregated Electric Vehicles Within the Framework of a Virtual Power Plant. Processes. 2025; 13(7):1973. https://doi.org/10.3390/pr13071973

Chicago/Turabian Style

Zhou, Xiao, Cunkai Li, Zhongqi Pan, Tao Liang, Jun Yan, Zhengwei Xu, Xin Wang, and Hongbo Zou. 2025. "Coordinated Scheduling Strategy for Campus Power Grid and Aggregated Electric Vehicles Within the Framework of a Virtual Power Plant" Processes 13, no. 7: 1973. https://doi.org/10.3390/pr13071973

APA Style

Zhou, X., Li, C., Pan, Z., Liang, T., Yan, J., Xu, Z., Wang, X., & Zou, H. (2025). Coordinated Scheduling Strategy for Campus Power Grid and Aggregated Electric Vehicles Within the Framework of a Virtual Power Plant. Processes, 13(7), 1973. https://doi.org/10.3390/pr13071973

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

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop