Professional Documents
Culture Documents
Project Report PDF
Project Report PDF
Sourav Ranu
Department of electrical engineering. Indian school of mines, Dhanbad. Abstract: During the summer of 2012 from May 14th 2012 till July 13th a undergraduate from
Indian school of mines decided to work on modelling of wind turbine generators. The main objective of the modelling was to design a robust and efficient models of different generators with Fast s function so that they can be used in determining the performance within a typical public utility electric power system.
Fast s Function: The fast s function code is the most comprehensive aero elastic simulator
capable of predicting both the extreme and fatigue loads of two and three bladed horizontal axis wind turbines. Fast basically stands for Fatigue, Aerodynamic , Structures and Turbulence. Fast code is basically combination of three different codes namely Fast 2 code for 2 axis horizontal axis wind turbines, Fast 3 code for 3 axis horizontal axis wind turbines and AeroDyn subroutines for horizontal axis wind turbines. Some changes were made in the computational loops and in the kinematic calculations of fast code. Simulink has the ability to incorporate Fortran routines in a block called S function. The FAST subroutines were linked with a MATLAB standard gateway subroutine in order to use the FAST equations of motion in an S-Function which can be incorporated in a Simulink model. This has led to a great deal of flexibility in the wind turbine control implementation during simulation. Generator torque control, nacelle yaw control, and pitch control modules now can be designed in the Simulink environment and simulated while making use of the complete nonlinear aero elastic wind turbine equations of motion available in FAST. The wind turbine block shown below contains the S-Function block with the FAST equation of motion. It also contains blocks that integrate the degrees of freedom accelerations to get velocities and displacements.
The FAST archive contains several files that are very much essential to FASTs interface with Simulink and the simulink model to run without any errors. Some of these files are FAST_SFunc.dll,
Simsetup.m, Read_FAST_Input.m.
As we can see the wind turbine model has three inputs and one output. Electrical generated torque and power must be supplied as the first input, Nacelle yaw position and rate demands must be supplied as the second while the blade pitch demand angle for all the blades as the third. Data must be provided in all the inputs for the simulink model to run.
Induction generator model: Basically there are two main types of induction generators
used in the wind energy industries. These are doubly fed induction generator and squirrel cage induction generator. Both of them have the same stator structure only different rotor structure. In developing the induction generator space vector model following assumptions were made: (i) The induction generator is symmetrical in structure and three phase balanced. (ii) The magnetic core of stator and rotor is linear with negligible core losses. The space vector model of induction generator comprises mainly of three equations. These are voltage equations, flux linkage equations, and motion equation. (i) The rotor and stator voltages are given as: Vs=Rs Is + p s + jW s Vr=Rr Ir + p r + j(W-Wr)r Where: Vs , Vr - Stator and rotor voltage vectors(V). Is , Ir- Stator and rotor current vectors(A). s, r Stator and rotor flux linkage vectors(Wb). Rs, Rr- Stator and rotor winding resistance.(Ohm). W- Rotating speed of the arbitrary reference frame (Rad/s) Wr- Rotor electrical speed (Rad/s) p- Derivative operator (p=d/dt) (ii) The second set of equations are the stator and the rotor flux equations.These are as follows:
s = (Lls +Lm) Is + Lm Ir = Ls Is + Lm Ir r = (Llr +Lm) Is + Lm Is = Lr Ir + Lm Is Where: Ls=Lls + Lm Stator self-inductance (H). Lr=Llr + Lm Stator self-inductance (H). Lls,Llr=Lls + Lm Stator and Rotor leakage inductance (H). Lm Magnetizing inductance (H). (iii) The third and final equation deals mainly with the dynamic behaviour of the rotor mechanical speed in terms of the rotor mechanical and electrical torque.
JdW/dt=Te-Tm
Simulation model for Induction Generator: The dq axis model of the induction
generator can be obtained by splitting the space vectors into their corresponding d and q axis components and rearranging them
Fig 4.Q axis equivalent circuit in arbitrary reference frame. The equations are rearranged to get the fluxes as: ds = (Vds-RsIds+W qs)/S qs = (Vqs-RsIqs+W ds)/S dr = (Vdr-RrIdr+(W-Wr)qr)/S qr = (Vqr-RrIqr-(W-Wr)dr)/S We also know that []=[L][I] This leads to [I]=[L]^(-1)[] The motion and the torque equation were given as: Wr=(P/(J*S))(Te-Tm) Te=3P/2(Iqs ds-Ids qs)
Out1
OutData
OutData
Yaw Controller
Out1
Pitch Controller FAST Nonlinear Wind Turbine Fcn f(u) Select LSS speed at entrance to gearbox (rpm) 1 s -KRs Xa
Xa Xb Vds Vqs
Integrator
Lqs
Xb
Xc
abc/dq
Xc
Product1 -KRs1
1 s Integrator1
3 3P/2
Lds
0 Vqr -K-KRr 1 s Product2 wr Integrator2 Lqr -KLm2 Subtract12 Subtract -KProduct3 -KRr1 0 Vdr 1 s Integrator3 Ls2 -KLdr -KLm3 idr Subtract10 1/D4 P wr 2 -K1/J 1 s Integrator4 Subtract9 Ls -K1/D3 iqr
Product6
Power
wm
0 Tm
Simulation Results: We know that during the system transients a very high inrush current
flows and a dc offset appears in all the stator currents Ias , Ibs, Ics. As there is three phase balanced load so all the dc offset currents sum up to zero. As the magnetic field builds up generator core gets magnetized by the stator currents and an electromagnetic torque is produced. As the generator is operating below the synchronous speed it produces the positive torque which accelerates the turbine and the generator finally reaches synchronous speed at which Te=Tm=o and it is in steady state mode.
Abc to dq transformation: We perform the park transformation from abc reference frame to
dq reference frame. The dq reference frame has two axis the direct axis and the quadrature axis .The following transformation is used: Vd=2/3(Va Sin(Wt)+Vb Sin(Wt-2*pi/3)+Vc Sin(Wt+2*pi/3)) Vq=2/3(Va Sin(Wt)+Vb Sin(Wt-2*pi/3)+Vc Sin(Wt+2*pi/3)) Where Wt=theta.
Dynamic model of synchronous generator: In order to simplify the analysis this model
was modelled in synchronous rotor frame. In the rotor circuit the field current is represented by constant current source If.
=Amplitude of the flux induced by the permanent magnets of the rotor in the stator phases
P=Number of pole pairs
Te=Electromagnetic torque
Fig 6. Simplified DQ axis equivalent circuit in arbitrary reference frame. Id and Iq can also be written as: Id=1/S(Vd-Rid+LqPWrIq)/Ld Iq=1/S(Vq-Riq-LqPWrId-PWr)/Lq Here s represents the laplace parameter and 1/s is the integrator. Now, Wr= (P/J)*(1/S)*(Te-Tm) Where Wr is the rotor speed.
The simulink block diagram of permanent magnet synchronous generator with FAST s function:
2*pi/3 sin
Wr
sin
Wr
Vds Theta
theta
Ids Vcs
2*pi/3
Vqs
Te
Te 2/3 Gain1
Iqs
Iqs simpowermodel
cos
cos 2*pi/3
cos
2*pi/3
Simpowermodel subsystem:
Out1
OutData
OutData
Yaw Controller
Out1
Pitch Controller FAST Nonlinear Wind Turbine Fcn f(u) Select LSS speed at entrance to gearbox (rpm)
P Wr Iq Lq
1 Wr
3 Scope 1 s Ids -K1/Ld Ld Id -KRs 6 -KRs1 1 s Iqs -K1/Lq Lq Iq Ld Id Iq 5 Iqs 3P/2 4 Te Lq Iq Id Lq P Wr Iq Ids
P Wr 4 P
1 Vds 2 Vqs
1 s
2 Theta
L r P Wr
Ld Id P Wr
P Wr
Yr P Wr -CYr Yf Iq
Future work:
(i) (ii) (iii) (iv) Testing the model with faults (both one phase and three phase). Building a model of converter and to control the speed of the generators. Running an actual setup on the basis of the simulation parameters. Modelling s function based on our own parameters so that it will be easy to use it in future.
References:
(i) (ii) (iii) (iv) Power Conversion and Control of Wind Energy Systems, Wiley publications, IEEE Press, By (Bin Wu, Yongqiang Lang, Navid Zargari, Samir Kouro) FAST User`s Guide by Jason M. Jonkman and Marshall L.Buhl.Jr, Technical Report NREL/EL-500-38230, August 2005. Matlab/Simulink Help section. Modelling and Control of direct driven PMSG for ultra large wind turbines by Ahmed M.Hemeida, Wael A.Farag, Osama A.Mahgoub, World Academy of Science Engineering and Technology.
Modelling wind turbine generators in MATLAB/Simulink , determining performance within a typical public utility electric power system
By: Sourav Ranu Dept. of Electrical Engineering, Indian School Of Mines, Dhanbad. Project Sponsor: Dr. Herbert Hess.