Abstract
In this paper, firefly algorithm (FA) for optimal tuning of PI controllers for load frequency control of hybrid system composing of photovoltaic (PV) system and thermal generator is introduced. Also, maximum power point tracking of PV is considered in the design process. The block diagram of the hybrid system is performed. To robustly tune the parameters of controllers, a time-domain-based objective function is established which is solved by the FA. Simulation results are presented to show the improved performance of the suggested FA-based controllers compared with genetic algorithm (GA). These results show that the proposed controllers present better performance over GA in terms of settling times and different indices.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
The main target of LFC is to guarantee the frequency and the interarea tie-line power within reasonable ranges to deal with the change in demands and disturbances [1, 2]. This main task is related to LFC due to the fact that a well-designed power system should reserve frequency and voltage in tabulated limit while providing an accepted scale of power quality [3, 4].
Various algorithms had been used to the problem of LFC. Robust control [3–6], decentralized aspect [7–10], linear quadratic [11–13], pole shifting [14] and variable structure [15] are applied to LFC design. However, these algorithms have several disadvantages which decrease their execution. To pass these barriers, many researchers have used artificial intelligence such as fuzzy logic (FL) [16–20] and neural network (NN) [21–23]. Although these algorithms are efficient in dealing with the nonlinearities of the power system, they have various disadvantages. For example, NN pains from defining the number of layers and neurons. Also, FL requires a hard work to get the influential signals.
Another way is to use evolutionary algorithm (EA). EA can solve the LFC problem due to its ability to fix nonlinear functions. GA [24–26], PSO [27–30], bacteria foraging [31, 32], firefly [33, 34], gravitational search [35], cuckoo search algorithm [36] and bat algorithm [37] are treated with LFC design. Although these algorithms seem to be effective for the design problem, they pain from slow convergence and weak local search ability, which make them trap in local minimum. Moreover, the effect of PV system on LFC design problem via optimization algorithm was not discussed in the literature. A new evolutionary algorithm, called FA, has been introduced by [38, 39] and further published recently by [40, 41]. Moreover, it is simple, and it is an appropriate algorithm for power system [42–46].
This paper suggests a recent optimization algorithm known as FA for the optimal tuning of controller gains in LFC problem for thermal system connected with PV grid. The objective of this work is to verify the effectiveness of FA-based controller and to improve the behavior of frequency deviation and tie-line power under different conditions.
2 Thermal generator model
Area 1 is a thermal system which consists of generator, turbine, governor and re-heater. The system constants are reported in “Appendix.” The transfer functions of various blocks are shown below [47, 48]:
The governor transfer function is
The re-heater transfer function is
The steam turbine transfer function is
and the generator transfer function is
For the ith area, the area control error (ACE) signal made by frequency and tie-line power variations is stated by:
3 Photovoltaic modeling
The PV cell model is composed of photovoltaic current source that has directly proportional with the sunlight intensity parallel with a diode and a small series contact resistance as shown in Fig. 1. The solar cell mathematical modeling is given in [49–52].
Solar panel relies on factors as irradiation and temperature. MPPT algorithm is implemented to enhance the efficiency of PV system. The characteristic of PV cell for different radiations and constant temperature at 27 °C is given in Fig. 2. Figure 3 shows the change in the PV system temperature as an input disturbance while radiation is constant at 1000 W/m2.
The complete transfer function of the PV system that consists of the PV panel, MPPT, inverter and filter is given by the following equation [47, 48]:
The block diagram of the system under study is given in Fig. 4. The change in radiation and temperature is modeled as the step unit in the PV system.
4 Optimization problem
For the studied system, the traditional integral controller was replaced by a PI one as shown by the following equation:
The control signal is defined by equation:
A performance index can be defined by the integral of time multiply absolute error (ITAE) of the frequency deviation of both areas and tie-line power. Accordingly, the objective function \( J \) is set to be
To improve the responses of system, it is necessary to reduce Eq. (9). The design task can be written as the following constrained optimization problem. Minimize \( J \) subject to:
The limits of the optimized parameters are [−2 to 2] as given in [31, 32].
5 Overview of firefly algorithm
FA is a metaheuristic algorithm which has been introduced by Yang [38–40]. This algorithm is inspired by the flashing behavior of fireflies. These fireflies belong to a family of insects that are capable to produce natural light to attract a prey. This light appears to be in a unique pattern and produce an amazing sight in the tropical areas during summer. The intensity of light decreases as the distance increases, and thus, most fireflies can communicate only up to several hundred meters. In the implementation of the algorithm, the flashing light is formulated in such a way that it gets associated with the objective function to be optimized.
FA is simple, flexible and versatile, which is very efficient in solving a wide range of diverse real-world problems [41]. Moreover, it can divide its population into subgroups, due to the fact that local attraction is stronger than long-distance attraction. Hence, FA can deal with highly nonlinear, multi-modal optimization problems efficiently. Also, it does not use past individual best, and there is no explicit global best either. This avoids any potential drawbacks of premature convergence as those reported in PSO. In addition, it has an ability to control its modality and adapt to problem landscape by controlling its scaling parameter. The superiority of FA over other algorithms has also been reported in the literature [42–46].
Some rules are used to extend the structure of FA.
-
1.
A firefly will be attracted by other fireflies regardless of their sex.
-
2.
Attractiveness is proportional to their brightness and decreases as the distance among them increases.
-
3.
The value of the objective function determines the brightness of a firefly [38–40].
FA depends on two important factors: the variation of the light intensity and the formulation of the attractiveness. The flow chart of FA is shown in Fig. 5. The parameters of FA are given in “Appendix.”
6 Results and simulations
Several scenarios are examined to verify the robustness of the suggested FA for optimizing controller constants. The proposed FA and GA [53] are programmed in MATLAB 7.1. The obtained results are the best for all algorithms depending on value of \( J \). The convergence times for FA and GA are 21.7, and 39.8 s, respectively. The gains of all controllers and the values of performance indices are shown in Table 1.
6.1 Scenario 1: step change in demand of thermal system
A 10% step increase in demand of thermal system is used. Figures 6, 7 and 8 show the system responses. It is clear that the designed controllers are more powerful in improving the damping characteristic of power system compared with GA. Thus, FA gives better results than GA.
6.2 Scenario 2: step change in both areas
In this scenario, a 10% step increase in demand of thermal system and radiation and temperature of PV system is employed. Figures 9, 10 and 11 introduce the signals of the closed loop system. In these figures, the system oscillations are attenuated with the proposed controllers. Moreover, the designed controllers have a lower settling time compared with GA, and system response reached steady state rapidly. Also, the capability of the designed algorithm is proved in solving LFC problem.
6.3 Parameter variation
A parameter variation test is applied to assess the effectiveness of the proposed FA-based LFC. Figure 12 shows the response of frequency of first area with variation in governor time constant. It is clear that the system is stable with the proposed controller. Another parameter variation test is also performed to validate the robustness of the proposed controller. Figure 13 gives the response of frequency with variation in turbine time constant. The designed controller is capable of providing sufficient damping, and the robustness of the proposed controller is verified.
6.4 Performance indices and robustness
The effectiveness of the designed controllers is verified through various indices such as the integral of absolute value of the error (IAE), ITAE, the integral of square error (ISE) and the integral of time multiply square error (ITSE) are being utilized as:
Table 1 gives the parameters of each controller and the values of various indices. It is clear that the values of these indices with the designed controllers are lower compared with these of GA. This confirms that the time domain characteristics are greatly reduced by using the proposed FA. Thus, the designed controllers via FA are more powerful and faster than these via GA.
7 Conclusions
In this paper, the parameters of PI controllers are tuned by FA for LFC problem. PV system at MPPT is considered and connected to thermal generator. An integral time absolute error of the frequency deviation of both areas and tie-line power is taken as the objective function to improve the system response. The priority of the proposed approach is clarified by using different disturbances, indices and parameter variations. It is clear that FA outlasts GA in solving LFC problem. Moreover, the superiority of the developed controllers in terms of various indices is proved.
References
Elgerd OI (2006) Electric energy systems theory. Tata McGraw-Hill, New Delhi
Bevrani H (2014) Robust power system frequency control, Switzerland, 2nd edn. Springer, New York
Wang Y, Zhou R, Wen C (1993) Robust load-frequency controller design for power systems. IEE Proc Gener Transm Distrib 140(1):11–16
Azzam M (1999) Robust automatic generation control. Energy Convers Manag 40:1413–1421
Lee HJ, Park JB, Joo YH (2006) Robust load-frequency control for uncertain nonlinear power systems: a fuzzy logic approach. Int J Inf Sci 176(23):3520–3537
Tan W, Xu Z (2009) Robust analysis and design of load frequency controller for power systems. Electr Power Syst Res 79(5):846–853
Tan W, Zhou H (2012) Robust analysis of decentralized load frequency control for multi-area power systems. Int J Electr Power Energy Syst 43(1):996–1005
Chidambaram IA, Paramasivam B (2009) Genetic algorithm based decentralized controller for load-frequency control of interconnected power systems with RFB considering TCPS in the tie-line. Int J Electron Eng Res 1(4):299–312
Sakhavati A, Gharehpetian GB, Hosseini SH (2011) Decentralized robust load-frequency control of power system based on quantitative feedback theory. Turk J Electr Eng Comp Sci 19(4):513–530
Selvakumaran S, Parthasarathy S, Karthigaivel R, Rajasekaran V (2012) Optimal decentralized load frequency control in a parallel AC–DC interconnected power system through HVDC link using PSO algorithm. Energy Proc 14:1849–1854
Singla H, Kumar A (2012) LQR based load frequency control with SMES in deregulated environment. In: Annual IEEE India conference (INDICON), 7–9 Dec 2012, Kochi, pp 286–292
Pandey SK, Mohanty SR, Kishor N, Catalão JPS (2013) An advanced LMI-based-LQR design for load frequency control of an autonomous hybrid generation system. Technol Innov Internet Things IFIP Adv Inf Commun Technol 394:371–381
Liaw CM (1991) A modified optimal load-frequency controller for interconnected power systems. Optim Control Appl Methods 12(3):197–204
Hasan N (2012) Design and analysis of pole-placement controller for interconnected power systems. Int J Emerg Technol Adv Eng 2(8):212–217
Bengiamin NN, Chan WC (1982) Variable structure control of electric power generation. IEEE Trans Power Appar Syst PAS-101:376–380
Umrao R, Chaturvedi DK, Malik OP (2011) Load frequency control: a polar fuzzy approach. Swarm Evolut Memet Comput Lect Notes Comput Sci 7076:494–504
Bevrani H, Daneshmand PR (2012) Fuzzy logic-based load-frequency control concerning high penetration of wind turbines. IEEE Syst J 6(1):173–180
Umrao R, Chaturvedi DK (2013) A novel fuzzy control approach for load frequency control. Recent Adv Syst Model Appl Lect Notes Electr Eng 188:239–247
Zamee MA, Mitra D, Tahhan SY (2013) Load frequency control of interconnected hydro-thermal power system using conventional PI and fuzzy logic controller. Int J Energy Power Eng 2(5):191–196
Yousef HA, AL-Kharusi K, Albadi MH, Hosseinzadeh N (2014) Load frequency control of a multi-area power system: an adaptive fuzzy logic approach. IEEE Trans Power Syst 29(4):1822–1830
Prakash S, Sinha S (2011) Load frequency control of three area interconnected hydro-thermal reheat power system using artificial intelligence and PI controllers. Int J Eng Sci Technol 4(1):23–37
Nag S, Philip N (2013) Application of neural networks to automatic load frequency control. Swarm Evolut Memet Comput Lect Notes Comput Sci 8298:431–441
Francis R, Chidambaram IA (2013) Application of modified dynamic neural network for the load frequency control of a two area thermal reheat power system. Int Rev Autom Control 6(1):47–53
Ramesh S, Krishnan A (2009) Modified genetic algorithm based load frequency controller for interconnected power systems. Int J Electr Power Eng 3(1):26–30
Milani AE, Mozafari B (2011) Genetic algorithm based optimal load frequency control in two area interconnected power system. Glob J Technol Optim 2:6–10
Jeyalakshmi V, Subburaj P (2015) Load frequency control in two area multi units interconnected power system using multi objective genetic algorithm. WSEAS Trans Power Syst 10:35–45
Ghoshal SP (2004) Optimizations of PID gains by particle swarm optimizations in fuzzy based automatic generation control. Int J Electr Power Syst Res 72(3):203–212
Hooshmand R, Ataei M, Zargari A (2012) A new fuzzy sliding mode controller for load frequency control of large hydropower plant using particle swarm optimization algorithm and Kalman estimator. Eur Trans Electr Power 22(6):812–830
GiriBabu V, Hemanth B, Kumar TS, Prasanth BV (2014) Single area load frequency control problem using particle swarm optimization. Int J Eng Sci 3(6):46–52
Jagatheesan K, Anandand B, Ebrahim MA (2014) Stochastic particle swarm optimization for tuning of PID controller in load frequency control of single area reheat thermal power system. Int J Electr Power Eng 8(2):33–40
Ali ES, Abd-Elazim SM (2011) Bacteria foraging optimization algorithm based load frequency controller for interconnected power system. Int J Electr Power Energy Syst 33(3):633–638
Ali ES, Abd-Elazim SM (2013) BFOA based design of PID controller for two area load frequency control with nonlinearities. Int J Electr Power Energy Syst 51:224–231
Saikia LC, Sahu SK (2013) Automatic generation control of a combined cycle gas turbine plant with classical controllers using firefly algorithm. Int J Electr Power Energy Syst 53:27–33
Padhan S, Sahu RK, Panda S (2014) Application of firefly algorithm for load frequency control of multi-area interconnected power system. Electr Power Compon Syst 42(13):1419–1430
Sahu RK, Panda S, Padhan S (2015) A novel hybrid gravitational search and pattern search algorithm for load frequency control of nonlinear power system. Appl Soft Comput 29:310–327
Abd-Elaziz AY, Ali ES (2015) Cuckoo search algorithm based load frequency controller design for nonlinear interconnected power system. Int J Electr Power Energy Syst 73C:632–643
Abd-Elazim SM, Ali ES (2016) Load frequency controller design via BAT algorithm for nonlinear interconnected power system. Int J Electr Power Energy Syst 77C:166–177
Yang XS (2010) Nature-inspired metaheuristic algorithms, 2nd edn. Luniver Press, UK
Yang XS (2010) Firefly algorithm, stochastic test functions and design optimization. Int J Bio-Inspir Comput 2(2):78–84
Yang XS (2010) Firefly algorithm, levy flights and global optimization. In: Research and development in intelligent systems XXVI, Springer, London, pp 209–218
Hashmi A, Goel N, Goel S, Gupta D (2013) Firefly algorithm for unconstrained optimization. IOSR J Comput Eng 11(1):75–78
Mahapatra S, Panda S, Swain SC (2014) A hybrid firefly algorithm and pattern search technique for SSSC based power oscillation damping controller design. Ain Shams Eng J. doi:10.1016/j.asej.2014.07.002
Ndongmo J, Kenné G, Fochie R, Cheukem A, Fotsin H, Lagarrigue F (2014) A simplified nonlinear controller for transient stability enhancement of multimachine power systems using SSSC device. Int J Electr Power Energy Syst 54:650–657
Rajalakshmi N, Subramanian DP, Thamizhavel K (2015) Performance enhancement of radial distributed system with distributed reconfiguration using binary firefly algorithm. J Inst Eng Ser B 96(1):91–99
Yang XS, Hosseini SSS, Gandomi AH (2012) Firefly algorithm for solving non-convex economic dispatch problems with valve loading effect. Appl Soft Comput 12:1180–1186
Chandrasekaran K, Simon SP, Padhy NP (2013) Binary real coded firefly algorithm for solving unit commitment problem. Inf Sci 249:67–84
Santy T, Natesan R (2015) Load frequency control of a two area system consisting of a grid connected PV system and diesel generator. Int J Emerg Technol Comput Electron 13(1):456–461
Tomy FT, Prakash R (2014) Load frequency control of a two area hybrid system consisting of a grid connected PV system and thermal generator. Int J Res Eng Technol 3(7):573–580
Ali ES (2015) Speed control of DC series motor supplied by photovoltaic system via firefly algorithm. Neural Comput Appl 26(6):1321–1332
Oshaba AS, Ali ES, Abd-Elazim SM (2015) PI controller design for MPPT of photovoltaic system supplied SRM via BAT search algorithm. Neural Comput Appl. doi:10.1007/s00521-015-2091-9
Oshaba AS, Ali ES, Abd-Elazim SM (2015) PI controller design using ABC algorithm for MPPT of PV system supplying DC motor pump load. Neural Comput Appl. doi:10.1007/s00521-015-2067-9
Oshaba AS, Ali ES, Abd-Elazim SM (2015) Speed control of SRM supplied by photovoltaic system via ant colony optimization algorithm. Neural Comput Appl. doi:10.1007/s00521-015-2068-8
Holland JH (1992) Adaptation in natural and artificial systems: an introductory analysis with applications to biology, control, and artificial intelligence. A Bradford Book; Reprint edition
Author information
Authors and Affiliations
Corresponding author
Appendix
Appendix
The system data are as shown below:
-
(a)
The parameters of the thermal system: \( T_{\text{P}} \) = 20 s; \( T_{\text{t}} \) = 0.3 s; \( T_{\text{r}} \) =10 s; \( T_{12} \) = 0.545 p.u; \( T_{\text{g}} \) = 0.08 s; \( K_{\text{P}} \) = 120 Hz/p.u MW; B = 0.8 p.u MW/Hz; \( a_{12} \) = −1; \( R \) = 0.4 Hz/p.u MW; \( K_{r1} \) = 0.33p.u MW.
-
(b)
The parameters of FA: the contrast of the attractiveness = 1.0; the attractiveness = 0.1 at \( r = 0 \); randomization parameter \( (\alpha ) \) = 0.1; maximum number of generations = 100; number of fireflies = 50.
-
(c)
The parameters of GA are as follows: max generation = 100; population size = 50; crossover probabilities = 0.75; mutation probabilities = 0.1.
Rights and permissions
About this article
Cite this article
Abd-Elazim, S.M., Ali, E.S. Load frequency controller design of a two-area system composing of PV grid and thermal generator via firefly algorithm. Neural Comput & Applic 30, 607–616 (2018). https://doi.org/10.1007/s00521-016-2668-y
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-016-2668-y