ENE405semesterprojectreport Group08
ENE405semesterprojectreport Group08
ENE405semesterprojectreport Group08
net/publication/318444767
CITATIONS READS
0 15,970
1 author:
Rukshan Jayathilake
SINTEF Industry
17 PUBLICATIONS 108 CITATIONS
SEE PROFILE
All content following this page was uploaded by Rukshan Jayathilake on 15 July 2017.
We owe our profound gratitude to Professor Hans-Georg Beyer; who has always been at the frontier,
extending relentless guidance by way of providing much needed materials and advices throughout the
module ‘ENE405 Wind Energy’, in order to successfully complete the project.
i|Page
Abstract
Report describes the design process of a wind turbine integrated to a synchronous generator, fulfilling the
prescribed design requirements in section 1 for both turbine and generator operation. Section 2 describes the
configuration of the wind turbine in order to estimate the output power of the rotor for different operational
regions of wind speed. The wind turbine is mainly operated in four regions, i.e, cut-in region, torque
controller region, pitch controller region and cut-off region, where each control strategies are implemented
to extract the maximum power. Firstly, the power coefficient is estimated for all regions and the available
power of the rotor is investigated through output power characteristic. Subsequently, the available power in
the rotor is input to the synchronous generator and converted by estimating the efficiency of electrical power
conversion, in order to finalize the output power of the whole system. Having estimated the electrical power
output of the generator under different wind conditions, the annual energy gain is investigated assuming, the
annual wind profile sustains as a function of Weibull parameters for a given site location of having a tower
of 90 m height.
Matlab software is successfully used to obtain all the characteristic curves. It allows controlling the step size
of the wind speed simulation resulting more accurate, smooth outputs.A step size of 0.5 ms-1 is used for the
wind speed throughout all the calculation for obtaining characteristics curves. Also, the annual energy gain
is calculated using both Matlab software and excel sheet. The developed excel sheet is used to discuss the
validity of the selection of design wind speed as 9.0 ms-1 in view of annual energy gain.
ii | P a g e
Table of Content
Acknowledgement i
Abstract ii
Table of content iii
List of figures v
1.0 Overview 1
1.1 Design requirements of wind turbine and generator 1
1.2 Design requirements to estimate annual energy gain 1
2.0 Configuration of the wind turbine 2
2.1 Power output of the wind turbine 2
2.2 Power coefficient ( ) curve for pitch angle 2
2.3 Calculations for different regions of wind turbine operation 3
2.3.1 Calculations in the maximum power coefficient region 4
2.3.2 Calculation of power coefficient ( beyond maximum allowable
wind speed ( 6
2.3.3 Calculation of the rated power ( ) in pitch controller region 8
2.3.4 Calculations for the behavior of pitch angle (β) in the pitch controller region 8
2.3.5 Characteristic curve: Pitch angle ( ) vs wind speed (u) 9
2.3.6 Characteristic curve: power coefficient ( ) vs wind speed (u) 10
2.3.7 Characteristic curve: Rotor output power ( ) vs wind speed (u) 12
2.3.8 Characteristic curve: Rotor relative power ( ) vs wind speed 12
3.0 Configuration of the generator 14
3.1 Characteristic curve: Efficiency of electrical power conversion ( generator ) vs
iii | P a g e
4.0 Estimation of annual energy gain 17
4.1 Weibull probability function for wind speed 17
4.2 Calculations of Weibull Parameters for a 90m height tower 18
4.3 Characteristic curve: Weibull density distribution of the wind at 90 m height 19
4.4 Characteristic curve: Annual energy gain vs wind speed 19
5.0 Discussion; choice of design speed as 21
Appendix 23
iv | P a g e
List of Figures
v|Page
ENE405 Wind Energy- Design of Wind Turbine
1.0 Overview
Design of wind turbine can be discussed under two main sections, configuration of
the wind turbine and configuration of the synchronous generator. Further, the total
annual energy gain can be estimated assuming Weibull distribution for the wind
speed variation. The calculations are performed and the characteristic curves are
obtained in Matlab environment, in order to fulfill the design requirements in
section 1.1 and section 1.2.
The annual energy output of the turbine using a tower of 90 m, is assessed for a site
at which a wind speed measurement at 50 m height has been given with a
characterization of the wind distribution by the Weibull parameters 𝑎 = 7 m𝑠 −1 ,
𝑘 = 1.7, the roughness length of the site is 0.25 m
1|Page
ENE405 Wind Energy- Design of Wind Turbine
Where, 𝐶𝑝 (𝜆, 𝛽) is the power coefficient of the turbine which depends on, Tip speed
ratio (𝜆) and Pitch angle(𝛽). The tip speed ratio is defined as the ratio between the
blade’s tip speed and the wind speed.
𝑉𝑡𝑖𝑝
𝜆=
𝑢
𝑉𝑡𝑖𝑝 = 𝑅𝜔
𝑅𝜔
𝜆= (4)
𝑢
Where, 𝑅: Radius of wind turbine, 𝜔: Angular velocity of the turbine, 𝑢: Undisturbed
wind speed.
The power coefficient of the rotor is given by,
𝐶𝑝 = 𝐶1 (𝐶2 − 𝐶3 𝛽 2 − 𝐶4 )𝑒 𝐶5 (5)
R 0.17R
Where; C1 =0.5 C2 = λ C3 =0.022 C4 =5.6 C5 = - λ
2.2 Power coefficient (𝑪𝒑 (𝝀)) curve for pitch angle (𝜷) = 𝟏𝟎
𝐶𝑝 = 𝐶1 (𝐶2 − 𝐶3 𝛽 2 − 𝐶4 )𝑒 𝐶5
𝑅 −0.17 𝑅
𝐶𝑝 = 0.5 ( − 0.022. 𝑋 12 − 5.6)𝑒 𝜆
𝜆
𝑅 = 40 𝑚
2|Page
ENE405 Wind Energy- Design of Wind Turbine
40 −0.17𝑋40
𝐶𝑝 = 0.5 ( − 0.022 − 5.6) 𝑒 𝜆
𝜆
−6.8
40
𝐶𝑝 = 0.5 ( − 5.622) 𝑒 𝜆 (6)
𝜆
Main design requirements and operating regions in which the wind turbine should
be operated to extract power is shown below in Fig. 2.2. When the wind speed is
below a certain level, i.e, cut-in speed(𝑈𝑐𝑢𝑡−𝑖𝑛 ), the turbine is kept at rest and when the
wind speed increases the power output also increases till it reaches the rated value of
3|Page
ENE405 Wind Energy- Design of Wind Turbine
the generator. When, the wind speed increases above rated speed (𝑈𝑟𝑎𝑡𝑒𝑑 𝑜𝑢𝑡𝑝𝑢𝑡 ), the
power output is kept at its rated value by means of controlling the pitch of the
turbine blades.
When the wind speed increases above a typical maximum value, i.e, cut-off speed
(𝑈𝑐𝑢𝑡−𝑜𝑓𝑓 ) the turbine is shut down for safety purposes. Hence, the calculations are
performed fulfilling above design requirements for different regions as in the section
below in 2.3.1, 2.3.2, 2.3.2.
4|Page
ENE405 Wind Energy- Design of Wind Turbine
Since the turbine could be operated in a range of 𝜔𝑑𝑒𝑠𝑖𝑔𝑛 ± 40% by keeping power
coefficient at 𝐶𝑝,𝑚𝑎𝑥 over the specified range of wind speed.
According to the above design criteria, the maximum rotational speed of the turbine,
140
𝜔𝑚𝑎𝑥 = 7.4847 ×
100
𝜔𝑚𝑎𝑥 = 10.4786 𝑟𝑝𝑚 = 1.0973 𝑟𝑎𝑑𝑠 −1
Hence, according to the above obtained results the tip speed ratio is kept at 𝜆𝑜𝑝𝑡𝑖𝑚𝑎𝑙
within the range of turbine speed; 4.4908 rpm and 10.4786 rpm. Also, it can be found
the range of wind speed corresponding to the above range of rotational speeds of the
turbine by keeping the λ at its optimum value.
𝑅𝜔
𝜆=
𝑢
𝑅𝜔𝑚𝑎𝑥
𝑢𝑚𝑎𝑥 =
𝜆𝑜𝑝𝑡𝑖𝑚𝑎𝑙
40 × 1.0973
𝑢𝑚𝑎𝑥 = = 12.5996 𝑚𝑠 −1
3.4836
𝑅𝜔𝑚𝑖𝑛
𝑢𝑚𝑖𝑛 =
𝜆𝑜𝑝𝑡𝑖𝑚𝑎𝑙
40 × 0.4703
𝑢𝑚𝑖𝑛 = = 5.4002 𝑚𝑠 −1
3.4836
As mentioned earlier, in cut-in and cut-off regions turbine is at rest. Hence the
rotational speed is zero. Below 𝑢𝑚𝑖𝑛 rotational speed of the turbine will keep at
𝜔𝑚𝑖𝑛 which increases the tip speed ratio hence causing a decrease in power coefficient. In
order to find the cut in wind speed for the design we will consider the tip ratio value
at which power coefficient becomes zero. Hence according to figure 2.1, maximum
value of tip speed ratio (𝜆𝑚𝑎𝑥 ) at which power coefficient becomes zero is 7.1429.
𝑅𝜔𝑚𝑖𝑛 40×0.4703
𝑢𝑐𝑢𝑡−𝑖𝑛 = = = 2.6337 𝑚𝑠 −1
𝜆𝑚𝑎𝑥 7.1429
5|Page
ENE405 Wind Energy- Design of Wind Turbine
𝑅𝜔 40 × 1.0973
𝜆= =
𝑢 𝑢
𝑅𝜔 43.8920
𝜆= =
𝑢 𝑢
0.17 R
R
C p 0.5 0.022 12 5.6 e
0.1740
43
C p 0.5
40
0.022 5.6 e
.8920
u
43.8920
u
6|Page
ENE405 Wind Energy- Design of Wind Turbine
Region A
𝐼𝑓 𝑈𝑤𝑖𝑛𝑑 < 𝑈𝑐𝑢𝑡−𝑖𝑛 𝑡ℎ𝑒𝑛 Rotational speed is zero, the turbine is at rest
Region B
𝐼𝑓 𝑈𝑐𝑢𝑡−𝑖𝑛 < 𝑈𝑤𝑖𝑛𝑑 < 𝑈𝑚𝑖𝑛 𝑡ℎ𝑒𝑛 Rotational speed is at 𝜔𝑚𝑖𝑛
Region C
𝐼𝑓 𝑈𝑚𝑖𝑛 < 𝑈𝑤𝑖𝑛𝑑 < 𝑈𝑚𝑎𝑥 𝑡ℎ𝑒𝑛 Rotational Speed increases till 𝜔𝑚𝑎𝑥
Region D
𝐼𝑓 𝑈𝑚𝑎𝑥 < 𝑈𝑤𝑖𝑛𝑑 < 𝑈𝑟𝑎𝑡𝑒𝑑 𝑡ℎ𝑒𝑛 Rotational Speed is at 𝜔𝑚𝑎𝑥
Region E
𝐼𝑓 𝑈𝑟𝑎𝑡𝑒𝑑 < 𝑈𝑤𝑖𝑛𝑑 < 𝑈𝑐𝑢𝑡−𝑜𝑓𝑓 𝑡ℎ𝑒𝑛 Rotational Speed is still at 𝜔𝑚𝑎𝑥
Region F
𝐼𝑓 𝑈𝑐𝑢𝑡−𝑜𝑓𝑓 < 𝑈𝑤𝑖𝑛𝑑 𝑡ℎ𝑒𝑛 Rotational speed is zero, the turbine is shutdown.
To sharp the above summary, the rotational speed vs. wind speed characteristic of
the turbine is illustrated in the Fig. 2.4.
7|Page
ENE405 Wind Energy- Design of Wind Turbine
40 × 1.0973
𝜆= = 2.9261
15
𝑅 −0.17 𝑅
𝐶𝑝 = 0.5 ( − 0.022 𝑋 12 − 5.6)𝑒 𝜆
𝜆
−0.17 ×40
40
𝐶𝑝 = 0.5 (2.9261 − 0.022 𝑋 12 − 5.6)𝑒 2.9261 = 0.3939
1
Prated A u3 Cp
2
1
1.2 40 2 15 3 0.3939
2
P rated 4.0094136 M W
It is noted that the power output of the turbine is maintained at its rated value of
4.0094136 MW until the wind speed reaches its cut-off value of 25 ms-1.
According to the equation (3), required power regulation at its rated value is
achieved by decreasing Cp with the increase of wind speed. However, when
rotational speed of the wind turbine is kept at its rated speed of 10.4786 rpm, the tip
speed ratio (λ) stands in a constant value. Therefore, the pitch angle of the turbine
blades is regulated guiding the following derivation.
2 Prated
c1 (c2 c3 2 c4 ) e c5
Au 3
8|Page
ENE405 Wind Energy- Design of Wind Turbine
2 Prated c5
e
c2 c4 A u 3
c3 c3 c1 c3
2 4.0094136 10 6 0.17
R
e
1.2 40 u
R 5.6 2 3
0.022 0.022 0.5 0.022
40 1.0973 43.8920
Substituting value of
u u
0.1740
43.8920
u
40 120855.6806 e
254.5455
43.8920 u3
0.022
u
120855.6806 e 0.1549u
41.4240 u 254.5455 (7)
u3
For the wind speeds greater than 15 ms-1, above derivation is valid for the behavior
of pitch angle to maintain the rotor power at its rated value.
Region E
0.1549u
𝐼𝑓 𝑈𝑟𝑎𝑡𝑒𝑑 < 𝑈𝑤𝑖𝑛𝑑 < 𝑈𝑐𝑢𝑡−𝑜𝑓𝑓 𝑡ℎ𝑒𝑛 Pitch angle 41.4240 u 254.5455 120855.6806
3
e
u
Region F
𝐼𝑓 𝑈𝑐𝑢𝑡−𝑜𝑓𝑓 < 𝑈𝑤𝑖𝑛𝑑 𝑡ℎ𝑒𝑛 Pitch angle (β) is 1°
9|Page
ENE405 Wind Energy- Design of Wind Turbine
Fig. 2.5 Pitch angle (𝛽) vs. wind speed (𝑢) characteristic curve
All derivations including the derivation in equation (7), for different regions of the
turbine operation are implemented in Matlab software, under wind speed (u)
domain simulation. The programming algorithms depicted in Appendix under
section b and section g, is used to calculate the Cp for different regions resulting final
plot in Fig 2.6 and the graph between tip speed ratio and the wind speed is shown in
Fig 2.7.
10 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
Fig. 2.6 Power coefficient (𝐶𝑝 ) vs. wind speed(𝑢) characteristic curve
Fig. 2.7 Tip speed ratio (𝜆) vs. wind speed(𝑢) characteristic curve
11 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
2.3.7 Characteristic curve: Rotor output power (𝑷𝒓𝒐𝒕𝒐𝒓 ) vs. wind speed (u)
For the above calculated Cp and β for different regions, 𝑃𝑟𝑜𝑡𝑜𝑟 is calculated and
plotted in Matlab.
Fig. 2.8 Power output of the turbine rotor vs. wind speed characteristic
2.3.8 Characteristic curve: Rotor Relative power (𝑷𝒓𝒆𝒍𝒂𝒕𝒊𝒗𝒆 ) vs wind speed(𝒖).
Pmechanical,rotor
Prelative 100%
Prated
Pmechanical,rotor
Prelative 100% (8)
4.0094136
The graph between the relative output power and the wind speed is shown below in
Fig 2.9.
12 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
13 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
Different types of generators are integrated with wind turbines to produce final
electrical power. The particular wind turbine is designed with a synchronous
generator which coverts mechanical power available in the shaft in to electrical
power. Therefore, the efficiency of the generator can be defined as,
Pelec , generator
generator 100% (9)
Pmech ,tuurbine
Electrical power conversion for different types of generator systems as function of relative power
98
96
94
92
Efficiency %
90
88
82 Synchronous Generator
80
0 10 20 30 40 50 60 70 80 90 100
Relative power %
Fig. 3.1 Efficiency of electrical power conversion for different types of generators
14 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
As per the Fig. 2.9 in the section 2.3.8, Relative power output characteristic curve is
obtained by using equation (8).The output electrical power ( Pelec ,generator) of the
synchronous generator (mit stat frequenzumrichter)at a particular wind speed is
derived combining equation (8) and (9).
By using equation (10) output power of the generator is calculated in the Matlab
environment and the characteristic is depicted in Fig. 3.2
15 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
By using equation (9), efficiency of the generator can be calculated for the range of
wind speeds 0 𝑚𝑠 −1 to 30 𝑚𝑠 −1 .
16 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
Energy gain during a year depends on the wind speed variation of the site where the
wind turbine is installed. The output power of the generator is calculated and the
power characteristic is obtained for the range of wind speed of 0 ms −1 to 30 ms−1 in
the section 3.0. Since, the behavior of the wind speed is unpredicted during a
particular year, wind speed is assumed to be aligned with Weibull parameters,
𝑎 = 7 ms −1 , 𝑘 = 1.7 and the roughness length of 0.25 m for a 50 𝑚 tower.
The Weibull probability function stands for the probability density w(u) at a wind
speed u;
k u
k 1
u k
wu exp Provided k >1, u ≥ 0, and a > 0 (11)
aa a
Where;
u
a:Scale factor, a
1
1
k
Γ : gamma function.
17 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
Where,
𝑣∗ : Friction velocity, 𝑘: Von Karman Constant
̅̅̅̅̅̅̅̅ 1
𝑣(𝑧 1 ) = 𝑎1 Γ [1 + ] , 𝑤ℎ𝑒𝑟𝑒 𝑎1 = 7 𝑚𝑠 −1 , 𝐾1 = 1.7
𝐾1
1
̅̅̅̅̅̅̅
𝑣(𝑧 1 ) = 7 ∗ Γ [1 + ]
1.7
̅̅̅̅̅̅̅
𝑣(𝑧 1 ) = 6.25 𝑚𝑠
−1
̅̅̅̅̅̅̅
If the mean wind speed at the height of 90 m is, 𝑣(𝑧 2 ),
𝑧
̅̅̅̅̅̅̅
𝑣(𝑧 ) 𝑙𝑛 (𝑧1 )
1 0
= 𝑧
̅̅̅̅̅̅̅
𝑣(𝑧2 ) 𝑙𝑛 ( 2 )
𝑧0
90
𝑙𝑛 ( )
̅̅̅̅̅̅̅
𝑣(𝑧 −1 0.25
2 ) = 6.25 𝑚𝑠 ∗
50
ln ( )
0.25
̅̅̅̅̅̅̅
𝑣(𝑧 2 ) = 6.94 𝑚𝑠
−1
̅̅̅̅̅̅̅
𝑣(𝑧 2)
(13)
𝑎2 =
1
Γ [1 + 𝐾 ]
2
𝑎2 = 7.78 𝑚𝑠 −1
18 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
For the Weibull parameters for 90 m tower, the density distribution is obtained in
the Matlab environment as in the Fig. 4.1.
19 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
Fig. 4.2 Annual energy gain of the wind turbine as per the Weibull parameters
Total annual energy gain of the wind turbine can be found, estimating the area
under the energy output curve.
Eannual, total E (u ) du
0
The estimated value is found as 6.3898 GWh, for the total annual energy gain of the
wind turbine.
20 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
5.0 Discussion;
The annual energy output of a wind based electricity generation system depends on
many factors. In design point of view it is essential to optimize these factors in order
to maximize the annual energy output. In this project, it is specified to have a design
wind speed of 9 ms-1 for the turbine operation. The suitability of this selection in
maximizing the annual energy output of the system will be discussed under
this chapter.
In this process it is necessary to calculate the annual energy output at
different design speeds for the turbine without changing other given
parameters or specifications. The turbine should be able to operate with
variable rotational speed in a range of ± 40% from the design rotational speed
at maximum power coefficient Cpmax over the respective range of wind speed.
Fig 5.0 Total annual energy gain for selected design wind speeds
21 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
In the figure it can be seen that the annual energy output maximizes to a value of
6.4823 GWh at a design wind speed of 10.3945 ms-1. As calculated in chapter 4,
the annual energy output is 6.3898 GWh for a design wind speed of 9 ms-1
Therefore it can be concluded that the 9 ms-1 is not the optimal design wind
speed for turbine in maximizing the annual output energy of the system.
Instead, by selecting 10.39 ms-1 as the design wind speed, annual energy output
can be increased by 92.5 MWh.
22 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
Appendix
Matlab Programs
a. Matlab program to obtain the power coefficient (Cp) vs tip speed ratio (λ)
characteristic.
C1=0.5;
C3=0.022;
C4=5.6;
beta=1;
%Initializing variables
lambda=1e-6;
Cp=0;
cnt=1;
Cp=C1*(R/lambda-C3*beta^2-C4)*exp(-0.17*R/lambda);
lambda_plot(cnt)=lambda;
Cp_plot(cnt)=Cp;
lambda=lambda+0.001;
cnt=cnt+1;
end
lambda_max = round(lambda_plot(end)*100)/100;
save('Power_Coefficient.mat');
23 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
load('Power_Coefficient.mat');
%Additional data
rho=1.2; % Air density
A=pi*(R^2); % Area covered by rotor blades
u_min=round(R*w_min/lambda_Op*100)/100;
u_max=round(R*w_max/lambda_Op*100)/100;
u_cutin=round(R*w_min/lambda_max*100)/100;
error(' Upper margin of the design speed exceed the rated wind speed.Re run with a valid design
speed.')
end
%At rated speed
lambda_rated=R*w_max/u_rated;
Cp_rated=C1*(R/lambda_rated-C3*beta^2-C4)*exp(-0.17*R/lambda_rated);
P_rated=0.5*rho*A*(u_rated)^3*Cp_rated*1e-6;
%Initializing variables
u=0;
h=0.5;% increment of wind speed
counter=1;
% For wind speed range 0-30 m/s
while u<(30+h)
if u<u_cutin% In cut-in region
lambda=0;
24 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
beta=1;
Cp=0;
P=0;
% Cut_out region
else
lambda=0;
beta=1;
Cp=0;
P=0;
end;
if Cp<0
Cp=0;
elseif P<0
P=0;
end
% Collect data for plots
beta_Plot(counter)=beta;
lambda_Plot(counter)=lambda;
Cp_Plot(counter)=Cp;
P_Plot(counter)=P;
u_Plot(counter)=u;
25 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
% Update variables
u=u+h;
counter=counter+1;
end;
% save all the variables
save('Turbine_Characteristics.mat');
c. Matlab program to obtain the Generator efficiency and the Output power
%Plot the Generator characteristic curve and find
%the Generator output power
load('Generator_Details.mat')
load('Turbine_Characteristics.mat');
XData=data(:,1);
YData=data(:,3);
%find efficiency values for calculated relative power value from the above plot
eff=Yeff;% efficiency
index1 = find(abs(u_Plot-u_cutin) < h/2);%find the index of the cut-in wind speed
index2 = find(abs(u_Plot-u_cutout) < h/2);%find the index of the cut-off wind speed
Generator_power=(eff/100).*(Prel_Plot/100).*P_rated;
save('Generator_Characteristics.mat');
26 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
d. Matlab program to obtain the Weibull density distribution and Annual energy
gain
TH=TH;%tower height
MH=MH;% measurement height
%Weibull parameters of wind speed measurement at 50m above ground
aMH=aMH;
kMH=kMH;
z0=0.25; % roughness length of the site
%Calculate total annual energy output for the given design speed
Total_AE=trapz(v,AE);
save('Annual energy.mat')
e. Matlab program to obtain the Annual energy gain variation with design speed
% Calculate Lower limit and upper limit for the design wind speed
Low_Limit=round(u_cutin/(1-tol)*100)/100;
Up_Limit=round(u_rated/(1+tol)*100)/100;
Step_Size=(Up_Limit-Low_Limit)/100;
Speed_index=1;
u_design=speed;
run Cp_vs_Lamda.m
27 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
run Wind_Turbine_Characteristics.m
Generator_power=(eff/100).*(Prel_Plot/100).*P_rated;
run Weibull_Para_n_Anual_Energy.m
Annual_E(Speed_index)=Total_AE/1000;
Des_Speed(Speed_index)=speed;
Speed_index=Speed_index+1;
end
%%
indexmin = find(min(Annual_E) == Annual_E);
indexmax = find(max(Annual_E) == Annual_E);
TotAEmin = Annual_E(indexmin);
TotAEmax = Annual_E(indexmax);
u_designmax = round(Des_Speed(indexmax)*100)/100;
%%
% To mark the anual energy at 9 m/s
xUdes=0:0.0001:30;
yAE = interp1(Des_Speed, Annual_E, xUdes,'linear');
index_u = find(xUdes ==u_design_init);
u_AE= xUdes(index_u);
AE_des = yAE(index_u);%annual energy at design wind speed
%%
figure('name','Annual Energy vs design wind speed','numbertitle','off')
plot(Des_Speed,Annual_E,'k','linewidth',1,'LineSmoothing','on');
%%t=title('Annual Energy Output with different Design Wind Speeds');
%%set(t, 'FontSize', 12,'FontWeight','bold');
xlabel('\color[rgb]{0,0,0} \bf \fontsize{12} Design Wind Speed(m/s)');
ylabel('\color[rgb]{0,0,0} \bf \fontsize{12} Annual Energy Output(GWh)');
axis([u_cutin,Up_Limit+.5,TotAEmin-.1,TotAEmax+.1]) ;
grid minor;
28 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
plot(u_AE,AE_des,'ro','MarkerSize',5,'linewidth',2);
plot(u_AE,TotAEmin-.1,'ro','MarkerSize',5,'linewidth',2);
fprintf( 'We can get Maximum Annual energy of %6.4f GWh when design speed is %8.4f
m/s\n',TotAEmax, u_designmax);
% This m file collects the user input data from the work space and run the other m files.
clc;
clear all;
close all;
u_design_init=u_design;
run Cp_vs_Lamda.m
run Wind_Turbine_Characteristics.m
run Generator_characteristics.m
run Plot.m
run Weibull_Para_n_Anual_Energy.m
run Plot_Weibull_Para_n_Anual_Energy.m
29 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
disp(' ');
fprintf( 'Mean velocity of wind at measured height = %4.2f m/s\n',uMean_MH);
fprintf( 'Mean velocity of wind at tower height = %4.2f m/s\n',uMean_TH);
disp(' ');
fprintf( 'Annual Energy = %8.2f MWh\n',Total_AE);% print the value as in the pdf
disp(' ')
disp('Calculating Annual Energy Output with different Design Wind Speeds')
disp('This will take few minitues... ')
disp(' ')
run Annual_energy_vs_Design_speed.m
%%
% To save Figures
ip=input('Do you want to save the Figures? (Y/N): ' ,'s');
if isempty(ip)
ip = 'y';
end
if strcmpi('Y',ip)==1
Fig=get(0,'Children');
for i=1:(length(Fig)-1)
saveas(Fig(i),(get(Fig(i),'Name')),'jpg');
end
end
figure('name','Cp vs Lambda','numbertitle','off')
plot(lambda_plot,Cp_plot,'k','linewidth',1.5,'LineSmoothing','on');
grid minor;
% t=title(' Cp vs \lambda characteristics at pitch angle (\beta= 1^{0})');
% set(t, 'FontSize', 12,'FontWeight','bold','interpreter','tex');
hold on
plot(lambda_Op,Cp_plot(indexmax),'bo','MarkerSize',5,'linewidth',2);
30 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
plot(lambda_Op,0,'bo','MarkerSize',5,'linewidth',2);
%% Plots of Turbine
plot(U,W*30/pi,'color','k','linewidth',1.5,'LineSmoothing','on');
% t=title('Rotational speed of the wind turbine vs Wind speed');
% set(t, 'FontSize', 12,'FontWeight','bold');
xlabel('\bf \fontsize{12}Wind Speed(m/s)');
ylabel('\bf \fontsize{12}Rotational speed(rpm)');
grid minor;
31 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
grid minor;
%% Plots of Generator
plot(u_Plot(index1:index2),eff(index1:index2),'color','k','linewidth',1.5,'LineSmoothing','on');
grid minor;
% t=title('Generator efficiency vs Wind speed characteristics');
% set(t, 'FontSize', 12,'FontWeight','bold');
ylabel('\bf \fontsize{12}Generator efficiency(%)');
xlabel('\bf \fontsize{12}Wind speed(m/s)');
drawnow;
%////////////////////////////////////////////////////////////////
32 | P a g e
ENE405 Wind Energy- Design of Wind Turbine
drawnow;
33 | P a g e