Abstract

The basic theories of load forecasting on the power system are summarized. Fractal theory, which is a new algorithm applied to load forecasting, is introduced. Based on the fractal dimension and fractal interpolation function theories, the correlation algorithms are applied to the model of short-term load forecasting. According to the process of load forecasting, the steps of every process are designed, including load data preprocessing, similar day selecting, short-term load forecasting, and load curve drawing. The attractor is obtained using an improved deterministic algorithm based on the fractal interpolation function, a day’s load is predicted by three days’ historical loads, the maximum relative error is within 3.7%, and the average relative error is within 1.6%. The experimental result shows the accuracy of this prediction method, which has a certain application reference value in the field of short-term load prediction.

1. Introduction

Short-term load forecasting plays an important role in control and operation of the power system. People are the main consumers of electrical energy. The periodicity of production and life of the people decides the periodicity of power load. The cyclicity of power load is performed as the week and seasonal periodicity. Power load not only is cyclical but also has certain continuity, which generally does not occur in big jumps and the load curve is continuous between any two points, making it possible to predict load.

Although traditional forecasting methods, such as gray theory, expert systems theory, and fuzzy mathematics, are relatively mature, the forecast results are often unsatisfactory [1]. To further improve the prediction accuracy, we need to make some improvements on the traditional methods. In recent years, prediction experts have put forward a prediction method, which is based on particle swarm optimization extended memory and support vector regression (SVR) and a prediction method which combines support vector machines (SVM) and wavelet neural network optimization [24]. This improves the accuracy of prediction but has a complex computing process.

Since Mandelbrot created fractal geometry, fractals have been described in a large number of mathematical models of natural phenomena and have increasingly attracted people’s attention. Fractals as a branch of nonlinear theory have penetrated into many other branches, and fractal dimension has been widely used in image processing, data compression, fault diagnosis, voice recognition, pattern recognition, and so on [5, 6].

This study is based on the existing similar daily load forecasting method and a deep research on the fractal characteristics of the power load, which designs corresponding fractal characteristic value algorithms to achieve scientific data processing for power load.

2. Fractal Theory

2.1. The Fractal Dimension

Fractal theory gives a geometric definition about calculation dimension formula: a set consists of compositions which are similar and the similarity ratio can be considered as a dimension :

Since this formula can only be used in measuring the strict self-similarity geometry, the power load can adopt a similar method to approximate calculation.

Box-counting dimension is one of the most widely used dimensions. To calculate this dimension for a fractal , imagine this fractal lying on an evenly spaced grid, and count how many boxes are required to cover the set. The box-counting dimension is calculated by seeing how this number changes as we make the grid finer by applying a box-counting algorithm [7].

Suppose that is the number of boxes of side length required to cover the set. Then the box-counting dimension is defined as

2.2. Fractal Interpolation Function

Fractal interpolation function is a method of fractal curve construction which has the advantage that it can reflect adjacent local features. The fractal interpolation algorithm can construct an iterated function system over the entire range rather than a function, so it can maintain the most characteristic of the original sample curve and the sample interpolation points can be displayed with rich details. Because it can well reflect the characteristics of the load curve at each point, one can more accurately predict the load.

Fractal interpolation method is based on the theory of iterated function systems. If given a set of fractal interpolation function, iterated function systems (IFS) will make the attractor close to the curve of fractal interpolation function. Each in IFS is the affine transform function, which is given by the following structure formula [8, 9]:where is a coordinate, , are elements of transformation matrix, is the vertical scaling factor, and , are constant components of the transformed .

When was given, the other parameters can be expressed as

After obtaining the parameters, the IFS attractor can be obtained by deterministic iterative algorithm. With the increased number of iterations, the fitting degree of curve obtained by interpolation continues to improve and form a stable constant interpolation curve.

2.2.1. The Vertical Scale Factor

When calculating the affine coefficients of IFS, we temporarily regard vertical scaling factor as a free parameter that can be empirically selected. However, parameter has an impact on interpolation result, which is closely related to the complexity of corresponding fractal interpolation function. When , IFS converges to the only attractor.

There are many methods of calculating the vertical scaling factor . In this paper, we use the analytical method to obtain parameter ; its principle is by calculating the minimum mean square error of the original and mapping function. The process is as follows [10, 11].

There is the following data sequence: ; and are two successive interpolation points; and ; then formula (3) is rewritten aswhere and the values of points correspond to the values in the original functionThe mean square error of the mapping function and the original function isSo is obtained byTo make the minimum mean square error , the partial derivative of will be zero:where

2.2.2. The Method of Seeking Attractor

Attractor of IFS has a complex structure fractal diagram; the basic idea is that global and local geometric objects have self-similar structures under affine transformation. According to this principle, ultimately getting the attractor has nothing to do with the initial generator, but it depends on a set of iterative codes by affine transformation (also known as IFS code). Currently, we can use two ways to construct attractor on a computer, a deterministic algorithm (recursive algorithm) and a stochastic algorithm (random iterative algorithm) [12, 13]. Here we take an improved deterministic algorithm.

The procedure of improved deterministic algorithm is summarized in Algorithm 1.

Input: the initial set of points , the maximum number of iterations ;
Output: the attractor;
(i)  .take the point , within the set and use
  iterative sequence by IFS affine transformation ;
(ii)   then replace the , by each new generated point,
  ;
(iii)  if , return to step (ii), or go to the next step;
(iv)  .take the end point , within the set and
  use iterative sequence by IFS, replace the , by each new
  point until the end.

3. The Design of Overall Program

The process is mainly divided into the following steps: load data preprocessing, similar day selection, short-term load forecasting, and daily load curve drawing.

3.1. Load Data Preprocessing

Short-term load forecasting relies on large amounts of historical data. Conducting preparatory work of load forecasting, we select and collect the original data regardless of what methods forecasters adopt; the true and reliable degree of data will have great influence on the extent of these predictions and directly affect the accuracy of prediction. In the process of collecting the original data, some abnormal data must be effectively corrected or complemented [14]. In the paper, we compare the value of the load at this time to the average value of the load at a time on different days. If the difference is greater than a threshold, we think it is the burr interference, modified by formula (12):where is the number of sample points, is the weight coefficient, is the upper limit threshold value, and is the lower threshold value. Here we set ,  .

3.2. Design of Load Forecasting

The basic steps of fractal interpolation algorithm used in load forecasting are as follows.

Step 1. Preprocess load data; remove or repair spike points.

Step 2. Obtain samples, according to the relevant factors of the forecast day and historical day; use a similar day algorithm to select the same or similar type of three to five days from the history days as similar days of the predicted days.

Step 3. Choose a more similar day from similar days as a reference date.

Step 4. Establish IFS of the benchmark daily load; calculate fractal interpolation parameters.

Step 5. Establish IFS of the other similar daily load; also calculate fractal interpolation parameters.

Step 6. Obtaining the weighting average fractal interpolation parameters of several similar days, get a statistical meaning of IFS.

3.3. Daily Load Curve Drawing

Daily load curve can be drawn by the attractor method. According to the short-term load forecasting model, we obtain affine transformation group , set the generator, then use the deterministic algorithm to iterate the initial start point, and eventually draw daily load curve.

4. The Prediction Example

This section will predict the work day and holidays load and prove the accuracy and usefulness of short-term load forecasting by fractal theory. The load data are provided by Eastern Slovakian Electricity Corporation. The calculation process is as shown in Figure 1.

4.1. Workday Load Forecasting

According to a city grid, we predict July 22 load data by July historical load data and July 22 is Tuesday, which is a work day. In this example, we take the 48 points from daily load curve (every 30 minutes to take a point) and calculate box-counting dimension from July 1 to July 26. July 8, July 15, and July 22 are Tuesdays, which meet the weekly periodic characteristics which accord with the regularities of load changes that vary on a weekly cycle. In addition, July 21 is close to July 22, which may indirectly reflect their loads trend. Obtained box dimension of July 21 is 1.2078, and the box dimensions of July 8 and July 15 are 1.2067 and 1.2008; they are relatively close, so we select July 8, July 15, and July 21 as similar days of July 22. Box-counting dimensions of July are shown in Table 1.

According to load data of July 8, 15, and 21, fractal interpolation parameters of three similar days were calculated. Weighting and averaging them, we finally get a statistically iterated function system and IFS codes (affine transformation set , contains five parameters of , , , , and ). Parts of them are shown in Table 2.

According to the corresponding parameters of IFS, we weight and average them to obtain IFS codes by the fractal interpolation. Then by benchmark interpolating points, we use the deterministic algorithm to get attractor, which can be considered as the prediction daily load curve fit by the historical data. Figure 2 shows the prediction load curve and the actual load curve for July 22.

Through Figure 3, we conclude that the maximum relative error is 3.6778% and the average relative error is 1.32%, showing that the predicted and actual values ​​are close and the relative error is small.

According to Figure 2, we can see the following.(1)Predicted load point and the actual load point are basically consistent with high prediction accuracy.(2)When electrical load changes are great, the error is small; on the contrary, when electrical load changes are small, the error is relatively large, so that is exactly the characteristics of fractal interpolation function algorithm.

4.2. Holidays Load Forecasting

After completing workday load forecasting, we predict July 19 load data by July historical load data of July 5, 12, and 18, being holidays. Box-counting dimensions are shown in Table 3.

From the different types of load days, the fractal theory is proven to be accurate for short-term load forecasting. By the same principle, we can draw the predicted and actual load curves for July 19 from Figure 4.

Through Figure 5, we conclude that the maximum relative error is 3.0818% and the average relative error is 1.57%, showing that the predicted and actual values ​​are close and the relative error is small.

5. Conclusions

Fractal theory has a great advantage in the study of nonlinear systems. In the paper, combining the fractal characteristics with its own short-term power load curve, we can have a deep study on algorithm and forecasting steps. Three main conclusions of this approach are as follows.(i)Through the concept of fractal theory and conventional methods for solving fractal interpolation parameters, we introduce the method of the vertical scaling factor to better reflect the details of the load, improving the accuracy of prediction.(ii)By studying the characteristics of the load data, using a box-counting method to select similar days, the algorithm was simplified for the application to power load calculation and good foundation was laid.(iii)Using both fractal interpolation function and improved deterministic iterative attractor algorithms, we can accurately predict the electric power load.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This project is supported by Shanghai Nature Science Foundation of China (Grant no. 14ZR1418500) and Postgraduate Innovation Project of Shanghai University of Engineering Science (Grant no. E1-0903-14-01039). The authors are grateful to the editor and the reviewers for their constructive comments.

Supplementary Materials

In this paper, we apply the fractal theory to predict the power load. According to the fractal interpolation method, we can calculate the affine coefficients of IFS, as shown in Table1.1.

According to load data July 8, 15, 21 in theTable1.2, fractal interpolation parameters of three similar days were calculated, we weight and average them to obtain IFS codes by the fractal interpolation. Then by benchmark interpolating points, we use the deterministic algorithm to get attractor, which can be considered as the prediction daily load curve fit by the historical data.

Using fractal interpolation function and improved deterministic iterative attractor algorithms, we can accurately predict the electric power load from the result.

  1. Supplementary Material