Assignment 01-Fuzzy Logic (2k21ceee30)
Assignment 01-Fuzzy Logic (2k21ceee30)
ROLL NO : 2K21/CEEE/30
YEAR/SEM : III/VI
ASSIGNMENT NO. : 01
Table of Contents
1. Introduction .............................................................................. 3
2. Architecture ................................................................................ 4
3. Advantages of Fuzzy Logic System .......................................... 5
4. Figure(I)-Actual data of Sub-station .......................................... 6
5. Figure(II)-Actual input and output data after normalization ...... 7
6. Figure(III)-Fuzzy rule base for membership short term load
forecasting ............................................................................................. 8
7. Figure(IV)-Fuzzy rule viewer corresponding to 37th rule ......... 9
8. Fig(V)-Day1 Input................................................................... 10
9. Fig(VI)-Day2 Input .................................................................. 10
10. Fig(VII)-Day3 Input ............................................................... 11
11. Fig(VIII)-Day4 Input.............................................................. 11
12. Fig(IX)-Day5 Output.............................................................. 12
13. Fig(X)-Absolute relative error in forecasted load in comparison with
Actual load ...................................................................................... 13
14. Fig(XI)-Predicted electrical load (Forecasted) in comparison with
Actual load ...................................................................................... 14
15. Conclusion ............................................................................. 14
1. Introduction:-
Fuzzy Logic is implemented using Fuzzy Rules, which are
if-then statements that express the relationship between input variables
and output variables in a fuzzy way. The output of a Fuzzy Logic system
is a fuzzy set, which is a set of membership degrees for each possible
output value.
Fuzzy Logic is implemented using Fuzzy Rules, which are if-then
statements that express the relationship between input variables and
output variables in a fuzzy way. The output of a Fuzzy Logic system is a
fuzzy set, which is a set of membership degrees for each possible output
value.
In summary, Fuzzy Logic is a mathematical method for representing
vagueness and uncertainty in decision-making, it allows for partial
truths, and it is used in a wide range of applications. It is based on the
concept of membership function and the implementation is done using
Fuzzy rules.
In the Boolean system truth value, 1.0 represents the absolute truth
value and 0.0 represents the absolute false value. But in the fuzzy
system, there is no logic for the absolute truth and absolute false value.
But in fuzzy logic, there is an intermediate value too present which is
partially true and partially false.
2. ARCHITECTURE:-
forecasting:-
Day 1 Day 2 Day 3 Day 4 Day 5
04.04.12 18.04.12 30.05.12 06.06.12 13.06.12
Time
Input1 Input2 Input3 Input4 Output
(MW) (MW) (MW) (MW) (MW)
00:30:00 HL1 HM1 HL1 HL1 LM1
01:00:00 ML1 MM1 HL1 ML1 HL1
01:30:00 ML1 MM1 ML1 ML1 HL1
02:00:00 ML1 MM1 ML1 ML1 HL1
02:30:00 ML1 MM1 ML1 ML1 HL1
03:00:00 ML1 MM1 ML1 ML1 HL1
03:30:00 ML1 MM1 ML1 ML1 ML1
04:00:00 ML1 MM1 ML1 ML1 ML1
04:30:00 ML1 MM1 ML1 ML1 ML1
05:00:00 LL1 MM1 ML1 ML1 ML1
05:30:00 ML1 MM1 ML1 ML1 ML1
06:00:00 ML1 MM1 ML1 ML1 ML1
06:30:00 ML1 MM1 ML1 ML1 LL1
07:00:00 ML1 LH1 ML1 ML1 HL1
07:30:00 ML1 LH1 ML1 HL1 HL1
08:00:00 ML1 LH1 HL1 HL1 LM1
08:30:00 HL1 LH1 LM1 LM1 LM1
09:00:00 HL1 HM1 MM1 MM1 MM1
09:30:00 HM1 HM1 HM1 LM1 LM1
10:00:00 LH1 HH1 HH1 LH1 MH1
10:30:00 HH1 HH1 HH1 MH1 HH1
11:00:00 HH1 LH1 HH1 HH1 HH1
11:30:00 HH1 MH1 HH1 HH1 HH1
12:00:00 HH1 LH1 HH1 HH1 HH1
12:30:00 HH1 LH1 HH1 MH1 HH1
13:00:00 HH1 MH1 HH1 HH1 HH1
13:30:00 LH1 LH1 HH1 LH1 HM1
14:00:00 LH1 LH1 HH1 HM1 MH1
14:30:00 LH1 LH1 MH1 HM1 MH1
15:00:00 LH1 HH1 LH1 MH1 LH1
15:30:00 LH1 MH1 LM1 HH1 LH1
16:00:00 LM1 MH1 LM1 LH1 HM1
16:30:00 LM1 LL1 LM1 MM1 MM1
17:00:00 HM1 MM1 HM1 LM1 MM1
17:30:00 HM1 MM1 ML1 HL1 HL1
18:00:00 HM1 MM1 ML1 HL1 ML1
18:30:00 ML1 MM1 ML1 ML1 ML1
19:00:00 HL1 MM1 LM1 ML1 ML1
19:30:00 LM1 MM1 LM1 ML1 ML1
20:00:00 ML1 LH1 LM1 LM1 ML1
20:30:00 HL1 MH1 MM1 LM1 ML1
21:00:00 HL1 LH1 LM1 LM1 ML1
21:30:00 HL1 LH1 MM1 LM1 HL1
22:00:00 LM1 HM1 MM1 LM1 HL1
22:30:00 LM1 HM1 MM1 LM1 HL1
23:00:00 LM1 MH1 LM1 LM1 HL1
23:30:00 LM1 MH1 HL1 LM1 MM1
00:00:00 ML1 MH1 HL1 HL1 LM1
8. Fig(V)-Day1 Input:-
9. Fig(VI)-Day2 Input:-
Dept. of CEEE
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
00:30:00 00:30:00
02:00:00 02:00:00
03:30:00 03:30:00
05:00:00 05:00:00
06:30:00 06:30:00
08:00:00 08:00:00
09:30:00 09:30:00
11:00:00 11:00:00
12:30:00 12:30:00
10. Fig(VII)-Day3 Input:-
14:00:00 14:00:00
DTU
18:30:00 18:30:00
20:00:00 20:00:00
21:30:00 21:30:00
23:00:00 23:00:00
Page 11
RES
RES
0.3
0.2
0.1
0
70.00
60.00
50.00
10.00
0.00
00:30:00
02:00:00
03:30:00
05:00:00
06:30:00
08:00:00
09:30:00
11:00:00
12:30:00
14:00:00
15:30:00
17:00:00
18:30:00
20:00:00
21:30:00
23:00:00
15. CONCLUSION:-