Professional Documents
Culture Documents
Rusejla Sadikovic
Internal report
Zurich, 07.07.2003
The purpose of this report is to verify the model of synchronous machine
in SIMULINK and MATLAB. The system of study is the one machine con-
nected to infinite bus system through a transmission line having resistance
re and inductance xe shown in Figure 1.
Et re Eb
I xe
infinite
bus
vq = −rs iq − xd 0 id + Eq 0 (1)
vd = −rs id + xq 0 iq + Ed 0 (2)
where
rs is the stator winding resistance
xd 0 is the d−axis transient resistance
xq 0 is the q−axis transient resistance
Eq 0 is the q−axis transient voltage
Ed 0 is the d−axis transient voltage
dEd 0
Tqo 0 + Ed 0 = (xq − xq 0 )iq (4)
dt
where
Tdo 0 is the d−axis open circuit transient time constant
1
Tqo 0 is the q−axis open circuit transient time constant
Ef is the field voltage
Torque equation:
Rotor equation:
dω
2H = Tmech − Tel − Tdamp (6)
dt
Tdamp = D∆w (7)
where
Tmech is the mechanical torque, which is constant in this model
Tel is the electrical torque
Tdamp is the damping torque
D is the damping coefficient.
There are two blocks in Figure 2, named ”qde2qdr” and ”qdr2qde”. These
blocks represent the transformation of the synchronously rotating reference
input value to the reference frame rotating with the rotor, and vice versa.
The transformation matrices are:
" # " #
cos δ − sin δ −1 cos δ sin δ
T = and T = (8)
sin δ cos δ − sin δ cos δ
2
Resolving into d and q components gives
vd = re id − xe iq + Ebd (13)
vd = re iq + xe id + Ebq (14)
where the infinite bus voltage is transformed into rotating reference form by
block qde2qdr.
3
3 Ef Edp
Ef iq
id Eqp
Rotor winding
Eqp
1 Vq 1
iqe Edp
IQ2 vqr Vq
2 ide iq
ID2 delta vdr Vd 2
id
Vd
qde2qdr
Stator winding
4
Tmech
id Tmech out_delta 3
Edp
Tel delta
iq Tel dw 4
Eqp
Rotor dw
Torque
4
Eqp Eqpe 5
Edp Eqpe
delta Edpe 6
Edpe
qdr2qde
To Workspace1
IQ VQ
infinitive bus
Scope1
VD
ID delta
delta To Workspace2
Ef Scope2
Efo
Eqpe Clock t
Vref1
To Workspace
Tmech Iq
Tmech Edpe
Tmech f(u)
Syn_gen
Fcn
Mux
1 Id
Vinfr
f(u)
0
Vinfi Fcn1
qde2qdr
Mux1
5
Sb
It = conj (17)
Eb
Eq = Eb + [(rs + re ) + j(xq + xe )]It (18)
delt0 = angle(Eq ) (19)
Eq0 = abs(Eq ) (20)
I = It (cos(δ0 ) + jsin(δ0 )) (21)
Iqo = real(I) (22)
Ido = imag(I) (23)
Ef 0 = Eq0 + (xd − xq )Id0 (24)
Vt = Vi + It (re + jxe ) (25)
St0 = Vt conj(I) (26)
T mech = real(St0 ) (27)
where
Eb - infinite bus voltage phasor
Sb - complex power delivered to infinite bus
It - phasor current of generator
Et - terminal voltage phasor
Eq - Voltage behind q-axis reactance
I - generator current in its rotor reference frame
δ0 - internal rotor angle
Ef 0 - referent input voltage presenting the field voltage
6
Vt - terminal voltage of generator
1.367
1.366
Voltage magnitude [p.u.]
1.365
1.364
1.363
1.362
1.361
1.36
0 5 10 15 20 25 30 35 40 45 50
time [s]
0.512
0.51
0.508
Rotor angle [rad]
0.506
0.504
0.502
0.5
0 5 10 15 20 25 30 35 40 45 50
time [s]
7
In the Figure 6 generator model with the dynamic equations interfaced to
the algebraic equations of the static network is presented. This model is
obtained by equalized stator voltage equations, Eq.1 and Eq.2, and network
constraint equation, Eq. 11, with transient saliency ignored (xd 0 = xq 0 ). The
resulting equation is:
(Ed0 + jEq 0 ) − (Ebd + jEbq ) = [(re + jxe ) + (rs + jxd )](id + jiq ) (28)
According to this equation, Eq. 28, the impedance of the generator is easily
added to network impedance. In the Figure 7 the network block is presented,
where RZ and IZ are the real part and imaginary part respectively of the
common admittance. Figures 8 and 9 present the results of SIMULINK
simulations of the generator voltage and rotor angle, based on this method
which is basically the same as the first method, but if there exist several
generators in the network, the first method is useless.
As can be noticed, the rotor angles for both case are the same, but not the
voltages. The reason is neglecting of saliency in the second case so the id and
iq currents have different values.
8
IQ VQ
infinitive bus
VD Scope1
ID
delta
Efo Ef Scope2
Vref1 Eqpe
iq
1 Eq2
Vref2
9
Ed1
id
0 Ed2
Vref3
network
K
3 2
Ed1 IZ*q id
-
+ Demux
K +
-
4 RZ*d Sum1
Ed2 Sum3
1.1046
1.1046
Voltage magnitude [p.u.]
1.1046
1.1046
1.1046
1.1046
1.1046
0 5 10 15 20 25 30
time [s]
10
0.5089
0.5089
0.5089
0 5 10 15 20 25 30
time [s]
In Figure 10, one machine connected to the infinite bus system is shown,
on the way how is presented in the previous case, shown in Figure 3, but
with exciter and PSS included. Figures 11 and 12 represent the blocks of the
exciter and PSS.
11
infbusexciter
Scope
Vref Vref
Constant
Vt Ef
Vpss IQ1 VQ
f(u) 1
Exciter
VD Vt
Fcn
ID
delta
dw Scope1
Ef
Eqpe
-C- PSS
Tmech Edpe
Constant1
12
dw Vsupp
Syn_gen_ref1
f(u)
1 Fcn1
Constant2 Mux
0 f(u)
Figure 10: SIMULINK model of generator with the exciter and PSS
VRMAX
VPSS
Vref - + Efd
+ KA VR KE
S S S
- 1+sTA + 1+sTE
- -
VRMIN Se
1
1+sTR
sKF
V
1+sTF
VSMAX
Lead / Lag
Rotor speed Gain Washout filter
deviation sTW 1+sT1 1+sT3
1 VPSS
KPSS
1+sTW 1+sT2 1+sT4
2
VSMIN
The absolute value of the terminal voltage and the response of the rotor angle
for the system with the exciter and PSS are shown in Figure 13.
To check is this model correct or not, input referent voltage for the exciter
is set on 1[pu]. The response of the system is in Figure 14.
13
1.4
Voltage magnitude
1.3
1.2
1.1
0 5 10 15 20 25 30 35 40 45 50
0.9
Rotor angle
0.8
0.7
0.6
0.5
0 5 10 15 20 25 30 35 40 45 50
time [s]
Figure 13: Response of generator equipped with the exciter and PSS with
initial condition
1.4
1.35
1.3
1.25
Voltage magnitude
1.2
1.15
1.1
1.05
0.95
0.9
0 5 10 15 20 25 30 35 40 45 50
time [s]
14
Terminal faults on a synchronous machine
1.4
1.3
|Vt|
1.2
1.1
1
0 5 10 15 20 25 30
time [s]
0.8
Rotor angle
0.6
0.4
0.2
0
0 5 10 15 20 25 30
time [s]
15
1.5
1.4
Voltage magnitude
1.3
1.2
1.1
0.9
0.8
0 5 10 15 20 25 30 35 40 45 50
0.9
Rotor angle
0.8
0.7
0.6
0.5
0 5 10 15 20 25 30 35 40 45 50
time [s]
Figure 16: Response of generator equipped with exciter and PSS to 0.2-sec
duration fault on its stator terminal
16
References
Appendix
17