Optimal Pitch Angle Controller for DFIG-Based Wind Turbine System Using Computational Optimization Techniques

: With the advent of high-speed and parallel computing, the applicability of computational optimization in engineering problems has increased, with greater validation than conventional methods. Pitch angle is an effective variable in extracting maximum wind power in a wind turbine system (WTS). The pitch angle controller contributes to improve the output power at different wind speeds. In this paper, the pitch angle controller with proportional (P) and proportional-integral (PI) controllers is used. The parameters of the controllers are tuned by computational optimization techniques for a doubly-fed induction generator (DFIG)-based WTS. The study is carried out on a 9 MW DFIG based WTS model in MATLAB/SIMULINK. Two computational optimization techniques: particle swarm optimization (PSO), a swarm intelligence algorithm, and a genetic algorithm (GA), an evolutionary algorithm, are applied. A multi-objective, multi-dimensional error function is deﬁned and minimized by selecting an appropriate error criterion for each objective of the function which depicts the relative magnitude of each objective in the error function. The results of the output power ﬂow and the dynamic response of the optimized P and PI controllers are compared with the conventional P and PI controller in three different cases. It is revealed that the PSO-based controllers performed better in comparison with both the conventional controllers and the GA-based controllers.


Introduction
Wind energy is the fastest-growing renewable energy technology among other renewable energies. The global installed capacity of onshore wind power in 2018 was 542 GW, which will increase three-fold by 2030 (to 1787 GW) and ten-fold by 2050 (to 5044 GW) [1]. The abundance of clean wind energy on the earth's surface and the rapid developments in technology promises such high growth rate. Most wind energy conversion systems (WECS) integrated into the power grids are variable-speed wind turbine systems (VSWTS), due to their significant advantages over other wind turbine systems (WTS) [2].
The doubly-fed induction generator (DFIG) is the most popular variable-speed generator used in WECS. The configuration of VSWTS with DFIG is shown in Figure 1; in such a configuration, the stator windings of DFIG are directly connected to the grid, and the rotor The doubly-fed induction generator (DFIG) is the most popular variable-speed generator used in WECS. The configuration of VSWTS with DFIG is shown in Figure 1; in such a configuration, the stator windings of DFIG are directly connected to the grid, and the rotor windings are fed through a partially rated power electronic convertor system [3]; usually, the convertor operates on less power-20-25% of the rated power [4]. The control system of DFIG has significant importance in achieving good quality and maximum power from wind energy at different wind speeds. DFIG-based WTS has high nonlinearities and complexities due to unpredictable wind penetrations and a complex mechanical to electrical model. To overcome the problems in attaining good quality power in uncertain conditions, many nonlinear and adaptive approaches have been made to improve the control system. For convertor control, sliding mode control (SMC) is used in [5]. The power control of DFIG via output feedback is discussed in [6,7]. A model reference adaptive system (MRAS) observer for sensorless control of DFIG is addressed in [8]. The perturbation and observation (P&O) method is proposed in [9] to improve power flow under fast variations of wind. For maximum power point tracking of DFIG, the grouped gray wolf optimizer (GWO) is used in [10].
Pitch angle control is an essential part of the control system in VSWTS, where rated power is determined at rated wind speed. Different control schemes in [11][12][13][14] for VSWTS are suggested and applied to improve the response and control operations of the system. This paper proposed computational optimization techniques to enhance the performance of the pitch angle controller by tuning the P and PI controllers used in pitch angle control operation. A multi-objective, multi-dimensional error function is minimized, not by the weighted sum method used in the previous articulating of preference methods in multi-objective optimization (MOO) [15], but rather by selecting appropriate error criterion for each objective of the function that depicts the relative magnitude of each objective in the error function.

Wind Turbine Model
A simple model of a wind turbine will extract wind power and convert it into mechanical power. The wind power can be computed as [16]: where ρ is air density (1.225 kg/m 3 at 15 °C and normal pressure), A is the swept area, or area of blades, and v is the wind velocity. The mechanical power mech P is obtained from the wind power wind P and depends upon the power coefficient p C and is defined as [16] Figure 1. DFIG-based wind turbine model.
The control system of DFIG has significant importance in achieving good quality and maximum power from wind energy at different wind speeds. DFIG-based WTS has high nonlinearities and complexities due to unpredictable wind penetrations and a complex mechanical to electrical model. To overcome the problems in attaining good quality power in uncertain conditions, many nonlinear and adaptive approaches have been made to improve the control system. For convertor control, sliding mode control (SMC) is used in [5]. The power control of DFIG via output feedback is discussed in [6,7]. A model reference adaptive system (MRAS) observer for sensorless control of DFIG is addressed in [8]. The perturbation and observation (P&O) method is proposed in [9] to improve power flow under fast variations of wind. For maximum power point tracking of DFIG, the grouped gray wolf optimizer (GWO) is used in [10].
Pitch angle control is an essential part of the control system in VSWTS, where rated power is determined at rated wind speed. Different control schemes in [11][12][13][14] for VSWTS are suggested and applied to improve the response and control operations of the system. This paper proposed computational optimization techniques to enhance the performance of the pitch angle controller by tuning the P and PI controllers used in pitch angle control operation. A multi-objective, multi-dimensional error function is minimized, not by the weighted sum method used in the previous articulating of preference methods in multi-objective optimization (MOO) [15], but rather by selecting appropriate error criterion for each objective of the function that depicts the relative magnitude of each objective in the error function.

Wind Turbine Model
A simple model of a wind turbine will extract wind power and convert it into mechanical power. The wind power can be computed as [16]: where ρ is air density (1.225 kg/m 3 at 15 • C and normal pressure), A is the swept area, or area of blades, and v is the wind velocity. The mechanical power P mech is obtained from the wind power P wind and depends upon the power coefficient C p and is defined as [16]  where C p is a function of tip speed ratio λ and pitch angle β and is defined as [17] C p (λ, β) = 0.5176 116 where β is the pitch angle, and tip speed ratio λ is defined as where ω r is the rotational speed of the wind turbine rotor in p.u. R is the radius of the swept area in m and V a is the speed of the wind and λ i is expressed as The C p determines, how much wind power can be extracted from an air stream and its maximum value is defined by the Betz limit, which states that only 59.3% of the power from an airstream can be extracted. Practically, wind turbines have C p up to 50%.

Pitch Angle Control
Pitch angle control is the easy way to regulate the aerodynamic pressures on the wind turbine rotor blades when wind speed is beyond the rated speed [18]. It enables servo operations which adjust the pitch of the blade according to wind velocity to extract optimal wind power. For DFIG-based wind turbines, different pitch angle controller designs have been proposed in [19][20][21][22].
Pitch angle control is achieved using P and PI-controllers that feed the reference pitch signal to the actuator to enable the servo motor and change the pitch angle by the desire value [23]. Figure 2 shows an open-loop pitch angle control model with a rate-limited actuator.
where p C is a function of tip speed ratio λ and pitch angle β and is defined as [17] ( ) 21 where β is the pitch angle, and tip speed ratio λ is defined as where r ω is the rotational speed of the wind turbine rotor in p.u. R is the radius of the swept area in m and a V is the speed of the wind and i λ is expressed as The p C determines, how much wind power can be extracted from an air stream and its maximum value is defined by the Betz limit, which states that only 59.3% of the power from an airstream can be extracted. Practically, wind turbines have p C up to 50%.

Pitch Angle Control
Pitch angle control is the easy way to regulate the aerodynamic pressures on the wind turbine rotor blades when wind speed is beyond the rated speed [18]. It enables servo operations which adjust the pitch of the blade according to wind velocity to extract optimal wind power. For DFIG-based wind turbines, different pitch angle controller designs have been proposed in [19][20][21][22].
Pitch angle control is achieved using P and PI-controllers that feed the reference pitch signal to the actuator to enable the servo motor and change the pitch angle by the desire value [23]. Figure 2 shows an open-loop pitch angle control model with a rate-limited actuator. Two error signals, = − . and = . − . , are connected to P and PI controllers, respectively. 1 e is the difference between the generator rotor speed ( r ω ) and its reference value ( . ) and 2 e is the difference between the measured turbine system power ( . ) and the reference power ( . ). The controllers use proportional and integral gains to process the error signals.
is the P-controller gain, referred to as pitch control gain. and are the PI-controller gains, referred to as pitch compensation gains. The controllers process the error signals to generate a reference pitch signal. Two error signals, e 1 = (ω r − ω re f . ) and e 2 = (P meas. − P re f . ), are connected to P and PI controllers, respectively. e 1 is the difference between the generator rotor speed (ω r ) and its reference value (ω re f . ) and e 2 is the difference between the measured turbine system power (P meas. ) and the reference power (P re f . ). The controllers use proportional and integral gains to process the error signals. K p1 is the P-controller gain, referred to as pitch control gain. K p and K i are the PI-controller gains, referred to as pitch compensation gains. The controllers process the error signals to generate a reference pitch signal.
The system is limited as: For a better dynamic response of the pitch angle controller, the parameters K p1 , K p , and K i must be tuned properly; but due to the non-linearity and high complexity of the system, it is very difficult to find the optimal values of these parameters traditionally [24]. Several computational optimization techniques can be used to find the optimal values of these parameters.

Computational Optimization Techniques
Modelling, simulation, and computational optimization are the three requirements in modern-design practices. Optimization techniques are used in all quantitative disciplines of the contemporary world [25]. Computational optimization techniques are used for finding or selecting the best possible solution from a set of possible solutions. Different algorithms for optimization have been developed and applied since the inception of computational optimization.
The most popular algorithms for optimizing nonlinear and high complexity problems are particle swarm optimization (PSO) and genetic algorithm (GA). These algorithms are overviewed as:

Particle Swarm Optimization
PSO was developed by Kennedy and Eberhart in 1995 [26]. PSO is a stochastic optimization technique that is based on population and which virtually imitates bird flocking or fish schooling behaviours. PSO searches for the best possible solution from a number of moving particles. Each particle has a position in the problem space and represents a potential solution. The particles can be represented via a position vector X. The velocity of the moving swarm particles in the problem space can be represented via the velocity vector V. At each time, X is utilized to compute the fitness/objective function f (X). Every particle keeps track of its best position, which is represented via p best (personal best). The best position among the entire swarm is also tracked and represented via g best (global best). The positions of the particles in each iteration t are updated as follows: The velocities of the particles in each iteration t are updated as follows; In the velocity update equation, ω is the inertia, and r 1 and r 2 are random numbers which are uniformly distributed within the range of 0 and 1; ϕ 1 and ϕ 2 are acceleration coefficients. The velocity V is limited by [V min , V max ]. PSO can be utilized for single, as well as for multi-objective nonlinear optimization problems [27]. The algorithm is terminated once the optimal solution is found to the desired accuracy or a certain number of iterations are met. The flow diagram of the PSO algorithm is depicted in Figure 3.

Genetic Algorithm
Genetic algorithms are inspired by the processes involved in natural evolution, which follows the Darwinian principle of the 'survival of the fittest.' The GA simulates the principle of survival of the fittest amongst individuals over a consecutive generation. Each generation has a population of individuals represented by character strings. Each individual represents a point in the problem space and a potential solution. The individuals in the population go through the process of evolution. The individuals compete for resources and mates. The individuals that perform well will stand out and reproduce more than others. From the individuals that perform well, genes will propagate so that higher-quality offspring are produced in the future. Thus, each successive generation's quality is improved. The process of evolution is comprised of three stages, i.e., selection, crossover, and mutation, as depicted in the flow diagram of Figure 4. The crossover and mutation process is scaled by defining the crossover and mutation probabilities.
Generally, binary string is used in GA to represent a problem solution, and for that purpose 'encoding' is very crucial. It has a major impact on the performance of GA. For binary representation, the determination of number of bits is very important.
The length of a binary string for an integer number ∈ , is given by: The binary representation of any integer number ∈ , can be expressed as: where m is the given accuracy, C is the coefficient and L is the length of a binary string.

Initialize Population
Evaluate Objective function

Store the personal best solution and global best solution
Update the velocity and position using (7) and (8) Termination criteria met?
Return the optimal solution End YES NO Figure 3. Flow diagram of PSO algorithm.

Genetic Algorithm
Genetic algorithms are inspired by the processes involved in natural evolution, which follows the Darwinian principle of the 'survival of the fittest.' The GA simulates the principle of survival of the fittest amongst individuals over a consecutive generation. Each generation has a population of individuals represented by character strings. Each individual represents a point in the problem space and a potential solution. The individuals in the population go through the process of evolution. The individuals compete for resources and mates. The individuals that perform well will stand out and reproduce more than others. From the individuals that perform well, genes will propagate so that higher-quality offspring are produced in the future. Thus, each successive generation's quality is improved. The process of evolution is comprised of three stages, i.e., selection, crossover, and mutation, as depicted in the flow diagram of Figure 4. The crossover and mutation process is scaled by defining the crossover and mutation probabilities.
Generally, binary string is used in GA to represent a problem solution, and for that purpose 'encoding' is very crucial. It has a major impact on the performance of GA. For binary representation, the determination of number of bits is very important.
The length of a binary string for an integer number x ∈ {a, b} is given by: The binary representation of any integer number x ∈ {a, b} can be expressed as: where m is the given accuracy, C is the coefficient and L is the length of a binary string.

Optimal Pitch Angle Control
To find the optimal values of the control parameters, the pitch control gain ( ) and pitch compensation gains ( and ) of the pitch angle control system model using optimization techniques, the objective or fitness function f(X) must be defined. A schematic diagram of the optimum pitch angle control is presented in Figure 5. Generating a reference pitch signal is a multi-task operation in the control model, as it utilizes two error signals e1 and e2 which are processed by the P and PI controllers, respectively. A multi-objective, multi-dimensional function is designed to obtain a Pareto-optimal solution. The function is comprised of two objectives: Minimize: subject to : where =

Optimal Pitch Angle Control
To find the optimal values of the control parameters, the pitch control gain (K p1 ) and pitch compensation gains (K p and K i ) of the pitch angle control system model using optimization techniques, the objective or fitness function f (X) must be defined. A schematic diagram of the optimum pitch angle control is presented in Figure 5. Generating a reference pitch signal is a multi-task operation in the control model, as it utilizes two error signals e 1 and e 2 which are processed by the P and PI controllers, respectively. A multi-objective, multi-dimensional function is designed to obtain a Pareto-optimal solution. The function is comprised of two objectives: where X = K p1 K p K i .  This multi-objective error function contours a multi-objective optimization (MOO) problem. In MOO problems, Pareto optimality is tricky to attain. The weighted sum method is extensively used for MOO to achieve a Pareto-optimal solution, which reflects decision-making preferences [15]. However, to narrate the true presumptions, different weights for multiple objectives are difficult to specify.
Contrary to the conventional weighted sum method, which is used for the implementation of MOO, this approach proposes implementing MOO without specifying weights to different objectives; instead, the relative magnitude and importance of each objective in the objective function is reflected by selecting appropriate range and error criterion.
To minimize the error, there are different error criteria. The well-known error criteria are MAE, IAE, ITAE, ISE, and ITSE. These criteria are defined as in Table 1:  Table 1, e represents an error, T is the total simulation time, t represents a timestep, and i represents the error-index.
There is no specific priority of any criterion over others in terms of performance. Their performance may vary from application to application [28]. It is good practice to check all criteria and make the selection on a performance basis.
For each objective, the error criterion is selected with a minimum performance value. The error function is minimized as the accumulative projection of both objectives with the corresponding variable.
The weighing factors are eliminated by selecting = = 1. Instead, the error criterion for each objective is selected based on its performance value, which depicts the This multi-objective error function contours a multi-objective optimization (MOO) problem. In MOO problems, Pareto optimality is tricky to attain. The weighted sum method is extensively used for MOO to achieve a Pareto-optimal solution, which reflects decision-making preferences [15]. However, to narrate the true presumptions, different weights for multiple objectives are difficult to specify.
Contrary to the conventional weighted sum method, which is used for the implementation of MOO, this approach proposes implementing MOO without specifying weights to different objectives; instead, the relative magnitude and importance of each objective in the objective function is reflected by selecting appropriate range and error criterion.
To minimize the error, there are different error criteria. The well-known error criteria are MAE, IAE, ITAE, ISE, and ITSE. These criteria are defined as in Table 1: In Table 1, e represents an error, T is the total simulation time, t represents a time-step, and i represents the error-index.
There is no specific priority of any criterion over others in terms of performance. Their performance may vary from application to application [28]. It is good practice to check all criteria and make the selection on a performance basis.
For each objective, the error criterion is selected with a minimum performance value. The error function is minimized as the accumulative projection of both objectives with the corresponding variable.
The weighing factors are eliminated by selecting w 1 = w 2 = 1. Instead, the error criterion for each objective is selected based on its performance value, which depicts the relative magnitude of each objective in the function. The range of the corresponding variables of each objective is also set to reflect the relative importance during evaluation. The fitness/objective function to be evaluated by the optimization algorithm is defined as:

Results and Discussion
The optimization was performed on a 9 MW DFIG-based wind farm model in MAT-LAB/SIMULINK. The simulation data of the wind turbine system is given in the Appendix A, at the end of the paper, in Tables A1-A4. The parameters related to different regulators in the WTS are given in Table A5. The algorithms' specific parameters are tabulated in Tables A6 and A7 of Appendix A.
The control system model used in the wind turbine simulation is based on the report presented in [23] for GE 1.5 MW and 3.6 MW WTS; the model is simplified for impact studies, and it has certain limitations. The improved or optimized pitch angle controller in this study shows the applicability of optimization techniques in modelling such complex systems. Results in this paper provide evidence of the potential implications of optimization techniques like PSO and GA in electrical power systems.
The results are observed in three different cases. The graphs shown compare the results of the model with conventional P and PI, PSO-optimized, and GA-optimized controllers. The convergence of PSO and GA are also compared and shown.
Initially, in steady state, the wind turbine is rated 0.9 p.u of its rated power, provided that the wind speed remains constant at 15 m/s, the pitch angle is 8.7 • , and the generator speed is 1.2 p.u. Nominal wind speed for maximum C p of this model must be between 6 m/s and 30 m/s. The pitch angle controller's operation has the maximum angle of 27 • and the maximum rate of change of the pitch angle is 10 • /s. The simulation runs for 10 s with a sampling time of T s = 5 × 10 −5 s. T s is reduced to observe the control system dynamic performance over relatively short periods of times.
The dynamic simulation results emphasize the pitch angle control dynamics, as they are moderately fast and have a significant impact on the system. Pitch angle control is a function of turbine power and generator speed, and this combination results in different operating conditions. In different scenarios, when the system is addressed by optimization, the dynamic response is relatively more satisfactory as compared to the system without optimization.

Case 1
When wind speed remains the same, i.e., 15 m/s and the system is under normal conditions, meaning there is no fault, the traction in dynamic response is similar for all types of controllers, but the transition from a transient state to steady state is comparatively fast, with a noticeable amount for optimized controllers. Although the system is operating under normal conditions, the optimization algorithms managed the evaluation of the error functions to their minimum and tuned the controller parameters to optimal values. Figure 6 shows the system response in Case 1. The system response is faster using the PSO-optimized controller than using the GA-optimized or conventional controller. By minimizing the settling time of the pitch angle controller response, the pitch angle value of 8.7 • for the wind speed of 15 m/s is achieved in a shorter time using the PSO-optimized controller, as depicted in Figure 6a. Consequently, the generator speed and output power are improved with the optimized controllers, as shown in Figure 6b,c, respectively, whereas Figure 6d shows variations in the active power. The PSO-optimized controller stands out in rapidly achieving the steady active power. Electronics 2022, 11, x FOR PEER REVIEW 9 are improved with the optimized controllers, as shown in Figure 6b,c, respecti whereas Figure 6d shows variations in the active power. The PSO-optimized contr stands out in rapidly achieving the steady active power.

Case 2
When the voltage abruptly changes to 0.5 p.u., it causes oscillation on the D output power. In this case, a fault is introduced, but only for a very small interval a 0.03 s to t = 0.13 s, which causes transient oscillation, whereas wind speed is kept cons at 15 m/s. Transient oscillations have a significant impact on the dynamic response, the system response is robust when such events occur. While these faults are associ with the electrical control of the system, the response of the optimized pitch a controller is fast, as can be seen in Figure 7a, due to the generator speed error b subjected to optimization. Because the dynamics of the electrical control system extremely quick to deal with electrical faults and no controlling variable of pitch con is involved, the optimized values of the controller parameters are the same as obtaine Case 1 and as shown in Table 2.

Case 2
When the voltage abruptly changes to 0.5 p.u., it causes oscillation on the DFIG output power. In this case, a fault is introduced, but only for a very small interval at t = 0.03 s to t = 0.13 s, which causes transient oscillation, whereas wind speed is kept constant at 15 m/s. Transient oscillations have a significant impact on the dynamic response, and the system response is robust when such events occur. While these faults are associated with the electrical control of the system, the response of the optimized pitch angle controller is fast, as can be seen in Figure 7a, due to the generator speed error being subjected to optimization. Because the dynamics of the electrical control system are extremely quick to deal with electrical faults and no controlling variable of pitch control is involved, the optimized values of the controller parameters are the same as obtained in Case 1 and as shown in Table 2.  The optimized model performs better than the conventional model. The e induced in the generator speed settles to a minimum value rapidly in case of the P optimized controller, comparatively, as visible from Figure 7b,c, which shows that system's active power precisely follows the reference power line for all the controllers, the PSO based controller has a better settling response. Figure 7d shows the active po variations attained by the three controllers.
(a)   The optimized model performs better than the conventional model. The error induced in the generator speed settles to a minimum value rapidly in case of the PSO optimized controller, comparatively, as visible from Figure 7b,c, which shows that the system's active power precisely follows the reference power line for all the controllers, but the PSO based controller has a better settling response. Figure 7d shows the active power variations attained by the three controllers.

Case 3
When wind variations are introduced, the controller modifies the blade pitch. The pitch angle controller actuator is rate limited, and there is a time constant associated when translating the controller signal to mechanical output. For fast wind gusts, the controller response is appropriate, but sluggish due to the time constant. In this case, the model inherits the fault from the previous case, causing the initial overshoot. The wind variations are very fast, and hence, the dynamics of conventional and optimized controllers are observed for comparative system response. The wind is varying, for example, from 0 to 2 s, the wind speed is 6 m/s, from 2 to 6 s, the wind speed is 25 m/s, and from 6 to 10 s, the wind is at 15 m/s, as shown in Figure 8.
As shown in Figure 9a, the pitch angle remains zero for lower wind speeds and rises to a maximum value of 27 • , when wind speed changes to a much higher value. The pitch angle of 8.7 • is achieved when the wind speed changes to nominal value. The dynamic response of the pitch angle controller with fast wind variations is improved with the PSOoptimized model. The PSO-optimized model shows that it controls the output power flow more efficiently than do the GA-optimized model or the original model, as depicted in Figure 9b-d.
The convergence curves for GA and PSO for all three cases have been shown in Figure 10a-c, respectively. The convergence curves evaluate the performance of the optimization algorithm. PSO performed better than GA in all three cases and achieved minimum fitness values in each case; this is shown in Table 2. Hence, more optimal values of controller parameters and better system response are achieved in all cases for the PSO-optimized controller.
The performance criteria defined in Table 1 are calculated for the error functions f 1 (X) and f 2 (X) and tabulated in Table 3 for the three cases. It is obvious from Table 3 that ITSE has minimum values for f 1 (X), and MAE has minimum values for f 2 (X). Prior knowledge of best performance criteria in MOO eliminates articulating weightage to each objective during optimization. When wind variations are introduced, the controller modifies the blade pitch. The pitch angle controller actuator is rate limited, and there is a time constant associated when translating the controller signal to mechanical output. For fast wind gusts, the controller response is appropriate, but sluggish due to the time constant. In this case, the model inherits the fault from the previous case, causing the initial overshoot. The wind variations are very fast, and hence, the dynamics of conventional and optimized controllers are observed for comparative system response. The wind is varying, for example, from 0 to 2 s, the wind speed is 6 m/s, from 2 to 6 s, the wind speed is 25 m/s, and from 6 to 10 s, the wind is at 15 m/s, as shown in Figure 8.
As shown in Figure 9a, the pitch angle remains zero for lower wind speeds and rises to a maximum value of 27°, when wind speed changes to a much higher value. The pitch angle of 8.7° is achieved when the wind speed changes to nominal value. The dynamic response of the pitch angle controller with fast wind variations is improved with the PSOoptimized model. The PSO-optimized model shows that it controls the output power flow more efficiently than do the GA-optimized model or the original model, as depicted in Figure 9b-d.

Case 3
When wind variations are introduced, the controller modifies the blade pitch. pitch angle controller actuator is rate limited, and there is a time constant associated w translating the controller signal to mechanical output. For fast wind gusts, the contro response is appropriate, but sluggish due to the time constant. In this case, the mo inherits the fault from the previous case, causing the initial overshoot. The wind variat are very fast, and hence, the dynamics of conventional and optimized controllers observed for comparative system response. The wind is varying, for example, from 0 s, the wind speed is 6 m/s, from 2 to 6 s, the wind speed is 25 m/s, and from 6 to 10 s wind is at 15 m/s, as shown in Figure 8.
As shown in Figure 9a, the pitch angle remains zero for lower wind speeds and r to a maximum value of 27°, when wind speed changes to a much higher value. The p angle of 8.7° is achieved when the wind speed changes to nominal value. The dyna response of the pitch angle controller with fast wind variations is improved with the P optimized model. The PSO-optimized model shows that it controls the output power f more efficiently than do the GA-optimized model or the original model, as depicte Figure 9b-d.   The convergence curves for GA and PSO for all three cases have been show Figure 10a-c, respectively. The convergence curves evaluate the performance o optimization algorithm. PSO performed better than GA in all three cases and ach minimum fitness values in each case; this is shown in Table 2. Hence, more optimal v of controller parameters and better system response are achieved in all cases for the optimized controller. The performance criteria defined in Table 1 are calculated for the error fun ( ) and ( ) and tabulated in Table 3 for the three cases. It is obvious from T that ITSE has minimum values for ( ), and MAE has minimum values for ( ). knowledge of best performance criteria in MOO eliminates articulating weightage to objective during optimization. Table 2 shows the parameter values for the original system and the system optim using the GA and the PSO algorithms.  Table 2 shows the parameter values for the original system and the system optimized using the GA and the PSO algorithms. Table 4 shows the optimal values of the objective function defined in (12) for the three cases. For the minimum value of the objective function, the optimization algorithms perform better. The initial values of the function are corresponding to the original values of the controllers' parameters, as shown in Table 3. These values are attained by running the objective function as in (12), without optimization, and selecting original controller parameters as optimal.

Conclusions
Computational optimization techniques have been used for improving the dynamic response of the pitch angle controller in three different cases. Using PSO and GA, the parameters of the pitch angle controller are optimized.
From the results observed in three different cases, it is concluded that computational optimization is effective in improving the overall response of the system. However, these results are subject to a better implementation of optimization algorithms and a good choice of optimization techniques. PSO is found to be more suitable than GA for this specific application. The results also improved the control of the variables using pitch angle control. The pitch angle controller is more effective in controlling the output power and generator speed during wind variations than during a faulty condition. The response of the controller is improved in all three cases by optimizing the parameter values of the pitch angle controller.
The proposed methodology is evidently very efficient for optimizing parameters in the system design, although it is limited for adaptive control schemes because implementing optimization techniques with this approach requires deep analysis and manual selections for optimal solutions, which contradicts the concept of adaptive control in real time applications.

Conflicts of Interest:
The authors declare no conflict of interest.

Appendix A
This section presents the parameter used for wind turbine and associated components in this simulation. Table A1, Table A2, Table A3, Table A4, Table A5, Table A6, and Table A7 shows the parameters for wind turbine, drive train, generator, converter, controller, PSO and GA algorithm respectively.