1 Introduction

Demand response (DR) traditionally refers to inducing customers to curtail electric demand by dynamic pricing or incentives at peak times to alleviate the conflict between the power supply and demand [1,2,3]. As more and more intermittent and fluctuating renewable generation resources have been integrated into the power grid, the situation of supply exceeding demand may occur at any time, which requires the increasement of electric demand or the curtailment of generation energy to balance demand and supply [4, 5]. It has given rise to a new way of thinking about DR, which is called demand dispatch.

Demand dispatch is the capability to aggregate and precisely control (or dispatch) individual loads on command. Compared with traditional DR, it can not only turn off loads to reduce demand, but also turn on loads to increase demand. Moreover, it can be deployed anytime, not just at peak times. Therefore, it is deemed to be a generalization and extension of DR [6].

The residential loads represent a significant part in electric energy demand [7, 8]. The single load is unable to participate in the supply-demand regulation of power grid for limited regulation capability. Therefore, demand dispatch is one of the effective approaches for residential loads to participate in the supply-demand regulation. Among all residential loads, electric water heaters (EWHs) are good candidates for demand dispatch. The reasons are mainly based on the following three aspects. First, EWHs can store electric energy by heating the hot water in their water tank [9]. Second, aggregated EWHs have a large adjustable capacity for their high popularity rate and enormous number at users’ side [10]. Third, the new-generation EWH equipment has realized the integration of perception, calculation, control and communication function, which is advantageous to realize automatic control.

In the literature, there have been many relevant studies on demand dispatch for aggregated EWHs. Ernest Orlando Lawrence Berkeley National Laboratory has developed the open automated demand response (OpenADR) communications specification [11,12,13], which provides an open standards-based communications data model and enables demand dispatch to be fully automated. In [14], the authors propose a multilevel incentive model for demand aggregation systems of residential loads. In [15, 16], a time-discrete EWH load model is presented, which provides a digital mapping model of the real EWH appliance in the cyber space. In [17], a state-queueing model is developed to analyze the price response of aggregated thermostatically controlled loads (TCLs). Based on the state-queueing model, the authors put forward model-driven control strategies of aggregated TCLs for demand dispatch [18, 19].

With the deep and pervasive application of information and communication technologies, load aggregation systems which are involved in power grid operation regulation under the new electricity market, have become cyber-physical systems (CPSs). The essence of the CPS is to construct a closed-loop feedback system based on automatic data flow between the cyber space and the physical space [20]. Considering that the traditional model-driven control strategies may not be suitable for the cyber-physical load aggregation system, this paper presents a data-driven demand dispatch strategy consisting of state awareness, real-time analysis, scientific decision-making and precise execution between the cyber space and the physical space.

The main contributions in this paper are twofold. First, a closed-loop control architecture based on automatic data flow between the cyber space and the physical space is built to support demand dispatch in the CPS of aggregated EWHs, including state awareness, real-time analysis, scientific decision-making and precise execution. Second, based on the closed-loop control architecture, the state awareness logic, real-time analysis logic, scientific decision-making logic and precise execution logic are designed to implement demand dispatch.

The rest of this paper is organized as follows. Section 2 introduces the cyber-physical load aggregation system. Section 3 describes the related models and thermostat setpoint control rule. The data-driven demand dispatch strategy is presented in Sect. 4. Case studies are given in Sect. 5. Finally, the paper is concluded in Sect. 6.

2 Cyber-physical load aggregation system

Smart residential EWH appliances are cyber-physical units, which integrates the functions of perception, calculation, control and communication. The smart EWH appliances and the cloud-based platform of the load aggregator constitute a cyber-physical load aggregation system, as shown in Fig. 1. In the cyber-physical load aggregation system, the cloud-based platform of the load aggregator receives the demand dispatch event from service providers in the electricity market and perceives real-time state parameters of every EWH. Then the cloud-based platform executes the demand dispatch strategy based on the perceptual state parameters and the residential configuration information for each EWH.

Fig. 1
figure 1

Demand dispatch architecture for smart residential EWH loads

Figure 2 shows the residential configuration information for each EWH by user’s APP of the cloud-based platform, which includes the thermostat setpoint and the preferences for demand dispatch. The user’s preferences include whether it is acceptable to participate in demand dispatch, the satisfactory setpoint range and whether it is acceptable if beyond range.

Fig. 2
figure 2

Configuration information for an EWH by user’s APP of cloud-based platform

Figure 3 shows the implementation architecture of demand dispatch strategy for the cloud-based platform in the cyber-physical load aggregation system. This strategy is implemented by state awareness, real-time analysis, scientific decision-making and precise execution. It realizes the mapping of physical quantities of EWH appliances to cyber signals. The state awareness logic, real-time analysis logic, scientific decision-making logic and precise execution logic are designed in Sect. 4.

Fig. 3
figure 3

Implementation architecture of demand dispatch strategy for cloud-based platform in cyber-physical load aggregation system

Before introducing these logics, the related models and thermostat setpoint control rule are introduced.

3 Related models and thermostat setpoint control rule

In this paper, the time horizon is subdivided into equal-length operational time slots. The length of the time slot is \(\Delta t\).

3.1 Multilevel incentive model

The multilevel incentive model proposed by [14] is shown in (1), which acts as an incentive mechanism of the load aggregator to reward residents for participating in demand dispatch.

$$R_{Mk} \left( i \right) = \left\{ \begin{aligned} R_{1} \quad T_{set,L} \left( k \right) \le T_{set}^{k} \left( i \right) \le T_{set,U} \left( k \right) \hfill \\ R_{2} \quad T_{set}^{k} \left( i \right) < T_{set,L} \left( k \right),C_{om} (k) = 1 \hfill \\ \quad \quad {\text{or }}T_{set}^{k} \left( i \right) > T_{set,U} \left( k \right),C_{om} \left( k \right) = 1 \hfill \\ R_{3} \quad T_{set}^{k} \left( i \right) < T_{set,L} \left( k \right),C_{om} (k) = 0 \hfill \\ \quad \quad {\text{or }}T_{set}^{k} \left( i \right) > T_{set,U} \left( k \right),C_{om} \left( k \right) = 0 \hfill \\ \end{aligned} \right.$$
(1)

where \(R_{Mk} \left( i \right)\) is the incentive rate for the resident #k in time slot i; \(R_{1}\) is the level 1 incentive rate; \(R_{2}\) is the level 2 incentive rate; \(R_{3}\) is the level 3 incentive rate; \(T_{set,L} \left( k \right)\) is the lower threshold of the satisfactory setpoint range for the resident #k; \(T_{set,U} \left( k \right)\) is the upper threshold of the satisfactory setpoint range for the resident #k; \(T_{set}^{k} \left( i \right)\) is the thermostat setpoint of the EWH #k at time slot i; \(C_{om} \left( k \right)\) indicates whether the resident #k compromises if beyond range, 1 represents yes, 0 represents no.

For convenience, \(R_{Mk} \left( i \right)\) is represented as follow:

$$R_{Mk} \left( i \right) = f_{1} \left( {T_{set}^{k} \left( i \right),T_{set,L} \left( k \right),T_{set,U} \left( k \right),C_{om} \left( k \right)} \right)$$
(2)

Figure 4 shows the flow chart of determining the incentive rate in time slot i for the resident #k under the multilevel incentive model [14]. From Fig. 4, it can be observed that the more serious the degree of violating user’s preference is, the higher the reward level is, namely the more the reward payment for load aggregator is.

Fig. 4
figure 4

Flow chart of determining incentive rate in time slot i for resident #k under the multilevel incentive model

3.2 EWH appliance model

The EWH appliance model proposed by [15] is shown in (3) and (5), which serves as a mapping model of the real EWH appliance in the cyber space. It includes the temperature model and internal cyber-physical control model. The temperature model describes the change rule of water temperature in the tank. The internal cyber-physical control model describes the transition rule of the heating element status. The temperature model is described as follows:

$$\begin{aligned} T\left( {i + 1} \right) & = \frac{{T\left( i \right)\left( {V_{tank} - f_{r} \left( i \right)\Delta t} \right)}}{{V_{tank} }} + \frac{{T_{inlet} f_{r} \left( i \right)\Delta t}}{{V_{tank} }} \\ & \quad + \left[ {P_{WH} \eta_{WH} S_{WH} \left( i \right)A_{1} - \frac{{A_{tank} \left( {T\left( i \right) - T_{a} \left( i \right)} \right)}}{{R_{tank} }}} \right] \\ & \quad \cdot \frac{\Delta t}{{A_{2} }}\frac{1}{{V_{tank} }}A_{3} \\ \end{aligned}$$
(3)

where \(T\left( {i + 1} \right)\) and \(T\left( i \right)\) are the water temperatures in the tank at the start of time slot i + 1 and time slot i, respectively; \(T_{inlet}\) is the temperature of inlet water; \(f_{r} \left( i \right)\) is the hot water flow rate in time slot i; \(V_{tank}\) is the volume of the tank; \(\Delta t\) is the length of time slot; \(P_{WH}\) is the rated power of the EWH; \(\eta_{WH}\) is the efficiency factor; \(S_{WH} \left( i \right)\) is the status of the heating element in time slot i, 0 represents off, 1 represents on; \(A_{tank}\) is the surface area of the tank; \(T_{a} \left( i \right)\) is the room temperature in time slot i; \(R_{tank}\) is the heat resistance of the tank; the value of \(A_{1}\) is 3412 Btu/kWh; the value of \(A_{2}\) is 60 min/h; the value of \(A_{3}\) is 1/8.34 gal/lb.

For convenience, \(T\left( {i + 1} \right)\) is represented as follows:

$$T\left( {i + 1} \right) = f_{2} \left( {T\left( i \right),S_{WH} \left( i \right), \, f_{r} \left( i \right),T_{a} \left( i \right)} \right)$$
(4)

The internal cyber-physical control model is described as follows:

$$S_{WH} \left( i \right) = \left\{ {\begin{array}{*{20}l} 0 \hfill & {T\left( i \right) > T_{set} \left( i \right)} \hfill \\ 1 \hfill & {T\left( i \right) < T_{set} \left( i \right) - D_{s} } \hfill \\ {S_{WH} \left( {i - 1} \right)} \hfill & {T_{set} \left( i \right) - D_{s} \le T\left( i \right) \le T_{set} \left( i \right)} \hfill \\ \end{array} } \right.$$
(5)

where \(T_{set} \left( i \right)\) is the thermostat setpoint at the start of time slot i; \(D_{s}\) is the thermal insulation temperature deadband.

3.3 Thermostat setpoint control rule

Figure 5 shows the principle of thermostat setpoint control for an EWH. It describes the relationship between the change in thermostat setpoint and the on/off state transition for an EWH. The operation principle of an EWH is shown in Fig. 5(a), which can be verified by (5). When the hot water temperature rises to the thermostat setpoint Tset, the EWH will stop heating automatically (from on to off). When the hot water temperature drops to the temperature Tset Ds, the EWH will start heating automatically (from off to on).

Fig. 5
figure 5

Schematic diagram of operation principle of an EWH and thermostat setpoint control principle

Figure 5(b) shows the thermostat setpoint control principle from off to on. According to the above operation principle of an EWH, if an EWH is changed from off state to on state at time slot i, the new thermostat setpoint should be set to at least T(i)+ Ds. Similarly, as shown in Fig. 5(c), if an EWH is changed from on state to off state at time slot j, the new thermostat setpoint should be set to at most T(j).

However, in the actual adjustment operation, the thermostat setpoint must be an integer. Therefore in this paper, the thermostat setpoint control rule that triggers a change in the operation state of an EWH is determined as follows:

$$T_{new,set} \left( i \right) = \left\{ {\begin{array}{*{20}l} {\left\lceil {T\left( i \right)} \right\rceil + D_{s} } \hfill & {f_{action} (i) = 1} \hfill \\ {\left\lfloor {T\left( i \right)} \right\rfloor } \hfill & {f_{action} (i) = - 1} \hfill \\ \end{array} } \right.$$
(6)

where \(T_{new,set} \left( i \right)\) is the new thermostat setpoint at time slot i; \(\left\lceil X \right\rceil\) is the function to round the number X to the upper whole number; \(\left\lfloor X \right\rfloor\) is the function to round the number X to the lower whole number; \(f_{action} (i)\) is a function that represents action type at time slot i, the value of 1 means turning the unit on, the value of −1 means shutting off the unit.

4 Demand dispatch strategy

As shown in Fig. 3, this section presents the state awareness logic, real-time analysis logic, scientific decision-making logic and precise execution logic, which constitute the implementation logic of the data-driven demand dispatch strategy.

4.1 State awareness logic

State awareness logic is used to obtain the scheduling state of each EWH in time slot i, by the acquired data from each EWH at the start of time slot i. The implementation process is shown in Fig. 6. It includes the load grouping process and the scheduling state generation process.

Fig. 6
figure 6

Implementation process of state awareness logic

In the load grouping process, an EWH load may be inferred to belong to one of the following three groups: group B, group C and group D. The EWH loads in the group B can respond to the load increase task. The EWH loads in the group D can respond to the load curtailment task. The EWH loads in the group C can’t respond to any task.

If an EWH load belongs to group B in time slot i, the EWH status must be off in time slot i and the new thermostat setpoint shall not exceed the allowed maximum thermostat setpoint at the start of time slot i. So the load grouping inference rule 1 is designed as follows: if \(f_{2} \left( {T_{k} \left( i \right),0,f_{r} \left( i \right),T_{a} \left( i \right)} \right) \ge T_{set}^{k} \left( i \right) - D_{s}\), \(P_{art} (k) = 1\), \(s_{k} \left( i \right) = 0\), \(\left\lceil {T_{k} \left( i \right)} \right\rceil + D_{s} \le T_{\hbox{max} }\), then \(k \in B\). \(P_{art} (k)\) indicates whether the resident #k agrees to participate in demand dispatch, 1 represents yes, 0 represents no; \(s_{k} \left( i \right)\) is the state of the heating element for the EWH #k at the start of time slot i, 1 represents on, 0 represents off; \(T_{k} \left( i \right)\) is the water temperature of the EWH #k at the start of time slot i; \(T_{\hbox{max} }\) is the maximum thermostat setpoint specified by the manufacturer.

If an EWH load belongs to group D in time slot i, the EWH status must be on in time slot i and the new thermostat setpoint shall not be lower than the allowed minimum thermostat setpoint at the start of time slot i. So the load grouping inference rule 2 is designed as follows: if \(f_{2} \left( {T_{k} \left( i \right),1,f_{r} \left( i \right),T_{a} \left( i \right)} \right) \le T_{set}^{k} \left( i \right)\), \(P_{art} \left( k \right) = 1\), \(s_{k} \left( i \right) = 1\), \(\left\lfloor {T_{k} \left( i \right)} \right\rfloor \ge T_{\hbox{min} }\), then \(k \in D\). \(T_{\hbox{min} }\) is the minimum thermostat setpoint specified by the manufacturer.

In the scheduling state generation process, the scheduling state of the EWH #k in time slot i is generated according to the result of load grouping. The scheduling state generation rule is described as follows:

$$S_{Sk} \left( i \right) = \left\{ {\begin{array}{*{20}l} 1 \hfill & {k \in B} \hfill \\ 0 \hfill & {k \in C} \hfill \\ { - 1} \hfill & {k \in D} \hfill \\ \end{array} } \right.$$
(7)

where \(S_{Sk} \left( i \right)\) is the scheduling state of the EWH #k in time slot i.

If \(S_{Sk} \left( i \right) = 1\), it shows that the EWH #k can respond to the load increase task in time slot i. If \(S_{Sk} \left( i \right) = 0\), it shows that the EWH #k can’t respond to any task in time slot i. If \(S_{Sk} \left( i \right) = - 1\), it shows that the EWH #k can respond to the load curtailment task in time slot i.

4.2 Real-time analysis logic

Real-time analysis logic determines the actual load amount that is needed to be scheduled and the executed task type for the aggregated EWHs in time slot i. The load amount is calculated by:

$$P_{S} \left( i \right) = P_{event} \left( i \right) - \left( {\sum\limits_{k = 1}^{N} {P_{WH} \left( k \right)s_{k} \left( i \right) - P_{baseline} \left( i \right)} } \right)$$
(8)

where \(P_{S} \left( i \right)\) is the actual load amount that is needed to be scheduled in time slot i; \(P_{event} \left( i \right)\) is the load amount specified in the demand dispatch event in time slot i; N is the total number of EWHs; \(P_{WH} \left( k \right)\) is the rated power of the EWH #k; \(P_{baseline} \left( i \right)\) is the baseline load amount of the aggregated EWHs in time slot i, which is considered to be the load amount of the aggregated EWHs with on control in [21].

The executed task type in time slot i is determined by:

$$f_{T,task} (i) = \left\{ {\begin{array}{*{20}c} 1 & {P_{S} \left( i \right) > 0} \\ { - 1} & {P_{S} \left( i \right) < 0} \\ \end{array} } \right.$$
(9)

where \(f_{T,task} (i)\) is a function that represents the executed task type in time slot i for the aggregated EWHs, the value of 1 means performing the load increase task, the value of − 1 means performing the load curtailment task.

4.3 Scientific decision-making logic

Scientific decision-making logic determines the optimal combination of EWHs which are chosen to perform the task of demand dispatch during the time slot i, according to the results from state awareness logic and real-time analysis logic. In this paper, minimizing the total reward payment to the residents is considered as a decision objective. So the optimization objective function during the time slot i is formed as follows:

$$\hbox{min} \left( {\sum\limits_{{k \in O_{i} }} {R_{Mk} \left( i \right)P_{WH} \left( k \right)\theta_{k} \left( i \right)} } \right)$$
(10)

where \(O_{i}\) indicates a set of the EWH units that can participate in demand dispatch in time slot i; \(\theta_{k} \left( i \right)\) is the binary decision variable, the value of which is 0 or 1. The value of 1 means choosing the EWH #k to perform the task of demand dispatch during the time slot i. The value of 0 means not choosing the EWH #k to perform the task of demand dispatch during the time slot i.

The optimization problem is subject to the constraints in (11) and (12):

$$O_{i} = \left\{ {k\left| {S_{Sk} \left( i \right) = f_{T,task} (i),k = 1,2, \ldots ,N} \right.} \right\}$$
(11)
$$\sum\limits_{k = 1}^{N} {P_{WH} \left( k \right)\theta_{k} \left( i \right)} \ge \left| {P_{S} \left( i \right)} \right|$$
(12)

The above optimization problem is a 0–1 integer programming problem, which can be solved by the optimization software tools. The optimal solution constitutes a set of scheduled EWH loads during the time slot i, which is denoted by \(S_{i}\):

$$S_{i} = \left\{ {k\left| {\theta_{k} \left( i \right) = 1,k \in O_{i} } \right.} \right\}$$
(13)

4.4 Precise execution logic

Precise execution logic generates the control signal, which includes the new thermostat setpoints at time slot i for the scheduled EWH loads. According to the thermostat setpoint control rule specified in (6), the control signal generation rule is described as follows:

$$T_{new,set}^{k} \left( i \right) = \left\{ {\begin{array}{*{20}l} {\left\lceil {T_{k} \left( i \right)} \right\rceil + D_{s} } \hfill & {k \in S_{i} ,f_{T,task} (i) = 1} \hfill \\ {\left\lfloor {T_{k} \left( i \right)} \right\rfloor } \hfill & {k \in S_{i} ,f_{T,task} (i) = - 1} \hfill \\ \end{array} } \right.$$
(14)

where \(T_{new,set}^{k} \left( i \right)\) is the new thermostat setpoint of the EWH #k at time slot i.

4.5 Description of demand dispatch strategy

The data-driven demand dispatch strategy for state awareness, real-time analysis, scientific decision-making and precise execution at the start of a time slot i is summarized as follow:

  1. 1)

    State awareness: for each EWH #k, obtain the scheduling state \(S_{Sk} \left( i \right)\).

  2. 2)

    Real-time analysis: determine the load amount \(P_{S} \left( i \right)\)and the executed task type \(f_{T,task} (i)\).

  3. 3)

    Scientific decision-making: solve \(\theta_{k} \left( i \right)\) according to (10)–(12) and form the scheduled EWH load set \(S_{i}\).

  4. 4)

    Precise execution: for each EWH \(k \in S_{i}\), generate the new thermostat setpoint \(T_{new,set}^{k} \left( i \right)\) and send the control signal to the EWH #k.

5 Case studies

The proposed demand dispatch strategy is performed on both a nine-resident system and some much larger systems, and several case studies are designed.

The first case study is carried out in a nine-resident system, which is designed to illustrate the effectiveness and advantages of the proposed demand dispatch strategy, since more detailed information can be demonstrated in a small-scale case study. The second case study is carried out in the 800-resident system. The results show that the proposed demand dispatch strategy is not only applicable to the small residential system but also for the large residential system. The third case study is used to show changes in total reward costs with the number of residents, the length of event time and the load-scheduling amount. These three case studies illustrate the effectiveness and the advantages of the proposed strategy as well as excellent scalability. In addition, note that in this paper, a resident has only an EWH and the length of event time is subdivided into short equal-length operational time slots. The length of the short time slot is 1 min.

5.1 First case study

The test system has nine residents. In this system, every resident has different personal preferences for their own EWHs, as shown in Table 1. The physical attributes and the initial status for the nine EWHs are given in Table 2. Tini stands for the water temperature in the tank at initial time, sini stands for the state of heating element at initial time. And suppose that the residents won’t use hot water during this period. The room temperature is 18 °C. The reward rates R1, R2, and R3 are set to 4, 8, and 12 cents/(kW·min), respectively [14].

Table 1 User settings for EWHs
Table 2 Physical attributes and initial status for nine EWHs

In the nine-resident case study, the cloud-based platform of the load aggregator received the demand dispatch event from a service provider at initial time, which asked the load aggregator to increase 4 kW for 5 min among these nine EWHs. The power and temperature change of each EWH are analyzed under no-control and the proposed strategy. Also, the total reward costs are compared under different control schemes.

  1. 1)

    Results under no-control

Figure 7 shows the power change versus time and the temperature change versus time under no-control during the period of the event. From Fig. 7(a), it can be observed that at the start of time slot 1, the EWHs #1, #3, #4, #7, and #9 could participate in demand dispatch. From Fig. 7(b), it can be observed that the temperature change of the EWHs conforms to the operating rule of an EWH appliance described in Sect. 3.3, which illustrates that the simulation is reliable.

Fig. 7
figure 7

Simulation under no-control during period of event

  1. 2)

    Results under the proposed strategy

Figure 8 shows the power change versus time and the temperature change versus time under the proposed strategy during the period of the event. Table 3 gives the control scheme under the proposed control. From Table 3, it can be showed that during the period of the event, the EWHs #1 and #7 are controlled to respond to demand dispatch at the start of time slot 1, which can be demonstrated by comparing Figs. 7 and 8.

Fig. 8
figure 8

Simulation under the proposed strategy during period of event

Table 3 Control scheme under the proposed strategy

Figure 9 compares the power change of the test system versus time under no control and the proposed strategy. The power of the load aggregation system can be calculated by summing up the power of all the EWHs in the test system. Figure 9 shows that compared with the power under no control, the power of the load aggregation system is increased by 5 kW during the period of the event. It shows that the load aggregator completes the task specified in the demand dispatch event, which proves that the proposed strategy is effective.

Fig. 9
figure 9

Power change of load aggregation system versus time in first case study

  1. 3)

    Comparison of reward costs

Table 4 gives the list of control schemes meeting the requirement for time slot points 1–5. Figure 10 compares the reward payments under different control schemes. From Fig. 10, it can be observed that the reward payment under the control scheme No. 3 is minimal. The control scheme No. 3 is generated under the proposed strategy, which shows that the proposed strategy can minimize the reward payment for the load aggregator. The reason is that the new thermostat setpoints of the EWHs #1 and #7 after being adjusted are still within satisfactory setpoint range, so the reward rate for residents #1 and #7 is R1.

Table 4 List of control schemes meeting the requirement
Fig. 10
figure 10

Reward payments under different control schemes

5.2 Second case study

The second case is studied in a large system which has 800 residents, because the proposed strategy is expected to solve practical problems within this scale. In the large-scale system study, the load aggregator is asked to increase 1 MW for 5 min among these EWHs.

A strategy which is to minimize the difference between the actual dispatched load amount and the load amount specified in the demand dispatch event [22], is used as a contrast strategy. And we compare the proposed strategy with the contrast strategy from the total reward payment and the power change of the test system.

The reward payments under the proposed strategy and the contrast strategy in the second case study are 48.9 dollars and 83.3 dollars, respectively. Figure 11(a) shows the power change of the load aggregation system versus time in the second case study. Figure 11(b) shows the power deviation change versus time between the power under the proposed strategy and the power under the contrast strategy. From Fig. 11, it can be concluded that compared with the contrast strategy, the proposed strategy can realize the minimum reward payment of the load aggregator, and completes the requirement from the service provider. It also shows that the proposed strategy can solve practical problems within 800 residents.

Fig. 11
figure 11

Power change of load aggregation system versus time in second case study

5.3 Third case study

In order to further illustrate the advantages and the good scalability of the proposed strategy, the third case is studied with different numbers of residents, different dispatched load amount and different event time length, respectively. We compare the results under the proposed strategy and the contrast strategy.

Figure 12 gives the changes in reward payment versus different numbers of residents, when the load aggregator is asked to increase 500 kW for 10 min. From Fig. 12, it can be observed that the reward payment under the proposed strategy is always less than the one under the contrast strategy. It shows that the proposed strategy can realize the minimum reward payment of the load aggregator with different numbers of residents.

Fig. 12
figure 12

Changes in reward payment versus different numbers of residents

Figure 13 gives the changes in reward payment versus different dispatched load amount in a 4000-resident system for 10 min. From Fig. 13, it can be observed that the reward payment under the proposed strategy is less and the difference between the reward payment under the proposed strategy and under the contrast strategy increases with the increase of the dispatched load amount. It shows that the proposed strategy can realize the minimum reward payment of the load aggregator with different dispatched load amount.

Fig. 13
figure 13

Changes in reward payment versus different dispatched load amount

Figure 14 gives the changes in reward payment versus different event time length in a 4000-resident system for increasing 1 MW. From Fig. 14, it can be observed that the reward payment under the proposed strategy is less, and the difference between the reward payment under the proposed strategy and under the contrast strategy increases with the increase of the event time length. It shows that the proposed strategy can realize the minimum reward payment of the load aggregator with different event time length.

Fig. 14
figure 14

Changes in reward payment versus different event time lengths

6 Conclusion

In this paper, the demand dispatch in cyber-physical load aggregation system is studied. Based on the theory of CPS, a control strategy consisting of state awareness, real-time analysis, scientific decision-making and precise execution between the cyber space and the physical space is proposed to automatically respond to the supply-demand regulation of power grid for the load aggregator. The results of the three different study cases show the effectiveness, advantage, and excellent scalability of the proposed strategy. The proposed strategy can be helpful for load aggregator, to achieve the optimal economic control of residents’ EWHs for responding to supply-demand regulation of power grid.