Documente Academic
Documente Profesional
Documente Cultură
sciences
Article
A Tutorial on Dynamics and Control of Power
Systems with Distributed and Renewable Energy
Sources Based on the DQ0 Transformation
Yoash Levron 1, * , Juri Belikov 2 and Dmitry Baimel 3
1 The Andrew and Erna Viterbi Faculty of Electrical Engineering, Technion—Israel Institute of Technology,
3200003 Haifa, Israel
2 Department of Computer Systems, Tallinn University of Technology, Akadeemia tee 15a,
12618 Tallinn, Estonia; juri.belikov@ttu.ee
3 Shamoon College of Engineering, 84100 Beer-Sheva, Israel; dmitrba@sce.ac.il
* Correspondence: yoashl@ee.technion.ac.il; Tel.: +972-4-829-5923
Received: 24 August 2018; Accepted: 14 September 2018; Published: 14 September 2018
Keywords: power systems; renewable energy; dq0 transformation; dynamics; power flow;
time-varying phasors
1. Introduction
Power system dynamics is an important part of power system theory in general, and a subject
that must be well understood to support the world growing energy demands [1]. Recently, due to
increasing integration of fast renewable and distributed energy sources, power systems are undergoing
significant changes. One of the main barriers for integrating renewable sources today is that the
impact of these sources on the system dynamics and stability is not yet fully understood, where several
systematic issues are power balancing, low system inertia, and stability [2–5].
Traditionally, the system dynamics is largely governed by the response of synchronous generators
with high rotational inertia, and as a result, dynamic processes are analyzed based on the approximation
of time-varying phasors [4,6–8]. A key assumption in time-varying phasor models is that transients
are relatively slow in comparison to the system frequency. However, this assumption may not hold if a
significant amount of power is being generated by renewable and/or distributed energy sources with
low inertia. In this case, the system cannot be modeled using time varying phasors, and alternative
models should be used [9,10].
One alternative to time-varying phasors are models that are based on Direct-Quadrature-Zero
(DQ0) transformation. Similarly to time-varying phasors, dq0 models lead to time-invariant models,
with well-defined equilibrium points. The dq0 transformation is also accurate, since it preserves the
information of the original signals, and therefore describes the system well at high frequencies [11–13].
Due to these advantages, several recent works present models that are based on dq0 signals. A few
examples are synchronous machines [13–15], renewable energy sources [16–19], microgrids [20–22]
and complete networks [20,23,24]. See [25] for a more detailed survey.
In light of these developments, this paper is a tutorial to power system dynamics, based on the
dq0 transformation. We recall basic concepts of this transformation, and explain how to model essential
components such as passive networks, generators, and inverters, and how to systematically construct
dq0-based models of complex systems. We also discuss the relations between dq0-based models and
classic time-varying phasor models. Specifically, we highlight the idea that dq0 models may be viewed
as a natural extension of time-varying phasor models, and discuss the correct use and validity of
each approach. The material presented in this paper summarizes the results of several recent works,
for instance [11,20,22–25], and rearranged to be accessible at the undergraduate level.
and
cos (θ ) − sin (θ ) 1
Tθ−1 = cos θ − 2π − sin θ − 2π
3 1 . (2)
3
cos θ + 2π 3 − sin θ + 2π 3 1
Note that several variations of (1) are available in the literature [2,20,29]. The angle θ is called
here the reference angle or reference phase, and we will discuss different selections of it in the following
Appl. Sci. 2018, 8, 1661 3 of 48
sections. Direct multiplication of these matrices reveals that Tθ Tθ−1 = Tθ−1 Tθ = I3×3 . Other useful
identities are provided in Appendix A.
The dq0 transformation maps three-phase signals in the abc reference frame to new quantities in a
rotating dq0 reference frame. Denote x abc = [ x a , xb , xc ]T and xdq0 = [ xd , xq , x0 ]T , then xdq0 = Tθ x abc and
x abc = Tθ−1 xdq0 , where the subscripts d, q, and 0 represent the direct, quadrature, and zero components.
A fundamental property of the dq0 transformation is that it maps symmetric AC signals to constants.
For instance, consider a three-phase voltage source modeled as
v a = A cos (ωs t) + B,
2π
vb = A cos ωs t − + B,
3 (3)
2π
vc = A cos ωs t + + B.
3
and therefore vd = A, vq = 0, v0 = B. The sinusoidal signals in the abc reference frame are mapped to
constant signals in the dq0 reference frame (see Figure 1).
3
abc signals
2 va
1 vb
vc
0
-1
0 10 20 30 40 50
2
dq0 signals
vd
1 vq
v0
0
0 10 20 30 40 50
Time [ms]
• Recall that balanced three-phase signals are sinusoidal signals with equal magnitudes,
phase shifts of ±120◦ , and a sum of zero.
• We say that a power network is balanced or symmetrically configured if balanced three-phase
voltages at its ports result in balanced three-phase currents, and vice versa. Two examples are
shown in Figure 2.
In this paper we use the term balanced when referring to signals, and symmetrically configured
when referring to networks and systems. The following discussion focuses on networks that are
symmetrically configured. Networks which are not symmetrically configured will be discussed next.
Appl. Sci. 2018, 8, 1661 4 of 48
L L
L L
L 2L
a b
Multiply both sides of the equation by the dq0 transformation Tθ (from the left) to obtain
vd id
vq = R iq . (6)
v0 i0
This is the dq0 model of a symmetrically configured three-phase resistor. Now assume a
symmetrically configured three-phase inductor L, which is modeled as
va ia
d
vb = L ib . (7)
dt
vc ic
By direct computation, it can be verified that the derivative of the inverse dq0 transformation is
d −1
T = − Tθ−1 W (10)
dt θ
with
d
0 dt θ 0
d
W = − dt 0 0 . (11)
θ
0 0 0
Appl. Sci. 2018, 8, 1661 5 of 48
This is the dq0 model of a symmetrically configured inductor. The explicit expressions are
d dθ 1
i = iq + vd ,
dt d dt L
d dθ 1
iq = − id + vq , (14)
dt dt L
d 1
i0 = v0 .
dt L
Note that the quadrature component affects the direct component, and vice versa. Similarly,
the dynamic model of a symmetrically configured capacitor C is
vd vd id
d 1
vq = W vq + iq . (15)
dt C
v0 v0 i0
i a (t) v a (t)
ib (t) vb (t)
Unit Network
ic (t) vc (t)
The instantaneous power flowing from the unit into the network at time t is
P3φ = v a i a + vb ib + vc ic . (16)
and therefore
i 1 0 0 id
3h 3
P3φ = vd vq v0 0 1 0 i q = vd id + vq iq + 2v0 i0 . (19)
2 2
0 0 2 i0
This expression defines the total instantaneous power in terms of dq0 quantities.
ia L
v a,1 v a,2
ib L
vb,1 vb,2
ic L
vc,1 vc,2
1 2
E= L i a + i2b + i2c , (20)
2
Rewrite this expression as
T T
1 h i ia 1
id id
E = L ia ib ic ib = L Tθ−1 iq Tθ−1 iq
2 2
ic i0 i0
(21)
T id
1 h i
−1 −1
= L id iq i0 Tθ Tθ iq .
2
i0
or equivalently,
3 2
E= L id + i2q + 2i02 . (23)
4
Similarly, the energy stored in a symmetrically configured three-phase capacitor C is
3 2
E= C vd + v2q + 2v20 . (24)
4
Appl. Sci. 2018, 8, 1661 7 of 48
In addition, we will now show that the derivative of energy is power, as expected. Referring to
the circuit in Figure 4, the product rule yields
diq
d 3 did di0
E = L id + iq + 2i0 . (25)
dt 2 dt dt dt
or more simply,
d 3 3
E= v i + vq,1 iq + 2v0,1 i0 − v i + vq,2 iq + 2v0,2 i0 , (27)
dt 2 d,1 d 2 d,2 d
which is identical to
d
E = P1 − P2 . (28)
dt
The change in stored energy is equal to the sum of powers flowing into the inductor.
Tθ−1
Tθ 0 0
Λθ = .. Λ− 1 ..
, θ = , (30)
. .
0 Tθ 0 Tθ−1
d −1 1 d
Λθ xdq0 + Λ− x = AΛ− 1
θ xdq0 + Bu. (31)
dt θ dt dq0
−1
Derivative of the inverse dq0 transformation is given by dt ( Λθ )
d
= −Λ− 1
θ Wc , where
W
0 0 d
0
dt θ
Wc =
.. ,
d
W = − dt 0 0 .
(32)
. θ
0 W 0 0 0
d
xdq0 = Λθ AΛ− 1
+ Wc xdq0 + Λθ Bu. (33)
dt θ
This equation describes the dynamics of the system based on dq0 quantities. Note that in general
this model depends on θ (t), and is not time-invariant. However, for the special case of symmetrically
configured networks, it is typically true that Λθ A = AΛθ , and therefore Equation (33) takes the form
Appl. Sci. 2018, 8, 1661 8 of 48
d
x = ( A + Wc ) xdq0 + Λθ Bu, (34)
dt dq0
which often results in a linear and time-invariant model. As an example, consider the circuit in Figure 5.
L R
v a,1 v a,2
L R
vb,1 vb,2
L R
vc,1 vc,2
In this example Λθ = Tθ . As a result, the dynamic model in the dq0 reference frame is
d
i = ( A + W )idq0 + Λθ Bu, (36)
dt dq0
which yields
id id v a,1 − v a,2
d
iq = ( A + W ) iq + Tθ B vb,1 − vb,2 , (37)
dt
i0 i0 vc,1 − vc,2
or
d
id 1 0 0 0 dt θ 0 id v a,1 − v a,2
d R d 1
i q = − 0 1 0 + − dt 0 0 iq + Tθ vb,1 − vb,2 . (38)
θ
dt L L
i0 0 0 1 0 0 0 i0 vc,1 − vc,2
This last equation can be written as
i −R d
dt θ 0 id vd,1 − vd,2
d d dL 1
iq = − dt θ − RL 0 iq + vq,1 − vq,2 , (39)
dt L
i0 0 0 − RL i0 v0,1 − v0,2
d
and choosing the reference frame such that dt θ = ωs leads to
i −R ωs 0 id vd,1 − vd,2
d d L 1
iq = − ωs − RL 0 iq + vq,1 − vq,2 . (40)
dt L
i0 0 0 − RL i0 v0,1 − v0,2
ia L R
ib L R
ic L R
+ + + + + +
v a,1 ∼ vb,1 ∼ vc,1 ∼ vc,2 ∼ vb,2 ∼ v a,2 ∼
− − − − − −
R g,1 R g,2
− RL
0 0
Λθ AΛ−
θ
1 0
= − RL .
(42)
R+3( R g,1 + R g,2 )
0 0 − L
d R 1
id = − id + ωs iq + (vd,1 − vd,2 ),
dt L L
d R 1
iq = −ωs id − iq + (vq,1 − vq,2 ), (43)
dt L L
d 1 1
i0 = − ( R + 3( R g,1 + R g,2 ))i0 + (v0,1 − v0,2 ).
dt L L
Note that in this case Λθ A 6= AΛθ , nevertheless the resulting dq0 model is linear and
time-invariant.
The expressions for id , iq are identical to the expressions in (40), and are unaffected by the mutual
resistors R g,1 and R g,2 . These resistors affect only the zero component, which according to (1) represents
the average current i0 = 31 (i a + ib + ic ). Specifically, if R g,1 + R g,2 → ∞, the average current i0 tends to
zero, but id , iq are unaffected.
This example may explain how a transformer with isolation between the primary and secondary
coils helps to balance the system, by attenuating the current zero component.
Assuming that variations in the magnitude A(t) and phase ψ(t) are slow in comparison to the
nominal system frequency ωs , these voltages may be represented by the time-varying phasor
A(t)
V (t) = √ e jψ(t) . (45)
2
In addition, based on (2) with θ (t) = ωs t, and using trigonometric identity cos(α + β) =
cos(α) cos( β) − sin(α) sin( β),
va A(t) cos (ωs t + ψ(t))
vb = A(t) cos ωs t + ψ(t) − 2π
3
2π
vc A(t) cos ωs t + ψ(t) + 3
(46)
cos (ωs t) − sin (ωs t) 1 A(t) cos (ψ(t)) vd
= cos ωs t − 2π ωs t − 2π 1 A(t) sin (ψ(t)) = Tω−s1t vq ,
− sin
3 3
cos ωs t + 2π 3 − sin ωs t + 2π 3 1 0 v0
and therefore
vd (t) = A(t) cos(ψ(t)),
vq (t) = A(t) sin(ψ(t)), (47)
v0 (t) = 0.
Note that in this paper quasi-static systems are assumed to be balanced, and therefore v0 (t) = 0.
Following (45) and (47), if the system is quasi-static, time-varying phasors relate to dq0 quantities by
A(t) A(t) 1
V (t) = √ e jψ(t) = √ (cos(ψ(t)) + j sin(ψ(t))) = √ vd (t) + jvq (t) ,
(48)
2 2 2
or alternatively, √ √
vd (t) = 2 Re{V (t)}, vq (t) = 2 Im{V (t)}. (49)
Using this result, in a quasi-static system, the powers, amplitude and phase relates to dq
quantities by
1
P(t) = Re {V (t) I ∗ (t)} =
v d ( t )i d ( t ) + v q ( t )i q ( t ) ,
2
∗ 1
Q(t) = Im {V (t) I (t)} = v q ( t )i d ( t ) − v d ( t )i q ( t ) ,
2 (50)
2 2 1
|V (t)|2 = Re {V (t)} + Im {V (t)} = v2 (t) + v2q (t) ,
2 d
∠V (t) = atan2(vq , vd ).
Assume now a symmetrically configured linear network with N buses. The network is described
by the admittance matrix Y (s). In a quasi-static system, the network equations are given by
This expression applies only to a quasi-static network. Note that the admittance matrix is constant,
and is evaluated at a single frequency s = jωs .
We will now generalize this result, and obtain an equivalent expression for a network that is not
quasi-static. Define the dq signals vd,n , vq,n to be the voltages on bus n, and id,n , iq,n to be the injected
currents into bus n. In addition, define the vectors Vd = [vd,1 , . . . , vd,N ]T and Id = [id,1 , . . . , id,N ]T , etc.
Using a reference angle θ (t) = ωs t, the network is described by
" # " #" #
Id (s) N1 ( s ) j N2 ( s ) Vd (s)
= , (54)
Iq (s) − j N2 ( s ) N1 ( s ) Vq (s)
where
1
(Y (s + jωs ) + Y (s − jωs )) ,
N1 ( s ) : =
2 (55)
1
N2 (s) := (Y (s + jωs ) − Y (s − jωs )) ,
2
A proof for these equalities is provided [24]. This model applies to any symmetrically configured
linear network. At low frequencies, assuming s → 0, it may be verified that
1 1
N1 ( s ) ≈(Y ( jωs ) + Y (− jωs )) = (Y ( jωs ) + Y ∗ ( jωs )) = Re{Y ( jωs )},
2 2 (56)
1 1
N2 (s) ≈ (Y ( jωs ) − Y (− jωs )) = (Y ( jωs ) − Y ∗ ( jωs )) = j Im{Y ( jωs )},
2 2
and therefore the dq0 model in (54) and the quasi-static model in (53) are equivalent. This result
explains why dq0 models may be viewed as an extension of quasi-static models.
In other words, quasi-static models use time-varying phasors, and are therefore accurate only at
frequencies much lower than ωs . In comparison, dq models are accurate over a wider frequency range.
For s → 0, both models are equivalent [11]. As an example, consider again the symmetrically
configured three-phase inductor, which dynamic model is given in (14). Assuming θ = ωs t and v0 = 0,
d
vd = −ωs Liq + L i ,
dt d (57)
d
vq = ωs Lid + L iq .
dt
This is the accurate model of a symmetrically configured 3-phase inductor. In addition,
the admittance matrix describing the inductor is Y = 1/( jωs L), and the quasi-static model is I = jω1s L V.
By taking the real and imaginary parts of the equation, and using the relations between dq signals and
phasors in (49), equivalent expressions for the quasi-static model are
vd = −ωs Liq ,
(58)
vq = ωs Lid .
Direct comparison of (57) and (58) reveals that both models are similar, except for the additional
time derivative terms in the dq model, which describes high frequency effects. At low frequencies,
when these time-derivatives are negligible, the two models are identical.
Appl. Sci. 2018, 8, 1661 12 of 48
Remark 1 (Equilibrium points). For balanced systems, since quasi-static models and dq models are equivalent
for s → 0, the equilibrium points of both models are the same, and may be computed by solving the system’s
power flow equations.
1
P(t) = Re {V (t) I ∗ (t)} =
v d ( t )i d ( t ) + v q ( t )i q ( t ) ,
2 (61)
∗ 1
Q(t) = Im {V (t) I (t)} = v q ( t )i d ( t ) − v d ( t )i q ( t ) .
2
Moreover, since we assume that quasi-static systems are balanced, the instantaneous (three-phase)
power is constant over a line cycle:
3
P3φ = v a i a + vb ib + vc ic = vd id + vq iq + 2v0 i0 = 3P(t). (62)
2
This last equality is one of the greatest advantages of three-phase systems. While a single-phase
system provides alternating power, a balanced three-phase system provides constant power over
a line cycle. As a result, three-phase devices with constant power output do not need to store
significant energy, and can be made small and efficient. This idea is illustrated in Figure 7.
va ia vb ib vc ic
v a i a + vb ib + vc ic = 3P
Figure 7. While a single-phase system provides alternating power, a balanced three-phase system
provides constant power over a line cycle.
Appl. Sci. 2018, 8, 1661 13 of 48
2 1
id , iq
infinite bus
R L
∼ C P
1
(v i + vq,1 iq ) = P,
2 d,1 d (63)
1
(v i − vd,1 iq ) = 0,
2 q,1 d
meaning that under a quasi-static approximation the active power is P, and the reactive
power is zero.
• The infinite bus has an RMS voltage of Vg , and a frequency of ωs .
• We use a dq0 transformation with a reference angle θ (t) = ωs t.
The quasi-static model has no dynamic states. The voltages, currents and powers may be found
by solving the power flow equations, where bus 1 is a PQ bus (P, Q known, |V |, δ unknown), and bus 2
is the reference bus (|V |, δ = 0 known, P, Q unknown). Since the quasi-static model does not describe
the system dynamics, it provides no information regarding the system stability. Even if the power flow
equations has a solution, the system may be either stable or unstable.
We will now describe the accurate system dynamics based on dq signals. The following analysis
shows that if R = 0 and C = 0, then the system is unstable. The infinite bus is described by
√
vd,2 = 2Vg ,
(64)
vq,2 = 0.
d 1
id = ωs iq + (vd,1 − vd,2 ),
dt L (65)
d 1
iq = −ωs id + (vq,1 − vq,2 ).
dt L
The power source is modeled as in (63). We choose to view it as a controlled voltage source.
To this end, solving (63) with respect to the voltages yields
Appl. Sci. 2018, 8, 1661 14 of 48
" # " #
vd,1 2P id
= 2 2
. (66)
vq,1 id + iq iq
The poles of the system are found by computing the roots of the characteristic polynomial, which is
given for a second-order system by
• If det( A) > 0, there is a pole in the right half of the complex plane, and the system is unstable.
• If det( A) ≤ 0, there is a complex conjugate pair of poles on the imaginary axis, and additional
analysis in simulation reveals that the system is unstable.
Why is the system unstable with zero resistance and capacitance? One explanation is that the
power source on the right has no local energy storage device. In this example, if the capacitor C is
present and is sufficiently large, then the system is stable. The conditions for stability are fully
R |V |2
analyzed in [33]. For instance, assuming 0 < P < 2| Z |2
the condition for stability is
P
C > Cmin = r 2 . (70)
R
ωs |V |2 1+ 2ωs L
and voltages in the stator. This is not necessarily the case in other machines. For example, in an
induction machine, the rotor must rotate slightly slower than the AC current frequency.
b0
IF a N c
Rotor
c0 S a0
Note that the machine model includes many different symbols. Appendix B.1 summarizes the
most important symbols and definitions. Appendix B.2 shows several default values, which may be
used in a basic simulation.
poles
θ= θm , (71)
2
where
• θ is the rotor electrical angle, with respect to a fixed point on the stator.
• θm is the rotor mechanical angle, with respect to a fixed point on the stator.
• “poles” is the number of magnetic poles on the rotor (must be even).
In addition, ω = dθ/dt is the rotor electrical frequency, and ωm = dθm /dt is the rotor mechanical
frequency. Following (71),
poles
ω= ωm . (72)
2
Both frequencies are measured in rad/s. We also define ωs to be the nominal grid frequency.
For instance, ωs = 2π50 or 2π60 rad/s.
Appl. Sci. 2018, 8, 1661 16 of 48
d 1
ωm = ( Tm − Te ), (73)
dt J
where J is the rotor moment of inertia, Tm is the mechanical torque, and Te is the electric torque.
In addition, the relations between torques and powers are given by
2
pm = Tm ωm = Tm ω,
poles
(74)
2
pe = Te ωm = Te ω,
poles
where pm is the mechanical power accelerating the rotor, pe is the electric power decelerating the rotor.
Equations (72) and (73) yield
d poles
ω= ( Tm − Te ), (75)
dt 2J
and combination of (74) and (75) results in
2
d poles 1 ωs
ω= ( p m − p e ) = K ( p m − p e ), (76)
dt 2 Jω ω
poles 2 1
where K = 2 Jωs . Under the approximation ω ≈ ωs , this is the classic swing equation. However,
in this section we do not use this approximation, and work directly with the exact expression in (75).
In addition, we assume that the mechanical torque is governed by a droop mechanism,
poles 1
Tm = 3Pre f − ( ω − ωs ) , (77)
2ωs D
where Pre f is the reference power (defined with respect to a single phase), and D is the droop control
damping factor. Note that this equation assumes a simplified linear relation between frequency
and torque, and ignores the dynamics of the mechanical system. Substituting (77) into (75) results in
d 2 1
ω = K 3Pre f − ωs Te − (ω − ωs ) . (78)
dt poles D
This equation defines the dynamics of the frequency ω, with respect to the electric torque Te .
Although these assumptions may seem restrictive, they form the basis of the classic dq0 model,
and have been found to give excellent results in a wide variety of applications.
Appl. Sci. 2018, 8, 1661 17 of 48
where
d d
va = − Ra ia + λa , vb = − Rb ib + λ ,
dt dt b (80)
d d
vc = − Rc ic + λc , vf = Rf if + λf ,
dt dt
where
The self- and mutual inductances in (79) depend on the rotor position. The stator self-inductances
are given by
` aa = L aa + L g2 cos(2θ ),
`bb = L aa + L g2 cos(2θ + 120◦ ), (81)
◦
`cc = L aa + L g2 cos(2θ − 120 ),
and the stator-to-stator mutual inductances are
where L aa is a positive constant, and L ab is a negative constant. These inductances are composed of a
constant term, in addition to a sinusoidal term varying with 2θ. This additional term is required in
case the rotor is not perfectly round (causing “saliency effects”). In addition, the stator-to-rotor mutual
inductances are
` a f = ` f a = L a f cos(θ ),
`b f = ` f b = L a f cos(θ − 120◦ ), (83)
`c f = ` f c = L a f cos(θ + 120◦ ),
and the field winding self-inductance is
` f f = L f f = const. (84)
Appl. Sci. 2018, 8, 1661 18 of 48
The model defined by the above equations does not have an equilibrium point, since the
inductances depend on the rotor angle θ, which is time dependent. To this end, we convert the
equations to the dq0 domain. Omitting the algebraic details, this yields
λd = − Ld id + L a f i f , λq = − Lq iq ,
3 (85)
λ0 = − L0 i0 , λ f = − L a f id + L f f i f ,
2
and
d d
vd = − R a id + λ − ωλq , vq = − R a iq + λq + ωλd ,
dt d dt (86)
d d
v0 = − R a i0 + λ0 , vf = Rf if + λf ,
dt dt
where
• vd , vq , v0 are the dq0 transformation of v a , vb , vc (stator voltages).
• λd , λq , λ0 are the dq0 transformation of λ a , λb , λc (stator flux linkages).
• Ld is called the direct-axis synchronous inductance.
• Lq is called the quadrature-axis synchronous inductance.
• L0 is called the zero-sequence inductance.
Notes:
1. The reference angle for the dq0 transformation is the rotor electrical angle θ.
2. The dq0 variables do not depend directly on θ, and define a time-invariant model.
The inductances in (86) are given by
3
Ld = L aa − L ab + L g2 ,
2
3 (87)
Lq = L aa − L ab − L g2 ,
2
L0 = L aa + 2L ab .
Throughout this section we use the inductances Ld , Lq , L0 directly, and do not use the original
machine inductances L aa , L ab , L g2 . We also define the synchronous inductance as
1
Ls = ( L + L q ). (88)
2 d
For a perfectly round rotor with L g2 = 0, we have Ls = Ld = Lq . To complete the basic model,
the machine output power (three-phase power flowing out of the stator and into the grid) is
3
ps = (v i + vq iq + 2v0 i0 ), (89)
2 dd
and the electric power decelerating the rotor is
3
pe = ω ( λ d i q − λ q i d ). (90)
2
Following (90), the electric torque is given by
pe 3 poles
Te = = ( λ d i q − λ q i d ). (91)
ωm 2 2
A complete state-space model of the synchronous machine is obtained by merging the equations
above. Using Equations (78), (85), (86) and (91), and again omitting the algebraic details, yields
Appl. Sci. 2018, 8, 1661 19 of 48
d
θ = ω,
dt
3βωs − 6L f f Lq ωs 3L a f ωs
d 1
ω = K 3Pre f − (ω − ωs ) + λd λq + λq λ f ,
dt D 2βLq β
d 2R a L f f 2R a L a f
λd = − λd + ωλq + λ f + vd ,
dt β β
(92)
d Ra
λq = −ωλd − λq + vq ,
dt Lq
d Ra
λ0 = − λ0 + v0 ,
dt L0
d 3R f L a f 2R f Ld
λ = λd − λf + vf ,
dt f β β
poles 2 1
where the inputs are vd , vq , v0 , v f , Pre f , and the constants are defined as K := 2 Jωs ,
β := 2Ld L f f − 3L2a f . Several optional outputs (in addition to the state variables) are
2L a f 2L f f 1
id = λf − λ , iq = − λq ,
β β d Lq
2Ld 3L a f 1
if = λf − λ , i0 = − λ0 ,
β β d L0
3 poles 3 (93)
Te = ( λ i q − λ q i d ), pe = ω ( λ i q − λ q i d ),
2 2 d 2 d
poles 1 ω 1
Tm = 3Pre f − (ω − ωs ) , pm = 3Pre f − (ω − ωs ) ,
2ωs D ωs D
3
ps = (v i + vq iq + 2v0 i0 ).
2 dd
Following are two examples demonstrating how to use the model above in simulation. Consider
first a synchronous generator feeding a symmetrically configured resistive load R L . We wish to
simulate the transient that follows a sudden 3-phase short circuit at the armature terminals. A signal
flow diagram of the simulation is shown in Figure 10. Using the state-space description in (92),
the currents id , iq , i0 are inputs to the machine’s model, and the voltages vd , vq , v0 are its outputs.
Under normal operating conditions, the ratio between the voltages and currents is R L . When the short
occurs, the voltages vd , vq , v0 are zeroed, and a transient takes place. Basic default parameters may be
found in Appendix B.2.
idq0
Pre f sync. RL
normal
machine operation
vdq0
Vf model
short-
0 circuit
switch
if ps
Figure 10. Simulating a sudden 3-phase short circuit at the armature terminals.
As a second example, consider the system shown in Figure 11. A signal flow diagram is shown in
Figure 12.
Appl. Sci. 2018, 8, 1661 20 of 48
load
i v i0 v0 i00
R L
C C
sync. 2 2 RL
machine
Figure 11. Example: synchronous machine connected to a medium length transmission line and load.
(a) One-line diagram; (b) Single-phase diagram.
0
idq0 00
idq0
+ − + −
Pre f sync. idq0
R-L
capacitor dq0 model capacitor 1
machine RL
dq0 model dq0 model
Vf model
+ −
vdq0 v0dq0
ω ps
Figure 12. Signal flow diagram for a synchronous machine connected to a medium length transmission
line and load.
d 1
v = ωvq + (i − id0 ),
dt d C/2 d
d 1
vq = −ωvd + (iq − iq0 ), (94)
dt C/2
d 1
v0 = (i0 − i00 ).
dt C/2
d 0 1
v = ωv0q + (i0 − id00 ),
dt d C/2 d
d 0 1
vq = −ωv0d + (i0 − iq00 ), (95)
dt C/2 q
d 0 1
v = (i0 − i000 ),
dt 0 C/2 0
Note that these equations depend on ω, which is an output of the machine’s model. It is also
possible to approximate ω ≈ ωs , to eliminate this dependency.
Appl. Sci. 2018, 8, 1661 21 of 48
λd = − Ls id + L a f I f ,
λq = − Ls iq , (97)
3
λ f = − L a f id + L f f I f ,
2
and
d
vd = − R a id + λ − ωλq ,
dt d
d
vq = − R a iq + λq + ωλd , (98)
dt
d
vf = Rf If + λf .
dt
Substitution of (97) in (98) yields
d
vd = − R a id − Ls i + ωLs iq ,
dt d
d
vq = − R a iq − Ls iq − ωLs id + ωL a f I f , (99)
dt
3 d
v f = R f I f − L a f id .
2 dt
Note that v f does not affect the other quantities, and may be considered an output of the model.
We now define the constant voltage
VE = ωs L a f I f = const. (100)
d
vd = − R a id − Ls i + ωLs iq ,
dt d
(101)
d ω
vq = − R a iq − Ls iq − ωLs id + VE ,
dt ωs
Using these expressions, the machine can be modeled as a source of induced EMF behind a
series impedance, as shown in Figure 13. The induced EMF is given by ed = 0, eq = ωωs VE , ed = 0,
where [ed , eq , e0 ]T is the dq0 transformation of [ea , eb , ec ]T .
ea
Ra Ls
− + va
eb
Ra Ls
− + vb
ec
Ra Ls
− + vc
Figure 13. The simplified machine model is equivalent to a voltage source behind a series inductance
and resistance.
Notes:
1. The induced EMF is proportional to the frequency, where at steady-state and at nominal frequency
the induced EMF (peak value) is VE = ωs L a f I f .
2. The induced EMF is equal to the machine’s open-circuit voltage. This can be seen in Figure 13,
assuming that the stator currents are zero.
In addition, using (91), (97), and (100), the electric torque acting on the rotor is
d
θ = ω,
dt (105)
d 1 3
ω = K 3Pre f − (ω − ωs ) − VE iq ,
dt D 2
where the inputs are Pre f and iq . Several optional outputs (in addition to the state variables) are
ω
ed = 0, eq = VE , e0 = 0,
ωs
3 poles 3 ω
Te = VE iq , pe = VE iq , (106)
2 2ωs 2 ωs
poles 1 ω 1
Tm = 3Pre f − (ω − ωs ) , pm = 3Pre f − (ω − ωs ) .
2ωs D ωs D
All dq0 quantities here are defined in the rotor reference frame, with respect to the angle θ.
Appl. Sci. 2018, 8, 1661 23 of 48
dωm
and using dt = 1J ( Tm − Te ), yields
d
Erot = ωm Tm − ωm Te = pm − pe . (108)
dt
This is an intuitive result: the change in kinetic energy is equal to the difference between the
mechanical and electric powers. In addition, the magnetic energy derivative is
diq
d 3 di
EL = Ls id d + iq . (109)
dt 2 dt dt
Using (102),
d 3 ω
EL = id − R a id + ωLs iq − vd + iq − R a iq − ωLs id + VE − vq
dt 2 ωs
3 ω 3 3 2
= VE iq − (vd id + vq iq ) − R a id + i2q
2 ωs 2 (110)
| {z } | {z } |2 {z }
pe ps ohmic loss
3
= pe − ps − R a i2d + i2q .
2
The change of energy stored in the inductor is equal to
• + pe is the electric power decelerating the rotor. This is also the power generated by the EMF
source, as shown below.
• − ps is the machine’s output power.
• − 23 R a i2d + i2q is the ohmic power loss on the armature resistance.
3 ω 3 ω 3
pe = VE iq = 0 · id + VE · iq + 2 · 0 · 0 = ed id + eq iq + 2e0 i0 . (111)
2 ωs 2 ωs 2
ploss
pe pe − ploss
⇒ ⇑ ⇒
ea Ra Ls
rotor
− +
pm pe eb ps
Ra Ls
mechanical
power ⇒ ⇒ − + ⇒ electric
power
ec to grid
Ra Ls
− +
Figure 14. Energy conversion in the machine, based on the simplified model.
ĩdq0 idq0
θ → θr System
Unit
reference θ − θr reference
angle ṽdq0 vdq0 angle
θ ← θr θr
θ
θ − θr
θ θr
+ −
As a special important case, consider the EMF source ẽd = 0, ẽq = ωωs VE , ẽ0 = 0, with a reference
angle θ. What is the model of this source with respect to θr ? Direct transformation yields
ed cos(θ − θr ) − sin(θ − θr ) 0 0 − sin(θ − θr )
ω
eq = sin(θ − θr ) cos(θ − θr ) 0 ωωs VE = VE cos(θ − θr ) (114)
ωs
e0 0 0 1 0 0
or,
ed cos(δ)
ω π
eq = VE sin(δ) , δ = θ − θr + , (115)
ωs 2
e0 0
where ed , eq , e0 are defined with respect to θr . The reader may recognize δ as the power angle of the
machine. Therefore, at low frequencies, the simplified machine model is identical to the quasi-static
(time-varying phasors) model. To see this, the phasor describing the induced EMF is
1 ωV
E = √ ed + jeq = √ E (cos(δ) + j sin(δ)) .
(116)
2 2ωs
Further define
ωV 1
| E| = √ E = √ ωL a f I f . (117)
2ωs 2
This is the induced EMF (RMS value) at steady state, and at the rotor frequency ω. Substitute (117)
in (116) to get E = | E|∠δ. This phasor describes the induced EMF of the quasi-static model. Note that
| E| depends on ω; however, in a quasi-static model we typically assume that ω ≈ ωs and | E| is
constant. Also recall that in a time-varying phasor model pe = 3P. This is true since
1 1 ∗ 3
3P = 3 Re{ EI ∗ } = 3 Re √ ed + jeq √ id + jiq = Re{ed id + eq iq } = pe . (118)
2 2 2
For example, consider a synchronous machine connected to an infinite bus. The machine √ is
described by the simplified model presented above, and the infinite bus voltage is vd,∞ = 2Vg =
const, vq,∞ = 0, v0,∞ = 0 with a reference frame ωs t. We now wish to construct a state-space model of
the system, with respect to the reference angle θr . A signal flow diagram is shown in Figure 16.
reference reference
angle θ angle ωs t
ẽdq0 edq0
θ → ωs t vdq0,∞
θ − ωs t + −
machine
simplified
Pre f R-L
model
dq0 model
ĩdq0 idq0
θ ← ωs t
θ − ωs t
θ
+ − ωs t
The explicit state-space model is shown next. Using the result above, the induced EMF is described
in the reference frame ωs t by
ed cos(δ)
ω
eq = VE sin(δ) (119)
ωs
e0 0
π
with δ = θ − θr + 2. In addition, using (105), the machine is modeled by
d
θ = ω,
dt (120)
d 1 3
ω = K 3Pre f − (ω − ωs ) − VE ĩq ,
dt D 2
where in this last equation ĩq is referenced to θ. Using (113), this variable may be expressed in terms of
the reference angle ωs t as
ĩd cos(θ − ωs t) sin(θ − ωs t) 0 id
ĩq = − sin(θ − ωs t) cos(θ − ωs t) 0 i q , (121)
ĩ0 0 0 1 i0
and using δ = θ − ωs t + π2 yields ĩq = cos(δ)id + sin(δ)iq . Moreover, the machine’s series impedance
is modeled (with respect to ωs t) as
√
− RLsa
i ωs 0 id cos(δ) 2Vg
d d 1 ω
iq = − ωs − RLsa 0 iq + VE sin(δ) − 0 . (122)
dt Ra Ls ωs
i0 0 0 − Ls i0 0 0
d
δ = ω − ωs ,
dt
d 1 3 3
ω = K 3Pre f − (ω − ωs ) − VE id cos(δ) − VE iq sin(δ) ,
dt D 2 2
d Ra 1
ω √
i = − id + ωs iq + VE cos(δ) − 2Vg , (123)
dt d Ls Ls ωs
d Ra 1 ω
iq = − ωs id − iq + VE sin(δ),
dt Ls Ls ωs
d Ra
i0 = − i0 .
dt Ls
idq0,1 idq0,2
Pre f ,1 θ1 ← θ2 Pre f ,2
Vf ,1 + + θ2 − θ1 Vf ,2
machine 1
machine 2
RL
vdq0,1 vdq0,2
θ1 → θ2
θ2 − θ1
θ1 θ2
− +
Figure 17. Signal-flow diagram: two machines connected to each other, and feeding a resistive load.
4. Three-Phase Inverters
This section outlines the design principles of three-phase inverters, focusing on their control.
We introduce the concepts of grid forming, grid feeding, and grid supporting inverters,
and explain how they are used in specific applications, such as renewable energy systems and
microgrids [16,20,34,35]. We also present a basic control scheme for Permanent Magnet Synchronous
Motors (PMSM).
Note that the objective of this section is only to review the main approaches used in typical designs.
Many practical details are omitted in order to clearly present the main ideas.
a
IDC
+ 3-phase b To
VDC
− inverter grid
c
The voltage and current on the DC side are vdc and idc , the AC voltages are v a , vb , vc , and the AC
currents are i a , ib , ic . Throughout this section we assume that the AC voltages and currents are balanced.
In steady state, inverters are characterized by five quantities:
• The frequency ω.
• The (single-phase) active power P, such that Pac = 3P.
• The (single-phase) reactive power Q.
• The voltage amplitude | E|.
• The voltage angle δ.
An ideal inverter operates with zero loss, and stores negligible energy. Thus, in steady state,
As a result, assuming that the power and DC voltage are constant, then the DC current is
also constant.
Appl. Sci. 2018, 8, 1661 28 of 48
Vdc
da
dd
u∗d −1
Vdc dq0
db 3-phase
dq & PWM
0 inverter
d0 abc dc
0
uc ub ua
θ
R
dt L
ω∗
To grid
The main inverter stage often consists of three Buck converters connected in parallel to a DC source,
as shown in Figure 20. Assuming these converters are lossless and store no energy, the average voltages
u a (t), ub (t), uc (t) are given by
u a (t) = Vdc d a (t),
ub (t) = Vdc db (t), (125)
uc (t) = Vdc dc (t).
Note that the duty cycles are defined in the range [−1, 1] such that −Vdc ≤ u x (t) ≤ +Vdc . The LC
filter at the output removes the switching harmonics, and delivers sinusoidal voltages and currents to
the grid.
Vdc
Grid forming inverters are controlled as voltage sources with a constant frequency. A possible
control law is
−1 ∗
dd = Vdc ud , dq = 0, d0 = 0, (126)
where u∗d is the desired voltage amplitude. In addition, the reference angle for the dq0 transformation
is θ (t) = ω ∗ t, where ω ∗ is the desired frequency. The resulting output voltage is
ud = u∗d , uq = 0, u0 = 0 (127)
with a reference angle ω ∗ t. Therefore, the grid forming inverter implements a voltage source with
constant frequency and amplitude.
In practical designs, the inverter currents should be controlled to improve the dynamic
performance and efficiency, and to avoid over currents. In addition, often there is a need to precisely
control the output voltage. An improved design with additional current and voltage loops is shown
in Figure 21. The objective of the system is to regulate the output voltages such that vd = v∗d , vq = 0,
v0 = 0. This is achieved by two loops: an inner loop that controls the currents, and an outer loop that
controls the voltages.
The inner loop regulates the currents such that id (t) = id∗ (t) and iq (t) = iq∗ (t), by adjusting the
inverter duty cycles. This loop is typically modeled as follows. The average voltages ud (t), uq (t),
u0 (t) are
ud = Vdc dd ,
uq = Vdc dq , (128)
u0 = Vdc d0 ,
Appl. Sci. 2018, 8, 1661 31 of 48
d 1
i = ω ∗ i q + ( u d − v d ),
dt d L (129)
d 1
i q = − ω ∗ i d + ( u q − v q ).
dt L
Vdc
da
dq0
ω∗ R θ db 3-phase
dt & PWM
inverter
abc dc
uc ub ua
ddq0
L
abc
current idq0 i abc current
&
sensors
control
dq0 θ
∗
idq0
C
abc
voltage vdq0 v abc voltage
& sensors
control
dq0 θ
v∗d To grid
v∗q = 0
v0∗ = 0
Figure 21. Grid forming inverter, with additional current and voltage control loops.
The cross terms ω ∗ iq and −ω ∗ id that appear in these equations complicate the controller design,
since id depends on iq , and iq depends on id . A typical solution is to eliminate the cross terms, using the
following control law
Z t
−1
dd (t) = Vdc vd (t) − ω ∗ Liq (t) + k p (id∗ (t) − id (t)) + k i (id∗ (τ ) − id (τ ))dτ ,
0
Z t
−1 (130)
dq (t) = Vdc vq (t) + ω ∗ Lid (t) + k p (iq∗ (t) − iq (t)) + k i (iq∗ (τ ) − iq (τ ))dτ ,
0
d0 (t) = 0,
where id∗ (t) and iq∗ (t) are the target currents, and k p , k i are parameters of a PI controller. This control
law is illustrated in Figure 22. Substitution of (128) and (130) into (129) yields
d t Z
L id = k p (id∗ (t) − id (t)) + k i (id∗ (τ ) − id (τ ))dτ,
dt 0
Z t (131)
d
L iq = k p (iq (t) − iq (t)) + k i (iq∗ (τ ) − iq (τ ))dτ.
∗
dt 0
Since the cross terms are eliminated, the currents are governed by two single-input single-output
systems, as shown in Figure 23. This enables straightforward tuning of the loop parameters.
Appl. Sci. 2018, 8, 1661 32 of 48
vd
kp + +
dd
−1
+ Vdc
−ω ∗ Li q
id∗
R
+ ki dt + +
−
id
vq
kp + +
dq
−1
+ Vdc
ω ∗ Lid
iq∗
R
+ ki dt + +
−
iq
Figure 22. The inner current loop: a typical control scheme that eliminates the cross terms ω ∗ iq and −ω ∗ id .
kp +
id∗
R
+ ki dt +
−
id
R
dt L −1
kp +
iq∗
R
+ ki dt +
−
iq
R
dt L −1
Figure 23. By eliminating the cross terms, the current loop is modeled by two single-input single-output systems.
The outer voltage loop operates based on similar principles. As an example, assuming a balanced
resistive load, the capacitor equations may be approximated as
d 1 ∗ vd
vd = ω ∗ vq + i − ,
dt C d R (132)
d 1 ∗ vq
vq = −ω ∗ vd + i − ,
dt C q R
and a possible control law that eliminates the cross terms is
vd (t) t Z
id∗ = − ω ∗ Ciq (t) + k p,v (v∗d (t) − vd (t)) + k i,v (v∗d (τ ) − vd (τ ))dτ,
R 0
Z t (133)
v q ( t )
iq∗ = + ω ∗ Cid (t) + k p,v (v∗q (t) − vq (t)) + k i,v (v∗q (τ ) − vq (τ ))dτ,
R 0
where v∗d and v∗q are the target voltages, and k p,v , k i,v are the parameters of a PI controller.
power is set to zero, and the inverter operates with a power factor of unity. In this case the output
current is minimal, but the inverter does not provide the reactive power that may be needed to support
the grid. A basic control scheme for grid feeding inverters is shown in Figure 24.
Vdc
da
dq0
db 3-phase
θ & PWM
inverter
abc dc
ddq0
abc
current idq0 i abc current
ω &
sensors
control
dq0 θ
L
∗
idq0
abc
P∗ current vdq0 v abc voltage
&
Q∗ calculations sensors
dq0 θ
To grid
θ
PLL
ω
The design consists of an inner control loop, and an additional “current calculations” block that
generates the target currents. These are given by
2
id∗ = P∗ vd + Q∗ vq ,
v2d + v2q
(134)
2
iq∗ = 2 P∗ vq − Q∗ vd ,
vd + vq2
where P∗ , Q∗ are the target active and reactive powers (for a single phase). As a result, the powers at
steady state are given by
1
v i + vq iq = P∗ ,
P=
2 dd (135)
1 ∗
Q= vq id − vd iq = Q .
2
This calculation is based on the assumption that id = id∗ and iq = iq∗ at steady state.
The reference frame for the dq0 transformation is defined by the grid voltages. Since these voltages
are not directly controlled, there is a need to extract the reference angle θ and the frequency ω from
the voltage measurements. This is usually accomplished by a Phase Locked Loop (PLL), as illustrated
in Figure 25. The PLL operates by controlling the reference angle θ in closed loop, such that the
quadrature-axis component vq is zeroed. If the loop is stable, then θ must be matched to the angle of
the AC voltages v a , vb , vc .
Appl. Sci. 2018, 8, 1661 34 of 48
ωs
ω
kp +
+ R
va vd + dt θ
abc
vb vq R
& ki dt +
vc v0
dq0
PLL
A grid feeding inverter connected to a photovoltaic (PV) source is shown in Figure 26.
The challenge here is that the active power is determined by the renewable source, and is not known
in advance. This design is similar to the one in Figure 24, expect that there is an additional loop
that regulates the active power, in order to match it to the source. The feedback is provided by
set then P∗ increases to discharge the bus capacitor, and if
the bus-capacitor voltage. If vdc (t) > Vdc
vdc (t) < Vdc then P is decreased to charge the bus capacitor. At steady state, Ppv ≈ 3P∗ and
set ∗
set .
vdc (t) ≈ Vdc
DC/DC
PV
&
MPPT
vdc (t) ⇓ Ppv
− +
vdc
set
+ da
Vdc −
dq0
db 3-phase
θ & PWM
inverter
abc dc
ddq0
active abc
current idq0 i abc current
power ω &
sensors
control
control dq0 θ
L
∗
idq0
P∗ abc
current vdq0 v abc voltage
&
Q∗ calculations sensors
dq0 θ
To grid
θ
PLL
ω
In essence, this is achieved by implementing an inverse relationship between active power and
frequency, and between reactive power and voltage, as explained next.
1
3P = 3Pre f − ( ω − ω s ), (136)
D
where Pre f is the reference power, D is the damping constant, and ωs is the nominal grid frequency
(a constant). A primary objective of the frequency droop controller is to stabilize the grid frequency,
by regulating the active power. Consider first a synchronous generator, in which the mechanical
power is
1
pm = 3Pre f − (ω − ωs ). (137)
D
As the frequency increases, the mechanical power decreases, and vice versa. This behavior
regulates the generated power, and matches it to the actual load, as described in Figure 27.
System is balanced
mechanical electrical
=
power power
As an example, assume that a single synchronous generator is feeding a load with active power
PL (t). The angular acceleration of the rotor is given by
d
ω = K ( pm (t) − 3PL (t)), (138)
dt
where K is the swing equation constant.
With no droop control (D = ∞),
d
ω = 3K ( Pre f − PL (t)), (139)
dt
Appl. Sci. 2018, 8, 1661 36 of 48
and since in general Pre f 6= PL (t), the frequency ω is unstable. On the other hand, when the droop
control mechanism is active (finite D), the resulting dynamics equation is
d 1 K ωs
ω = K 3Pre f − (ω − ωs ) − 3PL (t) = − ω + K 3Pre f − 3PL (t) + . (140)
dt D D D
The term −(K/D )ω provides negative feedback, and the frequency ω is stabilized.
The relationship between the active power and frequency at steady state is illustrated in Figure 28.
P
D
increases
D→0
D→∞
Pre f
1 ω/ωs
Figure 28. Droop characteristics in steady state: active power as a function of frequency.
• The frequency ω is constant such that ω ≈ ωs . The generator provides active power as needed to
stabilize the frequency.
• The active power varies.
• The generator operates like a grid forming inverter, or an infinite bus.
In case D → ∞:
Middle values of D:
An additional objective of the controller is to share the active power among the generators.
Assume a system with N generators, such that in steady state, 3Pi = 3Pre f ,i − D1 (ω − ωs ). Also assume
i
that the total load in the system is PL , such that ∑iN=1 Pi = PL . These equations may be written as
3D1 0 1 P1 3D1 Pre f ,1
.. .. .
. ..
. . . = .
, (141)
0 3D N 1 PN 3D N Pre f ,N
1 ··· 1 0 ω − ωs PL
Appl. Sci. 2018, 8, 1661 37 of 48
3D1 D2
ω = ωs − PL − Pre f ,1 − Pre f ,2 ,
D1 + D2
1
P1 = Pre f ,1 − ( ω − ω s ), (143)
3D1
1
P2 = Pre f ,2 − ( ω − ω s ).
3D2
If the generators are synchronous machines, and the damping constant of each machine is
inversely proportional the rotor moment of inertia, such that Ji Di = const, then
!
N
Ji
Pi = Pre f ,i + PL − ∑ Pre f ,i , (144)
Jtot i =1
where Jtot = ∑iN=1 Ji . Here, deviations of the load power from the reference power are shared among
the generators, according to their size, such that larger generators provide more power. For this reason,
we say that the droop control method promotes fair sharing of active power among the generators.
jX
+
+
| E|∠δ ∼ P, Q =⇒ |V |
−
−
Figure 29. The generator is modeled in steady state as a voltage source behind a series reactance.
where Ere f is the reference voltage, Qre f is the reference reactive power, and k q is a constant. In a
synchronous machine this control law is implemented in practice by adjusting the current in the
field winding. The generator reactive power Q may be computed from the circuit in Figure 29, and is
given by
|V |
Q= (| E| cos(δ) − |V |) , (146)
X
and if δ → 0 and | E| ≈ |V |, then
| E|
Q= (| E| − |V |) . (147)
X
Appl. Sci. 2018, 8, 1661 38 of 48
This relationship between the reactive power and voltage is plotted in Figure 30.
slope
2
− |EX|
1 |V | / | E |
Figure 30. Reactive power as a function of voltage. Variations in |V | may result in high and
unpredictable reactive power flow.
If the voltage | E| is fixed, variations in |V | may result in high and unpredictable reactive
power flow. This is potentially dangerous, since high reactive power causes loss, and may lead
to stability problems. To solve this, the droop mechanism regulates the reactive power by adjusting | E|
in inverse proportion to Q. Substitution of (145) in (147) yields
| E| Ere f
Q≈ (| E| − |V |) ≈ Ere f − k q ( Q − Qre f ) − |V | , (148)
X X
which may be written as
Ere f
Q= Ere f + k q Qre f − |V | . (149)
X + Ere f k q
This equation is illustrated in Figure 31.
kq kq = 0
increases 2
slope: − Ere f /X
Qre f
Kq → ∞
Q ≈ Qre f
XQre f
1− 2
Ere
|V |/| Ere f |
f
Figure 31. Droop characteristics in steady state: reactive power as a function of voltage.
• The voltage |V | varies in a small range. The generator provides reactive power as needed
to maintain a certain voltage amplitude. As |V | decreases, the reactive power increases
to compensate.
• The reactive power varies.
• The generator operates as a voltage source, or like a grid forming inverter.
In case k q → ∞:
Appl. Sci. 2018, 8, 1661 39 of 48
Middle values of k q :
An additional objective of the voltage droop controller is to share the reactive power among the
generators. As an example, consider the system in Figure 32, which is described by the following set
of equations:
| E1 | | E2 |
Q1 ≈ (| E1 | − |V |) , Q2 ≈ (| E2 | − |V |) ,
X X
| E1 | = Ere f ,1 − k q,1 Q1 − Qre f ,1 , | E2 | = Ere f ,2 − k q,2 Q2 − Qre f ,2 , (150)
Q L = Q1 + Q2 .
Assume first that there is no droop control (k q,1 = k q,2 = 0), and Q L = 0. The resulting reactive
powers in this case are
| E || E2 | | E1 | − | E2 |
Q1 = − Q2 = 1 . (151)
X | E1 | + | E2 |
Here, even though Q L = 0, there may be significant reactive power flow between the two
generators. Now assume that the droop controller is active, and k q,1 = k q,2 = k q , Ere f ,1 = Ere f ,2 = Ere f ,
Qre f ,1 = Qre f ,2 = Qre f . The resulting reactive powers in this case are Q1 = Q2 = Q2L .
The controller prevents circulation of reactive power, and shares the reactive power evenly between
the two generators.
jX
Q1 ⇒
+
| E1 |∠δ1 ∼
− |V |
⇓ PL , Q L
jX Q2 ⇒
load
+
| E2 |∠δ2 ∼
−
Vdc
da
dd
u∗d −1
Vdc dq0
db 3-phase
dq & PWM
0 inverter
d0 abc dc
0
uc ub ua
θ
√
2 R L
dt
| E|
ω∗
Ere f + ωs +
+ +
kq D
θ
θ To grid
Figure 33. Grid supporting inverter operating as a voltage source (conceptual control scheme).
Grid supporting inverters may be described as grid forming inverters with an additional droop
control mechanism:
ω ∗ = ωs + 3D ( Pre f − P),
u∗ (152)
√d = | E| = Ere f + k q ( Qre f − Q),
2
where ωs is the nominal grid frequency, ωs = 2π50 rad/s or ωs = 2π60 rad/s.
Such inverters may be viewed as a combination of grid forming and grid feeding inverters,
and the exact balance between these two modes of operation depends on the droop parameters D and
k q . For instance:
the signals in the same reference frame, the voltages ũd , ũq , ũ0 are transformed to the reference frame of
the infinite bus. The result is
√
ud cos(θ − ω g t) − sin(θ − ω g t) 0 2| E |
uq = sin(θ − ω g t) cos(θ − ω g t) 0 0
u0 0 0 1 0
√ √ (153)
2 | E | cos ( θ − ω g t ) 2 | E | cos ( δ )
√ √
= 2| E| sin(θ − ω g t) = 2| E| sin(δ) ,
0 0
1
U (t) = √ ud + juq = | E|(cos(δ) + j sin(δ)) = | E|∠δ,
2
(154)
1
V = √ vd + jvq = | E|∠0◦ ,
2
| E |2
and based on the DC power flow approximation, the active power is P = ω g L δ. The resulting dynamic
model is
| E |2
δ = θ − ω g t, P = δ,
ωg L
(155)
d
θ = ω ∗ = ωs + 3D Pre f − P ,
dt
and several substitutions yield the differential equation
| E |2
d
δ = ωs − ω g + 3D Pre f − δ . (156)
dt ωg L
Due to the negative feedback, this differential equation is stable for any D > 0. The steady state is
d
computed by solving dt δ = 0, which yields
ωg L ωs − ω g
δ= Pre f + . (157)
| E |2 3D
d
δ = θ − ωg t ⇒ δ = ω∗ − ωg = 0 ⇒ ω∗ = ωg . (158)
dt
So in the steady state ω ∗ = ω g , and the inverter is synchronized to the grid.
Note that the system is not stable if D = 0, since in this case the inverter operates as a grid
forming inverter, and cannot be connected in parallel to an infinite bus.
Permanent magnet synchronous motors (with sinusoidal EMF) are modeled like synchronous
generators, with three modifications:
• The stator currents are defined positive when flowing into the machine.
• The term L a f i f is replaced with λ, which is the amplitude of the flux induced in the stator phases
by the permanent magnets on the rotor.
• The electromagnetic torque accelerates the rotor, and the mechanical torque decelerates the rotor.
d
The angular acceleration is defined as dt ωm = 1J ( Te − Tm ).
d
θ = pωm ,
dt
d 1
ωm = ( Te − Tm ) ,
dt J
d 1 R Lq
id = vd − id + pωm iq , (159)
dt Ld Ld Ld
d 1 R L λpωm
iq = vq − iq − d pωm id − ,
dt Lq Lq Lq Lq
d 1 R
i0 = v0 − i0 .
dt L0 L0
The inputs of the model are vd , vq , v0 and Tm , and several additional outputs are
3
Te = p λiq + Ld − Lq id iq ,
2 (160)
pm = Tm ωm , pe = Te ωm .
The reference angle for the dq0 transformation is the electrical angle θ. The symbols appearing in
these equations are:
• θ is the rotor electrical angle, measured with respect to a fixed point on the stator;
• p = poles/2 is the number of pole pairs;
• Ld , Lq , L0 are the direct-axis, quadrature-axis, and zero-sequence inductances;
• R is the resistance of the stator windings;
• id , iq , i0 are the stator currents (positive when flowing into the machine);
• vd , vq , v0 are the stator voltages;
• ωm is the angular velocity of the rotor;
• λ is the amplitude of the flux induced in the stator phases by the permanent magnets on the rotor;
• J is the rotor moment of inertia;
• Tm , Te are the mechanical and electromagnetic torques;
• pm , pe are the mechanical and electromagnetic powers.
Similarly to synchronous generators, the model may be simplified by assuming a round rotor
(no saliency effects), such that Ld = Lq = Ls . In this case, the motor may be described by the equivalent
circuit in Figure 34.
The induced EMF is given by ed = 0, eq = λpωm , e0 = 0, where [ed , eq , e0 ]T is the dq0
transformation of [ea , eb , ec ]T . In addition, for Ld = Lq = Ls , the electromagnetic torque is given by
3
Te = pλiq . (161)
2
Therefore, the induced EMF is proportional to the angular velocity, while the electric torque is
proportional to the quadrature-axis current.
Appl. Sci. 2018, 8, 1661 43 of 48
ia ea
+ −
va ∼
ib eb
+ −
vb ∼
ic ec
+ −
vc ∼
Ls R
energy energy energy
storage losses conversion
Figure 34. Equivalent circuit for a permanent magnet synchronous motor with a round rotor (assuming
Ld = Lq = Ls ).
The heart of the energy conversion process is described by the induced EMF source,
which converts electrical energy to mechanical energy. From a mechanical perspective,
the electromagnetic power is
3
pe = Te ωm = pλωm iq , (162)
2
and from an electrical perspective,
3 3 3
pe = e i + eq iq + 2e0 i0 = 0 · id + λpωm · iq + 2 · 0 · 0 = pλωm iq . (163)
2 dd 2 2
Both expressions are identical.
A basic control scheme is shown in Figure 35. The design consists of two loops: an inner
current loop, and an outer speed loop. The inner loop regulates the currents such that id ≈ id∗ and
iq ≈ iq∗ , by adjusting the inverter duty cycles. The objective of the outer loop is to regulate the speed,
such that in steady state ωm ≈ ωm ∗ . This is implemented by controlling i ∗ , based on the approximated
q
relation between torque and current Te = 2 pλiq . If the speed ωm is too low, then iq∗ increases to produce
3
more torque, and to accelerate the rotor. If ωm is too high, then iq∗ decreases to produce less torque,
and to decelerate the rotor. Two sensors are placed on the motor to measure the speed ωm and the
electrical angle θ. The latter is used as a reference angle for the dq0 transformation.
Vdc
dd da
dq0
dq db 3-phase
& PWM
d0 dc inverter
0 abc
θ c b a
id∗ iq∗ θ
0
motor
∗
ωm
speed +
ωm speed θ position
−
controller sensor sensor
Figure 35. A basic control scheme for a permanent magnet synchronous motor.
Appl. Sci. 2018, 8, 1661 44 of 48
5. Conclusions
Due to the continuing integration of renewable energy sources and power electronics-based
devices, a central challenge in understanding the power systems of today is that the system under study
is frequently not quasi-static, and cannot be accurately described by means of time-varying phasors.
In such systems the classic power flow equations do not apply, and alternative models should be used
instead. In light of this challenge, this paper explains how to analyze complex dynamic phenomena in
power systems based on dq0 signals.
The paper opens by recalling basic concepts of the dq0 transformation and dq0-based models.
We then explain how to model essential components such as passive components, passive networks,
synchronous machines, and inverters, and how to systematically construct dq0-based models of
complex systems. We also discuss the relations between dq0-based models and classic time-varying
phasor models. Specifically, we highlight the idea that dq0 models may be viewed as a natural
extension of time-varying phasor models, and discuss the correct use and validity of each approach.
The theoretical analysis is supported by several examples.
Author Contributions: All authors have worked on this manuscript together and all authors have read and
approved the manuscript.
Funding: Y.L. was partly supported by Israel Science Foundation grant No. 2//7221. J.B. was partly supported
by the Estonian Research Council grant MOBTP36.
Acknowledgments: The authors are thankful to the reviewers and the editor for handling this paper and for
providing insightful and constructive comments.
Conflicts of Interest: The authors declare no conflict of interest.
1 0 0
2
Tθ ( Tθ )T = 0 1 0 , (A2)
3
0 0 12
T 1 0 0
3
Tθ−1 Tθ−1 = 0 1 0 , (A3)
2
0 0 2
cos(θ a − θb ) sin(θ a − θb ) 0
Tθa Tθ−1 = − sin(θ a − θb ) cos(θ a − θb ) 0 , (A4)
b
0 0 1
d
T = W Tθ ,
dt θ (A5)
d −1
T = − Tθ−1 W
dt θ
with
d
0 dt θ 0
d
W = − dt 0 0 . (A6)
θ
0 0 0
All identities may be proved by straightforward algebraic operations.
Appl. Sci. 2018, 8, 1661 45 of 48
“poles”–number of magnetic poles θ–rotor electrical angle, with respect to a VE = ωs L a f L f –induced EMF
on the rotor (must be even) fixed point on the stator at steady state and at nominal
frequency, peak value
√
J–rotor moment of inertia ω = dθ/dt–rotor electrical frequency | E| = √ωVE = ωL a f I f / 2–
2ωs
[rad/s] induced EMF at steady state and
at the rotor frequency, RMS value
2
D–damping factor ωm = poles ω–rotor mechanical frequency id , iq , i0 –stator currents (generator
[rad/s] output currents)
Ld , Lq –direct axis and quadrature ωs –nominal grid frequency [rad/s]. For vd , vq , v0 –stator currents
axis synchronous inductances instance, ωs = 2π50 or 2π60 rad/s (generator output voltages)
poles 2 1
I0 –zero sequence inductance Tm –mechanical torque (accelerating the K= 2 Jωs –swing equation
rotor for generator) constant
Ls = 12 Ld + Lq
synchronous Te –electric torque (decelerating the rotor for ed , eq , e0 –induced EMF in the
inductance generator) simplified machine model
L a f –stator to rotor mutual Pre f –reference power for droop control. v f –field winding voltage
inductance (maximum value) This is the single phase output power
at steady state and at nominal frequency
(losses neglected)
L f f –field winding self-inductance pm = Tm ωm –mechanical power (total for i f –field winding current
3-phase)
R a –armature resistance pe = Te ωm –electrical power (total for λd , λq , λ0 –stator flux linkages
3-phase)
R f –field winding resistance ps –machine output power (total for the 3 λ f –field winding flux linkage
phases)
All dq0 quantities are defined in the rotor reference frame (with respect to θ).
Several default values based on these numbers are given in the following table.
Appl. Sci. 2018, 8, 1661 46 of 48
References
1. Moeini, A.; Kamwa, I.; Brunelle, P.; Sybille, G. Open data IEEE test systems implemented in
SimPowerSystems for education and research in power grid dynamics and control. In Proceedings of
the 50th International Universities Power Engineering Conference, Stoke on Trent, UK, 1–4 September 2015;
pp. 1–6.
2. Anderson, P.M.; Fouad, A.A. Power System Control and Stability; John Wiley & Sons: Hoboken, NJ, USA, 2008.
3. Kundur, P. Power System Stability and Control; McGraw-Hill: New York, NY, USA, 1994.
4. Kundur, P.; Paserba, J.; Ajjarapu, V.; Andersson, G.; Bose, A.; Canizares, C.; Hatziargyriou, N.; Hill, D.;
Stankovic, A.; Taylor, C.; et al. Definition and classification of power system stability IEEE/CIGRE joint task
force on stability terms and definitions. IEEE Trans. Power Syst. 2004, 19, 1387–1401.
5. Miller, L.; Cibulka, L.; Brown, M.; von Meier, A. Electric Distribution System Models for Renewable Integration:
Status and Research Gaps Analysis; Technical Report CEC-500-10-055; California Energy Commission:
Sacramento, CA, USA, 2013.
6. Grainger, J.J.; Stevenson, W.D. Power System Analysis; McGraw-Hill: New York, NY, USA, 1994.
7. Ilić, M.; Zaborszky, J. Dynamics and Control of Large Electric Power Systems; Chapter Quasistationary Phasor
Concepts; Wiley: New York, NY, USA, 2000; pp. 9–60.
8. Sauer, P.W.; Pai, M.A. Power System Dynamics and Stability; Prentice Hall: Upper Saddle River, NJ, USA, 1998.
9. Ilić, M.; Jaddivada, R.; Miao, X. Modeling and analysis methods for assessing stability of microgrids.
IFAC-PapersOnLine 2017, 50, 5448–5455. [CrossRef]
10. Demiray, T.H. Simulation of Power System Dynamics Using Dynamic Phasor Models. Ph.D. Thesis, TU Wien,
Wien, Austria, June 2008.
11. Belikov, J.; Levron, Y. Comparison of time-varying phasor and dq0 dynamic models for large transmission
networks. Int. J. Electr. Power 2017, 93, 65–74. [CrossRef]
12. Belikov, J.; Levron, Y. Uses and misuses of quasi-static models in modern power systems. IEEE Trans.
Power Deliv. 2018. Available online: https://ieeexplore.ieee.org/document/8403297/ (accessed on
14 September 2018). [CrossRef]
13. Krause, P.C.; Wasynczuk, O.; Sudhoff, S.D.; Pekarek, S. Analysis of Electric Machinery and Drive Systems,
3rd ed.; Wiley-IEEE Press: Piscataway, NJ, US, 2013.
Appl. Sci. 2018, 8, 1661 47 of 48
14. Machowski, J.; Bialek, J.; Bumby, J. Power Dystem Dynamics: Stability and Control; John Wiley & Sons:
Hoboken, NJ, USA, 2011.
15. Fasil, M.; Antaloae, C.; Mijatovic, N.; Jensen, B.B.; Holboll, J. Improved dq-axes model of PMSM considering
airgap flux harmonics and saturation. IEEE Trans. Appl. Supercond. 2016, 26, 1–5. [CrossRef]
16. Adhikari, S.; Li, F.; Li, H. P-Q and P-V control of photovoltaic generators in distribution systems. IEEE Trans.
Smart Grids 2015, 6, 2929–2941. [CrossRef]
17. Buccella, C.; Cecati, C.; Latafat, H.; Razi, K. Multi string grid-connected PV system with LLC resonant
DC/DC converter. Int. Ind. Syst. 2015, 1, 37–49. [CrossRef]
18. Jafari, A.; Shahgholian, G. Analysis and simulation of a sliding mode controller for mechanical part of a
doubly-fed induction generator based wind turbine. IET Gener. Transm. Dis. 2017, 11, 2677–2688. [CrossRef]
19. Njiri, J.G.; Söffker, D. State-of-the-art in wind turbine control: Trends and challenges. Renew. Sustain.
Energy Rev. 2016, 60, 377–393. [CrossRef]
20. Schiffer, J.; Zonetti, D.; Ortega, R.; Stanković, A.M.; Sezi, T.; Raisch, J. A survey on modeling of
microgrids—From fundamental physics to phasors and voltage sources. Automatica 2016, 74, 135–150.
[CrossRef]
21. Mahmoud, M.S.; Hussainr, S.A.; Abido, M.A. Modeling and control of microgrid: An overview. J. Frankl. Inst.
2014, 351, 2822–2859. [CrossRef]
22. Ojo, Y.; Schiffer, J. Towards a time-domain modeling framework for small-signal analysis of unbalanced
microgrids. In Proceedings of the 12th IEEE PES PowerTech Conference, Manchester, UK, 18–22 June 2017;
pp. 1–6.
23. Belikov, J.; Levron, Y. A sparse minimal-order dynamic model of power networks based on dq0 signals. IEEE
Trans. Power Syst. 2018, 33, 1059–1067. [CrossRef]
24. Levron, Y.; Belikov, J. Modeling power networks using dynamic phasors in the dq0 reference frame.
Electr. Power Syst. Res. 2017, 144, 233–242. [CrossRef]
25. Baimel, D.; Belikov, J.; Guerrero, J.M.; Levron, Y. Dynamic modeling of networks, microgrids, and renewable
sources in the dq0 reference frame: A survey. IEEE Access 2017, 5, 21323–21335. [CrossRef]
26. Demiray, T.; Andersson, G. Comparison of the efficiency of dynamic phasor models derived from ABC and
DQ0 reference frame in power system dynamic simulations. In Proceedings of the 7th IET International
Conference on Advances in Power System Control, Operation and Management, Hong Kong, China,
30 October–2 November 2006; pp. 1–8.
27. Stefanov, P.C.; Stanković, A.M. Modeling of UPFC operation under unbalanced conditions with dynamic
phasors. IEEE Trans. Power Syst. 2002, 17, 395–403. [CrossRef]
28. Fitzgerald, A.E.; Kingsley, C.; Umans, S.D. Electric Machinery, 6th ed.; McGraw-Hill: New York, NY,
USA, 2003.
29. Teodorescu, R.; Liserre, M.; Rodriguez, P. Grid Converters for Photovoltaic and Wind Power Systems; John Wiley
& Sons: Hoboken, NJ, USA, 2011.
30. Belikov, J.; Levron, Y. Integration of long transmission lines in large-scale dq0 dynamic models. Electr. Eng.
2018, 100, 1219–1228. [CrossRef]
31. Kwon, W.H.; Cho, G.H. Analyses of static and dynamic characteristics of practical step-up nine-switch
matrix convertor. IEE Proc. B Electr. Power Appl. 1993, 140, 139–146. [CrossRef]
32. Szcześniak, P.; Fedyczak, Z.; Klytta, M. Modelling and analysis of a matrix-reactance frequency converter
based on buck-boost topology by DQ0 transformation. In Proceedings of the 13th International Power
Electronics and Motion Control Conference, Poznan, Poland, 1–3 September 2008; pp. 165–172.
33. Fahima, A.; Ofir, R.; Belikov, J.; Levron, Y. Minimal energy storage required for stability of low inertia
distributed sources. In Proceedings of the 2018 IEEE International Energy Conference (ENERGYCON),
Limassol, Cyprus, 3–7 June 2018; pp. 1–5.
34. Rocabert, J.; Luna, A.; Blaabjerg, F.; Rodríguez, P. Control of power converters in AC microgrids. IEEE Trans.
Power Electron. 2012, 27, 4734–4749. [CrossRef]
35. Wang, X.; Guerrero, J.M.; Blaabjerg, F.; Chen, Z. A review of power electronics based microgrids.
J. Power Electron. 2012, 12, 181–192. [CrossRef]
36. Dou, X.; Yang, K.; Quan, X.; Hu, Q.; Wu, Z.; Zhao, B.; Li, P.; Zhang, S.; Jiao, Y. An optimal PR control strategy
with load current observer for a three-phase voltage source inverter. Energies 2015, 8, 7542–7562. [CrossRef]
Appl. Sci. 2018, 8, 1661 48 of 48
37. Loh, P.C.; Holmes, D.G. Analysis of multiloop control strategies for LC/CL/LCL-filtered voltage-source and
current-source inverters. IEEE Trans. Ind. Appl. 2005, 41, 644–654. [CrossRef]
38. Mohamed, Y.A.R.I.; El-Saadany, E.F. A control method of grid-connected PWM voltage source inverters to
mitigate fast voltage disturbances. IEEE Trans. Power Syst. 2009, 24, 489–491. [CrossRef]
39. Pogaku, N.; Prodanovic, M.; Green, T.C. Modeling, analysis and testing of autonomous operation of an
inverter-based microgrid. IEEE Trans. Power Electron. 2007, 22, 613–625. [CrossRef]
40. Serban, I.; Ion, C.P. Microgrid control based on a grid-forming inverter operating as virtual synchronous
generator with enhanced dynamic response capability. Int. J. Electr. Power 2017, 89, 94–105. [CrossRef]
41. Teodorescu, R.; Blaabjerg, F.; Liserre, M.; Loh, P.C. Proportional-resonant controllers and filters for
grid-connected voltage-source converters. IEE P.-Electr. Power Appl. 2006, 153, 750–762. [CrossRef]
42. Zhang, T.; Yue, D.; O’Grady, M.J.; O’Hare, G.M.P. Transient oscillations analysis and modified control
strategy for seamless mode transfer in micro-grids: A wind-PV-ES hybrid system case study. Energies 2015,
8, 13758–13777. [CrossRef]
43. Zhong, Q.C.; Hornik, T. Control of Power Inverters in Renewable Energy and Smart Grid Integration; John Wiley
& Sons: New York, NY, USA, 2013.
44. Bolognani, S.; Zampieri, S. A distributed control strategy for reactive power compensation in smart
microgrids. IEEE Trans. Autom. Control 2013, 58, 2818–2833. [CrossRef]
45. Cao, H.; Zhang, H.; Jiang, W.; Wei, S. Research on PQ control strategy for PV inverter in the unbalanced grid.
In Proceedings of the Asia-Pacific Power and Energy Engineering Conference, Shanghai, China, 27–29 March
2012; pp. 1–3.
46. Hans, C.A.; Nenchev, V.; Raisch, J.; Reincke-Collon, C. Minimax model predictive operation control of
microgrids. IFAC Proc. Vol. 2014, 47, 10287–10292. [CrossRef]
47. Katiraei, F.; Iravani, R.; Hatziargyriou, N.; Dimeas, A. Microgrids management. IEEE Power Energy Mag.
2008, 6, 54–65. [CrossRef]
48. Peças Lopes, J.A.; Moreira, C.L.; Madureira, A.G. Defining control strategies for microgrids islanded
operation. IEEE Trans. Power Syst. 2006, 21, 916–924. [CrossRef]
49. Piegari, L.; Tricoli, P. A control algorithm of power converters in smart-grids for providing uninterruptible
ancillary services. In Proceedings of the 14th International Conference on Harmonics and Quality of Power,
Bergamo, Italy, 26–29 September 2010; pp. 1–7.
50. Schonardie, M.F.; Coelho, R.F.; Schweitzer, R.; Martins, D.C. Control of the active and reactive power using
dq0 transformation in a three-phase grid-connected PV system. In Proceedings of the IEEE International
Symposium on Industrial Electronics, Hangzhou, China, 28–31 May 2012; pp. 264–269.
51. Bouzid, A.M.; Guerrero, J.M.; Cheriti, A.; Bouhamida, M.; Sicard, P.; Benghanem, M. A survey on control of
electric power distributed generation systems for microgrid applications. Renew. Sustain. Energy Rev. 2015,
44, 751–766. [CrossRef]
52. Rodriguez, P.; Candela, I.; Citro, C.; Rocabert, J.; Luna, A. Control of grid-connected power converters based
on a virtual admittance control loop. In Proceedings of the 15th European Conference on Power Electronics
and Applications, Lille, France, 2–6 September 2013; pp. 1–10.
c 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
(CC BY) license (http://creativecommons.org/licenses/by/4.0/).