نویسندگان
^{1} گروه برق  قدرت، دانشکده فنی و مهندسی، دانشگاه اصفهان، اصفهان، ایران
^{2} استاد گروه برق  قدرت، دانشکده فنی و مهندسی، دانشگاه اصفهان، اصفهان، ایران
چکیده
کلیدواژهها
موضوعات
عنوان مقاله [English]
نویسندگان [English]
In a competitive electricity market, an accurate short term price forecasting is essential for all the participants in market as a risk management technique. For both spot markets and longterm contracts, price forecast is necessary to develop bidding strategies or negotiation skills in order to maximize benefit. This paper proposes an efficient tool for shortterm electricity price forecasting with a simple model and acceptable computation time by combining several intelligent methods. Using inference, Adaptive Networkbased Fuzzy Inference System (ANFIS) is used to determine the nonlinear relation between large quantities of input variables and forecasted price (output variable). To decrease the complexity and improve the accuracy, mutual information (MI) technique is used to efficiently select the best set of input variables which have important information concerning forecasted price. Moreover, Particle Swarm Optimization (PSO) algorithm with new strategy in choosing the particles is adopted to tune ANFIS parameters more precisely. To evaluate the accuracy and performance, the proposed hybrid Mutual InformationANFISPSO (MIAP) methodology is implemented on the real world case study of Spanish electricity market. The results show the great potential of this proposed method in fast and accurate shortterm price forecasting in comparison with some of the previous price forecasting techniques.
کلیدواژهها [English]
With the introduction of restructuring into the electric power industry, the price of electricity has become one of the most essential subjects in the electricity market. Accurate price forecasts are crucial for producers to maximize their profits by bidding effectively and for bulk electricity customers to maximize their utilities by load scheduling optimally. Therefore, in a competitive electricity market, efficient and robust price forecasting tools are important for all market participants [1]. Price series exhibit a great complexity. In most of competitive electricity markets, the series of prices presents the special features, such as high frequency, no constant mean and variance, daily and weekly seasonality, calendar effect on weekend and public holidays, high volatility and high percentage of unusual prices , hard nonlinear behavior, etc. that make an accurate price forecasting be a challenging task [2].
Due to the importance and complexity of short term price forecasting, it has become an important research area in electrical engineering, and several techniques have been tried out in this task, namely, hard and soft computing techniques. The hard computing techniques, based on time series [3, 4], include Auto Regressive Integrate Moving (ARIMA) [5, 6] and Generalized Auto Regressive Conditional Heteroscedasticity (GARCH) [7] techniques. Regardless of their high computational cost, these approaches are well established to be very accurate; however, due to the use of linear modeling, most of them cannot predict the rapid changes of the price properly [8].
Fortunately, with the development of artificial intelligence,various artificial intelligence forecasting algorithms includingartificial Neural Networks (NN) [2, 812], Fuzzy Neural Networks (FNN) [13], Weighted Nearest Neighbors (WNN) [14] and Hybrid intelligent System (HS) [15] have been developed in price forecasting. The efficiency of soft computing techniques has close relation with the appropriate selection of input variables and the correct tuning of adjustable parameters.To overcome the instability of the NNs’ final results, some optimization algorithms, including firefly algorithm [1], whale optimization algorithm [16] and cuckoo search algorithm [17] are employed to optimize the initial weight and threshold of NNs.
To develop hybrid forecasting models, WT [18] and Variational Mode Decomposition (VMD) [19] have been incorporated in the forecasting model for identifying and extracting the main features of the price signal. In WT based models, first WT is applied to decompose the price series, then prediction is made in the wavelet domain using a predictive model like regression model, time series model [20], ANFIS [21], or NN [8, 2224]; finally the inverse WT is applied to obtain the actual predicted value in time domain. During the process, there may be some loss of information. Moreover, due to the characteristics of some high frequency detailed series, these series cannot be predicted accurately [8].
In ANFIS based approaches, a fuzzy inference system is used for training the ANN [25]. Although it has better performance relative to the ANN, the large amount of training data limit its performance. By considering this fact that an increase in the number of ANFIS input variables significantly increases the number of training data, the selection of appropriate ANFIS input variables is one of the most important aspects of using ANFIS in price forecasting.
In order to make ANFIS a practical approach with high accuracy in forecasting, adopting fast and precise methods in tuning ANFIS parameters is very important. In [25], several techniques are introduced in order to train ANFIS parameters. However, the convergence of parameters by these methods is very slow and depends on the initial values of parameters [26]. In [26], a method based on PSO algorithm is proposed to learn the premise and consequent parameters of ANFIS and is used in [21, 27] for electricity price forecasting. In this method, all parameters are initialized randomly in the first stage and then are being updated using PSO algorithm. In each iteration, one of the parameters is tuned and the others are kept constant. Since ANFIS structure has so many parameters to be trained, this strategy is time consuming and even impossible to reach so acceptable convergence, especially for volatile signals like electricity price.
This paper presents a hybrid forecasting model to improve the accuracy of the short term electricity price forecasting. ANFIS is in the heart of the proposed approach. To limit the number of training ANFIS parameters, MI technique is used to select an appropriate set of input variables. Moreover, PSO algorithm is used to tune all parameters of ANFIS. This paper also adopts a new strategy to form the particles of PSO algorithm by considering premise and consequent parameters in a single matrix.
The accuracy of the hybrid MIAP approach is examined by means of real data from the electricity market of mainland Spain, commonly used as the test case in several price forecasting papers. The proposed method is compared with some of the previous price forecasting techniques to show its effectiveness regarding the accuracy and computation time with simplicity of modeling.
In this section, ANFIS structure and PSO algorithm are described in detail.
ANFIS is a kind of neural network that is based on Takagi–Sugeno fuzzy inference system. Since it integrates both neural networks and fuzzy logic principles, it has the potential to capture the benefits of both in a single frame work. Its inference system corresponds to a set of fuzzy IF–THEN rules that have learning capability to approximate nonlinear functions. The ANFIS architecture is shown in Fig.1. The circular nodes represent nodes that are fixed whereas the square nodes are nodes that have parameters to be learned.
Layer 1: The output of each node is:
(1) 

(2) 
So, the is essentially the membership grade for and . The membership functions could be anything, but for illustration purposes, we will use the bellshaped function given by:
(3) 
Where are referred to as ANFIS premise parameters.
Layer 2: Every node in this layer is fixed. This is where the tnorm is used to ‘AND’ the membership grades  for example the product:
(4) 

(5) 
Layer 3: Contains fixed nodes which calculate the ratio of the firing strengths of the rules:
(6) 
Layer 4: The nodes in this layer are adaptive and perform the consequent of the rules:
(7) 
Fig. 1. An ANFIS Architecture for a Two
Rule Sugeno System
The parameters in this layer are to be determined and are referred to as the consequent parameters.
Layer 5: There is a single node here that computes the overall output O:
(8) 
This, then, is how, typically, the input vector is fed through the network layer by layer.
PSO is multiagent search technique that traces its evolution to the emergent motion of a flock of birds searching for food. PSO uses a number of particles that constitute a swarm. The modified velocity and position of search particle can be calculated as shown in the following formulas:

(9) 
(10) 


Where is the number of particles in a group; is number of members in a particle, is the pointer of iterations (generations); is the velocity of particle j at iteration t and ; , are acceleration constant, is the inertia weight factor; , are random number between ; is current position of particle at iteration ; is best position of particle and is best position of the particles.
The parameter determined the resolution with which regions to be searched between the present position and the target position.
The constants , represent the stochastic acceleration terms that pull each particle toward and positions, respectively ( ). Inertia weight is the balance factor between global and local exploration and often decrease linearly from about versus iteration. In general, the inertia weight is according to the equation (11).
(11) 
There is a nonlinear relation between the input and output variables in the short term price forecasting. Therefore, the ANFIS method can be employed to determine the nonlinear relation between large quantities of input and output (forecasted price) data by using inference. Although inference is used in the ANFIS approach, this system is not useful with a large quantity of training data. The more input variables are, the more training data will be. To cope with this weakness, the proposed approach limits the number of ANFIS training data by ignoring unimportant input variables. For this purpose, MI technique is used to select the best input variables which have important information concerning output and discard the others. Adapting a precise and fast method in tuning ANFIS parameters is so important to make ANFIS a practical method with high accuracy in price forecasting. The proposed approach uses PSO algorithm in a modified way to train ANFIS parameters that converge fast and increases the forecasting accuracy significantly.
Our strategy is shown in Fig. 2 and can be summarized as follows; first the candidate inputs, include lagged values of prices up to 200 hours ago, and output variable are linearly normalized in the range of [0, 1]. The MI technique selects the best input variables of ANFIS network. By the selected inputs, training and validation samples are constructed based on the data of 49 days ago. Then, PSO algorithm in a modified way tunes the premise and consequent parameters of ANFIS network with high accuracy and less computation time. Finally, nextweek prices will be forecasted hourly.
In this section, the structure of ANFIS is mentioned generally and then the role of PSO algorithm in tuning ANFIS parameter and MI technique in selecting input variables are described.
Recent works proposed different approaches in order to train ANFIS parameters. Reference [25] introduces Gradient decent based methods and sequential Least Square Error (LSE) method to update the parameters of ANFIS structure. However, since the convergence of ANFIS parameters by these methods is very slow and depends on initial value of parameters, finding the best learning rate is very difficult. Therefore, in [26] a method based on PSO algorithm is proposed to learn the premise and consequent parameters of ANFIS.
Fig.2. Structure of the Proposed MIAP Strategy
In this method, ANFIS parameters are initialized randomly in the first stage and then are being updated using PSO algorithm. In each iteration, one of the parameters is being trained. In other words, in the first iteration, for example, is trained and the other parameters are held fix, then in the second iteration, is trained and the other parameters are held fix. After training all parameters again, the first parameter trains and so on. It means that every change in a parameter at each iteration changes the output value and consequently the error function. Since ANFIS has so many parameters, it is so time consuming to reach acceptable convergence if parameters are trained by this strategy. On the other hand, each of ANFIS parameter has mutual interaction with ANFIS output and they aren’t independent. This paper considers premise and consequent parameters in a single matrix P. In each iteration, PSO algorithm trains all the entries of matrix (parameters) simultaneously instead of training them individually.
To explain how to construct matrix P (Eq. 11), suppose we have bell shaped membership functions for each input. There are two parameters at each membership function (its mean and variance) and then, there are parameters. If we have input variables for ANFIS, there are parameters in premise part of it and is shown in upper part of matrix P. For instance, in Fig. 1 by input variables and membership function there are premise parameters. In consequent part (layer4), there are nodes and there are parameters for each node (i.e. for two inputs, the output of ith node is ). So there are parameters in consequent part and is shown in downer part of matrix P. For instance, in Fig. 1 there are consequent parameters.
Now, we can define a particle in PSO algorithm as the following equation:
(12) 

In PSO algorithm, initial populations that contain different matrices in the form of are generated randomly. Selecting initial population is a key point. Some particles can be selected by random generating mean and the variance values of membership functions and consequent parameters separately and testing every possible permutation to get minimum error function. After generating initial population, the ability of each particle is evaluated. If its value is better than current or , that particle will be considered as or . For next iteration, the position and velocity of each particle are updated based on Eq. 9 and Eq. 10. This procedure is continued for all iterations. The last includes trained ANFIS parameters.
ANFIS is a classifying system that maps input features onto output classes. Some of features have important information concerning output and the others contain little information. To avoid the curse of complexity and dimensionality, we try to select features that contain more information about the outputs. Mutual information is a technique that we use to preprocess our data and discard unimportant features.
The entropy of a discrete random variable with values and probabilities , respectively, is defined as follows [28]:
(13) 
For two discrete random variables and with their joint pdf , the joint entropy of and is defined as:
(14) 
When certain variables are known and others are not, the remaining uncertainty is measured by the conditional entropy:
(15) 
The joint entropy and the conditional entropy have the following relation:
(16) 
This is known as ‘chainrule’, implies that the total entropy of random variables and is the entropy of plus the remaining entropy of for a given as shown in Fig. 3.
The information found commonly in two random variables is of importance in our work and this is defined as the mutual information between two variables.

(17) 
If the mutual information value between two random variables is large, it means that these are two correlated variables. If the mutual information becomes zero, the two random variables are totally unrelated or the two variables are independent.
The mutual information and the entropy have the following relation, as shown in Fig. 3:
(18) 
We use the ability of mutual information technique in extracting important set of input variables from all input candidates in order to forecast the price. For price forecasting of an hour, we use the input set of lagged values of price up to 200 hours ago. In this the paper previous 49 days is considered as the training periods. The mutual technique uses logarithm in base 2. So all inputs and output data must maps to binomial distributions. For this purpose, all inputs and output data are linearly normalized in the range of . If each normalized variable is bigger than its median, it will map to 1 and otherwise, it will map to 0. Now, 200+1 binomial distributions for inputs and output of mutual technique are generated.
According to Eq. 18, the mutual information between input and output is calculated. For this purpose, we define the joint probability similar to [2] as follows:
(19) 
where can have four digits . The number of (out of all training samples) that are 0 is defined as and similarly for and .
Fig. 3. Representation Mutual Information and different Entropies [28]
Table 1. Four states of the joint probability and two state probabilities and
Y X 
Y=0 
Y=1 
X=0 

X=1 
According to above definitions, four states of the joint probability and two state probabilities and are computed as shown in Table 1. Based on the individual and joint probabilities and replacing in Eq. (18), the mutual information between the candidate input and target variable is computed. This procedure is repeated for all inputs candidates and output and the mutual information between each input candidates and output is calculated and then are ranked. Input candidates with high mutual information are selected as important input variables for price forecasting by ANFIS algorithm and the others are discarded.
As a case study on Spanish Market, the prices of sample testing days February 18, May 20, August 19 and November 18 at different seasons of 2002 and their previous 49 days are considered.In Spanish electricity market, there are 24 hourly observations each day. The data are divided into two subsets: the training sample and the testing sample. The training sample is used tobuild the forecasting model, while the testing data is applied for the robustness check of the model.
By applying the mutual information technique, as described above, important lagged prices as input variables based on the value of their Normalized Mutual Information (NMI) that have the price of ( ) are ranked and shown in Table 2.
Several criteria defined in [20] have been used to measure the forecast and the accuracy of the proposed MIAP approach. Mean Absolute Percentage Error (MAPE) takes the absolute error of each forecast ( ), and divides it by the value ofthe actual price atthat hour ( ), and then averages these percentage errors in that forecasted hours (N). In order
Table 2. Ten high ranks input variables for testing days of Spanish Market (2002)
Rank 
Feb. 18 
May. 20 
Aug. 19 
Nov. 18 

Selected Feature 
N.MI Value 
Selected Feature 
N.MI Value 
Selected Feature 
N.MI Value 
Selected Feature 
N.MI Value 

1 
1.000 
1.000 
1.00 
1.000 

2 
0.953 
0.801 
0.94 
0.897 

3 
0.804 
0.722 
0.88 
0.778 

4 
0.803 
0.653 
0.88 
0.769 

5 
0.801 
0.652 
0.74 
0.734 

6 
0.711 
0.651 
0.73 
0.661 

7 
0.698 
0.597 
0.71 
0.658 

8 
0.683 
0.585 
0.69 
0.650 

9 
0.676 
0.569 
0.66 
0.626 

10 
0.665 
0.552 
0.64 
0.603 
to avoid the adverse effect of hourly prices close to zero, the MAPE is divided by the mean actual price of that period day or week instead of the price in that hour. This work forecasts the price of a week ahead of electricity market and then uses weekly MAPE criterion (N=168) which can be computed as follows:
(20) 
Error variance criterion is the other index used to measure the uncertainty of the proposed model. Small error variance gives more precise price prediction [20]. Weekly error variance can be defined as:
(21) 
Where:
(22) 
At the following, the weekly MAPE and weekly error variance are used to compare the accuracy of proposed MIAP approach with previously published approaches.
The proposed hybrid MIAP approach is applied to forecast nextweek in Spanish electricity market for the year of 2002 which is publicly available on its website [29]. It should be noted that the mainland Spain electricity market, a duopoly, is having a dominant player, which changes the price strategic bidding and thus it is hard to predict the electricity prices accurately for the next day [20]. Besides, we compare the approach with at least ten previously published price forecasting with the other methods previously reported in [5], [8], [9], [2], [1315, 20, 21],[27] and [30], the same test weeks are considered and are shown in Table 3 and no exogenous input variables are selected.
The forecasted price obtained with MIAP during the spring test week is shown in Fig. 4 along with actual price. It can be seen from Fig. 4 that forecasted prices of the week accurately match with the actual prices even the mild spikes and valleys on Sunday that is a unique characteristic for hybrid MIAP approach. For the winter, summer, and fall test weeks, forecasted prices are shown in Figs. 5 to 7, respectively.
Table 3. Hourly price data for forecasting methods
Markets 
Seasons 
Historical hourly price data 
Test weeks 
Spanish (2002) 
Winter 
Jan. 1Feb. 17 
Feb. 18 Feb. 24 
Spring 
April 2 May 19 
May 20May 26 

Summer 
July 2 Aug. 18 
Aug. 19 Au g. 25 

Fall 
Oct. 1 Nov.17 
Nov. 18 Nov.24 
Fig. 4. Forecast Results of the Spring Test Week (2002)
Fig. 5. Forecast Results of the Winter Test Week (2002)
Fig. 6. Forecast Results of the Summer Test Week (2002)
Fig. 7. Forecast Results of the Fall Test Week (2002)
Table 4 compares hybrid MIPA approach and twelve other approaches regarding the MAPE criterion. In the second and third rows, results of ARIMA model and ARIMA plus wavelet transform as an external decomposer/composer have been quoted from [5, 20].The fourth row shows the results of the new fuzzy neural network quoted from [13] in which instead of decomposing price signal, it divides smoothly input space in the form of fuzzified classification. The fifth row of Table 4 represents the obtained results from an MLP neural network with LM learning algorithm, quoted from [9].In the sixth row, results of mixedmodel in which separate ARIMA model is implemented for each hour of the day are represented (quoted from [30]).The idea of separate modeling of the 24 hourly time series of electricity price is also used in [2] with neural network as forecast block. This reference uses mutual information algorithm as the feature selection technique. Results of Cascaded NeuroEvolutionary Algorithm (CNEA) method are shown in the seventh row. The eighth row of Table 4, represents the obtained results of Adaptive Wavelet Neural Network (AWNN) quoted from [8] in which wavelet neural network is used instead of classical feedforward neural network. Results of Hybrid Intelligent System (HIS) method [15] are shown in the ninth row. Weighted nearest neighbors (WNNs) method has been presented for electricity price forecast technique in [14]. Results of implementing this method on forecasting test weeks are shown in the tenth row. In the eleventh row, results of WaveletPSOANFIS approach are quoted from [21]. Wavelet transform is as an external decomposer/ compose. The hybrid algorithm [23] include various methodologies like Wavelet Transform (WT), Fuzzy Adaptive Particle Swarm Optimization (FAPSO) and Feed Forward Neural Networks (FFNN)).It should be noted that although the idea of using hybrid PSOANFIS (HPA) algorithmin electricity price forecasting has been presented in [21, 27], our paper uses a different strategy, explained in Section 3.1, in using PSO algorithm for the finetuning of adjustable ANFIS parameters so that this strategy improves forecasting accuracy. Besides, the other part of our proposed technique includes mutual information based technique in selecting the best input features for price forecasting and disregarding the others. The results of our proposed MIAP algorithm are shown in the last row. The MAPE for the Spanish market has an average value of 57.3%. Improvement in the average MAPE of MIPA with respect to the previous eleven approaches (ARIMA, Mixedmodel, NN, WARIMA, WNN, FNN, HIS, AWNN, CNEA, WPA, WaveletFAPSOFFNN, HPA) is 68.8%, 66.6%, 65.2%, 61.7%, 61.4%, 58.7%, 55.5%, 54.08%, 41.7%, 38.8%, 37.5%, 41%, respectively. It indicates that the average of the weekly MAPE values of the proposed approach is considerably lower than other techniques. It means that the proposed hybrid MIAP outperforms in the forecasting the electricity prices compared to other approaches.
Table 4. Comparative MAPE results for four weeks of Table 3
Technique 
Winter 
Spring 
Summer 
Fall 
Average 
ARIMA [5] 
6.32 
6.36 
13.39 
13.78 
9.96 
WaveletARIMA [20] 
4.78 
5.69 
10.70 
11.27 
8.11 
FNN [13] 
4.62 
5.30 
9.84 
10.32 
7.52 
NN [9] 
5.23 
5.36 
11.40 
13.65 
8.91 
Mixedmodel[30] 
6.15 
4.46 
14.9 
11.68 
9.30 
CNEA[2] 
4.88 
4.65 
5.79 
5.96 
5.32 
AWNN [8] 
3.43 
4.67 
9.64 
9.29 
6.75 
HIS[15] 
6.06 
7.07 
7.47 
7.30 
6.97 
WNN[14] 
5.15 
4.34 
10.89 
11.83 
8.05 
WPA[21] 
3.37 
3.91 
6.50 
6.51 
5.07 
WaveletFAPSOFFNN [23] 
4.04 
3.43 
5.32 
6.51 
4.8 
HPA[27] 
3.65 
4.19 
6.76 
6.53 
5.28 
Proposed MIAP 
2.95 
1.49 
3.7 
4.27 
3.10 
In Table 5, a comparison between the variance of the prediction error of the other nine approaches (ARIMA, NN, WARIMA, FNN, HIS, AWNN, CNEA, WPA) and the proposed method is shown. Smaller weekly error variance by the proposed MIAP indicates its less uncertainty in the forecasting.
Table 5. Comparative weekly forecasting error variance for four weeks of Table 3
Technique 
Winter 
Spring 
Summer 
Fall 
Average 
ARIMA [5] 
0.0034 
0.0020 
0.0158 
0.0157 
0.0092 
NN [9] 
0.0017 
0.0018 
0.0109 
0.0136 
0.0070 
WaveletARIMA [20] 
0.0019 
0.0025 
0.0108 
0.0103 
0.0064 
FNN [13] 
0.0018 
0.0019 
0.0092 
0.0088 
0.0054 
HIS [15] 
0.0012 
0.0031 
0.0074 
0.0075 
0.0048 
AWNN [8] 
0.0009 
0.0017 
0.0074 
0.0049 
0.0037 
CNEA [2] 
0.0036 
0.0027 
0.0043 
0.0039 
0.0036 
WPA [21] 
0.0008 
0.0013 
0.0056 
0.0033 
0.0027 
Proposed MIAP 
0.0006 
0.0001 
0.0002 
0.0009 
0.0004 
Time series models such as ARIMA are linear predicator. Due to nonlinear behavior of electricity price signal as a function of its input, these forecasting techniques cannot predict rapid changes of the electricity price. As is shown in Table 4, the accuracy of ARIMA based techniques [5, 20] in predicting the same test weeks is less than artificial intelligence based techniques which can model the complex nonlinear relation between input variables and target price.
Some previous techniques uses wavelet transform as a decomposer/composer. The accuracy of our proposed approach is better and it seems that due to high frequency components of price signals, Wavelet transform may lose some information. This fact can impact on the accuracy of wavelet based approaches.
As obtained results show, ANFIS based techniques [21], and proposed MIAP approaches which uses a fuzzy inference system for training the ANN has better performance relative to NN in electricity price forecasting. Generally, the efficiency of artificial intelligence based techniques has close relation with proper selection of input variables and finetuning of adjustable parameters of their architecture. Input candidate can be lagged values of the price signal and exogenous variables such as load and generation data provided that they are available in the corresponding electricity market. In order to avoid the curse of dimensionality and to limit the number of adjustable parameters which is increased with number of input variables, important input variables that contribute forecasting accuracy should be selected among this potentially huge number of input variables. For this purpose, MI technique is used in the proposed MIAP approach. The proposed strategy in correct and fast tuning ANFIS parameters by PSO algorithm, explained in Section 3.1, plays important role in the accuracy of proposed price forecasting approach.
Our proposed MIAP approach was executed for different weeks in different seasons of the year 2002 for the Spanish electricity market. The obtained weekly MAPEs and error variances for these weeks are close to the results of Tables 4 and 5. In order to evaluate the daily price forecasting of the proposed MIAP approach, it is examined in price forecasting of the days of the other testing week of the Spanish electricity Market (August 2531, 2000).
The accuracy of the proposed method is compared with the CENA, ARIMA and mixedmodel and is shown in Table 6. Simulation results show that the daily mean errors at all days of the testing week are considerably lower than CENA, ARIMA and mixedmodel. Improvement in the average mean error of the proposed approach with respect to the three mentioned approaches is 62%, 73%, 68%, respectively.
Fig. 8 shows a graphical view regarding the forecast accuracy ofthe proposed method in the priceforecasting of the testing week. The weekly MAPE for thetest week has an average value of 2.21%.
Table 6. Daily mean error for August 2531. 2000 of the Spanish Electricity market
Technique 
MixedModel [30] 
ARIMA[5] 
CNEA[2] 
Proposed MIAP 
Day1 
4.8% 
4.34% 
4.65% 
2.05% 
Day2 
7.3% 
7.99% 
6.62% 
2.28% 
Day3 
5.4% 
4.57% 
5.22% 
2.92% 
Day4 
4.6% 
10.81% 
4.59% 
1.63% 
Da5 
5.1% 
6.12% 
5.56% 
1.12% 
Day6 
14.9% 
17.34% 
8.52% 
3.05% 
Day7 
7.2% 
6.05% 
6.11% 
2.41% 
Average 
7.04% 
8.17% 
5.90% 
2.21% 
Fig.8. Forecast Results of Summer Test Week (Aug. 2000)
The simulation analyses are implemented in MATLAB. The average computational time is 54 seconds by using a Pentium P4 2.3GHz personal computer with 6 GB of RAM memory. Considering the forecasting time horizon, this set up time is acceptable within a shortterm decision making framework. This characteristic makes MIAP as a practical approach with high accuracy.
Accurate electricity price forecasting is of great significance for the entire electrical power system. In doing so, this paper proposes a new hybrid method by combining the ANFIS, PSO, and MI algorithms. The proposed forecasting method is examined by using data from the Spanish market. The results confirm the considerable performance of the proposed MIAP approach in forecasting shortterm electricity prices. The great performance of the proposed hybrid algorithm can be attributed to the following three causes. Firstly, the ANFIS algorithm has nonlinear mapping capabilities, which can capture the nonlinear component of electricity pricesmore easily. Secondly, PSO algorithm can well tune ANFIS parameters, in which choosing inappropriate adjusting variables will cause either under or over fitting. Thirdly, MI technique can appropriately select and limit the input variables of ANFIS structure. Extension of this method that includes more concentrating on predicting the rapid changes of price signal will be considered in the future work.
[1] Submission date:  , . , 2018
Acceptance date:  ,  , 2018
Corresponding author: RahmatAllah Hooshmand, Department of Electrical Engineering, Faculty of Electrical Engineering,University of Isfahan, Isfahan, Iran
[1] D. Wang, H. Luo, O. Grunder, Y. Lin, and H. Guo, "Multistep ahead electricity price forecasting using a hybrid model based on twolayer decomposition technique and BP neural network optimized by firefly algorithm," Applied Energy, vol. 190, pp. 390407, 2017/03/15/ 2017.
[2] N. Amjady and F. Keynia, "DayAhead Price Forecasting of Electricity Markets by Mutual Information Technique and Cascaded NeuroEvolutionary Algorithm," IEEE Transactions on Power Systems, vol. 24, no. 1, pp. 306318, 2009.
[3] R. Weron and A. Misiorek, "Forecasting spot electricity prices: A comparison of parametric and semiparametric time series models," International Journal of Forecasting, vol. 24, no. 4, pp. 744763, 2008/10/01/ 2008.
[4] A. J. Conejo, J. Contreras, R. Espínola, and M. A. Plazas, "Forecasting electricity prices for a dayahead poolbased electric energy market," International Journal of Forecasting, vol. 21, no. 3, pp. 435462, 2005/07/01/ 2005.
[5] J. Contreras, R. Espinola, F. J. Nogales, and A. J. Conejo, "ARIMA models to predict nextday electricity prices," IEEE Transactions on Power Systems, vol. 18, no. 3, pp. 10141020, 2003.
[6] J. P. González, A. M. S. Roque, and E. A. Pérez, "Forecasting Functional Time Series with a New Hilbertian ARMAX Model: Application to Electricity Price Forecasting," IEEE Transactions on Power Systems, vol. 33, no. 1, pp. 545556, 2018.
[7] G. P. Girish, "Spot electricity price forecasting in Indian electricity market using autoregressiveGARCH models," Energy Strategy Reviews, vol. 1112, pp. 5257, 2016/06/01/ 2016.
[8] N. M. Pindoriya, S. N. Singh, and S. K. Singh, "An Adaptive Wavelet Neural NetworkBased Energy Price Forecasting in Electricity Markets," IEEE Transactions on Power Systems, vol. 23, no. 3, pp. 14231432, 2008.
[9] J. P. S. Catalão, S. J. P. S. Mariano, V. M. F. Mendes, and L. A. F. M. Ferreira, "Shortterm electricity prices forecasting in a competitive market: A neural network approach," Electric Power Systems Research, vol. 77, no. 10, pp. 12971304, 2007/08/01/ 2007.
[10] K. Meng, Z. Y. Dong, and K. P. Wong, "Selfadaptive radial basis function neural network for shortterm electricity price forecasting," IET Generation, Transmission & Distribution, vol. 3, no. 4, pp. 325335, 2009.
[11] P. Areekul, T. Senjyu, H. Toyama, and A. Yona, "A Hybrid ARIMA and Neural Network Model for ShortTerm Price Forecasting in Deregulated Market," IEEE Transactions on Power Systems, vol. 25, no. 1, pp. 524530, 02// 2010.
[12] X. Chen, Z. Y. Dong, K. Meng, Y. Xu, K. P. Wong, and H. W. Ngan, "Electricity Price Forecasting With Extreme Learning Machine and Bootstrapping," IEEE Transactions on Power Systems, vol. 27, no. 4, pp. 20552062, 2012.
[13] N. Amjady, "Dayahead price forecasting of electricity markets by a new fuzzy neural network," IEEE Transactions on Power Systems, vol. 21, no. 2, pp. 887896, 2006.
[14] A. T. Lora, J. M. R. Santos, A. G. Exposito, J. L. M. Ramos, and J. C. R. Santos, "Electricity Market Price Forecasting Based on Weighted Nearest Neighbors Techniques," IEEE Transactions on Power Systems, vol. 22, no. 3, pp. 12941301, 2007.
[15] N. Amjady and M. Hemmati, "Dayahead price forecasting of electricity markets by a hybrid intelligent system," European Transactions on Electrical Power, vol. 19, no. 1, pp. 89102, 2009.
[16] P. Du, J. Wang, W. Yang, and T. Niu, "Multistep ahead forecasting in electrical power system using a hybrid forecasting system," Renewable Energy, vol. 122, pp. 533550, 2018/07/01/ 2018.
[17] L. Xiao, W. Shao, M. Yu, J. Ma, and C. Jin, "Research and application of a hybrid wavelet neural network model with the improved cuckoo search algorithm for electrical power system forecasting," Applied Energy, vol. 198, pp. 203222, 2017/07/15/ 2017.
[18] H. Shayeghi, A. Ghasemi, M. Moradzadeh, and M. Nooshyar, "Dayahead electricity price forecasting using WPT, GMI and modified LSSVMbased SOLABC algorithm," Soft Computing, vol. 21, no. 2, pp. 525541, 2017/01/01 2017.
[19] S. Lahmiri, "Comparing Variational and Empirical Mode Decomposition in Forecasting DayAhead Energy Prices," IEEE Systems Journal, vol. 11, no. 3, pp. 19071910, 2017.
[20] A. J. Conejo, M. A. Plazas, R. Espinola, and A. B. Molina, "Dayahead electricity price forecasting using the wavelet transform and ARIMA models," IEEE Transactions on Power Systems, vol. 20, no. 2, pp. 10351042, 2005.
[21] J. P. S. Catalão, H. M. I. Pousinho, and V. M. F. Mendes, "Hybrid waveletPSOANFIS approach for shortterm electricity prices forecasting," in 2011 IEEE Power and Energy Society General Meeting, 2011, pp. 11.
[22] Y. H. S. L. Z. Z. X. Y. C. S. J. Yao, "Prediction of System Marginal Prices by Wavelet Transform and Neural Networks," Electric Machines & Power Systems, vol. 28, no. 10, pp. 983993, 2000/10/01 2000. M. Khooban, "Probabilistic Forecasting of Hourly Electricity Price by Generalization of ELM for Usage in Improved Wavelet Neural Network," IEEE Transactions on Industrial Informatics, vol. 13, no. 1, pp. 7179, 2017.
[25] J. R. Jang, "ANFIS: adaptivenetworkbased fuzzy inference system," IEEE Transactions on Systems, Man, and Cybernetics, vol. 23, no. 3, pp. 665685, 1993.
[26] M. A. Shoorehdeli, M. Teshnehlab, A. K. Sedigh, and M. A. Khanesar, "Identification using ANFIS with intelligent hybrid stable learning algorithm approaches and stability analysis of training methods," Applied Soft Computing, vol. 9, no. 2, pp. 833850, 2009/03/01/ 2009.
[27] H. M. I. Pousinho, V. M. F. Mendes, and J. P. S. Catalão, "Shortterm electricity prices forecasting in a competitive market by a hybrid PSO–ANFIS approach," International Journal of Electrical Power & Energy Systems, vol. 39, no. 1, pp. 2935, 2012/07/01/ 2012.
[28] N. Kwak and C. ChongHo, "Input feature selection by mutual information based on Parzen window," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 12, pp. 16671671, 2002.
[29] Market Operator of the Electricity Market of Mainland Spain, MEL, 2010. [Online]. Available: http://www.omel.es/.
[30] C. GarciaMartos, J. Rodriguez, and M. J. Sanchez, "Mixed Models for ShortRun Forecasting of Electricity Prices: Application for the Spanish Market," IEEE Transactions on Power Systems, vol. 22, no. 2, pp. 544552, 2007.