Electronic Journal of Polish Agricultural Universities (EJPAU) founded by all Polish Agriculture Universities presents original papers and review articles relevant to all aspects of agricultural sciences. It is target for persons working both in science and industry,regulatory agencies or teaching in agricultural sector. Covered by IFIS Publishing (Food Science and Technology Abstracts), ELSEVIER Science - Food Science and Technology Program, CAS USA (Chemical Abstracts), CABI Publishing UK and ALPSP (Association of Learned and Professional Society Publisher - full membership). Presented in the Master List of Thomson ISI.
2005
Volume 8
Issue 4
Topic:
Agricultural Engineering
ELECTRONIC
JOURNAL OF
POLISH
AGRICULTURAL
UNIVERSITIES
Trojanowska M. , Ma³opolski J. 2005. FORECASTING OF ELECTRICITY DEMAND IN RURAL AREAS. PART I. APPLICATION OF FUZZY MODELS, EJPAU 8(4), #16.
Available Online: http://www.ejpau.media.pl/volume8/issue4/art-16.html

FORECASTING OF ELECTRICITY DEMAND IN RURAL AREAS. PART I. APPLICATION OF FUZZY MODELS

Ma³gorzata Trojanowska1, Jerzy Ma³opolski2
1 Department of Power Engineering and Agricultural Processes Automation, Agricultural University of Cracow, Poland
2 Department of Engineering and IT in Agriculture, Agricultural University of Cracow, Poland

 

ABSTRACT

The article analyzes applicability of Takagi-Sugeno fuzzy models for forecasting monthly demand for electric energy among recipients in rural areas. In particular, quality of forecasts was evaluated, made on the basis of two prepared linear fuzzy models differing with the number of fuzzy rules. It was concluded that forecasts calculated on the basis of both these models can be considered permissible, and the models can be used for prediction of monthly demand for electricity, whereas greater accuracy was achieved by forecasts made on the basis of the model described with four fuzzy rules.

Key words: electric energy, forecast, fuzzy sets.

INTRODUCTION

Distribution companies dealing with transmission and distribution of electric energy conclude contracts on purchase of electric energy on the energy market. In particular, they submit offers concerning monthly demand. Ordering incorrect amount of energy increases the costs of customer service, and in the long term has a negative impact on the quality of services delivered by the company. This may have especially unfavourable impact on the quality of services delivered to recipients in the rural areas, as even without this actual unit costs of supply of electricity in rural areas exceed its selling price [3].

For the purposes of contracts concluded, companies prepare forecasts of electric energy demand. Restructuring of Polish economy accompanied with restructuring of the electric energy sector have caused significant deterioration of credibility of forecasts made on the basis of previously applied forecasting techniques [6]. Strive for improving the quality of such forecasts has resulted in interest in alternative forecasting methods, such as artificial intelligence methods.

Among the artificial intelligence methods, forecasts of electric energy demand most frequently apply artificial neural networks [4, 5, 9, 10]. Not much attention has been given, however, to application of fuzzy sets theory for prognostics, although it is a good mathematical tool allowing the description of uncertainty and inaccuracy of input data.

The aim of this paper was to apply the fuzzy sets theory to forecast electricity demand in rural areas, and in particular to prepare fuzzy models for monthly sales of electricity and analysis of their applicability for prediction.

MATERIAL AND METHODS

A data set of monthly sales of electricity in the years 1993-2002 was acquired from a selected distribution company currently supplying energy to ca. 291,000 recipients in rural areas of the Ma³opolska Province. Recipients in rural areas serviced by the selected company mainly include households and farms (263,000). Average monthly electric energy consumption by a rural household in 2002 was at the level of 2,3 MWh and was by 15% higher than in 1993.

The course of monthly electric energy consumption in the years 1993-2002 by the analyzed recipients in rural areas is shown in figure 1. Out of 120 data acquired from the company, 12 last data were used for verifying accuracy of forecasts, while the data on earlier electric energy consumption were used for building the forecasting models and to check the reliability of forecasts.

Fig. 1. Monthly sales of electricity in the years 1993-2002 to rural recipients by a selected distribution company

The accuracy of forecasts was measured ex post using the mean absolute percentage error (MAPE) of forecasts calculated for periods n+1, …, T [1]:

      (1)

where yt – the actual value of the forecast variable for the t period;
yt* – the expected value of the forecast variable for the t period;
n – the number of observations used to make the forecast;
n+1,..., T – the range of empirical forecast validation.

The reliability of forecasts was assessed by means of an ex post identification of forecasts calculated for periods preceding the period of the forecast being evaluated, using the following relationship [1]:

      (2)

The most frequent fuzzy models include the Mamdani models and Takagi-Sugeno models. The Mamdani models are based on the set of IF-THEN rules and constitute a qualitative description of the system that is closest to the natural language. Hence their broad application, particularly in regulation systems. A known drawback of these models is that they cannot comprise for objective knowledge on the system in an open form, thus they are not suitable for forecasting electricity demand. This drawback is not shared by models proposed by Sugeno et al. [11]. The models, known as Takagi-Sugeno models or Takagi-Sugeno-Kanga models, are linear fuzzy models that are most popular on modelling systems on the basis of experimental discrete data.

For the purposes of forecasting monthly electricity sales, the paper analyzed linear fuzzy models of systems with two inputs and one output, forming part of the so-called MISO systems [8]. The universe of discourse, which constitute sets of all numerical values that can be adopted by variables in the system discussed, have been marked for particular inputs through X1 and X2, where sets X1, X2 are closed intervals. Each of these sets was divided into fuzzy subsets (set X1 into subsets A11, ..., A1k, set X2 into subsets A21, ..., A2n) with trapezium-shaped membership functions meeting the condition of unit division:

              (3)

where:
x1, x2 – input data;
– membership function of fuzzy set A1i;
– membership function of fuzzy set A2j.

The process of formulating a linear fuzzy model of the system includes fuzzification, inference and defuzzification. Fuzzification is an operation of calculating the degree of membership of input variables to particular fuzzy subsets, according to the following formula:

   i = 1, ..., k ; j = 1, ..., n (4)

Inference, or fuzzy logic, consists in setting the value of output data on the basis of fuzzy input data, using the set of fuzzy rules. In the case analyzed, fuzzy rules have the following form:

IF (x1 = A1i) AND (x2 = A2j) THEN (y = a0 + a1x1 + a2x2)   (5)

where:
x1, x2 – input data;
y – output data;
A1i, A2j – fuzzy sets defined in the universe of discourse, respectively X1 and X2 of particular inputs;
a0, a1, a2 – linear function coefficients.

Degree of conclusion activation of such a rule is equal to . If the base of rules is composed of m rules, and x1, x2 are system inputs, then system output y (defuzzification) is calculated as weighted average of the value of functions occurring in conclusions of rules at the point (x1, x2), where weights are formed of degrees of conclusion activation of the relevant rules.

In order to define the optimum model, its parameters must be set in such a way so that the total square error of the model be kept to the minimum. For this purpose, the analysis applied the conjugate gradient method [2, 7].

RESULTS

When defining the model, an important problem is setting the appropriate number of fuzzy sets and rules [8]. Their increase usually allows for achievement of greater accuracy of the model. However, its too complex structure may considerably hinder optimization. Such a model may yield worse forecasts due to unnecessary modelling of measurement noise.

In this study, Takagi-Sugeno models were built by splitting each universe of discourse into two fuzzy sets described by four fuzzy rules (MODEL 1) or into three fuzzy sets described by seven fuzzy rules (MODEL 2). In the fuzzy rules, due to the nature of the variability of the monthly electricity sales, the following assumptions were made: y = xt, x1 = xt-1, x2 = xt-12 (where xt stands for electricity consumption in month t), using data from 9, 8 and 7 years (i.e. 108, 96 or 84 monthly values of rural consumers’ demand for electricity) for calculation. If less data were used to construct the models, MODEL 2 could not be properly built.

Fig. 2. Membership functions and the base of rules for the MODEL 1

Fig. 3. Membership functions and the base of rules for the MODEL 2

Calculated results were presented using the example of models developed on the basis of data on monthly electricity sales in 1995-2001. In these models, universe of discourse X1 is closed interval [42.49, 82.22], universe of discourse X2 is the set [41.61, 82.22], and membership functions and base of rules for particular models have been presented in figures 2 and 3.

Fig. 4. Monthly demand and ex post forecasts of monthly demand for electric energy in the year 2002 by rural recipients

The models developed were then used to make ex post forecasts of electricity consumptions in the months for which predictive models had been constructed and the mean absolute percentage errors MAPE_2 of these forecasts were calculated. In the first case, the error amounted to 5.67%, while in the second case – 5.49%. On the basis of models prepared, forecasts for electricity consumption were also made for 2002 (fig. 4). Mean absolute percentage errors MAPE_1 for ex post forecasts amounted respectively to 3.76% and 4.65%, and both forecasts were slightly in excess of actual values. Similar differences between the values of MAPE_1 and MAPE_2 errors were obtained for ex post forecasts made using models built on the basis of data for 1993-2001 and 1994-2001.

CONCLUSIONS

Mean absolute percentage errors for ex post forecasts MAPE_2, set on the basis of created Takagi-Sugeno models, remain at the level of 5.5-6.0%. Therefore, the prepared forecasts can be considered permissible, and the models built can be applied for prediction of monthly demand for electric energy by the analyzed recipients in rural areas.

The more accurate forecast was the one prepared on the basis of MODEL 1. The MAPE_1 errors of forecasts made for the year 2002 using this model were significantly smaller than the mean errors of forecasts run using MODEL 2 and did not exceed 4%, which is a satisfactory value for the forecasting officer. When one also considers the more difficult optimization of MODEL 2, related to its more complex structure, it must be stated that MODEL 1 is better suited to forecast monthly demand for electric energy by recipients in rural areas.

REFERENCES

  1. Dittman P., 2003. Prognozowanie w przedsiêbiorstwie [Enterprise Forecasting]. Oficyna Ekonomiczna Kraków [in Polish].

  2. Findeisen W., Szymanowski J., Wierzbicki A., 1977. Teoria i metody obliczeniowe optymalizacji [Optimization theory and calculation methods]. WNT Warszawa [in Polish].

  3. Krakowiak S., Wasiluk W., 1996. Problemy modernizacji wiejskich sieci elektroenergetycznych. Materia³y Konferencji Naukowo-Technicznej: Wiejskie sieci elektroenergetyczne WSE’96 [Problems of rural electric power networks upgrade. Proceedings of the Scientific/Technical Conference: Rural electric power networks WSE’96] Warszawa, 9-19 [in Polish].

  4. £yp J., 2000. Przegl¹d technik prognostycznych u¿ywanych w prognozowaniu obci¹¿eñ systemów elektroenergetycznych. Materia³y V Konferencji Naukowej: Prognozowanie w elektroenergetyce PE’2000 [Review of forecast techniques used to predict electric power systems loads. Proceedings of the 5th Scientific Conference: Forecasting in power engineering PE’2000] Czêstochowa, 31-44 [in Polish].

  5. Malko J., 1995. Wybrane zagadnienia prognozowania w elektroenergetyce. Prognozowanie zapotrzebowania energii i mocy elektrycznej [Selected problems of forecasting in power engineering. Electric capacity and power forecasting]. Oficyna Wydawnicza Politechniki Wroc³awskiej Wroc³aw [in Polish].

  6. Malko J., 1997. Prognozowanie w warunkach konkurencyjnoœci. Materia³y IV Konferencji Naukowo-Technicznej: Rynek energii elektrycznej REE’97 [Forecasting in a competitive environment. Proceedings of the 4th Scientific/Technical Conference: Electricity Market REE’97] Kazimierz Dolny, 73-81 [in Polish].

  7. Osowski S., 1996. Sieci neuronowe w ujêciu algorytmicznym [Neural networks in an algorithmic approach]. WNT Warszawa [in Polish].

  8. Piegat A., 1999. Modelowanie i sterowanie rozmyte [Fuzzy modelling and control]. AOW EXIT Warszawa [in Polish].

  9. Prognozowanie w elektroenergetyce. Zagadnienia wybrane [Forecasting in power engineering. Selected problems]. Red. I. Dobrzañska. 2002. Wydawnictwo Politechniki Czêstochowskiej Czêstochowa [in Polish].

  10. Research Specific Committee. 1996. Neural networks, fuzzy logic and genetic algorithms in the Electricity Supply Industry, Models and Applications. UNIPEDE Paris.

  11. Takagi T. Sugeno M., 1985. Fuzzy identification of systems and its applications to modelling and control, IEEE Transactions on Systems, Man, and Cybernetics 15, 1, 116-132.


Ma³gorzata Trojanowska
Department of Power Engineering and Agricultural Processes Automation, Agricultural University of Cracow, Poland
Balicka Str. 116B
30-149 Kraków, Poland
email: malgorzata.trojanowska@ur.krakow.pl

Jerzy Ma³opolski
Department of Engineering and IT in Agriculture,
Agricultural University of Cracow, Poland
104 Balicka Street, 30-149 Cracow, Poland
phone: (+48 12) 66 24 688
email: malopolski@ar.krakow.pl

Responses to this article, comments are invited and should be submitted within three months of the publication of the article. If accepted for publication, they will be published in the chapter headed 'Discussions' and hyperlinked to the article.