The estimation of electric power losses in electrical networks by fuzzy regression model using genetic algorithm
Abstract
This paper presents the comparative study for fuzzy regression model using linear programming, fuzzy regression model using genetic algorithms and standard regression model. The fuzzy and standard models were developed for estimation of electric power losses in electrical networks. Simulation was carried out with a tool developed in MATLAB.
Full text
Mathware & Soft Computing 11 (2004) 13-30 The Estimation of Electric Power Losses in Electrical Networks by Fuzzy Regression Model Using Genetic Algorithm A.V. Mogilenko and D.A. Pavlyuchenko Department of Power Engineering, Novosibirsk State Technical University, 20, Karl Marx prospect, Novosibirsk, 630092, Russia [email protected], p[email protected]ower.nstu.ru Abstract This paper presents the comparative study for fuzzy regression model using linear programming, fuzzy regression model using genetic algorithms and standard regression model. The fuzzy and standard models were developed for estimation of electric power losses in electrical networks. Simulation was carried out with a tool developed in MATLAB. Keywords: Fuzzy regression, membership function, genetic algorithms, electrical networks, electric power losses 1 Introduction The problem of estimating of electric power losses in electrical networks is a major aspect of power systems research. The main tasks in analyzing electric power losses are the following: •Detecting and estimating the reserves of the power system divisions for decreasing the power losses. •Ranking the main factors affecting the level of power losses. •Developing measures for decreasing power losses and determining the effectiveness of these measures. •Determining the main causes of commercial losses of electric power. •Assessing the operation of the power system as a whole and its divisions with respect to power loss. •Preparation and basis for decisions for the development of electric power systems and for the implementation of measures for decreasing power losses. 13
14 A.V. Mogilenko & D.A. Pavlyuchenko A series of methods are now used which allow an exact account of electric power losses (deterministic methods), and an estimation of losses (probabilistic-statistical methods). Deterministic methods are based on replacing the real process of load modification in an electrical network with the most typical calculated state. The process of load modification is actually a set of realizations of casual processes, making it practically impossible to receive full information about state parameters. Therefore, it is necessary to use estimated statistical methods in accounting for electric power losses. They allow the determination of losses with a defined confidence interval. The most widespread probabilistic methods of electric power loss estimation in electrical networks are regression analysis, factor analysis, the sampling method, experimental design, and other methods. Regression analysis, based on the method of least-squares, is a very convenient method to develop models for determining the dependence of a parameter on certain factors. However, exact numerical statistical information is necessary for deriving regression models. In order to determine how power losses depend on the factors that affect them, information must be used which is intended for different purposes, such as operational control, equipment overload control, etc. For power loss estimation, this data is biased and incomplete, which necessitates various assumptions in order to formalize the decision algorithm. For this reason, and also as a result of the absence of a reliable probabilisticstatistical description of the initial information, it frequently becomes difficult to use probabilistic-statistical methods to analyze power losses. Since a significant part of the initial information can have substantial uncertainty (first of all, this applies to mode parameters), it is necessary to use new methods in loss analysis. These methods combine the merits of probabilistic-statistical methods of loss analysis, and also formalize fuzzy initial information with the help of fuzzy sets. Lotfi Zadeh suggested this theory, whose main idea is the linguistic variable. For the development of models with fuzzy initial information, Tanaka, Chang and others suggested and developed fuzzy regression analysis. In usual regression analysis, an error between values obtained by the regression model and observable data is considered an error of observation, which is a random variable (with a normal distribution and an average distribution which equal to zero). In fuzzy regression analysis the same errors are considered caused by the fuzziness of the model. 2 Models of fuzzy regression analysis 2.1. Symmetrical triangular membership function of the LR-type Since the most common type of membership function in fuzzy regression models is the triangular type, it makes sense to examine it more closely. Triangular membership functions are divided into symmetrical and asymmetrical. Here, the symmetrical triangular function is the most interesting.
The Estimation of Electric Power Losses in Electrical Networks... 15 With an increase in x, a triangular function grows evenly, reaches its maximum, and then evenly falls in the same way [1]. This membership function has the following main features, graphically represented on Fig. 1. As stated earlier, it is worth noting that this membership function has a symmetrical appearance, since the deviation along the X-axis to the left (L) from the centre mis equal to the deviation to the right (R). As a whole, this type of membership function is called an LR-image. The value of the membership function of fuzzy set A in the main interval [α, β] can be determined using Eq. (2). For this, it is necessary to first determine the value of the centre mof the main interval using Eq. (1). m=α+β−α 2(1) µA(x) = L(m−x)for x ∈[α, m] R(x−m)for x ∈[m, β](2) In addition, it is clear that the value of L(x) and R(x)at the point m is equal to zero. Having found the value of the deviation, and then by placing it on the membership function graph, it is possible to find the value of membership at the exact point x. The same can be done directly, that is, without first finding the deviation, by using Eq. (3). µA(x) = (x−α m−αfor x ∈[α, m] β−x β−mfor x ∈[m, β](3)
16 A.V. Mogilenko & D.A. Pavlyuchenko The types of membership functions can differ depending on the initial information that the researcher has at his disposal, that is, depending on their uncertainty and the way they are formalized. 2.2. Fuzzy regression analysis using the criterion of minimal fuzziness In fuzzy regression analysis the deviation between observable values and estimated values is due to the fuzziness of the system or the fuzziness of the coefficients of regression [2]. This assumption is shared by the methods of fuzzy regression which are described in this work. The goal of fuzzy regression analysis is to find a regression model that satisfies all observable fuzzy data within the indicated criterion of optimality. Various fuzzy regression models differ depending precisely on the optimality criterion used. Tanaka first proposed fuzzy linear regression analysis [3, 4]. According to this method, coefficients of regression are fuzzy numbers that can be expressed as interval numbers with values of membership. Since coefficients of regression are fuzzy numbers, the estimated output variable Yis also a fuzzy number. Fuzzy regression analysis with only one independent variableXhas the following two-coefficient regression model: ⌢ Y=˜ B0+˜ B1X, (4) where ˜ B0is the fuzzy coefficient of intersection, and ˜ B1is a fuzzy number that characterizes the slope of the line of regression. The fuzzy parameter ˜ Bj= (mj, cj) is expressed as a symmetrical triangular membership function, which consists of a fuzzy centre mjand half of the fuzzy base cj. In these models, other membership function forms can also be used such as asymmetrical and trapezoidal. According to this approach, the fuzzy coefficients ˜ Bj(j=0,1) are determined in such a way that the estimated fuzzy output Yhas a minimal fuzzy deviation, while satisfying the assigned degree of reliability h. The term h is a measure of compatibility between the initial data and the regression model. Each of the observable samples of data, which can have a fuzzy value ˜ Yi, as well as an exact value Yi, must fall within the estimated ⌢ Yat level h. Determining the fuzzy coefficients ˜ Bj= (mj, cj), Tanaka and others formulated the fuzzy criterion function of regression as the following linear programming problem [2, 5, 6]: Minimize S=nc0+c1 n X i=1 |Xi|(5) With limits c0≥0, c1≥0, 1 X j=0 mjXij + (1 −h) 1 X j=0 cj|Xij| ≥ Yi+ (1 −h)eiwith i= 1 . . . n, (6)
The Estimation of Electric Power Losses in Electrical Networks... 17 1 X j=0 mjXij −(1 −h) 1 X j=0 cj|Xij| ≤ Yi−(1 −h)eiwith i= 1 . . . n, (7) where Sis the level of fuzziness of the regression model. Eq. (6) and (7) can use, as initial data, the fuzzy observable value ˜ Yi= (Yi, ei), where Yiis the fuzzy centre, and eiis half of the fuzzy base. If the observable value is given exactly, then eis zero. Therefore, a usual exact number is a particular case of a fuzzy number. Eq. (5) and (7) can also be applied to the model of plural regression. If it is necessary to build a fuzzy regression model of the dependence of the output parameter on kof the influencing factors ik, then the criterion function of the linear programming problem will have the following form: S=nc0+ n X i=1 (c1|Xi1|+...+ck|Xik|)→min .(8) With limits 0≥0, 1≥0, . . . , k≥0, k X j=0 mjXij + (1 −h) k X j=0 cj|Xij| ≥ Yi+ (1 −h)eiwith i= 1 . . . n, (9) k X j=0 mjXij −(1 −h) k X j=0 cj|Xij| ≤ Yi−(1 −h)eiwith i= 1 . . . n, (10) where j= 0. . . kis the number of the coefficient of regression, and n is the volume of the sample of initial data. For varying degrees of reliability, the fuzzy centre values remain unchanged, while the fuzziness of the fuzzy regression model grows with increases in the degree of reliability. Therefore, when his equal to 0, the fuzzy regression model has the narrowest fuzzy deviation among all the values of h between 0.0 and 1.0. 2.3. Fuzzy regression analysis using the genetic algorithm As mentioned above, the determining of fuzzy coefficients consist in solution of linear programming problem. Linear programming is used for optimization problems when the objective function and constraints are linear. In this paper the linear programming was implemented using the OPTIMIZATION toolbox of MATLAB which contains the variation of well known simplex method. Authors propose to use the genetic algorithms as an alternative approach for optimization problem Eq. (5) – (7). The genetic algorithms are the powerful stochastic optimization technique which determines the global optimal solution and it is not sensitive to the convexity of the solution surface [7, 8]. The genetic algorithms search for an optimal solution using the principles of evolution and heredity. They operate on population which consists of a number of individuals, each representing a particular selection of the values of the variables.
18 A.V. Mogilenko & D.A. Pavlyuchenko Such population is able to evolve in a given environment by application of the processes of selection, crossover and mutation. As an evolutionary theory, genetic algorithms perform the mechanisms of crossover and mutation to recombine the genetic material. The first step is to generate the initial population. Then genetic algorithms perform the mechanisms of crossover and mutation as genetic operators to recombine the genetic material. This process that starts from the present population and leads to the new population is named a generation. The degree of optimality of each of the candidate solutions or individuals is measured by their fitness, which can be defined as the objective function of the problem. The individuals compete with each other. The winning ones form the next generation. Normally the average quality of the next population is greater than the previous one. The genetic algorithms are iterative and the process is terminated by stopping rule. The rule widely used is stop after specified number of generations. Some alternative fussy regression models using genetic algorithms were considered in [9]. 3 Applied power engineering problem The problem of estimation and prediction of electric power losses in electrical networks is used to illustrate considered methods. It is well known, that total power flows are depend on system load. But load is one of the major factors affecting the level of power losses in electrical networks. Therefore the determining of the functional dependence between power losses and total power generation is actual. Thus, in this case the independent variable Xis the total power flows, thousand kw-hr. The output parameter Yis the total power losses, thousand kw-hr. The sampling is 40 points. 3.1. Results Two fuzzy regression models were developed to illustrate the characteristics of the proposed methods. The fuzzy coefficients were determined by linear programming (simplex method) and by genetic algorithm. The level of compatibility h for considered fuzzy models (see 2.2) was zero, because there were no sufficient reasons for its definition. Also the standard regression model with confidence interval with probability 0.95 was developed for the results comparison. Fuzzy regression model using simplex method have the following form: ⌢ Y= (m0;c0) + (m1;c1)X= (4,33; 4,19) + (0,06; 0,01)X. (11) Fig. 2 shows the distribution of deviations at sampling points by fuzzy regression model. The fuzzy regression between power losses and total flows is shown in Fig. 3. Table 1 demonstrates the absolute values of deviations of centre line for fuzzy regression model. The total value is 315.2.
The Estimation of Electric Power Losses in Electrical Networks... 19 Fig. 2. The distribution of deviations at sampling points by fuzzy regression model. Fig. 3. Fuzzy regression model Fuzzy regression model using genetic algorithm have the following form: ⌢ Y= (m0;c0) + (m1;c1)X= (3,05; 3,20) + (0,06; 0,01)X. (12)
20 A.V. Mogilenko & D.A. Pavlyuchenko It is shown in Fig. 4 the distribution of deviations at sampling points by fuzzy regression model using genetic algorithm. The fuzzy regression between power losses and total flows is shown in Fig. 5. Table 1 shows the absolute values of deviations of center line for fuzzy regression model using genetic algorithm. The total value is 310.8. Fig. 4. The distribution of deviations at sampling points by FRUGA model. Fig. 5. Fuzzy regression model using the genetic algorithm.
The Estimation of Electric Power Losses in Electrical Networks... 21 Standard regression model using least squares have the following form: ⌢ Y=B0+B1X=−14,35 + 0,08X. (13) Fig. 6 illustrates the distribution of deviations at sampling points by standard regression model. The standard regression between power losses and total flows is shown in Fig. 7. Fig. 6. The distribution of deviations at sampling points by standard regression model. Fig. 7. Standard regression model.
28 A.V. Mogilenko & D.A. Pavlyuchenko The figures show, that regressions with fuzzy initial data are also very similar. In comparison with crisp data the bounds of regression are extended proportionate coefficient h. It necessary to point that fuzzy regression using genetic algorithm has better fitting. It provides more accurate estimations with practically the same bounds of fuzzy models. Fig. 13. Fuzzy regression model using the genetic algorithm for crisp X, fuzzy Y and h= 0.0. Fig. 14. Fuzzy regression model for crisp X, fuzzy Yand h= 0.5.
The Estimation of Electric Power Losses in Electrical Networks... 29 Also as it is shown in Table 2, fuzzy regression models using genetic algorithm are more adequate at hnot equal to 0, because then HSe/Sysmaller, than for fuzzy regression models using simplex-method. Although at h=0 as it was mentioned the situation is opposite, that is traditional models are more adequate. Fig. 15. Fuzzy regression model using the genetic algorithm for crisp X, fuzzy Y and h= 0.5. 5 Conclusions 1. All the observed data are within the lines determined by the considered fuzzy regression model but the confidence interval of standard regression model doesn’t cover almost the half of observed values of electric power losses. 2. Fuzzy regression analysis based on genetic algorithms determines more accurate center regression line using the same minimum and maximum lines of the model. The total deviation by this approach is smaller (1.4 % ) in comparison with fuzzy regression model based on linear programming. 3. Fuzzy regression analysis using genetic algorithm allows to estimate and predict the level of power losses in electrical networks. The minimum and maximum lines of the proposed model can be considered as pessimistic and optimistic plans of events. 4. The observed values of power losses in this paper are crisp. However the proposed method unlike the standard regression can use the fuzzy observed data. In authors’ opinion, these conclusions confirm the possibility and effectiveness of fuzzy regression analysis using genetic algorithms in estimation and prediction
30 A.V. Mogilenko & D.A. Pavlyuchenko of electric power losses in electrical networks and also in any other technical applications. References 1. Boehme, Fuzzy-Logik. Einfuehrung in die algebraischen und logischen Grundlagen, (Berlin, Springer-Verlag, 1993). 2. Yun-Hsi O. Chang, Bilal M. Ayyub, “Fuzzy regression methods - a comparative assessment”, Fuzzy Sets and Systems,119 (2001), 187 - 203. 3. H. Tanaka, S. Uejima, K. Asai, “Linear Regression Analysis with Fuzzy Model”, IEEE Transactions on Systems, Man and Cybernetics, 6(1982), 903 – 906. 4. H. Tanaka, “Fuzzy data analysis by possibilistic linear models”, Fuzzy Sets and Systems,24 (1987), 363 – 375. 5. J. Nazarko, W. Zalewski, “The Fuzzy Regression Approach to Peak Load Estimation in Power Distribution Systems”, IEEE Transactions on Power Systems,3(1999), 809 - 814. 6. S.A. Soliman, Mansour H. Abdel Rahman, M.E. El-Hawary, “Application of fuzzy linear regression algorithm to power system voltage measurements”, Electric Power Systems Research,42 (2000), 195 - 200. 7. A.V. Mogilenko, D.A. Pavlyuchenko, V.Z. Manusov, “Development of fuzzy regression models using genetic algorithms”, International journal of uncertainty, fuzzyness and knowledge-based systems,4(2003), 429-444 8. D.E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning. (Reading, MA, Addison-Wesley, 1989). 9. J. Kacprzyk, M. Fedrizzi, Fuzzy Regression Analysis. (Physica-Verlag, Heidelberg, 1992).