Abstract
This paper proposes a distributed aggregate tracking strategy for multiple heterogeneous TCL (thermostatically controlled load) clusters under a bus load agent. Specifically, these heterogeneous TCLs are composed of lots of homogeneous load clusters and each one can be modeled by a TISO (third-input single-output) aggregate model with the aggregate power being the output, and the changes of ambient/setpoint temperature and the ramping rate of the setpoint temperature being inputs. According to the aggregate model of the TCL cluster, a distributed leader-following communication protocol is proposed such that each cluster just needs to communicate with its neighbors and partial clusters are connected to the load agent, and then the aggregate power tracking problem can be solved in a distributed way. Finally, numerical results are conducted to demonstrate the effectiveness and performance of the proposed aggregate tracking algorithm.
Introduction
Thermostatically controlled loads (TCLs), such as air conditioners, water heaters, heat pumps, ice thermal energy storage and refrigerators in civil or commercial loads, have already accounted for a great part of the total power consumption around the world [1–4]. And these controllable loads in the demand side are often included in demand response (DR) programme, which in turn make them become active participants in the power system operations. The aggregated loads can provide different kinds of ancillary services, both in the real-time balancing and the planning stage, such as frequency regulation [5, 6], load following [7, 8], spanning reserve [9, 10]. On the other hand, these controllable loads can also be involved in the electricity market to become responsive loads under real-time pricing or critical peak pricing mechanism [11, 12], which is beneficial to the steady-state operation of power systems.
If the TCL is operated in a scenario that its local thermostat is free of outside intervention, then the internal temperature of the mass will converge to a steady period orbit with the corresponding cooling period and heating period [13]. The objective of the thermostat is to maintain the mass’s temperature near the customer’s setpoint value with a predefined temperature deadband. And the TCL switches its operational state (on and off) when the internal temperature hits the boundaries of the temperature deadband [14]. The power demand of the TCL over a period is determined by the initial temperature value, the temperature setpoint of the mass (or the on/off state) and the ambient temperature around the mass. The only one controllable variable is the temperature setpoint. There are mainly two control mechanisms for the TCLs under control: on/off control [15] and continuous setpoint control [16], which in turn can regulate the aggregate power consumption.
We will investigate the demand response regulation problem of a large population of thermostatically controlled loads and design a distributed control strategy to drive the aggregate power of numerous heterogeneous TCLs such that the aggregate power can track a reference power trajectory, i.e., second control mode in the power system. In the power grid, a large number of individual appliances are distributed dispersedly, which results in the control of these TCL become a technical challenge since the power grid is a distributed structure [15]. In order to calculate the aggregate power of all TCLs, the real time operation states of each TCL need to be measured, which is low efficient especially when there are a large number of TCLs in DR program. Therefore, the aggregate approximate modeling is necessary which is able to provide an estimation of the aggregate power based on an approximate aggregate model. Great effort has been devoted to the modeling of homogeneous or heterogeneous TCL clusters, such as state-queueing model [17], temperature setpoint model [18], a second-order dynamic model [19–22], Markov switching model [23].
Here, we utilize the aggregated model proposed in our recent paper [7] to estimate the aggregate power of numerous homogeneous TCL clusters for aggregate tracking. Specifically, all heterogeneous TCLs are divided to multiple homogeneous clusters and each one is modeled by a TISO aggregate model. Such as all the homogeneous TCLs in a community can be modeled by a load cluster. Therefore, several heterogeneous clusters may emerge in each community. In our previous paper [7], we investigated the centralized load following control problem and the results are further extended to a distributed aggregate tracking scenario. Specifically, we utilize a distributed pinning consensus control algorithm [24] to drive the operation of multiple TCL clusters for performing the aggregate tracking problem.
Distributed control is inexpensive to be implemented compared with centralized control, and suitable for the distributed structure of TCLs in power grids, which has the good reliable, scalability, easy implementation, low complexity, and high robustness [25]. Distributed DR has became a hot research topic in the literature [26, 27]. Distributed optimization or control algorithms were utilized to solve the DR strategy for electric vehicles [28, 29]. The authors in [30] investigated the distributed DR real-time power balance problem in a neighborhood with a population of power customers and renewable energy sources. Distributed load shifting is investigated in [31] for an islanded microgrid (MG). However, few publications are concerned with distributed control of TCL clusters for load following service.
On the other hand, pinning control [32, 33] indicates that the global system information can be accessed only by a small fraction of terminals, and the rest of terminals access data each other based on a spare communication network. This idea can be utilized to handle the optimization or control problems with global constraints. For example, distributed pinning droop control mechanism has been introduced in the isolated converter-fed microgrids for active and reactive power sharing problem [34]. Secondary voltage pinning control strategy was proposed in [35] for an isolated microgrid, where pinning designs demonstrated satisfactory control performances. We will consider the distributed pinning load following control of multiple heterogeneous TCL clusters for DR regulation in smart grids. The proposed control design can drive the consumption of aggregate power of DR clusters with any size of TCLs and any initial states of each TCL.
The rest of this paper is organized as follows. The basic aggregate model of TCLs and problem formulation are illustrated in Section 2. In Section 3, the detailed distributed pinning load following control is designed for multiple heterogeneous TCL clusters. Simulation results on a typical distributed load cluster system are provided in Section 4. Discussions on the proposed distributed algorithm is shown in Section 5. Finally, Section 6 concluded our work.
Notations: The communication network among TCL clusters is modeled by a digraph
Primaries and problem formulation
Aggregation model for the TCL cluster
Suppose a population of heterogeneous TCLs under a common bus is grouped into several homogeneous clusters, where each cluster is approximated by a TISO bilinear system [7] as follows,
And coefficients C [kWh/°C] and R [°C/kW] are the thermal capacitance and thermal resistance of the TCL. θ
a
(t) is the time-varying ambient temperature; θ
base
is the base value of the ambient temperature; θ
set
(t) is the temperature setpoint; and
Parameters
The coefficient matrices for system (1) are given by
For the TCLs in a load cluster, the real time temperature setpoint θ
set
(t) can be obtained by
Suppose there are N L homogeneous TCLs (i.e., they have the same parameters C, R, P r , η) in a common load cluster. The electrical model [36] of each TCL is shown in Fig. 1.

The simplified electrical model of a TCL.
Then, the dynamical model of the ith TCL can be easily derived, given by the following differential equation [37]:
Therefore, the direct physical aggregate power output of all TCLs can be derived as:
The approximated aggregate power derived from the TISO model is highly identical with the physical aggregate power from the physical-based model (4). Besides, the model is more accurate especially when the temperature deadband is divided with a thinner partition [7]. In the following, we mainly focus on the distributed aggregate load following problem of multiple heterogenous TCL clusters.
This section is to propose a distributed load control strategy such that the aggregate TCLs can provide the load following service, i.e., tracking a given reference power trajectory. Under a bus load agent, there are numerous heterogeneous TCL clusters and each cluster is constituted of multiple homogeneous TCLs. The function of flexible load agents is similar to the negative generating units, which can provide min-min ancillary services.
Due to the flexibility of the TCL cluster, they may plug-in or plug-out based on their own enabling conditions. The distributed technique is suitable for this scenario of multiple interactive units, which enable the participants can be plugged-in and plugged-out flexibly. In the following, we consider the real time aggregate tracking P
ref
(t) problem of N TCL clusters and the ith cluster is given by the following TISO bilinear model,
Therefore, the estimated aggregate power P
est
(t) of the load agent is obtained by

Control structure for the centralized pinner (6).
For all TCLs under the bus load agent, the aggregate power is changed by regulating the temperature setpoint continuously. The reference input variable is calculated at the load agent, which can drive the aggregate power of the load agent track the reference power trajectory orderly. Since the TCLs are distributed decentralized in different control area in the smart grids, we consider the distributed pinning cnsensus control for all TCL clusters in the load agent such that all clusters can achieve the expected aggregate tracking in a cooperative way. Here, distributed pinning control can deal with the global constraint of multiple interactive units, which is given as:
Next, the detailed control strategy is provided for each cluster, based on which the temperature setpoint variable of this cluster can be updated.
Then, the practical temperature setpoint signal is generated by
The performance of the proposed distributed load following strategy is validated. Here, we discuss 10 heterogeneous TCL clusters (composed of ten smart buildings or communities) with 14667 cooling air conditioners. By utilizing the distributed pinning consensus control strategy, the reference power trajectory of the load agent can be tracked by the active power of TCLs. The communication topology among the clusters is provided in Fig. 3, by which one can derive the communication matrix (

The communication topology among TCL clusters.
Firstly, some basic simulation parameters are provided in the following Table 1, including N
L
(the number of TCLs in each Cluster), R [°C/kW] (thermal resistance), C [kWh/°C] (thermal capacitance), output cooling energy P
r
[kW], energy’s transmission efficiency η, preferred setpoint
The private parameters of TCL clusters.
Secondly, the initial temperature of each air conditioning in the cluster is set uniformly in the first temperature deadband. The initial off proportion proff of TCLs in each cluster are given in the table as well, and the tracking performance bound is set to be ɛ = 5%.
Thirdly, the regulation capacities and ramping rates of the load agent are:
In the following, a two hours’ short-term load following service is tested. For example, the air conditioning loads in the summer day always account for a large population of electrical loads. Therefore, such a pear load period can be reduced by the proposed distributed pinning consensus strategy. Suppose the real time ambient temperature curve during a two hours’ period is provided in Fig. 4 and the base value θ
base
= 37 . 5°C. Suppose the maximal length of the comfortable interval of users is 4°C, i.e.,

The ambient temperature θ a (t) and the incorporated input u i (t) for each TCL cluster.
By calculations, it is easy to derive the upper and lower bounds of the control input u i (t), denoted by -48.5737 ≤ u i (t) ≤8.9018. The reference active power trajectory is provided by the load agent every 5min and the values are transformed to a more detailed reference power trajectory by the cubic spline interpolation method (shown in Fig. 4). The sampling period of the TCL clusters is 10s for a cycle.
By setting the control gains μ1 = μ2 = 1.25 and the coupling strength β = 6 and running the simulation, it is easy to obtain the real time control inputs u i (t) (see Fig. 4) and the controlled temperature setpoint curves θset,i (t) for each cluster (see Fig. 5).

The controlled temperature setpoints’ curves for each TCL cluster.
Finally, the physical aggregate power (derived by Monte-Carlo method) and the approximated aggregate power (derived by TISO approximate model) and the reference power trajectory (provided by the load agent) are given in Fig. 6.

The aggregate active power curves for the load agent.
In order to illustrate the tracking performance, we utilize the relative errors given by the following computational formulas to describe the percentage error,

The power tracking error curves for the load agent by the TISO model.

The real power tracking relative error curves for the load agent by the Monte-Carlo.
As can be seen from the tracking errors and the tracking curves: (1) the approximated power response well with the reference power trajectory based on the TISO estimation model and the distributed pinning consensus control; (2) the real physical aggregate power derived by the Monte-Carlo method in the simulation follows the reference trajectory successfully. Therefore, it is feasible for the aggregate tracking of the TCLs in the demand side via the proposed distributed pinning consensus control strategy.
Aggregate tracking strategy of TCLs based on the temperature setpoint is able to provided various kinds of ancillary services. This manuscript investigated the distributed load following service provided by the flexible load agent, which can reduce the capacity of traditional spanning reserve units. We will discuss the distributed technique in the following two aspects: Implementation: Along with the development of wireless communication technology, it is easy to implement the distributed control based on a distributed communication system. Note that the communication network can be an undirected connected one or a directed one with a directed spanning tree rooted at the centralized pinner (connected to the load agent). Applications: the exploitable capacity of the TCL groups is pretty large since a small change in the temperature setpoint of users’ equipments can give rise to an observable change of the active power of the aggregated TCLs; On the other hand, the comfort level of the users will not be changed greatly under a small change of the temperature setpoint. Therefore, the aggregate flexibility of TCLs could provide different kinds of ancillary services, such as load following service, frequency regulation service, spinning reserve capacity.
In the load following application, when tracking a lower reference power trajectory, the temperature setpoint of the TCLs will be increased and vice versa. While in the scenario of the renewable power tracking (absorption or filling up of wind or photovoltaic power), temperature setpoint can be increased or decreased slightly via the fluctuation of the reference power, which may be upper or lower than the steady-state aggregate power compared with the uncontrolled case.
As for the real time control of TCL cluster, the control commands can be issued to the terminal TCLs every 20 s, which can be ensured by the advanced communication technology. And the DR response module embedded in the temperature setpoint regulation actuator will respond to the issued control commands.
In summary, TCLs in the demand side could provide adequate ancillary service capacity. The distributed load following strategy proposed in this paper is able to guide the power consumption of TCLs by regulating the temperature setpoints, which can reduce the total consumption TCLs in the peak period or increase the power consumption in the valley period to store energy.
Conclusion
This paper presented a distributed load following algorithm for coordinating the operation of multiple TCL clusters in smart grids. Meanwhile, the aggregate control implementation for the TCLs in the cluster is provided by tuning the temperature setpoint of the terminal TCls slightly. As one demonstration, the proposed control strategy is applied to a typical ten smart buildings’ TCLs’ control system with multiple heterogeneous TCL clusters and the simulation results indicate that the load following strategy is effective in guiding the power consumption of TCLs.
Future directions to extend the current work include a switched communication topology which can enable the plug-in and play of TCL clusters. Additionally the flexility of the TCL groups can also be utilized to follow the variability of wind or photovoltaic power generation under demand side real-time pricing (RTP).
Footnotes
Acknowledgments
This work was supported in part by the National Nature Science Foundation of China under Grants 61703095 and 51677173; in part by the Natural Science Foundation of Jiangsu Province of China under Grant BK20170697; in part by the Jiangsu Provincial Key Laboratory of Networked Collective Intelligence under Grant No. BM2017002; in part by the Key Project of Natural Science Foundation of China (No. 61833005); in part by the Fundamental Research Funds for the Central Universities of China.
