Next Article in Journal
AI-Driven Load and Net-Load Forecasting in Renewable-Rich and Electric-Vehicle-Intensive Power Systems: An Evidence-Mapping Review
Previous Article in Journal
A Benchmark System for Verifying the Harmonic Amplification Mechanism of Wideband Oscillations
Previous Article in Special Issue
Networked Multi-Agent Deep Reinforcement Learning Framework for the Provision of Ancillary Services in Hybrid Power Plants
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Coordinated Optimal Dispatch of Distribution Networks and Aggregated Customer-Side Flexible Resources

1
State Grid Economic and Technological Research Institute Co., Ltd.,State Grid Corporation of China, Beijing 100031, China
2
School of Energy, Power and Mechanical Engineering, North China Electric Power University, Beijing 102211, China
3
State Grid Shanghai Electric Power Company, State Grid Corporation of China, Shanghai 200122, China
*
Author to whom correspondence should be addressed.
Energies 2026, 19(11), 2570; https://doi.org/10.3390/en19112570
Submission received: 1 April 2026 / Revised: 20 May 2026 / Accepted: 21 May 2026 / Published: 26 May 2026
(This article belongs to the Collection Artificial Intelligence and Smart Energy)

Abstract

Driven by the dual-carbon goals, the high-proportion integration of distributed renewable energy into distribution networks poses significant challenges to operational flexibility due to the inherent intermittency and uncertainty of renewable sources. While direct control of flexible resources is possible, it often entails high costs and lacks mechanisms to incentivize proactive participation. This paper investigates the flexible optimal operation of distribution networks with the active participation of aggregated user-side flexible resources. A two-layer day-ahead optimization framework is proposed. At the lower layer, user-side flexible resource participants employ a deep learning-based intelligent decision-making model to formulate their clearing strategies rapidly, eliminating the need for detailed physical models and iterative calculations. At the upper layer, the distribution network operator (DNO) establishes a multi-objective optimization model that simultaneously minimizes comprehensive operational costs and the net load fluctuation rate to enhance flexibility. The model coordinates distributed generation, energy storage, and user-side resources via a time-of-use pricing mechanism. The fast non-dominated sorting genetic algorithm (NSGA-II) is adopted to obtain the Pareto-optimal set, from which the optimal solution is selected using the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS). Case studies on a modified IEEE 33-bus distribution system demonstrate that the proposed method effectively guides the demand response of user-side resources. The results confirm significant improvements in the economic operation of the distribution network, along with enhanced flexibility evidenced by increased net load adequacy and a reduced net load fluctuation rate, thereby improving the system’s accommodation capability for renewable energy.

1. Introduction

Driven by the dual carbon goals of carbon peak and carbon neutrality, building a new power system dominated by renewable energy has become the developmental target and new form for the future energy and power sector. When high-penetration renewable energy is integrated into the distribution network in a distributed manner, the poor match between renewable energy output and user load profiles leads to intensified fluctuations in the net load curve on the lines during actual operation, exhibiting strong intermittency and uncertainty, which poses challenges to the flexibility of power system operation.
After connecting to the grid, user-side demand resources can provide diverse power services for the power system. Microgrids can aggregate different distributed resources to form a bidirectionally adjustable independent dispatch unit participating in the grid’s optimal dispatch calculation [1]. During regulation, control of internal units typically aims to maximize renewable energy consumption and reduce system operating costs, among other objectives [2]. Virtual Power Plants (VPPs) can coordinate the tensions between the grid and distributed generation, fully exploit the potential of distributed resources, and bring economic benefits to both the grid and users [3]. By enhancing the overall benefits of the VPP itself and its members, the enthusiasm for renewable energy participation in the market is increased [4].
Currently, domestic and international scholars have conducted extensive research on optimization operation technologies for user-side aggregators. Reference [5] provides a detailed analysis of the demand response potential of air conditioning load clusters and their duration. Reference [6] focuses on analyzing the energy system of building air conditioning systems, specifically discussing dynamic building air conditioning load calculation and the energy consumption calculation of air conditioning systems. Reference [7] details an energy-saving optimization model for central air conditioning systems. Reference [8] achieved a reduction in the deviation between actual load and transacted electricity, thus improving distribution network power balance issues, through optimal control of central air conditioning loads in large smart parks. Reference [9] considered the impact of cycle throughput and depth of discharge on energy storage system life degradation. Reference [10] studied the effects of operating temperature, charge/discharge power, and state of charge (SOC) on electrochemical energy storage systems. Reference [11] considered the charging strategy of a public parking lot with a photovoltaic system, analyzing its environmental impact and economic benefits. Reference [12] used minimizing power fluctuation on the distribution network tie-line side as the optimization objective for orderly power utilization management.
Reference [13] constructed a day-ahead optimal operation model for a wind-PV-thermal combined generation system based on price-based demand response. Reference [14] obtained user flexible load response strategies by adjusting peak-shaving compensation prices, achieving maximum benefits for both through a Stackelberg game. Reference [15] established a day-ahead joint clearing model for the energy and ancillary services market based on flexibility enhancement, effectively categorizing the performance differences in flexibility resources. A variety of optimization frameworks have been proposed for distribution network-aggregator coordination, yet most are computationally intensive and require complete physical models. Data-driven methods offer a promising alternative, but their integration into multi-objective distribution network optimization remains underexplored.
Although progress has been made in load aggregator demand response, some issues remain unresolved. For instance, how to further improve decision-making efficiency and accuracy, and how to utilize historical data for clearing decisions under limited mechanistic model parameters. These problems require further research.

2. Optimal Operation Model of Distribution Networks

With the transformation of the energy structure in the new power system and the continuous development of electricity market reforms, the high-proportion integration of distributed renewable energy into distribution networks has become an inevitable trend. However, the output characteristics of high-penetration renewable energy and user load curves are often not fully complementary. Their integration into the distribution network can lead to increased fluctuations in the line net load, resulting in insufficient operational flexibility for the distribution network and its upstream grid.
Under the ongoing development of the new power system, the flexible resources connected at the user side are also increasingly diverse. Traditional resources include residential and commercial air conditioning loads, adjustable commercial and industrial loads, and interruptible commercial and industrial loads. Emerging resources further include distributed renewable energy, energy storage, electric vehicles, and thermal storage/cooling equipment. On one hand, a large number of decentralized flexible resources are intricately distributed across various lines of the distribution network, increasing the difficulty for the DNO to dispatch and control them. On the other hand, with electricity market reforms, some distributed resources are built by users or independent suppliers; their ownership no longer belongs to the grid, forming independent entities that the DNO cannot dispatch uniformly. Therefore, this paper comprehensively considers the response and control characteristics of various schedulable resources on the user side. It directly manages grid-side DG and energy storage devices, while employing a TOU pricing mechanism to transact with extensive flexible resources for their tie-line power. The dispatch operation framework of a distribution network with aggregator participation is shown in Figure 1. As the distribution network and aggregators belong to different interest entities, their dispatch objectives differ. Typically, aggregators have limited capacity and minimal impact on market prices; thus, they are considered price-takers, adjusting their response strategies based on the prices offered by the DNO. The DNO updates electricity prices according to the received operation strategies from aggregators and adjusts the operation modes of other controllable flexible resources to meet its own operational requirements.

2.1. Aggregator Demand Response Model

2.1.1. Introduction to the Deep Learning Model

When an aggregator directly dispatches and controls its internal schedulable resources, the diversity of individual resources determines the complexity of its response model. The modeling and analysis process involving high-dimensional nonlinear superposition limits the aggregator’s ability to regulate and analyze the aggregated response of numerous flexible individuals. Therefore, this section adopts the deep learning-based intelligent decision-making demand response method for aggregators. Based on the structural and correlational characteristics of the responsive resources, it takes wind speed, solar irradiance, temperature, load, electricity price, and other related factors as input variables, and the demand response of flexible resources and the aggregator’s decision results as output variables. The aggregator decision framework for response output is shown in Figure 2.
Aggregators can input day-ahead electricity price information released by the DNO, combined with historical operation data and meteorological information, into a pre-trained deep learning demand response decision model with optimal parameters. This enables accurate clearing strategies for electricity purchase and sale without needing to know detailed physical model parameters of users. After obtaining specific clearing data from each aggregator, the DNO, considering the actual network configuration, constructs a multi-objective optimal operation model that comprehensively considers operational costs and network flexibility requirements. It then optimizes electricity prices based on the operation results and disseminates the updated price information to aggregators. This iterative calculation process repeats until the final distribution network operation objectives converge, completing the two-layer dispatch operation process between the distribution network and aggregators.

2.1.2. Training Data Generation for the Deep Learning Model

The training dataset for the deep learning-based aggregator model is generated through systematic simulation of the aggregator’s optimization behavior under diverse operating scenarios. This approach addresses the challenge of insufficient historical operational data in emerging flexibility markets while ensuring comprehensive coverage of possible operating conditions.
Specifically, the training samples are generated by solving the aggregator’s cost minimization problem under various combinations of input parameters:
(1)
Electricity price profiles: Time-of-use pricing schemes with peak prices ranging from 0.8 to 1.2 yuan/kWh, valley prices from 0.3 to 0.5 yuan/kWh, and flat prices from 0.5 to 0.7 yuan/kWh. Different peak-valley time arrangements are considered to reflect diverse pricing strategies.
(2)
Renewable energy generation: Wind and photovoltaic output profiles based on historical meteorological data, covering different seasons and weather conditions. Wind speeds range from 3 to 15 m/s, and solar irradiance varies from 0 to 1000 W/m2.
(3)
Temperature conditions: Outdoor temperature profiles ranging from 15 °C to 35 °C, which significantly affect air conditioning load behavior and user comfort requirements.
(4)
Initial system states: Energy storage state-of-charge (SOC) values uniformly distributed between 20% and 80%, and initial indoor temperatures for air conditioning loads ranging from 22 °C to 28 °C.
(5)
Subjective constraint parameters: User comfort preferences including maximum allowable temperature deviations (±2 °C to ±4 °C), maximum number of air conditioning adjustments per day (2 to 6 times), and energy storage cycling limits (1 to 3 cycles per day).
Through Latin hypercube sampling of the above parameter space, a total of 7000 training samples were generated. Each sample consists of:
-
Input features (dimension: 168): 24 h electricity price signals, 24 h renewable generation forecasts, 24 h temperature forecasts, initial system states, and constraint parameters.
-
Output labels (dimension: 72): 24 h power exchange schedule with DNO, 24 h energy storage charging/discharging power, and 24 h air conditioning load adjustment decisions.
The dataset was partitioned into a training set (4900 samples, 70%), validation set (1050 samples, 15%), and testing set (1050 samples, 15%). The training set is used for model parameter learning, the validation set for hyperparameter tuning and early stopping, and the testing set for final performance evaluation.
It should be emphasized that this deep learning model serves as a surrogate model for the aggregator’s optimization behavior. Once trained offline, it can rapidly predict the aggregator’s clearing strategy given new price signals and forecasts, without requiring access to detailed physical parameters of individual resources. This approach not only protects user privacy but also enables real-time decision-making in the upper-level distribution network optimization.

2.2. Distribution Network Operation Objectives and Constraint Functions

Distributed generation, energy storage batteries, and aggregators within the distribution network can all participate in distribution network operation as flexible dispatch resources. According to the individual characteristics of flexible resources, different methods are adopted for dispatch management. The distribution network can directly control DG and energy storage batteries. However, aggregators, as independent interest entities, cannot be directly controlled. Generally, the DNO can guide the response characteristics of aggregators by formulating incentive policies. This chapter primarily considers the DNO using a TOU pricing mechanism as an incentive for aggregators. Through day-ahead dispatch operation, while maintaining its own interests, the DNO needs to preserve the operational flexibility of the distribution network under high renewable energy penetration. That is, by dispatching flexible resources, it can rapidly respond to fluctuations in the distribution network’s net load power. Based on the aforementioned analysis, this section constructs a multi-objective optimization function that comprehensively considers the economic and flexibility requirements of distribution network operation.

2.2.1. Objective Functions

Economic Objective of Distribution Network Operation: The economic requirement considered in this paper is the minimization of the equivalent operational cost of the distribution network. The objective function is as follows:
f 1 = C G + C DG + C ESS + C loss t = 1 H i = 1 N γ P i t + C LA
In the formula, the numerator includes the electricity purchase cost from the upstream grid, the cost of purchasing electricity from DG, the dispatch cost of energy storage units, and the power loss cost. The denominator represents its revenue from energy sales, including the electricity sales revenue from the distribution network to aggregators and other load entities. H is the number of time slots corresponding to one dispatch cycle; N is the number of distribution network nodes; γ is the electricity selling price from the distribution network to other load entities; P i t is the load power at node i at time t; CLA is the revenue from electricity sales to aggregators; CG is the cost of purchasing electricity from the upstream grid; CDG is the cost of purchasing electricity from DG; CESS is the dispatch cost of energy storage units; CLOSS is the active power loss cost of the distribution network.
C LA = t = 1 H i = 1 N LA γ LA P L A , i t
where γ LA is the electricity selling price from the DNO to aggregators; NLA is the number of aggregators connected to the distribution network; P L A , i t is the power purchased by the i-th aggregator at time t.
C G = t = 1 H γ G P G t
where γ G is the electricity purchase price from the upstream grid, determined and published by the upstream grid; P G t is the power purchased from the upstream grid at time t.
C DG = t = 1 H i = 1 N DG γ DG P DG , i t
where γ DG is the electricity purchase price from the distribution network to grid-side DG; NDG is the number of DG units connected to the distribution network; P DG , i t is the output power of the i-th renewable energy source at time t.
C ESS = t = 1 H i = 1 N ESS γ ESS ( P ESSC , i t + P ESSD , i t )
where NESS is the number of energy storage devices; γESS is the dispatch cost per unit power of the energy storage device; P ESSC , i t and P ESSD , i t are the charging and discharging power of the i-th energy storage device at time t, respectively.
C loss = t = 1 H i = 1 M γ G P loss , i t
where γG is the price corresponding to the active power loss of the distribution network, generally determined by the upstream grid electricity price; M is the number of branches; P loss , i t is the line loss of the i-th branch at time t.
Flexibility Objective of Distribution Network Operation: The net load of the distribution network includes the aggregation of loads, DG, and other flexible resources. Therefore, when there is a high proportion of renewable energy on the grid side, it may cause significant fluctuations in the net load at the distribution network side, reducing operational flexibility, greatly affecting the security and stable operation of the distribution network, and consequently weakening its accommodation capability for renewable energy. Thus, the distribution network’s accommodation level for the uncertain fluctuations of renewable energy can, to some extent, be understood as its operational flexibility adaptability.
The net load fluctuation rate is an important indicator reflecting the distribution network’s ability to accommodate renewable energy. For the distribution network, the fluctuation of tie-line power directly reflects the fluctuation degree of its actual load. This variable can be described as the rate of change in the distribution network’s net load per unit time, reflecting the fluctuation trend of the net load within a unit time. The specific expression for the distribution network net load fluctuation rate is:
F FRL t = P L t P L t 1 P L t × 100 %
where F FRL t is the net load fluctuation rate; P L t is the net load of the distribution network at time t; P L t 1 is the net load of the distribution network at time t − 1. When the net load fluctuation rate is less than the maximum allowable fluctuation level for system operation, the system is considered to meet flexibility requirements; otherwise, it indicates insufficient system flexibility.
In this paper, to ensure the operational flexibility of the distribution network, minimizing the sum of absolute net load fluctuation rates is considered as an objective function, expressed as:
f 2 = t = 1 H F FRL t
The net load fluctuation rate is selected as the primary flexibility indicator for the following reasons. First, under high renewable penetration, the key flexibility challenge is managing rapid net load variations; this rate directly quantifies that challenge. Second, as a continuous and differentiable function, it can be directly incorporated into the NSGA-II framework without complex scenario enumeration. Third, minimizing the net load fluctuation rate is positively correlated with improving upward and downward flexibility margins. Additional metrics (e.g., ramp capacity, reserve margins) could be added but would increase the dimensionality of the Pareto front; their integration is left for future research. The case study results (Scenario 3 vs. base case) show that the proposed framework improves net load adequacy while reducing the fluctuation rate, confirming its effectiveness in enhancing renewable accommodation.
A multi-objective optimization objective function for the distribution network is constructed by comprehensively considering the minimization of comprehensive operational costs and the net load fluctuation rate.

2.2.2. System Operation Constraints

Active and Reactive Power Balance Constraints:
P G t + i = 1 N DG P DG , i t = i = 1 N P i t + i = 1 N P LA , i t + i = 1 M P loss , i t
Q G t + i = 1 N DG Q DG , i t = i = 1 N Q i t + i = 1 N Q LA , i t + i = 1 M Q loss , i t
where Q G t is the reactive power from the transmission system at time t; Q i t is the reactive power at node i at time t; Q LA , i t is the reactive power of aggregator i at time t; Q loss , i t is the reactive power loss of branch i at time t.
P i t = V i t j = 1 N V j t G i j cos θ i j + B i j sin θ i j
Q i t = V i t j = 1 N V j t G i j sin θ i j B i j cos θ i j
where V i t is the voltage at node i; V j t is the voltage at node j; G i j and B i j are the conductance and susceptance between nodes i and j, respectively; θ i j is the phase angle difference between nodes i and j.
Node Voltage Constraint:
V i , min V i t V i , max
where V i , min and V i , max are the minimum and maximum voltage magnitudes at the i-th node, respectively.
Distributed Generation Constraint:
0 P DG , i t P DGMAX , i
where P DGMAX , i is the maximum output limit of the i-th DG unit.
Gas Turbine Ramp-up and Ramp-down Constraints:
P MTDOWN P MT , i t P MT , i t 1 P MTUP
where P MT , i t is the output power of the gas turbine at time t; P MTUP and P MTDOWN are the upper and lower limits for ramp-up and ramp-down rates of the gas turbine, respectively.
Energy Storage Constraints:
0 P ESSD , i t P DMAX
0 P ESSC , i t P CMAX
S soc t + 1 = S soc t 1 δ + t t + 1 P bat , cha t η cha d t t t + 1 P bat , dis t / η dis d t
S min < S soc t < S max
where P ESSD , i t and P ESSC , i t are the charging and discharging power of the energy storage at time t, respectively; PCMAX and PDMAX are the maximum charging and discharging power of the energy storage battery, respectively; S soc t is the state of charge (SOC) of the energy storage battery at time t; δ is the self-discharge rate per unit time of the energy storage battery; η cha and η dis are the charging and discharging efficiencies of the energy storage battery, respectively; the energy storage battery needs to maintain its SOC within a stable range during normal operation, with Smin and Smax being the lower and upper limits of the SOC at time t, respectively.
Flexibility Constraint:
F FRL t F FRLMAX t
where F FRL t is the net load fluctuation rate of the distribution network at time t; F FRLMAX t is the maximum allowable value of the net load fluctuation rate at time t.

3. Multi-Objective Optimization Solution Method

In traditional trading models, the DNO provides day-ahead trading price curves to each aggregator based on its operational requirements. Each aggregator then performs optimization calculations based on the given prices and its own demand objectives, feeding the optimized clearing results back to the DNO. This interactive process forms a leader-follower game-based electricity trading strategy, ultimately seeking a Nash equilibrium solution for both objectives. This chapter, however, forms an aggregated model for the aggregator’s clearing strategy through deep learning training, establishing a direct mapping between electricity prices and corresponding output strategies, thereby eliminating the need for dual iterative optimization. The DNO only needs to calculate its own objectives based on the aggregators’ clearing strategies. This approach, on one hand, allows aggregators to operate without needing users’ physical models, protecting user information privacy; on the other hand, it can improve the efficiency of solving the distribution network’s objective function and enhance system operational efficiency.
When performing optimal operation calculations, the distribution network considers multiple objectives, including operational cost and power fluctuation rate. Traditional methods for solving multi-objective problems often use weighting methods or distance function methods, which essentially convert multi-objectives into a single-objective function for solution. In cases where objective functions compete and constrain each other, making it difficult to assign reasonable weights, evolutionary algorithms based on the Pareto mechanism can be used to solve multi-objective functions directly without weighting the objectives. This chapter selects the fast non-dominated sorting genetic algorithm (NSGA-II) for multi-objective solution, obtaining the Pareto-optimal frontier set for the multi-objectives. Finally, the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) decision-making method is used to find the optimal solution.

3.1. NSGA-II Optimization Algorithm

Traditional genetic algorithms typically demonstrate excellent performance for simple single-objective optimization engineering problems but face issues such as an inability to obtain global optimal solutions and reduced algorithm speed for multi-objective optimization problems. The fast non-dominated sorting genetic algorithm with elitist strategy, NSGA-II, effectively overcomes these problems. The fast non-dominated sorting genetic algorithm with elitist strategy, NSGA-II, effectively overcomes these problems. The NSGA-II algorithm is configured with the following parameters: population size = 100, maximum generations = 150, crossover probability = 0.9, mutation probability = 0.1. The simulated binary crossover and polynomial mutation are used with distribution indices ηc = 20 and ηm = 20, respectively. Tournament selection with size 2 is adopted. These parameters were determined through preliminary sensitivity tests. The main procedure of this algorithm is:
(1)
Let the parent population be Pt, with size M. Generate the offspring population Qt, also of size M, using the selection, crossover, and mutation operators of the genetic algorithm. Combine the parent and offspring populations to form a new population Rt, whose size becomes 2M.
(2)
Perform non-dominated sorting on population Rt, producing non-dominated solution sets of different ranks F1, F2, F3,…
(3)
Calculate the crowding distance values for all individuals in each Fi and sort them.
(4)
Based on the non-dominated sorting rank and crowding distance values, select the better individuals to be passed on to the next generation Pt+1.
The elitist strategy adopted by NSGA-II can significantly improve the performance of the genetic algorithm. This strategy passes excellent individuals to the next generation through operator calculations, avoiding issues like local optima and unstable evolution processes. It leads to a more uniform distribution of the Pareto-optimal solution set for multi-objective optimization problems, correspondingly improving the quality of the optimal solutions and thus obtaining more representative non-dominated solutions. The schematic diagram of this algorithm is shown in Figure 3.

3.2. TOPSIS Decision Method

The Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) is an effective method commonly used in multi-criteria decision analysis. This method ranks alternative solutions based on their relative closeness to ideal solutions. The basic steps of this method are:
(1)
For n evaluation alternatives, select p evaluation indicators for comprehensive evaluation (if there are negative or moderate indicators among the evaluation indicators, convert them into positive indicators), constructing the original data matrix as:
X = x 11 x 12 x 1 p x 21 x 22 x 2 p x n 1 x n 2 x n p
(2)
Construct the normalized decision matrix. Use a normalization method to standardize the decision variables, expressed as:
Z = z 11 z 12 z 1 p z 21 z 22 z p z n 1 z n 2 z n p
(3)
Determine the ideal solutions for the decision problem: the positive ideal solution (PIS) and the negative ideal solution (NIS). These are the solutions where each attribute indicator reaches its best and worst value among all alternatives, respectively.
Z + = z 1 + , z 2 + , , z p +
Z = z 1 , z 2 , , z p
z j + = max z 1 j , z 2 j , , z n j ,   j = 1 , 2 , , p
z j = min z 1 j , z 2 j , , z n j ,   j = 1 , 2 , , p
(4)
Calculate the Euclidean distance from each alternative to the PIS and NIS.
D i + = j = 1 p z i j z j + 2
D i = j = 1 p z i j z j 2
(5)
Calculate the relative closeness of each evaluation alternative to the ideal solutions. Based on the relative closeness value, select the alternative that is closest to the PIS and farthest from the NIS.
C i = D i D i + + D i ,   i = 1 , 2 , , n
Sort according to the relative closeness Ci. The larger Ci, the closer the i-th evaluation alternative is to the optimal level.
It is important to clarify the computational advantage provided by the deep learning-based aggregator model. In traditional bilevel optimization frameworks, the lower-level aggregator optimization problem must be solved repeatedly within each iteration of the upper-level DNO optimization, resulting in computationally expensive nested loops. For instance, if the upper-level NSGA-II algorithm requires 100 iterations with a population size of 100, and each individual evaluation necessitates solving the aggregator’s optimization problem, this would lead to 10,000 lower-level optimization calls.
In contrast, the proposed approach replaces the lower-level optimization with a pre-trained deep learning model. Once trained offline, the neural network can predict the aggregator’s clearing strategy through a simple forward propagation in milliseconds, given the price signals and forecast information. This eliminates the need for real-time optimization at the lower level. However, the upper-level DNO optimization still requires an iterative process (as described in Section 3.3) to search for the optimal Pareto front across multiple objectives. The key difference is that each iteration now involves only a rapid neural network inference rather than solving a complex constrained optimization problem, thereby significantly reducing the overall computational time.
To summarize, the deep learning model eliminates the lower-level iterative optimization, but the upper-level NSGA-II algorithm still iterates to find optimal solutions. This represents a shift from a nested bilevel iterative structure to a single-level iterative structure with fast aggregator response prediction.

3.3. Multi-Objective Optimization Process

The specific flowchart of the algorithm proposed in this paper is shown in Figure 4. The main steps of the NSGA-II-TOPSIS multi-objective optimization method adopted in this chapter are as follows:
Step 1: Initialize the genetic algorithm operator population, randomly generating the electricity purchase/sale prices from the DNO to aggregators, the output of DG, and the charging/discharging power of energy storage batteries.
Step 2: Based on the day-ahead electricity price information provided by the distribution network and external meteorological information, predict the electricity purchase/sale strategies of each aggregator through the deep learning network and generate clearing results.
Step 3: Input the clearing data of each aggregator, the output of DG, and the charging/discharging power data of energy storage batteries into the corresponding nodes of the distribution system. Combined with information from other nodes of the distribution network, calculate the multi-objective optimization function of the DNO through power flow calculation and node constraints. Record and update the crowding distance values in the NSGA-II algorithm, selecting the optimal individuals to pass to the next generation population.
Step 4: Determine whether the iteration count of the NSGA-II optimization has reached the maximum. If yes, terminate the optimization and output the optimal prices; otherwise, update the day-ahead prices, DG output, and energy storage battery charging/discharging power according to the DNO’s day-ahead price intervals.
Step 5: Return to Step 2 for iterative operation.
Step 6: Upon completion of iterations, use the TOPSIS rule to find the optimal price solution from the Pareto solution set, the optimal output distribution for DG, and the optimal day-ahead charging/discharging power schedule for energy storage batteries.

4. Case Studies

4.1. Simulation Scenario Design

To verify the effectiveness of the proposed algorithm, simulation verification was conducted on a modified IEEE 33-node distribution network system. The structure of the distribution network is shown in Figure 5. In the IEEE 33 system, the rated voltage at each node is 12.66 kV. The upper and lower limits of node voltage are set to 105% and 95% of the rated voltage, respectively. The distribution network is connected to the upstream grid via node 1. This section primarily studies the impact of integrating distributed renewable energy into the distribution network. By dispatching distributed generation and energy storage systems, adjusting clearing prices for aggregators to guide their rational electricity consumption, the goal is to enhance the economic efficiency and flexibility of distribution network operation.
Distributed wind power stations are connected to distribution network nodes 3, 7, and 10, with their predicted output assumed equal to actual output, and the electricity price is set at 0.02857 USD/kWh. Energy storage batteries are connected to nodes 4, 9, and 30, each with a rated capacity of 800 kWh, charging/discharging power of 400 kW, charge/discharge efficiency of 0.95, initial state of charge (SOC) of 20%. The minimum and maximum SOC for the batteries are set at 20% and 95%, respectively, with a maintenance cost of 0.01429 USD/kWh. Distributed generation using gas turbines is connected to nodes 8, 13, and 28, each with a rated power of 500 kW, ramp-up/down limits of 150 kW/h, and an electricity price of 0.05000 USD/kWh. Aggregators are connected to nodes 12, 15, and 20, with electricity prices following a time-of-use (TOU) tariff (peak, flat, valley) obtained through (game) the distribution network operator. The net load parameters for a typical day in the distribution network are shown in Table 1. The rated power of the wind power stations connected at the three nodes is 1.5 MW each. Under a typical day scenario, without considering aggregator participation or other dispatchable distributed resources in the optimization, the net load curves of the distribution network for two cases—without and with all wind farms connected—are shown in Figure 6.
From the net load curve, it can be observed that with wind power integration, the peak points of the net load curve decrease slightly, while the valley points decrease significantly. The peak-to-valley load difference increases, potentially leading to insufficient downward adequacy of net load in the distribution system. Simultaneously, the fluctuation rate of the net load curve increases. For instance, during periods like 4:00–8:00 and 22:00–24:00, the corresponding flexibility of the distribution network decreases. Therefore, the randomness of distributed renewable energy can lead to situations where renewable output is high when system load demand is low, and vice versa. This inverse relationship can affect the penetration level of renewable energy and further cause a reduction in the flexibility of the distribution system. Consequently, to fully mitigate the problems brought by integrating renewable energy into the grid, it is essential to fully utilize the roles of distributed generation, energy storage systems, and aggregators within the system, formulate reasonable electricity price mechanisms, and optimally dispatch internal flexible response resources, thereby enhancing the economic security and flexibility of distribution network operation.
The primary resources managed within an aggregator include wind turbines, photovoltaic (PV) stations, dispatchable loads (e.g., air conditioning loads), and energy storage batteries. Aggregators are considered to participate in dispatch only with active power; their reactive power is randomly distributed between 0.85 and 0.99. Each aggregator internally has a 500 kW PV station, a wind turbine, and energy storage with a rated capacity of 500 kWh (Smin = 0.4, Smax = 0.95), charging/discharging power of 120 kW, and charge/discharge efficiencies of 0.9. To maintain battery lifespan, the number of charge/discharge cycles within one period is limited to 8. The flexible loads within the aggregator are primarily curtailable loads like air conditioning. Aggregator 1 represents commercial load; Aggregator 2, industrial load; Aggregator 3, residential load. The primary participation period for industrial curtailable loads is 9:00–18:00, while for residential and commercial loads, it is 11:00–22:00. The maximum and minimum continuous response duration per event is constrained to 2 h, with a daily limit of 5 dispatchable events. This section assumes the predicted output curves for wind and PV power are the same for all three aggregators. The specific load and renewable generation prediction curves are shown in Figure 7.
The distribution network employs a TOU pricing mechanism for electricity purchase and sale with aggregators. Since the DNO considers its own profit as a primary optimization objective when setting prices, there is a possibility of arbitrarily raising selling prices to obtain high profits. Therefore, corresponding constraints need to be considered when setting prices. A baseline price is set as the price upper limit, meaning the DNO’s pricing cannot exceed this baseline. The price lower limit is set at 50% of the baseline price. The baseline price periods are: peak hours (9:00~11:00, 13:00~15:00, 17:00~19:00) with selling price at 0.25714 USD/kWh and purchase price at 0.17857 USD/kWh; flat hours (6:00~9:00, 11:00~13:00, 15:00~17:00, 19:00~20:00) with selling price at 0.17143 USD/kWh and purchase price at 0.11429 USD/kWh; valley hours (0:00~6:00, 20:00~24:00) with selling price at 0.08571 USD/kWh and purchase price at 0.05714 USD/kWh. In this section, aggregators primarily act as net flexible resources participating in demand response; thus, the focus is on the DNO’s selling price to them.

4.2. Uncertainty Considerations and Sensitivity Analysis

While the base case study assumes perfect forecasts of renewable generation for clarity of analysis, we acknowledge that forecast errors are inevitable in practical operations. To address this concern, we provide the following discussion on how the proposed framework handles forecast deviations:
(1)
Robustness of the Deep Learning Model: The training dataset includes diverse renewable generation profiles covering a wide range of weather conditions and seasonal variations. This diversity enables the trained model to generalize well to scenarios with moderate forecast errors. As long as the actual renewable output falls within the range covered by the training data (wind speeds 3–15 m/s, solar irradiance 0–1000 W/m2), the aggregator response prediction remains reasonably accurate.
(2)
Implicit Uncertainty Handling: The multi-objective optimization framework inherently provides some robustness against uncertainties. By minimizing both operational cost and net load fluctuation rate, the NSGA-II algorithm tends to favor solutions with smoother power profiles and more conservative resource utilization, which naturally reduces vulnerability to forecast errors.
(3)
Sensitivity Analysis: To quantitatively assess the impact of renewable forecast errors, we conducted a post-optimization sensitivity analysis. The optimal dispatch solution obtained under a perfect forecast was re-evaluated under scenarios where actual renewable generation deviates from the forecast by ±10%, ±20%, and ±30%. The results are summarized as follows:
“±10% deviation”: The actual operational cost increases by 2.3–3.8% compared to the optimal cost under perfect forecast. The net load fluctuation rate increases by 4.1–5.6%. The system remains feasible with no voltage or line capacity violations.
“±20% deviation”: The actual operational cost increases by 5.7–8.2%. The net load fluctuation rate increases by 9.3–12.7%. Minor voltage deviations (within ±3% of nominal) occur at peripheral nodes during peak hours, but no critical violations are observed.
“±30% deviation”: The actual operational cost increases by 10.1–14.6%. The net load fluctuation rate increases by 17.2–23.5%. Voltage violations (exceeding ±5% limit) occur at 2–3 nodes during extreme mismatches between forecast and actual output. In these cases, the energy storage system absorbs excess renewable generation or compensates for deficits, preventing cascading failures.
The sensitivity analysis demonstrates that the proposed framework maintains acceptable performance under moderate forecast errors (within ±20%), which is consistent with typical day-ahead forecasting accuracy reported in the literature (MAPE of 10–20% for wind power and 5–15% for photovoltaic power). For more severe deviations, additional real-time corrective measures (e.g., intraday re-dispatch or emergency demand response activation) would be required, which is beyond the scope of this day-ahead optimization framework.
It is also worth noting that integrating stochastic or robust optimization into the proposed framework represents a promising direction for future work. Scenario-based stochastic programming could explicitly model probabilistic renewable generation forecasts, while robust optimization could guarantee feasibility under worst-case deviations within bounded uncertainty sets. Such extensions would further enhance the framework’s practical applicability, and the authors plan to investigate these approaches in subsequent research.

4.3. Analysis of Aggregator Deep Learning Model Simulation Results

The demand response training models for the three aggregators in the distribution network were developed using the TensorFlow 2.0 framework in Python 3.7. During model construction, market electricity price, temperature, solar irradiance, wind speed, and constraint parameters for dispatchable loads and energy storage were selected as input parameters, with demand response as the output decision. Each model has the same structure, featuring a horizontal combination arrangement of two Long Short-Term Memory (LSTM) layers, two Convolutional Neural Network layers, and two Gated Recurrent Unit (GRU) layers. The two 1D convolutional layers (Conv1D) have 32 and 128 filters, respectively. The two LSTM layers have 32 and 128 neurons, respectively. The two GRU layers have 16 and 16 units, respectively. The activation function for all three neural network types is ReLU. After training with constructed samples, the mean absolute percentage error (MAPE) for the test set clearing decisions of the three aggregators was 1.89%, 2.35%, and 2.38%, respectively. Therefore, the deviations between the clearing decisions of the three aggregators and the actual values are small, justifying the application of the deep learning-based intelligent decision-making ensemble model to the game model between aggregators and the distribution network in the day-ahead electricity market trading.
The complete architecture of the proposed Inception-based deep learning model is detailed as follows:
“Input Layer”: The input layer accepts multi-dimensional time-series data with a shape of (batch_size, 24, 7), where 24 represents the 24 h time steps and 7 represents the feature dimensions, including hourly electricity price, wind speed forecast, solar irradiance forecast, temperature forecast, load baseline, energy storage SOC, and constraint parameters.
“Parallel Feature Extraction Branches”: The Inception structure consists of three parallel branches to capture multi-scale temporal patterns:
“CNN Branch”: Two one-dimensional convolutional layers (Conv1D) with 32 and 128 filters, respectively. The first layer uses a kernel size of 3 with stride 1, and the second layer uses a kernel size of 5 with stride 1. Both layers employ ReLU activation functions and are followed by batch normalization to accelerate convergence and improve generalization.
“LSTM Branch”: Two stacked LSTM layers with 32 and 128 hidden units, respectively. The LSTM branch is designed to capture long-term temporal dependencies in the input sequences. Dropout with a rate of 0.2 is applied between the two LSTM layers to prevent overfitting.
“GRU Branch”: Two stacked GRU layers with 16 and 16 hidden units, respectively. The GRU branch provides an alternative recurrent structure with fewer parameters, complementing the LSTM branch in modeling temporal dynamics.
“Feature Fusion Layer”: The outputs from all three parallel branches are concatenated along the feature dimension, resulting in a comprehensive feature representation that combines multi-scale spatial patterns (from CNN) and temporal dependencies (from LSTM and GRU).
“Fully Connected Layers”: Two dense layers with 256 and 128 neurons respectively, are applied after feature fusion. Both layers use ReLU activation and are followed by dropout (rate = 0.3) to enhance model robustness.
“Output Layer”: The final output layer consists of 72 neurons corresponding to the 24 h clearing strategy decisions (24 h power exchange + 24 h energy storage schedule + 24 h load adjustment). Linear activation is used for the output layer to allow continuous value predictions.
“Training Configuration”: The model was trained using the Adam optimizer with an initial learning rate of 0.001, which decays by a factor of 0.5 if validation loss does not improve for 10 consecutive epochs. The batch size was set to 64, and training was conducted for a maximum of 200 epochs with early stopping (patience = 20 epochs) based on validation loss. The loss function is mean squared error (MSE) between predicted and actual clearing strategies. Training was performed on a standard computing platform equipped with an NVIDIA GPU, and convergence was typically achieved within 80–120 epochs, requiring approximately 2–3 h of training time.
“Model Performance”: After training, the model achieved a mean absolute percentage error (MAPE) of 1.89%, 2.35%, and 2.38% on the test sets for the three aggregators, respectively, demonstrating high prediction accuracy. The inference time for a single prediction is approximately 15 milliseconds, which is several orders of magnitude faster than solving the original optimization problem (typically 5–10 s per instance).

4.4. Analysis of Distribution Network Optimal Operation Results

Based on the distribution network optimization algorithm proposed in Section 4 of this chapter, the multi-objective optimization operation model between the DNO and the aggregators is solved. This chapter temporarily does not consider cooperation among multiple aggregators, meaning each aggregator interacts independently with the DNO, and the DNO applies the same clearing price to each aggregator. The proposed model is solved using the NSGA-II algorithm. The resulting Pareto-optimal solution set curve is shown in Figure 8, containing 20 non-dominated solutions with good distribution characteristics. The TOPSIS rule is used to find the optimal ideal solution from the Pareto front. The corresponding equivalent value for the operational cost under the optimal dispatch scheme is 0.731, while the net load fluctuation rate is 1.081.
According to the optimal operational objective values found by the TOPSIS rule, the final transaction electricity prices between aggregators and the DNO are shown in Figure 9. The data shows that under the optimal solution, the DNO primarily sells electricity to aggregators. The selling prices for each period are as follows: peak hours: 0.24257 USD/kWh, flat hours: 0.15443 USD/kWh, valley hours: 0.08386 USD/kWh.
To further analyze the characteristics exhibited by different optimization objective values, Table 2 presents the two boundary values from the Pareto solution, i.e., the TOU price solutions corresponding to the minimum equivalent operational cost and the minimum tie-line power fluctuation, and compares them with the optimal solution selected using the TOPSIS rule. From the table, it is not difficult to see that when the equivalent operational cost is minimized, the DNO’s selling price is correspondingly the highest. At this point, the DNO increases its profit by raising the price, i.e., reducing the equivalent cost. However, the corresponding tie-line power fluctuation is the largest, indicating insufficient motivation of aggregators to meet the distribution network’s flexibility requirements. In contrast, when the DNO lowers prices, increases the price differential between peak, flat, and valley periods, and provides sufficient incentives, aggregators demonstrate greater initiative. This effectively reduces peak loads, increases valley loads, and mitigates the fluctuation rate of the net load curve. Therefore, for the DNO, a balance between the two objectives can be considered to select an optimal strategy, achieving reduced equivalent operational costs while ensuring power fluctuation remains within a reasonable range, meeting both economic and flexibility needs of the grid.
Under the optimal solution of the objective functions, analyzing the response decisions of each aggregator reveals the comparison results of their demand response strategies before and after participating in the day-ahead electricity market trading, as shown in Figure 10, Figure 11 and Figure 12.
The ‘before response’ curve represents the initial load demand of the aggregator when not considering cost minimization as an objective, i.e., when internal flexible loads do not participate in demand response. The ‘after response’ curve represents its power purchase strategy after participating in demand response under the final agreed electricity price trading strategy. Combining this with the previously obtained price results, it can be observed that the main purpose of adjustment for aggregators is their own economic cost regulation needs. Therefore, based on the agreed price transaction, they shift and curtail consumption during peak price hours. During flat or valley price hours, energy storage plays a major regulatory role, supporting the grid’s peak shaving and valley filling.
In the current simulation setup, all three aggregators receive the same time-of-use pricing signals from the DNO. This uniform pricing strategy is adopted for practical reasons: it reflects widely used retail tariff structures and avoids the complexity of locational pricing (which would require network topology disclosure and increase coordination difficulty). Although the price signals are identical, the three aggregators exhibit distinct response profiles (Figure 10, Figure 11 and Figure 12) due to differences in their resource compositions (commercial, industrial, residential), and their diverse responses collectively improve the network’s operational flexibility. Investigating differentiated pricing strategies is left for future research.
Figure 13 shows the output distribution of gas turbines and the charging/discharging schedules of energy storage batteries after distribution network dispatch. Positive storage values represent discharging; negative values represent charging. During periods of low wind power output and high electricity load within the distribution network, such as 9:00–13:00 and 16:00–19:00, both gas turbines and energy storage output significant power to meet the line net load demand. Simultaneously, during moments of high fluctuation within these periods, such as 12:00–13:00 and 17:00–19:00, gas turbines and energy storage adjust appropriately by reducing output power to meet the need for load fluctuation smoothing. Conversely, during periods of low load demand and high wind power output, such as 3:00–6:00 and 22:00–24:00, gas turbines correspondingly reduce output, and energy storage is in a charging state. By coordinating the control of gas turbines and energy storage batteries based on its real-time operational needs, the distribution network achieves the effects of peak shaving, valley filling, and load fluctuation smoothing.

4.5. Analysis of Distribution Network Operational Flexibility Enhancement

Taking operational flexibility indicators as one of its optimization objectives, the distribution network aims to meet the corresponding characteristics of flexible system operation by reasonably guiding user-side aggregators through pricing and effectively controlling distributed generation and energy storage batteries. To verify the effectiveness of the proposed method in enhancing grid operational flexibility, three scenarios are constructed for comparative analysis.
(1)
Scenario 1: Only gas turbines within the distribution network participate as distributed generation in the regulation operation of the distribution network;
(2)
Scenario 2: Both gas turbines and energy storage batteries within the distribution network are considered to participate in the dispatch;
(3)
Scenario 3: The proposed method in this chapter, where gas turbines, energy storage batteries, and aggregators collectively act as flexible dispatchable resources participating in the day-ahead operation regulation of the distribution network.
Based on the three different dispatch methods, Figure 14 presents a comparison of the distribution network’s net load curves under different scenarios before and after optimization. The figure shows that all three scenarios can effectively reduce the peak of the day-ahead operation. In Scenario 1, since only gas turbines are used for system regulation, they still output during valley periods due to economic needs, further lowering the system’s minimum load. The flexible resources in Scenarios 2 and 3 are more abundant compared to Scenario 1. In Scenario 2, energy storage batteries can reduce the system’s peak-to-valley difference through charging and discharging processes. In Scenario 3, internal flexible resources of aggregators also actively participate in the response. The resulting net load curve of the distribution network becomes smoother compared to the other two scenarios. Specifically, the load magnitude during the valley period (22:00–24:00) in this scenario is significantly increased compared to others, while the load magnitude during peak periods (10:00–16:00 and 19:00–21:00) is effectively reduced. Overall, the peak-to-valley load difference decreases, and the net load fluctuation rate is smoother than in the other two scenarios.
To further verify that regulating various types of internal flexible resources can meet operational flexibility requirements under increasing renewable energy penetration, Figure 15 shows the distribution of the distribution network’s net load fluctuation rate under different operating scenarios. It can be observed that when no flexible resources participate in system response, significant load fluctuation rates occur around periods like 5:00–6:00, 11:00–12:00, and 20:00–22:00, with a maximum exceeding 30%. At this point, the distribution network’s flexibility requirements are inevitably affected. When this exceeds the maximum allowable fluctuation range of the distribution network itself, situations like wind curtailment or load shedding might occur to maintain system stability. In Scenario 1, where only gas turbines act as flexible resources for system regulation, the net load fluctuation rate of the distribution network is not significantly alleviated; in fact, it increases further at certain times, such as during 9:00–10:00, 11:00–12:00, and 19:00–20:00. Since gas turbines can only provide positive power for system regulation and cannot meet the need for negative power regulation required by the system (e.g., during high renewable output, low load periods), the corresponding load fluctuation rate instead increases. Both Scenarios 2 and 3 possess flexibility resources capable of bidirectional regulation, such as energy storage and aggregators. In these two scenarios, the net load fluctuation rate is effectively reduced. Especially in Scenario 3, the combined regulation of aggregators and energy storage batteries yields more prominent results, demonstrating the optimal net load fluctuation rate. Overall, by regulating multiple flexible resources and incentivizing aggregators to participate in distribution network operation management through a reasonable electricity price trading process, the net load fluctuation rate of the distribution network is significantly improved, with the indicator showing a notable decrease at most times.
The flexible adequacy of the distribution network’s net load reflects the operational characteristics of line power and is another important indicator of distribution network operational flexibility. The upward and downward flexible adequacy are calculated according to the definitions in Section 2.2.1. Based on these formulas, Table 3 presents the comparison results of the net load upward margin and downward margin values under different operating scenarios during two typical periods: peak hours and valley hours. In the table, the maximum allowable value for net load during peak hours is set to 10 MW, and the minimum allowable value during valley hours is set to 4 MW.
The table shows that the upward and downward adequacy of the net load changes considerably before and after the participation of flexible resources in regulation. Before the response, both upward and downward adequacy levels are significantly lower. At 13:00–15:00, the upward adequacy values are 7.86%, −0.58%, and 1.69%, respectively. At 23:00–24:00, the downward adequacy values are −5.16% and −7.87%, respectively, indicating insufficient flexibility in both upward and downward directions at that time. Scenario 1 shows a relatively obvious improvement in upward adequacy during peak hours (13:00–15:00), increasing to 19.78% at 14:00. Scenarios 2 and 3 also demonstrate good capability in improving upward adequacy. After regulation, the distribution network exhibits sufficient upward flexibility margin. However, Scenarios 1 and 2 fail to fully improve the problem of insufficient downward system flexibility. Particularly in Scenario 1, since its flexible resources can only provide positive power, during periods of high renewable output and low system load demand (valley periods), the corresponding flexible resource (gas turbine) cannot provide the negative power demand needed by the system in the valley zone. Consequently, the system’s downward flexibility adequacy level instead decreases. Scenario 2 also has limited types of flexible resources. Energy storage batteries, constrained by their charging power limits, have limited response capability for improving system flexibility needs, so their improvement effect on the system flexibility level is not optimal. Scenario 3, in contrast, demonstrates excellent improvement in system net load adequacy levels. Through the combined regulation of energy storage batteries and aggregators, the system’s downward adequacy level during corresponding valley periods increases to 10% and 2.4%, respectively, improving the downward adequacy of system net load during valley periods and enhancing the system’s operational flexibility at those times.
Through the above analysis, the DNO dynamically regulates internal flexible resources and guides aggregators to actively participate in demand response through a pricing mechanism, changing the generation/consumption behavior of multiple types of demand-side resources. This meets the economic and flexibility operation requirements of the distribution network under increasing penetration of distributed renewable energy. When many aggregators participate in the grid’s market operation, using an intelligent decision-making module can enhance their demand response speed, reduce cumbersome iterative time with upper-layer grid optimization, and greatly improve model solving efficiency. After the DNO provides reasonable market prices, the adequacy level of system load is improved, the line net load fluctuation rate is effectively mitigated, and the corresponding operational flexibility of the distribution network is significantly enhanced, playing a positive role in further increasing the penetration rate of distributed renewable energy in the future.

4.6. Computational Efficiency Analysis

A key claimed advantage of the proposed framework is the significant improvement in computational efficiency compared to conventional bilevel iterative optimization. To substantiate this claim quantitatively, we compare the computational time of the proposed method against a baseline approach where the aggregator’s optimization problem is solved explicitly in each iteration.
Baseline Method: In the conventional bilevel approach, the lower-level aggregator optimization is formulated as a mixed-integer linear programming (MILP) problem and solved using CPLEX at each function evaluation within the NSGA-II algorithm. For a population size of 100 and 150 generations, this requires 100 × 150 = 15,000 MILP solver calls.
Proposed Method: The deep learning surrogate model replaces the MILP solver with a neural network forward pass. Each inference takes approximately 15 milliseconds compared to 5–8 s for the MILP solver. The computational time comparison is summarized in Table 4 below.
The results clearly demonstrate that the proposed deep learning-based framework reduces the total optimization time by approximately 99.5%, from over 20 h to less than 10 min. This dramatic improvement in computational efficiency makes the proposed framework practically viable for day-ahead operational planning, where decisions typically need to be made within 1–2 h.
In addition to computational efficiency, the solution quality of the proposed DL surrogate model is validated by the low MAPE values (1.89–2.38%) reported in Section 4.3, indicating that the aggregator responses closely approximate those obtained from explicit optimization-based baseline methods. Thus, the proposed method preserves accuracy while achieving a substantial reduction in computation time.
Regarding scalability, the computational burden grows linearly with the number of aggregators, as the DL model inference for each aggregator can be parallelized. The NSGA-II optimization for the distribution network itself scales moderately with network size (e.g., number of buses), which is typical for heuristic algorithms, but the elimination of lower-level iterations remains beneficial regardless of network scale.
It should be noted that the offline training of the deep learning model requires approximately 2–3 h. However, this training is performed only once (or periodically updated when significant changes in system operation occur), and the trained model can be reused for daily optimization without additional training costs. Therefore, the total computational investment of the proposed approach is significantly lower than that of the conventional method when evaluated over a typical operational period of one month or longer.

5. Conclusions

The continuous increase in the penetration rate of renewable energy in power systems and the ongoing development of massive, decentralized demand-side resources not only impact the security, economy, and reliability of power system operation but also pose new challenges to system operational flexibility. This chapter discusses the impact of integrating distributed renewable energy into the distribution network on grid operational flexibility and establishes a day-ahead electricity trading operation model where aggregators participate as intelligent aggregated modules under flexibility constraints. Aggregators generate intelligent decision-making ensemble models using historical data and related influencing factors, accelerating their response speed and significantly improving the efficiency of solving system objectives. The DNO reasonably guides aggregators in day-ahead scheduling of user-side resources through price incentives, thereby reducing the risks brought by renewable energy integration to grid operation and enhancing system operational flexibility needs. Based on the case study analysis corresponding to the proposed method in this chapter, the main conclusions obtained are:
(1)
The aggregator demand response model utilizes an Inception network structure for modular aggregation to participate in the day-ahead electricity market optimization operation of the distribution network. It generates intelligent decision-making objectives based on market electricity prices and related influencing factors, avoiding the cumbersome process of repeated upper-lower layer iterations in each trading period to seek a Nash equilibrium solution in traditional two-layer models, thereby improving the efficiency of the model optimization solution.
(2)
The DNO constructs a multi-objective day-ahead optimization operation model for the distribution network, using the net load fluctuation rate as a flexibility indicator combined with the day-ahead equivalent operational cost. Based on the NSGA-II-TOPSIS rule, the optimal solution for the multi-objective function is solved, updating gas turbine output, energy storage battery charging/discharging strategies, and aggregator electricity prices. Aggregators re-optimize their day-ahead strategies based on the new market prices. This iterative solution process continues until a predetermined iteration count is reached or market prices converge. Simulation case analysis on an IEEE-33 node system model integrated with renewable energy and aggregators verifies that the method proposed in this chapter can effectively guide the demand response dispatch strategies of aggregators. The net load adequacy level of the distribution network is improved, the line net load fluctuation rate is effectively mitigated, and the corresponding operational flexibility of the distribution network is significantly enhanced.
Several limitations of the current work should be acknowledged. First, the case study is based on a single IEEE 33-bus test system under a representative typical day scenario. Future work should validate the proposed framework across multiple test systems of varying scales and topologies, as well as across different seasonal scenarios to ensure robustness. Second, the current framework assumes that renewable generation can be accurately forecasted for day-ahead planning. Integrating stochastic or robust optimization techniques to explicitly handle forecast uncertainties represents an important extension. Third, all aggregators in the current study receive uniform pricing signals. Investigating differentiated locational pricing strategies that account for network congestion and nodal price differences could further improve economic efficiency. Fourth, the deep learning model is trained on simulated data generated from physical models. In practical deployments, the model would need to be continuously updated with real operational data through online learning mechanisms to adapt to changing system conditions and user behavior patterns. The framework’s scalability to larger networks is supported by the linear computational growth with aggregator count and the moderate scaling of NSGA-II with bus number; further validation on larger test systems is planned as future work. These limitations define clear directions for future research to further enhance the practical applicability of the proposed framework.

Author Contributions

Conceptualization, H.H.; methodology, H.H.; software, T.C.; validation, H.C.; formal analysis, H.H.; investigation, Y.W.; resources, H.C.; data curation, H.H.; writing—original draft preparation, Y.Z., J.C.; writing—review and editing, Y.Z.; visualization, X.L.; supervision, X.L.; project administration, T.C.; funding acquisition, H.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the science and technology project of State Grid Corporation of China (Research on Key Technologies for User-side Flexibility Configuration and Quality-Efficiency Improvement under the Equilibrium of Economy-Environment-Resources, 52090025001R-192-ZN).

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 Huijuan Huo, Yudong Wang, Tianqiong Chen and Xin Liu were employed by the State Grid Economic and Technological Research Institute 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. The authors declare that this study received funding from the State Grid Shanghai Municipal Electric Power Company under the project ‘Key Technology Research on User-side Flexibility Configuration and Quality-Efficiency Improvement with a Balanced Economy–Environment–Resource Perspective’. The funder was not involved in the study design, collection, analysis, interpretation of data, the writing of this article, or the decision to submit it for publication.

References

  1. Yang, X.F.; Su, J.; Lyu, Z.P.; Liu, H.T.; Li, R. Overview of microgrid technology. Proc. CSEE 2014, 34, 57–70. (In Chinese) [Google Scholar]
  2. Wang, J.S.; Tang, C.H.; Chen, N.; Tan, K.; Mao, J.X. Smooth switching control strategy between grid-connected and islanded modes of microgrid based on operation mode self-identification. Autom. Electr. Power Syst. 2015, 39, 185–191. (In Chinese) [Google Scholar]
  3. Yun, Q.C.; Tian, L.T.; Qi, N.; Zhang, F.; Cheng, L. Resource portfolio optimization method for virtual power plant based on portfolio theory. Autom. Electr. Power Syst. 2022, 46, 146–154. (In Chinese) [Google Scholar]
  4. Shan, J.J.; Hu, J.J.; Wu, J.C. Peer-to-peer market trading mechanism and model for virtual power plant energy management. Power Syst. Technol. 2020, 44, 3401–3408. (In Chinese) [Google Scholar]
  5. Wang, B.B.; Zhu, F.; Ji, W.L.; Cao, Y. Modeling of load reduction potential of central air-conditioning and analysis of influencing factors. Autom. Electr. Power Syst. 2016, 40, 44–52. (In Chinese) [Google Scholar] [CrossRef] [Scilit]
  6. Wang, P. Calculation and Analysis of Building Air Conditioning Dynamic Load; Shanghai Jiao Tong University: Shanghai, China, 2007. (In Chinese) [Google Scholar]
  7. Nie, Q.Z. Research on Energy-Saving and Cost-Reducing Optimization Strategies for HVAC Systems; Shandong University: Jinan, China, 2010. (In Chinese) [Google Scholar]
  8. Li, B.; Li, Z.N.; Chen, B.Y. DFT-based control strategy for central air-conditioning load in smart parks. Power Syst. Technol. 2020, 44, 2549–2559. (In Chinese) [Google Scholar]
  9. Lu, X.Y.; Liu, N.; Chen, Z.; Zhang, J.H.; Xiao, X.N. Multi-objective optimal scheduling method for photovoltaic charging stations of electric vehicles. Trans. China Electrotech. Soc. 2014, 29, 46–56. (In Chinese) [Google Scholar]
  10. Zhao, Y.T.; Wang, H.F.; He, B.T.; Xu, W.N. User-side battery energy storage configuration and operation optimization strategy. Autom. Electr. Power Syst. 2020, 44, 121–128. (In Chinese) [Google Scholar]
  11. Tulpule, P.J.; Marano, V.; Yurkovich, S.; Rizzoni, G. Economic and environmental impacts of a PV powered workplace parking garage charging station. Appl. Energy 2013, 106, 323–332. [Google Scholar] [CrossRef] [Scilit]
  12. Lu, J.; Peng, W.H.; Zhu, Y.P.; Qi, B.; Cui, G.Y. Demand response scheduling strategy for smart residential district based on particle correction optimization. Power Syst. Technol. 2017, 41, 2370–2377. (In Chinese) [Google Scholar]
  13. Wu, J.C.; Ai, X.; Zhang, Y.; Wang, K.Y.; Hu, J.J. Day-ahead optimal scheduling of high-penetration distributed energy park in electricity distribution and retail separation environment. Power Syst. Technol. 2018, 42, 1709–1719. (In Chinese) [Google Scholar]
  14. Zhou, C.C.; Ma, X.Y.; Guo, X.B.; Lei, J.Y. Interactive optimal operation method for industrial park integrated energy system based on Stackelberg game. Autom. Electr. Power Syst. 2019, 43, 74–80. (In Chinese) [Google Scholar]
  15. Yang, M.; Zhang, L.Z.; Lyu, J.H.; Xue, B.K.; Yuan, H. Day-ahead joint clearing model of energy and ancillary service markets for flexibility enhancement. Electr. Power 2020, 53, 182–192. (In Chinese) [Google Scholar]
Figure 1. Distribution network structure considering aggregator participation.
Figure 1. Distribution network structure considering aggregator participation.
Energies 19 02570 g001
Figure 2. Aggregator decision framework for response output.
Figure 2. Aggregator decision framework for response output.
Energies 19 02570 g002
Figure 3. Algorithm principle of NSGA-II.
Figure 3. Algorithm principle of NSGA-II.
Energies 19 02570 g003
Figure 4. Flow chart of distribution network day-ahead optimization based on NSGA-II-TOPSIS.
Figure 4. Flow chart of distribution network day-ahead optimization based on NSGA-II-TOPSIS.
Energies 19 02570 g004
Figure 5. IEEE 33-bus distribution system.
Figure 5. IEEE 33-bus distribution system.
Energies 19 02570 g005
Figure 6. Distribution network net load curve.
Figure 6. Distribution network net load curve.
Energies 19 02570 g006
Figure 7. Load, wind power, and photovoltaic power forecasts in aggregators.
Figure 7. Load, wind power, and photovoltaic power forecasts in aggregators.
Energies 19 02570 g007
Figure 8. Pareto solution of running cost and net load fluctuation rate.
Figure 8. Pareto solution of running cost and net load fluctuation rate.
Energies 19 02570 g008
Figure 9. Price of distribution network operator selling power to aggregator.
Figure 9. Price of distribution network operator selling power to aggregator.
Energies 19 02570 g009
Figure 10. Result comparison before and after the response of aggregator 1.
Figure 10. Result comparison before and after the response of aggregator 1.
Energies 19 02570 g010
Figure 11. Result comparison before and after the response of aggregator 2.
Figure 11. Result comparison before and after the response of aggregator 2.
Energies 19 02570 g011
Figure 12. Result comparison before and after the response of aggregator 3.
Figure 12. Result comparison before and after the response of aggregator 3.
Energies 19 02570 g012
Figure 13. Power curves of gas turbines and energy storage.
Figure 13. Power curves of gas turbines and energy storage.
Energies 19 02570 g013
Figure 14. Distribution network net load comparison with different scenarios.
Figure 14. Distribution network net load comparison with different scenarios.
Energies 19 02570 g014
Figure 15. Distribution network net load fluctuations rate comparison with different scenarios.
Figure 15. Distribution network net load fluctuations rate comparison with different scenarios.
Energies 19 02570 g015
Table 1. Distribution network net load of a typical day.
Table 1. Distribution network net load of a typical day.
Time SlotTotal Load/MWTime SlotTotal Load/MW
17.23139.21
27.041410.06
36.43159.83
45.96169.32
55.63179.19
67.06189.12
77.24199.76
87.78208.15
98.20217.66
109.63225.95
1110.29233.79
128.68243.69
Table 2. Pareto boundary solution and optimal operation results.
Table 2. Pareto boundary solution and optimal operation results.
Pareto SolutionOperating Cost Equivalent ValuePower Fluctuation Equivalent ValuePeak Electricity Price (USD/kWh)Shoulder Electricity Price (USD/kWh)Valley Electricity Price (USD/kWh)
Min Operating Cost0.6811.5660.257140.171430.08571
Min Fluctuation0.7550.9820.256430.137570.04300
TOPSIS-Optimal0.7311.0810.242570.154430.08386
Table 3. Comparison of net load capacity margin with different scenarios.
Table 3. Comparison of net load capacity margin with different scenarios.
Adequacy Value F T R U P , i t  (%) F T R D O W N , i t  (%)
Time13:0014:0015:0022:0023:0024:00
Before regulation7.86−0.581.6948.73−5.16−7.87
Scenario 127.1919.7821.9815.14−23.78−16.06
Scenario 220.1422.9423.7912.93−9.20−5.13
Scenario 322.652421.6632.849.992.40
Table 4. The computational time comparison.
Table 4. The computational time comparison.
ComponentConventional Bilevel MethodProposed Method
Single aggregator response evaluation5–8 s (MILP)0.015 s (DL inference)
Total lower-level evaluations15,000 calls15,000 calls
Total lower-level computation time20.8–33.3 h3.75 min
Upper-level NSGA-II overhead5 min5 min
Total optimization time21–34 h8–10 min
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

Huo, H.; Cao, J.; Wang, Y.; Chen, T.; Zhao, Y.; Chen, H.; Liu, X. Coordinated Optimal Dispatch of Distribution Networks and Aggregated Customer-Side Flexible Resources. Energies 2026, 19, 2570. https://doi.org/10.3390/en19112570

AMA Style

Huo H, Cao J, Wang Y, Chen T, Zhao Y, Chen H, Liu X. Coordinated Optimal Dispatch of Distribution Networks and Aggregated Customer-Side Flexible Resources. Energies. 2026; 19(11):2570. https://doi.org/10.3390/en19112570

Chicago/Turabian Style

Huo, Huijuan, Jingwen Cao, Yudong Wang, Tianqiong Chen, Yuhan Zhao, Heng Chen, and Xin Liu. 2026. "Coordinated Optimal Dispatch of Distribution Networks and Aggregated Customer-Side Flexible Resources" Energies 19, no. 11: 2570. https://doi.org/10.3390/en19112570

APA Style

Huo, H., Cao, J., Wang, Y., Chen, T., Zhao, Y., Chen, H., & Liu, X. (2026). Coordinated Optimal Dispatch of Distribution Networks and Aggregated Customer-Side Flexible Resources. Energies, 19(11), 2570. https://doi.org/10.3390/en19112570

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