2.1. Day-Ahead and Real-Time Aggregation and Control Framework for Air Conditioning Loads in Integrated BMG System
In multi-building integrated BMG systems, unified energy management is overseen by the BMO, which functions as both a production hub and a dispatch center, engaging in electricity-purchasing and -selling transactions with the upper-level power grid. While ensuring the stable operation of the system, the BMO further enhances economic benefits by optimizing its operational strategies. Direct participation of distributed building users in scheduling would increase system complexity. Therefore, the LA plays a crucial role in managing flexible loads such as air conditioning. By aggregating users’ energy consumption data and executing the scheduling plans issued by the BMO, the LA centrally regulates the loads within its jurisdiction. This approach not only alleviates the scheduling burden on BMO but also facilitates efficient demand-response management.
In this paper, we focus on the coordinated optimization of supply and demand in integrated BMG systems and construct a day-ahead and real-time aggregation and control framework for air conditioning loads, as illustrated in
Figure 1.
The day-ahead scheduling layer models the scheduling process by considering user privacy protection requirements and utilizes the aggregated response potential assessment from LA as boundary information. Based on the exchanged information between the BMO and LA, a distributed day-ahead scheduling plan is formulated to optimize energy consumption under unknown global information.
The real-time control layer focuses on the precise execution of scheduling decisions. In this layer, the LA acts as the executor within the proposed framework. It classifies air conditioning loads into multiple contract groups based on the adjustable temperature range and initial temperature distribution of users. To track the scheduling plan issued by the BMO, pre-emptive control based on the SQ model is applied, utilizing the density distribution of temperature modules. The primary objective of this control strategy is to minimize regulation time, ensuring coordinated, flexible, and precise real-time control of air conditioning loads while effectively tracking the scheduling decisions.
2.3. Multi-Factor Air Conditioning Load Response-Potential Model
Currently, most definitions of demand-response potential focus on the ability of the load power to increase or decrease during a demand-response event. To further explore the response potential of air conditioning loads, this study comprehensively considers user comfort and willingness to participate as key factors in evaluating air conditioning load response potential.
- (1)
User Comfort Level
To more comprehensively characterize user comfort perception, the Predicted Mean Vote (PMV) index, formulated based on the international standard ISO 7730 [
30], is introduced to quantify users’ thermal comfort perceptions. It is assumed that, except for air temperature
, all other parameters are given as fixed values. To highlight the relationship between the PMV index and indoor temperature, a simplified form of the PMV equation is derived as follows:
where
is the PMV value of the indoor user at time
t;
represents the average skin temperature when the human body perceives comfort, typically set to 34 °C;
M denotes the metabolic rate of the human body, typically set to 1 met; and
is the thermal resistance of clothing, typically set to 0.5 clo. Thus, the relationship between indoor temperature and PMV can be expressed as
The PMV comfort index is a comprehensive metric that integrates multiple factors affecting human comfort, including air temperature, humidity, airflow velocity, clothing insulation, and physical activity level. It quantifies human comfort on a standardized scale within the range of . According to its definition, when , users experience optimal comfort. However, as deviates further from zero, the perceived comfort level decreases. By substituting into Equation (15), the user’s comfort temperature range can be obtained.
- (2)
User Willingness Degree
User willingness degree is assessed by comparing electricity costs with psychological expectations. When the electricity price exceeds the baseline price, users perceive the cost as higher than expected, increasing their willingness to participate in demand response. Consequently, they lower their thermal comfort requirements and expand the acceptable temperature range. Conversely, when the electricity price falls below the baseline price, willingness to participate decreases, and the acceptable temperature range narrows.
Willingness reflects users’ sensitivity to electricity price variations and is influenced by factors such as income level, educational attainment, and age. To ensure engineering implementability and reproducibility, this study adopts a relatively simplified set of influencing factors in the user willingness model to capture how user heterogeneity affects participation in demand response. Meanwhile, the corresponding coefficient values are specified based on publicly available census data. Typically, users with lower income, higher education levels, and younger demographics are more inclined to participate in demand response programs. To quantify these influences, the education level coefficient
, household income coefficient
, and average age coefficient
are introduced. Together, they determine the subjective response coefficient
, which measures users’ price sensitivity and participation willingness
[
31].
where
,
,
is the user’s education level, increasing from high to low;
is the threshold of user willingness influenced by household income;
denotes the average age of the user group;
is the user’s education level;
I is household income; and
is the average age of household users.
From the above equation, it is clear that the willingness factor represents the willingness of the ith user to participate in a demand-response event at time t. When is positive, it indicates that the user tends to participate more actively in demand response under a price level higher than the baseline and is willing to relax comfort constraints to some extent; when is negative, it indicates that the user tends to maintain the original comfort level under a price level lower than the baseline and is less inclined to participate. The strength of this tendency is reflected by the absolute value of , with a larger magnitude indicating a stronger propensity.
By considering the user’s willingness factors, the temperature constraint range originally determined by the user comfort model can dynamically change. The temperature variation formula is as follows:
where
is the temperature adjustment variation in the
ith air conditioning device at time
t, considering user willingness factors.
Thus, after considering user willingness, the temperature constraint range becomes
, which is calculated as follows:
where
and
are the upper and lower temperature constraint limits, respectively, considering both user comfort and willingness.
If
is 0.5, the air conditioning cluster response power range is
. The formulas for the maximum response power, minimum response power, and response potential are as follows:
where
and
are the maximum and minimum response power values of the air conditioning cluster, respectively, corresponding to the temperature constraint limits determined by considering both user comfort and willingness;
is the response potential of the air conditioning cluster at this time.
2.5. SQ-Based Pre-Emptive Control Strategy for Air Conditioning Load
Due to the non-uniform initial indoor-temperature distribution among users, the actual air conditioning load response may deviate from the expected value, thereby affecting the execution of the scheduling plan. To address this issue, this paper proposes a pre-regulation strategy for air conditioning loads based on a state queue model, aiming to achieve balanced load distribution through refined management.
The state queue model refers to the linear discretization of air conditioning operating states into several discrete states within a complete control cycle, with each state corresponding to a specific temperature level. As shown in Equation (8), the durations of the air conditioner being in the ON and OFF states during the control cycle are denoted by
and
, respectively. The fundamental expression of the model is given in Equation (40):
To account for the impact of parameter heterogeneity on control performance, K-means clustering is applied to the temperature variation parameters derived from the ON/OFF cycles of air conditioning loads. The main reason for choosing K-means is that it has a low computational cost, requires minimal distributional assumptions, and involves fewer hyperparameters, enabling stable user grouping within the real-time control loop and providing interpretable cluster centroids for setting group-level control parameters in the subsequent SQ-based scheme. The cluster centroids are used as the basis for grouping, and it is assumed that air conditioners within the same group share homogeneous parameters. Control tasks are then allocated according to the aggregated power of each group. For each air conditioning load within a cluster, N distinct temperature ranges and corresponding initial temperatures are defined. Based on the temperature range determined during potential evaluation, contract groups are formed. The upper and lower bounds of the temperature ranges for each contract group increase in increments of 0.5 °C. Each load within a group signs a day-ahead response contract with the load aggregator, selecting from K available temperature intervals. When dispatching control tasks, the load aggregator assigns regulation tasks to each contract group based on the control capacity of that group. The control capacity of an individual load is calculated using Equation (41). Based on the air conditioning parameters and the number of users n within each contract group, the load aggregator can compute the total aggregated control capacity of the group, as shown in Equation (42).
After assigning the dispatch tasks to each contract group, the number of loads that need to be controlled within each contract group can be determined based on Equations (8) and (42).
Using the state queue model, the contract groups are divided into M temperature intervals, where the number of air conditioning loads in the m-th interval is denoted as . Due to the uneven distribution of users’ initial indoor temperatures, when applying the state queue model, boundary intervals may suffer from low load density, making it difficult to ensure a uniform number of responsive loads across all temperature intervals, which may lead to power fluctuations. To address this issue, each contract group is divided into M temperature intervals, where the number of air conditioning loads in the m-th temperature interval is denoted as . A load distribution standard value is defined to assess the sparsity of load distribution across temperature intervals. If , it indicates that the air conditioning load in this temperature interval is sparse, and the number of sparse intervals is recorded as . Conversely, if , it indicates that the load distribution is dense. In the actual dispatch process, to mitigate the uneven load distribution in dense intervals, a pre-emptive control strategy is employed to transfer a portion of the loads from dense intervals to sparse intervals, thereby achieving refined load management.
The principle of the pre-regulation strategy is illustrated in
Figure 4. Before the dispatch plan is issued, if temperature state 4 is sparsely populated while temperature state 5 is densely populated, a portion of the loads in state 5 are precooled, while the loads in state 4 continue to warm up as usual. When both sets of loads reach the same temperature, the loads from state 5 are switched off and transition to the same state as those in state 4, thereby completing the pre-shifting process.
The pre-shifting from densely populated states to sparsely populated states can be categorized into two scenarios: one involves lowering the temperature of the densely populated state to shift toward the sparse state, while the other involves raising the temperature for the same purpose. The corresponding operation time can be obtained by solving the system of equations formed by Equations (8) and (40):
- (1)
When
: The transfer time is obtained by equating the time required for the sparse state to warm up to the intermediate temperature
with the time required for the dense state to cool down to the same temperature
.
where
is the highest temperature of the queue module in the
m-th sparse state,
is the highest temperature of the queue module in the
-th dense state, and
is the temperature after load transfer in the
-th state.
- (2)
When
: At this point, the transfer time is divided into two stages. The first stage is the time required for the sparse state to shift to the upper temperature limit
of the contract group. The second stage is determined by equating the time for the dense state to warm up to temperature
with the time for the sparse state to cool down to temperature
where
is the transformed temperature of module
when transferring from a sparse state to the highest temperature, and
is the upper temperature limit of the
k-th contract group.
To prevent air conditioning power drop, the number of loads in each temperature state of the state queue model should meet the required levels. Therefore, this paper establishes an objective function that minimizes the control time, formulated as follows:
The transfer constraints are defined as
where
is the number of loads transferred from the dense state group to the sparse state group when
,
is the transfer time for each load in
,
is the number of loads transferred from the dense state group to the sparse state group when
,
is the transfer time for each load in
, and
is the number of loads in the
k-th sparse state group.