Next Article in Journal
A State-of-the-Art Review on Nuclear Reactor Concepts and Associated Advanced Manufacturing Techniques
Previous Article in Journal
DNS Study of Freely Propagating Turbulent Lean-Premixed Flames with Low-Temperature Chemistry in the Broken Reaction Zone Regime
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Aggregation and Coordination Method for Flexible Resources Based on GNMTL-LSTM-Zonotope

1
School of Information and Electrical Engineering, Shandong Jianzhu University, Jinan 250101, China
2
State Grid Shandong Integrated Energy Services Co., Ltd., Jinan 250001, China
3
State Grid Qingdao Power Supply Company, Qingdao 266002, China
*
Author to whom correspondence should be addressed.
Energies 2025, 18(16), 4358; https://doi.org/10.3390/en18164358
Submission received: 21 July 2025 / Revised: 11 August 2025 / Accepted: 13 August 2025 / Published: 15 August 2025

Abstract

Demand-side flexible resources in building energy systems hold significant potential for enhancing grid reliability and operational efficiency. However, their effective coordination remains challenging due to the complexity of modeling and aggregating heterogeneous loads. To address this, this paper proposes a feasible region aggregation and coordination method for load aggregators based on a GNMTL-LSTM-Zonotope framework. A Gradient Normalized Multi-Task Learning Long Short-Term Memory (GNMTL-LSTM) model is developed to forecast the power trajectories of diverse flexible resources, including air-conditioning systems, energy storage units, and diesel generators. Using these predictions and associated uncertainty bounds, dynamic feasible regions for individual resources are constructed with Zonotope structures. To enable scalable aggregation, a Minkowski sum-based method is applied to merge the feasible regions of multiple resources efficiently. Additionally, a directionally weighted Zonotope refinement strategy is introduced, leveraging time-varying flexibility revenues from energy and reserve markets to enhance approximation accuracy during high-value periods. Case studies based on real-world office building data from Shandong Province validate the effectiveness, modeling precision, and economic responsiveness of the proposed method. The results demonstrate that the framework enables fine-grained coordination of flexible loads and enhances their adaptability to market signals. This study is the first to integrate GNMTL-LSTM forecasting with market-oriented Zonotope modeling for heterogeneous demand-side resources, enabling simultaneous improvements in dynamic accuracy, computational scalability, and economic responsiveness.

1. Introduction

With the increasing integration of renewable energy into modern power systems, the need for operational flexibility has become more critical [1]. Flexible loads, energy storage systems, electric vehicles, and other adjustable resources demonstrate great potential for balancing supply and demand, mitigating peak loads, and enhancing overall system resilience. Demand-side active participation in power scheduling has emerged as a key strategy to improve grid regulation capabilities and promote source-load synergy. In practical scheduling scenarios, grid operators typically require resources to report their adjustable power ranges, based on which the system constructs and solves an optimization model [2]. Therefore, accurately quantifying the flexibility of individual resources and efficiently aggregating them in a structured manner are essential prerequisites for enabling large-scale participation in grid regulation.
However, due to the diversity, scale, small individual capacity, and spatial distribution of demand-side resources, modeling and coordinating them one by one introduces substantial communication and computational burdens. It also hinders the development of a unified resource management framework for system-wide scheduling [3,4]. To address this, a widely adopted strategy in recent studies is “unified modeling + feasible region aggregation”, where individual resources are abstractly modeled and then aggregated into a collective pool for system-level participation. Some researchers have also introduced evaluation indices for flexibility aggregation to enhance adaptability and improve model transparency [5].
From a modeling perspective, two common approaches are the virtual generator model and the virtual energy storage model, which consider constraints such as power limits, energy states, ramp rates, and operational statuses [6,7]. For instance, heat pumps can be abstracted as virtual units with ramping constraints [8], while thermostatically controlled loads (TCLs) and electric vehicles with energy buffer characteristics are often modeled as virtual energy storage systems [9]. Additionally, some studies have constructed feasible regions directly using inequality constraints to capture power bounds, state transitions, and duration constraints, aiming to improve the realism and fidelity of the model [10].
In order to improve the efficiency of resource aggregation modeling, researchers have proposed a variety of approximate construction means. Convex polyhedron-based feasible domain expression is a class of classical methods that has good geometric interpretability in low-dimensional scenarios but suffers from high combinatorial complexity and unstable expression structure under high-dimensional conditions [11]. For this reason, region approximation by means of an external ellipsoid has been proposed in the literature [12], or resource aggregation approximation models are constructed based on polyhedral boundary contraction and projection mapping strategies [13]. Meanwhile, techniques such as virtual battery model [14], Gaussian kernel [15], and the inner-box approximation model [16] are also widely used for fast construction of flexible boundaries of resources. However, most of the above methods take the same kind of resources as the modeling object, and it is still difficult to meet the modeling demand of distributed heterogeneous resource co-regulation. In addition, some studies have also proposed the integration mechanism of fusion constraint space integration, which introduces the engineering regulation interface in the construction of response structure to effectively improve modeling ability [17].
Recently, Zonotope has attracted considerable attention due to its favorable mathematical properties, such as closure under Minkowski sum, central symmetry, and scalability [18]. These features allow efficient high-dimensional feasible region aggregation, making Zonotope a promising tool for flexibility modeling [19]. Prior studies have demonstrated that Zonotope aggregation achieves a good trade-off between modeling accuracy and computational efficiency. However, most existing Zonotope methods rely on idealized structures and fail to capture dynamic behavior or multi-temporal coupling in practical demand response applications [20]. Some improvements have been made via projection optimization and generator matrix reconfiguration, showing enhanced structural stability in specific scenarios [21].
Despite these advancements, traditional methods for flexible resource aggregation, such as virtual synchronous machine (VSM) models and Zonotope-based approaches, still exhibit several critical limitations:
  • They are primarily designed for static constraint modeling and thus cannot effectively capture temporal couplings, state transitions, or ramping characteristics inherent in flexible resources.
  • Their construction processes often require solving numerous linear programming problems, leading to increased computational burden and reduced scalability in large-scale applications.
  • Most methods overlook the temporal value of flexibility, which may result in inefficient allocation of high-value flexibility resources and thereby compromise economic performance.
To overcome these limitations, this paper proposes a novel feasible region aggregation method based on a GNMTL-LSTM-Zonotope framework. The main purpose of this study is to develop a unified and efficient modeling framework that can dynamically capture the operational behaviors of heterogeneous flexible demand-side resources, accurately represent their high-dimensional constraints, and incorporate the economic value of flexibility over time. This framework aims to improve prediction accuracy and aggregation efficiency, while enabling market-oriented flexibility scheduling to enhance both the reliability and economic performance of power systems. Section 6 provides comparative results against common aggregation approaches to demonstrate the superiority of the proposed method. The main contributions are summarized as follows:
  • A dynamic feasible region prediction framework is developed by integrating a GNMTL-LSTM network, enabling the capture of operational constraints over time and addressing the limitations of static Zonotope modeling.
  • An approximate feasible region for individual resources is constructed using the GNMTL-LSTM-Zonotope approach. A market price–based weighting mechanism is introduced to reflect the economic value of flexibility across different time periods, and the Minkowski sum is applied for cluster-level aggregation.
  • An optimization model is formulated to maximize the economic benefits of the load aggregator, which coordinates real-time control signals to dispatch flexible resources accordingly.
  • Case studies involving diverse distributed energy resources demonstrate the advantages of the proposed method in terms of modeling accuracy, aggregation efficiency, and economic performance.
The novelty of this work lies in the first integration of GNMTL-LSTM forecasting with market-oriented Zonotope modeling for heterogeneous demand-side resources. This integration enables simultaneous improvements in dynamic modeling accuracy, computational scalability, and economic responsiveness. The main research object of this paper relates to medium-scale building clusters, and further research is needed to assess the scalability and adaptability of the approach in larger, more complex energy systems.
The structure of this paper is arranged as follows. Section 2 introduces the multi-type building load aggregation scenario and the aggregation–scheduling framework. Section 3 establishes feasible regional models for various types of resources. Section 4 proposes the GNMTL-LSTM-Zonotope-based feasible region characterization and aggregation method, including dynamic prediction, Zonotope construction, and market-oriented weighting strategies. Section 5 formulates the scheduling optimization model under the aggregated feasible region. Section 6 presents case studies based on real-world data to validate the effectiveness of the proposed method. Section 7 concludes the paper and outlines future research directions.

2. Flexible Resource Aggregation Regulatory Framework

This study aims to develop a unified modeling and control framework for heterogeneous flexible demand-side resources to enhance system reliability and economic performance through dynamic modeling and efficient aggregation.
Grounded in the scientific hypothesis that heterogeneous demand-side resources—when modeled dynamically and aggregated efficiently—can provide temporally adaptive flexibility, this research aligns with the United Nations Sustainable Development Goals (SDGs), particularly SDG 7 (Affordable and Clean Energy) and SDG 13 (Climate Action), aiming to improve renewable energy accommodation and reduce reliance on carbon-intensive generation.
Figure 1 illustrates the proposed flexible resource aggregation and control framework. This study employs an efficient feasible region aggregation technique based on GNMTL-LSTM-Zonotope modeling to aggregate multiple types of flexible resources within a load aggregator into a unified resource cluster. The load aggregator receives both external electricity market information and internal state data to perform coordinated optimization and control of its internal flexible resources. Upon completion of the optimization process, the aggregator dispatches control signals to the resource side to implement energy management of the internal resource cluster.
Moreover, the proposed GNMTL-LSTM-Zonotope-based framework is not limited to office buildings. Since the method does not depend on specific device types or control infrastructures, it can be extended to other flexible demand-side resources such as commercial complexes, hospitals, or district-level energy systems. This universality allows the method to serve as a foundational approach for large-scale coordination of diverse flexible resources.
The time step for aggregation and optimization control is set to 1 h, assuming constant device power output within each time interval. Communication latency between entities in the system framework is in the millisecond range and is therefore considered negligible in this study.
The detailed implementation process for flexible resource aggregation and control in the context of a load aggregator is as follows:
  • Development of dynamic electrical models for various types of flexible resources within the aggregator to characterize their respective feasible control regions;
  • Approximation of the original feasible region of individual flexible resources using the GNMTL-LSTM-Zonotope method;
  • Considering demand-side scenarios with complex constraints and time-varying flexibility values, proposition of a correction strategy for the aggregated feasible region model and application the Minkowski sum to obtain the aggregated feasible region of the flexible resources;
  • Formulation and solution of an optimization model aimed at maximizing the overall economic benefit of the aggregator, and issuing of control commands to flexible resources for day-ahead scheduling.
This research focuses on a load aggregator within a building energy system, targeting unified modeling and control strategies for representative flexible loads such as air conditioning, energy storage systems, and distributed generation units. To address challenges such as inconsistent resource responses and complex control couplings, a unified feasible region expression and optimal control method based on GNMTL-LSTM-Zonotope is proposed. An integrated framework encompassing modeling, aggregation, correction, and scheduling is established to support coordinated resource management and control.

3. Characterization of Feasible Regions for Aggregator Flexible Resources

To support flexible aggregation and coordinated control, it is essential to first characterize the feasible operating regions of distributed energy resources under the load aggregator. These regions, defined by physical and operational constraints, form the mathematical basis for subsequent Zonotope-based aggregation and optimization. This chapter develops linear models for three representative resource types using inequality-based formulations to enable scalable and unified approximation.

3.1. Air Conditioning Loads

As a typical distributed resource, air-conditioning systems exhibit considerable potential for controllability in temperature regulation. The dynamic thermal behavior between indoor and outdoor environments is commonly described using a first-order equivalent thermal parameter model for individual air conditioners, which is formulated as follows:
d T in d t = T out T in R in C in Q ac C in
Q ac = η ac P ac
where Tin denotes the indoor temperature, Tout represents the outdoor temperature, and Qac is the cooling capacity of the air-conditioning unit. Rin and Cin are thermodynamic parameters representing the thermal resistance of the indoor space and the thermal capacitance of the indoor air, respectively. ηac is the coefficient of performance (COP) of the air conditioner, and Pac is its electric power consumption.
Based on Equation (1), the dynamic electrical model of the air conditioner can be derived as follows:
T t + 1 in = T t in e Δ t R m C m + ( η ac R in P t ac + T t out ) 1 e Δ t R m C m
T min in T t in T max in
0 P t   ac P   max   ac
Let T t i n denote the indoor temperature at time step t, T t out the outdoor temperature, and P a c   t the power consumption of the air conditioner at time t. Δt is the time step duration, fixed to 1 h in this study. Tin max and Tin min represent the upper and lower bounds of the indoor thermal comfort range, respectively. Pac max is the rated maximum power of the air conditioner.
During the aggregation and regulation of air conditioners as flexible resources, parameters such as thermal characteristics, efficiency, and outdoor temperature are treated as constants. Thus, Equation (3) can be simplified as follows:
T t + 1 in = k 1 T t in + ( 1 k 1 ) T t out k 2 P t ac
Taking a two-period example, all operational constraints of the air conditioner can be reformulated into a half-space representation of the form Axb, where x is the vector of control variables, A is the constraint coefficient matrix, and b is the vector of constant terms. The corresponding feasible region is expressed as follows:
1 0 1 0 0 1 0 1 k 2 0 k 1 k 2 k 2 k 1 k 2 k 2 P 1 ac P 2 ac P 1 ac 0 P max ac 0 T max in k 1 1 T 1 in i = 1 1 k 1 1 i ( 1 k 1 ) T i out T min in + k 1 1 T 1 in + i = 1 1 k 1 1 i ( 1 k 1 ) T i out T max in k 1 2 T 1 in i = 1 2 k 1 2 i ( 1 k 1 ) T i out T min in + k 1 2 T 1 in + i = 1 2 k 1 2 i ( 1 k 1 ) T i out
The feasible region described in Equation (7) treats the air conditioner as a virtual energy storage system, where the difference between the baseline power and the actual operating power is interpreted as the virtual charging or discharging power. The baseline power refers to the power required to maintain the indoor temperature at a fixed reference level.

3.2. Energy Storage Systems

The charging and discharging processes of energy storage systems can be freely controlled and are not affected by environmental factors. The corresponding model for energy storage operation is formulated as follows.
  • Charging and Discharging Power Constraints
0 p es , m , t c λ m , t c p es , m , t c , max
0 p es , m , t d λ m , t d p es , m , t max
λ m , t c + λ m , t d 1
p m , t d p m , t c = 0
where p e s , m , t c and p e s , m , t d denote the charging and discharging power of storage unit m at time t, respectively; p e s , m , t c , m a x and p e s , m , t m a x are the upper bounds on charging and discharging power; and λ m , t c and λ m , t d are binary variables indicating whether the unit is in charging or discharging mode at time t. Equation (11) enforces mutual exclusivity between charging and discharging states during any single time period.
2.
Energy Constraints
E es , m , t = ( 1 γ m ) E es , m , t 1 + ( p es , m , t c η m c p es , m , t d / η m d ) Δ t
E es , m min E es , m , t E es , m max
where Ees,m,t−1 and Ees,m,t are the stored energy levels of storage unit m at time steps t − 1 and t, respectively; E e s , m m a x and E e s , m m i n represent the upper and lower bounds of energy storage; γm is the self-discharge rate; η m c and η m d are the charging and discharging efficiencies; and Δt is the duration of a single time period.
3.
Ramping Constraints
0 p es , m , t c p es , m , t 1 c Δ p es , m c , max
0 p es , m , t d p es , m , t 1 d Δ p es , m d , max
Here, Δ p e s , m c , m a x and Δ p e s , m d , m a x are the upper bounds on the ramping rate for charging and discharging power of storage unit mmm, respectively.
Taking a two-period case as an example, we unify the charging and discharging power as pes,m,t, the charging/discharging efficiency as ηm, and the ramping constraint as Δ p e s , m m a x .
The energy levels of storage unit mmm over two time periods can then be expressed in terms of the charging/discharging power as follows:
E es , m , 1 = ( 1 γ m ) E es , m , 0 + η m Δ t p es , m , 1
E es , m , 2 = ( 1 γ m ) E es , m , 1 + η m Δ t p es , m , 2   = ( 1 γ m ) 2 E es , m , 0 + ( 1 γ m ) η m Δ t p es , m , 1 + η m Δ t p es , m , 2
All constraints can be reformulated into the standard form Apb. Taking a two-period case as an example, the feasible operating region of the energy storage system can be characterized as
1 0 1 0 0 1 0 1 1 1 1 1 η m Δ t 0 η m Δ t 0 ( 1 γ m ) η m Δ t η m Δ t ( 1 γ m ) η m Δ t η m Δ t p e s , m , 1 p e s , m , 2 p e s , m , 1 c , m a x p e s , m , 1 d , m a x p e s , m , 2 m a x p e s , m , 2 d , m a x Δ p e s , m m a x Δ p e s , m m a x E e s , m m a x ( 1 γ m ) E e s , m , 0 E e s , m m i n + ( 1 γ m ) E e s , m , 0 E e s , m m a x ( 1 γ m ) 2 E e s , m , 0 E e s , m m a x + ( 1 γ m ) 2 E e s , m , 0
It can be observed that due to the need to account for energy layering and charging/discharging losses, the operational constraint coefficients of the devices become more complex. The proposed model incorporates loss factors and explores a generalized formulation method for Zonotope generators, enabling a more accurate representation of the geometric structure of complex feasible regions.

3.3. Diesel Generators

Although diesel generators typically serve as emergency backup power sources in conventional office buildings, they possess controllable start–stop flexibility and cost-effectiveness in the context of the large-scale building energy systems considered in this study. These units are powered by diesel combustion and exhibit operational characteristics that differ significantly from load-side resources such as air conditioners and energy storage systems. Specifically, their output is unidirectional (power generation only), and their operation must comply with ramping and start–stop constraints. The generator’s output characteristics are influenced by fuel calorific value fluctuations, combustion efficiency, and mechanical inertia. In practical operation, strict ramping limits must be enforced to ensure equipment safety, and the generator’s output range is constrained by the following equations:
P min dg P t dg P max dg
Δ P min dg P t dg P t 1 dg Δ P max dg
Here, P dg   t denotes the output power of the diesel generator at time t; P max dg and P min dg represent the allowable upper and lower output limits, respectively; and Δ P m a x d g and Δ P m i n d g define the maximum ramp-up and ramp-down limits for a single time step.
In addition, the generation cost of the diesel unit consists of fuel procurement, equipment wear, and carbon emission costs. To account for the operational economics of diesel generators, the unit cost of power generation is modeled using a quadratic function. Based on this, the total operating cost of the system C0 is expressed as
C o = t = 1 T a dg P t dg 2 + b dg P t dg + c dg
Here, T denotes the total number of time periods considered for system operation, typically set to 24 to represent a full-day scheduling cycle. The coefficients adg, bdg and cdg correspond to the fuel consumption nonlinearity, marginal cost per unit of power, and fixed start-up cost of a single diesel generator, respectively.
Based on the above analysis, under a two-period framework, the operational feasible region of the diesel generator can be characterized by the following mathematical expressions:
1 0 1 0 0 1 0 1 1 1 1 1 P 1 dg P 2 dg P max dg P min dg P max dg 2 P min dg Δ P max Δ P min dg

3.4. Demand-Side Resources

Consider a demand-side device j with an operating power pj,t at time period t. The flexibility feasible region of device j can be described by a combination of single-period constraints and multi-period coupling constraints, as follows.
  • Power Constraint
Assuming the device operates at a constant power level within each time interval t, the power constraint can be written as
p j min p j , t p j max t = 1 , 2 , , T
where pj,t is the constant power of device j at time t; T is the set of all scheduling periods; and p j m i n and p j m a x denote the minimum and maximum allowable operating power of device j, respectively.
2.
Energy Constraint
e j min e j , t e j max t = 1 , 2 , , T
where e j m i n and e j m a x denote the lower and upper bounds on the cumulative energy consumption of device j. Since the case t = 1 is already addressed in the power constraint, the energy constraint can be reformulated as
e j min i = 1 t p j , i e j max t = 2 , 3 , , T
3.
Ramping Constraint
In demand response applications, the rate of power change between time periods is an important operational consideration. The ramping constraint that governs the power variability of device j is expressed as
r j min p j , t p j , t 1 r j max t = 2 , 3 , , T
where r j m i n and r j m a x are the lower and upper bounds on the allowable power change between consecutive periods for device j.
Observing that constraints Equation (24) through Equation (27) are all linear in power variables, the feasible region of device j can be compactly represented as a set of linear inequalities:
P = p R N : A P b
where P denotes the convex polytope representing the feasible operating region of the device, N is the number of decision variables (typically the number of time periods), and (A, b) encapsulate the linear constraint matrix and corresponding constant vector, respectively.
4.
State Constraint
The operational state of a flexible resource may vary with its power usage—for example, the state of charge of a battery or the internal temperature of a thermal system. In this study, the state evolution is assumed to follow a linear relationship with the current state variable x(t), an auxiliary variable u(t), and the power p(t), given by
d x ( t ) d t = a x ( t ) + b u ( t ) + c p ( t )
where a, b, and c are dynamic system parameters. For example, in energy storage systems, a ≤ 0 indicates self-discharge, while b and c reflect the conversion efficiency of auxiliary variables and power into state transitions. After discretization, the state constraint can be written as
x k + 1 , min ( a + 1 ) x k + b u k + c p k x k + 1 , max , k = 0 , , N 1
To reduce the complexity of decision making at the system operator level, the load aggregator aggregates individual users’ feasible regions to form a collective feasible region for the user cluster. The purpose of the above modeling of distributed resources is to facilitate subsequent aggregation and centralized coordination. The aggregated feasible region represents the overall adjustable output range of all flexible resources under coordinated control. Mathematically, the feasible region aggregation problem is equivalent to performing a Minkowski sum (denoted ⊕) over the individual feasible regions, where PJ is the aggregated feasible region, and each pjPJ denotes a feasible point within the feasible region of user j.
Figure 2 presents a schematic of the Minkowski sum over a two-period decision horizon involving two users. The individual feasible regions of User 1 and User 2 are denoted P1 and P2, respectively. Their aggregation yields a joint feasible region, illustrated as a trapezoid, whose geometric complexity increases compared to the individual regions. In essence, centralized coordination aims to identify an optimal point—i.e., a feasible power trajectory—within this aggregated region. In practice, load aggregation and control by aggregators are typically executed over a 24 h horizon, resulting in a high-dimensional feasible region (24 dimensions), which poses significant computational challenges for Minkowski summation.
In this chapter, to meet the regulation demands of real building energy systems, operational models are developed for three representative categories of flexible resources: thermal (air conditioners), electrochemical (energy storage systems), and demand-responsive (general controllable loads and diesel generators). Key operational characteristics such as power constraints, energy dynamics, and state transitions are abstracted and unified into a set of linear inequality representations. These original feasible regions are then aggregated using Minkowski summation to construct the operational boundary of the collective cluster. However, the exponential growth in computational complexity with increasing dimensionality necessitates the development of an efficient approximation method. The next chapter addresses this challenge by introducing an improved Zonotope-based modeling approach for feasible region aggregation with controllable structure and high computational efficiency.

4. Aggregation Method of Feasible Regions for Load Aggregators Based on GNMTL-LSTM-Zonotope

This chapter proposes a feasible region characterization and aggregation method for flexible resources, integrating GNMTL-LSTM prediction with Zonotope-based approximation modeling. By employing a multi-task learning LSTM model, the operational boundaries of air-conditioning systems, energy storage units, and diesel generators are predicted, enabling the construction of a dynamically driven Zonotope representation of the feasible region. On this basis, a generator optimization and precision control mechanism is designed to enhance both modeling efficiency and representational accuracy. Finally, a flexibility value-weighting strategy based on market prices is introduced to adjust the aggregation process. The Minkowski sum is applied to aggregate multiple resources, optimizing the approximation results in high-value time periods.

4.1. Overview of Traditional Zonotopes

A Zonotope is a class of centrally symmetric convex polytope characterized by favorable geometric properties and strong mathematical tractability. Compared to conventional polyhedral representations, the Zonotope employs a generator matrix-based parameterization (Z-representation), which enables efficient and unified modeling of feasible regions across multiple resources and time periods, while also supporting computationally efficient aggregation operations.
The Zonotope is particularly suited for flexible resource aggregation because it avoids the combinatorial complexity growth seen in high-dimensional polyhedral methods, allows direct incorporation of power, energy, and ramping constraints, and does not require explicit probabilistic assumptions. These advantages make it robust for heterogeneous resource modeling under practical engineering conditions. Unlike traditional polytopes expressed in half-space form (H-representation) or vertex form (V-representation), the Zonotope is a special type of polytope defined by a distinct mathematical structure known as the Z-representation. Its formal representation is given by [22]
Z = x R N : x = c + G β , β ¯ β β ¯
G = g 1 , g 2 , , g M R N × M
g ( m ) 2 = 1 m = 1 , 2 , , M
β = β 1 , β 2 , , β M T
Here, N is the dimension of the space; c represents the center point of the polytope; G is the generator matrix composed of M generator vectors g(m), which define the directions in which the polytope extends from its center; and β is the vector of extension lengths along each generator direction, bounded by their respective maximum values. 2 denotes the Euclidean (L2) norm.
In flexible resource modeling, Zonotopes can be employed to approximate the feasible output regions of resources such as air-conditioning systems, energy storage units, and generators under operational constraints, including power limits, energy constraints, and ramping capabilities. By representing the operating ranges of various resources at different time intervals as Zonotopes and leveraging their closure properties under Minkowski addition, feasible region aggregation can be effectively achieved.
When Zonotopes share the same generator matrix G, their Minkowski sum can be significantly simplified due to the alignment of their extension directions. Specifically, the aggregation process benefits from this shared structure, leading to a more computationally efficient summation procedure:
Z agg = Z 1 Z 2 Z n
c agg = s = 1 N c c s
β m agg = s = 1 N c β m , s
Here, Zagg denotes the aggregated Zonotope; ⊕ represents the Minkowski sum operator; Nc is the number of individual feasible regions being aggregated, i.e., the number of flexible resources; cagg is the center of the aggregated Zonotope; cs is the center of the s individual Zonotope; β denotes the total extension length in the m generator direction for the aggregated Zonotope; and βm,s represents the extension length of the s Zonotope in the m generator direction before aggregation.

4.2. Dynamic Feasible Region Characterization Method Based on GNMTL-LSTM-Zonotope

4.2.1. Construction of the GNMTL-LSTM Prediction Model

Considering the coupling among air-conditioning systems, energy storage units, and diesel generators, an MTL approach is adopted to enhance prediction accuracy and generalization capability. This is achieved by using shared layers to learn and extract auxiliary coupling information from related subtasks. The task learning process is implemented using LSTM neural networks, which possess memory capabilities.
LSTM networks incorporate gating mechanisms that allow the selective retention or forgetting of past information. Through iterative training and extraction of features from multiple hidden layers within the LSTM, the model is capable of capturing and learning the complex internal relationships within the input data. The structure of the proposed GNMTL-LSTM model is illustrated in Figure 3.
Due to the differing magnitudes of loss gradients across tasks during multi-task learning, tasks with smaller gradient magnitudes contribute less to the parameter updates in the shared layers during backpropagation, resulting in insufficient learning and underfitting of the shared representation. Conversely, tasks with larger gradient magnitudes tend to dominate the training process, potentially causing overfitting on those tasks and leading to reduced overall prediction accuracy for the aggregated load.
To address this issue, gradient normalization is introduced. The core idea is to penalize the network whenever the backpropagated loss gradient of any task becomes excessively large or small. This mechanism helps achieve a proper balance of loss gradients when all tasks train at a similar pace. If a task trains relatively faster, its loss coefficient is reduced, thereby allowing other tasks to exert greater influence during training.
The loss function of the prediction model is expressed as Equation (37):
L ( t ) = w i ( t ) L i ( t )
Here, L(t) and Li(t) represent the total loss of all tasks and the loss of task i at time t, respectively; wi(t) denotes the loss weight of task i at time t.
To measure the magnitude of the loss gradients, the gradient norm GWi(t) for task i at time t and the average gradient norm G W ¯ ( t ) across all tasks are calculated, as shown in Equations (38) and (39). To reduce computational overhead, the weights from the last shared layer are used for these calculations.
G W i ( t ) = j ( w i ( t ) L i ( t ) ) W j 2
G W ¯ ( t ) = 1 N i = 1 N G W i ( t )
Here, Wj represents the parameters of the LSTM neural network; N denotes the total number of subtasks in the multi-task learning framework.
To evaluate the training rate of each task, the loss decay rate vi(t) is calculated as the ratio of the loss Li(t) of task i at time t to its initial loss Li(0). Additionally, the relative change rate of the decay rate ri(t) compared to the expected value is computed, as shown in Equations (40) and (41).
v i ( t ) = L i ( t ) L i ( 0 )
r i ( t ) = v i ( t ) E task [ v i ( t ) ]
Here, Etask represents the average loss decay rate across all tasks.
A larger value of ri(t) corresponds to a higher gradient magnitude, encouraging the task to train faster. Therefore, the expected gradient norm target for each task i is defined as follows:
G W i ( t ) G W ¯ ( t ) r i ( t ) a
Here, a is a hyperparameter that balances the training speeds of different tasks and represents the strength of the task’s resilience to returning to the normal training rate.
Based on the difference between the actual and target gradient norms, denoted GradLoss, the loss weights w(t) are dynamically adjusted to achieve balanced training across tasks, as shown in Equations (43) and (44).
G radLoss = i G W i ( t ) G W ¯ ( t ) [ r i ( t ) ] a
w i ( t + 1 ) = w i ( t ) + λ d G radLoss d w ( t )
Here, wi(t + 1) represents the adjusted loss weight, and λ denotes the learning rate of the neural network.

4.2.2. Selection of Zonotope Generators

After modeling the load time-series data of flexible resources such as air conditioners, energy storage systems, and diesel generators, this study introduces the Zonotope as an approximate representation of the dynamic feasible operating boundaries of these resources.
Generators define the directions along which a Zonotope extends. For accurately approximating the original feasible regions of the resource models developed earlier, the selection of generator directions is critical to ensuring geometric fidelity.
In the case of air conditioning loads and energy storage systems, the corresponding models primarily involve power constraints and energy constraints. Power constraints impose bounds on the power variables at each time step, while energy constraints reflect the temporal coupling among those variables. The generator set designed to approximate the feasible regions of such resources is constructed as follows [23]:
g ( m ) = 0 , , 0 , 1 m , 0 , , 0 T m = 1 , 2 , , N
g ( N + m ) = 0 , , 0 , 1 2 m , 1 2 m + 1 , 0 , , 0 T m = 1 , 2 , , N 1
Here, N denotes the dimensionality of the scheduling horizon, and each generator is an N-dimensional vector.
Equation (45) includes N generators, each corresponding to the extension direction at a specific time period i, independent of other time steps. These generators thus represent the power constraints. Equation (46) includes N − 1 generators, each capturing the cumulative power over adjacent time steps, which makes them suitable for approximating energy constraints [24]. In total, there are 2N − 1 generators for modeling both constraint types.
In contrast to air-conditioning and storage systems, diesel generators must account for both power and ramping constraints. Therefore, the generators in Equation (47) are retained to approximate power constraints, while Equation (48) defines the generators associated with ramping constraints.
g ( m ) = 0 , , 0 , 1 m , 0 , , 0 T m = 1 , 2 , , N
g ( N + m ) = 0 , , 0 , 1 2 m , 1 2 m + 1 , 0 , , 0 T m = 1 , 2 , , N 1
Equation (48) consists of N − 1 generators, each representing the difference in power between the current time step and the subsequent one. These generators are thus used to capture the ramping constraints of diesel generators.

4.2.3. Definition of Accuracy Metrics

To evaluate the geometric approximation accuracy of Zonotopes for distributed flexible resource feasible regions, a two-layer similarity index based on multi-dimensional vector projections is proposed. This metric jointly considers boundary coverage across various directions and the structural balance of the generator set.
As illustrated in Figure 4 using a two-dimensional example, the similarity between the Zonotope and the original feasible region is visualized, where P denotes the original feasible region and Z represents the approximated Zonotope. A set of unit normal vectors is selected to represent directional projections, and the width ratio of P and Z along each direction is computed to quantify the approximation quality.
The accuracy metric Λ is defined as follows:
Λ = ω 1 1 N f l = 1 N l Δ Z , l Δ P , l + ( 1 ω 1 ) 1 m = 1 M ( β m β ˜ ) 2 M σ max
Here, ω1 is the weighting factor; Nf is the number of unit normal vectors; ΔP,l and ΔZ,l represent the widths of the original feasible region and the Zonotope along the l unit normal direction, respectively; βm denotes the extension length of the m generator in that direction; β is the mean extension length across all generators; and σmax is the maximum variance of the extension lengths, used for normalizing the second term in the index. In the definition of the accuracy metric Λ in Equation (49), the first term quantifies the approximation degree between the Zonotope and the original feasible region, while the second term measures the variation in extension lengths across all generator directions. The inclusion of the second term ensures that the Zonotope extends across all defined directions, promoting structural balance. The similarity index Λ ∈ [0, 1], and the trade-off between the two components is governed by the weighting factor ω1 This metric captures both the boundary-matching fidelity and the directional coverage of the Zonotope, thereby enhancing the stability of the overall approximation.

4.2.4. Optimal Zonotope Search

In the previous section, a comprehensive accuracy metric Λ was formulated to assess the approximation quality of a Zonotope, capturing both boundary projection fidelity and generator structural balance. Given a predefined set of generator directions G, the final shape of a Zonotope is fully determined by its center position and the extension lengths β of its generators. Therefore, the next step is to formulate an optimization model that maximizes the Λ metric with respect to β in order to obtain the Zonotope structure that best fits the original feasible region.
  • Computation of Parameters Related to the Accuracy Metric
When using a Zonotope to approximate the original feasible region P, the optimal Zonotope can be derived by solving an optimization problem based on the defined accuracy metric. A higher value of Λ, approaching 1, indicates a greater similarity between the Zonotope Z and the feasible region P.
The width ΔZ of the Zonotope in all unit normal directions can be computed through mathematical derivation as
Δ Z = 2 | F T G | β
Here, FRN×Nf is the matrix composed of the selected unit normal vectors.
Let ΔP denote the maximum distance between the two supporting hyperplanes of the original feasible region along each unit normal direction. This width can be determined via optimization. The original feasible region P is represented as a polytope in half-space form:
P = { x R N : A x b }
For a given unit normal vector ƒι = [a1, a2, …, aN], where x1, x2, …, xN represent the coordinates along each dimension, and it is a constant.
Assume that
X P = [ x 1 p , x 2 p , , x N p ]
X Q = [ x 1 q , x 2 q , , x N q ]
Here, XP and XQ represent a point outside and a point inside the hyperplane, respectively.
The directional width ΔP,l of the original feasible region along the unit normal vector ƒι can be obtained by solving the following optimization problem:
max Δ P , l = | a 1 ( x 1 p x 1 q ) + + a N ( x N p x N q ) | s . t . A X p b A X Q b
2.
Optimization Model for Finding the Optimal Zonotope
This study formulates an optimization objective aimed at maximizing the accuracy metric Λ in order to identify the optimal Zonotope structure that best approximates the original feasible region.
max ω 1 2 N f 1 Δ P T | F T G | T β + ( 1 ω 1 ) 1 m = 1 M ( β m β ˜ ) 2 M σ max
The optimization is subject to the following constraints:
Z ( G , c , β ) P ( A , b )
Based on mathematical derivations, these constraints can be reformulated as
A c + | A G | β b β 0
In summary, the aggregation process for distributed flexible resource feasible regions using Zonotope approximation is illustrated in Figure 5.

4.3. Flexibility–Revenue-Aware Directionally Weighted Zonotope Modeling Method

This paper proposes using Zonotopes to approximate the feasible operating region of a single user’s flexible resource, thereby enabling efficient aggregation of the feasible regions of resource clusters. However, due to geometric discrepancies between Zonotopes and the original convex polytopes, the proposed method sacrifices approximation accuracy for the sake of computational efficiency. To address this issue, a correction strategy for the objective weighting in the approximation model is introduced. This strategy prioritizes the retention of high-value segments of the feasible region, based on the differences in flexibility revenue across time periods. In the day-ahead spot market, settlement for demand-side flexible resources typically considers two components: the value of energy usage and the value of reserve capacity. The energy usage value is settled according to the actual dispatched energy within the feasible region, while the reserve value is based on the available upward or downward flexibility margin at a given time. Since the prices for both energy and reserve vary across time periods depending on market clearing outcomes, the flexibility provided by controllable loads yields different economic returns at different times. Therefore, when constructing a Zonotope to describe a user’s flexible operating region, greater approximation precision should be preserved for high-revenue periods, while the inevitable approximation error should be allocated to periods with lower economic value.
Assuming that the user participates in demand response under a price taker model, its flexibility revenue in the spot market can be expressed as
max p μ T ( p max p min ) + u ( p ) λ T p
Here, λ denotes the clearing prices for energy across N time periods, and μ represents the reserve clearing prices. The function u(·) is the user’s electricity utility function. The electricity utility and energy cost are determined by the user’s optimal operating point, and this value remains unchanged as long as the optimal point is not excluded from the approximated feasible region. In contrast, reserve revenue depends on the maximum adjustable margin at each time period. Therefore, for directions corresponding to periods with high reserve clearing prices, the approximation accuracy of the feasible region should be preserved to maximize its economic value. Based on this insight, the objective function is modified to assign higher penalties for approximation errors in high-value time periods, thereby guiding the Zonotope approximation to allocate more flexibility in those periods. The specific process is as follows: the predicted reserve clearing prices are sorted in ascending order and divided into B segments. For each segment, a flexibility value weight is assigned as
w n = 1 μ ¯ 1 μ ^ n μ ¯ N / B 2 μ ¯ N / B + 1 μ ^ n μ ¯ 2 N / B n = 1 , , N B μ ¯ ( B 1 ) N / B + 1 μ ^ n μ ¯ N
Here, μ ¯ denotes the sequence of reserve prices sorted in ascending order, and wn is the weight corresponding to time period n.
The directional approximation accuracy for direction αs is modified according to the computed weights as
Λ s = Λ s ( w ( α s ) 2 ) = Λ s n = 1 N w n x n 2
Let the normal vector α s = ( x 1 , x 2 , , x N ) , where (⋅)2 denotes the element-wise square of a matrix. Therefore, the term n = 1 N w n x n 2 represents the projection of the normal vector onto each coordinate axis, weighted by the economic value of reserve capacity in each direction. By assigning and summing the corresponding weights, a composite economic value weight for direction αs is obtained. Utilizing this aggregated weight, the original similarity index Λs in the direction αs is modified to a corrected value Λs′.
In summary, the Zonotope approximation problem considering flexibility revenue can be formulated as
max c , β max 1 S s = 1 S Λ s s . t . A c + | A G | β max b p * = c + G β β max β β max
When the dimension is nnn, the computational complexity of the Minkowski sum for feasible regions represented by Zonotopes is only O(n). The construction process of the resource aggregation model based on Zonotopes is illustrated in Figure 6.
The overall computational process for feasible region aggregation is illustrated in Figure 7.
This chapter addresses the challenge of high-dimensional feasible region representation in the context of flexible resource aggregation and control and systematically develops a Zonotope-based approximation modeling framework. First, generator construction is investigated, and a set of directional structures is proposed to accommodate various constraint characteristics including power, energy, and ramping. Next, a similarity metric is designed to quantify the geometric alignment between the Zonotope and the original feasible region, followed by the formulation of an optimization model that maximizes this metric to obtain an optimal approximation structure. Subsequently, asymmetric constraints and energy loss models are introduced to enhance the modeling capability of Zonotopes for real-world devices. Finally, a revenue-aware correction mechanism is proposed, aligned with day-ahead market requirements, to prioritize approximation accuracy in high-value periods. The methods developed in this chapter lay a foundational basis for linear embedding in subsequent optimization routines and support premium management of flexible resources.

5. Aggregated Resource Cluster Control Method

Unlike traditional scheduling models that rely on detailed individual constraints, the Zonotope representation offers a compact and unified structure that facilitates direct integration into optimization frameworks. This chapter proposes a revenue-aware control framework that reformulates the aggregated Zonotope-based feasible regions into half-space representations, enabling seamless integration into optimization models for economically efficient scheduling of heterogeneous flexible resources.

5.1. Conversion from Zonotope to Half-Space Representation

In Section 3, this paper proposed a generator construction method for Zonotopes that accommodates complex linear constraints. This method expands the conventional generator design space—typically limited to “unit direction + adjacent differences”—and enables Zonotopes to be accurately inscribed within any original feasible region formed by linear inequalities. However, to facilitate the application of Zonotopes in scheduling models, it is necessary to convert their specialized structure into the standard half-space form Axb, so that the Zonotope can be directly embedded as a constraint in resource scheduling formulations. The following presents a detailed derivation of the conversion method from Zonotope to half-space representation.
In fact, the special mathematical structure of a Zonotope admits an exact half-space formulation [25]. In the half-space form Axb, each row of matrix A corresponds to the normal vector of a separating hyperplane, and the i-th element of vector bb represents the scalar product of any point on the i-th hyperplane with its associated normal vector. The absolute value of this scalar product denotes the distance from the origin to the corresponding half-space.
Let us define a matrix H as follows:
H = [ h 1 , h 2 , , h n 1 ] n × n 1
Here, h denotes an n-dimensional vector. Let H [ i ] n 1 × n 1 represent the matrix H with its i-th row removed. The cross product of the vectors in H is defined as
n X ( H ) = [ , ( 1 ) + 1 det ( H [ i ] ) , ] T
For an N-dimensional Zonotope with M generators, each non-parallel facet must be formed by selecting N−1 generators from the M generator set. Therefore, the total number of facets is C N 1   M .
Let G(γ,…,η) denote the generator matrix G with MN + 1 generators removed. The corresponding half-space representation is then computed as follows:
A = A + A + b = b + b
A i + = n X ( G ( γ , , η ) ) T n X ( G ( γ , , η ) ) 2
b i + = A i + c + Δ b i b i = A i + c + Δ b i Δ b i = m = 1 M | A i + g ( m ) |
Here, the index i ranges from 1 to C N 1   M , corresponding to the different G(γ,…,η) combinations being evaluated. In practical computation, C N 1   M represents the total number of iterations required.

5.2. Resource Cluster Optimization and Control Model

It is noteworthy that in Section 3, a revenue-aware accuracy metric was introduced to prioritize the preservation of economically valuable boundary directions during the construction of Zonotope-based feasible regions. This ensures that resources retain greater adjustability during critical time periods. To extend this modeling approach, a time-series weighting vector ww is introduced into the optimization objective function. This vector is constructed based on a weighted combination of reserve clearing prices and electricity prices [26].
The weighting vector guides the optimization model to allocate greater dispatchable power in high-revenue periods, thereby maximizing the economic utilization of flexible resources under revenue-driven conditions. With the goal of maximizing internal economic performance for the load aggregator, the following objective function is formulated for optimizing the control of the resource cluster:
max t = 1 T w t ( P t BESS , agg + P t AC , agg P t AC , base P t DG , agg ) λ t Δ t C o γ t = 1 T P t BESS , agg
Here, PtBESS,agg epresents the operating power of the aggregated energy storage cluster at time t; PtAC,agg denotes the output of the aggregated air-conditioning cluster at time t; and wt ∈ [0.5, 1.5] is the “flexibility weight factor” defined in Section 3.4 based on reserve price segmentation, where higher values indicate greater economic potential of boundary modulation and thus demand higher approximation precision. λt denotes the electricity price at time t; γ is the charging/discharging loss coefficient for the storage cluster; and Co is the total operating cost of the diesel generator cluster. Incorporating Co into the objective function ensures that the operation of diesel generators aligns with economically rational output ranges.
The constraint set is represented by the half-space form of the total Zonotope derived from each device cluster. As established in Section 5.1, the number of computations required for converting from Zonotope form to half-space representation is C N 1   M . Given a 24 h scheduling horizon with hourly resolution, the resulting 24-dimensional space leads to substantial computational complexity. To address this, a two-stage aggregation and control framework is proposed, as illustrated in Figure 8.
The upper layer of Figure 8 represents the resource representation stage, where heterogeneous flexible resources are approximated and aggregated using Zonotopes. The middle layer corresponds to the structural transformation stage, where Zonotopes are mapped to half-space representations. The bottom layer is the control implementation stage, in which economic optimization scheduling is performed over segmented time intervals [27].
This paper adopts a staged implementation for the aggregation and control process to address the computational complexity arising from the transformation of Zonotope representations into half-space form. Lower-dimensional Zonotopes result in shorter conversion times. However, the optimization framework developed herein is based on price sensitivity; finer time segmentation reduces the length of intervals over which the model can capture price signals, thus limiting the economic performance of the load aggregator. Moreover, since the overall framework involves optimizing the control of resource clusters after aggregation, increasing the number of time segments results in more frequent repetitions of the aggregation and control procedures, which further contributes to computational overhead.
Therefore, balancing computational efficiency and the aggregator’s economic performance, the 24 h scheduling horizon is divided into two stages, each covering 12 h [28].
This chapter focuses on the modeling of resource aggregation and control, establishing a Zonotope-based optimization framework and proposing a method for converting its structure to half-space form. By incorporating the flexibility weighting mechanism introduced in Section 3, the objective function is guided by economic value to direct the dispatch of flexible resources. Additionally, the proposed two-stage control framework effectively mitigates the complexity of solving high-dimensional models. These methods not only preserve the structural advantages of Zonotope modeling but also enable temporal stratification of flexibility value in scheduling optimization, thereby providing a theoretical foundation for the engineering simulations presented in Section 5.

6. Simulation Validation

6.1. Modeling of Multi-Type Building Load Scenarios and Simulation Configuration

6.1.1. Feasible Region Modeling Schemes and Benchmark Methodologies

Since forecasting spot market clearing prices and determining aggregator bidding strategies are beyond the scope of this study, actual market electricity prices are adopted as exogenous inputs. This section focuses on evaluating the performance of feasible region modeling and aggregation methods in terms of accuracy, computational efficiency, and economic outcomes.
Three representative distributed energy storage devices with significantly different parameters are selected as flexible resource samples. These devices are modeled as ideal batteries (i.e., with no energy loss and 100% charge/discharge efficiency), and their technical specifications are listed in Table 1. The following four representative modeling and aggregation methods are used for comparison [29]:
M1 approximates the feasible region of flexible resources using the virtual synchronous machine model, followed by aggregation via Minkowski summation (M-Sum);
M2 approximates the feasible region using the Zonotope model, followed by aggregation via M-Sum;
M3 applies the proposed method in this paper to approximate the feasible region, followed by aggregation via M-Sum;
M4 applies the revenue-aware method proposed in this paper to approximate the feasible region, followed by aggregation via M-Sum.

6.1.2. Construction of Multi-Type Building Load Scenarios and Simulation Platform Setup

To validate the effectiveness of the proposed aggregation and control method for flexible resource feasible regions, this study selects the office building complex of the Shandong Electric Power Company as the case study. A typical building energy-use scenario is constructed, incorporating air-conditioning loads, energy storage systems, and controllable diesel generator units. This building features a variety of flexible loads capable of providing both real-time demand response and reserve support for aggregators.
The simulation adopts a 24 h scheduling horizon with a 1 h time step, capturing typical intra-day variations in building energy consumption under realistic operational conditions. The case study is based on a five-story office building of Shandong Electric Power Company, with a total floor area of approximately 5000 m2, equipped with 100 air-conditioning units, 20 energy storage devices, and 5 diesel generators.
Equipment parameters are derived from actual measured data. To reflect device heterogeneity, stochastic perturbations are introduced: for air-conditioning units, the parameters k1 and k2 are randomly sampled within defined ranges to simulate environmental and operational variability, with indoor temperature maintained between 25 °C and 27.5 °C; for energy storage units, the initial energy states E0 are varied within 30–40 kWh to represent diverse starting conditions; for diesel generators, rated power ranges from 0 to 100 ± ε kW with a ramp rate constraint of ±30 kW. The rated power limits of all devices are also perturbed to emulate minor differences in equipment characteristics, thereby enhancing the realism of the aggregation and control process [30].
The building operates under local electricity market conditions, with the electricity price curve and outdoor temperature profile for the simulation day shown in Figure 9. These conditions provide the necessary environmental and economic context for verifying the effectiveness of the proposed method in a realistic demand-side resource aggregation scenario.
The simulation platform is built in Python 3.8 using the Spyder environment and executed on a machine equipped with an Intel Core i5-12400 2.50 GHz CPU and 8 GB RAM (The Intel Core i5-12400 CPU is manufactured by Intel Corporation in Leixlip, Ireland; the 8 GB RAM is sourced from Samsung Electronics in Icheon, Republic of Korea). During the conversion from Zonotope to half-space form, 8-core parallel computing is employed to accelerate computation and satisfy the processing demands of high-dimensional aggregation tasks.

6.2. Analysis of the GNMTL-LSTM Model

6.2.1. Construction of the GNMTL-LSTM Model

To obtain the optimal model architecture, the parameters during training are optimized using the AdamW algorithm. All hyperparameter settings are listed in Table 2. Among them, the number of hidden layers and the learning rate are key hyperparameters that significantly affect the model’s performance and generalization capability.
The impact of the number of LSTM layers on model prediction accuracy is shown in Figure 10a. As the number of LSTM layers increases, the R2 score for each subtask initially improves, reaching its peak when the number of layers is three. However, when the number exceeds three, overfitting occurs, leading to a decline in R2 scores and reduced model performance. Therefore, the optimal number of LSTM layers is set to three.
Figure 10b illustrates the relationship between the initial learning rate and the R2 score of feasible region prediction. As the initial learning rate increases from 0.0001 to 0.1, the R2 score for the feasible region of flexible resources rises rapidly at first and then gradually decreases. As a result, the optimal initial learning rate is chosen to be 0.001.

6.2.2. GNMTL-LSTM Prediction Analysis

To evaluate the prediction accuracy, the coefficient of determination (R2), root mean square error (RMSE), and mean absolute error (MAE) are selected as evaluation metrics. The prediction results of the proposed method are presented in Table 3. The proposed approach demonstrates high prediction accuracy, with an average R2 of 0.931, RMSE of 1.005, and MAE of 0.987 across multiple resource types. These results indicate that multi-task learning (MTL) can effectively capture the coupling relationships among various flexible resources, thereby improving the prediction accuracy of diverse loads.
At the same time, to validate the superiority of the GNMTL-LSTM framework, we compare it against several commonly used forecasting models, including standard LSTM, MTL-LSTM and multilayer perceptron (MLP). As shown in Table 4, GNMTL-LSTM outperforms all baseline models in terms of R2, RMSE, and MAE across all resource types, indicating its effectiveness in capturing multi-dimensional temporal dynamics. For example, in air conditioner load forecasting, the GNMTL-LSTM achieved an R2 of 0.960, outperforming both LSTM and MTL-LSTM, while both RMSE and MAE were reduced. Compared to LSTM (single-task), GNMTL-LSTM improved R2 by 1.59% and reduced RMSE and MAE by 12.5% and 9.18%, respectively; compared to MTL-LSTM (multi-task), R2 increased by 0.73%, while RMSE and MAE decreased by 6.67% and 4.30%, respectively.
Following the quantitative comparison of GNMTL-LSTM with the other two algorithms across the three evaluation metrics, we further analyze the residual plots for each model on the three resource types. The residuals, defined as the difference between observed and predicted load values at each time step, provide insight into forecast bias and error distribution beyond aggregate metrics.
As shown in Figure 11, the GNMTL-LSTM consistently exhibits residuals with the smallest magnitude and the tightest concentration around zero across all resources, indicating minimal systematic bias and improved prediction stability. The MTL-LSTM shows moderate residual variance, while the standard LSTM demonstrates the largest and most dispersed residuals, reflecting greater prediction uncertainty and bias.
To further validate the performance differences observed in the residual analysis, we conducted statistical significance tests using paired t-tests on the absolute prediction errors between models for each resource type.
Table 5 shows paired t-test results comparing GNMTL-LSTM with LSTM and MTL-LSTM models for three resources. GNMTL-LSTM significantly outperforms traditional LSTM for air conditioners, energy storage, and diesel generators. However, the differences between GNMTL-LSTM and MTL-LSTM are not statistically significant, indicating similar performance. These results demonstrate that GNMTL-LSTM improves prediction accuracy over LSTM, while providing moderate gains beyond MTL-LSTM.

6.3. Validation of Single-Resource Approximation Accuracy and Control Effectiveness Based on GNMTL-LSTM-Zonotope

6.3.1. Approximation Strategies and Reserve Revenue Evaluation

This section builds upon the aggregation comparison framework established in Section 6.1.1 to further investigate the advantages of the proposed GNMTL-LSTM-Zonotope-based model in terms of feasible region approximation accuracy and reserve revenue representation. A 24 h scheduling period is defined, with an interval of 1 h between time slots. Three distributed energy storage units with significantly different parameters are selected for case studies, and four feasible region approximation methods (M1–M4) are employed for comparative analysis. Among them, M3 and M4 represent the proposed GNMTL-LSTM-Zonotope-based approaches, with the number of generators set to S = 100 and K = 50 unit normal vectors added for accuracy evaluation. Approximation accuracy is measured using precision indicators, as shown in Figure 12.
As shown in Figure 12, M1 yields the lowest average accuracy—only 22.19%—since it neglects temporal coupling and merely retains the “maximum inscribed cube” within the original feasible region. By incorporating state constraints, M2 improves the average accuracy to 41.50%. M3 further includes ramping constraints, raising the accuracy to 45.12%. M4, which additionally integrates flexibility-revenue-based weighting, achieves an average accuracy of 45.38%, which is nearly identical to M3 and shows no significant decline. These results indicate that while all models incur some degree of approximation error, the methods proposed in this paper maintain comparable accuracy while incorporating economic value weighting, thus offering superior overall performance. To further assess computational efficiency, Figure 13 presents a comparison of aggregation time across different models using 50 devices with heterogeneous initial states.
Figure 13 shows the following: M1 achieves the shortest runtime at only 62 s, as it omits coupling constraints and directly aggregates boundary points, making it the most computationally efficient. M2 requires 3685 s due to the need for facet-by-facet comparisons, with its computational burden increasing sharply with dimensionality. M3 introduces a normal vector search to simplify the objective function, reducing runtime to 1430 s, which is over 60% less than M2. M4 builds upon M3 by incorporating flexibility-based weighting, with a slight increase in runtime to 1577 s, yet it still significantly outperforms M2. Additionally, directly performing Minkowski sums on polytopes becomes computationally infeasible when the dimension exceeds three. To further evaluate economic performance, Table 6 and Figure 14 compare the reserve market revenues of energy storage systems under the four models. The revenue differences stem from variations in the geometric shape of the approximated feasible regions.
As shown in Table 4 and Figure 14, the average reserve revenues for M1 through M4 are CNY 9.69, CNY 21.31, CNY 23.73, and CNY 24.74, respectively. M1, due to its substantial reduction of the feasible region, yields significantly lower reserve revenue compared to the other three methods. M3 achieves higher feasible region approximation accuracy than M2, resulting in reserve revenue improvements of 7.71% to 19.99% across the three device types. M4, which incorporates flexibility-revenue awareness, maintains comparable approximation accuracy to M3 while further increasing reserve revenue by 1.38% to 4.79%.

6.3.2. Feasible Region Approximation and Reserve Revenue Evaluation

Building upon the previous section, this part further verifies the adaptability and robustness of the proposed Zonotope model in representing complex resource behaviors. An electrochemical energy storage system with charging/discharging losses is selected as the study object. The corresponding feasible region model incorporates state recursion, energy loss, and efficiency constraints. A series of simulation analyses are conducted to evaluate the model’s approximation accuracy and aggregation efficiency. Key parameter settings are provided in Table 7.
The Monte Carlo method is used to sample specific values for the initial state of charge of the storage units, generating a population of 100 energy storage devices. Each device’s feasible region is individually approximated using both the original Zonotope model (which does not account for losses) and the improved Zonotope model (which incorporates loss factors). The average similarity between the approximated and actual feasible regions is computed across a scheduling horizon of 2 to 8 h. The final approximation results are illustrated in Figure 15.
As shown in Figure 15, the geometric complexity of the feasible region increases in high-dimensional space as the scheduling horizon extends, resulting in a decline in the approximation accuracy for both the original and the improved Zonotope models. Additionally, variations in the initial state of charge of storage devices introduce fluctuations in approximation precision. In the figure, the red and blue regions represent the similarity ranges of the original and improved models, respectively. A comparison of their mean curves reveals that the improved model, which accounts for charging and discharging losses, achieves an overall improvement of approximately 4.6% in approximation accuracy compared to the original model. This enhancement confirms the model’s effectiveness in capturing complex operational constraints.
Furthermore, by applying the Minkowski sum to the individual feasible regions, aggregated feasible regions for the resource cluster are obtained. These include both controllable load users and storage devices under different scheduling durations. The following two case configurations are compared.
M1: There are 100 storage devices, with feasible regions characterized and aggregated using the original Zonotope model that ignores losses.
M2: There are 100 storage devices, with feasible regions characterized and aggregated using the improved Zonotope model that incorporates losses.
Table 8 presents the results for approximation accuracy and aggregation computation time under both case scenarios.
As shown in Table 8, the improved Zonotope model achieves average approximation accuracy improvements of 4.6%, 7.9%, and 18.0% over the original model across the three scheduling horizons, with all values exceeding 0.7, demonstrating strong approximation performance. Although the inclusion of charging and discharging loss constraints slightly increases computational effort, the aggregation process itself remains highly efficient due to the additive nature of Zonotope-based operations, with aggregation time accounting for less than 0.1% of the total runtime.
Moreover, the feasible region approximation can be performed in a day-ahead preprocessing phase, ensuring fast response during real-time scheduling. These results confirm that the proposed model effectively balances accuracy and computational efficiency.

6.4. Performance Analysis of the GNMTL-LSTM-Zonotope-Based Aggregation Strategy

6.4.1. Balancing Accuracy and Efficiency: Zonotope Parameter Sensitivity

This case study is based on the multi-type building load scenarios and simulation platform constructed in Section 6.1.1. The model parameters are derived from measured data of the Shandong Electric Power Company office building to ensure the evaluation framework’s realism and reproducibility. The aggregation process uses the aforementioned GNMTL-LSTM prediction results as inputs. Subsequently, a sensitivity analysis is conducted on the configuration of two types of weighting factors within the accuracy metrics. The Zonotope aggregation results of various resources under different weight settings are quantitatively compared (see Table 9), and the structural response characteristics are visually illustrated by the extension lengths along each generator direction (see Figure 16).
As the weight of the first component in the accuracy metric increases, the approximation accuracy of the Zonotope models for various devices declines accordingly. However, as shown in Figure 16, the extension lengths across generator directions become more balanced. Therefore, based on the results of the sensitivity analysis, the weighting factor ω is set to 0.6 in the subsequent resource cluster control simulations.

6.4.2. Comparative Analysis of the Zonotope Aggregation Method and Benchmark Models

This case study investigates the feasibility of the proposed Zonotope-based resource feasible region aggregation method across different spatial dimensions, as well as the accuracy with which Zonotopes approximate the original feasible regions. Furthermore, the proposed aggregation method is compared against other benchmark methods to evaluate their respective advantages and disadvantages in terms of aggregation accuracy. A comparison of accuracy metrics across multiple spatial dimensions is presented in Table 10.
This analysis includes a comparison of various inner approximation aggregation methods, including the method proposed in this paper, a box-based inner approximation method, and a Zonotope aggregation method based on randomly selected generators. Across different spatial dimensions, the proposed Zonotope aggregation method consistently demonstrates higher approximation accuracy for aggregated feasible regions. This is primarily because the generator directions in the proposed method are chosen based on the structure of the original feasible region model, allowing for more comprehensive extension and coverage of the feasible region, thereby achieving better geometric fidelity.
For air conditioning load aggregation, however, the accuracy metric of the proposed method is slightly lower than that of the box-based approximation method. This is attributed to the fact that the generator selection for air conditioner clusters incorporates temporal coupling, reflecting the thermal dynamics of indoor environments. In reality, indoor temperature is more directly influenced by the air conditioner’s power at the current time step. Therefore, while the box-based approximation which disregards temporal coupling offers better accuracy in some cases, the generator structure used in this paper remains physically meaningful and necessary from a modeling standpoint.

6.4.3. Economic Evaluation of the Two-Stage Resource Control Strategy

To balance the computational complexity of feasible region structure transformation with control precision, a two-stage rolling control strategy is adopted for the optimization scheduling of the resource cluster. Specifically, the first 12 h of the day constitute Stage 1, during which preliminary control is executed, and the operational trajectories of various resources are obtained. These trajectories are then used to estimate the state parameters of resources at the beginning of hour 13, which serve as initial conditions for Stage 2 (the latter 12 h) of control.
To better reflect real-world operating scenarios, the initial energy states of storage units in Stage 2 are set within the range [29.8, 31.8] kWh, simulating the state dispersion resulting from performance differences after Stage 1 control. This strategy aims to improve the model’s representation of resource dynamics, thereby enhancing the effectiveness of economic dispatch.
The control results for each resource cluster across the two stages are illustrated in Figure 17, and the corresponding economic and computational performance metrics are summarized in Table 11. The total time consumed during the aggregation process is primarily influenced by the number of devices being aggregated. Since the Zonotope-based aggregation process is inherently a linear additive operation, with no coupling involved in the Minkowski summation among individual resources, the aggregation of each resource’s Zonotope can be computed independently. As such, this method is well suited for parallel computation or deployment across multiple machines, enabling scalability to larger test cases.
Furthermore, the coordinated control of the aggregated cluster offers notable economic benefits to the load aggregator, supporting profitability through improved scheduling efficiency.
Figure 17 illustrates the 24 h dispatch results of various devices, revealing a strong responsiveness to price signals. Diesel generators, due to their associated unit costs, primarily operate during high-price periods, with their output constrained by ramping limits. Energy storage systems exhibit arbitrage behavior by charging during low-price periods and discharging during high-price periods. Air conditioners, modeled as virtual storage units, demonstrate moderate flexibility under comfort constraints and also respond to price fluctuations.
Figure 18 illustrates the feasible region aggregated from the air-conditioning cluster and further compares its baseline and actual operating power. The results demonstrate that, while maintaining thermal comfort, part of the power consumption is effectively reduced, thereby enabling flexible demand response. Notably, the shape of the feasible region closely approximates the predefined Chvátal polytope, validating the structural integrity of the aggregation. However, due to the boundary contraction induced by the Zonotope approximation and the implementation of a two-stage control strategy, the resources are only exposed to localized price signals. This limitation partially diminishes the temporal coupling characteristics inherent to energy storage systems.
Overall, this case study validates the applicability of the Zonotope-based flexible resource aggregation and staged control method in practical load aggregator scenarios. While ensuring computational efficiency, the proposed approach significantly enhances both the economic performance and regulatory flexibility of system operations, demonstrating strong potential for real-world engineering applications.

7. Conclusions

This study presents a unified GNMTL-LSTM-Zonotope-based framework for the modeling and aggregation control of flexible resources under load aggregator coordination. The proposed approach addresses key challenges in feasible region construction, including dynamic operational behavior, high-dimensional constraints, and economic sensitivity. Response models are developed for various resource types—air-conditioning systems, energy storage, and diesel generators—and a multi-task LSTM structure is introduced to capture temporal dynamics, enabling the generation of feasible regions with embedded power, energy, and ramping constraints.
To enhance economic responsiveness, a directionally weighted approximation mechanism is designed based on flexibility revenue signals from energy and reserve markets, allowing the model to prioritize high-value time periods in flexibility representation. A Minkowski-sum-based aggregation strategy is then applied to efficiently combine individual feasible sets into a collective cluster-level model.
Simulation results based on real-world office building data demonstrate that the proposed method significantly improves feasible region accuracy, aggregation efficiency, and market-aligned flexibility allocation. These results validate the effectiveness of the approach in enabling intelligent, coordinated control of heterogeneous demand-side resources.
In future work, the proposed approach could be adapted for broader scenarios, such as electric vehicle (EV) fleet coordination, city-level virtual power plants (VPPs), or integrated demand-side management platforms. The transferable nature of the feasible region-based modeling makes it promising for large-scale applications involving heterogeneous and distributed energy resources. Additionally, incorporating historical operational data and real-time sensing can further enhance the adaptability of the model, supporting broader deployment in market-oriented flexibility scheduling. However, the current study primarily focuses on medium-scale building clusters, and further research is needed to assess the scalability and adaptability of the approach in larger, more complex energy systems. Moreover, the model assumes the availability of high-quality historical data, which may limit its applicability in data-scarce or noisy environments. Future work should explore more robust learning methods and real-time adaptive mechanisms to improve the generalizability and resilience of the framework.

Author Contributions

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

Funding

This research was funded by the Technology Project of the State Grid Corporation of China and State Grid Shandong Electric Power Company (Grant Number: 5400-202316582A-3-2-ZN). The APC was funded by the same project.

Data Availability Statement

The data used in this study were provided by the State Grid Corporation of China. Although no new data were generated, and the existing data cannot be shared publicly due to privacy and ethical restrictions, this statement is provided in accordance with the journal’s data availability policy.

Conflicts of Interest

Authors Cunming Zhang and Ruiqi Wang were employed by the company State Grid Shandong Integrated Energy Services Co., Ltd. Authors Yuanfu Li, Weishuai Gong and Xiaolong Taowere were employed by the State Grid Qingdao Power Supply Company. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ACAir Conditioner
COPCoefficient of Performance
DERDistributed Energy Resource
DGDiesel Generator
EVElectric Vehicle
H-representationHalf-Space Representation
MPCModel Predictive Control
MPTMulti-Parametric Toolbox
SOCState of Charge
Z-representationZonotope Representation
ZTZonotope
MILPMixed Integer Linear Programming
LPLinear Programming

References

  1. Rahman, M.M.; Rahman, M.; Dadon, S.H.; He, M.; Giesselmann, M.; Hasan, M. An Overview of Power System Flexibility: High Renewable Energy Penetration Scenarios. Energies 2024, 17, 6393. [Google Scholar] [CrossRef]
  2. Müller, F.L.; Szabo, J.; Sundstrom, O.; Lygeros, J. Aggregation and disaggregation of energetic flexibility from distributed energy resources. IEEE Trans. Smart Grid 2017, 10, 1205–1214. [Google Scholar] [CrossRef]
  3. Öztürk, E.; Rheinberger, K.; Faulwasser, T.; Worthmann, K.; Preißinger, M. Aggregation of demand-side flexibilities: A comparative study of approximation algorithms. Energies 2022, 15, 2501. [Google Scholar] [CrossRef]
  4. Nassourou, M.; Blesa, J.; Puig, V. Robust economic model predictive control based on a zonotope and local feedback controller for energy dispatch in smart-grids considering demand uncertainty. Energies 2020, 13, 696. [Google Scholar] [CrossRef]
  5. Utkarsh, K.; Ding, F.; Jin, X.; Blonsky, M. A network-aware distributed energy resource aggregation framework for flexible, cost-optimal, and resilient operation. IEEE Trans. Smart Grid 2021, 13, 1213–1224. [Google Scholar] [CrossRef]
  6. Hou, Y.; Zhao, L.; Jiang, H.; Ji, X.; Zhao, J. Two-layer control framework and aggregation response potential evaluation of air conditioning load considering multiple factors. IEEE Access 2024, 12, 34435–34451. [Google Scholar] [CrossRef]
  7. Pandžić, H.; Bobanac, V. An accurate charging model of battery energy storage. IEEE Trans. Power Syst. 2019, 34, 1416–1426. [Google Scholar] [CrossRef]
  8. Liu, M.; Liu, M.; Chen, W.; Yan, J. Operational flexibility and operation optimization of CHP units supplying electricity and two-pressure steam. Energy 2023, 263, 125988. [Google Scholar] [CrossRef]
  9. Kuboth, S.; Heberle, F.; Weith, T.; Welzl, M.; König-Haagen, A.; Brüggemann, D. Experimental short-term investigation of model predictive heat pump control in residential buildings. Energy Build. 2019, 204, 109444. [Google Scholar] [CrossRef]
  10. Zhang, S.; Ge, S.; Liu, H.; Hou, G.; Wang, C. An analytical method for Delineating Feasible Region for PV integration capacities in net-zero distribution systems considering battery energy storage system flexibility. J. Mod. Power Syst. Clean Energy 2024, 12, 475–487. [Google Scholar] [CrossRef]
  11. Wen, Y.; Hu, Z.; You, S.; Duan, X. Aggregate feasible region of DERs: Exact formulation and approximate models. IEEE Trans. Smart Grid 2022, 13, 4405–4423. [Google Scholar] [CrossRef]
  12. Chen, X.; Li, N. Leveraging two-stage adaptive robust optimization for power flexibility aggregation. IEEE Trans. Smart Grid 2021, 12, 3954–3965. [Google Scholar] [CrossRef]
  13. Liao, Y.; Wang, X. Small-signal modeling of AC power electronic systems: Critical review and unified modeling. IEEE Open J. Power Electron. 2021, 2, 424–439. [Google Scholar] [CrossRef]
  14. Ebrahimi, M.; Shafie-Khah, M.; Laaksonen, H. Uncertainty-observed virtual battery model for an electric vehicle parking lot enabling charger-sharing modelling. J. Energy Storage 2024, 89, 111578. [Google Scholar] [CrossRef]
  15. Magdy, G.; Shabib, G.; Elbaset, A.A.; Mitani, Y. Renewable power systems dynamic security using a new coordination of frequency control strategy based on virtual synchronous generator and digital frequency protection. Int. J. Electr. Power Energy Syst. 2019, 109, 351–368. [Google Scholar] [CrossRef]
  16. Wang, K.; Cheng, B.; Ren, Y.; Wang, S.; Ji, R.; Kong, X. Flexible resource dynamic aggregation regulation method of virtual power plant to ensure more renewable energy generation. Process Saf. Environ. 2023, 180, 339–350. [Google Scholar] [CrossRef]
  17. Zhao, W.; Huang, H.; Zhu, J.; Zhou, B.; Chen, J.; Luo, Y. Flexible resource cluster response based on inner approximate and constraint space integration. Power Syst. Technol. 2023, 47, 2621–2632. [Google Scholar]
  18. Müller, F.L.; Sundström, O.; Szabó, J.; Lygeros, J. Aggregation and disaggregation of energetic flexibility using zonotopes. IEEE Conf. Control. Technol. Appl. 2019, 10, 1205–1214. [Google Scholar]
  19. Yi, Z.; Xu, Y.; Gu, W.; Yang, L.; Sun, H. Aggregate operation model for numerous small-capacity distributed energy resources considering uncertainty. IEEE Trans. Smart Grid 2021, 12, 4208–4224. [Google Scholar] [CrossRef]
  20. Zhou, H.; Liu, Y.; Chen, Y.; Wang, Z.; Qu, S.; He, K. Demand side feasible region aggregation considering flexibility revenue. Electr. Power 2022, 55, 56–63, 155. [Google Scholar]
  21. Yao, Z.; Zhang, T.; Huang, J. Zonotope approximation based flexible cluster division method for load-side resource scheduling. IET Renew. Power Gen. 2024, 18, 3593–3602. [Google Scholar] [CrossRef]
  22. Müller, F.L.; Sundström, O.; Szabó, J.; Lygeros, J. Aggregation of energetic flexibility using zonotopes. In Proceedings of the 2015 54th IEEE Conference on Decision and Control (CDC), Osaka, Japan, 15–18 December 2015; pp. 6564–6569. [Google Scholar]
  23. Scott, J.K.; Raimondo, D.M.; Rawlings, J.B. Input design for linear systems using zonotopes and polytopes. Automatica 2011, 47, 1359–1366. [Google Scholar]
  24. Lin, J.; Sun, J.; Feng, Y.; Zheng, M.; Yu, Z. Aggregate demand response strategies for smart communities with battery-charging/switching electric vehicles. J. Energy Storage 2023, 58, 106413. [Google Scholar] [CrossRef]
  25. Althoff, M.; Stursberg, O.; Buss, M. Computing reachable sets of hybrid systems using a combination of zonotopes and polytopes. Nonlinear Anal. Hybrid. Syst. 2010, 4, 233–249. [Google Scholar] [CrossRef]
  26. Kraning, M.; Chu, E.; Lavaei, J.; Boyd, S. Dynamic network energy management via distributed optimization and control. IEEE Trans. Smart Grid 2014, 5, 1464–1475. [Google Scholar]
  27. Aghdam, F.H.; Zavodovski, A.; Adetunji, A.; Rasti, M.; Pongracz, E.; Javadi, M.S.; Catalão, J.P. Co-optimization of Demand Response Aggregators and distribution system operator for resilient operation using machine learning based wind generation forecasting: A bilevel approach. Int. J. Electr. Power Energy Syst. 2025, 164, 110399. [Google Scholar] [CrossRef]
  28. Barot, S.; Taylor, J. A concise, approximate representation of a collection of loads described by polytopes. Int. J. Electr. Power Energy Syst. 2017, 84, 5563. [Google Scholar] [CrossRef]
  29. Ye, Y.; Papadaskalopoulos, D.; Yuan, Q.; Tang, Y.; Strbac, G. Multi-agent deep reinforcement learning for coordinated energy trading and flexibility services provision in local electricity markets. IEEE Trans. Smart Grid 2022, 14, 1541–1554. [Google Scholar] [CrossRef]
  30. Michalakopoulos, V.; Sarmas, E.; Papias, I.; Skaloumpakas, P.; Marinakis, V.; Doukas, H. A machine learning-based framework for clustering residential electricity load profiles to enhance demand response programs. Appl. Energy 2024, 361, 122943. [Google Scholar] [CrossRef]
Figure 1. Flexible resource aggregation and control framework.
Figure 1. Flexible resource aggregation and control framework.
Energies 18 04358 g001
Figure 2. Two-dimensional feasible region Minkowski summation diagram.
Figure 2. Two-dimensional feasible region Minkowski summation diagram.
Energies 18 04358 g002
Figure 3. GNMTL-LSTM model.
Figure 3. GNMTL-LSTM model.
Energies 18 04358 g003
Figure 4. Illustration of the approximation degree between the Zonotope and the original feasible region in two-dimensional space.
Figure 4. Illustration of the approximation degree between the Zonotope and the original feasible region in two-dimensional space.
Energies 18 04358 g004
Figure 5. Flowchart of resource feasible domain aggregation based on zonotope approximation.
Figure 5. Flowchart of resource feasible domain aggregation based on zonotope approximation.
Energies 18 04358 g005
Figure 6. The construction process of the resource aggregation model based on Zonotopes.
Figure 6. The construction process of the resource aggregation model based on Zonotopes.
Energies 18 04358 g006
Figure 7. Flowchart of solving the flexibility feasible domain aggregation problem.
Figure 7. Flowchart of solving the flexibility feasible domain aggregation problem.
Energies 18 04358 g007
Figure 8. Two-stage resource cluster aggregation and regulation flowchart.
Figure 8. Two-stage resource cluster aggregation and regulation flowchart.
Energies 18 04358 g008
Figure 9. Electricity prices and outdoor temperature data.
Figure 9. Electricity prices and outdoor temperature data.
Energies 18 04358 g009
Figure 10. Model prediction performance under different hyperparameters: (a) different numbers of LSTM layers and (b) different initial learning rates.
Figure 10. Model prediction performance under different hyperparameters: (a) different numbers of LSTM layers and (b) different initial learning rates.
Energies 18 04358 g010
Figure 11. Residual analysis of load forecasting models for flexible resources: (a) air conditioner residual, (b) energy storage residual, and (c) diesel generator residual.
Figure 11. Residual analysis of load forecasting models for flexible resources: (a) air conditioner residual, (b) energy storage residual, and (c) diesel generator residual.
Energies 18 04358 g011
Figure 12. Comparison of approximation accuracy for single devices.
Figure 12. Comparison of approximation accuracy for single devices.
Energies 18 04358 g012
Figure 13. Comparison of feasible region aggregation time consumption.
Figure 13. Comparison of feasible region aggregation time consumption.
Energies 18 04358 g013
Figure 14. Comparison of standby revenue for each device (CNY).
Figure 14. Comparison of standby revenue for each device (CNY).
Energies 18 04358 g014
Figure 15. Results of multi-period approximation accuracy for energy storage.
Figure 15. Results of multi-period approximation accuracy for energy storage.
Energies 18 04358 g015
Figure 16. Analysis of generator value assignments for each resource cluster: (a) sensitivity analysis of air-conditioning cluster aggregation; (b) sensitivity analysis of energy storage cluster aggregation; and (c) sensitivity analysis of diesel generator cluster aggregation.
Figure 16. Analysis of generator value assignments for each resource cluster: (a) sensitivity analysis of air-conditioning cluster aggregation; (b) sensitivity analysis of energy storage cluster aggregation; and (c) sensitivity analysis of diesel generator cluster aggregation.
Energies 18 04358 g016
Figure 17. Results of two-stage regulation for resource clusters.
Figure 17. Results of two-stage regulation for resource clusters.
Energies 18 04358 g017
Figure 18. (a) Schematic of the feasible region to be aggregated for an air-conditioning cluster and (b) baseline power and actual operating power of air-conditioning clusters.
Figure 18. (a) Schematic of the feasible region to be aggregated for an air-conditioning cluster and (b) baseline power and actual operating power of air-conditioning clusters.
Energies 18 04358 g018
Table 1. Distributed energy storage device parameters.
Table 1. Distributed energy storage device parameters.
Device ModelMaximum Charging/Discharging Power/kWEnergy Storage Capacity/(kW·h)Ramp Rate/(kW·h−1)Initial SOC
A17.21008.6[0.2, 0.8]
B5021025[0.2, 0.8]
C14277[0.2, 0.8]
Table 2. Model hyperparameters.
Table 2. Model hyperparameters.
Model HyperparametersValue
Shared Layer Neural NetworkLSTM
Number of Shared Layers3
Number of Neurons per Layer256/128/64
Model Training Optimization AlgorithmAdamW
Initial Learning Rate0.001
Learning Rate Decay Factor0.5
Minimum Learning Rate0.0001
Number of Iterations600
Loss Weight Adjustment FunctionMSE
Table 3. Prediction results of the GNMTL-LSTM model.
Table 3. Prediction results of the GNMTL-LSTM model.
TypeR2RMSEMAE
Air Conditioner0.9600.9800.890
Energy Storage0.9121.0090.950
Diesel Generator0.9221.0271.121
Average0.9311.0050.987
Table 4. Comparison of prediction accuracy among different models.
Table 4. Comparison of prediction accuracy among different models.
ModelR2 (AC)RMSE (AC)MAE (AC)R2 (ES)RMSE (ES)MAE (ES)R2 (DG)RMSE (DG)MAE (DG)
LSTM0.9451.1200.9800.8851.1501.0500.8951.2101.240
MTL-LSTM0.9531.0500.9300.9001.0800.9900.9101.1201.170
GNMTL-LSTM0.9600.9800.8900.9121.0090.9500.9221.0271.121
Note: AC = air conditioner, ES = energy storage, DG = diesel generator.
Table 5. Statistical significance test results for model performance comparison across resources.
Table 5. Statistical significance test results for model performance comparison across resources.
ResourceModel Comparisont-Valuep-Value
Air ConditionerGNMTL-LSTM vs. LSTM−3.1230.00478
GNMTL-LSTM vs. MTL-LSTM−1.9540.06295
Energy StorageGNMTL-LSTM vs. LSTM−4.1920.00035
GNMTL-LSTM vs. MTL-LSTM−0.5450.59128
Diesel GeneratorGNMTL-LSTM vs. LSTM−2.7560.01125
GNMTL-LSTM vs. MTL-LSTM−1.3240.19843
Table 6. Comparison of standby revenue for each device (CNY).
Table 6. Comparison of standby revenue for each device (CNY).
Equipment ModelM1M2M3M4
A8.2712.2314.6515.36
B19.4344.7048.1550.36
C1.376.998.398.50
Table 7. Energy storage device parameters.
Table 7. Energy storage device parameters.
Energy Storage ParametersValue
Maximum Storage Capacity/kWh200
Minimum Storage Capacity/kWh0
Maximum Charging Power/kW19
Maximum Discharging Power/kW24
Charge/Discharge Efficiency0.9
Energy Loss Coefficient0.1
Ramp Rate (/kW·h−1)6.8
Initial State of Charge[0.20, 0.75]
Table 8. Feasible region approximation and aggregation calculation time.
Table 8. Feasible region approximation and aggregation calculation time.
MethodProcessTime Period
4824
M1Original Zonotope Approximation Time (without considering losses)/s581.53748.382038.16
Aggregation Time/s0.140.240.79
Total Time/s581.67748.622038.95
Average Approximation Accuracy0.870.760.61
M2For the Proposed Model in This Paper/s606.56789.462209.15
Aggregation Time/s0.170.251.03
Total Time/s606.73789.712210.18
Average Approximation Accuracy0.910.820.72
Table 9. Precision metrics of Zonotope approximation under different weights.
Table 9. Precision metrics of Zonotope approximation under different weights.
Resource TypePrecision Metrics Under Different Weights (12-Dimensional)
ω = 0.4ω = 0.6ω = 0.8
Air Conditioning Load0.88010.84190.8213
Energy Storage0.82180.78630.7827
Diesel Generator0.78680.72480.7049
Table 10. Comparison of precision metrics for each aggregation method under different dimensions.
Table 10. Comparison of precision metrics for each aggregation method under different dimensions.
MethodResource TypePrecision Metrics (ω = 0.6)
6 Dimensional12 Dimensional24 Dimensional
GNMTL-LSTM-ZonotopeAir Conditioning Load0.86570.84190.8367
Energy Storage0.81220.78630.7489
Diesel Generator0.72740.7248/
Inner Box ApproximationAir Conditioning Load0.88890.86020.8751
Energy Storage0.57690.44180.3749
Diesel Generator0.63190.6344/
Zonotope
(Randomly Selecting Generators)
Air Conditioning Load0.60610.52110.4631
Energy Storage0.61020.52130.4405
Diesel Generator0.50290.4608/
Table 11. Economic and computational efficiency metrics of two-stage regulation for resource clusters.
Table 11. Economic and computational efficiency metrics of two-stage regulation for resource clusters.
StageResource TypeAggregation Time Consumption/sConversion Time Consumption/sEconomic Benefits/CNY
Stage One
(First 12 Hours)
Air Conditioning Load1661.933.11030
Energy Storage331.529.6
Diesel Generator515.327.5
Stage Two
(Last 12 Hours)
Air Conditioning Load1732.332.31720
Energy Storage352.630.8
Diesel Generator479.828.6
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

Peng, B.; Cui, B.; Zhang, C.; Li, Y.; Gong, W.; Tao, X.; Wang, R. Aggregation and Coordination Method for Flexible Resources Based on GNMTL-LSTM-Zonotope. Energies 2025, 18, 4358. https://doi.org/10.3390/en18164358

AMA Style

Peng B, Cui B, Zhang C, Li Y, Gong W, Tao X, Wang R. Aggregation and Coordination Method for Flexible Resources Based on GNMTL-LSTM-Zonotope. Energies. 2025; 18(16):4358. https://doi.org/10.3390/en18164358

Chicago/Turabian Style

Peng, Bo, Baolin Cui, Cunming Zhang, Yuanfu Li, Weishuai Gong, Xiaolong Tao, and Ruiqi Wang. 2025. "Aggregation and Coordination Method for Flexible Resources Based on GNMTL-LSTM-Zonotope" Energies 18, no. 16: 4358. https://doi.org/10.3390/en18164358

APA Style

Peng, B., Cui, B., Zhang, C., Li, Y., Gong, W., Tao, X., & Wang, R. (2025). Aggregation and Coordination Method for Flexible Resources Based on GNMTL-LSTM-Zonotope. Energies, 18(16), 4358. https://doi.org/10.3390/en18164358

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