Loadflow Analysis of Wind Turbine Generating Systems - Project Report
Loadflow Analysis of Wind Turbine Generating Systems - Project Report
Loadflow Analysis of Wind Turbine Generating Systems - Project Report
Generating Units
A Project Report
Submitted in partial fulfilment of the
of
BACHELOR OF TECHNOLOGY
in
ELECTRICAL ENGINEERING
Submitted by :
Guided by:
MAY, 2010
DECLARATION BY THE CANDIDATES
We hereby declare that the work which is being presented in the report entitled “Load flow
Analysis involving Wind Turbine Generating Units” submitted in partial fulfilment of the
requirements for the award of degree of Bachelor of Technology submitted in Department
of Electrical Engineering, IIT Roorkee is an authentic record of our own work for a period of
10 months from August 2009 to May 2010, under supervision of Dr. B. Das and Dr. Vinay
Pant, Department of Electrical Engineering, IIT Roorkee.
The matter embodied in the report has not been submitted by us for the award of any other
degree or diploma.
Our heartfelt gratitude and indebtedness goes to all our teachers here at the Department of
Electrical Engineering who, with the knowledge they imparted in the field of basic Electrical
Engineering concepts and with their encouraging and caring words, have contributed
directly towards the completion of this project.
We appreciate and thank the entire official staff of the Department of Electrical
Engineering who directly or indirectly helped us during our project.
We would like to take this opportunity to express our deep sense of gratitude to our families
for the support and encouragement they have provided us over the years. Last but not the
least; we would also like to thank our friends who have offered their unrelenting assistance
throughout the course.
1
1. Introduction
A large number of wind turbine generating systems (WTGS) are already in
operation and many new systems are being planned. The integration of WTGS
with the power systems is taking place at both the transmission and the
distribution voltage levels. Many investigations had been carried out to
understand the behavior of the wind turbine generating units (WTGU) as well as
their impact on the power grid. Distributed generation (DG) is an effective
means of increasing energy efficiency and reducing energy costs. As a result,
number of DGs, integrated to the distribution systems, has been greatly
increased in recent years. It is well known that one of the most favored energy
sources for DGs is the wind driven energy production systems i.e., WTGSs.
Accordingly, the usage of wind turbine generating systems (WTGSs) has been
gaining popularity worldwide for electricity generation since it is clean,
environmentally friendly and a free source. Its most important feature is that it
removes dependency on other countries in energy sector since its locally
available. Due to its importance and advantages amongst various DG sources,
the effects of the WTGS on the grid should be properly investigated.
Accordingly, these types of DG sources must be modeled with adequate details.
2
The objective of this project is to study the steady state behaviour of WTGU as
DG sources and their impact on the distribution network. In view of this, the
project includes the following:
1. Studying the models for different types of WTGU that facilitate the
computation of the steady state power outputs.
2. Developing load flow software.
3. Applying these WTGU models for obtaining the steady state load flow
solution of a radial distribution feeder having distributed wind generation,
assuming the wind speed at the instant of interest is given/ known.
4. Studying the impact of wind based DG on the operation of radial systems.
3
2. Models of WTGU
Presently various types of WTGU have been installed and they can be broadly
classified into three categories, namely fixed, semi-variable and variable speed
types. The models studied here for the WTGU are intended to obtain the power
output of the WTGU for a given terminal voltage and wind speed.
This type of WTGU has a squirrel cage induction generator which is driven by a
wind turbine either having a fixed turbine blade angle (stall regulated fixed
speed WTGU) or having a pitch controller to regulate the blade angle (pitch
regulated fixed speed WTGU). In both these types of WTGU, the induction
generator is directly connected to the grid. In the operating range the rotor speed
varies within a very small range (around 5% of the nominal value) and hence,
these are reckoned as fixed speed WTGU. Normally in these WTGU a fixed
shunt capacitor is used to provide reactive power compensation.
In this class of WTGU, the pitch angle controller regulates the wind turbine
blade angle (ν) according to the wind speed variations. Hence, the power output
of this class of WTGU depends on the characteristics of the pitch controller in
addition to the turbine and generator characteristics. This control guarantees that
the power output of the WTGU for any wind speed will be equal to the designed
value for that speed (irrespective of the voltage). This designed power output Pe
of the WTGU with wind speed is provided by the manufacturer in the form of a
power curve. Hence, for a given wind speed Pe can be obtained from the power
curve of the WTGU, but Qe needs to be computed. With Pe known and an
assumed voltage, the induction generator power output (Pe) expression can be
recast as a quadratic equation in slip (rotor speed). This equation is solved to get
the slip value. With the slip known, the reactive power output Qe is calculated
from the induction generator equivalent circuit. Any change in voltage due to
these output changes is computed and the above process is repeated till
convergence.
4
Fig. 1. Induction machine equivalent circuit.
Algorithm 1:
Pitch regulated fixed speed WTGU power output (Pe and Qe)
Given wind speed uw and the terminal voltage V
1. For the given uw obtain Pe from the power curve of the WTGU (provided by
the manufacturer).
2. Pe of the induction generator is given by
Knowing Pe and all the other parameters of the induction generator, it can be
written as a quadratic equation in s as follows
as2+bs+c=0
where,
a = PeR12(Xl2+Xm)2+Pe(XmXl2 + Xl1(Xl2+Xm))2 - |V|2R1(Xl2+Xm)2 ,
and
c = PeR22(Xl1 + Xm)2 + Pe(R2R1)2 − |V |2R1R22 ,
5
Then the slip is given by
3. Knowing s compute Qe as
This class of WTGU consists of a pitch controlled wind turbine and a wound
rotor induction generator. The rotor circuit of the generator is connected to an
external variable resistance. Power electronic devices are used to vary the rotor
resistance. In these WTGU, the reactive power compensation is normally
provided by a fixed shunt capacitor. There are two controllers, a pitch controller
and rotor resistance controller. These two controllers are designed to operate in
a coordinated manner. This design guarantees that the active power output is
equal to the maximum power at wind speeds below nominal and equal to rated
power above nominal wind speeds. For this class of WTGU also, the
manufacturer provides the designed real power output versus wind speed
characteristics. A typical power curve is shown in Fig. 2.
Determination of the output of this WTGU for a given wind speed and
assumed/known terminal voltage involves the computation of Pe and Qe. The
6
Pe computation is straight forward as the WTGU power characteristic readily
provides this value. However, computation of Qe is tricky. This is because as
compared to the pitch controlled WTGU discussed in Section 2.1.1, in this case
in addition to the slip, the rotor resistance is also determined by the controller
and hence is unknown. This difficulty is overcome by noting a very interesting
feature of the expression for Pe and Qe of the induction generator. We note that
the expression for Pe and Qe can be recast as a quadratic function of a new
variable R2/s. Hence, even when R2 and s are unknown the
quantity R2/s (say Req) can be computed by solving the quadratic equation
in Req involving Pe. To compute Qe, this value of Req is used in the modified
expression for Qe. The quadratic equation for Req can be derived and is as
follows:
aReq2 + bReq + c = 0
where,
a = Pe(R12 + (Xl1 + Xm)2) - |V|2R12,
b = 2R1PeXm2 – Xm2|V|2
and
c = Pe(R1)2(Xl2 + Xm)2 + Pe(Xm2 – (Xm + Xl2)(Xm + Xl1))2 – R1(Xm + Xl2)2|V|2
Algorithm 2:
Semi-variable speed WTGU power output (Pe and Qe). Given wind
speed uw and the terminal voltage V
1. For the given uw obtain Pe from the power curve of the WTGU (provided by
the manufacturer similar to Fig. 2).
2. Compute Req by solving as
Req = max((-b + (b2 – 4ac)0.5)/2a), (-b - (b2 – 4ac)0.5)/2a))
7
3. Load flow analysis including WTGU
Load flow analysis is the primary tool for assessing the operation of the systems
in steady state. As the focus of this project is limited to the use of WTGU as
DGs, the systems of interest would be the primary distribution systems. These
systems are mostly radial. Inclusion of these WTGU into these systems results
in the increase in the number of buses where power is fed into such systems.
However, this does not require that the WTGU buses be treated as voltage
specified buses (PV buses) because none of the WTGU types have enough
reactive power capability to hold their terminal voltage at a specified value. The
WTGU buses can be treated as only PQ buses (with P and Q varying across
iterations in contrast to a conventional PQ bus where they remain constant).
Here, we use modified Newton-Raphson method so as to accommodate the
WTGUs.
8
4. Simulation study
A simulation study aimed at understanding the impact of WTGU on the
distribution system has been carried out. In this study, it has been assumed that
the wind speed and its corresponding power output at a wind site at the instant
of interest is given/ known.
9
Table 1. Induction generator circuit parameters
The pitch regulated fixed speed WTGU considered here is the Vestas unit of
1 MW rating. The induction generator circuit parameters for the same unit are
given in Table 1. The semi-variable speed WTGU considered here is the Vestas
unit of 1 MW rating. The induction generator circuit parameters are given
in Table 1.
The 12.66 kV 33 bus radial distribution test system given in ref. [2] has been
slightly modified by introducing four WTGU at four buses. The single line
diagram of the modified system is shown in Fig. 3. The modified test system
considered here, could be viewed as a typical example of emerging systems;
primary distribution system with dispersed generation. The pitch regulated fixed
10
speed and semi-variable speed type of WTGU are connected at different points
of the distribution system (Fig. 3) through four transformers (rated
12.66/0.69 kV, 1.2 MVA). The transformer reactance is 0.12 pu (on its own
base). Except for the four additional WTGU and transformers, the network and
load data are identical to that given in ref. [2] and these details are provided
in Appendix A (Table 4).
4.1.3. Results
Load flow solutions using Newton-Raphson load flow technique has been
obtained for 4 cases. In each case the wind speed at each WTGU is considered
to be known and fixed. The following load and wind speed conditions have
been considered to study the impact of terminal voltage as well as wind speed
variation on the power output of the WTGU and on the distribution network:
Case 1
WTGU operating below cut-in wind speed (which is equivalent to the system
without WTGU) and system loads corresponds to the base load .
Case 2
WTGU operating at low wind speeds (Pe taken as 50% of rated) and system
loads corresponds to the base load.
Case 3
WTGU operating at higher wind speeds than Case 2 (Pe taken as rated) and
system loads corresponds to the base load.
Case4
In Case 1 the wind speeds are considered to be below cut-in so as represent the
system without WTGU. Cases 2 correspond to that with WTGU and the wind
speeds are considered to be between cut-in and nominal (i.e Pe < Prated). Case 3-
4 correspond to that with WTGU and the wind speeds are considered to be
above nominal (Pe = Prated).
11
Table 2 : Summary of load flow results at WTGU buses for various load and wind conditions
The load flow solution has been obtained for all the four cases. For all these
cases, the real and reactive power output as well as the voltage magnitude at the
WTGU buses obtained at the end of the load flow solution is given in Table 2.
In all the results presented here, the reactive power demand at any bus is
reckoned as positive (or Qe injected into the bus is negative). Fig. 4. shows the
system voltage profile (voltage magnitudes at all the buses) for all the four
cases. At the end of the load flow solution the real generation at all the WTGU
buses are known and the power fed by the substation (slack bus power) is
calculated. The sum of the WTGU generation and the power fed at the slack bus
gives the total power input to the system. As the system load is known, the real
power loss for each of the cases can be obtained as the difference between the
input power and the load. These details for all the four cases are given in Table
3.
Table 3 : System real power loss details
12
4.1.4. Discussion
1. System voltage profile: For a given load profile, with increase in the real
power output Pe of the WTGU, the voltage magnitude at all the buses increases.
From Fig. 4 it can be seen that with increase in the power output of WTGU
from zero (Case 1) to around rated values (Case 3) the voltage magnitude at all
the buses increases. This increase seen in the voltage magnitude at all the buses
of such a system is due to the increase in total Pe (in spite of the increase in
reactive power demand of the WTGU) injected by the WTGU. This behavior is
easily explained when once it is noted that the R/X ratio of the feeder is quite
high (around 2). Additionally, from Case 4 in Fig. 4 it can be seen that the
voltage magnitude at many of the system buses is higher than that of the slack
(substation) bus. This is because in Case 4 the net generation of the WTGU is
higher than the total system load. Thus it can be said that for given load profile
the system voltage magnitudes increase with increase in the net power injected
by the WTGU. Further if the total power output of the WTGU is greater than
the total load on the feeder then power is supplied to the grid at the substation
bus. Due to this the voltage magnitude at some of the buses of such systems
could be higher than that of the substation bus.
2. System loss: A comparison of the total system loss obtained for the first three
cases (Table 3) shows that the percentage loss decreases with increase in the
real power output of the WTGU. However, from Table 3 it can be seen that the
percentage loss in Case 4 is high, even though the magnitude of loss is low. In
Cases 2 and 3, the WTGU and the grid together supply power to the loads in the
system. However, in Case 4 the total power generated by the WTGU is much
higher than the total system load. Due to this some power is injected into the
grid at the slack bus. In order to investigate this issue further, the system loss
was obtained for a fixed load (30% of the base case load). From this it is evident
that with the feeder load remaining constant, as the total power supplied by the
WTGU increases the system loss decreases up to a certain limit and beyond this
the loss actually starts increasing.
13
1.05
Case 1
1.04 Case 2
Case 3
Case 4
1.02
1
VOLTAGE MAGNITUDE (pu)
0.98
0.96
0.94
0.92
0.9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
BUS NUMBER
14
5. Conclusion
In this project steady state models of various types of WTGU have been studied
and their application for both deterministic load flow analysis has been
demonstrated. These models have been used to assess the steady state behavior
of the various WTGU types, under varying system conditions. In addition,
simulation studies have been carried out on a radial distribution system having
WTGU operating as DG sources.
Future Scope :
1. The power output can be related to the wind velocity and hence, velocity
vs power output can be evaluated.
2. The same Load Flow analysis can be done for other types of Wind
Turbine Generating Units such as stall regulated, DFIG etc.
3. The same analysis can be done using Matlab’s Simulink and can be made
more user interactive.
15
References
[2] K. C. Divya and P. S. N. Rao, “Models for wind turbine generating systems
and their application in load flow studies,” Electric Power Systems Research, In
Press, Available online 28 December 2005.
[5] Coath, G., and Al-Dabbagh, M., “Effect of steady-state wind turbine
generator models on power flow convergence and voltage stability limit,”
Australasian Universities Power Engineering Conference (AUPEC 2005),
Australia, 25–28 September 2005.
16
APPENDIX A
Main code :
tic;
nbus = 33; %number of buses
Y = ybusppg(nbus); % Calling ybusppg.m...
y_bus_matrix = Y;
busd = busdatas3(nbus); % Calling busdatas..
BMva = 1; % Base MVA..
bus = busd(:,1); % Bus Number..
type = busd(:,2); % Type of Bus 1-Slack, 2-PV, 3-PQ..
V = busd(:,3); % Specified Voltage..
del = busd(:,4); % Voltage Angle..
Pg = busd(:,5)/BMva; % PGi..
Qg = busd(:,6)/BMva; % QGi..
Pl = busd(:,7)/BMva; % PLi..
Ql = busd(:,8)/BMva; % QLi..
Qmin = busd(:,9)/BMva; % Minimum Reactive Power Limit
Qmax = busd(:,10)/BMva; % Maximum Reactive Power Limit
P = Pg - Pl; % Pi = PGi - PLi for all buses
Q = Qg - Ql; % Qi = QGi - QLi for PQ buses
Psp = P; % P Specified..
Qsp = Q; % Q Specified..
G = real(Y); % Conductance matrix..
B = imag(Y); % Susceptance matrix..
pv = find(type == 2 ); % PV Buses..
pq = find(type == 3); % PQ Buses..
npv = length(pv); % No. of PV buses..
npq = length(pq); % No. of PQ buses..
Pe1 = 1.0;
Tol = 1;
17
number_of_iterations = 0;
z=1;
while (z) % Iteration starting..
number_of_iterations = number_of_iterations + 1;
Pcal = zeros(nbus,1);
Qcal = zeros(nbus,1);
Ve1 = V(6);
Qsp(6) = semivar(Pe1 , Ve1)- Ql(6);
Ve2 = V(33);
Qsp(33) = pitchreg(Pe1 , Ve2)-Ql(33);
Ve3 = V(25);
Qsp(33) = pitchreg(Pe1 , Ve3)-Ql(25);
Ve4 = V(18);
Qsp(18) = pitchreg(Pe1 , Ve4)-Ql(18);
18
Tol = max(abs(M)); % Tolerance..
% Jacobian
% J1 - Derivative of Real Power Injections with Angles..
J1 = zeros(nbus-1,nbus-1);
for i = 1:(nbus-1)
m = i+1;
for k = 1:(nbus-1)
n = k+1;
19
if n == m
for n = 1:nbus
J1(i,k) = J1(i,k) + V(m)* V(n)*(-
G(m,n)*sin(del(m)-del(n)) + B(m,n)*cos(del(m)-
del(n)));
end
J1(i,k) = J1(i,k) - V(m)^2*B(m,m);
else
J1(i,k) = V(m)*
V(n)*(G(m,n)*sin(del(m)-del(n)) - B(m,n)*cos(del(m)-
del(n)));
end
end
end
20
J3(i,k) = J3(i,k) + V(m)*
V(n)*(G(m,n)*cos(del(m)-del(n)) + B(m,n)*sin(del(m)-
del(n)));
end
J3(i,k) = J3(i,k) - V(m)^2*G(m,m);
else
J3(i,k) = V(m)* V(n)*(-
G(m,n)*cos(del(m)-del(n)) - B(m,n)*sin(del(m)-
del(n)));
end
end
end
21
if type(i) == 3
V(i) = dV(k) + V(i); %Voltage magnitude
k = k+1;
end
end
number_of_iterations = number_of_iterations + 1;
else
z=0;
end
end
loadflow(nbus,V,del,BMva); %Calling Loadflow.m
disp('number of iterations = ');
fprintf(' %2d', number_of_iterations);
fprintf('\n');
toc;
t = toc;
22
% Semi-variable WTGU function
R1 = 0.005671;
Xl1 = 0.15250;
R2 = 0.00462;
Xl2 = 0.096618;
Xm = 2.8985;
23
% Pitch regulated WTGU function
function pitch = pitchreg(Pe, Ve)
R1 = 0.005986;
Xl1 = 0.08212;
R2 = 0.01690;
Xl2 = 0.107225;
Xm = 2.5561;
24
Loadflow Programme
% Program for Bus Power Injections, Line & Power flows
(p.u)...
% Line Losses..
Lij = zeros(nl,1);
for m = 1:nl
p = fb(m); q = tb(m);
Lij(m) = Sij(p,q) + Sij(q,p);
end
Lpij = real(Lij);
Lqij = imag(Lij);
disp('###############################################
##########################################');
disp('-----------------------------------------------
------------------------------------------');
disp(' Newton Raphson
Loadflow Analysis ');
disp('-----------------------------------------------
------------------------------------------');
disp('| Bus | V | Angle | Injection |
Generation | Load |');
disp('| No | pu | Degree | MW | MVar |
MW | Mvar | MW | MVar | ');
for m = 1:nb
disp('-------------------------------------------
----------------------------------------------');
26
fprintf('%3g', m); fprintf(' %8.4f', V(m));
fprintf(' %8.4f', Del(m));
fprintf(' %8.3f', Pi(m)); fprintf(' %8.3f',
Qi(m));
fprintf(' %8.3f', Pg(m)); fprintf(' %8.3f',
Qg(m));
fprintf(' %8.3f', Pl(m)); fprintf(' %8.3f',
Ql(m)); fprintf('\n');
end
disp('-----------------------------------------------
------------------------------------------');
fprintf(' Total ');fprintf('
%8.3f', sum(Pi)); fprintf(' %8.3f', sum(Qi));
fprintf(' %8.3f', sum(Pi+Pl)); fprintf(' %8.3f',
sum(Qi+Ql));
fprintf(' %8.3f', sum(Pl)); fprintf(' %8.3f',
sum(Ql)); fprintf('\n');
disp('-----------------------------------------------
------------------------------------------');
disp('###############################################
##########################################');
disp('-----------------------------------------------
--------------------------------------');
disp(' Line FLow and
Losses ');
disp('-----------------------------------------------
--------------------------------------');
disp('|From|To | P | Q | From| To | P
| Q | Line Loss |');
disp('|Bus |Bus| MW | MVar | Bus | Bus|
MW | MVar | MW | MVar |');
for m = 1:nl
p = fb(m); q = tb(m);
disp('-------------------------------------------
------------------------------------------');
fprintf('%4g', p); fprintf('%4g', q); fprintf('
%8.3f', Pij(p,q)); fprintf(' %8.3f', Qij(p,q));
fprintf(' %4g', q); fprintf('%4g', p);
fprintf(' %8.3f', Pij(q,p)); fprintf(' %8.3f',
Qij(q,p));
fprintf(' %8.3f', Lpij(m)); fprintf(' %8.3f',
Lqij(m));
fprintf('\n');
27
end
disp('-----------------------------------------------
--------------------------------------');
fprintf(' Total Loss
');
fprintf(' %8.3f', sum(Lpij)); fprintf(' %8.3f',
sum(Lqij)); fprintf('\n');
disp('-----------------------------------------------
--------------------------------------');
disp('###############################################
######################################');
28
Ybus Programme
% Program to for Admittance And Impedance Bus Formation....
29
Y(25,25) = Y(25,25) + 1/(2.5561*i);
Y(18,18) = Y(18,18) + 1/(2.8985*i);
Y(33,33) = Y(33,33) + 1/(2.5561*i);
Y(nb,nb) = Y(nb,nb) + 1/(2.5561*i);
30
APPENDIX B
Sen
Nod
Br R S din S
Node Sendi e
. c. n. Branc Parm. g Br. Rc. n. Branch r Parm. X(
QL ng PL QL
n N N h r(Ω) X(Ω) PL no. Nd. N (Ω) Ω)
(kvar) (kW) (kva
o. d. d. (kW d.
r)
)
31