Abstract

Applying the optimal problem, we get the optimal power supply and price. However, how to make the real power consumption close to the optimal power supply is still worth studying. This paper proposes a novel data-driven inverse proportional function-based repeated-feedback adjustment strategy to control the users’ real power consumption. With the repeated-feedback adjustment, we adjust the real-time prices according to changes in the power discrepancy between the optimal power supply and the users’ real power consumption. If and only if the power discrepancy deviates the preset range, the real power consumption in different periods will be adjusted through the change of the price, so the adjustment times is the least. Numerical results on real power market show that the novel inverse proportional function-based repeated-feedback adjustment strategy brought forward in the article achieves better effect than the linear one, that is to say, the adjustments times and standard error of the residuals are less. Meanwhile, profit and whole social welfare are more. The proposed strategy can obtain more steady and dependable consumption load close to the optimal power supply, which is conducive to the balanced supply of electric energy.

1. Introduction

More and more research has focused on environmental protection and energy conservation. Due to the nonrenewable and high pollution of traditional energy, people are more and more inclined to use clean and renewable energy [1]. The rapid development of new energy vehicles may increase the power demand. We need to do more to balance the power supply to ensure the safety and dependability of the power grid.

As the abovementioned problems need to be solved urgently, many countries have extensively researched and applied the smart grid (SG). SG solves energy problems through superior electronic communication technology and power grid system [2]. Smart meter, one of the essential nodes in SG, has a real-time interaction function and can realize interactive communication between consumers and power suppliers at any time, due to the scientific and technological progress of intelligent algorithms and energy networks.

As the demand response mechanism of the smart grid controller, combined with smart meters, shows us a picture of real-time pricing (RTP) [3, 4], RTP can realize real-time price and load interaction between consumers and power suppliers more elastically and cleverly. This is an advantage that other traditional pricing strategies do not have. Hu et al. proposed a distributed algorithm to solve the power dispatching strategy between a power company and multiple power users [5]. Goudarzi et al. put forward a game theory method considering both incentive and price in reducing power consumption and improving users’ benefit [6]. Zhao et al. developed a model to obtain dynamic pricing and lead the consumers’ power consumption mode and update the power load [7].

The prime intent of implementing RTP in SG is to obtain optimal power consumption, power supply, and electricity price. When power suppliers implement the optimal electricity price, users can use electricity according to the optimal electricity consumption, which can run steadily. However, the reality is the real power consumption alters radically and reduces the grid’s steadiness and dependability. Up to now, the researchers have seldom paid attention to how to keep the real load steady. Kb and Ms brought forward a bidirectional converter, providing more optimized control strategies for controlled power consumption administration [8]. Yildirim and Khooban studied a controller of noninteger order for the stable LFC of the MGs [9].

For the above reasons, we want to research a strategy that changes the real-time price to control the real power consumption within a specific boundary. He et al. studied an automatic process control (APC) strategy in a smart grid to get steady power consumption [10, 11]. Dennis et al. developed a diminutive biomass energy combustor for process heat generation, which is on the basis of “maximum combustion current” technology and has repetitive feedback APC [12]. Efheij and Albagul presented a comprehensive repeated-feedback process controller that is a neural network to maintain stability [13]. In fact, it is still a challenge to choose which controller to control the power consumption process by using the repetitive feedback regulation method, and there is little literature on this.

In this paper, we propose a novel data-driven inverse proportional function-based repeated-feedback adjustment strategy to control the discrepancy between the users’ real power consumption and optimal power supply. The repeated-feedback adjustment strategy is incorporated into the pricing algorithm to adjust real-time pricing by minimizing the deviation from an objective, which is that the real power consumption equals the optimal power supply. The discrepancy is a discrete-time series, for it changes at fixed intervals, say, every hour. For SG, experience has shown that frequent changes in electricity prices are not feasible, driving away customers [14]. To solve these problems, we forecast power consumption and optimal power supply discrepancy of the next period from historical data with an exponentially weighted moving average (EWMA) controller [15, 16]. During different periods, we set an EWMA forecast for the discrepancy as the controller. If and only if the controller exceeds the established range, can we adjust the price. Because the EWMA of historical data is used as the controller, the adjustment does not depend on the abnormality in a certain period, but the development trend in this period. Thus, the adjustment times can be reduced while obtaining more stable power consumption and maintaining the balance between supply and demand. With the help of the smart meters for automatic monitoring the next period, an optimal data-driven repeated-feedback adjustment strategy is given. Among the strategies forecasting the future value in the moving average time series, the EWMA method is efficiently minimises the mean square error. In recent years, many kinds of literature have studied how to use EWMA controllers to form control charts to monitor future data [10, 11, 17, 18]. To monitor carbon emissions, Shamsuzzaman et al. integrated a Shewhart control chart with an EWMA scheme to reduce costs [19]. Zhang et al. focused on detecting the anomalous changes by Wilcoxon rank-sum statistics based on distributed-free EWMA [20].

The specific structure of the remainder of this article is as follows. Section 2 describes the system model and knowledge reserve. We demonstrate the problem formulation and solutions in Section 3. Section 4 offers numerical tests and analysis. In Section 5, we conclude this research.

2. System Model and Preliminary Knowledge

2.1. System Model

Suppose that the smart grid includes a power supplier, a lot of power users with smart meters, and some rules to be followed by both parties. Smart meters monitor and adjust power load through the price adjustment and can harmonize every user with the power supplier and the other users. Power users and the power supplier exchange information such as electricity price and power load every hour through communication facilities such as the network. The notations and variables are summarized in Table 1. The cycle time in our system is separated into ℋ periods, and the set is . Let denote the number of users, and the set of power users is . Let denote the power consumption used by every user n ∈Ξ in period , where and are explained in Table 1.

2.1.1. Profit Function and Benefit Function

Let denote the power supply of power supplier in period and represent the cost providing in period . Assuming that supply can meet consumption, , and are explained in Table 1. According to [10, 11], the power supplier’s power supply cost function in period iswhere are shown in Table 1. The power supplier’s profit function in period iswhere is defined in Table 1.

In economics, experts used to characterize the degree of happiness generated from power consumption with a utility function. In this paper, it is assumed that the utility increases with user power consumption and will not increase when it increases to a certain amount and will not grow when it increases to a certain amount. Let denote the user n’s preference. We model a logarithmic function as the utility function [11]:where user n’s benefit function in period is

2.1.2. The Optimal Problem

From (2) and (4), the whole social welfare function is [10]

We assume that the power supplier’s power supply is not less than power consumption in total in each period ,

The optimal problem is depicted as [10]where the variables are summarized in Table 1 and functions and are denoted in (1) and (3), respectively.

2.2. Preliminary Knowledge

The optimal power supply , power consumption , and electricity price in period can be obtained by solving the optimization problems (7) and (8). Ideally, the users’ real power consumption is consistent with the optimal power supply. However, the real situation is that there is a particular discrepancy between real consumption and optimal supply , and even the discrepancy fluctuates widely in some periods. The real power consumption does not have the stability and dependability of the optimal power supply. The power discrepancy in period is described as [10, 11]

To keep the real power consumption dependable and steady, we want to adjust to by price incentive. Users may reduce the power consumption in peak time when the price increases and increase it in valley time when decreased. Next, we need to incorporate the optimal problems (7) and (8) into the exponentially weighted moving average (EWMA) process to minimize the standard error.

3. Problem Formulation and Solutions

3.1. Problem Formulation

Undependability implies that there is no fixed mean value globally, so we need to study the local average and the deviations. We use an EWMA to represent the local average.

Definition 1(see [10]). is the beginning power discrepancy, is the adjusted one,is called the power discrepancy EWMA in next period +1, where is the parameter.

Definition 2 (see [11]). is the beginning real-time price, is the adjusted price of ,is called the real-time price EWMA in next period .

Definition 3 (see [11]). is the readjusted real-time price of ,is called the adjusted price EWMA in next period .
Next, we will discuss a data-driven repeated-feedback adjustment strategy and reduce deviations from the objective in power discrepancy utilizing process monitoring and adjustment. Ifholds at period , the price will be adjusted, where is the objective, standard load discrepancy of the optimal problem and L is the boundary.
As we know, if the real power consumption equals the optimal power supply, it will be best. So, the standard power discrepancy in our model is . Let be the upper boundary and be the lower boundary; we reformulate (13) asVia (14), the automatic monitoring process is developed. In period , if , the prices will be gone up, the power consumption in current period will shift to other periods, thereby reducing the power consumption, and is adjusted to objective . If , to increase the power consumption in the current period, the prices will be diminished, and then, is modified to the objective .

3.2. Problem Solutions

Definition 4. Set an inverse proportional function (after this referred to as “IPF”) as the demand function. Thus, power discrepancy EWMA is inverse proportional to price EWMA in the form of , where is a constant.

Theorem 1. Suppose an IPF with a constant is the demand function. Then, if , we will adjust to , and the change of price is

If , we will adjust to , and the change of price is

Proof. By condition, in period , if , we will adjust to . At this point, the price EWMA changes from to .
According to Definition 4, and ,Denote as the change of price, and (20) can be transformed into the following:Similarly, if , (16) holds.

3.3. Algorithm

From Theorem 1, if (14) holds, we will adjust the users’ real power consumption with price variations to reach an equilibrium state.

Lemma1. Suppose that the adjusted power consumption is inversely proportional to the change of price. Therefore, the revised users’ real power consumption is

Proof. If , the users’ real power consumption will decrease, and if , it increases. Therefore,Proof is completed.

Lemma 2. Set as the adjusted power discrepancy between the users’ real power consumption and the optimal power supply ; therefore,

Proof. By condition,According to Lemma 1 and (25), the adjusted power discrepancy isProof is completed.

According to the data-driven repeated-feedback adjustment strategy, in the period , the algorithm for monitoring and adjustment is as follows.

4. Numerical Tests

In this section, we conduct simulations to demonstrate the effectiveness of the proposed data-driven IPF-based repeated-feedback adjustment strategy through realistic data from [21]. Our simulated smart grid comprises a power supplier and 1000 users . Divide the period of two days into 48 hours . The parameters in (1) are 0.01, 0, and 0. Each user’s utility function is defined as (3), where the preference parameter is selected randomly from the interval [1,4].

4.1. Results’ Analysis

The profiles of power consumption load, power supply, and price data are obtained from Singapore [21]. The data used in the simulation are listed in Table 2. Figure 1 shows the electric energy loads before adjustment.

Step I: obtain from smart meters. Solve and according to (7) and (8). Compute according to (9). Input ,  let , , , , and . Input parameters .
Step II: compute according to (10). If (14) is not satisfied, , go to Step III. Else, go to Step IV.
Step III: compute and from (22) and (24), respectively. Compute and . Iterate τ with τ+1  and go to Step II.
Step IV: compute according to Theorem 1; then, return to Step III.

From Figure 1, we can see that the power supplier’s optimal power supply runs stably, but the discrepancy between the users’ real power consumption and optimal power supply is relatively large. For the sake of shortening the gap, the power supplier should take action to encourage users to adjust the real power consumption. Our purpose is to reduce power consumption in peak hours and increase it in low hours, so as to achieve the energy-saving effect by the data-driven IPF-based repeated-feedback adjustment strategy, which can lead to steady real power consumption.

Set and list the parameters in Algorithm 1 in Table 3. The process of repeated-feedback adjustment from the performance of Algorithm 1 in 48 periods is illustrated in Figure 2. Figure 2 shows that the total adjustments times are 12. The standard error of residuals is

Figure 2 shows that, after applying the algorithm, all points are within the boundary, so there is no anomaly, and we can get steady power consumption.

We can learn from Figure 3 that the electricity price is changed slightly to balance the power discrepancies. The most remarkable change of price is 1.929 F0B4 10−3 $/kWh. Figure 3 also shows that compared with the original users’ power consumption, the adjusted users’ power consumption is closer to the optimal power supply, achieving the expected effect.

Table 3 and Figure 4 illustrate the whole social welfare computed according to (5) and the profits computed according to (2). We can learn from them that the whole social welfare in the proposed repeated-feedback adjustment strategy is significantly higher than the original one because the users’ real adjusted power consumption is much closer to the optimal power supply. The profit is slightly higher than the original one because the power consumption is more stable.

By running Algorithm 1, we not only can obtain the optimal adjustment strategy and steady power consumption but also can improve the economic benefits of both sides.

4.2. Comparison of Adjustment Effect

To verify the proposed IPF-based repeated-feedback adjustment strategy is more reasonable to obtain steady and dependable power consumption, we compare it with the linear function (after this referred to as “LF”)-based strategy model, such as [10], which adjusts the power consumption with the LF. The detailed method is provided in Appendix.

The parameters are listed in Table 4, and the comparison is illustrated in Table 4 and Figures 57.

It is shown in Table 4 and Figure 5 that the adjustments times and under IPF adjustment strategy are less than that under LF scenario, and the IPF adjusted power discrepancy is steadier than that of the LF scenario.

Table 4 and Figure 6 show that the economic benefits of both sides under the IPF adjustment pricing are more than that under the LF adjustment pricing.

It can be observed in Figure 7 that the change of price under the IPF adjustment pricing is less than in the LF scenario.

The test results mean that it is more reasonable to consider the proposed data-driven IPF-based repeated-feedback adjustment strategy than the LF scenario.

5. Conclusion

A data-driven inverse proportional function-based repeated-feedback adjustment strategy that the power supplier may adopt to monitor the consumption power discrepancy between the real power consumption and the optimal power supply is proposed. The power supplier can get the optimal power supply by the optimal problem in the smart grid. Only when the trend of the power discrepancy is identified as an anomaly by exponentially weighted moving average, we will adjust the real-time price. That is to say, the data-driven inverse proportional function-based repeated-feedback adjustment strategy is conducted only when the power discrepancy deviates far from the standard power discrepancy exceeding either the upper or lower boundary. Appling the data-driven inverse proportional function-based repeated-feedback adjustment strategy, we are able to get the least adjustments times and the steady and dependable power consumption close to the optimal power supply and more whole social welfare and profit. The proposed strategy can be applied to enrich the power grid monitoring and adjustment theory. At the same time, in practical application, it can help power suppliers formulate reasonable electricity price and manage the consumption power.

Appendix

Linear Function (LF)-Based Adjustment Strategy

Theorem A.1. If and is adjusted to , the effect of price adjustment is [10]

If and is adjusted to , the effect of price adjustment is [10]where is defined in (10).

Thus, when exceeds the boundary or , the users’ real adjusted consumption load and the power discrepancy in period τ +1will change as follows [10]:

Data Availability

The data used to support the findings of this study are included in the references 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 sponsored by the National Natural Science Foundation of China (no. 11401369).