Next Article in Journal
Fault Detection and Isolation for Redundant Inertial Measurement Unit under Quantization
Next Article in Special Issue
Optimal Operation Analysis of the Distribution Network Comprising a Micro Energy Grid Based on an Improved Grey Wolf Optimization Algorithm
Previous Article in Journal
Orthogonal Simplex Chebyshev-Laguerre Cubature Kalman Filter Applied in Nonlinear Estimation Systems
Previous Article in Special Issue
A Short-Term Photovoltaic Power Prediction Model Based on the Gradient Boost Decision Tree
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Short-Term Fuzzy Load Forecasting Model Using Genetic–Fuzzy and Ant Colony–Fuzzy Knowledge Base Optimization

1
Department of Electric and Electronics Engineering, Kırıkkale University, 71451 Kırıkkale, Turkey
2
Department of Informatics, Kırıkkale University, 71451 Kırıkkale, Turkey
3
Department of Computer Engineering, Gazi University, Technology Faculty, 06500 Ankara, Turkey
*
Author to whom correspondence should be addressed.
Appl. Sci. 2018, 8(6), 864; https://doi.org/10.3390/app8060864
Submission received: 15 April 2018 / Revised: 19 May 2018 / Accepted: 20 May 2018 / Published: 25 May 2018

Abstract

:
The estimation of hourly electricity load consumption is highly important for planning short-term supply–demand equilibrium in sources and facilities. Studies of short-term load forecasting in the literature are categorized into two groups: classical conventional and artificial intelligence-based methods. Artificial intelligence-based models, especially when using fuzzy logic techniques, have more accurate load estimations when datasets include high uncertainty. However, as the knowledge base—which is defined by expert insights and decisions—gets larger, the load forecasting performance decreases. This study handles the problem that is caused by the growing knowledge base, and improves the load forecasting performance of fuzzy models through nature-inspired methods. The proposed models have been optimized by using ant colony optimization and genetic algorithm (GA) techniques. The training and testing processes of the proposed systems were performed on historical hourly load consumption and temperature data collected between 2011 and 2014. The results show that the proposed models can sufficiently improve the performance of hourly short-term load forecasting. The mean absolute percentage error (MAPE) of the monthly minimum in the forecasting model, in terms of the forecasting accuracy, is 3.9% (February 2014). The results show that the proposed methods make it possible to work with large-scale rule bases in a more flexible estimation environment.

1. Introduction

Electricity load forecasting has always had a significant position in relation to efficiently planning and managing the operations of power systems [1]. Especially, estimating short-term load consumption characteristics is critical in the maintenance, power production, and interchange of both power generation and distribution facilities [2]. From the view of economic and natural aspects, accurate load forecasting provides a chance to operate and generate electricity at a lower cost, and thus better protect the natural environment.
Most of the techniques that are used for electricity generation need to use non-storable resources; thus, planning and estimating demand-side changes are very important. There are several types of methods that have been applied to find the best forecasting model [3]. Recent studies have shown that load consumption patterns are highly related to exogenous factors such as weather conditions, temperature changes, and consumption time (working days, religious and official holidays, weekends, etc.). Load consumption is also affected by economic or political fluctuations [4].
There are many types of methods that deal with the above-mentioned difficulties. These approaches are divided into two individual categories: statistically-based traditional conventional methods, and artificial intelligence-based nature-inspired methods.
Traditional statistic-based methods are based on the existence of a relationship between electricity load consumption characteristic and exogenous factors [5]. Regression-based methods such as autoregressive (AR) models, autoregressive moving average (ARMA) models, and autoregressive integrated moving average (ARIMA) models are usually applied to make short-term load forecasting. Regression-based models are those affected by calendar effective datasets, and the obtained results are not promising at all [6]. Linear models are easier to use compared with regression-based models, but these models produce higher forecast errors. Nonlinear forecast models give a higher forecast accuracy than the linear models [7].
Swarm intelligence based and bio-inspired programming methods are glittering and have recently been seen much more in the literature. Especially swarm intelligence based techniques such as ant colony optimization (ACO), artificial bee colony (ABC), particle swarm optimization (PSO), cuckoo search optimization (CSO), and firefly optimization (FO) are seen as having many advantages compared with traditional solution methods. There are many different types of algorithms that have been used for solving engineering problems in the literature, but there is no individual algorithm that presents an exact solution for all [8]. Most of the algorithms mentioned before were used in the forecasting of short-term load consumption. Several researchers have proposed different various forecasting models.
Hernandez et al. (2013) proposed artificial neural network (ANN)-based short-term load forecasting model. They used historical load consumption data and exogenous factors such as air temperature, average wind speed, wind direction, relative humidity, and pressure. They proposed two-stage ANN forecasting models. The first stage consisted of data preparation, and the second stage consisted of hourly-based load consumption forecasting. The proposed two-stage forecasting model was succeeded with a 1.62% forecasting error [9]. Hassan et al. (2016) proposed a type-2 fuzzy logic forecasting model by utilizing an extreme learning machine for electricity load forecasting. They used an extreme learning strategy to find optimal fuzzy parameters, which were randomly defined at an initializing phase. They used nonlinear datasets from the Australian National Electricity Market for the Victoria region and the Ontario Electricity Market. The obtained results of their model were compared with some traditional models such as neural networks and adaptive neuro-fuzzy models [10]. Hernandez et al. (2014) proposed load forecasting models in a microgrid environment. They used two different datasets (Data Set A, Data Set B) in their ANN models. Their research was aimed at the comparison and observation of the effects of solar radiation on energy consumption in a microgrid environment [11]. Chatuverdi et al. (2015) used a generalized neural network model for short-term load forecasting to deal with the disadvantages of neural networks such as deciding network size, type, architecture, and long learning time. The proposed model was used to forecast an electricity consumption amount of 15 MVA, 33/11 KV station in Dayalbagh Institute. They used weekday data and a trained forecasting model [12]. Li et al. (2015) proposed a hybrid load forecasting model. They used wavelet transform (WT) to feature extraction and define load frequency characteristic. They also used the extreme learning machine (ELM) algorithm and the modified artificial bee colony algorithm (MABC) for the global searching of input weights of ELM. Their presented model was trained and tested with ISO New England and North American load datasets [13]. Abdoos et al. (2015) presented a hybrid short-term load forecasting model. They used WT and Gram–Schmidt techniques for data preparing and feature extraction. They proposed support vector machine (SVM)-based models for both weekends and weekdays [14]. Kouhi et al. (2014) proposed an artificial neural network model with an intelligent chaotic feature selection technique. The proposed feature selection technique was used to obtain the best-input dataset, and candidate data was prepared with the taken embedded theorem. Fitness values of the input dataset’s were calculated using correlation analysis. They used MLP (multi-layer perceptron) in the load-forecasting module [15]. Selakov et al. (2014) presented a PSO and SVM-based short-term hybrid load forecasting model. They used historical weather information with a load consumption dataset. The obtained results showed that the proposed model had given highly accurate results with highly changeable temperature periods [16]. Li et al. (2014) proposed a hybrid load forecasting model. The laws of quantum physics were employed in their quantum neural network models, and used with the genetic algorithm (GA) to optimize and find the best sub-optimal network structure. The results of the research showed that the HQENN (Hybrid Quantum Elman Neural Network) model has an acceptable high accuracy, and might be used for short-term load forecasting [17]. Mamlook et al. (2009) proposed a fuzzy logic short-term load forecasting model using historical weather temperature and a load dataset [18]. Srinivasan et al. (1994) used a hybrid neuro-fuzzy model for short-term load forecasting. They used fuzzy logic to obtain input information for the neural network forecasting model. Historical load and weather temperature data were used for training and testing the load forecasting model [19].
In Turkey, there a large number of studies aim to have the closest results in short-term load forecasting. Yukseltan et al. (2017) published an article about forecasting the electricity demand of Turkey. They developed an hourly demand forecasting method on annual, weekly, and daily horizons using a linear model. Their model was based on sinusoidal variations, without using any climatic or econometric information. Their proposed method was applied to the Turkish Power market data for the period 2012–2014, and the daily and weekly electricity demand horizons were predicted [20]. Çevik et al. (2015) presented fuzzy logic short-term load forecasting models. They used fuzzy, adaptive neuro-fuzzy, and hybrid models with historical weather temperature data, seasonal changes, and historical load consumption datasets [21]. Esener et al. (2013) proposed an artificial intelligence-based load forecasting method that used signal processing and artificial neural networks. Their dataset was independent of historical weather condition influences and changes [22]. Demiroren et al. (2006) presented an artificial neural network load forecasting model to predict the hourly load consumption amount of the Middle Anatolian region. They used historical weather temperature and a load consumption dataset, and the obtained results were compared with regression-based statistical models [23]. Topalli et al. (2006) proposed Elman’s recurrent neural network model, and compared their results with other recurrent intelligent architecture models [24].
To date, a considerable body of research has been sought to understand load consumption characteristics. Previous research has demonstrated that several types of exogenous factors such as weather conditions (air temperature, humidity, enlightenment time, etc.) or economic changes and fluctuations directly affect hourly-based electricity consumption. This paper contributes to recent literature on:
  • Flexible forecasting environments and conditions with independently chosen training dataset period seasonal changes,
  • Intelligent optimal knowledge base methods for modeling load fuzzy forecasting systems.
  • Hybrid load forecasting approaches that use genetic algorithm and ant colony optimization methods with fuzzy logic techniques.
In this study, we present hybrid genetic ant colony-based fuzzy inference load consumption forecasting models, which are composed of fuzzy logic and nature-inspired optimization methods. One of the most important difficulties when developing a fuzzy logic-based forecasting model is the complexity of defining an optimal rule base when the numbers for the input and membership functions are getting larger. Both prediction models presented in the study use natural-inspired methods and provide a more flexible working environment for the researcher while modeling the forecasting system. The researcher can easily increase or decrease the number of the input–output dataset sizes and membership functions without considering the size of the knowledge base.
The paper is organized as follows: Section 2 presents the output and input variables of the forecasting model, the morphological content of the training and testing datasets, and the detailed forecasting model and nature-inspired optimization methods that will be used. In Section 3, the experimental results of the proposed forecasting models and comparisons between real consumption values and optimized results will be presented. Finally, in Section 4, the obtained results will be discussed, and planned works will be explained.

2. Materials and Methods

In this study, we present hybrid genetic ant colony-based fuzzy inference, which is composed of fuzzy logic and nature-inspired optimization methods. The ant colony rule-based optimization module was used for exploration (global search), and the preselected rule set was obtained. The genetic algorithm rule-based optimization module was used for exploitation (local search), and the best rule set that was found in this phase was used. The fuzzy inference module was used with both ant colony and genetic modules to get crisp hourly load consumption amounts. The general block diagram of the proposed load forecasting model is seen in Figure 1.
The proposed models were trained and tested with historical weather temperature and hourly load consumption data obtained from National Load Dispatch Centre for the period between 2011 and 2014.

2.1. Data Set

The electricity load consumption amount generally follows a routine. However, there are usually improbable changes and fluctuation. There may be countless reasons to explain these changes. Mostly, these are temperature changes, calendar effects such as formal or religious holidays, and economic and political fluctuation and crisis. The hourly-based electricity load consumption changes in 2013 are shown in Figure 2.
In 2013, the maximum load consumption was 38,116 MWh, the minimum load consumption was 14,800 MWh, and the average load consumption was 28,003.08 MWh. The consumption values show that there is wide range of consumption characteristics in Turkey. The consumption records show that in the summer and winter seasons, consumption values are higher compared with spring and autumn. The highest consumption was recorded on 29 August as 38,116 MWh between 1 pm and 2 pm.
The electricity load consumption values of Turkey between 2011 and 2013 are visualized as black and white images in Figure 3. The darker parts of the graphic are pointing out the lower consumption; nevertheless, the brighter parts are pointing out the higher consumption values. There are two areas that are darker than the others in all of the graphics; these show the religious holiday periods in Turkey. Most of the government facilities and the private sector don’t work these days; thus, electricity consumption is dramatically less than usual.
The graphics show us more valuable information about Turkey. The 2013 graphic that is shown in Figure 3–c is generally darker than the other graphics, because there was an economic crisis in Turkey in 2013. This economic crisis started to show its effects from the end of 2012, and all of these effects are seen in Figure 3a–c.

2.2. Last Day (Ldc)—Last Week (Lwc) Consumption

Daily electricity load consumption usually has a clear path, and studies show that there is a strong and direct relationship between load consumption and temperature changes [21]. The hourly-based day ahead normalized load consumption values in 2013 are seen in Figure 4.
The daily electricity consumption pattern doesn’t change in a wide range. The load curves follow similar consumption characteristics for each day; the rises and falls are mostly similar. This consumption pattern is a useful indicator, and most of the researchers used these parameters in their studies.

2.2.1. Calculated Load Consumption (Lcal)

Daily consumption changes are remarkable indicators, but it is not enough to have a flawless load forecasting. The least squares method is the mathematical equation form that determines and visualizes the relationship in the dataset. Each data reveals the relationship between the known independent and unknown dependent variables.
The least square method was developed in the late 1700s, and is used for estimating the unknown parameters between data and the model using squared deviations [25]. The least square method is one of the best analytical techniques for extracting valuable information from the dataset [26]. In this paper, day-ahead weekly load changes are used as forecasting parameters. A trend analysis for the day-ahead consumption changes has been calculated using the following mathematical equations:
Least   Square   Load   Trend   Equation :   L = a + b x i
Slope :   b = i = 1 n x i y i n x ¯ y ¯ i = 1 n x i 2 n x ¯ 2
Load   Intercept :   a = y ¯ b x ¯
In Equation (1), L denotes the estimated hourly electricity load consumption, a denotes the load factor, b denotes the load slope, and x i denotes the period of load that will be estimated.
The calculated load curve (LCAL) using the least square method is another important input parameter of the load forecasting system. Load estimation for 1 January 2012, using the data between 25 and 31 December 2011, is seen in Table 1. Each row of the data is the measured electricity load consumption value for the same hour period (12:00 a.m. to 1:00 a.m.).
The relationship of the weekly-based hourly dataset was analyzed using the least square method, and the load trend line was determined. The target load consumption value was calculated with the equations mentioned above. The hourly load consumption data and calculated values for between 25 December 2011 and 1 January 2012 are seen in Figure 5.

2.2.2. Temperature Data Set (Teff)

The literature research shows that there is a very strong relationship between weather condition changes and the electricity consumption amount. Temperature changes directly affect electricity consumption [21]. The correlation between air temperature and load consumption for the period between 1 and 4 April 2013 is given in Figure 6.
Usually, there is a linear correlation between temperature and load consumption. When temperature increases, load consumption increases synchronously. Temperature changes are crucial factors for forecasting but are not the only indicators to use.

2.3. Fuzzy Inference System

Fuzzy logic has been one of the most commonly used methods for solving engineering problems recently. Fuzzy logic methods are especially used for the planning, control, and production scheduling of power systems, and system stability management. The fuzzy logic methods and control techniques are very effective and powerful optimization tools that have many advantages, such as robustness and an ease of implementing [27].
The fuzzy logic concept was introduced first by Zadeh in 1965 [28]. The fuzzy approach may be briefly described as a generalized form of classical set theory. In classical set theory, every argument must be classified in an individual set or not, and any element cannot be represented by the intersection of sets. Contrary to the classical approach, in fuzzy theory, the degree of membership of an element may continuously exist. Continuous data may be expressed with membership functions [29]. The Mamdani inference model is a well-known and used fuzzy model.
The basic fuzzy logic inference system has four main blocks, which are seen in Figure 7. The knowledge base block involves the rule base and database, which are generally created by an expert or an optimization method. The fuzzier block is used for the transformation of crisp values into linguistic terms. Linguistic terms with membership values are processed with knowledge information in the inference module, and the results are sent to the defuzzifier (purification) module to obtain the crisp output.
In the Mamdani fuzzy approach, the defuzzification phase is evaluated with rule sentences and conditions such as those seen below:
Rule 1: if x1 is A1 and y1 is B1 … then z is C1
Rule 2: if x2 is A2 and y2 is B2 … then z is C2
Rule 3: if x3 is A3 and y3 is B3 … then z is C3
Rule k: if xk is Ak and yk is Bk … then z is Ck.
where x and y are the first and second input variables, respectively, z is the output variable, and k is the number of rules.
There are a few important points that need to be defined very well, such as the membership function size, type, and shape. Changes to these parameters critically affect the accuracy of the system. These parameters need to be defined by an expert or through the use of optimization techniques [30].

2.4. Genetic Algorithm

The genetic algorithm is a nature-inspired method that is based on Darwin’s evolution theory. The genetic approach became more popular through various studies and John Holland’s book “Adaptation in Natural and Artificial Systems” in the early 1970s [31]. The literature shows that genetic algorithm methods are useful and more successful than traditional methods in solving engineering problems. Its advantages include gradient independency, a high discovery rate, and solution parallelism [32,33].
Genetic methods have some basic operators such as selection, crossover, mutation, and recombination. Selection operation is an elitism technique. This operation is aimed at finding the best or more useful individuals for having new and better offspring or children. There are a few selection methods used in the genetic algorithm such as roulette-wheel selection, tournament selection, and truncation selection. Crossover is a move–replace operation that is aimed at generating a new breed from existing or selected parents’ selected (single or multipoint) parts. Mutation operation is changing operation and maintains genetic diversity to the system. The mutation occurs during evolutionary operation, and works according to a predefined probability variable. Generally, a randomly generated variable for each bit in a sequence determines whether an individual bit will be changed or not. The main purpose of the mutation is to improve the genetic diversity of the breed.
The working process of the genetic algorithm and population production process is given as a sample in Figure 8. Two different randomly generated parents (the solution function) are seen at the top. Each parent consists of 14 binary coded gene chromosomes. The crossover point is defined before the operation, and divides the chromosome into different sized parts. These parts are used to have new children (solutions). Each child carries the parents’ unique features and characteristics. The genetic diversity of the breed is held by mutation operation. The randomly selected genes of each chromosome are changed from 1 to 0 or 0 to 1, and the generation process ends. The exploration phase is performed with the crossover operator. Sub-solutions are produced through the crossover operation, which gains a high convergence capacity to the searching system. The mutation operator provides diversity, and prevents the system from being stuck in a local optimum. The exploitation phase is performed with the mutation operation, and has a larger searching space to look for a deserved solution.

GA–FL Load Forecasting Model

The proposed load forecasting model consists of a fuzzy inference module and a genetic algorithm-based rule base optimization module. A block diagram of the proposed model is given in Figure 9.
The genetic algorithm approach was applied to generate the optimal rule base set of the fuzzy load (FL) forecasting system. The rule bases were designed as five genes for all 625 chromosomes of each of four parents. Every chromosome consisted of five binary-coded genes. Uniformly distributed randomly created parent rule base sets and a genetic rule base optimization process is seen in Figure 10.
Rule base sets were produced and uniformly distributed in the rule base generator module at the first step of the optimization algorithm. These sets were applied to the fuzzy forecasting system, respectively. The generated rule base set was used in the fuzzy inference module with a randomly selected dataset, respectively. The mean absolute percentage error (MAPE) was calculated, and the error values were saved for each rule base set, as shown in Equation (4). The calculated MAPE values were the fitness values of the rule base sets.
1 n t = 1 n ( | A L t F L t A L t | × 100 )
  • A L t Actual Load
  • F L t Forecasted Load
After the performance evaluation of each rule base set, the best two individuals were selected, and new candidate rule base sets were created. New rule bases were generated using crossing and mutation methods in the order of these two individuals. The evolution process continues until the iteration limit is reached.

2.5. Ant Colony Optimization

The ant colony optimization algorithm is a meta-heuristic search algorithm inspired by the strategies that ant colonies use to reach food resources [36]. Gross and Deneubourg showed that some ant species follow a ray-type path between food resource and nest in their experimental studies [37,38].
At the beginning of the research, the door is closed, and ants are waiting in the nest. There are two possible routes in the system, and just one of these routes is shorter than the other one. After opening the door, the ants follow a random route to the food source, and every individual ant leaves a pheromone behind. The pheromone amount left from the pioneer ant is a clue for the ants that are following to proceed more directly to the food source. After a while, researchers noticed that most of the ants that follow take a shorter path. An experimental setup of the research is given in Figure 11.
Dorigo et al. improved the artificial ant colony and artificial pheromone concept in their research, which was based on the experiments of Gross et al., and applied this technique to find a solution to the traveling salesman problem [39].
Nature-inspired optimization algorithms are also used to find the best search space. There are two main basic approaches in all of the methods: global search methods (exploration), and local search (exploitation) approaches. The new solution is based on local information and an existing solution in local search methods. The hill-climbing method is a marvelous example of the local search operation. With this method, the climbing position is changed to the closest peak point at each step of the iteration. This method gains a large convergence capacity to the search system, but there is also a risk of being stuck in a local optimum. The succession rate of this method is highly related to choosing a good starting position. In the global search method, the search space is analyzed from a global perspective. The new solution is possibly found in a location far from the existing solution’s location. With this method, the convergence rate falls and the searching time gets longer, but there is no risk of being stuck in a local optimum.
The balanced implementation of the searching methods mentioned above is the most crucial factor for determining the success of the algorithm. Greater exploitation may create a faster convergence rate, but the findings may be deceptive, and might not indicate the best solution. Using more exploration stretches out the searching time and slows the convergence rate. Balancing between these techniques is also a hyper-optimization problem [8].

AC–FL Load Forecasting Model

The proposed load forecasting model consists of a fuzzy inference module and an ant colony-based rule base optimization module. A block diagram of the proposed model is given in Figure 12.
The proposed forecasting model has four input variables, and each input variable has five different membership functions. Therefore, 625 different rules covering all of the possible situations were defined in the fuzzy load forecasting model. The rule base set that was used in the fuzzy model is seen in Table 2. These rules were then changed to the most appropriate rule base set for the system using the ant colony optimization technique. While using ant colony optimization, each rule that was used in the fuzzy inference engine is expressed as five bits of binary coded values. The binary coded rule set seems like a genetic algorithm model, but the rule set of the ant colony is unique, and only a single “1” value may be inside each rule. These positive values in each row (each rule) were used to generate a path that the ants then follow in each step of the iteration. Each column in Table 2 denotes the linguistic fuzzified terms of the output. A sample rule base set is seen in Table 2.
The agent operator ant follows a route that was generated and uniformly distributed in the first step of the iteration, and the selection possibility of all of the positions was defined in the same weight. A sample randomly created route at the first step of the iteration is given in Figure 13.
After the first step of the iteration, all of the samples were evaluated with the existing rule base set, and the MAPE (obtained in the ith iteration) was calculated. The MAPE value of the existing rule base set was compared with the predefined tolerance value, and whether existing route would be punished or rewarded was decided. If the MAPE value of the existing rule base was lower than the best-recorded value of all, then the weights of the existing path increased, and the pheromones were updated. Otherwise, the weights of existing path decreased, and the pheromones were also updated. The updated weights and the new route are given in Figure 14.
Before the next step of the iteration started, a new route was created considering the new weights and new possibilities. Iteration continued until the iteration limit was reached or the success rate was lower than deserved.

3. Experimental Results and Discussions

In this paper, we developed two different artificial based load forecasting models. The fuzzy logic model is the main part of the system. The genetic algorithm and ant colony-based techniques were used to increase the performance of the fuzzy forecasting system.
Proposed GA–FL and AC–FL load forecasting models were trained with historical electricity load consumption and air temperature data between 2011 and 2014, as explained in Section 2. The training and testing datasets consist of four input variables (Ldc, Lwc, Lcal, and Teff) and one output variable (Lforecasted). Membership function type and values were identified by annual changes in the load consumption and weather temperature. The average load consumption values of 2013 are given in Figure 15.
Load data was fuzzified through using five membership functions that considered the average values of 2013; the fuzzified input and output data (Ldc, Lwc, Lcal, and Lforecasted) are seen in Figure 16.
In Figure 16, VL denotes the lowest load value, which means very low consumption, L denotes a lower consumption than the normal level, N denotes normal consumption, H denotes a higher consumption than the normal level, and VH denotes the highest load consumption value.
Temperature data was also fuzzified using five membership functions. Membership function values were determined considering the thermal comfort values of TS EN ISO 7730, and the fuzzified temperature data is seen in Figure 17 [40].
In Figure 17, VL denotes the lowest temperature value, which means a very low temperature, L denotes a lower temperature than normal, N denotes a normal temperature, H denotes a higher temperature than normal, and VH denotes the highest temperature value.
Temperature data was provided from Turkish State Meteorological Service’s database. In this research, we observed a large scaled area in Turkey. Temperature data was collected from six different locations in Turkey. We tried to choose the best locations directly representing Turkey’s electricity consumption character. The hourly-based weather temperature data of the selected locations is given in Table 3.
The average temperature value was calculated with hourly-based temperature data collected from six different locations. The constants (% values in Table 3) that were used in the equation to calculate the average value were defined according to the level of economic development of the cities mentioned above, which was pointed out in the annually published report by the Ministry of Science, Industry, and Technology [41]. After averaging the calculations, the temperature values for the last seven days were used to calculate the temperature parameters as an input variable, while also using the trend analysis methods mentioned above in Section 2.2.1.
Both forecasting models were trained and tested with a day-ahead 24 h dataset. The input dataset consisted of the last day of consumption, the last week of consumption, and the consumption and weather temperature trends of the last seven days, which were calculated using the least square method mentioned in Section 2. As a sample, the input dataset used for the training of both proposed models is given in Table 4.
In summary, the input dataset consists of load consumption information and weather temperature information. Load consumption data consists of the last day of consumption, the last week of consumption for the same hour, and the consumption trend, which is calculated using the trend analysis equation mentioned in Section 2.2.1.
Weather temperature information is obtained in a two-stage process. First, the weighted average air temperature is calculated using temperature data collected from six various locations in Turkey. Then, the air temperature trend is calculated using the trend analysis equation mentioned in Section 2.2.1. Lastly, the whole forecasting and optimization process uses the 24-h dataset.

3.1. GA–FL Simulation Results

The proposed GA–FL model was trained with a randomly chosen training set and tested data for a specific period, such as a monthly or weekly dataset. The results showed that the GA–FL model gives satisfying results for the specific part of the testing data, but couldn’t have full coverage. In other words, the final rule base set that was created with the optimization model didn’t fit for properly testing the entire dataset.
In order to reach the best rule base set, four different rule base sets consisting of 625 random rules were defined as a binary system to the optimization system in the initial phase. The performance value of each rule base was measured separately for the same training set for each step of the iteration. The results of this measurement are shown in Table 5.
After each step of the iteration, selection, crossover and mutation operations that were designed in compliance with genetic algorithm methods were used, and a new rule base population was produced. The performance values of each rule base set and the optimization process are given in Figure 18.
The proposed GA–FL load forecasting model was trained with a monthly weekday dataset between 2011 and 2013, and tested with a monthly weekday dataset of 2014. Each rule base that was obtained at the last iteration of the optimization process was tested with the training dataset, and some of the forecasting results of the proposed forecasting model for the training and testing processes are shown in Figure 19 and Figure 20.
The proposed GA–FL model consisted of four individuals, and the mutation constant was 1%. The script was executed for more than 20 different runs with 100 iterations in order to have statistically meaningful results.
Each genetic rule base set after the optimization process was tested and compared with the actual data in Figure 19 for the same consumption period. The optimal rule base set was then tested with actual data, and the results are seen in Figure 20.

3.2. AC–FL Simulation Results

The proposed AC–FL model was trained with the data from 2012, and tested with the data from 2013 for the same monthly period. The simulation results showed a downward trend for the MAPE value of the optimization system since the first step. The system learned with both negative and positive information. When the MAPE value was worse, it showed that the existing choices on the ant path route were not proper for the fuzzy model, that this route was punished by giving fewer weight values, and that it consequently decreased the selection possibility of the path in the next step. When the MAPE value was better, it showed that the existing choices on the ant path route were more proper for the fuzzy model; thus, this route was rewarded with higher weight values, and it increased the selection possibility of the path in the next step.
After a while, in the late phase of the iteration process, as shown in Figure 21, differences in the MAPE values decreased dramatically. This situation showed that the route was optimized, the agent ants almost followed the same path, and similar rule sets were applied to the system in each step of the iteration process. The route optimization process and MAPE values of the ant rule base sets are seen in Figure 21.
The proposed AC–FL model was trained with 1000 virtual agent ants. In each step of the iteration, when an agent ant followed a route, which meant a new knowledge base of the fuzzy model, the weight matrix was updated. This route was also constantly updated with other pheromone amounts, which were calculated using the tolerance value that was defined at the beginning of the iteration process in the script. The pheromone constant in each iteration was calculated according to the performance of the virtual agent ant.
The training and testing values of the proposed AC–FL model are given in Figure 22 and Figure 23. The proposed model was trained with the monthly-based dataset for the same weekday periods in 2013 and 2014.
The ant colony optimization process is aimed at finding the best rule base set that will be used for testing with the target data. At the end of the optimization process, two different rule base sets were improved at the same time. One of these rule base sets gave the best training error value, which was saved and labeled as the best iteration. The other rule base set was obtained indirectly by measuring the maximum weights of each rule of the rule set’s weight table. A comparison of these rule sets is given in Figure 22. Comparative information on the rule sets helps choose the rule set that will be used for testing.
The compared results of the proposed models for the same testing dataset are given in Table 6. Both models were trained and tested with the same monthly dataset. The training dataset included weekdays in February 2013, and the testing dataset included weekdays in February 2014.
The main reason for presenting the results from weekday periods in this paper is that weekday load consumption characteristics are more challenging than weekends. Therefore, the weekday results of the proposed models were presented. Also, the month of February is a kind of transition period of the year; it contains the features of four seasons, and thus was chosen as the case scenario period.

3.3. Comparative Results

The performance of the proposed forecasting models is compared with the multiple linear regression (MLR) model. The multiple linear regression (MLR) method is a well-known statistical based estimation method that is commonly used as a benchmark model for comparing forecasting models. Multiple linear regression analysis is a kind of simple linear regression analysis. MLR is used to define the correlation between two or more independent variables and a single continuous dependent variable. MLR is also used to identify whether a confounding influence exists. It ensures a way of adjusting for potentially confounding variables that have been included in the model.
Both the MLR and proposed forecasting models are trained and tested with same dataset. The statistical parameters and results of the proposed MLR model are given in Table 7 and Table 8.
MLR model has four independent variables: the last day of consumption (LDC), the last week of consumption (LWC), the weekly load trend (LCAL), and the weekly air temperature trend (TEFF). The proposed linear model is given in Equation 5. The proposed MLR model was trained with a training dataset, and after analysis, the coefficients of weights (w0 to w4) were determined. The analysis results and coefficients that were used in forecasting hourly-based consumption are summarized in Table 9.
The linear forecasting model (LM) is:
Ldcw1 + Lwcw2 + Lestw3 + Teffw4 + w0
A performance evaluation of each forecasting model has been conducted using the same dataset for training and testing. MAPE values have been calculated and used to determine the monthly forecasting performance of each model. Each model was trained using data obtained during the same period. Trained forecasting models were tested using data obtained during the same period. Training and testing phases were performed using the same monthly data sets for different years. The obtained results of the proposed models for the same period, 29–30 January 2013, are presented in Table 10 and Table 11.
Firstly, as seen in Table 10 and Table 11, the proposed mature-inspired technique-based forecasting model has smaller MAPE values compared with the statistical-based model MLR model. As seen in Figure 24, artificial intelligence-based models have better adaptation and yield more promising results than the statistical-based model in a nonlinear consumption zone. As with many statistical models, the MLR model provides more successful results, as expected in the linear zone.

4. Conclusions

Short-term electricity load forecasting has become one of the most popular research topic in recent years, and many inspiring types of research are seen in literature. Load forecasting has a leading role in the planning and management of power plants and production facilities. Research studies in the literature show that the load consumption pattern is highly related to air exogenous factors such as the weather condition, consumption time, day type (working, holiday etc.), seasonal effects, and economic or political changes. Therefore, several types of solution methods are required; here, these methods have also been improved in order to get better estimations.
In the literature, there are many studies on load forecasting that use fuzzy logic and artificial intelligence optimization algorithms and methods. Here, these fuzzy models have been improved with expert insight and adaptations. Therefore, the ability and knowledge depth of the experts has directly affected the succession rate of the system. When the input variable and membership function sizes get larger, the knowledge base, rule base size, and number of rules also enlarge. So, the fuzzy model needs to be optimized, whether classical or artificial intelligence methods are used.
In this paper, hybrid genetic–fuzzy and ant colony–fuzzy short-term load forecasting models were proposed. Artificial intelligence (AI)-based optimization methods were used to deal with the struggles in rule base definition that were mentioned above. The result show that intelligent optimization methods give promising results in load forecasting. The succession rate of the proposed system was measured by using MAPE, and the results showing that the proposed method has a 3.389% forecasting rate.
As a result, we developed fuzzy logic-based load forecasting models for estimating hourly-based electricity consumption. The literature research and observations showed that the definition of the knowledge base is a major factor in having a successful forecasting rate. Moreover, when the size of input variables and/or membership functions size grows, the knowledge base becomes dramatically more complex. We developed GA–FL and AC–FL hybrid models using nature-inspired optimization methods to deal with knowledge complexity. The obtained results showed that the proposed models are more successful than the standard fuzzy logic approach that is typically seen in the literature, and proved that Nature-Inspired (NI) based methods help when working in a more flexible estimation environment.
As a limitation of the proposed methods, in some cases, such as while working with a low-temperature period of time, some of the rules that are highly related to high-temperature periods may not be active in the optimization process. These inactive rules may cause an unnecessary increase in the optimization errors, and decrease optimization performance. In future studies, it is possible to develop new optimization techniques and algorithms for eliminating inactive rules.
In future works, we will use other nature-inspired optimization algorithms for optimizing fuzzy forecasting models. We will develop new hybrid forecasting models using fuzzy type-2, and these models will be optimized with meta-heuristic optimization methods. Proposed new forecasting models will be trained and tested with large, scaled datasets.

Author Contributions

The manuscript was written by V.A. under the supervision of N.B. and M.L. The modeling, simulation and analysis process was executed by V.A. and M.L. Technical support was provided by H.P. and N.B., E.C. helped in the review.

Acknowledgments

This research was supported by Scientific Research Projects Coordination Unit (B.A.P.K.B.) of Kırıkkale University (Project No: 2016/127, 2017).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gross, G.; Galiana, F.D. Short-term load forecasting. Proc. IEEE 1987, 75, 1558–1573. [Google Scholar] [CrossRef]
  2. Li, W.; Han, Z.-H. Short-term power load forecasting using improved ant colony clustering. In Proceedings of the First International Workshop on Knowledge Discovery and Data Mining (WKDD), Adelaide, SA, Australia, 23–24 January 2008; pp. 221–224. [Google Scholar]
  3. Baliyan, A.; Gaurav, K.; Mishra, S.K. A review of short term load forecasting using artificial neural network models. Procedia Comput. Sci. 2015, 48, 121–125. [Google Scholar] [CrossRef]
  4. Khwaja, A.; Naeem, M.; Anpalagan, A.; Venetsanopoulos, A.; Venkatesh, B. Improved short-term load forecasting using bagged neural networks. Electr. Power Syst. Res. 2015, 125, 109–115. [Google Scholar] [CrossRef]
  5. Liang, R.-H.; Cheng, C.-C. Short-term load forecasting by a neuro-fuzzy based approach. Int. J. Electr. Power Energy Syst. 2002, 24, 103–111. [Google Scholar] [CrossRef]
  6. Senjyu, T.; Takara, H.; Uezato, K.; Funabashi, T. One-hour-ahead load forecasting using neural network. IEEE Trans. Power Syst. 2002, 17, 113–118. [Google Scholar] [CrossRef]
  7. Raza, M.Q.; Khosravi, A. A review on artificial intelligence based load demand forecasting techniques for smart grid and buildings. Renew. Sustain. Energy Rev. 2015, 50, 1352–1372. [Google Scholar] [CrossRef]
  8. Yang, X.-S. Nature-Inspired Optimization Algorithms; Elsevier: New York, NY, USA, 2014. [Google Scholar]
  9. Hernández, L.; Baladrón, C.; Aguiar, J.M.; Calavia, L.; Carro, B.; Sánchez-Esguevillas, A.; Sanjuán, J.; González, Á.; Lloret, J. Improved short-term load forecasting based on two-stage predictions with artificial neural networks in a microgrid environment. Energies 2013, 6, 4489–4507. [Google Scholar] [CrossRef]
  10. Hassan, S.; Khosravi, A.; Jaafar, J.; Khanesar, M.A. A systematic design of interval type-2 fuzzy logic system using extreme learning machine for electricity load demand forecasting. Int. J. Electr. Power Energy Syst. 2016, 82, 1–10. [Google Scholar] [CrossRef]
  11. Hernández, L.; Baladrón, C.; Aguiar, J.M.; Calavia, L.; Carro, B.; Sánchez-Esguevillas, A.; Pérez, F.; Fernández, Á.; Lloret, J. Artificial neural network for short-term load forecasting in distribution systems. Energies 2014, 7, 1576–1598. [Google Scholar] [CrossRef]
  12. Chaturvedi, D.; Sinha, A.; Malik, O. Short term load forecast using fuzzy logic and wavelet transform integrated generalized neural network. Int. J. Electr. Power Energy Syst. 2015, 67, 230–237. [Google Scholar] [CrossRef]
  13. Li, S.; Wang, P.; Goel, L. Short-term load forecasting by wavelet transform and evolutionary extreme learning machine. Electr. Power Syst. Res. 2015, 122, 96–103. [Google Scholar] [CrossRef]
  14. Abdoos, A.; Hemmati, M.; Abdoos, A.A. Short term load forecasting using a hybrid intelligent method. Knowl.-Based Syst. 2015, 76, 139–147. [Google Scholar] [CrossRef]
  15. Kouhi, S.; Keynia, F.; Ravadanegh, S.N. A new short-term load forecast method based on neuro-evolutionary algorithm and chaotic feature selection. Int. J. Electr. Power Energy Syst. 2014, 62, 862–867. [Google Scholar] [CrossRef]
  16. Selakov, A.; Cvijetinović, D.; Milović, L.; Mellon, S.; Bekut, D. Hybrid PSO–SVM method for short-term load forecasting during periods with significant temperature variations in city of Burbank. Appl. Soft Comput. 2014, 16, 80–88. [Google Scholar] [CrossRef]
  17. Li, P.; Li, Y.; Xiong, Q.; Chai, Y.; Zhang, Y. Application of a hybrid quantized Elman neural network in short-term load forecasting. Int. J. Electr. Power Energy Syst. 2014, 55, 749–759. [Google Scholar] [CrossRef]
  18. Mamlook, R.; Badran, O.; Abdulhadi, E. A fuzzy inference model for short-term load forecasting. Energy Policy 2009, 37, 1239–1248. [Google Scholar] [CrossRef]
  19. Srinivasan, D.; Liew, A.; Chang, C. Forecasting daily load curves using a hybrid fuzzy-neural approach. IEE Proc.-Gener. Transm. Distrib. 1994, 141, 561–567. [Google Scholar] [CrossRef]
  20. Yukseltan, E.; Yucekaya, A.; Bilge, A.H. Forecasting electricity demand for Turkey: Modeling periodic variations and demand segregation. Appl. Energy 2017, 193, 287–296. [Google Scholar] [CrossRef]
  21. Çevik, H.H.; Çunkaş, M. Short-term load forecasting using fuzzy logic and ANFIS. Neural Comput. Appl. 2015, 26, 1355–1367. [Google Scholar] [CrossRef]
  22. Esener, İ.I.; Yüksel, T.; Kurban, M. Short-term load forecasting without meteorological data using AI-based structures. Turk. J. Electr. Eng. Comput. Sci. 2015, 23, 370–380. [Google Scholar] [CrossRef]
  23. Demiroren, A.; Ceylan, G. Middle anatolian region short-term load forecasting using artificial neural networks. Electr. Power Compon. Syst. 2006, 34, 707–724. [Google Scholar] [CrossRef]
  24. Topalli, A.K.; Erkmen, I.; Topalli, I. Intelligent short-term load forecasting in Turkey. Int. J. Electr. Power Energy Syst. 2006, 28, 437–447. [Google Scholar] [CrossRef]
  25. Wolberg, J. Data Analysis Using the Method of Least Squares: Extracting the Most Information from Experiments; Springer Science & Business Media: Berlin, Germany, 2006. [Google Scholar]
  26. Harter, H.L.; Kotz, S.; Johnson, N.L. “Least Squares” in Encyclopedia of Statistical Sciences; Wiley Online Library: Hoboken, NJ, USA, 1981. [Google Scholar]
  27. Pandian, S.C.; Duraiswamy, K.; Rajan, C.C.A.; Kanagaraj, N. Fuzzy approach for short term load forecasting. Electr. Power Syst. Res. 2006, 76, 541–548. [Google Scholar] [CrossRef]
  28. Zadeh, L.A. Information and control. Fuzzy Sets 1965, 8, 338–353. [Google Scholar]
  29. Kumar, J.K.; Rajkumar, P. Fuzzy and decision tree approach for forecasting analysis in power load. Int. J. Tech. Res. Appl. 2015, 3, 222–225. [Google Scholar]
  30. Nourafkan, A.; Kadkhodaie-Ilkhchi, A. Shear wave velocity estimation from conventional well log data by using a hybrid ant colony–fuzzy inference system: A case study from Cheshmeh–Khosh oilfield. J. Pet. Sci. Eng. 2015, 127, 459–468. [Google Scholar] [CrossRef]
  31. Holland, J.H. Adaptation in Natural and Artificial Systems: An Introductory Analysis with Application to Biology, Control, and Artificial Intelligence; University of Michigan Press: Ann Arbor, MI, USA, 1975. [Google Scholar]
  32. Yang, X.-S. Nature-Inspired Metaheuristic Algorithms; Luniver Press: Frome, United Kingdom, 2010. [Google Scholar]
  33. Yang, X.-S. Engineering Optimization: An Introduction with Metaheuristic Applications; John Wiley & Sons: Hoboken, NJ, USA, 2010. [Google Scholar]
  34. Quagliarella, D.; Vicini, A. Coupling genetic algorithms and gradient based optimization techniques. Genet. Algorithms Evol. Strateg. Eng. Comput. Sci. Recent Adv. Ind. Appl. 1997, 289–309. [Google Scholar]
  35. Lüy, M.; Ateş, V.; Barişçi, N.; Çam, E. Genetic Algorithm Based Fuzzy Logic System for Short Term Load Forecasting. In Proceedings of the 5th International Conference on Advanced Technology & Sciences (ICAT’17), İstanbul, Turkey, 9–12 May 2017; pp. 688–692. [Google Scholar]
  36. Dorigo, M.; Di Caro, G.; Gambardella, L.M. Ant algorithms for discrete optimization. Artif. Life 1999, 5, 137–172. [Google Scholar] [CrossRef] [PubMed]
  37. Goss, S.; Aron, S.; Deneubourg, J.-L.; Pasteels, J.M. Self-organized shortcuts in the Argentine ant. Naturwissenschaften 1989, 76, 579–581. [Google Scholar] [CrossRef]
  38. Deneubourg, J.-L.; Aron, S.; Goss, S.; Pasteels, J.M. The self-organizing exploratory pattern of the argentine ant. J. Insect Behav. 1990, 3, 159–168. [Google Scholar] [CrossRef]
  39. Goss, S.; Beckers, R.; Deneubourg, J.-L.; Aron, S.; Pasteels, J.M. How trail laying and trail following can solve foraging problems for ant colonies. In Behavioural Mechanisms of Food Selection; Springer: Berlin/Heidelberg, Germany, 1990; pp. 661–678. [Google Scholar]
  40. Yıldırım, A.; Altınsoy, H. Thermal Comfort Programme with Respect to TS EN ISO 7730 AND TS EN ISO 27243 Standarts. Çalışma Dünyası Dergisi (Labour World) (In Turkish) 2015, 3, 7–17. [Google Scholar]
  41. Ministry of Science Industry and Technology. 81 Provinces Industry Status Report of Turkey; Ministry of Science Industry and Technology: Ankara, Turkey, 2013.
Figure 1. Hybrid genetic fuzzy and ant colony fuzzy short-term load consumption forecasting model block diagram.
Figure 1. Hybrid genetic fuzzy and ant colony fuzzy short-term load consumption forecasting model block diagram.
Applsci 08 00864 g001
Figure 2. The hourly-based day-ahead actual electricity consumption graphic of 2013.
Figure 2. The hourly-based day-ahead actual electricity consumption graphic of 2013.
Applsci 08 00864 g002
Figure 3. (a) Normalized (0-255) 24 × 365 hourly-based grayscale image of 2011; (b) normalized (0-255) 24 × 365 hourly-based grayscale image of 2012; (c) normalized (0-255) 24 × 365 hourly-based grayscale image of 2013.
Figure 3. (a) Normalized (0-255) 24 × 365 hourly-based grayscale image of 2011; (b) normalized (0-255) 24 × 365 hourly-based grayscale image of 2012; (c) normalized (0-255) 24 × 365 hourly-based grayscale image of 2013.
Applsci 08 00864 g003
Figure 4. Normalized (0-255) daily-based hourly electricity load consumption graphic for 2013.
Figure 4. Normalized (0-255) daily-based hourly electricity load consumption graphic for 2013.
Applsci 08 00864 g004
Figure 5. Calculated electricity load using the least square method and trend line for the period between 25 December 2011 and 1 January 2012.
Figure 5. Calculated electricity load using the least square method and trend line for the period between 25 December 2011 and 1 January 2012.
Applsci 08 00864 g005
Figure 6. Comparison of normalized (0–1) hourly-based temperature and load consumption data between 1–4 April 2013.
Figure 6. Comparison of normalized (0–1) hourly-based temperature and load consumption data between 1–4 April 2013.
Applsci 08 00864 g006
Figure 7. Fuzzy inference system basic diagram.
Figure 7. Fuzzy inference system basic diagram.
Applsci 08 00864 g007
Figure 8. Single-point crossover of 14 gene-sized chromosome pairs and single point mutation [34].
Figure 8. Single-point crossover of 14 gene-sized chromosome pairs and single point mutation [34].
Applsci 08 00864 g008
Figure 9. Flowchart of the genetic algorithm-based rule base optimization model [35].
Figure 9. Flowchart of the genetic algorithm-based rule base optimization model [35].
Applsci 08 00864 g009
Figure 10. (a) Blank rule base set and representative structure of the rule set; (b) Randomly generated rule base set; (c) Fuzzy rule base optimization process using the genetic algorithm method.
Figure 10. (a) Blank rule base set and representative structure of the rule set; (b) Randomly generated rule base set; (c) Fuzzy rule base optimization process using the genetic algorithm method.
Applsci 08 00864 g010aApplsci 08 00864 g010bApplsci 08 00864 g010c
Figure 11. Experimental setup for the observation of ant behavior. (a) Door is closed in the beginning phase; (b) randomly distributed ants after the door was opened; (c) after a while, the distribution of ants regarding the paths to the food resource [36].
Figure 11. Experimental setup for the observation of ant behavior. (a) Door is closed in the beginning phase; (b) randomly distributed ants after the door was opened; (c) after a while, the distribution of ants regarding the paths to the food resource [36].
Applsci 08 00864 g011
Figure 12. Block diagram of an ant colony–fuzzy load forecasting system.
Figure 12. Block diagram of an ant colony–fuzzy load forecasting system.
Applsci 08 00864 g012
Figure 13. Random ant route generation at the first step of the iteration.
Figure 13. Random ant route generation at the first step of the iteration.
Applsci 08 00864 g013
Figure 14. Choosing new ant route and creation of a new rule base set.
Figure 14. Choosing new ant route and creation of a new rule base set.
Applsci 08 00864 g014
Figure 15. Day-ahead average load consumption values of 2013.
Figure 15. Day-ahead average load consumption values of 2013.
Applsci 08 00864 g015
Figure 16. Fuzzified load input and output data.
Figure 16. Fuzzified load input and output data.
Applsci 08 00864 g016
Figure 17. Fuzzified temperature input data.
Figure 17. Fuzzified temperature input data.
Applsci 08 00864 g017
Figure 18. MAPE values of GA–FL rule base sets during the optimization process.
Figure 18. MAPE values of GA–FL rule base sets during the optimization process.
Applsci 08 00864 g018
Figure 19. Training results of the GA–FL forecasting model for 1–5 February 2013.
Figure 19. Training results of the GA–FL forecasting model for 1–5 February 2013.
Applsci 08 00864 g019
Figure 20. Testing results of the GA–FL forecasting model for 7–12 February 2014.
Figure 20. Testing results of the GA–FL forecasting model for 7–12 February 2014.
Applsci 08 00864 g020
Figure 21. Rule base path learning process during optimization.
Figure 21. Rule base path learning process during optimization.
Applsci 08 00864 g021
Figure 22. Training results of the ant colony (AC) best rule base set, which was generated considering the maximum weighted rule base for 1–5 February 2013.
Figure 22. Training results of the ant colony (AC) best rule base set, which was generated considering the maximum weighted rule base for 1–5 February 2013.
Applsci 08 00864 g022
Figure 23. Testing results of the AC best rule base set for 7–12 February 2014.
Figure 23. Testing results of the AC best rule base set for 7–12 February 2014.
Applsci 08 00864 g023
Figure 24. Comparative results for 29–30 January 2013.
Figure 24. Comparative results for 29–30 January 2013.
Applsci 08 00864 g024
Table 1. 25 December 2011–31 December 2011 load consumption data.
Table 1. 25 December 2011–31 December 2011 load consumption data.
DateTime Period (Distance)Load Consumption (MWh)x2x2y
25 December 2011126,175126,175
26 December 2011224,386497,544
27 December 2011326,4129237,708
28 December 2011426,49316423,888
29 December 2011526,34525658,625
30 December 2011626,46336952,668
31 December 2011726,083491,278,067
1 January 2012 26,595
Table 2. Randomly generated ant colony rule path.
Table 2. Randomly generated ant colony rule path.
RulesVLLNHVH
Rule 101000
Rule 200100
Rule 310000
Rule 400010
Rule 500100
Rule 600001
Rule 710000
Rule 800100
Rule 901000
-----
Rule 62501000
Table 3. Temperature data collected from the six selected stations for 1 December 2012.
Table 3. Temperature data collected from the six selected stations for 1 December 2012.
Time (Hour)Samsun 2%Ankara 15%Kırıkkale 2%İzmir 10%Adana 4%İstanbul 67%Weighted Avg.
00–015.8−2.8−3.74.35.34.73.41
01–025.9−3.4−4.14.14.54.43.06
02–035.9−3.7−4.93.35.34.12.75
03–045.9−4.6−5.63.84.93.62.30
04–055.0−5.2−6.03.04.23.41.95
05–065.0−5.9−6.63.14.32.81.44
06–074.7−6.0−7.13.25.02.51.25
07–085.2−3.2−6.05.06.82.72.09
08–097.70.4−3.28.09.34.64.40
09–1010.62.30.09.314.07.57.07
10–1111.15.72.610.616.810.09.56
11–1211.48.04.911.417.710.510.41
12–1311.49.16.911.818.59.710.15
13–1411.29.98.212.718.39.810.44
14–1510.58.98.713.117.99.610.18
15–168.57.37.412.616.39.09.36
16–176.74.95.39.414.58.48.12
17–186.03.94.87.510.68.17.40
18–195.72.43.66.98.77.86.81
19–205.61.02.47.47.27.26.16
20–214.60.6−0.66.56.06.65.48
21–224.5−0.3−1.05.56.76.14.93
22–234.5−1.4−1.24.55.75.44.15
23–004.7−2.2−2.64.06.05.13.77
Table 4. Input dataset used for the training of the proposed forecasting models (8 February 2013).
Table 4. Input dataset used for the training of the proposed forecasting models (8 February 2013).
HoursLast Day Consumption
(MWh)
Last Week Consumption
(MWh)
Consumption Trend
(MWh)
Weighted Average Trend Temperature
(°C)
00–0128.70028.45928.8722.72
01–0226.85626.74027.0652.31
02–0325.82325.45126.1461.99
03–0425.27324.76925.5551.96
04–0525.07224.54625.4231.70
05–0625.46524.70625.9691.54
06–0726.03824.80426.6781.30
07–0826.86525.14128.0091.88
08–0931.58728.70833.5083.91
09–1034.51131.38936.6845.74
10–1135.39532.46437.4837.69
11–1235.63732.95537.4279.22
12–1332.97432.18434.9029.78
13–1433.72632.25635.44710.68
14–1533.72731.98035.71710.13
15–1633.22931.22135.1639.35
16–1733.30431.21535.3768.43
17–1834.50532.19236.5477.20
18–1934.25532.13135.8746.12
19–2032.96531.13034.2655.45
20–2132.05730.29233.4004.68
21–2231.48629.73932.6034.00
22–2331.69830.20532.7903.69
23–0030.49428.95931.6453.43
Max.35.63732.95537.48310.68
Min.25.07224.54625.4231.30
Std. Dev.361.576298.789425.3413.13
Table 5. MAPE (%) values for each GA–FL rule base set. GA: genetic algorithm, FL: fuzzy logic.
Table 5. MAPE (%) values for each GA–FL rule base set. GA: genetic algorithm, FL: fuzzy logic.
IterationMAPE (%)
rb1rb2rb3rb4
10.1890.0660.1550.194
20.1640.0660.1550.062
30.0700.0660.0820.062
-----
960.0410.0780.0390.083
970.0410.0420.0390.054
980.0410.0770.0390.070
990.0410.0420.0390.053
1000.0410.0430.0390.059
Table 6. Testing results of proposed GA–FL and AC–FL models for the same testing dataset for 8–9 February 2014.
Table 6. Testing results of proposed GA–FL and AC–FL models for the same testing dataset for 8–9 February 2014.
HoursActual (MW)GA–FL (MW)AC–FL (MW)GA–FL APE (%)AC–FL APE (%)Actual (MW)GA–FL (MW)AC–FL (MW)GA–FL APE (%)AC–FL APE (%)
00–0127.27026.44527.1233.030.5427.20727.00727.4330.740.83
01–0225.61425.22126.5061.533.4825.63924.98326.4282.563.08
02–0324.77126.16522.8165.637.8924.60025.59024.8574.021.04
03–0424.29126.05221.7037.2510.6524.18825.91222.2497.138.02
04–0524.06325.47322.6555.865.8524.10825.79522.1567.008.10
05–0624.64925.44622.9103.237.0624.74724.43625.9321.264.79
06–0725.39725.76826.4461.464.1325.34225.98526.8782.546.06
07–0826.62424.46125.0428.125.9426.49024.72724.6096.667.10
08–0930.45531.89631.8974.734.7330.51032.19532.2075.525.56
09–1032.76432.12432.1241.951.9532.41032.48832.4890.240.24
10–1133.18732.36332.3632.482.4833.05232.54032.5521.551.51
11–1233.23432.39232.3952.532.5232.84032.48632.5311.080.94
12–1331.20431.90331.9032.242.2430.99531.73431.8812.382.86
13–1431.66131.95931.9590.940.9431.46731.93032.1081.472.04
14–1531.59831.76931.7650.540.5331.71531.69131.9620.070.78
15–1631.23931.72231.7211.551.5431.23131.81131.9541.862.32
16–1731.19631.97731.9772.502.5031.55632.09732.1461.711.87
17–1832.47632.36032.3600.360.3632.86032.51832.5241.041.02
18–1932.96832.51432.5141.381.3832.98732.61432.6151.131.13
19–2031.95432.37732.3771.321.3231.94532.50832.5081.761.76
20–2131.30832.20132.2012.852.8531.29632.36232.3623.413.41
21–2230.31631.99532.0005.545.5630.37332.06832.1035.585.70
22–2330.83232.07332.0744.034.0330.80032.23432.2354.664.66
23–0029.27631.60931.8957.978.9529.75130.43831.9512.317.39
MAPE 3.293.73MAPE 2.823.42
Table 7. Regression summary and statistics.
Table 7. Regression summary and statistics.
Regression Statistics
Multiple R0.990516
R Square0.981121
Adjusted R Square0.980977
Standard Error569.2768
Observations528
Table 8. Regression table (ANOVA).
Table 8. Regression table (ANOVA).
SummarizedfSSMSFSignificance F
Regression48.81 × 1092.2 × 1096794.9250
Residual5231.69 × 10832,4076
Total5278.98 × 109
Table 9. Regression equation table.
Table 9. Regression equation table.
WeightsCoefficientsStandard Errort Statp-ValueLower 95%Upper 95%Lower 95%Upper 95%
Intercept (w0)−499.735188.3426−2.653330.008213−869.736−129.734−869.736−129.734
w1−0.027470.015863−1.731720.083913−0.058630.003693−0.058630.003693
w20.9202820.01349768.182382.2 × 10−2620.8937660.9467970.8937660.946797
w30.1399060.0186937.4844933.07 × 10−130.1031840.1766290.1031840.176629
w4−35.06486.56439−5.341661.38 × 10−7−47.9606−22.1689−47.9606−22.1689
Table 10. Comparison of testing results of the proposed GA–FL, AC–FL, and MLR forecasting models for 29 January 2013.
Table 10. Comparison of testing results of the proposed GA–FL, AC–FL, and MLR forecasting models for 29 January 2013.
HoursLDCLWCLCALTEFFReal ConsumptionMLRMLR APE %GA-FuzzyGA-Fuzzy APE %AC-FuzzyAC-Fuzzy APE %
00–0124,23426,54024,7763.7526,78826,5940.72527,6423.18826,2492.012
01–0222,64624,89023,1303.0324,96024,9140.18524,1363.30124,8350.502
02–0321,77724,04122,0642.8823,91224,0130.42023,5921.34023,7030.875
03–0421,30823,46521,4662.8023,16723,4141.06822,6492.23522,5032.864
04–0521,18323,43421,2063.0023,13523,3460.91222,4942.77122,3623.341
05–0621,59223,60021,4493.1623,28423,5160.99623,3050.09023,3150.134
06–0722,21824,54321,5183.3323,90724,3701.93823,7880.49623,7510.651
07–0823,27825,64821,6493.4224,81625,3732.24525,3162.01425,8874.317
08–0928,11529,15524,8773.1429,07428,9290.49830,6025.25630,2524.050
09–1031,60131,49727,7913.2631,96731,3921.79831,6141.10431,8790.276
10–1132,76231,90429,2873.3832,74131,9402.44732,4950.75231,5623.600
11–1233,59032,16730,3243.9733,49032,2843.60333,4160.22031,7805.106
12–1332,56430,76329,7783.9532,44530,9444.62733,2462.47031,5722.691
13–1432,76831,08629,9144.3332,72731,2414.53933,3431.88231,6453.306
14–1533,03631,34729,8724.1232,94431,4764.45733,3191.13831,6393.960
15–1632,57831,03229,4613.9532,57431,1474.38132,8480.84231,4853.344
16–1732,90031,44729,8193.4633,13531,5874.67233,2840.45133,6321.499
17–1833,31132,46130,4853.5033,76232,6013.43933,4231.00433,8220.179
18–1932,33331,65830,1223.4932,57431,8382.25933,4012.53931,7302.590
19–2031,14330,63729,2433.2931,32830,8151.63732,3803.35731,5070.571
20–2130,21130,08228,3563.0230,44330,2160.74731,1322.26231,4423.282
21–2229,33129,17227,8062.9529,70229,3281.26029,5180.61928,8742.787
22–2329,74129,57628,2182.5530,09329,7601.10729,7241.22730,2980.683
23–0028,60928,39527,2492.2228,92428,5801.18828,1182.78529,5442.144
MAPE2.131.812.28
Table 11. Comparison of testing results of proposed GA-FL, AC-FL and multiple linear regression (MLR) forecasting models for 30 January 2013.
Table 11. Comparison of testing results of proposed GA-FL, AC-FL and multiple linear regression (MLR) forecasting models for 30 January 2013.
HoursLDCLWCLCALTEFFReal ConsumptionMLRMLR APE %GA-FuzzyGA-Fuzzy APE %AC-FuzzyAC-Fuzzy APE %
00–0126.78825.96625.5772.2526.71026.1602.06027.5983.32526.2741.631
01–0224.96024.76623.6991.8125.05424.8580.78125.7782.89126.2744.871
02–0323.91223.74822.6791.9224.06123.8041.06923.5782.00724.1070.190
03–0423.16723.30221.9291.8123.51223.3130.84723.2711.02423.7020.806
04–0523.13523.23021.7731.9623.33823.2200.50423.1990.59424.3724.431
05–0623.28423.56621.9292.2323.65723.5380.50323.3391.34223.1772.027
06–0723.90724.31022.2172.1424.13124.2490.48823.1194.19424.8783.095
07–0824.81625.41022.5972.5125.01925.2761.02827.61310.36925.1600.562
08–0929.07429.02826.3362.2229.39729.0221.27528.7582.17428.2983.737
09–1031.96731.52529.3942.4032.35531.6622.14232.7271.15031.5162.593
10–1132.74132.12530.6072.4533.38132.3613.05633.4310.14932.8521.586
11–1233.49032.56331.6322.3634.04532.8903.39233.4311.80333.9600.249
12–1332.44531.22131.0633.0532.98031.5804.24533.4291.36132.9270.160
13–1432.72731.43731.2093.0733.33531.7914.63233.4270.27631.9344.204
14–1532.94431.53631.3433.0233.57431.8974.99633.4290.43231.9364.879
15–1632.57431.36330.9002.7833.31231.6944.85833.4310.35631.9044.227
16–1733.13531.97431.3022.3033.60532.3143.84233.4280.52631.9624.889
17–1833.76232.73631.9322.3634.07533.0842.90933.4301.89233.9610.335
18–1932.57431.68531.2132.2032.91732.0542.62133.4281.55131.9522.932
19–2031.32830.59330.1911.9531.60330.9492.06833.3925.66031.6980.300
20–2130.44329.64729.3531.7530.87929.9932.86930.9650.27730.3351.762
21–2229.70229.00528.6341.6630.06129.3252.44929.0063.51030.1670.352
22–2330.09329.60029.0231.1530.32629.9341.29229.8971.41430.3900.212
23–0028.92428.42327.9960.7729.44728.7532.35728.1704.33529.6870.813
MAPE2.282.042.33

Share and Cite

MDPI and ACS Style

Luy, M.; Ates, V.; Barisci, N.; Polat, H.; Cam, E. Short-Term Fuzzy Load Forecasting Model Using Genetic–Fuzzy and Ant Colony–Fuzzy Knowledge Base Optimization. Appl. Sci. 2018, 8, 864. https://doi.org/10.3390/app8060864

AMA Style

Luy M, Ates V, Barisci N, Polat H, Cam E. Short-Term Fuzzy Load Forecasting Model Using Genetic–Fuzzy and Ant Colony–Fuzzy Knowledge Base Optimization. Applied Sciences. 2018; 8(6):864. https://doi.org/10.3390/app8060864

Chicago/Turabian Style

Luy, Murat, Volkan Ates, Necaattin Barisci, Huseyin Polat, and Ertugrul Cam. 2018. "Short-Term Fuzzy Load Forecasting Model Using Genetic–Fuzzy and Ant Colony–Fuzzy Knowledge Base Optimization" Applied Sciences 8, no. 6: 864. https://doi.org/10.3390/app8060864

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop