Professional Documents
Culture Documents
Technical Documentation
DIgSILENT GmbH Heinrich-Hertz-Strasse 9 D-72810 Gomaringen Tel.: +49 7072 9168 0 Fax: +49 7072 9168- 88 http://www.digsilent.d e-mail: mail@digsilent.de
Dynamic Modelling of Doubly-Fed Induction Machine Wind-Generators Published by DIgSILENT GmbH, Germany Copyright 2003. All rights reserved. Unauthorised copying or publishing of this or any part of this document is prohibited. doc.TechRef, 14 August 2003
1 Introduction
1 Introduction
The electrical systems of several European countries contain large amounts of embedded wind generation and similar scenarios are foreseen in other parts of the world. This aspect, together with the significant size of new wind farm projects, requires realistic modelling capabilities of wind generators for proper assessment of power system planning and impact analysis of future wind generation. As a result of research and consulting activities of DIgSILENT, generic dynamic models of different types of wind power generation were developed. These models are now available in the standard Wind-Power library of PowerFactory. This document describes a doubly-fed induction generator wind turbine model including all relevant components. At the same time, this document is a reference to all DFIG-related models of the Wind-Power library. The presented models are mainly intended for stability analysis of large power systems. The proper response of the models to network faults was in the centre of interest, but the models can also be used for simulating the impact of wind fluctuations to power systems. There is no wind model included in this description. However, any type of stochastic or deterministic wind model, or measured wind speeds can be connected to the wind speed input of the presented model. The models are intended for balanced and unbalanced RMS calculations typically applied in stability studies. However, it is also possible to perform electromagnetic transient simulations with these models. The basic structure of the model is briefly described in this section and more thoroughly analyzed in the following sections.
Control
Control
Protection
Figure 1: Doubly-Fed Induction Generator Concept
The general concept of a Doubly-Fed Induction Generator (DFIG) is shown in Figure 1. The prime mover, consisting of a pitch-angle controlled wind turbine, the shaft and the gear-box drives a slip-ring induction generator. The stator of the DFIG is directly connected to the grid, the slip-rings of the rotor are fed by self-commutated converters. These converters allow controlling the rotor voltage in magnitude and phase angle and can therefore be used for active- and reactive power control. In the presented model, the converters and controllers are represented to the necessary extent. Both the rotor- and the gridside controllers are modelled in full detail, including fast current control loops. However, for many applications the fast control loops of the grid side converter can be approximated by steady state models. With the rotor side converter, the situation is different due to protective practices in DFIG. For protecting the rotor-side converter against over-currents, it is usual practice to bypass the rotor-side converter during system faults. Whether the DFIG is totally disconnected from the system or not, depends on the actual deepness of the voltage sag and on the applied protection philosophy. The correct modelling of the rotor bypass, usually called crow bar protection, is essential to assess voltage stability of large farms during faults in the transmission- or distribution network. For this reason, it is necessary to model even the fast current controls of the rotor side converter to effectively determine the operation of the crow bar. Other protection functions also found in DFIG such as over/under-speed and over/under-voltage are considered in the proposed model as wel
Prime Mover
pt Pitch Control * beta
vw
Turbine *
Pwind
Shaft *
o m e g a ..
MPT ElmMpt*
DFIG ElmAsm*
P;Q
PQ Control ElmGen*
Current Control *
Ifq;I..
Protection ElmPro*
bypass
Shaft)
Doubly-Fed induction generator (DFIG) The control-system regulating active and reactive power of the DFIG through the rotor-side converter applying a maximum power tracking strategy (MPT, Power Measurement, PQ Control, Current Control, Current Measurement) Protection-system (V meas., Protection)
cosph..
The models of all major components are described in the following sections. It is important to point out that these models can be used in combinations that differ from Figure 2, e.g. realizing power-dependent speed control instead of the speed-dependent power control. Additionally, the model can be extended by stochastic or deterministic wind-speed models, more sophisticated voltage and frequency control.
Ek =
m 2 vw 2
(1)
The power associated to this moving air mass is the derivative of the kinetic energy with respect to time.
P0 =
E k 1 m 1 2 2 = vw = q vw t 2 t 2
(2)
q = vw A
is the air density and A the cross section of the air mass flow.
(3)
Only a fraction of the total kinetic power can be extracted by a wind turbine and converted into rotational power at the shaft. This fraction of power (PWIND) depends on the wind speed, rotor speed and blade position (for pitch and active stall control turbines) and on the turbine design. It is usually denominated aerodynamic efficiency Cp:
Cp =
PWind P0
(4)
For a specific turbine design, the values of Cp are usually presented as a function of the pitch angle () and the tip speed ratio (). The tip speed ratio is given by:
TUR R
vw
(5)
R is the radius of the turbine blades and TUR is the turbine speed.
PowerFactory allows the input of a two-dimensional lookup characteristic (for different values of and ) to define Cp. A twodimensional, cubic spline-interpolation method is used for calculating points between actually entered values. The high accuracy of the interpolation method avoids the need of entering a large number of points (see also Figure 3). Alternatively, analytical approaches for approximating the Cp-characteristic could be used but since these data are usually available in tabular formats, no such model was included into the PowerFactory standard Wind-Power-Library. Finally, the mechanical power extracted from the wind is calculated using:
Pmech =
R 2 Cp ( , ) vw
(6)
The Cp-characteristic can be calculated using special software for aerodynamic designs that is usually based on blade-iteration techniques or it can be obtained from actual measurements. It has to be pointed out that the presented turbine model is based on a steady state approach and is not able to represent stall dynamics. The input/output diagram of the turbine model is depicted in Figure 4 and the input-, output- and parameter definitions are presented in Table 1 to Table 3.
beta
vw
Wind-Turbine
Pwind
omega_tur
SERVO
ref
Vrmax
rate_op beta_ref
Ymax beta
speed
Limiter
{1/s}
Ymin
Blade-Angle optimization can be realized using a variable minimum blade angle limit
speed
beta
3.2.3 Shaft
Jg Dtg t Jt Ktg g g
Dt
Dg
Shaft Model:
Pwind
Twind Torque
tdif
RatePt Pbase
pt
speed_gen
omega_gen
DIgSILENT
10
Under normal operating conditions, variable speed generators are decoupled from the grid; that is, with appropriate controls, torsional shaft oscillations are filtered by the converters and almost not noticeable as harmonics of the generated power. However, during heavy faults, e.g. short circuits in the network, generator and turbine acceleration can only be simulated with sufficient accuracy if shaft oscillations are included in the model. Shaft characteristics of wind generators are quite different from other types of generation due to the relatively low stiffness of the turbine shaft. This results in torsional resonance frequencies in a range of about 0.5 to 2 Hz. The proposed model approximates the shaft by a two-mass model, represented by turbine- and generator inertia (see Figure 7). The model according to Figure 7 and Figure 8 represents the turbine inertia and the coupling between turbine- and generator. The generator inertia however, is modelled inside the built-in induction machine model. The generator inertia is specified in the form of an acceleration time constant in the induction generator type. The inertia of the gear-box is not modelled separately but shall be included in the generator inertia. The spring-constant K and the corresponding damping coefficient D are related to the turbine-side. Shaft-models of higher order can easily be implemented by expanding the second order model. For stability analysis however, a second order model provides sufficient accuracy.
Pwind
omega_tur
Shaft
speed_gen pt
11
Xm
Ur
Ur'= e
j r t
Ur
UAC
UDC
Figure 10: Equivalent Circuit of the Doubly-Fed Induction Machine with Rotor-Side Converter
The PWM converter inserted in the rotor circuit allows for a flexible and fast control of the machine by modifying magnitude and phase angle of the rotor voltage. It is assumed that a standard bridge consisting of six transistors builds the converter and that sinusoidal pulse width modulation is applied. In contrast to the normal induction machine model, in which the rotor is short-circuited, the winding ratio between rotor and stator is important for calculating actual DC voltages. The nominal rotor voltage that can be measured at the slip rings under open rotor conditions defines this winding ratio.
12
For load flow calculations and transients initialization, only active power (AC-side), reactive power and the slip have to be specified. Internally, the corresponding modulation factors of the converter (Pmd, Pmq) are calculated and together with the power balance between the AC and DC side of the converter, DC voltage and DC current are obtained. During time domain simulations the converter is controlled through the pulse width modulation indices Pmd and Pmq which define the ratio between DC voltage and the AC-voltage at the slip rings. The modulation indices Pmd and Pmq are defined in a rotor-oriented reference frame. For more details about the built-in DFIG model, please refer to the corresponding Model Description of the Technical Reference
Manual.
P;Q
PQ Control ElmGen*
Current Control *
bypass
Irot
phim
Figure 11: Main Components of the Rotor-Side Converter Controller (Composite Model Frame)
The basic diagram (Frame) of the rotor-side converter controllers is shown in Figure 11. The rotor-side converter is controlled by a two stage controller. The first stage consists of very fast current controllers regulating the machines rotor currents to reference values that are specified by a slower power-controller (second stage). The rotor-side current-controller operates in a stator-flux oriented reference frame. Hence, rotor currents must first be transformed into a stator-flux oriented reference frame (psis_r, psis_i, see Figure 11).
13
Current Control:
bypass
MaxPmq
0
Irq_ref
yi
non-windup PI Kq,Tq
1
MinPmq
uq
Max
x3
2
Irq (1/(1+sT)) Tr
Pmq Pmd
module limiter
1 1
MaxPmd
0
Ird_ref
yi1
non-windup PI Kd,Td
1
o16
MinPmd
x4
Ird (1/(1+sT)) Tr
ud
14
ifd
Rotor-Current Measurement
ifq
Irot
15
Pmq
Rotor-Current Controller
Pmd
16
Rotor-dqTransformation
Pmq
17
3.3.2.2 Power-Controller
PQ Control:
b ypa s..
MaxIfq
0
Pref
1 1
xP
P
(1/(1+sT) Ttr
Max
0
Ifq_ref Ifd_ref
module limiter
1 1
MaxIfd
0
Qref
xQ
x2
4
(1/(1+sT) Ttr
Ifd_ref
PQ-Controller
Ifq_ref
DIgSILENT
18
19
speed-reference to a speed-controller. Replacing the active power controller according to Figure 16 by a speed-controller and connecting an inverse MPT table to the speed-reference point realizes this alternative control scheme.
speed
MPT-Characteristic
Pref
20
Model Descriptions.
The basic diagram of the grid-side controller is shown in Figure 20. The modulation indices of the Converter are imposed from a Current Control through a reference frame transformation (ph-
transf). The Current Control operates in an AC-voltage oriented reference frame. It contains two current control loops: direct
(active-) and quadrature (reactive-) axis current components (id and iq). The reference of the direct axis current component (id_ref) is set by DC voltage control. The reference of the quadrature axis current component (id_ref ) is, kept constant (const. reactive power) in this case. For defining the AC-voltage oriented reference frame, a PLL (phase-locked-loop) is required measuring the voltage angle. The PLL-output is used for transforming the current measurement into the voltage-oriented reference frame (dq-transf) and for transforming the controller outputs (pulse-width modulation indices) back to the global reference frame (ph-transf).
C1
L1 PWM U1
21
udc_ref
iq_ref
udc
id_ref
Current Control ElmCur* Pmq Pmr Pmd ph-transf ElmDq-* Pmi Converter ElmVsc*
Max_Pmd
0
id_ref
id (1/(1+sT)) Tr
x3
0
Max
0
Pmd Pmq
module limiter
1 1
Max_Pmq
2
iq_ref
iq (1/(1+sT)) Tr
x4
DIgSILENT
22
The grid-side controller (Figure 21) is very similar to the rotor-side current controller (Figure 12). However, since it operates in a voltage-oriented reference frame and not in a flux-oriented reference frame the role of d- and q-axis is inverted: the d-axis component defines active-current and the q-axis component defines reactive current.
Id_ref Id Iq_ref Iq
Pmd
Pmq
23
PLL:
sin(x) Kpphi
0
sinphi
0
om _nom
vr
rr
K Kp
dphi dommax
1
dom
om
1/s
vi
ii K/s_lim K dommin
Kiphi
yi
cosphi cos(x)
1
1/(2pi)
Fmeas
DIgSILENT
24
Fmeas
PLL
sinphi cosphi
The input/output definition of the transformation blocks carrying out the transformation from the global reference system to the AC-voltage oriented reference system and back are shown in Figure 26.
ir ii sinphi cosphi
Grid-dqTransformation
id iq
25
id iq sinphi cosphi
PhaseTransformation
ir ii
26
udc_ref
Max_idref
udc
dudc
id_ref
xidref
udc_ref
udc
DC-Voltage Controller
id_ref
27
Ouput id_ref
Units p.u.
28
3.5 Protection
Protection:
DIgSILENT
Irot
CrowBar
speed
bypass Max
u VoltageProt MaxVoltage1,ttripMaxV1, ..
TripVoltage
The Under/Over-Voltage unit supervises the voltage at the HV side of the transformer and has four voltage levels, two for under-voltage and two for over-voltage. If this protective unit triggers the machine breaker is opened. The Under/Over-speed protection unit supervises the generator speed and consists of four levels, two for under-speed and two for over-speed. If this protective unit triggers the machine breaker is opened.
Rs Xs Zrot
Xm
Ur
Ur'= e
j r t
Ur
Additional Impedance
29
The Crow-Bar protection is specific to doubly-fed induction generators and protects the rotor-side converter against overcurrents. When the rotor current exceeds a threshold value, the converter is blocked and bypassed through an additional impedance (see Figure 31). This additional impedance reduces the amount of reactive power absorbed by the machine and improves the torque characteristic during voltage sags. While the Crow-Bar is inserted, the integral actions of the rotor-side controllers are set to zero (see Figure 12 and Figure 16) for minimizing discontinuities in the rotor current when the Crow-Bar is removed. Those discontinuities would eventually lead to subsequent operations of the Crow-Bar protection. When the Crow-Bar is released, the rotor side converter is unblocked. For simulating cases, in which doubly-fed induction generators remain in the system during faults, as recommended by the latest E.ON. guidelines, the operation of the Crow-Bar protection does not open the machine breaker. For simulating synchronous operation of Crow-Bar protection and machine breaker, the model can easily be modified.
Irot speed u
DFIG-Protection
bypass
30
31
4 Simulation Examples
4 Simulation Examples
In this section the behaviour of the proposed DFIG model under different types of system faults is presented.
0.00
2.000
3.000
..
4.000
1.200 0.80 0.40 0.00 -0.400 -0.800 0.00 1.000 PQ Control: Total Active Power (P) 2.000 3.000 .. 4.000
1.200 1.00 0.80 0.60 0.40 0.20 0.00 0.00 1.000 T3WT1: AC Voltage at HV side (u) 2.000 3.000 .. 4.000
DIgSILENT
Plot-1
Figure 33: Three-Phase Fault Far from Wind Generation, Connection Point
32
4 Simulation Examples
5.500
5.000
3.000
0.00
3.000
..
4.000
0.00
3.000
..
4.000
0.50
0.00
0.25
-0.100
-0.500
-0.750
0.00
1.000 2.000 3.000 PWM U1: Grid Side Converter Active Power
..
4.000
-0.400
0.00
1.000 2.000 3.000 PWM U1: Grid Side Converter Reactive Power
..
4.000
DIgSILENT
Plot-2
Figure 34: Three-Phase Fault Far from Wind Generation, Stator- and Grid-Side Results
DIgSILENT
1.000 0.99 0.98 0.97 0.96 0.95 0.94 0.00 G1d: Generator Speed 3.000 2.000 1.000 0.00 -1.000 1.000 2.000 3.000 ..
4.000
0.00
2.000
3.000
..
4.000
4.500 4.400 4.300 4.200 4.100 4.000 0.00 Prime Mover: Wind Power 1.000 2.000 3.000 .. 4.000
DIgSILENT
Plot-3
Figure 35: Three-Phase Fault Far from Wind Generation, Mechanical Variables
DIgSILENT
33
4 Simulation Examples
Figure 33 shows that the total active and reactive power at the connection point is quickly restored. The active power of the stator has an oscillatory component due to torsional oscillations that is almost perfectly damped by the active power controller of the grid-side converter (Figure 34). The speed deviations are not large enough to cause a variation of the blade angles the pitch control.
0.00
2.000
3.000
..
4.000
1.200 0.80 0.40 0.00 -0.400 -0.800 0.00 1.000 PQ Control: Total Active Power (P) 2.000 3.000 .. 4.000
1.200 1.00 0.80 0.60 0.40 0.20 0.00 0.00 1.000 T3WT1: AC Voltage at HV side (u) 2.000 3.000 .. 4.000
DIgSILENT
Plot-1
34
4 Simulation Examples
6.000
8.000
4.000
4.000
2.000
0.00
0.00
-4.000
-2.000
-8.000
-4.000
0.00
3.000
..
4.000
-12.00
0.00
3.000
..
4.000
4.000
3.000
0.00
1.000 2.000 3.000 PWM U1: Grid Side Converter Active Power
..
4.000
-1.000
0.00
1.000 2.000 3.000 PWM U1: Grid Side Converter Reactive Power
..
4.000
DIgSILENT
Plot-2
Figure 37: Three-Phase Fault Close to Wind Generation, Stator- and Grid-Side Results
1.140 1.100 1.060 1.020 0.98 0.94 0.00 G1d: Generator Speed 0.30 0.20 0.10 0.00 -0.100 1.000 2.000 3.000 ..
4.000
0.00
2.000
3.000
..
4.000
4.400 4.300 4.200 4.100 4.000 3.900 0.00 Prime Mover: Wind Power 1.000 2.000 3.000 .. 4.000
DIgSILENT
Plot-3
DIgSILENT
DIgSILENT
35
4 Simulation Examples
0.50
0.75
[s]
1.00
2.00
1.00
-0.00
-1.00
0.25
0.50
0.75
[s]
1.00
0.50
0.75
[s]
1.00
DIgSILENT
36
4 Simulation Examples
7.50
9.00
5.00
6.00
2.50
3.00
0.00
0.00
-2.50
-3.00
-5.00
-0.00
0.50
0.75
[s]
1.00
-6.00
-0.00
0.75
[s]
1.00
3.00
3.00
2.00
2.00
1.00
1.00
0.00
0.00
-1.00
-0.00
0.25 0.50 0.75 PWM U1: Grid Side Converter Active Power
[s]
1.00
-1.00
-0.00
0.25 0.50 0.75 PWM U1: Grid Side Converter Reactive Power
[s]
1.00
DIgSILENT
Active/Reactive Power
Figure 40: Single Phase Fault Close to Wind Generation, Stator- and Grid-Side Results
DIgSILENT
1.14 1.10 1.06 1.02 0.98 0.94 -0.00 G1d: Generator Speed 0.25 0.50 0.75 [s] 1.00
0.15 0.10 0.05 0.00 -0.05 -0.10 -0.15 -0.00 Pitch Control: Blade pitch Angle 0.25 0.50 0.75 [s] 1.00
4.40 4.30 4.20 4.10 4.00 3.90 -0.00 Turbine: Wind Power 0.25 0.50 0.75 [s] 1.00
DIgSILENT
DIgSILENT
37
5 Conclusions
5 Conclusions
The PowerFactory standard library of generic models for simulating DFIG-based wind power plants was described using a typical DFIG-example. The models include the conversion from wind- to mechanical energy, pitch control, maximum power tracking and controllers for the rotor-side- and grid-side converters. The described models can easily be extended for different reactive and active power control schemes. All block diagrams, equations and input/output definitions were presented in this document allowing to use the PowerFactory standard library efficiently. Simulation examples showing the dynamic response of the described models illustrate the validity and accuracy of the presented approach
38