Analytical Model of A Grid-Forming Inverter
Analytical Model of A Grid-Forming Inverter
Ratik Mittal, Student Member, IEEE, Zhixin Miao, Senior Member, IEEE
Abstract—Recently, inverter-based resources are being inte- eling. The developed model is validated in the time-domain
grated into the power grid at a rapid rate. Most of these resources with the EMT model for weak grid operations. The linear
are grid-following inverters, where weak grid operation becomes state-space model is also extracted from the analytical model
an issue. The research focus has now shifted towards grid forming
inverters, which emulate synchronous generators. Thus proper to perform eigenvalue analysis. Furthermore, laboratory-scale
modeling and analysis are required to understand the grid hardware experimentation was also conducted to replicate the
forming inverters. This paper presents the nonlinear analytical EMT studies and analytical model results when operating
model of a grid forming inverter when operating in grid- under weak grid conditions.
connected mode in dq -domain. The developed model is validated The rest of the paper is structured as follows. Section
in the time domain with the Electromagnetic Transients (EMT)
test bed when the system operates under weak grid conditions. II describes the system topology. Section III illustrates the
2022 IEEE Power & Energy Society General Meeting (PESGM) | 978-1-6654-0823-3/22/$31.00 ©2022 IEEE | DOI: 10.1109/PESGM48719.2022.9916676
The analytical model is also used to perform the eigenvalues analytical model building. Section IV presents the results and
analysis. The EMT model is simulated in MATLAB/Simscape analysis. Section V outlines the hardware implementation.
and the analytical model is simulated in MATLAB/Simulink. Section VI concludes the paper.
Hardware experimentation is also performed for further bench-
marking with the help of laboratory scale hardware setup. II. S YSTEM T OPOLOGY
Index Terms—Grid forming inverter, weak grid, analytical
model, eigenvalue The schematic of the GFM presented in Fig. 1. The DC
terminal of the three-phase VSC is connected to a DC voltage
I. I NTRODUCTION source, and the converter is connected to the grid through a
transmission line, represented by Rg , and Lg . A RLC choke
T HE MOTIVATION to achieve the goal of clean energy
has led to rapid advances towards power electronics-
based sources, known as inverter-based resources (IBRs). IBRs
filter is connected at the terminal of the VSC with Rf , Lf , and
Cf as the resistance, inductance, and capacitance respectively.
A purely resistive load RLoad is also connected at the PCC
are quickly replacing the traditional synchronous generators
bus. The control structure of the GFM is implemented in dq
based power grids. In fact, in some parts of the world like
frame. The following notation are used: icdq , vdq and iLdq are
Tasmanian, Ireland, South Australia met more than 90% their
the current flowing through the filter inductor (Lf ), voltage at
energy demand by renewable energy sources [1], [2], [3].
the PCC bus and the load current in dq frame respectively. P
Predominantly these IBRs are grid following inverters
and Q are the real and reactive power at the PCC bus.
(GFLs), which imitate the characteristics of a current source.
The inner loop is PI controller-based current control struc-
Recently researchers have shifted their focus on a different
ture, where the filter inductor current (icdq ) as the control
type of IBRs, known as “grid forming inverter” (GFM) [4].
variable. The outer loop regulates the voltage at the PCC bus
Theoretically, the primary function of the GFMs is to act as
(vdq ). Similar to the inner loop, outer loop also implements
a controllable voltage source. This characteristic property of
a PI controller. Two droop control methods are implemented:
GFMs makes them a suitable replacement for synchronous
(1) Q − V droop and (2) P − f droop. Q − V droop generates
generators in low inertia systems. Furthermore, GFMs can also
the d-axis reference signal (vdref ) for the outer loop. On the
be used to black start a power grid [5], [6].
other hand, the P −f droop regulates the PCC bus’s real power
Therefore, a proper modeling approach is required to study
and provides the desired angle (ωt) for the control. Parameters
GFM inverters. The first approach uses EMT simulations
used in this paper are listed in TABLE. I.
packages like MATLAB/Simscape, PSCAD, EMTP, etc. These
packages are suitable for performing time-domain simulations. III. dq- DOMAIN A NALYTICAL M ODEL
They are a kind of virtual lab for experiments. The second
In this paper, the analytical model of the GFM presented in
approach is nonlinear analytical model building. The analytical
Fig. 1 is developed in dq -domain [11], and is based on per unit
modeling is a widely adopted technique in research community
system. The block diagram of the analytical model is presented
[7], [8], [9], [10]. It can provide many more insights into the
in Fig. 2. As per Fig. 2, the system is modeled with four main
system dynamics, by providing linear state-space models for
blocks: 1) droop control, 2) inner loop, 3) outer loop, 4) circuit
further analysis.
dynamics, and 5) frame conversion. It is noted that, while the
In this paper, we develop the dq-domain analytical model of
signals at the circuit level are based on grid frame (superscript
the GFM when operating in grid-connected mode. The analyt-
“g”), the signals associated with the control structure are based
ical model includes the controller dynamics and circuit mod-
on the reference frame or reference angle provided by the the
R.Mittal and Z.Miao are with the Department of Electrical Engineering, P − f droop. Hence, the control structure is in the P − f
University of South Florida, Tampa, FL, 33630 USA. Email: [email protected] droop frame of reference (superscript “c”). Furthermore, there
3I'URRS
ȦW ǻ ș GT 3 4 equations for the circuit dynamics are presented as follows:
.
&LUFXLW
YFG LFFG YJGT YFGT
%F
;I 0RGHO
F
YFT %F L FT ;I LJJGT LFJGT
ǻ ș
I
ȦW I 3
ʌ [ 3 UHI
ʌ P
ȦW
)& )UDPH&RQYHUVLRQ%ORFN
YGUHI Q 4
'URRS&RQWURO%ORFN 9UHI 4UHI
Fig. 2: Block diagram of the analytical model for GFM. “FC” stands for “frame conversion”.
P (pu)
P (pu)
2.24 2.24 Pref= 2.23pu
2.22 P = 2.24pu 2.22
ref
2.2 2.2
31 32 33 34 35 36 37 38 39 44 45 46 47 48 49 50 51 52
0.9 0.9
Q (pu)
Q (pu)
|V| (pu)
|V| = 0.0148 pu
|V|(pu)
0.93
0.92 0.92
0.91 |V| = 0.9212 pu |V| = 0.9212 pu
0.9 0.9
31 32 33 34 35 36 37 38 39 44 45 46 47 48 49 50 51 52
60.1
Frequency
60.1
Frequency
60 60
(Hz)
(Hz)
59.9 59.9
31 32 33 34 35 36 37 38 39 44 45 46 47 48 49 50 51 52
72
(deg)
(deg)
72 = 67.7o o
70 70 = 67.5
68 ( )=2
0 68
31 32 33 34 35 36 37 38 39 44 45 46 47 48 49 50 51 52
Time (s) Time (s)
(a) (b)
Fig. 3: Side-by-side comparison of results obtained from the EMT test-bed and developed analytical model. (a) Time domain results from the EMT test-bed.
(b) Time domain results from analytical model.
0 Δθ 0.227 −5.24°
-1
-2
-3
-4
-5
-10 -8 -6 -4 -2 0 2 4
Real
Fig. 4: Eigenvalue loci when Pref is varied. Here we can see the frequency
of oscillations is about 3-Hz, and the marginal condition is at Pref = 2.23pu.
strategies for black start by offshore wind power plants,” Wind Energy
P =2.24 pu Pref Science, vol. 5, no. 4, pp. 1297–1313, 2020. [Online]. Available:
111 ref P
https://wes.copernicus.org/articles/5/1297/2020/
435 440 445 450
[6] H. Jain, G.-S. Seo, E. Lockhart, V. Gevorgian, and B. Kroposki,
16
“Blackstart of power grids with inverter-based resources,” in 2020 IEEE
vd (V)