Dynamic Economic Dispatch With Valve-Point Effect Using Crow Search Algorithm
Dynamic Economic Dispatch With Valve-Point Effect Using Crow Search Algorithm
BALKAN JOURNAL OF ELECTRICAL & COMPUTER ENGINEERING, Vol. 10, No. 3, July 2022
TABLE I
THE INITIAL POPULATION OF CROWS CREATED RANDOMLY AND CALCULATED FITNESS VALUE FOR EACH FLOCK
Flock1 Flock2
Hour Demand Crow1 Crow2 Crow3 Cost Crow1 Crow2 Crow3 Cost
1 210 161,323 112,687 159,448 2240495 153,838 134,393 115,797 1945802,8
2 200 190,93 140,522 157,873 2899900 151,367 116,055 178,423 2464525
3 190 178,170 84,947 169,862 2435740 178,140 84,182 170,096 2430118
4 185 176,716 149,925 141,714 2839928 164,319 122,589 165,849 2683737
5 190 85,281 102,629 172,330 1707372 184,784 92,273 114,779 2023760,5
6 215 165,579 140,375 170,903 2625049 157,520 76,486 113,896 1333852
7 220 188,945 113,189 122,894 2056104 195,549 96,863 134,994 2079942
8 230 127,142 132,716 164,797 1952345 111,826 133,939 172,949 1892855
9 235 127,624 100,191 137,913 1312305 160,952 85,957 146,416 1588656,5
10 240 178,407 54,306 134,387 1276128 96,930 134,120 110,868 1023892
11 245 77,258 130,910 157,964 1216344 150,175 123,819 148,483 1780530
12 250 190,439 102,133 125,414 1685595 166,093 109,386 136,184 1622263
13 245 194,946 102,271 113,852 1666344 187,306 84,504 159,335 1867377,7
14 255 164,186 93,547 144,415 1476999 165,604 129,499 157,542 1982606
15 260 175,062 123,981 172,951 2126367 167,132 50,729 177,316 1357274
16 255 156,005 144,196 111,942 1577065 182,675 140,968 131,336 2005997
17 250 175,846 101,357 111,813 1395523 152,122 78,995 129,501 1111173,4
18 245 136,916 118,067 173,495 1840623 177,520 149,674 147,016 2298544
19 240 156,562 111,207 160,417 1887705 142,872 78,609 130,964 1129338
20 235 157,574 126,917 120,716 1707607 178,321 108,320 95,977 1481451
21 230 199,419 92,452 88,407 1508064 194,891 117,766 169,552 2528667,2
22 220 125,233 144,511 137,632 1879316 193,117 122,271 90,801 1867484
23 215 178,391 79,761 132,861 1765529 181,223 91,416 132,517 1907126
24 210 181,547 77,373 130,274 1797323 157,890 103,619 131,102 1831493
Total Cost ($/24h) 44,875,770 44,238,465
As seen in Table 1, it represents the positions of the crows in the flocks. The positions of the crows also represent the solution
to the problem. The fitness value of each flock is calculated according to Eq. (2) for each hour. As a result of the 24-hour
dynamic economic dispatch, the least total cost value that gives the best fitness value in the flock is thrown into memory. Thus,
the best initial value is stored in memory. The value in memory actually shows the best result up to the current iteration. This is
the value for the initial population 44,238,465 $/24h as has been shown in Table 1. Crows store their food in their nests. The
positions of the crows indicate the position of their nests. Crows try to reach more food by following each other. By paying
attention to the flight length of the crows in the search space, they update the positions of the crows in each iteration. The values
of the positions of the crows in the flock in the 9th and 10th iterations are shown in Table 2.
TABLE II
THE CHANGE OF POSITIONS OF THE CROWS ACCORDING TO ITERATIONS
It can be seen from Table 1 and 2 that the positions of the crows change in each iteration. In each iteration, the crow’s
positions are updated and the fitness value of the crow flocks is calculated according to these new values. The best fitness value
among the flocks is compared with the best value in the memory, and if it is a better value than the value in the memory, the
memory value is updated with this new fitness value. This comparison process is performed in each iteration. Table 3 shows the
variation of the memory value in each iteration.
TABLE III
THE CHANGE OF THE VALUE IN MEMORY IN EACH ITERATION
Iter_1 Iter_2 Iter_3 Iter_4 Iter_5 Iter_6 Iter_7 Iter_8 Iter_9 Iter_10
44,238,46 36,887,14 30,403,10 26,294,20 22,989,27 19,485,01 16,247,78 12,957,75 9,449,68 5,261,09
At the end of the 10th iteration, the fitness function value is System data for five thermal units is given in Table 6.
seen as $5,261,09 per day. In this way, the dynamic economic TABLE VI
SYSTEM PARAMETERS FOR FIVE-UNIT TEST SYSTEM [20]
dispatch problem is solved by using the crow search
algorithm. Parameters P1 P2 P3 P4 P5
ai ($/h) 25 60 100 120 40
V. SIMULATION RESULTS bi ($/MWh) 2.0 1.8 2.1 2.0 1.8
ci ($/(MW)2h) 0.0080 0.0030 0.0012 0.0010 0.0015
In this study, the CSA was used to solve the DED problem. di ($/h) 100 140 160 180 200
The DED problem includes some constraints such as line ei (1/MW) 0.042 0.040 0.038 0.037 0.035
Pi min (MW) 10 20 30 40 50
losses, ramp-rate limits, valve-point effects and power Pi max (MW) 75 125 175 250 300
balance. Thus, the DED problem become a non-convex UR (MW/h) 30 30 40 50 50
problem. The proposed algorithm has been tested on two DR (MW/h) 30 30 40 50 50
different test systems which are five units with loss and ten The 24-hour changing load data for solving the DED
units without loss. Simulations were done using a 2.50 GHz problem on test case 1 are given in Table 7.
Windows 10 personal computer with 16 GB-RAM and
TABLE VII
MATLAB program package and the CSA was run at least 30 24-HOUR LOAD CHANGE DATA FOR FIVE-UNIT TEST SYSTEM [20]
times for two test cases. The results obtained from the CSA
were compared with the results of other previously reported Hour Load Hour Load Hour Load Hour Load
methods in the literature. Test cases and results have been (h) (MW) (h) (MW) (h) (MW) (h) (MW)
given subsections. The parameters of the CSA used in this 1 410 7 626 13 704 19 654
2 435 8 654 14 690 20 704
study are given in Table 4. 3 475 9 690 15 654 21 680
4 530 10 704 16 580 22 605
TABLE IV 5 558 11 720 17 558 23 527
SETTING PARAMETERS OF THE CSA FOR THE DED PROBLEM
6 608 12 740 18 608 24 463
pd AP fl
Test
(Problem (Awareness (Flight Flock_size Iter_max The results show a total operating cost of 41,030.9994
Cases
Dimension) Probability) Lenght)
Test $/24h. In Table 8, the results (minimum, average and
5 0.3 2 30 3000
Case 1 maximum value) of the CSA are compared with other results
Test
10 0.3 2 40 3000 in the previously reported literature and it is seen that the
Case 2
proposed algorithm gives the best result.
A. Test Case 1
There are five thermal generation units in the test case 1. In TABLE VIII
this case, losses are taken into account and the B co-efficient FUEL COST VALUES FOR TEST CASE 1
is given in Table 5.
TABLE V Method Min. ($/24h) Average ($/24h) Max. ($/24h)
TRANSMISSION LOSS CO-EFFICIENTS FOR FIVE-UNIT TEST SA [22] 47,356.0000 - -
SYSTEM [22] GA [24] 44,862.4200 44,921.7600 45,893.9500
PSO [25] 44,253.2400 45,657.0600 46,402.5200
ABC [25] 44,045.8300 44,064.7300 44,218.6400
ICA [26] 43,117.0500 43,144.4700 43,302.2300
SOS [20] 43,090.5925 43,103.0828 43,162.2146
CSA 41,030.9994 41,079.5397 41,103.6947
TABLE IX
RESULTS FROM THE CROW SEARCH ALGORITHM FOR TEST CASE 2
Hour P1 (MW) P2 (MW) P3 (MW) P4 (MW) P5 (MW) P6 (MW) P7 (MW) P8 (MW) P9 (MW) P10 (MW) Cost ($/h)
1 153.5076 235.6846 81.6252 60.1069 88.9610 159.9993 129.7902 51.2789 20.0463 55 28.1963
2 174.1104 220.5821 158.5912 60.0262 84.7006 159.9844 129.9999 47.0064 20.0004 55 29.7468
3 207.0047 272.3180 227.2118 60.0006 78.8044 159.9958 129.6627 47.0054 21.0429 55 32.9361
4 224.8680 338.2997 295.7740 60.0042 73.0179 159.9943 129.6720 48.0839 21.2884 55 36.1262
5 194.4103 368.0764 339.9999 60.0000 102.9533 159.9999 129.9999 49.3601 20.2221 55 37.7134
6 273.1290 416.5603 339.9959 70.9246 114.2374 157.6254 129.9905 50.5381 20.0004 55 40.9957
7 348.4823 421.9858 339.9998 62.5551 119.1232 158.0220 129.9992 47.0290 20.0021 55 42.6297
8 413.1924 459.9158 339.2464 62.0455 85.2900 159.9999 129.9999 51.2597 20.0501 55 44.2668
9 469.6148 459.9999 339.9999 75.3451 131.9493 159.9999 129.9999 79.5731 22.5176 55 47.6461
10 469.7190 459.4386 339.3061 124.9983 180.6288 159.9999 129.9758 106.6304 46.3029 55 51.2269
11 469.4233 459.9995 339.9998 122.7567 227.7601 154.6573 129.9998 92.4028 20.0005 55 51.0756
12 468.3962 459.8852 339.9926 169.0843 242.7376 159.9998 129.9989 119.9861 34.9188 55 53.6800
13 449.4786 459.7576 339.9988 141.0363 223.0026 159.9983 129.9988 89.0004 24.7282 55 51.0958
14 408.6655 446.9922 339.2466 91.0022 211.2103 159.8815 129.9997 59.0053 22.9962 55 47.6328
15 355.1128 442.8886 329.4883 73.0002 163.7124 159.9999 129.3275 47.4679 20.0021 55 44.2889
16 275.0022 362.0988 289.7085 66.7447 146.8688 159.9909 129.9944 48.1494 20.4419 55 39.4097
17 195.0020 333.8780 321.4467 60.0063 159.5385 159.9194 128.2062 47.0001 20.0027 55 37.7423
18 203.1714 399.4876 339.9952 63.9597 208.0304 159.9653 129.9993 47.0211 21.3697 55 40.9917
19 282.9999 454.4229 339.7089 76.5863 209.1755 159.9995 129.5644 48.5425 20.0002 55 44.2861
20 361.9901 459.5435 339.9986 117.1854 242.9992 159.5332 129.9970 77.9877 27.7651 55 48.8086
21 399.9707 459.9998 338.1435 68.2714 242.9999 159.9249 129.9999 48.3217 21.3680 55 47.5604
22 323.2210 391.9479 265.8824 61.5723 192.0673 150.8171 120.3835 47.1076 20.0006 55 41.1339
23 248.1792 311.0990 185.8063 60.0043 122.1070 159.9983 112.7484 54.7652 22.2921 55 34.6970
24 168.0059 257.7098 167.4774 60.0001 16.6554 159.9993 129.9676 49.1781 20.0063 55 31.3638
Total Cost ($/24h) 1,005,250.6
ai ($/h) 958.2 1313.6 604.97 471.6 480.29 601.75 502.7 639.4 455.6 692.4 EP-SQP 1,034,100.0000 - -
bi ($/MWh) 21.6 21.05 20.81 23.9 21.62 17.87 16.51 23.23 19.58 22.54 [29]
ci .00043 .00063 .00039 .0007 .00079 .00056 .00211 .0048 .10908 .00951
($/(MW)2h) PSO-BF 1,026,537.2600 1,028,826.7400 1,033,565.2700
di ($/h) 450 600 320 260 280 310 300 340 270 380 [30]
ei (1/MW) .041 .036 .028 .052 .063 .048 .086 .082 .098 .094 CS-DE 1,023,432.0000 1,026,475.0000 1,027,634.0000
Pi min (MW) 150 135 73 60 73 57 20 47 20 55
Pi max (MW) 470 460 340 300 243 160 130 120 80 55
[31]
UR 80 80 80 50 50 50 30 30 30 30 AIS [24] 1,021,980.0000 1,023,156.0000 1,024,973.0000
(MW/h)
ABC [24] 1,021,576.0000 1,022,686.0000 1,024,316.0000
DR 80 80 80 50 50 50 30 30 30 30
(MW/h) CDBCO 1,021,500.0000 1,024,300.0000 -
[32]
The 24-hour changing load data for solving the DED SOS [20] 1,020,894.0757 1,021,072.6846 1,021,194.9972
problem on test case 2 are given in Table 11. MACO 1,019,093.1700 1,019,254.2100 1,024,310.8000
[33]
TABLE XI BBOSB 1,017,530.3328 1,018,487.8504 1,031,843.5673
24-HOUR LOAD CHANGE DATA FOR TEN-UNIT TEST SYSTEM [20] [34]
CSA 1,005,250.6000 1,007,546.0000 1,009,304.0000
Hour Load Hour Load Hour Load Hour Load
(h) (MW) (h) (MW) (h) (MW) (h) (MW)
1 1036 7 1702 13 2072 19 1776
2 1110 8 1776 14 1924 20 2072
VI. CONCLUSION
3 1258 9 1924 15 1776 21 1924 The minimum fuel cost and operating conditions of a power
4 1406 10 2072 16 1554 22 1628 system are found by the economic dispatch problem.
5 1480 11 2146 17 1480 23 1332 However, for a more realistic analysis, this problem should be
6 1628 12 2220 18 1628 24 1184
solved by considering the 24-hour load change. While making
hourly load sharing of generators, ramp rate limits were taken
into consideration. With the proposed algorithm, the DED
The operating value results of the generators are shown in
problem was solved on two different test systems specified in [11] Yang, H. T., Yang, P. C., & Huang, C. L. (1996). Evolutionary
programming based economic dispatch for units with non-smooth fuel
the literature. The CSA results show that it is operated with cost functions. IEEE transactions on Power Systems, 11(1), 112-118.
the lowest fuel cost in the conditions determined in the test [12] Ross, D. W., & Kim, S. (1980). Dynamic economic dispatch of
case 1. With the results of the CSA, the test system 1 is generation. IEEE transactions on power apparatus and systems, 6(1),
2060-2068.
operated at a cost of $41,030,9994 per day. With the results of
[13] Yalcinöz, T., & Altun, H. (2000). Comparison of simulation algorithms
the SOS algorithm, which is the best result in the literature, the for the Hopfield neural network: an application of economic dispatch.
test system 1 is operated at a cost of $43,090,5925 per day. Turkish Journal of Electrical Engineering & Computer Sciences, 8(1),
With the proposed algorithm, a daily profit of $2,059.5931 is 67-80.
[14] Zou, D., Li, S., Kong, X., Ouyang, H., & Li, Z. (2019). Solving the
obtained. The CSA results show the operation of the system combined heat and power economic dispatch problems by an improved
with the lowest fuel cost under the conditions specified in the genetic algorithm and a new constraint handling strategy. Applied
initial test system (including losses). In the test case 2, the energy, 237, 646-670.
[15] Mahor, A., Prasad, V., & Rangnekar, S. (2009). Economic dispatch
number of thermal generation units increases, but the losses using particle swarm optimization: A review. Renewable and sustainable
are neglected. In this test system, the CSA found the lowest energy reviews, 13(8), 2134-2141.
operating conditions (min., average and max.). The results of [16] Sonmez, Y. (2011). Multi-objective environmental/economic dispatch
solution with penalty factor using Artificial Bee Colony algorithm.
the CSA show that test system 2 is operated at a cost of Scientific Research and Essays, 6(13), 2824-2831.
$1,005,250,6000 per day. With the results of the BBOSB [17] Andic, C., Ozturk, A., & Tosun, S. (2020). Türkiye’deki güc sisteminde
algorithm, which is the best result in the literature, this system karga arama algoritması kullanilarak ekonomik yük dagitimi. Düzce
Üniversitesi Bilim ve Teknoloji Dergisi, 8(1), 428-436.
is operated with a daily cost of $1,017,530,3328. With the [18] Pradhan, M., Roy, P. K., & Pal, T. (2018). Oppositional based grey wolf
proposed algorithm, a daily profit of $12,279.7328 is obtained. optimization algorithm for economic dispatch problem of power system.
The results show that the CSA gives better results than other Ain Shams Engineering Journal, 9(4), 2015-2025.
[19] Al-Bahrani, L., Seyedmahmoudian, M., Horan, B., & Stojcevski, A.
algorithms mentioned in the literature. By using the CSA, a
(2021). Solving the real power limitations in the dynamic economic
yearly profit of $751,751.4815 and $4,482,102.472 are dispatch of large-scale thermal power units under the effects of valve-
provided in test system 1 and 2, respectively. point loading and ramp-rate limitations. Sustainability, 13(3), 1274.
With the CSA algorithm, multi-objective DED problems [20] Sonmez, Y., Kahraman, H. T., Dosoglu, M. K., Guvenc, U., & Duman,
S. (2017). Symbiotic organisms search algorithm for dynamic economic
can also be successfully solved, for example environment dispatch with valve-point effects. Journal of Experimental & Theoretical
emission dispatch and including photovoltaic (PV) and energy Artificial Intelligence, 29(3), 495-515.
storage systems and electric vehicles (EV). [21] Sahoo, A. K., Panigrahi, T. K., Paramguru, J., & Hota, A. P. (2021).
Dynamic economic dispatch using harmony search algorithm. In
advances in machine learning and computational intelligence, 425-435.
REFERENCES [22] Panigrahi, C. K., Chattopadhyay, P. K., Chakrabarti, R. N., & Basu, M.
[1] Vlachogiannis, J. G., & Lee, K. Y. (2009). Economic load dispatch—A (2006). Simulated annealing technique for dynamic economic dispatch.
comparative study on heuristic optimization techniques with an Electric Power Components and Systems, 34, 577–586.
improved coordinated aggregation-based PSO. IEEE Transactions on [23] Askarzadeh, A. (2016). A novel metaheuristic method for solving
Power Systems, 24(2), 991-1001. constrained engineering optimization problems: crow search algorithm.
[2] Jayabarathi, T., Jayaprakash, K., Jeyakumar, D. N., & Raghunathan, T. Computers & Structures, 169, 1-12.
(2005). Evolutionary programming techniques for different kinds of [24] Hemamalini, S., & Simon, S. P. (2011a). Dynamic economic dispatch
economic dispatch problems. Electric power systems research, 73(2), using artificial immune system for units with valve-point effect.
169-176. International Journal of Electrical Power & Energy Systems, 33, 868–
[3] Mandal, B., & Roy, P. K. (2021). Dynamic economic dispatch problem 874.
in hybrid wind based power systems using oppositional based chaotic [25] Hemamalini, S., & Simon, S. P. (2011b). Dynamic economic dispatch
grasshopper optimization algorithm. Journal of Renewable and using artificial bee colony algorithm for units with valve-point effect.
Sustainable Energy, 13(1), 013306. European Transactions on Electrical Power, 21, 70–81.
[4] Xiong, G., & Shi, D. (2018). Hybrid biogeography-based optimization [26] Mohammadi-Ivatloo, B., Rabiee, A., Soroudi, A., & Ehsan, M. (2012).
with brain storm optimization for non-convex dynamic economic Imperialist competitive algorithm for solving non-convex dynamic
dispatch with valve-point effects. Energy, 157, 424-435. economic power dispatch. Energy, 44, 228–240.
[5] Zheng, Z., Li, J., & Han, Y. (2020). An improved invasive weed [27] Attaviriyanupap, P., Kita, H., Tanaka, E., & Hasegawa, J. (2002). A
optimization algorithm for solving dynamic economic dispatch problems hybrid EP and SQP for dynamic economic dispatch with nonsmooth fuel
with valve-point effects. Journal of Experimental & Theoretical cost function. IEEE Transactions on Power Systems, 17, 411–416.
Artificial Intelligence, 32(5), 805-829. [28] Yuan, X., Su, A., Yuan, Y., Nie, H., & Wang, L. (2009). An improved
[6] Dai, C., Hu, Z., & Su, Q. (2021). An adaptive hybrid backtracking PSO for dynamic load dispatch of generators with valve-point effects.
search optimization algorithm for dynamic economic dispatch with Energy, 34, 67–74.
valve-point effects. Energy, 122461. [29] Basu, M. (2013). Hybridization of bee colony optimization and
[7] Younes, Z., Alhamrouni, I., Mekhilef, S., & Reyasudin, M. (2021). A sequential quadratic programming for dynamic economic dispatch.
memory-based gravitational search algorithm for solving economic International Journal of Electrical Power & Energy Systems, 44, 591–
dispatch problem in micro-grid. Ain Shams Engineering Journal, 12(2), 596.
1985-1994. [30] Saber, A. Y. (2012). Economic dispatch using particle swarm
[8] Sinha, N., Chakrabarti, R., & Chattopadhyay, P. K., (2003). optimization with bacterial foraging effect. International Journal of
Evolutionary programming techniques for economic load dispatch. IEEE Electrical Power & Energy Systems, 34, 38–46.
Transactions on Evolutionary Computation, 7(1), 83-94. [31] He, D., Dong, G., Wang, F., & Mao, Z. (2011). Optimization of dynamic
[9] Irving, M.R., & Sterling, M.J.H., (1983). Economic dispatch of active economic dispatch with valve-point effect using chaotic sequence based
power with constraint relaxation. IEEE Proceedings C - Generation, differential evolution algorithms. Energy Conversion and Management,
Transmission and Distribution, 130(4), 172-177. 52, 1026–1032.
[10] Chowdhury, B. H., & Rahman, S., (1990). A Review of recent advances [32] Lu, P., Zhou, J., Zhang, H., Zhang, R., & Wang, C. (2014). Chaotic
in economic dispatch. IEEE Transactions on Power Systems, 5(4), 1248- differential bee colony optimization algorithm for dynamic economic
1259. dispatch problem with valve-point effects. International Journal of
Electrical Power & Energy Systems, 62, 130–143.
BIOGRAPHIES
CENK ANDIC received the B.S. degrees in
electrical-electronics engineering from the
University of Duzce, Turkey in 2018 where
he is currently pursuing the Ph.D. degree in
electrical-electronics engineering. He has
been an Research Assistant with the
Electrical Engineering Department,
Istanbul Technical University (ITU). His
research interests include economic dispatch and power
system, state estimation and renewable energy.