Introduction
Maintaining the balance between the power generation and the demand is a key issue in power system operation. Traditionally, the generation side and interconnection lines are primarily used for this purpose [1]. With the increased penetration of renewable energy sources, conventional control strategies may be not enough to respond to the uncertainty of these renewable energy sources. Demand response has potential to help match the supply and the demand of power systems owing to the flexibility of controllable loads [2], [3]. Because thermostatically controlled loads (TCLs) can store energy in the form of temperature gradients, they represent a promising end-use category to engage in power system services [4]. Air conditioners are typical TCLs. The percentage of energy consumed by air conditioners of buildings in a city, like Jeddah, Saudi Arabia, is even over 50% of the total electric energy during the summer [5]. Applying appropriate control to air conditioners will play an important role in energy conservation and power system control [6]–[9].
Aggregation of air conditioners is essential to the control of air conditioners. To simulate the behavior of the air conditioner population, the most direct method is to aggregate thousands of air conditioners. In [10], the Monte Carlo method combined with smoothing techniques was proposed for numerical simulations. However, this would be computationally intensive and the aggregate system would not be in a form amenable to many control techniques. To facilitate the control of air conditioners, the main idea is to establish the aggregate model, which can characterize the temperature probability density evolution of the air conditioner population. In [11] and [12], the state-bin-based 1st-order TCL model was proposed and the state space matrix was identified by a Kalman filter. However, this identification approach may not converge when the number of states becomes large and it may not perform well for online estimation [13]. In [7] and [13], state-bin-based 1st-order TCL models considering the device lockout time were proposed for different control purposes. The state-bin-based heterogeneous 2nd-order TCL model was proposed in [14]. Besides, some aggregate models that did not consider the temperature probability density evolution have been proposed and received extensive concern. The aggregate duty cycle was used to aggregate TCLs in [15], [16]. This method was often applied to primary frequency control. In [17], the proposed model analytically characterized the aggregate power response of the step change in temperature set points. In [8], a population of TCLs was modeled as a battery. In [18], a virtual power plant model was applied to aggregate TCLs.
However, all of these models neglected the randomness of air conditioning loads. Coupled Fokker–Planck equations (CFPEs) were applied to aggregation of TCLs considering the randomness in [19]. It should be noted that the above methods mainly focused on point estimation which is inadequate to describe the stochastic behavior in aggregating air conditioning loads.
The stationary solutions of CFPEs are important because they can provide the initial and final conditions for state equations. In [20], Laplace transformation and inverse transformation were applied to the simplified CFPEs and the analytical stationary solutions were given. Reference [21] obtained the form of analytical stationary solutions of CFPEs by analyzing their eigenvalues and eigenfunctions. However, the coefficients of the analytical solutions were not provided in analytical form. Therefore, they can only be solved by numerical methods. The stationary solutions need to be developed further to be useful for real-time control.
Time-domain solutions of CFPEs are essential to the aggregation of air conditioning loads. CFPEs are linear second-order parabolic partial differential equations with coupled boundary conditions. As the analytical solutions cannot be obtained in time domain at present, numerical solutions are necessary. The finite difference method (FDM) is effective in solving partial differential equations, and correct grid spacings, including temperature step and time step, are essential because the improper grid spacings will lead to inaccurate solutions. In [22], the grid spacing was selected for the linear second-order parabolic partial differential equation with defined boundary conditions. The boundary conditions of CFPEs for aggregating air conditioning loads are coupled, which means the results reported in [22] cannot be used directly. The grid spacing selection of CFPEs should receive careful attention.
The main contributions of this paper are as follows:
The linear state equations, which characterize the temperature probability density evolution of the air conditioner population considering randomness, are proposed by solving CFPEs using the FDM to aggregate air conditioning loads.
By analyzing the numerical stability and convergence of the difference scheme of CFPEs, the grid spacings are properly determined.
Both analytical and numerical methods are proposed to get stationary solutions of CFPEs.
A classification method using dimension reduction is proposed for heterogeneous loads.
Interval estimation is introduced to reflect the stochastic behavior of air conditioning loads.
The rest of the paper is organized as follows. In Section 2, a stochastic space thermal model for air conditioners is described. The aggregate model using Fokker–Planck equations is presented in Section 3. The aggregate model for heterogeneous loads is presented in Section 4. Simulation results are shown in Section 5 to verify the methods proposed in previous sections. Finally, conclusions are drawn in Section 6.
Stochastic Individual Load Model
The dynamic model for temperature of a room with air conditioners can be expressed by a first order differential equation which describes the relationship between the indoor temperature, the outdoor temperature and the rate of energy transfer from outdoors to indoors by the air conditioner. Compared with higher order models, it is relatively easy to apply control strategies to an air-conditioning system by using a first order model with fewer parameters. The first order model shown in (1) describes the thermal process [23].
\begin{equation*}
\frac{\mathrm{d}x}{\mathrm{d}t}=\frac{K}{C}(x_{o}-x)+\frac{s\alpha P_{e}}{C} \tag{1}
\end{equation*}
The electrical power used by air conditioners inside the space is related to the thermostat state \begin{equation*}
P_{e}=mP_{N} \tag{2}
\end{equation*}
The evolution of the discrete state \begin{equation*}
m(t_{n+1})=\begin{cases}
1 & s\left[x-\left(x_{set}-\frac{s\delta}{2}\right)\right] < 0\\
0 & s\left[x-\left(x_{set}+\frac{s\delta}{2}\right)\right] > 0\\
m(t_{n}) & \text{otherwise}
\end{cases} \tag{3}
\end{equation*}
To facilitate the aggregation of air conditioners, stochastic heat gain or heat loss (such as fluctuating number of people in the residence, doors and windows being opened and closed, and appliances being used) should be considered on the basis of the space thermal model [24]. A stochastic space thermal model, which is a stochastic differential equation can be formulated as:
\begin{equation*}
\mathrm{d}x=\left[\frac{K}{C}(x_{o}-x)+\frac{s\alpha P_{e}}{C}\right]\mathrm{d}t+\mathrm{d}v_{t} \tag{4}
\end{equation*}
Aggregate Model of Homogeneous Loads Using Fokker–Planck Equations
3.1 Description of Fokker–Planck Equations
By considering the probability distribution (by temperature) of a population of air conditioners and making the assumption that the population is homogeneous, Malhamé and Chong (M&C) [19] proved that it is possible to construct a system of CFPEs to describe the dynamics of the population. This paper takes the cooling mode as the working mode of air conditioners, and the main equations of M&C's model can be written in continuous time as follows:
\begin{align*}
&\frac{\partial f_{1}(x, t)}{\partial t}=\frac{\partial F_{1}(x)f_{1}(x, t)}{\partial x}+\frac{\sigma^{2}}{2}\frac{\partial^{2}f_{1}(x, t)}{\partial x^{2}} \tag{5}\\
&\frac{\partial f_{0}(x, t)}{\partial t}=\frac{\partial F_{0}(x)f_{0}(x, t)}{\partial x}+\frac{\sigma^{2}}{2}\frac{\partial^{2}f_{0}(x, t)}{\partial x^{2}} \tag{6}
\end{align*}
The temperature range
Absorbing boundaries:
\begin{equation*}
f_{1b}(x_{-}, t)=f_{0b}(x_{+}, t)=0 \tag{7}
\end{equation*}
Conditions at infinity:
\begin{equation*}
f_{0a}(-\infty, t)=f_{1c}(+\infty, t)=0 \tag{8}
\end{equation*}
Continuity conditions:
\begin{align*}
&f_{0a}(x_{-}, t)=f_{0b}(x_{-}, t) \tag{9}\\
&f_{1b}(x_{+}, t)=f_{1c}(x_{+}, t) \tag{10}
\end{align*}
Probability conservation:
\begin{align*}
&- \frac{\partial f_{0a}(x_{-}, t)}{\partial x}+\frac{\partial f_{0b}(x_{-}, t)}{\partial x}+\frac{\partial f_{1b}(x_{-}, t)}{\partial x}=0 \tag{11}\\
&\frac{\partial f_{1c}(x_{+}, t)}{\partial x}-\frac{\partial f_{1b}(x_{+}, t)}{\partial x}-\frac{\partial f_{0b}(x_{+}, t)}{\partial x}=0 \tag{12}
\end{align*}
Because of the probability conservation conditions, the integrated probability density will always be unity, that is:
\begin{align*}
&\int\nolimits_{-\infty}^{x_{-}}f_{0a}(x, t)\mathrm{d}x+\int\nolimits_{x_{-}}^{x_{+}}(f_{0b}(x, t)+f_{1b}(x, t))\mathrm{d}x\\
&\quad+ \int\nolimits_{x_{-}}^{x_{+}}f_{1c}(x, t)\mathrm{d}x=\int\nolimits_{-\infty}^{x_{-}}f_{0a}(x, 0)\mathrm{d}x\\
&\quad+ \int\nolimits_{x_{-}}^{x_{+}}(f_{0b}(x, 0)+f_{1b}(x, 0))\mathrm{d}x+\int\nolimits_{x_{-}}^{x_{+}}f_{1c}(x, 0)\mathrm{d}x=1 \tag{13}
\end{align*}
The total number of air conditioners is \begin{equation*}
\bar{m}(t)=\int\nolimits_{x_{-}}^{x_{+}}f_{1b}(x, t)\mathrm{d}x+\int\nolimits_{x_{-}}^{x_{+}}f_{1c}(x, t)\mathrm{d}x \tag{14}
\end{equation*}
The operating characteristics of air conditioners are independent of one another. So the number of air conditioners in the on state \begin{align*}
&E(X(t))=N_{ac}\bar{m}(t) \tag{15}\\
&D(X(t))=N_{ac}\bar{m}(t)(1-\bar{m}(t)) \tag{16}
\end{align*}
3.1.1 Point Estimation
The average aggregate power of air conditioners is:
\begin{equation*}
\bar{P}(t)=E(X(t))P_{N} \tag{17}
\end{equation*}
This provides a point estimate for aggregation.
3.1.2 Interval Estimation
The aggregate power of air conditioners \begin{equation*}
P_{r}(P_{1}(t)\leq P(t)\leq P_{2}(t))=\gamma \tag{18}
\end{equation*}
\begin{align*}
&\begin{split}
P_{r}&\left(E(X(t))-2\sqrt{D(X(t))}\leq X(t)\right.\\
&\left.\leq E(X(t))+2\sqrt{D(X(t))}\right)\approx 95.4\%\end{split}\tag{19}\\
&\begin{split}
P_{r}&\left(E(X(t))-3\sqrt{D(X(t))}\leq X(t)\right.\\
&\left.\leq E(X(t))+3\sqrt{D(X(t))}\right)\approx 99.7\%\end{split}\tag{20}
\end{align*}
The interval estimate for homogeneous loads is (18).
The average proportion
3.2 Time-Domain Solutions of CFPEs Using FDM
CFPEs are partial differential equations, so the FDM can be applied to solve them. The temperature range of \begin{align*}
\frac{f_{i, j+1}-f_{i, j}}{\tau}=&\frac{1}{2}\left(\frac{K}{C}f_{i, j}+F(x_{i})\frac{f_{i+1,j}-f_{i-1,j}}{2h}\right.\\
&\left.+\frac{\sigma^{2}}{2}\frac{f_{i+1,j}+f_{i-1,j}-2f_{i, j}}{h^{2}}\right)+\frac{1}{2}\left(\frac{K}{C}f_{i, j+1}+F(x_{i})\right.\\
&\left.\cdot \frac{f_{i+1,j+1}-f_{i-1,j+1}}{2h}+\frac{\sigma^{2}}{2}\frac{f_{i+1,j+1}+f_{i-1,j+1}-2f_{i, j+1}}{h^{2}}\right) \tag{21}
\end{align*}
At boundary temperature points, according to finite volume method [26],
\begin{align*}
\frac{f_{0,i+1}-f_{0,j}}{\tau}=&\frac{1}{2}\left[\frac{K}{C}f_{0,j}+F(x_{0})\frac{f_{1,i}-f_{0,i}}{h}\right.\\
&\left.+\frac{\sigma^{2}}{h}\left(\frac{f_{1,j}-f_{0,j}}{h}-\frac{\partial f_{0,j}}{\partial x}\right)\right]+\frac{1}{2}\left[\frac{K}{C}f_{0,j+1}+F(x_{0})\right.\\
&\left.\cdot \frac{f_{1,j+1}-f_{0,j+1}}{h}+\frac{\sigma^{2}}{h}\left(\frac{f_{1,j+1}-f_{0,j+1}}{h}-\frac{\partial f_{0,j+1}}{\partial x}\right)\right] \tag{22}\\ \\
\frac{f_{N, j+1}-f_{N, j}}{\tau}&=\frac{1}{2}\left[\frac{K}{C}f_{N, j}+F(x_{N})\frac{f_{N, j}-f_{N-1,j}}{h}\right.\\
&\left.+\frac{\sigma^{2}}{h}\left(-\frac{f_{N, j}-f_{N-1,j}}{h}+\frac{\partial f_{0,d}}{\partial x}\right)\right]+\frac{1}{2}\left[\frac{K}{C}f_{N, j+1}+F(x_{N})\right.\\
&\left.\cdot \frac{f_{N, j+1}-f_{N-1,j+1}}{h}+\frac{\sigma^{2}}{h}\left(-\frac{f_{N, j+1}-f_{N-1,j+1}}{h}+\frac{\partial f_{N, j+1}}{\partial x}\right)\right] \tag{23}
\end{align*}
Absorbing boundary conditions:
\begin{equation*}
f_{1b}(x_{0}, t_{j})=f_{0b}(x_{N_{b}}, t_{j})=0 \tag{24}
\end{equation*}
Conditions at infinity:
\begin{align*}
&2F_{0}(x_{0})f_{0a}(x_{0}, t_{j})+ \sigma^{2}\frac{\partial f_{0a}(x_{0}, t_{j})}{\partial x}=0 \tag{25}\\
&2F_{1}(x_{N_{c}})f_{1c}(x_{N_{c}}, t_{j})+ \sigma^{2}\frac{\partial f_{1c}(x_{N_{c}}, t_{j})}{\partial x}=0 \tag{26}
\end{align*}
Continuity conditions:
\begin{align*}
&f_{0a}(x_{N_{a}}, t_{j})=f_{0b}(x_{0}, t_{j}) \tag{27}\\
&f_{1b}(x_{N_{b}}, t_{j})=f_{1c}(x_{0}, t_{j}) \tag{28}
\end{align*}
Probability conservation:
\begin{align*}
&- \frac{\partial f_{0a}(x_{N_{a}}, t_{j})}{\partial x}+\frac{\partial f_{0b}(x_{0}, t_{j})}{\partial x}+\frac{\partial f_{1b}(x_{0}, t_{j})}{\partial x}=0 \tag{29}\\
&\frac{\partial f_{1c}(x_{0}, t_{j})}{\partial x}-\frac{\partial f_{1b}(x_{N_{b}}, t_{j})}{\partial x}-\frac{\partial f_{0b}(x_{N_{b}}, t_{j})}{\partial x}=0 \tag{30}
\end{align*}
By linear transformation, 8 partial differential variables, 2 variables at absorbing boundaries and 2 of the variables in continuity conditions can be eliminated.
At every time step, there are \begin{align*}
&\boldsymbol{A}_{1}\boldsymbol{f}(t_{j+1})=\boldsymbol{A}_{2}\boldsymbol{f}(t_{j})\tag{31}\\
&\boldsymbol{f}(t_{j})=[\boldsymbol{f}_{0a}^{\mathrm{T}}(t_{j})\quad \boldsymbol{f}_{0b}^{\mathrm{T}}(t_{j})\quad \boldsymbol{f}_{1b}^{\mathrm{T}}(t_{j})\quad \boldsymbol{f}_{1c}^{\mathrm{T}}(t_{j})]^{\mathrm{T}}\tag{32}\\
&\boldsymbol{f}_{0a}(t_{j})=[f_{0a}(x_{0}, t_{j})\quad \ldots\quad f_{0a}(x_{N_{a}}, t_{j})]^{\mathrm{T}}\tag{33}\\
&\boldsymbol{f}_{0b}(t_{j})=[f_{0b}(x_{1}, t_{j})\quad \ldots\quad f_{0b}(x_{N_{b}-1}, t_{j})]^{\mathrm{T}}\tag{34}\\
&\boldsymbol{f}_{1b}(t_{j})=[f_{1b}(x_{1}, t_{j})\quad \ldots\quad f_{1b}(x_{N_{b}-1}, t_{j})]^{\mathrm{T}}\tag{35}\\
&\boldsymbol{f}_{1c}(t_{j})=[f_{1c}(x_{0}, t_{j})\quad \ldots\quad f_{1c}(x_{N_{c}}, t_{j})]^{\mathrm{T}}\tag{36}
\end{align*}
The derivation of
The finite volume method [26] is used to implement the difference schemes for boundary temperature points, and the total probability in the system will always be unity due to the trapezoidal rule. That is:
\begin{align*}
&I_{0}(t_{j})= \frac{h}{2}\left(f_{0a}(x_{0}, t_{j})+2 \sum\limits_{i=1}^{N_{a}}f_{0a}(x_{i}, t_{j})+2 \sum\limits_{i=1}^{N_{b}-1}f_{0b}(x_{i}, t_{j})\right) \tag{37}\\ \\
&I_{1}(t_{j})= \frac{h}{2}\left(2\sum\limits_{i=1}^{N_{b}-1}f_{1b}(x_{i}, t_{j})+2 \sum\limits_{i=0}^{N_{c}-1}f_{1c}(x_{i}, t_{j})+f_{1c}(x_{N_{c}}, t_{j})\right) \tag{38}\\ \\
&I_{0}(t_{j+1})+I_{1}(t_{j+1})=I_{0}(t_{j})+I_{1}(t_{j}) \tag{39}
\end{align*}
It should be noted that (39) can be derived by the elementary line transformation of (31). And (39) cannot be got by line operation with the loss of any equations of (31).
Furthermore, the linear state equations can be established, which are:
\begin{align*}
&\boldsymbol{f}(t_{j+1})=\boldsymbol{Af}(t_{j}) \tag{40}\\
&\bar{m}(t_{j+1})=I_{1}(t_{j+1}) \tag{41}
\end{align*}
The aggregate power of air conditioners is:
\begin{equation*}
\bar{P}(t_{j+1})=\bar{m}(t_{j+1})N_{ac}P_{N}=I_{1}(t_{j+1})N_{ac}P_{N} \tag{42}
\end{equation*}
The aggregate modeling of air conditioning loads is shown in (40)–(42), in which linear state equations are developed by solving CFPEs using the FDM.
The aggregate model proposed in this paper can also be applied to many proposed control strategies based on temperature density evolution models. The state space matrixes of many temperature density evolution models were decided by identification of air conditioning loads in the aggregator using a Kalman filter. The state space matrix of proposed aggregate model can be decided using the parameters identified in each room, which is more convenient in on-line application. Some suitable parameter identification methods are available, such as the window-varying particle filter proposed in [27].
The choice of grid spacings is essential to ensuring the accuracy of solutions. If the grid spacings are too large, the solutions are not accurate, but if too small, the computation time will increase. The stability and convergence criterion of the FDM determine the best grid spacings. We obtain the following criteria according to the maximal principle and they are a sufficient condition for convergence to an accurate solution.
\begin{equation*}
\begin{cases}
2\ \left(1-\frac{1}{2}\frac{K}{C}\tau\right)-\frac{1}{2}\frac{\tau}{h^{2}}(\sigma^{2}-\vert F(x_{i})\vert_{\max}h) > 0\\
\sigma^{2}-\vert F(x_{i})\vert_{\max}h\geq 0\\
1+\frac{1}{2}\frac{K}{C}\tau-\frac{1}{2}\sigma^{2}\frac{\tau}{h^{2}}\geq 0
\end{cases} \tag{43}
\end{equation*}
Equation (43) is the suggested guide to choose grid spacings.
3.3 Stationary Solutions
It is important to get the stationary solutions of CFPEs, which provide the initial and final conditions for state equations.
3.3.1 Analytical Stationary Solutions
In [21], the author derives the following stationary solutions with 8 coefficients to solve:
\begin{align*}
f_{1}(x)=&\mathrm{e}^{-\left(\frac{x-x_{o}+P_{N}R}{\sigma\sqrt{CR}}\right)^{2}}\\
&\cdot\left(a_{01}- \frac{1}{2}a_{11} \text{ierf} \left(\mathrm{i}\frac{x-x_{o}+P_{N}R}{\sigma\sqrt{CR}}\right)\sqrt{\pi CR}\sigma\right) \tag{44}\\ \\
f_{0}(x)=&\mathrm{e}^{-\left(\frac{x-x_{o}}{\sigma\sqrt{CR}}\right)^{2}} \tag{45}\\
&\cdot\left(a_{00}-\frac{1}{2}a_{10}\text{ierf}\left(\mathrm{i}\frac{x-x_{o}}{\sigma\sqrt{CR}}\right)\sqrt{\pi CR}\sigma\right)
\end{align*}
The 8 coefficients are
The author uses 9 equations to solve these 8 coefficients, which is feasible in numerical calculation. Two of these 9 equations, which are the conditions at infinity, are satisfied automatically by (44) and (45) and may therefore be ignored. Based on (44) and (45), we provide the completely analytical stationary solutions for CFPEs, which are:
\begin{align*}
&f_{0a}(x, \infty)\\
&\quad=a_{10b} \sqrt{CR}\sigma\int\nolimits_{\frac{x_{-}-x_{o}}{\sigma\sqrt{CR}}}^{\frac{x_{+}-x_{o}}{\sigma\sqrt{CR}}} \mathrm{e}^{t^{2}-\left(\frac{x-x_{o}}{\sigma\sqrt{CR}}\right)^{2}}\mathrm{d}t \quad x\in(-\infty, x_{-}]\tag{46}\\
&f_{0b}(x, \infty)\\
&\quad=a_{10b} \sqrt{CR}\sigma\int\nolimits_{\frac{x-x_{o}}{\sigma\sqrt{CR}}}^{\frac{x_{+}-x_{o}}{\sigma\sqrt{CR}}}\mathrm{e}^{t^{2}-\left(\frac{x-x_{o}}{\sigma\sqrt{CR}}\right)^{2}}\mathrm{d}t\quad x\in[x_{-}, x_{+}] \tag{47}\\
&f_{1b}(x, \infty)\\
&\quad=a_{10b} \sqrt{CR}\sigma\int\nolimits_{\frac{x_{-}-x_{o}+P_{N}R}{\sigma\sqrt{CR}}}^{\frac{x-x_{o}+P_{N}R}{\sigma\sqrt{CR}}}\mathrm{e}^{t^{2}-\left(\frac{x-x_{o}+P_{N}R}{\sigma\sqrt{CR}}\right)^{2}}\mathrm{d}t\quad x\in[x_{-}, x_{+}] \tag{48}\\
&f_{1c}(x, \infty)\\
&\quad=a_{10b} \sqrt{CR}\sigma\int\nolimits_{\frac{x_{-}-x_{o}+P_{N}R}{\sigma\sqrt{CR}}}^{\frac{x_{+}-x_{o}+P_{N}R}{\sigma\sqrt{CR}}}\mathrm{e}^{t^{2}-\left(\frac{x-x_{o}+P_{N}R}{\sigma\sqrt{CR}}\right)^{2}}\mathrm{d}t\quad x\in[x_{+}, +\infty) \tag{49}
\end{align*}
It should be noted that:
\begin{equation*}\begin{split}
&\int\nolimits_{-\infty}^{x_{-}}f_{0a}(x, \infty)\mathrm{d}x+\int\nolimits_{x_{-}}^{x_{+}}(f_{0b}(x, \infty)+f_{1b}(x, \infty))\mathrm{d}x \\
&\quad+ \int\nolimits_{x_{-}}^{x_{+}}f_{1c}(x, \infty)\mathrm{d}x=1
\end{split}\tag{50}\end{equation*}
The unique
The analytical stationary solutions for CFPEs are (46)–(50).
3.3.2 Numerical Stationary Solutions
Analytical solutions are exact but complex integrals need to be calculated. Numerical solutions are required for fast calculation.
From (31), the stationary solutions should satisfy
\begin{equation*}
\boldsymbol{A}_{1}f(\infty)=\boldsymbol{A}_{2}f(\infty) \tag{51}
\end{equation*}
\begin{equation*}
I_{0}(\infty)+I_{1}(\infty)=1 \tag{52}
\end{equation*}
By using (52) and the
Aggregate Model of Heterogeneous Loads
4.1 Parameter Classification
This paper considers a realistic scenario in which the parameters of air conditioners are heterogeneous. It will focus on the effect of varying
With dimension reduction, two steps are needed when grouping heterogeneous parameters considering reasonable parameter combinations, which means the indoor temperature can approach to the lower limit \begin{equation*}
p_{1}\left[-sx_{\mathrm{o}}+ \frac{1}{2}(s-1)x_{-}+\frac{1}{2}(s+1)x_{+}\right]\leq\alpha p_{2} \tag{53}
\end{equation*}
Firstly, \begin{align*}
&w_{i}\propto f\left(\text{lg}\ p_{1}, \text{lg}\ p_{2}\vert p_{1}\left[-sx_{\mathrm{o}}+\frac{(s-1)x_{-}}{2}+\frac{(s+1)x_{+}}{2}\right]\leq\alpha p_{2}\right)\\
&\quad \propto f(\text{lg}\ p_{1},\text{lg}\ p_{2})\propto\int f(\text{lg}\ p_{1}, \text{lg}\ p_{2}, \text{lg}\ P_{N})\mathrm{d}(\text{lg}\ P_{N}) \tag{54}\\ \\
&\begin{split}
&f(\text{lg}\ p_{1}, \text{lg}\ p_{2}, \text{lg}\ P_{N})=f(\text{lg}\ C=\text{lg}\ P_{N}-\text{lg}\ p_{2}) \\
&\quad \cdot f(\text{lg}\ K=\text{lg}\ p_{1}+\text{lg}\ P_{N}-\text{lg}\ p_{2})f(\text{lg}\ P_{N})\end{split}\tag{55}\\
&\sum\limits_{i=1}^{n_{1}}w_{i}=1 \tag{56}
\end{align*}
Secondly, for the \begin{align*}
&w_{ij}\propto f(\text{lg}\ P_{N}\vert \text{lg}\ p_{1}, \text{lg}\ p_{2})\propto f(\text{lg}\ p_{1}, \text{lg}\ p_{2}, \text{lg}\ P_{N}) \tag{57}\\
&\sum\limits_{j=1}^{n_{2}}w_{ij}=1 \tag{58}
\end{align*}
4.2 Aggregate Model of Heterogeneous Loads
It can be seen that there are \begin{equation*}
X_{ij}(t)\sim B(N_{ac}w_{i}w_{ij},\bar{m}_{ij}(t)) \tag{59}
\end{equation*}
The average electrical power consumption of an individual air conditioner is:
\begin{equation*}
P(t)= \frac{1}{N_{ac}}\sum\limits_{i=1}^{n_{1}}\sum\limits_{j=1}^{n_{2}}P_{N, j}X_{ij}(t) \tag{60}
\end{equation*}
The expectation and variance of the average electrical power are:
\begin{align*}
&E(P(t))= \sum\limits_{i=1}^{n_{1}}\sum\limits_{j=1}^{n_{2}}P_{N, j}w_{i}w_{ij}\bar{m}_{ij}(t)\tag{61}\\
&D(P(t))= \frac{1}{N_{ac}}\sum\limits_{i=1}^{n_{1}}\sum\limits_{j=1}^{n_{2}}P_{N, i}^{2}w_{i}w_{ij}\bar{m}_{ij}(t)(1-\bar{m}_{ij}(t))\tag{62}
\end{align*}
Considering that the binomial distribution can be approximated by the normal distribution and the linear combination of normal distributions is also a normal distribution [25], the average electrical power consumption of an individual air conditioner has approximately a normal distribution:
\begin{equation*}
P(t)\sim N(E(P(t)), D(P(t))) \tag{63}
\end{equation*}
The point estimation and the interval estimation of power consumption of heterogeneous loads can be obtained based on this normal distribution.
Simulation Results
The thermal model parameters, which are chosen using [21], are shown in Table 1. Numerical methods in Sections 3 and 4 are conducted separately based on these parameters. The Monte Carlo method is applied to verify the effectiveness of the methods. It is assumed that the temperature set point undergoes a positive 0.2 °C step change at time 5000 s.
5.1 Results of FDM
The time step
Figure 2 shows the proportion of air conditioners in the on state. The proportion of air conditioners in the on state firstly decreases when the step change is introduced at 5000 s, and then increases afterwards. The stable value that it reaches is smaller than the value before, which matches the expectation. To verify the accuracy of the FDM, the Monte Carlo method is implemented. From Fig. 2, we can see that the results of Monte Carlo method are around the results of the FDM, which indicates that the results of the FDM are accurate. To obtain the fluctuation behavior of the proportion, the confidence coefficient for interval estimation is set as 95%, and the upper and lower confidence limits are also illustrated in Fig. 2. The majority of results of the Monte Carlo method are within the confidence interval, which verifies the effectiveness of interval estimation.
This paper also examines the different fluctuation behaviors of various amounts of air conditioners. The proportion of air conditioners in the on state is compared for 1000 and 100000 air conditioners in Fig. 3a and Fig. 3b, respectively. It can be seen that point estimations (the mean values) do not change with different amounts of air conditioners. But the Monte Carlo results show that the fluctuation is more obvious when the number of air conditioners is small. The interval estimates are also shown and they correctly estimate the fluctuation behavior of the Monte Carlo results.
5.2 Influence of Grid Spacings
The choice of grid spacings is important to achieve accurate results from numerical methods. The proper grid spacing zone is shown by the green area of Fig. 4a according to (43). Because the criterion is a sufficient condition for the stability of the numerical method, the numerical results are not necessarily inaccurate with grid spacings that are outside this zone. For example, the time step
The choice of grid spacing is particularly important when the thermal capacity is small. For example, consider a simulation in which the thermal capacity is
5.3 Stationary Solutions
Before changing the set point, stationary solutions in the off and on states are shown in Fig. 6a and Fig. 6b, respectively. It can be observed that analytical and numerical solutions are almost coincident, which supports the correctness of both methods. The stationary solutions for the scenario of small thermal capacity, developed in Section 5.2, are shown before changing the set point in Fig. 7a and Fig. 7b. These results also verify the methods proposed in Section 3.3.
Stationary solutions in off and on states based on large thermal capacitance before changing set point
5.4 Results for Heterogeneous Loads
In this paper, the load heterogeneity is modelled by varying the parameters
Stationary solutions in off and on states based on small thermal capacitance before changing set point
Figure 9 shows the average electrical power consumption of an individual air conditioner considering heterogeneous parameters. The results of Monte Carlo method are used as the reference. We can see that the results of the FDM are accurate and reliably indicate the confidence interval. The confidence coefficient of interval estimation is set as 95% and the upper and lower confidence limits are illustrated in Fig. 9.
5.5 Application to Regulation Services
In Section 3.2, linear state equations are developed by solving CFPEs using FDM, which is helpful for designing control systems. The proposed aggregate model is applied to regulation services. The control strategy proposed in [14] is used in this paper. The aggregator collects information about air conditioning loads, such as their working state (“on” or “off”), the indoor temperature and so on. The control signal is decided by the aggregate model and the control strategy includes a lock time constraint to avoid short-cycling of devices. The control signal, which is a scalar
Average electrical power consumption of an individual air condition among a total population of 10000
The number of controlled air conditioners is 1000 and their total load power capacity is about 5.6 MW. The stationary power of air conditioning loads before control is about 2.4 MW. The lockout time for changing the state of air conditioners is set as 5 minutes and the control interval is 30 seconds. We choose the regulation signal from time 12:00 to 12:40 on 1 June 2016 available on the PJM website [28] and the range of the regulation signal is adjusted to 4 MW. The Monte Carlo method is used to simulate the scenario. The tracking response is illustrated in Fig. 10. It can be seen that the aggregate power of the air conditioning loads can follow the reference signal well. However, the performance is poorer at some time points due to the influence of lock time constraint.
Conclusion
In this paper, CFPEs are applied to aggregate air conditioning loads. The aggregate model using Fokker–Planck equations is accurate, however this model was not suitable for control since the partial differential equations are difficult to solve. The derivations in this paper successfully apply the aggregate model using Fokker–Planck equations to control design. Compared with other aggregate models, the aggregate model using Fokker–Planck equations takes the randomness of air conditioning loads into consideration, leading to practical solutions.
Because the analytical solutions of CFPEs cannot be derived at present, linear state equations, which characterize the temperature probability density evolution of the air conditioner population considering randomness, are developed by solving CFPEs using the finite difference method (FDM). The grid spacings of difference scheme are obtained by analyzing numerical stability and convergence based on the maximal principle. Both analytical and numerical methods are used to obtain stationary solutions.
Considering that the parameters may be heterogeneous, a classification method using dimension reduction is proposed. To avoid the limitations of point estimation, interval estimation is applied to describe the stochastic behavior according to the normal distribution, which is used to approximate the binomial distribution. Simulation results of point estimation and interval estimation are verified by Monte Carlo simulation. The selection of appropriate grid spacings is shown to be important for numerical methods.
Regarding stationary solutions, the simulation results of analytical and numerical methods are almost the same, indicating that the methods proposed in the paper are effective. The aggregate model is successfully applied to an existing control strategy to follow the reference signal for regulation services, and the performance is good. In the future, new control strategies for air conditioning loads can be developed using the proposed methods.
ACKNOWLEDGEMENTS
This work was supported by National Natural Science Foundation of China (No. 51177093).
Appendix A
\begin{equation*}
\boldsymbol{A}_{1}=\begin{bmatrix}
\boldsymbol{A}_{11} &\boldsymbol{A}_{12}\\
\boldsymbol{A}_{13} &\boldsymbol{A}_{14}
\end{bmatrix}\tag*{(A1)}
\end{equation*}
\begin{align*}
&\boldsymbol{A}_{11}=\begin{bmatrix}
b_{11}(1) & c_{11}(1) & & & \\
&\ddots & & & \\
& a_{11}(i) & b_{11}(i) & c_{11}(i) & \\
& & &\ddots & \\
& & & a_{11}(n) & b_{11}(n)
\end{bmatrix}\tag*{(A2)}\\
&a_{11}(i)=\begin{cases}
\theta\left(\frac{F_{0}(x_{i-1}^{a})}{2h}-\frac{\sigma^{2}}{2h^{2}}\right) & 1 < i < N_{a}+1\\
\theta\left(\frac{F_{0}(x_{-})}{h}-\frac{\sigma^{2}}{h^{2}}\right) & i=N_{a}+1\\
\theta\left(\frac{F_{0}(x_{i-N_{a}-1}^{b})}{2h}-\frac{\sigma^{2}}{2h^{2}}\right) & N_{a}+1 < i\leq N_{a}+N_{b}
\end{cases}\tag*{(A3)}\\
&b_{11}(i)=\begin{cases}
\frac{1}{\tau}-\theta\left(\frac{F_{0}(x_{\min})}{h}+\frac{K}{C}-\frac{\sigma^{2}}{h^{2}}\right) & i=1\\
\frac{1}{\tau}-\theta\left(\frac{K}{C}-\frac{\sigma^{2}}{h^{2}}\right) & 1 < i\leq N_{a}+N_{b}\ \text{and}\ i\neq N_{a}+1\\
\frac{2}{\tau}-2\theta\left(\frac{K}{C}-\frac{\sigma^{2}}{h^{2}}\right) & i=N_{a}+1
\end{cases}\tag*{(A4)}\\
&c_{11}(i)=\begin{cases}
-\theta\left(\frac{F_{0}(x_{\min})}{h}+\frac{\sigma^{2}}{h^{2}}\right) & i=1\\
-\theta\left(\frac{F_{0}(x_{i-1}^{a})}{2h}+\frac{\sigma^{2}}{2h^{2}}\right) & 1\leq i < N_{a}+1\\
-\theta\left(\frac{F_{0}(x_{-})}{h}+\frac{\sigma^{2}}{h^{2}}\right) & i=N_{a}+1\\
-\theta\left(\frac{F_{0}(x_{i-N_{o}-1}^{b})}{2h}+\frac{\sigma^{2}}{2h^{2}}\right) & N_{a}+1 < i < N_{a}+N_{b}
\end{cases}\tag*{(A5)}
\end{align*}
\begin{equation*}
\boldsymbol{A}_{12}(N_{a}+1,1)=- \theta\left(\frac{F_{1}(x_{-})}{h}+\frac{\sigma^{2}}{h^{2}}\right)\tag*{(A6)}
\end{equation*}
\begin{equation*}
\boldsymbol{A}_{13}(N_{b}, N_{a}+N_{b})= \theta\left(\frac{F_{0}(x_{+})}{h}-\frac{\sigma^{2}}{h^{2}}\right)\tag*{(A7)}
\end{equation*}
\begin{align*}
&\boldsymbol{A}_{14}=\begin{bmatrix}
b_{14}(1) & c_{14}(1) & & & \\
&\ddots & & & \\
& a_{14}(i) & b_{14}(i) & c_{14}(i) & \\
& & &\ddots &\\
& & & a_{14}(n) & b_{14}(n)
\end{bmatrix}\tag*{(A8)}\\
&a_{14}(i)=\begin{cases}
\theta\left(\frac{F_{1}(x_{i}^{b})}{2h}-\frac{\sigma^{2}}{2h^{2}}\right) & 1 < i < N_{b}\\
\theta\left(\frac{F_{1}(x_{+})}{h}-\frac{\sigma^{2}}{h^{2}}\right) & i=N_{b}\\
\theta\left(\frac{F_{1}(x_{i-N_{b}}^{c})}{2h}-\frac{\sigma^{2}}{2h^{2}}\right) & N_{b} < i < N_{b}+N_{c}\\
\theta\left(\frac{F_{1}(x_{\max})}{h}-\frac{\sigma^{2}}{h^{2}}\right) & i=N_{b}+N_{c}
\end{cases}\tag*{(A9)}\\
&b_{14}(i)=\begin{cases}
\frac{2}{\tau}-2\theta\left(\frac{K}{C}-\frac{\sigma^{2}}{h^{2}}\right) & i=N_{b}\\
\frac{1}{\tau}-\theta\left(\frac{K}{C}-\frac{\sigma^{2}}{h^{2}}\right) & 1\leq i < N_{b}+N_{c}\ \text{and}\ i\neq N_{b}\\
\frac{1}{\tau}-\theta\left(-\frac{F_{1}(x_{\max})}{h}+\frac{K}{C}-\frac{\sigma^{2}}{h^{2}}\right) & i=N_{b}+N_{c}
\end{cases}\tag*{(A10)}\\
&c_{14}(i)=\begin{cases}
-\theta\left(\frac{F_{1}(x_{i}^{b})}{2h}+\frac{\sigma^{2}}{2h^{2}}\right) & 1\leq i < N_{b}\\
-\theta\left(\frac{F_{1}(x_{+})}{h}+\frac{\sigma^{2}}{h^{2}}\right) & i=N_{b}\\
-\theta\left(\frac{F_{1}(x_{i-N_{b}}^{c})}{2h}+\frac{\sigma^{2}}{2h^{2}}\right) & N_{b}+1 < i < N_{b}+N_{c}
\end{cases}\tag*{(A11)}
\end{align*}