Professional Documents
Culture Documents
Matlab-Simulink Model of AC Grid With Non-Linear
Matlab-Simulink Model of AC Grid With Non-Linear
Abstract— A detailed Matlab-Simulink model of a three-phase operating modes requires a search for new means to reduce
electric grid with a Static Compensator, aimed for power quality grid harmonics [1]. Effective tool for this is a Static
improvement, is presented in the paper. The model is designed Compensator (Statcom) [2,3]. This paper presents a detailed
based on known algorithms of the compensator operation and Matlab-Simulink model of a three-phase electric grid with a
certain grid and load parameters. Concrete implementation of all
Statcom. The paper shows simulations with specific
the model’s integral parts is described in detail. Moreover,
efficiency of the compensator operation under various regimes, verification that confirm its effectiveness.
such as power factor correction, grid current balancing for
asymmetric load and harmonics suppression, is also presented.
II. MODEL DESCRIPTION AND THE RESULTS
Drawing attention to Static Compensators as multi-purpose tools In Fig. 1 a three-phase electric grid for modeling in Matlab-
for Smart Grid formation is addresses as well. Simulink is shown. The grid consists of a non-ideal voltage
source (phases A, B, C, Ls, Rs), non-linear load consisting of
Index Terms— Power Quality, Harmonics, PFC, Static three-phase diode rectifier with a resistor Rd and smoothing
Compensator.
inductance Ld on the output and a Static Compensator
(Statcom) with bridge of transistors IGBT and diodes,
I. INTRODUCTION capacitance Cdc and voltage Vdc on the input and inductances Lc
Improving the quality of electric power in modern electric on the output. A Rf-Cf filter is also connected to the grid as
grid is an actual and important task. A combination of well as other possible load.
conventional and renewable energy sources, a significant
increase of a non-linear loads and the great complexity of
Lsa Rsa
isa vsa
A
Lsb Rsb isb vsb
B
Lsc Rsc isc vsc
C
iCc iCb iCa iLc iLb iLa
R fc R fb R fa
vdc Cdc Rd Ld
Fig. 1. A complicated three-phase electric grid with a Statcom and non-linear load.
A current control mode (CCM) controller is used as the 1
Statcom controlling unit. The control method is based on Vsa1 = (Vsaf + aVsbf + a 2Vscf );
generating a PWM control pulses for IGBT bridge. 3
The model of this grid is based on principles known in the 1
literature, in particular [2]. Vsb1 = (a 2Vsaf + Vsbf + aVscf ); (2)
3
The main task of the controller is receiving a reference
1
current for CCM [4], which will be examined below. Note that Vsc1 = (aVsaf + a 2Vsbf + Vscf )
the principle of obtaining the reference current method is based 3
on the instantaneous power values [5,6]. Block 4 (in Fig. 3(a)) provides the quadrature
A block diagram of the Statcom Controller is presented in transformation of voltages, i.e. creates the voltages which are
Fig. 2. Primarily from the line voltages vab, vbc of the grid are shifted relative to the phase voltages by 90 degrees:
formed by simple arithmetic operations on the phases
1 1
Voltages vsa, vsb and vsc (block 1): vsa1q = − vsb1 + vsc1 ;
2 1 1 1 3 3
vsa = vab + vbc ; vsb = − vab + vbc ;
3 3 3 3 3 1
(1) vsbq1 = vsa1 + (vsb1 − vsc1 ); (3)
1 2 2 2 3
vsc = vab + vbc .
3 3 3 1
These voltages are filtered by using Band Pass Filter (2, vsc1q = − vbc + (vsb1 − vsc1 ).
block 2nd-Order Filter with cut off frequencies 30-70Hz), and 2 2 3
further used for estimation of balanced positive sequence
component vsa1, vsb1 and vsc1 (block 3, where: a=ej2π/3; The voltages which were obtained in blocks 3 and 4 allow
a2=ej4π/3): finding the instantaneous active and reactive powers –block 5
calculates the instantaneous three phase active power of the
connected nonlinear load:
vab isa
vbc isb
isc
vsaf vsa1 Vsa1m isar isbr iscr
vsa
vsbf vsb1 Vsb1m
vsb
vscf vsc1 Vsc1m
vsc
vsa1q vsb1qvsc1q
pL pLdc vsa1vsb1vsc1vsb1q vsa1qvsc1q
Vdcr
qL qLdc Vdc Ptot
Vtr Qtot
Vt
(c)
Fig. 3. Matlab-Simulink Model of blocks 4 – (a), 3- (b), and 10-(c).
vsa 0
500-
0.05 0.1 0.15 0.2 0.25
500
vsb 0
500-
0.05 0.1 0.15 0.2 0.25
500
vsc 0
500-
0.05 0.1 0.15 0.2 0.25
50
0
iLa
50-
0.05 0.1 0.15 0.2 0.25
50
iLb 0
50-
0.05 0.1 0.15 0.2 0.25
50
iLc
0
50-
0.05 0.1 0.15 0.2 0.25
50
isa 0
50-
0.05 0.1 0.15 0.2 0.25
50
0
isb
50-
0.05 0.1 0.15 0.2 0.25
50
isc 0
50-
0.05 0.1 0.15 0.2 0.25
50
0
iCa
50-
0.05 0.1 0.15 0.2 0.25
III. CONCLUSIONS
(b) In this paper a particular Matlab-Simulink model of electric
grid with a Statcom was developed. The model enables
verification of the different grid modes and evaluates the
efficiency of its operation.
Checking the grid model containing a non-linear and
unbalanced load shows the possibilities of STATCOM for
providing high sinusoidal voltage and current in the grid and
improve the power factor.
REFERENCES
[1] F. De La Rosa, Harmonics and power systems. Taylor& Francis,
(c) 2006.
Fig. 6. Simulation results – THD of grid voltage - (a) , sources current –(b) [2] S. R. Arya, B. Singh. Power quality improvement under non
and balanced loads current. ideal AC mains in distribution system. Electric Power System
Research 106 (2014) 86-94.
Now focus on the blocks 3 and 10. Equation (2) shows the [3] J. Schlabbach, D. Blume and T. Stephanblome, Voltage quality
formation principle of the direct sequence component from the in electrical power systems, IEEE. pp.241. 2001.
effective voltage values in the complex plane. We have [4] D. G. Holmes, T. A. Lipo, Pulse Width Modulation for Power
instantaneous values of voltages therefore block 3 is made in Converters. Principles and Practice. A John Wiley & Sons, Inc.,
accordance with Fig. 3(b). In block 10 for generating the pulses Publication. 2003, p. 724.
a Simulink PWM Generator unit is used (as shown in Fig. [5] Teodorescu R., Liserre M., Rodriguez P., Grid Converters for
3(c)). Photovoltaic and Wind power Systems, 2011, John Wiley &
The complete Matlab- Simulink model is shown in Fig. 4, Sons, Ltd. Publication, p. 398.
in which the blocks of Fig. 2 are integrated in the Controller [6] P. Salmeron, R. S. Herrera, J. R. Vazques. A new approach for
and three blocks of the PWM. The Measurement unit (Fig. 4) is three-phase loads compensation based on the instantaneous
reactive power theory. Electric Power System Research 78
designed to collect data `on the modeling results.
(2008) 605-617.