Accepted Manuscript Title: Grid Emulator For Small Scale Distributed Energy Generation Laboratory Authors: Sondes Skander-Mustapha, Manel Jebali-Ben Ghorbal, Marwa Ben Said-Romdhane, Mansour Miladi, Ilhem Slama-Belkhodja PII: DOI: Reference:
S2210-6707(18)31245-9 https://doi.org/10.1016/j.scs.2018.09.007 SCS 1245
To appear in: Received date: Revised date: Accepted date:
27-6-2018 4-9-2018 6-9-2018
Please cite this article as: Skander-Mustapha S, Jebali-Ben Ghorbal M, SaidRomdhane MB, Miladi M, Slama-Belkhodja I, Grid Emulator For Small Scale Distributed Energy Generation Laboratory, Sustainable Cities and Society (2017), https://doi.org/10.1016/j.scs.2018.09.007 This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.
Grid Emulator For Small Scale Distributed Energy Generation Laboratory Sondes Skander-Mustaphaa,b*, Manel Jebali-Ben Ghorbala, Marwa Ben Said-Romdhanea Mansour Miladia, Ilhem Slama-Belkhodjaa a
IP T
Université de Tunis El Manar, Ecole Nationale d'Ingénieurs de Tunis, LR11ES15 Laboratoire de Systèmes Electriques, 1002, Tunis, Tunisie b Université de Carthage, Ecole Nationale d'Architecture et d'Urbanisme, 2026, Sidi Bou Said, Tunisie
SC R
[email protected]
Ecole Nationale d'Ingénieurs de Tunis, Laboratoire des Systèmes Electriques-QehnA, B.P.37 1002 Tunis le Bélvédère-Tunisie
U
Tel.: +216 71 874 700; fax: +216 71 872 729
D
M
A
N
Highlights Design and implementation aspects of a grid emulator dedicated to test small scale distributed energy generation are proposed. Developed grid fault emulator can generate common grid faults and line impedance variation. An algorithm to generate line impedance is presented and supported with simulation and experimental results. System stability is ensured for proposed control parameters variation by analyzing closed loop poles.
TE
Abstract
This paper presents the design of a grid emulator dedicated to test small scale distributed energy generation. laboratory The proposed emulator aims to test its performances under different power quality conditions
EP
considering grid codes and standards. The developed emulator can generate common grid faults and line impedance variations. This last point is an additional feature versus common grid emulators. The paper discusses design and implementation aspects. Emulator performance analysis are investigated under special
CC
operating conditions. Simulation results are carried out to illustrate theoretical developments and a set of experimental results are provided to demonstrate the effectiveness of the proposed emulator.
A
Keywords-Grid emulator, line impedance emulation, equipment under test, distributed energy generation.
1. Introduction Climate change and aspiration for less pollution, better environment and social progress have promoted clean energy sources. Indeed, the growing interest in design of future sustainable societies leads to an energy landscape with an increasing use of 1
distributed energy generation (DEG). (Tanay S. U., Do_gancan B.‚ ikci, 2017; Twaha, Ramli, 2018). Technical and economic impact of large integration of DEG are significant (Pavan Kumar, Bhimasingu, 2017; Fattahi, Schriemer, Bacque, Orr, Hinzer, Haysom, 2016) and many studies have been conducted to cope with. Distributed energy generation
IP T
became a very challenging concern to handle these problems, by the reduction of the expected interruption cost, and the optimize of the operation schedule (Moreira,
SC R
Paredes, de Souza, Marafao, da Silva, 2017; Hashempour, Lee, Savaghebi, Guerrero,
2018; Twaha, Ramli, 2018), since distributed energy generation acts to supply and store energy with or without the intervention of utility grid (Chan, Cameron, Yoon, 2017).
U
So to investigate this area, large and also small scale laboratory distributed energy
N
generation are continuously under development (Espinoza, Gonzalez, Sempertegui,
A
2018; Patrascu, Muntean, Cornea, Hedes, 2016; Titmus, Strickland, & Cross, 2017).
M
Hence, it becomes essential to develop an emulator to test the performances of DEG
D
laboratory devices under grid fault conditions, their compliance with standards
TE
(European Standard EN 50438, 2007), local regulations, grid code requirements (GCR) (Swiss Grid,2013; Nordic Grid Code, 2007; E.On Netz, Grid Code) or low voltage right
EP
through (LVRT) capability requirements (Fathima, Palanisamy, 2015; Döşoğlu,
CC
Güvenç, Sönmez, Yılmaz, 2018). Indeed, using grid emulator has an important contribution to develop many renewable energy research areas. For example, to develop
A
and test the control of doubly fed induction generator coupled with flywheel or supercapacitor energy storage system in order to develop DFIG low voltage ride through characteristics (Sudipta, Sukumar, 2017; Syed, Hui Tariq, Uğur, Ali, Asif, 2017). Also, it can be used develop the control of PV inverter and to study the impact of
2
variation of voltage phase and amplitude on the sizing of passive components. (Panos, Vasilis, Nikos, 2017 ;. Hamidreza, Robert Johan, Shibashis, Babak, 2018). Different grid emulator (GE) hardware structures have been reported in the literature. Some of them are based on transformers (Veganzones, Sanchez, Martinez, Platero, Blazquez, Ramirez, Gordillo, 2011) or passive elements (Wessels, Lohde, Fuchs, 2010).
IP T
These structures do not allow LVRT and grid codes requirement tests. However,
topology based on two power converters is the most common structure used to perform
SC R
tests according to standards (Karuppaswamy, Gulur, John, 2014; Lohde, Fuchs, 2009; Si, Cordier, Kennel, 2016 ). In such structure, closed loop design is based on
proportional-resonant controller, to ensure output high dynamics for fast voltage
U
reference changes. Generated grid faults that have been widely explored in literature are
N
three phase balanced and unbalanced voltage sags, frequency deviations and harmonic
A
distortion. In (Eloy-García, Guerrero, Vasquez, 2013) the presented grid faults are
M
unbalanced voltages and low-order harmonics distortion, while in (Si, Cordier, Kennel,
D
2016) the authors investigate the generation of symmetrical voltage dip.
TE
In this paper, authors present an improved GE which is intended to test loads, distributed generators, storage systems and the small scale DEG laboratory under
EP
development shown in Fig.1. The aim of the developed GE is to reproduce voltage
CC
waveforms required for LVRT and GCR capability tests, related to local ancillary requirements and voltage disturbances according to standards, as EN 50160 for Power
A
quality (PQ) requirement, EN 62116, DIN VDE 0126-1-1 and VDE-AR-N 4105 for power generation systems connected to the Low Voltage Distribution Networks or EN 50438 for the Connection of Micro-Generators in Parallel. with Low Voltage Distribution Networks.
3
Passive anti-islanding tests, based on line impedance variation detection, are nowadays preferred, due to large PV grid integration. So, the proposed GE will also reproduce such line impedance variation with programmable values, according to standards parameters and local grid line impedance. With respect to the existing bibliography related to small scale laboratory , proposed grid emulators do not offer the emulation of
IP T
line impedance (Karuppaswamy, Gulur, John, 2014; Lohde, Fuchs, 2009; Eloy-García, Guerrero, Vasquez, 2013; Si, Cordier, Kennel, 2016), but for medium-voltage some
SC R
authors as (Gevorgian, Koralewicz , Wallen, Muljadi, 2017; Xiao, Wenzhong, Jianhui, Weihang, Wei , Eduard, Vahan, 2018) propose a grid simulator designed to test wind turbine generators including line impedance emulation , in this case to emulate line
U
impedance the output current vector is calculated in real time then the inverter voltage is
N
modified by adding an equivalent of voltage drop on the requested impedance, In the
A
present paper as it will be explained below, GE reference voltage values are generated
M
considering phase shifting relatively to AC grid voltage, and deduced from active and
D
reactive power of the equipment under test, proposed method ensures decoupled
TE
variation range of inductive and resistive impedance component so more flexible tests. The emulation of line impedance is also proposed for studies that deal with transmission
EP
line as presented by (Bo, Shuoting, Sheng, Yiwei, Fred, Leon, 2016; Shuoting, Bo,
CC
Sheng, Yiwei, Fei , Leon, 2018) for this application authors consider two ac grids as voltage sources, then as the output is an ac grid the generated power can be fixed by the
A
operator and consequently the algorithm calculates line current which will be compared to current references fixed by the master controller, whereas in the proposed study the output power is fixed by load or generator used as EUT, so the algorithm use real-time output current measurement to emulate the impedance line.
4
Line impedance variation within a given range is required by standards related to antiislanding. In addition, line impedance based tests are used to study distributed generation responses when injecting active power into grid under diverse line impedance values (Sarkar, Dan, 2016; Vieto, Sun, 2014) and to evaluate performances of current or parallel-connected inverters power sharing controls (Ye, Wang, Li, Sun,
IP T
Han, Zhang, 2017). Indeed, the mismatch of line impedance components, leads to a difference between actual power allocation of the parallel distributed generation
SC R
inverters and the reference value. which leads to instability in the microgrid. (Raj, Gaonkar, Guerrero, 2018; Sajjad, Vahid, 2018).
Such impedance emulation is also useful to calibrate line impedance measuring
U
instruments (Roggo, Furrer, Merendaz, 2013).
N
GE performances are tested with several load kinds under different working conditions:
A
linear and non-linear load, induction motor during starting and battery banks during
M
activation.
D
The paper is organized as follows: Section 2 presents GE design, Section 3 details
TE
system control. Line impedance test is investigated in section 4. Then, section 5 focuses on the proposed GE behavior when connected to several types of equipments under test
EP
(EUT). Finally, a set of experimental results are presented in section 6 to demonstrate
A
CC
the effectiveness of the proposed GE.
5
Energy storage system DC
DC DC
DC
DC BUS
DC AC
Grid Emulator
AC BUS
Grid
DC
Linear Load
DC AC
Non linear load
Wind turbine emulator
IP T
AC
Intelligent load
DFIG
SC R
Fig. 1 Small scale distributed energy generation laboratory including grid emulator
U
2. System design
N
The proposed emulator prototype is illustrated in Fig. 2. It consists of a back-to-back
AC/DC Vdc
igb
PI controller
TE
Vdc
D
igc
igabc
DC/AC
iga
M
GRID
Lg
A
converter connected to the EUT through a low-pass three-phase LCL filter.
VdC* PF*
LCL i1a
Z1
Z2
i2a
(L1, R1) (L2, R2)
i1b
C
i1c
PR controller
i2b Vc
Equipment under test
i2c
i1abc i2abc Vcabc
Vca* Vcb* Vcc* Fault voltage references
EP
Fig. 2 Block diagram of a grid emulator system
CC
The LCL filter is an important element of the GE. Its design has been widely reported in the literature for grid connected converter based distributed generator
A
applications (Jayalath, Hanif, 2018), but not well detailed for GE applications. Indeed, LCL filters for grid connected inverters should pass fundamental frequency and attenuate high order harmonics. However, for GE applications, it should eliminate voltage harmonics according to standards, and according to desired tests. So, given voltage harmonics should be eliminated but not specifics others. For example, it should 6
be able to let fundamental but also 5th, 7th and 11th voltage harmonics, at specified levels. Impedances of the LCL filter shown in Fig. 3 are expressed as follows: Z 1 L1 s R 1
(1)
Z 2 L2 s R2
(2)
1
(3)
Cs
IP T
Zc
where C is the capacitor of filter, L1 the converter side inductor, L2 the EUT side
V1
V2
i1
Z1
ZEUT
Vc
A
Fig. 3 . Equivalent single phase LCL filter circuit
N
U
Zc
i2
Z2
ic
Vconv
SC R
inductor, R1 and R2 are their equivalent series resistors respectively.
M
According to Fig. 3, Vc voltage is given by the following equations : V c V c o n v Z 1 i1 Z 2 i2
(5) (6)
EP
V c i1 i 2 Z c
D
Z EUT
TE
Vc
(4)
Where 𝑉𝑐 and 𝑉𝑐𝑜𝑛𝑣 are capacitor voltage and output converter voltage respectively
CC
Based on equations (5) and (6) the converter side current i1 can be expressed as follows: Z EUT Z 2 Z c
(7)
Z c Z EUT Z 2
A
i1 V c
So the transfer function of the filter is given by (8) Vc V conv
Z c Z EUT Z 2
Zc
Z 1 Z EU T Z 2 Z 1.Z c
(8)
7
If no EUT is connected to GE, 𝑉𝑐 /𝑉𝑐𝑜𝑛𝑣 voltage ratio is directly deduced from Fig.3 and becomes as expressed by (9). Vc0
V conv
Zc
(9)
Z c Z1
Current ripples due to converter switching frequency is reduced when L1/L2 ratio is
IP T
higher. In another hand the reduction of L2 value leads to line impedance variations and resonance frequency displacement which leads to instability problems. In order to avoid
SC R
such situation, the ratio between both inductances is chosen equal to one. Consequently, the L and C values are derived from (10) and (11) (Wang, Zhihong, Gautam, &
Vc /
(10)
6 f s 0 .1 5 i n
0 .0 5 S n 2 f nV c
(11)
2
M
C
2
3
A
1
N
L
U
Xiaoming, 2003):
Where fs is the inverter switching frequency, Sn is the inverter rated power, and fn is the
D
operating frequency for healthy conditions. in is the rated current. Resonance frequency
TE
of the LC filter is expressed is (12). In order to ensure the generation of voltage
EP
harmonics up to 11th one, the obtained L1 and C values should verify that fres is larger than (11 fn). 1
1
CC
f res
2
(12)
L1C
A
The Bode plot of the transfer function of the LCL filter (9) at no EUT is presented in Fig. 4. According to the system parameters given in appendix, filter resonance frequency is 4226 rad/sec so filter bandwidth allows the injection of harmonics up to eleven orders. That means that the emulator will be able to test harmonic voltage distortion, which confirms filter parameters choice. 8
IP T SC R
Fig. 4 . Bode plot related to the transfer function of the LCL filter at no EUT
Fig. 5 shows transfer function Bode plot, related to the transfer function of the LC filter
U
for different EUT parameters as expressed in (8). This figure illustrates filter
N
performances for different EUT. It is to note that impedance magnitude decreases with
CC
EP
TE
D
M
A
EUT impedance value but system bandwidth does not change.
A
Fig. 5. Bode plot related to the transfer function of the LC filter for different EUT parameters
3. System control
9
GE control aims to generate VC filtering capacitor voltages reproducing voltage references. Control effectiveness depends on its capability to follow with a minimum error and time delay the proposed voltage reference. The control system is composed of two loops (Fig. 6), outer one for capacitor voltage VC regulation and inner one for
i1
Vc*
PWM Converter
C2 (s)
C1 (s)
Vc
i2
i2
Vconv
Vc
1 R1+L1s
Vc
System
Vc
1/RC+Cs
U
Control
1
SC R
Vconv*
IP T
current i1 regulation where i1 is the EUT current.
N
Fig. 6 . Control block diagram of the GE DC/AC converter
A
A proportional resonant controller (C1) is used to ensure high loop gain at desired
M
frequencies: 2n
k
(s i ) 2
i 1
2
D
k 0 n
(13)
TE
C1 (s)
aks
EP
where i, k and n N; i is the resonance frequencies in rad/s; ai are the coefficients computed to obtain the desired margin of stability (r).
CC
Regulator of the internal loop C2 is chosen as a constant gain (G), which ensures a faster internal loop than the external one. A multi-frequency resonant control is adopted
A
in external loop, two resonance frequencies are used (1=0 and 2=50 where 0 =314 rd/s). Bode plot related to (C1) resonant controller is presented in Fig. 7.
10
IP T SC R
Fig. 7. Bode plot of resonant controller (C1)
To test the robustness of closed loop with resonant controller, equivalent transfer 𝑉
N
a 2 s a1 s a 0 2
4
3
2
a 2G ) s 2
R
A
L1 C s ( R 1 G ) C s ( L1 C
1
G C
2
a 1G s a 0 G
(14)
M
T FC L ( s )
U
𝑐 function ( 𝑉𝑐𝑟𝑒𝑓 ) is given when i2=0 (for no EUT).
Where L1, R1, C are the LCL filter parameters and G is the gain of C2 proportional
D
controller.
𝑉
TE
𝑐 For resistive EUT (Rlo), equivalent transfer function ( 𝑉𝑐𝑟𝑒𝑓 ) is expressed by (15), (16)
EP
and (17) where L1=L2=L, R1=R2=R, R+Rlo=Rj and R+G=RG. N (s)
(15)
D (s)
CC
T FC L ( s )
N ( s ) a 2 L G s ( R j a 2 G a 1 L G ) s ( a 1G R j a 0 G L ) s a 0 G R j 3
D (s) L C s LC
A
2
R
G
5
G LC
G RG
2
2
R 2
RG s (L C 4
j
R
j
RG
a
2
2
2
G s 2
L R jRGC s
L R
j
RG C
(16)
3
2
a 1G s
(17)
a0G
Flowchart to calculate resonant controller parameters is presented in Fig. 8.
11
Start
Choice of wi
Calculate C1
IP T
Choice of the margin of stability r
Identification of the parameters (ak)
minimal oscillations verified
SC R
No
Yes End
.
N
U
Fig. 8 Flowchart of resonant controller parameters computation
A
Discrete time pole-zero map on S-plan is shown in Fig. 9. It can be seen that all closed
M
loop poles present negative real values, so that system including control is stable even if stability margin r varied. To select the best value a trade-off between the limit of
D
stability (corresponding to zero real value) and less oscillation (corresponding to zero
A
CC
EP
TE
imaginary value) must be done.
Fig. 9 . Location of poles of the closed loop system on s-plane
12
4. Line impedance emulation description Low voltage distribution line connecting local distributed energy generation to grid can be modeled by an impedance Z. This impedance value depends strongly on grid health. In this work, line impedance emulation is incorporated into the system control and acts
IP T
as a virtual impedance to be programmed according to target tests. Impedance emulation design is based on phasor diagram presented in Fig. 10
I Z Uin
Uout
ZI
d j
2
U
in
e
j
U
in
out
Z
U in U
out
e
*
D
in
U
j ( )
Z
(18)
(19)
TE
S
U
*
M
Apparent power is expressed as follows:
A
N
Fig. 10 Line impedance and phasor diagram
I in
Uout RI
jXI
q
U
I
S U
SC R
Uin
Z
EP
Active and reactive power are deducted from (19), voltage magnitude Uout and tan are deduced from (20) and (21) and presented in (22) and (23). Active and reactive power
CC
values are computed in (24) and (25) using output current and voltage components. U
A
P
R
U
Q R
U
out
2
2
R U
2
R U
in
X
2
in
X
PX QR U in s in
in
U
out
out
cos
s in X U
in
XU
U
out
out
s in
(20)
c o s
(21)
(22)
13
ta n
P
3 2
Q
3 2
PX QR
(23)
U in ( P X Q R ) 2
( u o u t i o u t u o u t i o u t )
(24)
( u o u t i o u t u o u t i o u t )
(25)
IP T
So as presented in Fig. 11, GE reference voltage values are generated considering phase shifting relatively to AC grid voltage, measured at GE input, noted Vgabc. Then,
SC R
impedance parameters can be computed by users using measured voltage Uoutabc and
Vgabc and measured output current ioutabc. For the line impedance test ioutabc is equal to
U
i2abc (Fig. 2) and Uin is equal to Ugrid (Fig. 11).
DC/AC
LCL
N
AC/DC
L1, R1 L2, R2
M
vgabc igabc
D vgabc
TE
Vdc_ref PF_ref
EP
sind Calculation
RMS
CC
Ugrid
A
Programmed Z
d
tand
tand Computation
P R
X
Ugrid
Q
Vc
Equipment under test
ioutabc uoutabc
Vcabc_ref
Generation of reference values
d
Uout
sind
arctan
C
i1abc i2abc vcabc
PR controller
PI controller
Vdc
i1abc
Vdc
igabc
A
Lg
Uout computation
P
R X
Q
abc
ab
abc
ab
P,Q Calculation
iouta
ioutb uouta uoutb
Fig. 11 GE Line impedance generation
The reference voltage values are generated in function of maximum value Uout and phase shifting .
14
Simulation results are presented in two sets. First, in Fig. 12, reference values parameters (Uout and phase shifting ) are generated when actual variable line impedances is used. Then comparison between estimated references and measured output voltages are given. Indeed, first graph (a) shows the used resistance and impedance values in ohm: resistance value R change in steps of 1 to 4 and
IP T
impedance value X is equal to 1.5. Second graph (b) shows active and reactive power, tests are done for variable EUT to demonstrate the robustness of the control, active
SC R
power decreases from 15kw to 8kW and reactive power decreases from 3kVAR to
1kVAR. Third graph (c) illustrates difference between measured and estimated cos(),
U
difference is about 1%. Last graph (d) presents Uout_ref (maximum magnitude of the
A
in the output of the additional line impedance.
N
generated reference value), estimated value is in conformity with real signal measured
D
M
(a)
CC
(c)
EP
TE
(b)
A
(d)
Fig. 12 System response and reference values in case of using real line impedance.
15
The second set of simulation results is presented in Fig. 13. In this case there is no real impedance line but GE generates same voltage than with additional real line impedance. So in first graph (a), programmed impedance line components are presented (resistance value R change in steps of 1 to 4 and impedance value X is equal to 1.5). In second graph (b), phase shift is measured between GE output and AC grid, it decreases from
IP T
11° to 5° according to programmed impedance values. Third graph (c) presents GE
output and reference values. Results with programmed virtual impedance presented in
SC R
Fig. 13 are in conformity with tests using real impedance shown in Fig. 12.
N
U
(a)
M
A
(b)
EP
TE
D
(c)
Fig. 13 System response in case of using virtual line impedance
CC
Fig. 14 shows the reference voltage magnitude (Uout_ref), output GE voltage and grid voltage with virtual and real impedances. The corresponding values of Uout to each
A
programmed value of impedance components as presented in Fig. 12 and Fig. 13 are 480V-433V-403V-384V. The GE output voltage is in conformity with the programmed voltage profile according to the fixed line impedance.
16
IP T SC R
Fig. 14 Output voltage with virtual and real impedances
5. EUT analysis effect on GE
U
Proposed GE is tested with different kinds of EUT. Simulations are carried out with
N
PSIM software. Fig. 15 presents generation of equilibrate voltage drop of 15%.
A
Successive connection of different types of EUT is performed: First a resistive EUT is
M
connected (power is 1kW), then an inductive EUT at 0.1s. At 0.15s (power is 1kW, 0.5kVAR), a non linear load is added (power is 1kW, 0.5kVAR), an induction motor
D
(power is 0.5kVA), at 0.2s and finally, at 0.35s, a battery banks are activated (power is
TE
1kW, 1kVAR),. The control ensures a perfect voltage curves waveform even under
EP
wide range of EUT variations. Only, when the capacitor banks is activated a fluctuation of voltage occurs during 0.5ms.
CC
Reference value and emulator output superposition are shown in Fig. 16, when generating a voltage including fifth harmonic. In this case the emulator is tested for
A
different EUT. For voltage test including fifth harmonic when activation of capacitor banks (at 0.25s), voltage presents some oscillations for 0.005s during first period .
17
IP T
D
M
A
N
U
SC R
Fig. 15 . Output voltage emulator when 15% voltage drop and EUT current for successive EUT introduction
TE
Fig. 16 .Reference signal and emulator output including fifth order harmonic
The developed GE is able to reproduce voltage waveforms required for LVRT tests, an
EP
example is presented in Fig. 17, this simulation is curried out with an ideal current
CC
source, voltage profile generated by the GE drops from 1pu to 0.1pu then at 0.5s it increases to reach its initial value. EUT generator power decreases from 10kW to 1kW
A
then it increases when voltage increases. generated current remain fixe as used generator is an ideal current source, this test is useful when testing LVRT capability of the DFIG system according to appropriate GCR. It is to note that as the GE is designed to test the global small scale distributed energy generation laboratory, it is able to
18
support high reactive current generated by DFIG system during transient conditions.
Experimental setup
N
6
U
Fig. 17 .LVRT conditions reproduced by GE when ideal current source is used
SC R
IP T
Protection devices are provided to protect GE switches for extreme cases.
A
Experimental tests of the proposed GE have been performed on a 20kVA prototype
M
(Fig. 18)
20kVA Power converter
A
CC
EP
TE
D
LCL Filter
STM32F4-Discovery
Measurement board
Fig. 18 . GE laboratory prototype
19
As shown in Fig. 19, control board is based on STM32F4 Discovery. The used measurement board that provides current and voltage measurements is based on LA25NP and LV25-P sensors. GE experimental setup includes basically two voltage source converters in back-to-back topology. Both converters are a two-level PWM converters with a DC link capacitance of 1100µF. They are 20kVA three phase voltage power
IP T
converters. In addition, an auto transformer is employed in order to vary the AC side
voltage peak magnitude. Device side converter is connected to the EUT through a three
SC R
phase LCL filter selected with L1= 2mH, L2= 2mH and C=30µF. The output inductor (L2) is a high frequency one. DC voltage is controlled to 580 V. Tests are performed with 325V single voltage. Discrete time control frequency as well as PWM switching
U
frequency are selected to be 10kHz. Control algorithm is given by Fig. 20. L=2mH 0.1Ώ/20A, C=30uF/600V
N
AC/DC
LCL
M
GRID 400V 50Hz
EUT
A
DC/AC
EP
TE
D
Interface Card
STM 32 F4 DISCOVERY
Sensors card
A
CC
Fig. 19 GE experimental setup
20
interrupt Sampling
Conversion
Main Initialisation : ADC PWM DMA,
EOC
Generate duty cycle
IP T
Generate reference signals
Infinite loop (While(1)) Waiting for interruption
SC R
End interrupt
Fig. 20 Control algorithm
Experimental results presented in this section intend to evaluate proposed GE
U
performance in addition to validate simulation results. The equipments under test are :
N
firstly, variable three phase 4 kW resistor and secondly, to emulate non linear load, a
A
three phase diode rectifier (SEMIKRON) connected to a resistor is used.
M
The grid emulator three phase output voltage is shown in Fig. 21, the right figure
D
presents the output voltage Vca and its reference (the magnitude is 300V and frequency
TE
is 50Hz) there is no phase shift. The reference signal is measured from the digital to analog converter (DAC) of the STM.
EP
In the following, the defaults generated by the GE are overestimated in order to show the efficiency and the robustness of the GE. Fig. 22 presents reference and GE voltage
CC
output when 100% equilibrate over voltage is applied during 1s (the magnitude is 10V
A
then 20V and frequency is 50Hz). Fig. 23 shows the voltage Vca when frequency variation from 50Hz to 25Hz is applied (the magnitude is 20V). Fig. 24 shows the voltage Vca with 20% added harmonics of 5th(a), 7th (b) and 11th (c) harmonic voltages respectively. Fig. 25 illustrates the case of variable resistive EUT. The top curve shows output voltage (the magnitude is 50V), and the bottom one presents EUT current when variation from 32 to 24. It is to note that resistive EUT current variation does not 21
affect GE performances. Fig. 26 points up the case of variable non linear load (three phase diode rectifier connected to a resistor). The top curve presents the output voltage (the magnitude is 20V), and the bottom one shows EUT current. In this case, EUT current presents some harmonics but the voltage is not significantly affected.
IP T
Experimental test presented by Fig. 27 demonstrates the result of programmed phase shift between emulator output and AC grid, measures are taken in the output of the autotransformer. the programmed phase shift is 12 degrees the result is 695s
D
M
A
N
U
SC R
equivalent to equal to 12.51 degrees phase shift.
EP
TE
Fig. 21 Emulator output voltage for healthy conditions (right figure illustrates the output voltage Vca and its reference taken from the DAC of the STM)
A
CC
Switching signals application
Fig. 22 Emulator output voltage for an equilibrate overvoltage of 100% (the top curve presents GE output and lower one presents reference voltage)
22
IP T SC R
U
Fig. 23 Emulator output voltage the case of frequency variation from 50Hz to 25Hz ( the top curve presents GE output and the lower one presents reference voltage)
M
A
N
(a)
EP
TE
D
(b)
CC
(a)
A
Fig. 24 Emulator output voltage the case of harmonic distortion (injection of 5th harmonic (a), 7h harmonic (b), 11th harmonic (c) ) (the top curves present the GE output and the bottom ones present the reference voltage)
23
IP T SC R
EP
TE
D
M
A
N
U
Fig. 25 Emulator output voltage(top curve), EUT current ( bottom curve) for three phase variable resistive EUT
A
CC
Fig. 26 Emulator output voltage(top curve), current ( bottom curve) for three phase non linear EUT
24
GE outputt
SC R
IP T
Autotransformer outputt
U
Fig. 27 Phase shift between GE output and Auto transformer output (right figure illustrates a 'zoomed-in' view)
N
The ability of the proposed control algorithm is verified by means of various test. Testes
A
reveal that the control is able to obtain fine results not only in terms of precision of
M
programmed impedance parameters but also in terms of robustness in the face of variable load and generator power. Indeed, tests with different kind of EUT demonstrate
D
the capability of the proposed control to reproduce the desired voltage profile even their
TE
active or reactive power fluctuates. In addition, experimental results confirm the
EP
algorithm accuracy, indeed, difference between programmed and obtained phase shift is 0.5degrees. And to give more details about algorithm accuracy, relative error between
CC
reference voltage magnitude with both virtual and real impedances in percent is presented in Fig. 28, the value is less than 3% when different impedance values are
A
programmed. Furthermore, system stability is ensured for proposed control parameters variation by analyzing closed loop poles (Fig. 9). In another hand the algorithm computation performance is enhanced by the reduction of execution time.
25
Conclusions
IP T
U
7
SC R
Fig. 28 Relative error between Uout_ref with virtual and real impedances in percent
N
The grid emulator is an indispensable device to test the performances of DEG
A
laboratory equipments under grid fault conditions as well as their compliance with
M
standards. This paper presented an improved grid emulator. It is based on a back-toback converter connected to the EUT through a low-pass three phase LCL filter. The
D
developed GE generates voltages reproducing grid faults and disturbances. Compared to
TE
common grid emulators it emulates line impedance variation, with decoupled variation range of inductive and resistive part. The emulator aims to test small scale DEG
EP
laboratory equipments. Authors detail emulator design and illustrate performance
CC
analysis results by means of simulation and experimental tests carried out with different loads and under special operating conditions such as induction motor starting and
A
capacitor banks activation. The experimental and simulation results show the efficiency and performances of the proposed grid emulator. Indeed comparison between system response in case of using virtual and real line impedance demonstrates a conformity between both output voltages , relative error between reference voltage magnitude with both virtual and real impedances is less than 3%. 26
This paper is an expansion of the paper submitted to IREC2018
Appendix Grid emulator parameters are presented in Table 1
Symbol Sinvnom Srecnom Vg L1 R1 L2 R2 C fs
Value 20 20 400 2 0.1 2 0.1 30 10
Unit kVA kVA V mH Ω mH Ω µF kHz
A
CC
EP
TE
D
M
A
N
U
SC R
Description Inverter Nominal power Rectifier Nominal power Nominal Voltage line-line Converter side filter inductor Converter side filter inductor resistance Device side filter inductor Device side filter inductor resistance Filter capacitor Switching frequency
IP T
Table 1GE parameters
27
Acknowledgments This work was supported by the Tunisian Ministry of High Education and Research under Grant LSE-ENIT-LR 11ES15 . References
IP T
Bo, L., Shuoting, Z., Sheng, Z., Yiwei, M., Fred, W., Leon, M. T. (2016). Design consideration of converter based transmission line emulation. IEEE Applied Power Electronics Conference and Exposition (APEC) , 20-24 March 2016 https://doi.org/10.1109/APEC.2016.7467987
SC R
Chan, D., Cameron, M., & Yoon, Y. (2017). Key success factors for global application of micro energy grid model. Sustainable Cities and Society, 28, 209–224. https://doi.org/10.1016/j.scs.2016.08.030
N
U
Döşoğlu, M. K., Güvenç, U., Sönmez, Y., & Yılmaz, C. (2018). Enhancement of demagnetization control for low-voltage ride-through capability in DFIG-based wind farm. Electrical Engineering, 100(2), 491–498. https://doi.org/10.1007/s00202-017-0522-6
M
A
Eloy-García, J., Guerrero, J. M., & Vasquez, J. C. (2013). Grid simulator for power quality assessment of micro-grids. IET Power Electronics, 6(4), 700–709. https://doi.org/10.1049/iet-pel.2012.0541
TE
D
Espinoza, J. L., Gonzalez, L. G., & Sempertegui, R. (2018). Micro grid laboratory as a tool for research on non-conventional energy sources in Ecuador. 2017 IEEE International Autumn Meeting on Power, Electronics and Computing, ROPEC 2017, 2018–January(Ropec), 1–7. https://doi.org/10.1109/ROPEC.2017.8261615
EP
Fathima, A. H., & Palanisamy, K. (2015). Optimization in microgrids with hybrid energy systems - A review. Renewable and Sustainable Energy Reviews, 45, 431– 446. https://doi.org/10.1016/j.rser.2015.01.059
CC
Fattahi, J., Schriemer, H., Bacque, B., Orr, R., Hinzer, K., & Haysom, J. E. (2016). High stability adaptive microgrid control method using fuzzy logic. Sustainable Cities and Society, 25, 57–64. https://doi.org/10.1016/j.scs.2016.03.003
A
Gevorgian, V., Koralewicz P., Wallen, R., Muljadi, E. (2017). Controllable Grid Interface for Testing Ancillary Service Controls and Fault Performance of UtilityScale Wind Power Generation, 15th International Workshop on Large-Scale Integration of Wind Power into Power Systems as well as on Transmission Networks for Offshore Wind Power Plants Hamidreza, J., Robert C., Johan H. E., Shibashis B., Babak P. (2018) Decentralized Active and Reactive Power Control for an AC-Stacked PV Inverter With Single Member Phase Compensation, IEEE Transactions on Industry Applications, 54(1), 345 - 355. https://doi.org/10.1109/TIA.2017.2761831 28
Hashempour, M. M., Lee, T., Savaghebi, M., S., & Guerrero, J. M. (2018). Real-Time Supervisory Control for Power Quality Improvement of Multi-Area Microgrids, 1– 11. https://doi.org/10.1109/JSYST.2018.2823899 Jayalath, S., & Hanif, M. (2018). An LCL-Filter Design with Optimum Total Inductance and Capacitance. IEEE Transactions on Power Electronics, 33(8), 6687–6698. https://doi.org/10.1109/TPEL.2017.2754100
IP T
Karuppaswamy, B. A., Gulur, S., & John, V. (2014). A grid simulator to evaluate control performance of grid-connected inverters. 2014 IEEE International Conference on Power Electronics, Drives and Energy Systems, PEDES 2014. https://doi.org/10.1109/PEDES.2014.7042076
SC R
Lohde, R., & Fuchs, F. W. (2009). Laboratory type PWM grid emulator for generating disturbed voltages for testing grid connected devices. 2009 13th European Conference on Power Electronics and Applications.
N
U
Moreira, A. C., Paredes, H. K. M., de Souza, W. A., Marafao, F. P., & da Silva, L. C. P. (2017). Intelligent Expert System for Power Quality Improvement Under Distorted and Unbalanced Conditions in Three-Phase AC Microgrids. IEEE Transactions on Smart Grid, 3053(c), 1–10. https://doi.org/10.1109/TSG.2017.2771146
M
A
Panos, C. K., Vasilis A. K., Nikos D. H. (2017). Laboratory Education of Modern Power Systems Using PHIL Simulation. IEEE Transactions on Power Systems, 32(5), 3992 - 4001. https://doi.org/10.1109/TPWRS.2016.2633201
D
Patrascu, C., Muntean, N., Cornea, O., & Hedes, A. (2016). Microgrid Laboratory for Educational and Research Purposes. IEEE 16th International Conference on Environment and Electrical Engineering (EEEIC)
EP
TE
Pavan Kumar, Y. V., & Bhimasingu, R. (2017). Electrical machines based DC/AC energy conversion schemes for the improvement of power quality and resiliency in renewable energy microgrids. International Journal of Electrical Power and Energy Systems, 90, 10–26. https://doi.org/10.1016/j.ijepes.2017.01.015
CC
Raj D, Chethan., Gaonkar, DN., & Guerrero, Josep M., Improved P-f/Q-V and P-V/Q-f Droop Controllers for Parallel Distributed Generation Inverters in AC Microgrid. Sustainable Cities and Society (2018), https://doi.org/10.1016/j.scs.2018.04.026
A
Roggo, D., Furrer, D., & Merendaz, L. (2013). On-line 2 to 150 kHz grid impedance meter. 22nd International Conference and Exhibition on Electricity Distribution (CIRED 2013), (583), 1417–1417. https://doi.org/10.1049/cp.2013.1228 Sajjad G, Vahid M, A generalized droop control approach for islanded DC microgrids hosting parallel-connected DERs. Sustainable Cities and Society (2018), https://doi.org/10.1016/j.scs.2017.09.038. Sarkar, T., & Dan, A. K. (2016). Effect of X / R Ratio on Low Voltage Distribution System Connected with Constant Speed Wind Turbine. International Conference
29
on Control, Instrumentation, Energy & Communication (CIEC), 417–421. https://doi.org/10.1109/CIEC.2016.7513780 Shuoting, Z., Bo, L., Sheng, Z., Yiwei, M., Fei, W., Leon, M. T. (2018). Development of a Converter-Based Transmission Line Emulator with Three-Phase Short-Circuit Fault Emulation Capability. IEEE Transactions on Power Electronics, 1-14. https://doi.org/10.1109/TPEL.2018.2805835
IP T
Si, G., Cordier, J., & Kennel, R. M. (2016). Extending the Power Capability with Dynamic Performance of a Power-Hardware-in-the-Loop Application - Power Grid Emulator Using “inverter Cumulation.” IEEE Transactions on Industry Applications, 52(4), 3193–3202. https://doi.org/10.1109/TIA.2016.2539918
SC R
Sudipta, G., Sukumar, K., (2017). An Energy Function-Based Optimal Control Strategy for Output Stabilization of Integrated DFIG-Flywheel Energy Storage System, IEEE Transactions on Smart Grid, 8(4), 1922 - 1931. https://doi.org/ 10.1109/TSG.2015.2510866
N
U
Syed, Z. H., Hui L., Tariq, K., Uğur, A., Ali, A., Asif, K., (2017) Design and control of wind/super-capacitor/battery/diesel engine power plant, International Conference on Innovations in Electrical Engineering and Computational Technologies (ICIEECT). 2017–May, 1–6. https://doi.org/ 10.1109/ICIEECT.2017.7916542
M
A
Tanay S. U., Do_gancan B.‚ ikci, (2017) Integration of hydrogen energy systems into renewable energy systems for better design of 100% renewable energy communities, international journal of hydrogen energy, 42 (4), 2453-2456. https://doi.org/10.1016/j.ijhydene.2016.09.086
TE
D
Titmus, P., Strickland, D., & Cross, A. (2017). Low Cost Laboratory Micro-grid Hardware and Control for Electrical Power Systems Teaching. 2017 19th European Conference on Power Electronics and Applications, EPE 2017 ECCE Europe, 2017–January, 1–10. https://doi.org/10.23919/EPE17ECCEEurope.2017.8098945
EP
Twaha S, Ramli MAM, A review of optimization approaches for hybrid distributed energy generation systems: off-grid and grid-connected systems, Sustainable Cities and Society (2018), https://doi.org/10.1016/j.scs.2018.05.027
A
CC
Veganzones, C., Sanchez, J. A., Martinez, S., Platero, C. A., Blazquez, F., Ramirez, D., Gordillo, F. (2011). Voltage dip generator for testing wind turbines connected to electrical networks. Renewable Energy, 36(5), 1588–1594. https://doi.org/10.1016/j.renene.2010.10.022 Vieto, I., & Sun, J. (2014). Real-time simulation of subsynchronous resonance in TypeIII wind turbines. 2014 IEEE 15th Workshop on Control and Modeling for Power Electronics, COMPEL 2014, 1–8. https://doi.org/10.1109/COMPEL.2014.6877110 Wang, T. C. Y., Zhihong Ye, Gautam Sinha, & Xiaoming Yuan. (2003). Output filter design for a grid-interconnected three-phase inverter. IEEE 34th Annual Conference on Power Electronics Specialist, 2003. PESC ’03., 2, 779–784. https://doi.org/10.1109/PESC.2003.1218154 30
Wessels, C., Lohde, R., & Fuchs, F. W. (2010). Transformer based voltage sag generator to perform LVRT and HVRT tests in the laboratory. Proceedings of EPE-PEMC 2010 - 14th International Power Electronics and Motion Control Conference, 8–13. https://doi.org/10.1109/EPEPEMC.2010.5606830 Xiao, W., Wenzhong. G., Jianhui, W., Weihang, Y., Wei G., Eduard, M., Vahan, G. (2018). Implementations and Evaluations of Wind Turbine Inertial Controls with FAST and Digital Real-Time Simulations. IEEE Transactions on Energy Conversion, https://doi.org/10.1109/TEC.2018.2849022
SC R
IP T
Ye, P., He, J., Wang, G., Li, S., Sun, F., Han, Y., & Zhang, T. (2017). An Improved Droop Control Strategy for Parallel Inverters in Microgrid, IEEE Conference on Energy Internet and Energy System Integration (EI2), https://doi.org/10.1109/EI2.2017.8245514 (2007 )Requirements for the Connection of Micro-Generators in Parallel with Public Low Voltage Distribution Networks, European Standard EN 50438, 2007.
N
U
(2013) Swiss Grid, Transmission Code 2013. [Online]. Available: https://www.strom.ch/fileadmin/user_upload/Dokumente_Bilder_neu/010_Downlo ads/Branchenempfehlung/Document_de_la_branche_TC_2013.pdf.
M
A
(2007) Nordel, Nordic Grid Code 2007 Edition. [Online]. Available: https://www.entsoe.eu/fileadmin/user-upload/-library/publications/ nordic/planning/070115-entsoe-nordic-NordicGridCode.pdf
A
CC
EP
TE
D
(2006) E.On Netz, Grid Code: High and extra high voltage. [Online]. Available: http://www.eonnetz.com/pages/ehn-de/Veroeffentlichungen/ Netzanschluss/Netzanschlussregeln/ENENARHS2006eng.pdf.
31