1 Introduction

The renewable energy resources, such as wind and solar, have aroused more and more attention around the world due to their renewable and environmental advantages in recent years [1]. However, renewable distributed generation (DG) with intermittent characteristics will introduce a large amount of uncertainties to the demand side. One concern is the severe variations to the load power of the tie-line in an electric region [2], which will significantly impact the stable operation of the power grid and limit the utilization of the renewable energy [3].

One of the traditional control strategies for the load curve smoothing of the tie-line is the regulation of the traditional generators [4]. However, the response speed of these types of generators is not fast enough to follow the power fluctuations of DGs, and the efficiency of power generation will be reduced. Another method to tackle this problem is through the utilization of energy storage system (ESS), such as batteries, flywheels, etc., to respond to the power fluctuations [5, 6]. The ESS was used to improve the voltage profile which was affected by the stochastic outputs of the DGs [7, 8]. The ESS was investigated for peak load shaving of the tie-line in [9, 10]. Through dynamic adjusting of the charging power, the ESS is able to effectively respond to the power fluctuations caused by the DGs [11, 12]. However, large scale adoption of ESS has not economical and practical until now.

With the fast development of a smart grid, there have been growing interests in the flexibility of demand response. The total response capacity from different types of demand side resources (DSRs) is considerable [13, 14]. Among all the DSRs, the DG is able to decrease its power generation [15], and the electric vehicle (EV) is able to operate as a mobile energy storage unit with its rapid charging and discharging capabilities [16], and the thermostatically-controlled load (TCL) can respond to the power variations by switching between “ON” and “OFF” [17]. These available DSRs with different response characteristics have been proven to be effective resources for demand response at the demand side. Thus, a number of DSRs are able to provide various types of ancillary services for the power grid. Considering the response capacity from the EVs [16] and TCLs [17], these resources were able to mitigate the voltage variations in the distribution network with DGs. Meanwhile, the power loss of the distribution network was minimized based on a real-time coordination of the EV charging load [18, 19]. The EVs were able to operate as an EES to reshape the load profile and alleviate the peak load relying on their rapid responding capability [20, 21]. The TCLs, such as heat pumps, were able to smooth the power fluctuations of the tie-line with DGs [22, 23].

The above researches focused on improving the power quality using a single type of DSR. However, each type of DSR has its own response characteristics and the mathematical model of each DSR is quite different. As a result, it is difficult for an aggregator to coordinate different types of DSRs for the operational management at the demand side.

At present, in order to realize the coordinated control of different types of DSRs, an aggregator is usually built for each type of DSR. In [24], the EV aggregator and the TCL aggregator were established separately to provide frequency response service to the power grid, and the control signal was first responded by the EV aggregator and then the remaining unbalanced power was further compensated by the TCL aggregator. However, the following two aspects need to be further investigated:

  1. 1)

    In the existing researches, one aggregator only focuses on one type of DSR.

  2. 2)

    For different aggregators with different types of DSRs, the queuing control strategy is usually used to realize the power control of the different aggregators.

As a result, these two aspects in fact increase the difficult to realize the coordinated control of different types of DSRs, which also means that the response characteristics of different types of DSRs are not fully utilized. The existing control strategies usually lead to the excessive dependence on one type of DSR and the control effect is poor and the response capacity is limited during some of the time periods. Thus it is necessary to develop a unified mathematical model to describe their energy storage capability and their response characteristics. And an aggregator is able to manage different types of DSRs based on the unified state model, which contributes to realizing the coordinated control of different types of DSRs.

In this paper, a load curve smoothing strategy based on a unified state model of different DSRs is developed for the demand response. Based on the state models of different DSRs, a unified state model is first developed to describe the response characteristics of the DSRs with a unified mathematical expression. Then, a load curve smoothing strategy using the unified state model is proposed to coordinate different types of DSRs to smooth the power fluctuations caused by the DGs. A control matrix is introduced to manage the power outputs of different DSRs, where the comfort levels of the power consumers and the response order are considered. The power fluctuation rate is introduced as an indicator to evaluate the load power variations of the tie-line in a residential region. The unified state model in the proposed load curve smoothing strategy can determine the real-time response capacity and the response states of different types of DSRs, and the complexity for managing large quantities of DSRs is significantly reduced. Compared with the existing researches, comparative studies show that the unified state model based load curve smoothing strategy takes better advantage of the response characteristics of different types of DSRs and has a better smoothing control effect.

2 Framework of load curve smoothing strategy

Considering the response capability from different types of DSRs, the framework of the load curve smoothing strategy for a given residential region is shown in Fig. 1. In this paper, the power generation of DGs, the charging/discharging power of EVs and the consumed power of the TCLs are uniformly defined as the power outputs of the DSRs. The power output of the power generation and discharging power is a positive value, and the power output of the charging power and consumed power is a negative value.

Fig. 1
figure 1

Framework of the load curve smoothing strategy

In the load curve smoothing strategy, the load data of the tie-line in the residential region, which is the sum of the uncontrollable load, the DGs, the EVs and the TCLs, is measured in real time. To implement the smoothing control strategy, the real-time power demand of the region is determined according to the power fluctuations of the load. The power demand is compensated by the DSRs.

An aggregator is responsible for managing the power outputs of all the available DSRs. The DSRs of the DGs, EVs and TCLs are able to serve as an ESS under the coordinated control of the aggregator. The aggregator is able to obtain the operational information of the available DSRs, evaluate their response capacity and determine their power outputs with the unified state model. And the required operational information of different types of DSRs is fully discussed in Sect. 3. Compared with the response capacity of a single DSR, the aggregated capacity of all DSRs managed by the aggregator is significantly increased.

According to the power demand in the residential region and the actual response capacity from the DSRs, the power outputs of all the DSRs are determined and the control signals are allocated to all the available DSRs. The DSRs accept the control signals from the aggregator, and the power outputs of these resources are adjusted accordingly to respond to the power demand.

3 Unified state model of DSRs

Each type of DSR at the demand side has its own response characteristic. The unified state model is able to describe their response characteristics with a unified mathematical expression. The DSRs of DGs, EVs and TCLs are investigated in this section.

3.1 State model of DG

The DGs, such as the rooftop photovoltaic panels and the wind turbines, inject power to the power grid. The operational area of an individual DG is shown in Fig. 2.

Fig. 2
figure 2

Operational area of an individual DG

The \( \underline{P}_{g,t}^{G} \) and \( \bar{P}_{g,t}^{G} \) of DG g are expressed by (1).

$$ \left\{ \begin{array}{l} \underline{P}_{g,t}^{G} = 0\hfill \\ \bar{P}_{g,t}^{G} = P_{g,t}^{Gm} \hfill \\ \end{array} \right. $$
(1)

where \( P_{g,t}^{Gm} \) is the maximum power generation of DG g at time point t; \( \underline{P}_{g,t}^{G} \) and \( \bar{P}_{g,t}^{G} \) are lower and upper limitations of power output of DG g at time point t.

The state model of the DG is given by (2).

$$ E_{g,t + \Delta t}^{G} = E_{g,t}^{G} + \frac{{P_{g,t}^{G} \Delta t}}{{Q_{g}^{G} }} = E_{g,t}^{G} + P_{g,t}^{G} \frac{\Delta t}{{Q_{g}^{G} }} $$
(2)

where \( E_{g,t}^{G} \) is the state of DG g at time point t varies within [0, 1]; \( E_{g,t + \Delta t}^{G} \) is the predicted state value at time point t + Δt; \( P_{g,t}^{G} \) is the power generation of DG g at time point t; \( Q_{g}^{G} \) is the accumulated energy generated by the DG with the rated power generation, which is calculated by (3).

$$ Q_{g}^{G} = P_{g}^{Gr} \Delta tM $$
(3)

where \( P_{g}^{Gr} \) is the rated power generation of DG g; M is the number of time intervals in a day.

To build the state model of the DG, the operational information of \( E_{g,t}^{G} \), \( P_{g,t}^{G} \), \( P_{g,t}^{Gm} \) and \( P_{g}^{Gr} \) needs to be obtained by the aggregator.

3.2 State model of EV

When traveling, an EV makes no contribution to the power grid. When connected to the power grid, a bi-directional power flow (charging/discharging) between the EV and the power grid can be realized.

The \( \underline{P}_{v,t}^{V} \) and \( \bar{P}_{v,t}^{V} \) of EV v are expressed by (4).

$$ \left\{ \begin{array}{ll} \underline{P}_{v,t}^{V} = - \,P_{v}^{Vc} , \, \bar{P}_{v,t}^{V} = P_{v}^{Vd} \,& t \in \left[ {t_{v}^{Vs} ,t_{v}^{Vd} } \right] \hfill \\ \underline{P}_{v,t}^{V} = \bar{P}_{v,t}^{V} = 0 \,& t \notin \left[ {t_{v}^{Vs} ,t_{v}^{Vd} } \right] \hfill \\ \end{array} \right. $$
(4)

where \( \underline{P}_{v,t}^{V} \) and \( \bar{P}_{v,t}^{V} \) are lower and upper limitations of power output of EV v at time point t, \( \bar{P}_{v,t}^{V} \) is assumed to be equal to \( - \,\underline{P}_{v,t}^{V} \); \( P_{v}^{Vc} \) and \( P_{v}^{Vd} \) are rated charging and discharging power of EV v; \( t_{v}^{Vs} \) and \( t_{v}^{Vd} \) are start and finish charging times of EV v.

The operational area of an individual EV is illustrated in the shaded area shown in Fig. 3, which is limited by the power output limitations and the state of charge (SOC) limitations. Points A, B, C, D, E and F are used to obtain the upper and lower boundaries of the operational area. The upper boundary of the operational area follows the path of “A-B-C”, on which the EV is charged with the rated charging power from \( t_{v}^{Vs} \) until the \( \overline{SOC}_{v}^{V} \) is reached, where \( \overline{SOC}_{v}^{V} \) is upper limitation of SOC value of EV v. The lower boundary of the operational area follows the path of “A-D-E-F”, on which the EV is discharged at the rated discharging power from \( t_{v}^{Vs} \) until the \( \underline{SOC}_{v}^{V} \) is reached (from point A to D) and the EV is charged at the rated charging power (from point E to F) to achieve the \( SOC_{v}^{Vd} \) at \( t_{v}^{Vd} \), where \( \underline{SOC}_{v}^{V} \) is lower limitation of SOC value of EV v and \( SOC_{v}^{Vd} \) is the expected SOC value for traveling of EV v.

Fig. 3
figure 3

Operational area of an individual EV

The \( S_{v,t}^{V} \) is given by (5). When connected to the power grid, the state model of the EV is given by (6).

$$ S_{v,t}^{V} = \frac{{SOC_{v,t}^{V} - \underline{SOC}_{v}^{V} }}{{\overline{SOC}_{v}^{V} - \underline{SOC}_{v}^{V} }} $$
(5)
$$ S_{v,t + \Delta t}^{V} = S_{v,t}^{V} - \frac{{P_{v,t}^{V} \Delta t}}{{Q_{v,t}^{Vr} }} = S_{v,t}^{V} + P_{v,t}^{V} \left( { - \,\frac{\Delta t}{{Q_{v,t}^{Vr} }}} \right) $$
(6)

where \( S_{v,t}^{V} \) is the normalized SOC value of EV v at time point t varies within [0, 1]; \( SOC_{v,t}^{V} \) is the SOC value of EV v at time point t; \( S_{v,t + \Delta t}^{V} \) is the predicted value at time point t + Δt; \( P_{v,t}^{V} \) is the power output of EV v at time point t; \( Q_{v,t}^{Vr} \) is determined by (7).

$$ Q_{v,t}^{Vr} = \left\{ \begin{array}{ll} \frac{{Q_{v}^{V} }}{{\eta_{v}^{Vc} }}\left( {\overline{SOC}_{v}^{V} - \underline{SOC}_{v}^{V} } \right) \, &P_{v,t}^{V} < 0 \hfill \\ Q_{v}^{V} \left( {\overline{SOC}_{v}^{V} - \underline{SOC}_{v}^{V} } \right) \, &P_{v,t}^{V} = 0 \hfill \\ Q_{v}^{V} \eta_{v}^{Vd} \left( {\overline{SOC}_{v}^{V} - \underline{SOC}_{v}^{V} } \right) \, &P_{v,t}^{V} > 0 \hfill \\ \end{array} \right. $$
(7)

where \( Q_{v}^{V} \)is the battery capacity of EV v; \( \eta_{v}^{Vc} \) and \( \eta_{v}^{Vd} \) are charging and discharging efficiencies of EV v.

To build the state model of the EV, the operational information of \( S_{v,t}^{V} \), \( P_{v,t}^{V} \), \( P_{v,t}^{Vc} \), \( P_{v,t}^{Vd} \), \( Q_{v}^{V} \), \( \eta_{v}^{Vc} \), \( \eta_{v}^{Vd} \), \( t_{v}^{Vd} \), \( SOC_{v}^{Vd} \), \( \underline{SOC}_{v}^{V} \) and \( \overline{SOC}_{v}^{V} \) needs to be obtained by the aggregator.

3.3 State model of TCL

The power consumption of TCLs should be modeled to satisfy the expected temperature requirements of the consumers. Taking the TCL of the heat pump for heating as an example, the operational area of an individual TCL is shown in Fig. 4.

Fig. 4
figure 4

Operational area of an individual TCL

The \( \underline{P}_{l,t}^{L} \) and \( \bar{P}_{l,t}^{L} \) of TCL l are expressed by (8).

$$ \left\{ \begin{array}{l} \underline{P}_{l,t}^{L} = - \,P_{l,t}^{Lc} \hfill \\ \bar{P}_{l,t}^{L} = 0 \hfill \\ \end{array} \right. $$
(8)

where \( \underline{P}_{l,t}^{L} \) and \( \bar{P}_{l,t}^{L} \) are lower and upper limitations of power output of TCL l at time point t; \( P_{l,t}^{Lc} \) is the rated power consumption of TCL l at time point t.

As depicted in Fig. 4, during the time period of [0, \( t_{l}^{Lb} \)], the TCL operates with the “ON” state and the room temperature is increasing. During the time period of [\( t_{l}^{Lb} \), \( t_{l}^{Ld} \)], the TCL operates in the “OFF” state and the room temperature is decreasing. The lower and upper thermostat settings of TCL \( \underline{T}_{l}^{Lcon} \) and \( \bar{T}_{l}^{Lcon} \) are defined to obtain the controllable area. For the TCLs in the “ON” group, the TCLs within the range of [\( \underline{T}_{l}^{Lcon} , \, \bar{T}_{l}^{L} \)] can be selected to turn “OFF”, where \( \bar{T}_{l}^{L} \) is the upper limitations of room temperature of TCL l. Similarly, for the TCLs in the “OFF” state, the TCLs within the the range of [\( \underline{T}_{l}^{L} , \, \bar{T}_{l}^{Lcon} \)] can be selected to turn “ON”, where \( \underline{T}_{l}^{L} \) is the lower limitations of room temperature of TCL l. The operational area will help to decrease the switching frequency of the TCL.

In order to standardize the \( T_{l,t}^{L} \) and \( T_{l,t}^{Lout} \), \( \theta_{l,t}^{L} \) (\( 0 \le \theta_{l,t}^{L} \le 1 \)) and \( \theta_{l,t}^{Lout} \) are the normalized room temperature and the outdoor temperature of TCL respectively, which are determined by (9). The state model of the TCL is then given by (10).

$$ \left\{ \begin{array}{l} \theta_{l,t}^{L} = \frac{{T_{l,t}^{L} - \underline{T}_{l}^{L} }}{{\bar{T}_{l}^{L} - \underline{T}_{l}^{L} }} \hfill \\ \theta_{l,t}^{Lout} = \frac{{T_{l,t}^{Lout} - \underline{T}_{l}^{L} }}{{\bar{T}_{l}^{L} - \underline{T}_{l}^{L} }} \hfill \\ \end{array} \right. $$
(9)
$$ \begin{aligned} \theta_{l,t + \Delta t}^{L} & = \left[ {\theta_{l,t}^{Lout} + \left( {\theta_{l,t}^{L} - \theta_{l,t}^{Lout} } \right)a_{l} } \right] - P_{l,t}^{L} \frac{{1 - a_{l} }}{{\bar{T}_{l}^{L} - \underline{T}_{l}^{L} }} \\ &= \left[ {\theta_{l,t}^{Lout} + \left( {\theta_{l,t}^{L} - \theta_{l,t}^{Lout} } \right)a_{l} } \right] + P_{l,t}^{L} \frac{{a_{l} - 1}}{{\bar{T}_{l}^{L} - \underline{T}_{l}^{L} }} \\ \end{aligned} $$
(10)

where \( \theta_{l,t + \Delta t}^{L} \) is the predicted state value at time point t + Δt; \( a_{l} \) is equal to \( {\text{e}}^{{\Delta t/\left( {R_{l} C_{l} } \right)}} \); \( R_{l} \) and \( C_{l} \) are the thermal resistance and capacitance of TCL l; \( P_{l,t}^{L} \) is equal to \( \underline{P}_{l,t}^{L} \) in the “ON” state and \( \bar{P}_{l,t}^{L} \) in the “OFF” state; \( T_{l,t}^{L} \) and \( T_{l,t}^{Lout} \) are the room temperature and the outdoor temperature of TCL l at time point t.

To acquire the state model of the TCL, the operational information of \( P_{l,t}^{L} \), \( P_{l,t}^{Lc} \), R l , C l , \( \underline{T}_{l}^{L} \), \( \bar{T}_{l}^{L} \), \( \underline{T}_{l}^{Lcon} \), \( \bar{T}_{l}^{Lcon} \) and \( T_{l,t}^{Lout} \) needs to be obtained by the aggregator.

3.4 Unified state model

According to the state models in Sects. 3.1, 3.2 and 3.3, the (2), (6) and (10) have a unified mathematical expression. Then the state model of different DSRs is given by (11), which is further explained by (12)–(17).

$$ \left[ \begin{aligned} \varvec{E}_{t + \Delta t}^{G} \hfill \\ \varvec{S}_{t + \Delta t}^{V} \hfill \\\varvec{\theta}_{t + \Delta t}^{L} \hfill \\ \end{aligned} \right] = \left[ \begin{aligned} \varvec{E}_{t}^{G} \hfill \\ \varvec{S}_{t}^{V} \hfill \\\varvec{\theta}_{t}^{L} \hfill \\ \end{aligned} \right] + \left[ {\begin{array}{*{20}c} {\varvec{P}_{t}^{G} } & {\mathbf{0}} & {\mathbf{0}} \\ {\mathbf{0}} & {\varvec{P}_{t}^{V} } & {\mathbf{0}} \\ {\mathbf{0}} & {\mathbf{0}} & {\varvec{P}_{t}^{L} } \\ \end{array} } \right]\left[ \begin{aligned}\varvec{\delta}_{t}^{G} \hfill \\\varvec{\delta}_{t}^{V} \hfill \\\varvec{\delta}_{t}^{L} \hfill \\ \end{aligned} \right] $$
(11)
$$ \left\{ \begin{aligned} \varvec{E}_{t + \Delta t}^{G} \,= \,\left[ {E_{1,t + \Delta t}^{G} , \ldots ,E_{g,t + \Delta t}^{G} , \ldots ,E_{{N_{G} ,t + \Delta t}}^{G} } \right]^{\text{T}} \hfill \\ \varvec{S}_{t + \Delta t}^{V} \,= \,\left[ {S_{1,t + \Delta t}^{V} , \ldots ,S_{v,t + \Delta t}^{V} , \ldots ,S_{{N_{V} ,t + \Delta t}}^{V} } \right]^{\text{T}} \hfill \\\varvec{\theta}_{t + \Delta t}^{L} \,= \,\left[ {\theta_{1,t + \Delta t}^{L} , \ldots ,\theta_{l,t + \Delta t}^{L} , \ldots ,\theta_{{N_{L} ,t + \Delta t}}^{L} } \right]^{\text{T}} \hfill \\ \end{aligned} \right. $$
(12)
$$ \varvec{E}_{t}^{G} \,= \,\left[ {E_{1,t}^{G} , \ldots ,E_{g,t}^{G} , \ldots ,E_{{N_{G} ,t}}^{G} } \right]^{\text{T}} $$
(13)
$$ \varvec{S}_{t}^{V} \,= \,\left[ {S_{1,t}^{V} , \ldots ,S_{v,t}^{V} , \ldots ,S_{{N_{V} ,t}}^{V} } \right]^{\text{T}} $$
(14)
$$ \varvec{\theta}_{t}^{L} \,= \,\left[ {\begin{array}{*{20}c} {\theta_{1,t}^{out} + \left( {\theta_{1,t}^{L} - \theta_{1,t}^{out} } \right)a_{1} } \\ \vdots \\ {\theta_{l,t}^{out} + \left( {\theta_{l,t}^{L} - \theta_{l,t}^{out} } \right)a_{l} } \\ \vdots \\ {\theta_{{N_{L} ,t}}^{out} + \left( {\theta_{{N_{L} ,t}}^{L} - \theta_{{N_{L} ,t}}^{out} } \right)a_{{N_{L} }} } \\ \end{array} } \right] $$
(15)
$$ \left\{ \begin{aligned} \varvec{P}_{t}^{G} {\text{ = diag}}\left[ {P_{1,t}^{G} , \ldots ,P_{g,t}^{G} , \ldots ,P_{{N_{G} ,t}}^{G} } \right] \hfill \\ \varvec{P}_{t}^{V} {\text{ = diag}}\left[ {P_{1,t}^{V} , \ldots ,P_{v,t}^{V} , \ldots ,P_{{N_{V} ,t}}^{V} } \right] \hfill \\ \varvec{P}_{t}^{L} {\text{ = diag}}\left[ {P_{1,t}^{L} , \ldots ,P_{l,t}^{L} , \ldots ,P_{{N_{L} ,t}}^{L} } \right] \hfill \\ \end{aligned} \right. $$
(16)
$$ \left\{ \begin{aligned}\varvec{\delta}_{t}^{G} \,= \,\left[ {\frac{\Delta t}{{Q_{ 1}^{G} }}, \ldots ,\frac{\Delta t}{{Q_{g}^{G} }}, \ldots ,\frac{\Delta t}{{Q_{{N_{G} }}^{G} }}} \right]^{\text{T}} \hfill \\\varvec{\delta}_{t}^{V} \,= \,\left[ { - \frac{\Delta t}{{Q_{ 1}^{Vr} }}, \ldots , - \frac{\Delta t}{{Q_{v}^{Vr} }}, \ldots , - \frac{\Delta t}{{Q_{{N_{V} }}^{Vr} }}} \right]^{\text{T}} \hfill \\\varvec{\delta}_{t}^{L} \,= \,\left[ {\frac{{a_{1} - 1}}{{\bar{T}_{1}^{L} - \underline{T}_{1}^{L} }}, \ldots ,\frac{{a_{l} - 1}}{{\bar{T}_{l}^{L} - \underline{T}_{l}^{L} }}, \ldots ,\frac{{a_{{N_{L} }} - 1}}{{\bar{T}_{{N_{L} }}^{L} - \underline{T}_{{N_{L} }}^{L} }}} \right]^{\text{T}} \hfill \\ \end{aligned} \right. $$
(17)

where N G is the number of DGs; N V is the number of EVs; N L is the number of TCLs.

Based on the state model given by (11), the unified state model is given by (18).

$$ \varvec{x}\left( {t + \Delta t} \right) = \varvec{x}\left( t \right) + \varvec{P}\left( t \right)\varvec{\delta}\left( t \right) $$
(18)

where \( \varvec{x} \) is the state matrix of DSRs; \( \varvec{P} \) is the power output matrix of DSRs; \( \varvec{\delta} \) is the time interval matrix after correction of DSRs.

4 Load curve smoothing strategy

4.1 Steps of load curve smoothing strategy

Based on (18), a load curve smoothing strategy is developed to smooth the load power fluctuations of the tie-line.

The \( r^{T} \), determined by (19) and (20), is used as an indicator to evaluate the power fluctuations.

$$ r^{T} = f^{T} \left( {\frac{{P_{\hbox{max} }^{D} - P_{\hbox{min} }^{D} }}{{P_{\text{rated}}^{D} }}} \right) $$
(19)
$$ \left\{ \begin{array}{ll} P_{\hbox{max} }^{D} = \hbox{max} \left( {P_{t}^{D} ,P_{t - \Delta t}^{D} , \ldots ,P_{{t - \left( {n - 1} \right)\Delta t}}^{D} } \right) \hfill \\ P_{\hbox{min} }^{D} = \hbox{min} \left( {P_{t}^{D} ,P_{t - \Delta t}^{D} , \ldots ,P_{{t - \left( {n - 1} \right)\Delta t}}^{D} } \right) \hfill \\ T = n\Delta t \hfill \\ \end{array} \right. $$
(20)

where \( f^{T} \left( \cdot \right) \) is a function to calculate the power fluctuation rate of the load during the time period T; \( P_{\text{rated}}^{D} \) is the rated load value; \( P_{\hbox{min} }^{D} \) and \( P_{\hbox{max} }^{D} \) are the minimum and maximum load values of the tie-line during the time period T, respectively; \( P_{t}^{D} \) is the load power of tie-line at time point t.

The r t , determined by (21), is used to evaluate the real-time power fluctuation.

$$ r_{t} = \frac{{P_{t}^{D} - P_{t - \Delta t}^{D} }}{\Delta t} $$
(21)

The \( \delta_{\text{drop}} \) and \( \delta_{\text{rise}} \), which are used to limit the variations of r t , are further defined by (22).

$$ \left\{ \begin{array}{l} \delta_{\text{drop}}^{{}} = - \frac{{P_{\text{rated}}^{D} r_{\text{limit}}^{T} }}{T} \hfill \\ \delta_{\text{rise}}^{{}} = \frac{{P_{\text{rated}}^{D} r_{\text{limit}}^{T} }}{T} \hfill \\ \end{array} \right. $$
(22)

where \( r_{\text{limit}}^{T} \) is the limitation of power fluctuation rate during time period T.

Based on the unified state model and the definition of the power fluctuation rate, the following steps are used to implement the load curve smoothing control strategy.

  • Step 1 Determining target power change of the load.

The following rules are used to determine the target smoothing load power of tie-line \( P_{t}^{ * } \).

  1. 1)

    If \( r_{t} < \delta_{\text{drop}} \), where \( \delta_{\text{drop}} \) is the drop rate limitations of power fluctuation rate, then

    $$ P_{t}^{ * } = P_{t - \Delta t}^{D} + \delta_{\text{drop}} \Delta t $$
    (23)
  2. 2)

    If \( r_{t} > \delta_{\text{rise}} \), \( \delta_{\text{rise}} \) is the rise rate limitations of power fluctuation rate, then

    $$ P_{t}^{ * } = P_{t - \Delta t}^{D} + \delta_{\text{rise}} \Delta t $$
    (24)
  3. 3)

    If \( \delta_{\text{drop}} \le r_{t} \le \delta_{\text{rise}} \), then

    $$ P_{t}^{ * } = P_{t}^{D} $$
    (25)

    Thus, \( \Delta P_{t}^{ * } \) is determined by (26).

    $$ \Delta P_{t}^{ * } = P_{t}^{ * } - P_{t}^{D} $$
    (26)

    where \( \Delta P_{t}^{ * } \) is the target power change of tie-line, which needs to be balanced by the DSRs considering their response capacity. If \( \Delta P_{t}^{ * } \) is higher (lower) than zero, then the chosen DSRs have to increase (decrease) their power outputs to accomplish the target smoothing load value.

  • Step 2 Determining response capacity of DSRs.

To realize the load curve smoothing control with the unified state model, the \( \varvec{P}\left( t \right) \) given by (16) is decomposed into \( \varvec{B\bar{P}}\left( t \right) \), i.e., the real-time power output \( P_{jj}^{i} \left( t \right) \) is replaced by \( B_{jj}^{i} \bar{P}_{jj}^{i} \left( t \right) \), as given by (27).

$$ \left\{ \begin{array}{l} \varvec{P}\left( t \right) = \varvec{B\bar{P}}\left( t \right) \hfill \\ P_{jj}^{i} \left( t \right) = B_{jj}^{i} \bar{P}_{jj}^{i} \left( t \right) \hfill \\ \end{array} \right. $$
(27)

where B is the power output control matrix of DSRs; \( \bar{\varvec{P}}\left( t \right) \) is the upper power output matrix of DSRs; i denotes the types of DSRs, i ∈ {G, V, L}; element \( \bar{P}_{jj}^{i} \left( t \right) \) of \( \bar{\varvec{P}}\left( t \right) \) is the upper power output limitation of DSR j; element \( B_{jj}^{i} \) of B (\( B_{jj}^{G} \in \left[ {0,1} \right] \), \( B_{jj}^{V} \in \left[ { - 1,1} \right] \), \( B_{jj}^{L} \in \left\{ { - 1,1} \right\} \)) is defined as the power output control variable, which is used to increase or decrease the power output of DSR j.

Then the revised unified state model is given by (28), which can be used to manage and control the power output of all the DSRs.

$$ \varvec{x}\left( {t + \Delta t} \right) = \varvec{x}\left( t \right) + \varvec{B\bar{P}}\left( t \right)\varvec{\delta}\left( t \right) $$
(28)

The response order of the DSR is determined by the row order in the unified state model, which is updated with time. For example, the response order of the DSRs at row m and n should be exchanged: ① for the column matrix (\( \varvec{x}\left( t \right) \) and \( \varvec{\delta}\left( t \right) \)) in (28), the element at row m is exchanged with the element at row n; ② for the diagonal matrix (B and \( \bar{\varvec{P}}\left( t \right) \)) in (28), the diagonal element at row m is exchanged with the diagonal element at row n. The response order of the DSRs is determined according to the different dispatching costs of different DSRs or other response orders preset by the aggregator. The response order of the DSRs for the smoothing control utilized in this paper is discussed in Sect. 4.2.

Based on the unified state model, the response capacity for increasing power output \( \varvec{P}^{\text{up}} \left( t \right) \) is given by (29), and the response capacity for decreasing power output \( \varvec{P}^{\text{dn}} \left( t \right) \) is given by (30). The \( \varvec{P}^{\text{up}} \left( t \right) \) is an N × 1 matrix, and the non-negative element at row m indicates the response capacity of the mth resource for increasing power output. The \( \varvec{P}^{\text{dn}} \left( t \right) \) is also an N × 1 matrix, and the non-positive element at row m indicates the response capacity of the mth resource for decreasing power output.

$$ \varvec{P}^{\text{up}} \left( t \right) = \left( {\bar{\varvec{B}} - \varvec{B}} \right)\bar{\varvec{P}}\left( t \right)\varvec{L}_{0} $$
(29)

where the diagonal elements of \( \bar{\varvec{B}} \) are the maximum values of the control variables; \( \varvec{L}_{0} \) is an N × 1 matrix with each element equal to 1.

$$ \varvec{P}^{\text{dn}} \left( t \right) = \left( {\underline{\varvec{B}} - \varvec{B}} \right)\bar{\varvec{P}}\left( t \right)\varvec{L}_{0} $$
(30)

where the diagonal elements of \( \underline{\varvec{B}} \) are the minimum values of the control variables.

To introduce the response capability of the state model, the lower triangular matrix \( \bar{\varvec{B}}^{ *} \) and \( \underline{\varvec{B}}^{ *} \) are defined to evaluate the response capacity for increasing and decreasing power output. The elements of \( \bar{\varvec{B}}^{ *} \) and \( \underline{\varvec{B}}^{ *} \) are defined by (31) and (32).

$$ \bar{B}_{jk}^{ * } = \left\{ \begin{array}{ll} 0 & j < k \hfill \\ \bar{B}_{jj} & j \ge k \hfill \\ \end{array} \right. $$
(31)
$$ \underline{B}_{ij}^{ * } = \left\{ \begin{array}{ll} 0 & j < k \hfill \\ \underline{B}_{jj} & j \ge k \hfill \\ \end{array} \right. $$
(32)

Then the response capacity for increasing and decreasing power output is further given by (33).

$$ \left\{ \begin{array}{l} \varvec{P}^{{{\text{up}} * }} \left( t \right) = \left( {\bar{\varvec{B}}^{ * } - \varvec{B}} \right)\bar{\varvec{P}}\left( t \right) \hfill \\ \varvec{P}^{{{\text{dn}} * }} \left( t \right) = \left( {\underline{\varvec{B}}^{ * } - \varvec{B}} \right)\bar{\varvec{P}}\left( t \right) \hfill \\ \end{array} \right. $$
(33)

where \( \varvec{P}^{{{\text{up}} * }} \left( t \right) \) is an N × 1 matrix, and the non-negative element at row m indicates the response capacity of the 1 ~ m resources for increasing power output; \( \varvec{P}^{{{\text{dn}} * }} \left( t \right) \) is an N × 1 matrix, and the non-positive element at row m indicates the response capacity of the 1 ~ m resources for decreasing power output.

  • Step 3 Determining the actual control matrix \( \varvec{B}^{ *} \).

    1. 1)

      If \( \Delta P_{t}^{ * } { > 0} \), obtain the maximum subscript j1 of \( P_{{j_{1} , 1}}^{{{\text{up}} * }} \) which satisfies \( P_{{j_{1} , 1}}^{{{\text{up}} * }} \le \Delta P_{t}^{ * } \). And the 1 ~ j1 resources in the unified state model have to increase their power output to realize the active power change \( \Delta P_{t}^{ * } \) as given by (34).

      $$ \left\{ \begin{array}{l} B_{jk}^{ * } = \bar{B}_{jk} \quad j = k,\,j \le j_{1} \hfill \\ B_{jk}^{ * } = B_{jk} \quad j = k,\,j > j_{1} \hfill \\ B_{jk}^{ * } = 0 \,\quad j \ne k \hfill \\ \end{array} \right. $$
      (34)
    2. 2)

      If \( \Delta P_{t}^{ * } { = 0} \), there is no need to adjust the element values of B as given by (35).

      $$ \varvec{B}^{ *} = \varvec{B} $$
      (35)
    3. 3)

      If \( \Delta P_{t}^{ * } < 0 \), obtain the maximum subscript j2 of \( P_{{j_{2} , 1}}^{{{\text{dn}} * }} \) which satisfies \( P_{{j_{ 2} , 1}}^{{{\text{up}} * }} \ge \Delta P_{t}^{ * } \). The 1 ~ j2 resources in the unified state model have to decrease their power output to realize the negative power change \( \Delta P_{t}^{ * } \) as given by (36).

      $$ \left\{ \begin{array}{ll} B_{jk}^{ * } = \underline{B}_{jk} & j = k,\,j \le j_{ 2} \hfill \\ B_{jk}^{ * } = B_{jk} & j = k,\,j > j_{ 2} \hfill \\ B_{jk}^{ * } = 0 & j \ne k \hfill \\ \end{array} \right. $$
      (36)

Thus the power outputs of all the DSRs are determined by (37). Meanwhile, the state model of the DSRs is updated by (38), and the row order of the unified state model is updated with the response order of the DSRs.

$$ \varvec{P}\left( t \right) = \varvec{B}^{ *} \bar{\varvec{P}}\left( t \right) $$
(37)
$$ \varvec{x}\left( {t + \Delta t} \right) = \varvec{x}\left( t \right) + \varvec{P}\left( t \right)\varvec{\delta}\left( t \right) = \varvec{x}\left( t \right) + \varvec{B}^{ *} \bar{\varvec{P}}\left( t \right)\varvec{\delta}\left( t \right) $$
(38)

The advantages of the unified state model for load curve smoothing control primarily include three parts. First, different types of DSRs are able to be described in the unified state model, which provide a new solution for managing the large number of DSRs in the aggregator with different types of DSRs. Secondly, once the required response capacity is determined, the new power output control matrix is correspondingly generated to manage the power outputs of the DSRs in real time. Thirdly, the states of the DSRs at the next time step are able to be predicted and obtained, which will be used for short-time prediction of DSRs.

4.2 Response order for smoothing control

In this paper, it is assumed that the connecting states of the EVs include the charging state (\( P_{j,t}^{V} = - P_{j,t}^{Vc} \)), the idle state (\( P_{j,t}^{V} = 0 \)) and the discharging state (\( P_{j,t}^{V} = P_{j,t}^{Vd} \)). It is also assumed that the connecting states of the TCLs include the “ON” state (\( P_{j,t}^{L} = - \,P_{j,t}^{Lc} \)) and the “OFF” state (\( P_{j,t}^{L} = 0 \)). To respond to the power demand, the controllable EV can change its connecting state between charging state and idle state (“charging ↔ idle”) and between idle state and discharging state (“idle ↔ discharging”), and the controllable TCL can change its connecting state between “ON” state and “OFF” state (“ON ↔ OFF”). The response modes of “charging ↔ idle” and “ON ↔ OFF” are just to change the time period for power consumption, and the cost of the EV’s “charging ↔ idle” mode is verified to be lower than the cost of TCL’s “ON ↔ OFF” mode [25]. However, the EV battery has to discharge power to the power grid in the response mode of “idle ↔ discharging”, which requires more cost compensation than other response modes [26].

In order to utilize the unified state model in the smoothing control, the response order of the DSRs for increasing and decreasing power output is shown in Fig. 5. The structure of both Fig. 5a and 5b is divided into three layers. The first layer introduces the response order of the DSR type during the load curve smoothing. In the second layer, each column represents the response order of the DSRs with the corresponding DSR type. In the third layer, each unit provides the satisfied constraints of the corresponding DSRs. And the response order of Fig. 5a and 5b is then introduced in detail. Two main principles of the cost of demand response and the utilization level of renewable energy are considered when deciding the response order of the DSRs.

Fig. 5
figure 5

Response order of DSRs

As shown in Fig. 5a, the response order of the DSRs for increasing power output is the charging EVs to stop charging, the “ON” state TCLs to switch off, the idle EVs to discharge and then the uncontrollable DSRs. The response order for increasing power output is shown as follows: ① the charging EV with higher state value will have the priority to stop charging; ② the “ON” state TCL with higher state value will have the priority to switch off; ③ the idle EV with higher state value will have the priority to discharge; ④ the DSRs, which have reached their upper power output limitations can be seen as the uncontrollable load, and the DGs are seen as the uncontrollable load for increasing power output.

As shown in Fig. 5b, the response order of the DSRs for decreasing power output is the discharging EVs to stop discharging, the “OFF” state TCLs to switch on, the idle EVs to recharge, the DGs to decrease power generation and then the uncontrollable DSRs. The response order for decreasing power output is shown as follows: ① the discharging EV with lower state value will have the priority to stop discharging; ② the “OFF” state TCL with lower state value will have the priority to switch on; ③ the idle EV with lower state value will have the priority to charge; ④ the DG with higher state value will have the priority to decrease power generation; ⑤ the DSRs, which have reached their lower power output limitations, can be seen as the uncontrollable load.

5 Case studies and simulation results

In this section, a residential region introduced in [23] with households and high photovoltaic penetration is used to realize the load power smoothing control for the load power of the tie-line. The power capacity and the household number of the residential region are assumed to be the same with an IEEE 33-node distribution network with the maximum load power of 5084 kW introduced in [27]. To determine the number of the households, it is assumed that there are 10–40 households on each bus and each household has been installed with rooftop photovoltaic panels [28]. It is also assumed that the rooftop area varies within the range of [60, 100 m2] and the power density is 100 W/m2. The daily profiles of the photovoltaic generation and the uncontrollable load are provided by UKGDS [29].

The number of EVs per household is set to be 1.86 [30]. These EVs are privately owned, and 67% of them are home-based-work EVs and 33% of them are home-based-other EVs [31]. The traveling time distributions of the start traveling time (\( t_{j}^{Vd} \)) and the finish traveling time (\( t_{j}^{Vs} \)) are shown in Fig. 6 [32]. The rated charging and discharging power (\( P_{j,t}^{Vc} \) and \( P_{j,t}^{Vd} \)) of the EVs is 7 kW [33]. It is assumed that the EVs start charging as soon as their daily trips are finished. The other parameters, such as the battery capacity (\( Q_{j}^{V} \)), the charging and discharging efficiencies (\( \eta_{j}^{Vc} \) and \( \eta_{j}^{Vd} \)), the minimum expected SOC (\( SOC_{j}^{Vd} \)), the SOC lower and upper limitations (\( \underline{SOC}_{j}^{V} \) and \( \overline{SOC}_{j}^{V} \)), are given in [33].

Fig. 6
figure 6

Traveling time distributions of EVs

Each household is assumed to have its own TCL of heat pumps. The rated power consumption (\( P_{j,t}^{Lc} \)) of the TCL is 6 kW [34]. The other parameters, such as the outdoor temperature (\( T_{j,t}^{Lout} \)), the limitations of the room temperature (\( \underline{T}_{j}^{L} \) and \( \bar{T}_{j}^{L} \)), the upper and lower thermostat settings (\( \underline{T}_{j}^{Lcon} \) and \( \bar{T}_{j}^{Lcon} \)), the thermal parameters (R j and C j ), are provided by [17].

5.1 Control effect of load curve smoothing

Without the load curve smoothing control, the power outputs of the DGs, the EVs, the TCLs, the non-controllable load and the tie-line total load power in the residential region are shown in Fig. 7. The load curve of the TCL power is flat, and the charging load peak of the EVs appears in 16:00–20:00. It is obvious that the power fluctuations of the total load power are primarily caused by the intermittent power outputs of the DGs during the daytime. The response capacity from the DGs, the EVs and the TCLs are used to smooth the power fluctuations of the tie-line.

Fig. 7
figure 7

Power outputs of DSRs without load curve smoothing

The limitation of the power fluctuation rate (\( r^{T} \)) is assumed to be 10% per 15 min [11]. The total load power (\( P_{t}^{D} \)) without control, the target smoothing load power (\( P_{t}^{ * } \)) and the actual load power with control during a day are compared in Fig. 8a. It is clear that the power fluctuations of the load are effectively smoothed. In order to further illustrate the smoothing effect of the load power in the time period with high power fluctuations, the load power without control and with control from 08:00 to 15:00 are shown in Fig. 8b. It is obvious that the actual load power exactly follows the target load power. The total responded power from all the DSRs during the day are shown in Fig. 8c.

Fig. 8
figure 8

Load power without control and with control

In the existing researches of [15,16,17,18,19,20,21,22,23], the control signal was responded by only one type of DSR aggregator. In order to show the advantages of the proposed load curve smoothing control strategy, the power fluctuation rate of the load under four different control strategies is compared in Fig. 9. The four control strategies are marked with ①–④: ① without any control of DSRs; ② with the proposed control strategy based on the unified state model; ③ with the control of only the EV aggregator; ④ with the control of only the TCL aggregator. Under the proposed control strategy of ②, it is obvious that the power fluctuation rate is effectively controlled and decreased within the threshold of 10%. While under the control strategies of ③ and ④, the power fluctuation rate is above the threshold of 10% during some time periods of the day. Under the control strategy of ④, the power fluctuation rate is even higher than the value without any control strategy of ① during 12:00–13:00. This is because a large number of TCLs that are in the “OFF” state during the previous control period (12:00–13:00) have to be switched on when their lower temperature limitations are reached, which can be seen as a “secondary disturbance”. And the power fluctuation becomes more serious with the sudden increase of the load power caused by the TCLs, which is further explained in Sect. 5.3.

Fig. 9
figure 9

Power fluctuation rate of load under different control strategies

5.2 Function of unified state model

In order to introduce the function of the unified state model in the smoothing control, the response order, the response capacity and the control matrix are illustrated in this section. Meanwhile, different scenarios are compared to show the advantages of the unified state model.

During the smoothing control, the response order of the DSRs is the row order of these resources in the unified state model. In order to illustrate this situation, the response order of all the DSRs during the day for increasing power output (Fig. 5a) and decreasing power output (Fig. 5b) are shown in Fig. 10. Based on the response order discussed in Sect. 4.2, for increasing the power output, the distributions of the number of EVs to stop charging, the number of TCLs to switch off, the number of EVs to discharge and the number of uncontrollable resources during a day are shown in Fig. 10a. For decreasing the power output, the distributions of the number of EVs to stop discharging, the number of TCLs to switch on, the number of EVs to charge and the number of uncontrollable resources during a day are shown in Fig. 10b.

Fig. 10
figure 10

Response order of all DSRs

During the smoothing control, the response capacity of all the DSRs is obtained based on the unified state model (see (32)). The response capacity of the DSRs for increasing power output (\( \varvec{P}^{{{\text{up}} * }} \)) and decreasing power output (\( \varvec{P}^{{{\text{dn}} * }} \)) is shown in Fig. 11. In Fig. 11a, the point (t inc , m inc , P inc ) in the surface of the picture means the response capacity of the 1 ~ m inc resources for increasing power output at time t inc is P inc under the response order illustrated in Fig. 10a. In Fig. 11b, the point (t dec , m dec , P dec ) in the surface of the picture means the response capacity of the 1 ~ m dec resources for decreasing power output at time t dec is P dec under the response order illustrated in Fig. 10b.

Fig. 11
figure 11

Response capacity of all DSRs

In order to illustrate the B in the smoothing control, the values of the diagonal elements of B before control and after control at 12:30 with a response power of − 505.7 kW and at 13:30 with a response power of 454.4 kW are shown in Fig. 12.

Fig. 12
figure 12

Power output control matrix of all DSRs

Compared with the existing researches, the switching number of TCLs and the discharged energy of EVs are introduced to show the advantages of the unified state model for the smoothing control under the following three scenarios.

  1. 1)

    Scenario I: the unified state model is used for the smoothing control.

  2. 2)

    Scenario II: the TCL aggregator is first used for the smoothing control and the remaining unbalanced power is compensated by the EV aggregator.

  3. 3)

    Scenario II: the EV aggregator is first used for the smoothing control and the remaining unbalanced power is compensated by the TCL aggregator.

Under each scenario, the daily switching number of each TCL and the daily discharged energy of each EV are counted during the smoothing control, and then the average daily switching number of TCLs and the total daily discharged energy of EVs are calculated. Under the three scenarios, the probability density of the daily switching number is compared in Fig. 13a, where the average daily switching number of Scenario I, II, III is 21.518, 30.960, 11.275 respectively, and the probability density of the daily discharged energy is compared in Fig. 13b, where the total daily discharged energy of Scenario I, II, III is 0.998× 103 kWh, 1.237×103 kWh, 1.673×103 kWh respectively.

Fig. 13
figure 13

Control effect with three scenarios

As the TCLs are the first choice to respond to the power fluctuations in Scenario II, the average daily switching number of TCLs is much higher than the other two scenarios. As the EVs are the first choice for demand response in Scenario III, the total discharged energy is much higher than the other two scenarios. While with the proposed unified state model of Scenario I, the average switching number of TCLs is much lower than Scenario III, and the total discharged energy is lower than Scenarios II and III. With the coordinated control strategy, the unified state model is able to take advantage of different types of DSRs with different response characteristics, and thus the required discharged energy of EVs is decreased with an acceptable increase of the switching number of TCLs in the smoothing control.

5.3 Response characteristics of DSRs

The power outputs of the DGs without control and with control are shown in Fig. 14. It is obvious that the DG output with control exactly follows the DG output without control most of time. This occurs because in the response order for the smoothing control, the DGs are the last choice for demand response to decrease their power output. Thus the power generations of the DGs are fully guaranteed during the demand response process. However, during 10:00 to 11:00, the DG output with control cannot exactly track the DG output without control. This occurs because during this period, the response capacity from the EVs and TCLs for decreasing power output is not sufficient, and the DGs have to decrease their power outputs to realize the smoothing control. And from Fig. 10b, it is clear that the number of the available EVs and TCLs for decreasing power output is quite small and the DGs have to decrease their power outputs to realize the smoothing control.

Fig. 14
figure 14

Power output of DGs without control and with control

The power outputs of the EVs without control and with control are shown in Fig. 15. From 08:00 to 15:00, the power fluctuations of the EVs’ output are considerable. Demand response of the EVs is realized by changing their connecting state with the power grid. To increase the power output, the charging EVs will stop charging and then even discharge to the power grid. Thus the total power of the EVs is sometimes higher than zero. The peak load of the EVs without control appears during 17:00 to 20:00, which is caused by the similar start charging time, and the peak load value is effectively decreased with the smoothing control.

Fig. 15
figure 15

Power output of EVs without control and with control

The power outputs of the TCLs without control and with control are shown in Fig. 16. Before 05:00, the TCL outputs with control almost follow the power outputs without control. This occurs because the load power of the tie-line does not fluctuate seriously and only a small number of TCLs need to respond to the power fluctuations. After 05:00, the TCL outputs with control cannot follow the power outputs without control. From 12:00 to 17:00, the values of TCL outputs with control are close to zero, which means that almost all the TCLs switch off to respond to the positive power fluctuations. However, from 18:00 to 19:00, the peak load of the TCLs with control appears. This occurs because with the decreasing of the room temperature, the TCLs in the “OFF” state need to be switched on gradually.

Fig. 16
figure 16

Power output of TCLs without control and with control

To further introduce the response characteristics of the EVs in the load curve smoothing control, the SOCs of the EVs without control and with control are compared in Fig. 17. Each line in the figures means the SOC variations of an EV when connected to the power grid, and the SOC variations during the EV’s traveling period are not illustrated. The line segment with an upward trend indicates the EV is charging power (charging state). The line segment with a downward trend indicates the EV is discharging power (discharging state). The horizontal line segment means the EV is just connected to the power grid and the power output is zero (idle state). In the load curve smoothing control, the demand response of EVs is realized by changing their connecting state (“charging ↔ idle ↔ discharging”).

Fig. 17
figure 17

SOC variations of EVs without control and with control

From 08:00 to 15:00, most of the EVs are traveling and there are a small number of EVs to respond to the power fluctuations. From 15:00 to 20:00, most of the EVs finish their daily travel and start to charge. The charging process is not disturbed without the load curve smoothing strategy as shown in Fig. 17a. However, the SOC variations of EVs with control are quite different as shown in Fig. 17b. From 10:00 to 11:00, all the controllable EVs are controlled to charge power to respond to the positive load power fluctuation, and the remaining unbalanced power is compensated by TCLs and DGs (see Figs. 14 and 15). From 13:00 to 17:00, many EVs are forced to charge power so as to satisfy the EV users’ traveling demand before departure.

The room temperatures of the TCLs without control and with control are compared in Fig. 18. Each line in the figures means the room temperature variations of a TCL during the whole day. The line segment with an upward trend means the room temperature is increasing and the TCL is in the “ON” state. While the line segment with a downward trend means the room temperature is decreasing and the TCL is in the “OFF” state.

Fig. 18
figure 18

Room temperature of TCLs without control and with control

From Fig. 18a, it is obvious that the room temperature regularly varies between 19 °C and 23 °C. From Fig. 18b, the room temperature with control is quite different. From 10:00 to 11:00, all the controllable TCLs are turned on to respond to the positive load power fluctuation. Considering the power output of the TCLs in Fig. 16, there are no TCLs in the “ON” state from 12:00 to 17:00, which further verifies that the response capacity is limited during this period. From 14:00 to 18:00, the TCLs are not controlled to turn on, because the response capacity from the EVs is sufficient and the TCLs do not need to respond to the power fluctuations.

Based on the unified state model, the power fluctuations of the tie-line of the residential region are effectively decreased with the load curve smoothing control. At the same time, the comfort levels of the power consumers are guaranteed during the process of controlling the power output of the DSRs.

6 Conclusion

This work proposed a unified state model of the DSRs, with which the response capacity is utilized for the load curve smoothing. The simulation results show that the power fluctuation rate is decreased with the proposed unified state model based load curve smoothing strategy. The conclusions are summarized as follows:

  1. 1)

    The smoothing control strategy based on the unified state model is able to decrease the power fluctuation rate within a preset threshold. Compared with other control strategies, the proposed control strategy takes better advantage of the response characteristics of different types of DSRs and has a better smoothing control effect without a “secondary disturbance” of the load power.

  2. 2)

    The unified state model is able to describe different types of DSRs with a unified mathematical expression, which gives a new solution for the DSR management in the aggregator.

  3. 3)

    The comparative results show that the unified state model with the coordinated control strategy can decrease the total discharged energy of the EVs with an acceptable increase of the switching number of TCLs.

  4. 4)

    Considering the response order of the DSRs, the power output control matrix is deduced from the unified state model to realize the real-time power output control of the DSRs. Once the required power change of the DSRs is determined, the values of the control variables in the power output control matrix are correspondingly generated.

  5. 5)

    The comfort levels of power consumers are considered when implementing the smoothing control with the unified state model. The SOC level of the EV is guaranteed when it starts traveling, the temperature of the room varies within an appropriate range and the renewable energy from the DGs is utilized as much as possible.