Abstract

A novel energy management system to improve the efficiency of renewable energy and storage system by scheduling various types of household appliances is developed. The end users schedule appliances optimally taking into account maximum utility (a measure of the satisfaction level of user’s electricity consumption) as well as minimum user’s cost of energy as competitive objectives. A random disturbance (reflecting an uncertainty) is introduced to describe the indeterminate amount of the electricity produced from the renewable energy sources at the adjacent slots. By applying the probability theory, the uncertain optimization model is transformed into a convex optimization problem. Then, the optimal solution is obtained using a quasi-Newton method. The rationality of our proposed model is verified through numerical simulations. According to the results of simulation studies, it is demonstrated that our proposed model not only enhances users’ utility but also reduces energy consumption cost.

1. Introduction

1.1. Literature Review

The energy shortage and aggravation of environmental pollution are serious problems in a traditional power grid system. Power management is currently undergoing through a dramatic transformation from a traditional power system (TPS) into a smart grid [1]. The smart grid is an intellectualized power network system, which is based on highly integrated two-way communication networks and information systems. It is reliable, economical, and environmentally friendly and can be applied in sensing technologies and control infrastructures. Compared with traditional power grids, the smart grid has the advantages of flexible structure, excellent system performance, and high quality, which can improve the social development. Therefore, smart grid has become a beacon of development in the direction toward a modern power system [24].

Demand side management (DSM) in smart grid is a kind of management activity which can effectively promote and mobilize the enthusiasm of users to change or transfer the power consumption according to the dynamic prices (e.g., real-time pricing, time of use pricing, and inclining block rates) [5]. It is a hot topic for how to mobilize the enthusiasm of users to participate in their energy management. With improving the technology of renewable energy sources (RES) in recent years, many users are equipped with rooftop solar panels or small wind turbines. The RES is reducing the reliance on the TPS and relieving the supply pressure of power grids [69]. To alleviate the randomness and intermittent characteristics of the RES, an energy storage system (ESS) is being applied in smart grid, for example, popular electric vehicles that require both energy availability and storage power [1013].

Scheduling the RES and ESS, power grids are becoming more secure and efficient in the electricity market [10, 1422].

1.2. The Motivation of the Work and Our Contributions

Research on the management of RES and ESS are at their infancy [2326]. Moreover, in current studies, RES and ESS have mainly focused on the foundation level of load prediction [10, 16, 18, 19, 2733]. An optimization method [10] based on teaching-learning and adaptive neuro-fuzzy inference is used to estimate the maximum actual capacity of a charging state. A charging and discharging strategy of a future battery energy storage system was studied using an open distribution system simulator software to predict the daily load and photovoltaic (PV) generation curves [31]. The authors in [32], presented a simple method for determining the optimal capacity of PV power generation with a battery system based on the total annual solar radiation. The grid dependency can be obtained based on the total annual solar radiation without considering the time-series waveform of solar radiation. The studies need to know the production power distribution of the RES. However, in our model, a random disturbance (reflecting an uncertainty) is introduced to describe the indeterminate amount of the electricity produced from the RES at the adjacent slots. It is unnecessary to know about the distribution of electricity produced from the RES which is our first novelty.

Considering the RES or ESS, the classification of appliances is given in some studies [16, 3442]. A cost minimization problem focusing on the uninterruptible operation with an uncertainty of renewable energy generation at different time intervals was raised in [34]. In this study, uninterruptible and immovable electrical appliances were involved, whereas elastic appliances (such as air conditioners and water heaters) and semielastic ones (such as washing machines, dishwashers, and electric cookers) were not. A user convenience model employing a heuristic algorithm was proposed to minimize a user’s dissatisfaction and the supplier’s cost [36]. The model only involved appliances with beginning operation time and ending time. A robust optimization technique for scheduling smart appliances and electrical energy storage was applied to minimize the electricity bill and the emissions [37]. Chen et al. utilized a Lyapunov optimization approach to minimize the total payment from the grid and also have focused on semielastic appliances [38]. Similarly, authors in [3942] elaborated on multilevel management with various RES and controllable loads, taking into account the energy saving and comfortable lifestyle as objectives of a realistic smart home energy management system.

Nevertheless, these works failed to consider the impacts of RES and ESS by scheduling different types of smart appliances, which is our second novelty.

To address these issues, an efficient model for demand side management is proposed, wherein, not only it is unnecessary to know about the distribution of electricity produced from the RES but also the impacts of RES and ESS are taken into account through managing various types of household appliances. In this way, users can optimally schedule operating set times of their smart home appliances and reasonably equip with the ESS and RES to achieve their energy management.

In our model, an expectation (caused by the uncertainty of RES) users’ welfare maximization model is established. The users’ utility maximization and bill minimization constitute the objective function. The users can design their electricity consumption mode according to the objective function. The constraint reflects the fluctuation (uncertainty) of electricity caused by the intermittency of the RES. The objective function is transformed into a deterministic problem and the constraint into the deterministic one. The model is then solved by applying the dual method. Finally, the rationality of the model and the validity of the algorithm are verified through numerical simulations. Our contributions are as follows:(1)A random disturbance is introduced to describe the intermittence and instability of the RES at the adjacent slots. In this model, it is unnecessary to know about the distribution of electricity produced from the RES.(2)An efficient model for demand side management is proposed so that users can reasonably arrange different smart appliances and consume the electricity supplied from the TPS, produced from the RES, or stored in the ESS concerning the users’ utility maximization and their bill minimization.

The remainder of this paper is organized as follows. In Section 2, the classification of different appliances and the problem statement are formulated. We present the proposed model in Section 3. The results of numerical simulations are provided in Section 4, and some concluding remarks are given in Section 5.

The list of abbreviations is shown in Appendix. The architecture of the proposed system model in time slot is illustrated in Figure 1.

2. Classification of Appliances and Problem Statement

A system that includes a power supplier and multiple residential users is considered. The supplier and all users are linked using a communication infrastructure to realize information exchange. An energy hub (a detailed description given in [43]) of each user contains a rooftop solar panel, a small wind turbine, several batteries and electrical vehicles, some smart home appliances, and an electric quantity controller (EQC) with a smart meter. The smart meter not only bears a function of information transmission but also has the function of regulating and controlling household electricity information. It transmits the information of household electrical equipment consumption to users in order to better control the consumption and cost of electricity and sends relevant information to the power supplier to achieve load control and electricity price. The electricity price is given by the power supplier. Consumers can adjust the mode of electricity consumption by smart meters to achieve their maximum utility and minimum bill. In this model, it is supposed that users cannot sell redundant energy to the grid or other users, and thus the excess power from the RES is discarded [36].

Within the scope of our model, the devices’ cost and the reactive power are not considered, and frequency and voltage stability are guaranteed [44]. The appliances are linked with the smart meter, where is the initial time, and not is necessarily 1, is the number of time slots, and is the entire cycle. The indexes, functions and variables, and parameters are listed in Tables 13, respectively. The modeling of the energy system components is detailed as follows.

2.1. Classification of Appliances

Every user has three types of appliances, namely, , , and . The first type of household appliances, , which are must-run appliances, are those household electrical appliances that must be operated. Owing to their inelasticity, this type of electrical appliances does not depend on the change of electricity price. For instance, lighting appliances, televisions, and refrigerators are not controlled by an EQC unit. The second category of household appliances, , includes elastic equipment, such as air conditioners, water heaters, and other adjustable equipment. The use of these appliances is directly affected by the electricity price. When the electricity price rises, the electricity consumption decreases, and vice versa. The last type of household appliances, , includes semielastic equipment, such as washing machines, dishwashers, electric cookers, and dryers. These appliances all require a certain amount of working time to complete an established task. Similar to elastic devices, semielastic devices are affected by the electricity price, whereas the working time of semielastic devices is fixed.

2.1.1. Must-Run Appliances

Let denote the power consumed by appliance of user in time slot ; denotes the running time of a must-run appliance , which consumes in time slot ; and . Denote as the number of must-run appliances, and let denote the total power consumption of must-run appliances during an operation cycle.

2.1.2. Elastic Appliances

Denote and as the maximum electricity consumed by elastic appliance and the number of elastic appliances, respectively, and denotes the maximum electricity consumed by all elastic appliances. The working models of these appliances are varied. The total electricity consumption is given. Referring to this value, users can make their own unique electricity consumption mode. This means that, for the same total electricity consumption, the user has the opportunity to keep the water heater at a higher temperature during the winter or turn an electric fan on.

2.1.3. Semielastic Appliances

Semielastic appliances complete a task within a fixed time interval. Every household has semielastic appliances. Denote as the total electricity of semielastic appliances. The working hours of these appliances are continuous. Once semielastic appliances are operated, they need to complete their tasks without stop. Here, is the working time of semielastic appliances. The beginning time of an electrical appliance is , and the end time is . The working time can be expressed as . The satisfaction of the user will be seriously hindered if semielastic appliances are interrupted during an operation.

The three types of appliances satisfy the available electricity consumption, as indicated in Table 4.

2.2. Power Sources
2.2.1. Traditional Power System

In this paper, TPS refers to the electricity supplied from the power supplier. Let denote the electricity supplied from a TPS in time slot .

2.2.2. Renewable Energy Sources

The RES are deemed as significant generation alternatives in smart grid owing to their nonexhausted nature and benign environmental effects. Both a stochastic approach and a robust one are optimization methods for uncertain situations. The RES power generation is stochastic and intermittent and will be disturbed by many independent random factors. In the stochastic approach, the probability distribution of random parameters is known; in the robust one, the probability distribution of random parameters is unknown, but its fluctuation range needs to be known. In our model, unnecessary to know about the distribution of electricity produced from the RES, a random disturbance is introduced to describe the uncertainty of the RES with expectation value and variance . Then,where denotes the electricity produced from the RES in time slot .

By applying the Central Limit Theorem, when the number of users is large enough or segmentation of time slots is small enough, the sum of all random variables is subject to a normal distribution:where denotes a normal distribution function, , and .

Let , the standardization of the normal distribution can be obtained as follows: ; therefore, the distribution of all random variables is known why a stochastic approach is chosen instead of a robust one in our study.

2.2.3. Energy Storage System

Electric vehicles and batteries can be classified as the ESS, which can be charged or discharged. is denoted as the capacity of the ESS. In time slot , the charge rate is positive and the discharge rate is negative. In addition, and denote the maximum and minimum capacity values of the ESS, , is denoted as the capacity of the ESS at the beginning time slot , and is the initial charging state of the ESS. At every time slot, the stored energy cannot exceed the storage capacity:

2.3. Real-Time Pricing

The existing price forms mainly include fixed pricing, step pricing, time of use pricing (TOU), real-time pricing (RTP), and inclining block rates (IBR). Among them, RTP and IBR models have been extensively studied. It refers to the cost occurring at a certain moment during electricity sales, which reflects the characteristics of electricity prices with respect to time. Practically, power suppliers design the real-time price considering the time of demand and the power availability. Contrastingly in the IBR pricing model, as time goes on, prices remain unchanged, while incurring an increase when the energy consumption of a user reaches a predetermined threshold [19].

In our model, combining RTP and IBR price tariffs, the price is denoted as follows (see [45]):where and are differentiated prices, in which ; denotes the total electricity consumption of user in time slot ; and is the energy consumption threshold in time slot .

2.4. Utility Function of a User

The concept of a utility function in microeconomics is widely used to characterize a user’s satisfaction with a certain amount of electricity consumption. The existing studies have shown that the user’s response can be expressed by a utility function. The electricity demand varies with each individual and depends upon the time of a day, climate, and price. The value of utility function denotes the satisfaction level of each user after using the electricity purchased. is the utility function of user , denotes the amount of consumed energy, and is an elastic coefficient and is a known parameter, and the utility value is expressed in a monetary form. Different utility functions represent different types of users and are distinguished by different elastic coefficients. Under the same conditions, the larger the value is, the higher the user’ satisfaction. Usually, the general utility functions satisfy the following basic assumptions:(1)The utility function is a nondecreasing function, i.e., .(2)Marginal utility is nonincreasing, i.e., the utility is a concave function. Thus, .(3)When the user does not consume electricity, the utility is zero, that is, .

In this paper, utility functions are considered as follows:where is a preset parameter, and and are the elastic coefficient and power consumed by user in time slot , respectively.

2.5. Payment Function of Users

The term denotes a user’s payment function. In our model, the devices’ cost is not considered. Based on the price shown in (4), for a total load in time slot , the user’s cost is determined as the maximum of two intersecting lines [45]:

The user’s payment function is obtained from the following equation:

3. Expectation Welfare Maximization Model

3.1. Problem Formulation

In our model, based on scheduling household appliances and considering the fluctuation of electricity produced from the RES, an expectation model of users’ welfare maximization is taken as follows:

(P1)subject towhere and are the utility function and payment function of user in time slot , respectively, (reflecting the satisfaction level of each user after using the electricity purchased) is an elastic coefficient and is a known parameter, is the amount of electricity supplied from the TPS, is the amount of electricity produced from the RES, and is the electricity charged or discharged in the ESS. In addition, , , and are variables which the amount is eight hundred and forty and is the total electricity quantity of a power system.

The constraints (9a) and (9b)–(9d) characterize the electric performance of elastic and semielastic appliances, respectively. The compositions and sources of a user’s electricity consumption are expressed as constraints (9e) and (9i). Constraint (9f) is the power fluctuation generated from the RES between two time slots. This constraint on the RES is not considered in [46]. Besides, determining the relationship between and , can be expressed as follows:

Constraint (9g) describes the electric performance of the ESS. Constraint (9h) shows that the expected total electricity consumption of users does not exceed the electricity production, which reflects the correlation and coupling between the electricity consumption of users. Samadi et al. do not take the constraint into account [35].

3.2. Convex Optimization Problem Formulation

The transformation of the objective function and constraint (9h) are shown as Appendixes A and B.

According to Appendixes A and B, a convex optimization problem from problem (P1) is obtained as

(P2)subject to (9a)–(9e), (10a), (9g), and (9i)in which, and are the expectation and variance of the random disturbance , respectively.

Among these constraints, constraints (9g), (12a), and (12b) are our inequality constraints, and constraints (9d) are our equality ones. The type of decision variables is real, and there are eight hundred and forty variables, one hundred and thirty-nine inequality constraints, twenty equality constraints, and eight hundred and forty boundaries.

Theorem 1. Problem (P2) is a convex optimization and has an optimal solution.

Proof of Theorem 1 is shown in Appendix C.

3.3. Dual Problem

From Theorem 1, (P2) is a convex optimization and has an optimal solution. It is equivalent to its dual problem. Therefore, it can be solved using a dual method [20].

The Lagrangian function of (P2) iswhere , , , , , and . The objective function of the dual optimization problem is as follows:

The dual problem is the following:

3.4. Smoothing Method
3.4.1. Introduction of Smoothing Methods

The payment function of (P2) contains of the plus and maximum functions, which are nonsmooth. It is impossible to solve this problem directly using classical optimization methods. Smooth approximation functions can be found to replace the abovementioned functions. The basic idea of a smoothing method is to replace the nonsmooth function with a smooth approximation function and solving the original problem is equivalent to solving the traditional optimization problem. There are many smoothing methods, such as quadratic function method, aggregate function method, and density method (see [47]).

Absolute value function is convex on and smooth everywhere except . Given a small constant , the following smooth function approximates it:which is called quadratic function method.

The aggregate function method is considered. The maximum function is as follows:where is a second-order continuous differentiable function on . The following aggregate function is a smooth approximation function of formula (18) [47]: where is a small positive number.

Next, the density method is discussed.

Let be a probability density function from to and satisfy

The smooth approximation function of is as follows:where is a smaller number.

Because the plus function is inside and the maximum function is outside of the payment function , the plus function is considered first smoothing and then smoothing the maximum function.

3.4.2. First Smoothing

The quadratic function and aggregate function method are simple, practical, and effective, and these smoothing methods are adopted to deal with the nonsmoothness of payment function . The quadratic method is first adopted.

When , is nonsmooth, and let

Theorem 2. For , , in formula (22) is a smooth approximation function of .

Proof of Theorem 2 is shown as Appendix D.

According to Theorem 2, of formula (22) is directly replaced by and the smoothing function can be obtained. Then,

3.4.3. Second Smoothing

During the second smoothing process, the aggregate function method is used to smooth the maximum function of the payment function .

Let , where and .

Thus, . is smoothed to and the model in (15) can be transformed to find the maximum value of the smoothing approximation function:

The optimal solution of (25) can be obtained using a quasi-Newton method [34]:(1)Taking , , and parameter , let .(2)Computing and , where , , is a step generated by a line search.If , the algorithm stops; otherwise, moves to the next step.(3)Let , where , and , go to (2).

Thus, is obtained and is substituted into (25). We can then have . Computing , , and , the solution of the model is obtained.

A flowchart of the algorithm is shown in Figure 2.

4. Numerical Simulations

A power system that includes a power supplier with five users is considered. One day is divided into twenty-four periods. Each family is equipped with a rooftop solar panel, a small wind turbine, several batteries and electrical vehicles, and ten electric appliances. The must-run appliances , consume electricity at any time during the day. The electricity consumption of these appliances is set as 1 kWh and 3 kWh. The elastic appliances , include four appliances , , , and . Their electricity consumption is considered as a whole, so long as the total electricity consumption will not exceed . The semielastic appliances, include four appliances , , , and . The total amount of electricity required for their tasks is 5 kWh, 3 kWh, 4 kWh, and 2 kWh, respectively, and the expected working periods are {3, 4, …, 9}, {5, 6, …, 11}, {4, 5, …, 14}, and {9, 10, …, 18}. The capacities of the RES and ESS are set as 20 kWh and 5 kWh, respectively. All the computations are performed by Matlab R2016a. The running time for all the algorithm simulations is less than 1 ms. The abovementioned data are shown in Table 5.

The differentiated prices and are set as follows:

Let  = 4 kW during the entire period.

The utility function of user is set as follows:where is an elastic utility coefficient and is a known parameter. Under the same conditions, the larger is the value of , the higher is the power consumption while increasing the pressure on the TPS (further information regarding the utility function can be found in [48]). Therefore, needs to be taken into account as a proper range. In the first scenario, different ranges of the elastic coefficient are analyzed. In the other scenario, the impacts of the RES and ESS by manipulating semielastic and elastic appliances are studied under the appropriate range of in various models.

4.1. Discussion under Different Elastic Coefficients

is selected randomly from the intervals [1, 3, 5, 7, 9, 11] and [18, 20], respectively. “” means for the lowest satisfaction level; “” and “” mean and for the normal satisfaction levels, respectively; and “” means for the highest satisfaction level. The specifications of these units are summarized in Table 6.

Through the simulations, the electricity consumption from the TPS by the semielastic appliance at each hour is computed and their average values are determined. The cycle of appliance is denoted as {3, 4, …, 9} (see in Table 5) and the assignment must be completed during this period. As shown from Figure 3, the appliance is operated at time 4:00 am and is turned off at 8:00 am. Its assignment is completed within the designated time {3, 4, …, 9}. The appropriate ranges of in semielastic appliances are discussed, as shown from Figures 36. From Figure 3, when , the electricity consumption from the TPS by scheduling the semielastic appliance is relatively smaller and stabler (relieving the supply pressure of the TPS) than that when . The similar conclusions of other semielastic appliances are obtained, as shown from Figures 46. Therefore, the value of under [1, 11] is more appropriate.

Multiple simulations are conducted; the electricity consumption from the TPS by elastic appliances for five users is computed at each hour, and the average value is determined. The smaller and stabler electricity consumption from the TPS by scheduling elastic appliances is seen from, Figure 7, when and . Consequently, is suitable under [5, 11] considering the influence on the TPS.

Users are enthusiastic for making full use of electricity consumption from the RES when is suitable under [11, 20], as shown from Figure 8. While , the availability of the ESS is relatively higher, especially in peak periods (10:00–20:00) discharged and off-peak periods charged, as presented in Figure 9.

As for the objective of this model, the higher the user’s welfare value is when , the worser the stability is. While not only a higher welfare value but also an optimal solution is obtained when , as shown in Figure 10. The users’ welfare values are relatively stabler as and ; however, it is abnormal to get the negative values (e.g., ). In summary, (i.e., ) is the suitable range considering both the interest of users and the influence on the TPS.

4.2. Discussion under the Same Elastic Coefficient

In this scenario, four models to illustrate the impacts of the RES and ESS by manipulating semielastic and elastic appliances are studied under . The indexes used in the four models are listed in Table 7.

As can be observed from Figure 11, the average of electricity consumed from the TPS by semielastic appliances in the all-model is the least during the working periods. It is shown that the RES and ESS play positive roles as auxiliary energies making users using less power consumption from the TPS. It should be also noted, owing to the continuous working cycle of the semielastic appliances, users’ aggregate power consumption (green line) from the TPS in the ESS-model is much less than that, in the RES-model (blue line). Therefore, users have priority to consume the electricity stored in the ESS and then produced from the RES and from the TPS last. By giving aggregate electricity consumption shown from Figure 11, users can reasonably arrange batteries or electrical vehicles according to their semielastic home appliances, to a large extent, alleviating the pressure of the traditional power grid. Likewise, the same conclusions are obtained from Figures 1214.

From Figure 15, it can be seen that the electricity consumption from the TPS by elastic appliances in the all-model is the most stable at each moment, and the range of fluctuation is the smallest of the four models. At the same time, it is observed that the ESS-model and RES-model have a similar impact in terms of electricity consumption from the TPS by elastic appliances.

From Figure 16, it can be demonstrated that the electricity consumption from the RES in the all-model is relatively higher during peak periods than that in the RES-model, which indicates that users make full use of the RES in our proposed model. It can be seen from Figure 17 that the ESS is in the discharge states (positive values) during peak periods while in the charge states (negative values) during off-peak periods in the all-model. To some extent, the ESS relieves the power pressure on the TPS.

Without loss of generality, we consider the difference in electricity consumed from the TPS by three types of appliances for user 1 at each hour in four models. Figure 18 shows the electricity consumed from the TPS by all appliances for user 1 at each hour. The electricity consumption from the TPS in our proposed model is much less than those other models overall.

Figure 19 shows that the users’ welfare value in the all-model (i.e., our proposed model) is significantly higher than that of other models. Users’ welfare values in the all-model are more than double those of other models under . In particular, the welfare value of user 4 reaches 448 dollars in the all-model, while it reaches 175 dollars, 180 dollars, and 200 dollars in other models, respectively. This verifies the rationality of our proposed model and feasibility of the method.

It can be demonstrated from Figure 20 that the proposed algorithm has remarkable convergence performance, and it converges at 16 times keeping the total welfare of users around 2250 dollars.

5. Conclusions

In this paper, an optimal residential energy consumption model is proposed, which aims to achieve a trade-off between maximizing users’ utility and minimizing their payment based on scheduling household appliances. The optimal solution of the model is obtained using a smoothing quasi-Newton method. Several cases are discussed under different elastic coefficients which is demonstrated that is the suitable range considering not only the interest of users but also the influence on the TPS. Afterwards, the impacts of the ESS and the RES are discussed in several models. The discussion results show that users’ aggregate power consumption from the TPS by semielastic appliances in the ESS-model is much less than that in the RES-model. However, in terms of electric power consumed from the TPS by elastic appliances, the ESS-model and the RES-model have little difference. Finally, the simulation results show that our proposed model is superior to other models in terms of not only users’ welfare but also electricity consumption from the TPS.

Future studies will be conducted to extend as follows:(1)An optimal residential energy consumption model is proposed considering thermoelectrical load modeling of a house(2)Similar models are solved adopting a robust approach or artificial intelligence algorithms such as machine-learning algorithm(3)We should consider extending the proposed model to take care of other uncertainties (such as in the customer behavior, for scheduling appliances, or in real-time electricity price)

Appendix

A. Transformation of the Objective Function

The objective function is divided into two situations: at the initial time slot and at other time slots.

At the initial time slot ,

At other time slots,

We denote

According to the properties of the mathematical expectation, can be rewritten as follows:

During operation of the power grid, power consumption of users is not saturated. Thus, only the situation is considered. At this time, the utility function can be written as follows:

Then,

Substituting (10a) into (A.6), it is obtained that

A utility function is redefined as , which can be determined as follows:

In addition,where describes the uncertain powers produced from the RES. The expected value of distribution is , and the variance is . By applying the probability theory, the payment function with expectation is transformed into a certain function. Therefore, a new payment function is denoted as follows:

Substituting and into (A.6), we have

Considering the first case , it can be seen that the objective function still satisfies formula (A.11). Thus, objective function (P1) can be equivalent to the following deterministic problem:

B. Transformation of Constraint (9h)

Constraint (9h) provides a probabilistic constraint on the total electricity consumption. In other words, the power supplier needs to ensure that the probability of the difference between the electricity power consumption of all users and the output of the power supplier exceeding a given threshold should be smaller than any small positive number. Thus, condition (9h) can be drastically expressed as follows:where is a given threshold, reflecting the degree of difference between the total electricity consumption and the quantity of electricity produced by the power supplier and is a very small positive number, which can be understood as the failure probability. By replacing formula (10a) into (B.1), it can be obtained as follows:

Formula (B.1) can be rewritten as the following expression:

Namely,where . Owing to , the variable obeys a standard normal with an expectation of zero and a variance of 1. Expression (B.4) can be simplified aswhere

Formula (B.5) is changed to

From (B.7), it follows thatwhere .

C. Proof of Theorem1

Theorem 1. Problem (P2) is a convex optimization and has an optimal solution.

Proof. According to the property of utility function, is a strictly concave function, whereas the sum of the strictly concave function is still a strictly concave function.
Next, it is shown that is a convex function. In addition, is a linear function, and thus it is convex. The bigger value of two convex functions is a convex function [49], and thus is a convex function, which is called a plus function. Then, is a convex function, is a concave function. In addition, is a convex function obtained through the property of the convex function. Thus, is a concave function, and thus is a concave function. Therefore, according to the conclusion drawn by [50] and described in Section 4.2, the concave function at maximum is equivalent to the minimum of a convex function. Because the constraints of problem (P2) are linear, and the feasible domain is a convex set, problem (P2) is a convex optimization. According to the convex programming property, an optimal solution of problem (P2) exists.

D. Proof of Theorem 2

Theorem 1. For , in formula (22) is a smooth approximation function of .

Proof. When or , , when , we have , and when , we obtainTherefore, for , , and thus is a smooth approximation function of [47].

Abbreviations

RES:Renewable energy sources
ESS:Energy storage system
PV:Photovoltaic
PAR:Peak-to-average ratio
EQC:Electric quantity controller
RTP:Real-time pricing
IBR:Inclining block rates
TPS:Traditional power system
CL:Communication link
PL:Power link
SM:Smart meter
MA:Must-run appliances
EA:Elastic appliances
SEA:Semielastic appliances
DSM:Demand side management.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (no. 11171221).