SYNTHESIS BASE OF FAZZY KNOWLEDGE ANFIS-CONTROL OF REACTIVE CAPACITY AND VOLTAGE IN DISTRIBUTIVE ELECTRIC
NETWORKS
Guliyev H.B.
Azerbaijan Scientific-Research and Design-Prospecting Power Institute AZ1012, Ave. H.Zardabi-94, E-mail: [email protected]
ABSTRACT
The question of synthesis of base of fuzzy knowledge ANFIS - networks for control streams of reactive capacity and voltage of knots considered in distributive electric networks. Synthesis base of fuzzy knowledge and term on basis of the received regime reports executed for schemes 14 knots electric networks with method application subtractive clustering. Root mean square error parameter adjustment of a method shows to adequacy of control of a mode in DEN.
Keywords. Distributive electric networks, reactive capacity, voltage, clustering, fuzzy neural network, control.
I. INSTRUCTION
Scientific and technical progress at the present stage of development has created preconditions for creation of intellectual control systems of the continuous technological processes having certain complexities and uncertainty. Besides, in the majority of cases of a problem of modern control because of complexity of the mathematical models describing them cannot effectively solved by classical methods. In these conditions application of modern technologies of processing of the information, including paradigms Soft Computing and their hybrids (neural networks, likelihood methods, fuzzy logic, genetic algorithms, and theory of chaos) has special values [1].
Based on the hybrid neuro-fuzzy network including paradigms of fuzzy logic and neural networks it is possible to synthesize the effective control systems, allowing overcome lacks peculiar to these paradigms separately. On the basis the device of fuzzy logic, the logic decision makes, and based on algorithm of training of a neural network parameters corresponding function of an accessory [2] adjusted.
From the point of view of uncertainty and quality of the multivariate initial information actual is application of neuro -fuzzy systems (ANFIS-network) for control of modes of complex distributive electric networks (DEN). Uncertainty at the decision of questions control of streams of reactive capacity and knots voltages caused stochastic by changes of active and reactive loadings, discrepancy or absence of the information on them, insufficient maintenance with measuring devices, and circuit changes at operation of electric networks. Also full maintenance of objects with measuring complexes does not give an opportunity of the account stochastic change of electric loadings in all time intervals.
In view of abovementioned, in the given work questions of synthesis of the fuzzy knowledge base for control streams of reactive capacity and knots voltages in DEN with use of an ANFIS-network are considered.
II. ANFIS-MODEL CONTROL OF REACTIVE CAPACITY AND KNOTS VOLTAGES IN DEN
At control of reactive capacity and a voltages in DEN power supply systems with numerous central point effectively to present system of fuzzy logic conclusions in the form of hybrid neuro -fuzzy networks (ANFIS-model [2,3]). It caused by that in fuzzy logic expert knowledge of structure of object in the form of linguistic statements used, and neural networks create an opportunity of effective training. On fig. 1 shown structure of ANFIS-network with n in entrance parameters. The architecture and a rule of work of each layer of an ANFIS-network are given in [1,4]. The system ANFIS-control based on use of fuzzy knowledge base Sugeno.
In Sugeno model, the fuzzy knowledge base, describing dependences between entrance parameters X = (x1, x2,..., x4) and target parameter, described by a polynomial of the first order in the following form [4]:
m
dj = bj,o +Z bJx 0)
i=1
where, b j t - some real numbers i = 0, n.
The degree of membership of an entrance vector X* = (x*, x*,...,x*) to values dj defined by following system of the fuzzy logic equations:
(X')= ^.a^p (xl j = 1,m (2)
)= Yr^^jrV
p=1,Kj i=1,n
where y(a)- operation from S-norm (t-norms), i.e. from set of realizations of logic operations or (and).
As membership function analytical models of membership functions of a variable x to any fuzzy term in the form of calumniated functions [4] are used:
Mx) =-(3)
2b
x - c
1 +
where a, b, c - some numerical parameters accepting any valid values and ordered by a parity a < b < c , where parameter b)0; a - factor of concentration of membership function; b - factor of a steepness of membership function; c - coordinate of a maximum of membership function.
The algorithm of control in the beginning demands formalization of the knowledge base depending on entrance signals (a deviation of reactive capacity and a voltage on each unit) and their quantities. With this purpose, the quantity a term-subsets of linguistic variables of reactive capacity and a voltage defined. For the decision of the considered question the method subtractive clustering (mountain algorithm clustering) [4] is used.
III. ALGORITHM SUBTRACTIVE CLUSTERING
On a first step of algorithm it is necessary to generate the potential centers (Q) cluster
having final numbers qr, where r = 1,n . The quantity possible cluster equalQ = qlq2...qn.
On the second step of algorithm, the potential of the centers cluster under the following formula pays off:
P(Zh) = £exp(-qD(Zh, Xk)), h = 11Q (4)
k=1,M
Where Zh=z1, h, z2, h, ..., zn, h - the potential center of h-th cluster;
■q - Positive constant; D(Zh, Xk) - distance between the potential center cluster (Zh) and object clustering (Xk). In Euclidean space, this distance pays off under the formula:
a
D(Zh, X, ) = J\\Zh - X,
(5)
On the third step of algorithm as the centers cluster, choose coordinates of «mountain tops». The center of the first cluster appoints a point with the greatest potential. Before a choice, following cluster the center it is necessary to exclude influence just found cluster. For this purpose from current values of potential, subtract the contribution of the center just found cluster.
Layer 1
Layer 2
Layer 3
Layer 4
Layer 5
Fig. 1. Structure ANFIS - networks control of reactive capacity
Recalculation of potential occurs under the formula:
P2(Zh) = Pi(Zh) -Pi(Vi)exp(-PD(Zh,V1)), Zh * Vx, h = 1Q (6)
where P() - potential on 1-st iteration; P2(.) - potential on 2-th iteration; P- A positive constant; V1 the center of the first found cluster.
Vi = arg max( Pi(Zi), Pi(Z2),..., Pi(ZG))
Zi,Zi,...,Zt
The center of the second cluster defined on the maximal value of the updated potential:
V2 = arg max(P2(Zi), P2(Z2),..., P2(ZQ))
Zh'-Zh *Vi,h=1,Q
(7)
(8)
Then value of potentials again recalculated:
P3(Zh) = P2(Zh) -P2(V2)exp(-ßD(Zh,V2)), Zh * V» h = 1,Q
(9)
2
Iterative procedure of allocation of the centers clusters proceeds until the maximal value of potential exceeds some threshold. The algorithm subtractive clustering not fuzzy, however it often use at synthesis of fuzzy rules from data.
The first stage of procedure of construction of fuzzy Sugeno model is definition of quantity a term-subsets and fuzzy rules on experimental data or by expert estimations. The volume of the knowledge base is defined as F=TG, where T - quantity of terms of one entrance variable; G -quantity of entrance variables, for example, at T=4 and G=5 we receive quantity of rules 45=1024, and already at T=7 and G=14 the quantity of rules considerably increases up to 714.
In conformity with it for complex DEN, the quantity of fuzzy rules turns out significant and use of expert knowledge connected with the certain difficulties. Therefore with the purpose of control reactive capacity and a voltage in DEN uses algorithm subtractive clustering for synthesis of fuzzy rules. The fuzzy knowledge bases reflecting every possible variant of rules as a result received.
Data subtractive clustering used as fast algorithm for synthesis of fuzzy rules. Besides for ANFIS-algorithm this method is as though an index point for training synthesized fuzzy model. The basic advantage of application clustering for synthesis of fuzzy model consists that rules of the knowledge base turn out object-oriented. It reduces an opportunity so-called «combinatory explosion», i.e. catastrophic increase in volume of the knowledge base at a plenty of entrance parameters. Below questions of synthesis of system of a fuzzy logic conclusion of type Sugeno (fig.2) with application of a method subtractive clustering are considered.
By means of subroutine Clustering [5] packages Fuzzy Logic Toolbox, are executed allocation cluster pair initial data (value of knots voltages and reactive capacities). On fig.3, results clustering on initial data shown and in table 1 value of their fashion given.
For synthesis of fuzzy rules of developed neuro- fuzzy network ANFIS at control of reactive capacity in DEN, results of regime calculations 14 central electric networks IEEE14BUS are used. Calculations executed by means of program complex ETAP [6].
IV. RESULTS OF PRACTICAL REALIZATION
X1
X1...X4
X2
Sugeno
Y (.)
144 rules
X3
X4
Fig.2. Block diagram of fuzzy Sugeno model
1
0.9 0.8 0.7 0.6 >- 0.5 0.4 0.3 0.2 0.1
<b
1
0.9 0.8 0.7 0.6 5- 0.5 0.4 0.3 0.2 0.1
75 80 85 90 95 100 105 XI
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
X3
a) b)
Fig. 3. Results subtractive clustering initial selective data
Tab. 1
Value of a fashion founc cluster
X1 X2 X3 X4 Y
99,030 99,390 0,152 0,151 0,222
94,060 94,330 0,232 0,231 0,409
88,340 88,320 0,299 0,299 0,606
82,630 82,180 0,348 0,350 0,787
Apparently, from fig.3, for linguistic variables it is enough to accept 4 terms. At a following stage Sugeno model of the first order with fuzzy rules in quantity 144 synthesized.
Computer realization of fuzzy rules ANFIS-network shown on fig.4.
Rule Editor: fis 4i100
Fils Edit View Options
K\mm
1. if (input-!
2. If (Inputl
3. If (inputl
4. If (inputl
5. If (inputl è.ft (inputl 7 If (inputl
Is in1 mf1 ') and (Input2 gigä mf1 ') and (input2 is in1 mf 1 ) and (input2 is in1 mf 1 ') and (input2 is in1 mf 1 ') and (input2 ¡s.inlmM) and (input2 is in1 mf1 ) and (input2
¡S.ln2mf1 ) and (input3 Is In3mf1 ) and (input4 is In4mf1) then (output Is out1 té jn2mf1 ) and (input3,is In3mf1 ) and (input4 is In4mf2) then (output is out1 i^in2mf1 ) and (input3is in3mf1 ) and (input4 is in4mf3) then (output is out1 is in2mf1 ) and (input3-te in3mf2) and (input4 is in4mf1 ') then (output is out1 is.in2mf1 ) and (input3 is in3mf2) and (:nput4 is in4mf2) then (output is out1 Îî!in2rnf1 ) and (input3.is in3mf2) and (:nput4 is in4mf3) then (output is outl Jé-in2mf1 ) and (input3 is in3mf3) and (input4 is in4mfi ) then (output is out1
£. If (iripuil is in1 (Tif 1 ; and (input2 is in2mf1 ) and (iniout3 is in3mf3J and (input-"r is in4mf2") then (output is ou'
'■). If (inputl is in1 mf1 and (input2 is ¡n2mf1 ) and (input3 is in3int3) and (input4 is in4mf3) then (output is cuti v
< 1
and
and
and
Then
¡nputl is
!: ¡1 mf2 in1 mf3 mf4 none
□ not
r- Connection
Oor
® and
input2:is.
i"!put3 is
mput4 is'%
output ¡5'
Hn2mf1 A in3mf1 n4mf1 a. out1 mf8
' "i2mf2 n3mf2 in4mf2 jutl mf9
:2mf3 ■n3mf3 n4mf3 L'utl mf 10
i2mf4 lone lone r-Lrtl mf11
¡one V v iiutl mf12 :QyUjrofl3.. . v
□ not □ not □ not □ not
Weight:
Delete rule
Add rule
Change
rule
FIS Warne: fis 4i100
Help
Close
Fig. 4. Computer realization of fuzzy rules of an ANFIS-network
Fig. 5. Adjustment of synthesized fuzzy Sugeno model a- adjustment; b-after adjustment on 20 samples; c-after adjustment on 100 samples
The surface "inputs-outputs" of initial fuzzy model shown on fig.5a. Apparently, from figure, before adjustment the fuzzy model badly reflects the basic features of identified dependence. Testing of model shows, that an average quadratic deviation (a.q.d.) between settlement data and results of fuzzy modeling makes 0,442. On fig.5b surface of training and distribution a.q.d. between settlement data and results of fuzzy modeling on 20 samples shown. As a result of adjustment, a.q.d. On training sample has decreased with 0,442 up to 0,308. Apparently from figure, after adjustment the fuzzy model well reflects behavior of identified dependence and quality of the synthesized base of fuzzy knowledge improves. On fig.5c the surface of training and distribution c.k.o given accordingly. Between settlement data and results of fuzzy modeling on 100 samples. Apparently, a.q.d. between settlement data and results of fuzzy modeling has decreased up to 0,00047 and the surface reflects identified dependence is better.
On fig.6 dependences of accuracy adjustment on volume of sample shown.
Apparently from fig.6a, the volume of sample equal 60 is not sufficient for full training system that is shown in a divergence between settlements and modeled in operating parameters. From fig. 66 accuracy of adjustment at volume of sample 100 is equal 0,94, that it is possible to consider sufficient for training system.
s
<D
¥
O
^
o
S3
o o
<c
s
<D
¡3
g
o o
<c
Volume of sample Volume of sample
a) b)
Fig.6. A curve of dependence of errors of adjustment from volume of sample a-after adjustment on 60 samples; b-after adjustment on 100 samples
0.9
0.8
0.7
0.6
0.2
0.1 •
CONCLUSIONS
1. Questions of synthesis of terms-subsets and bases of fuzzy knowledge Sugeno of ANFIS-model on the basis of algorithm subtractive clustering for control of reactive capacity and knots voltages in DEN power supply systems are considered.
2. Values a.q.d. between settlement data and results of fuzzy modeling of the synthesized neuro - fuzzy network, received on the basis of results of the limited regime calculations for test scheme IEEE14BUS have shown its adequacy to control of reactive capacity and knots voltages in DEN.
REFERENCES
1. Aliev R.A., Aliev R.R. Theory of intellectual systems and its application. Baku, Chashioglu, 2001, 720 with.
2. Panteleev V.I., Tulikov A.N. Precondition of use of fuzzy logic for situational control of modes of systems of electro supply of the enterprises // Enerji Effect life-support systems of city: Materials of VI All-Russia scientifically-practical conference. 2005, c.192-195.
3. Shitake O.A. Forecasting of values of parameters of quality of transformer oil by means of neuro - fuzzy system ANFIS // Svetotehnika that electric power industry. 2008, №4, c.49-56.
4. Shiva S.D. Designing of fuzzy systems means Matlab. A hot line-TV set, 2007, 288c.
5. Fuzzy Logic Toolbox. User's Guide. Version 2. The Math Works. Inc.-1999.
6. TAP, PowerStation 4.0, User Guide. Volume II, Analysis Modules. Operation Technology, Inc. Registered to ISO 9001, Certification No. A3147, 2002.