Professional Documents
Culture Documents
SPARC Course IIT D DH Solar PV Modeling March 2021 VV
SPARC Course IIT D DH Solar PV Modeling March 2021 VV
Vijay Vittal
Regents’ Professor
Ira A. Fulton Chair Professor
Arizona State University
Modeling Solar Photovoltaic Plants
2
Generic model of a photovoltaic (PV)
solar power plant
• A generic model of a PV solar power plant is shown
on the next slide
• The key components of any generic model are the
inverter controls and the inverter model
• Typically, the solar power model is a user input and
is a function of the geographical location of the
plant
3
Modeling solar photovoltaic plants in stability studies
V ref bus
Vterm
Trip Signal
Ip (P)
Command
Control Converter
Model Model
Pgen, Qgen
IQ (Q)
Command
Power
Order
Solar Power
Model
(User-written)
4
Generic model of a photovoltaic (PV)
solar power plant
• The converter is the main interface between the source of
power and the network
• Since a generic converter model has already been
developed for wind turbine generators, most transient
stability packages use this model for solar power plants also
• The converter is represented as a current injection device
which injects the required current into the network
• The active and reactive current commands are issued from
the control block
• The model receives the individual current commands and
injects a complex current into the network
5
Converter Model
Rate limits on reactive current for recovery after fault.
Upper limit is active when Qgen0 > 0
Lower limit is active when Qgen0 < 0
Iqrmax
Iqcmd Iq High Voltage
1
1 sTg Reactive Current
Management
Interface to Network
Iqrmin Vt
Model
LVPL & rrpwr
Ipcmd 1 Ip
1 sTg
Low Voltage
LVPL
Reactive Current
Lvplsw
0
Management
LVPL1
1
1 sTfltr
1
Zerox Brkpt V
6
Converter Model
• The time constants in the converter model represent
the switching of the solid-state switches within the
converter
• The behavior of a few limiting devices is also built
into this block
• The low voltage power logic (LVPL) uses the
terminal voltage magnitude to control the upper
limit on the active power injected
• If the bus voltage magnitude of the converter falls
below a certain threshold, due to the occurrence of a
disturbance, the LVPL block will reduce the upper
limit as per the characteristic shown
7
Converter Model
8
Converter Model
Iql1
else +
Voltage_dip = 0 s0
Iqh1
Vref0 (user defined) 1
Freeze State if Voltage_dip =1 Iqfrz 2 0
pfref
tan Vmax Vmax Iqmax Iqmax
Q max I qinj
VFlag Q Flag +
Pe 1 + K qi 1 + K vi 1 I qcmd
1
1 sTp
K qp +
s
K vp +
s +
- s3
s1 s2
Qext Iqmin 0
0 Q min Vmin 0 V Iqmin
(Qext is initialized to a Qgen min
Vt _ filt
constant, or can be pf Flag
connected to an external (s0)
Vref1 (user defined)
model) +
+
1
Iqinj = 0 1 sTiq VDL1
After 0 Current
Thld s4 PQFlag
0.01
seconds Limit
0 – Q priority
go to
State 0
If Voltage_dip = 1
VDL2 Logic 1 – P priority
Vt _ filt
(s0)
0.01
Iqinj = Iqfrz Pmax I pmax Thld2
If Thld > 0 &
dPmax PFlag
(Pref is initialized to
Voltage_dip = 0 go to s6 1 1 Pord
State 2 If Thld , 0 &
Voltage_dip = 0 stay
a constant, or can
be connected to an
Pref 1+sTpord
I pcmd
in State 1 for Thld external model) 10
seconds s5
dPmin 0 Pmin
I pmin
Converter control model
• The control model is responsible for generating the
active and reactive current commands for the
converter model
• The bottom section of the model shows the
calculation of the active current command. The
reference active power can be either set by the user
using an external user-written dynamic model or the
value scheduled in the power flow
• This features provides the flexibility for the
inclusion of a governor type model to set the active
power
• This is the WECC REGC-A model
11
Converter control model
19
References
20
User defined converter control model
21
User defined converter control model
• The effective real power order (Fig. b) on slide 21)
is a combination of the power set point and the
active power droop coefficient
• The reactive power order (Fig. a) on slide 21) is
obtained from the voltage error along with a
reactive power droop
• The QV droop is instrumental in obtaining a stable
operation between converters when multiple
converters are connected to the same bus
• The active power droop coefficient is denoted as Rp
and the reactive power droop coefficient is denoted
as Rq
22
Equations describing the model
ds1
K i Vref s2 Rq Qactual (1)
dt
ds2
1 Tr Vt s2 (2)
dt
ds3
1 TGpv Pref R p s3 (3)
dt
Pcmd s3 (4)
ds4
K ip Pcmd Pactual (5)
dt
ds5
K iq Qcmd Qactual (6)
dt
Qcmd s1 K p Vref s2 RqQactual (7)
I Qcmd Qcmd Vt s5 (8)
I Pcmd Pcmd Vt s4 (9)
23
Modeling details
24
Modeling details
25
Modeling details
• The value of qmax1 is obtained from the power flow but is
assumed to be the value of maximum reactive power at a voltage
level of 1.0 pu
• The value of qmax2 is obtained as given by (10) below
1.7 MVA
2
qmax 2
1
1 (10)
tan cos 1 0.4
2
• Hence, at any voltage level Vt above 0.8 pu, the value of qmax is
obtained as given 2 11
qmaxby below
qmax1
qmax qmax1 Vt 1.0 (11)
0.8 1.0
• The value of qmin is maintained constant as specified in the power
flow while the maximum active power is obtained as in (12) to
maintain the MVA rating
1.7 * MVA
2
pmax qmax
2
(12)
26
Converter model
Ed Vtd 0 id R f iq X f
Eq Vtq 0 iq R f id X f (13)
27
Converter model
28
Converter model
is obtained as and d q
m E VT
• The modulation index is calculated as . The value
of m is limited to be between 0.4 and 1.0.
30
Converter model
31
Converter model
• The figure on the previous slide shows the generation of
switching pulses for the inverter and the relation between the
carrier voltage and the modulating/reference voltage
• While the proposed positive sequence converter model does
not represent the actual switching model of the inverter, the
effect of the modulation index on the ac output voltage has
been represented
• The phase voltage values are then obtained as
Ea ,b ,c 0.5mVdc cos s t 120i where s =377 rad/s and i = 0,
1, 2
• The values of E*d and E*q (E* ) are obtained by applying
Park’s transformation on Ea, b, c
32
Simulation Result
33
Parameter Settings for Simulation
• The proportional and integral gains of the PI controller in the
reactive power loop were set as 4.0 and 20.0 respectively
• The integral gains Kip and Kiq were each 10.0
• The value of Rf = 0.0025 pu and Xf = 0.06 pu on the converter
MVA base
• The remaining controller parameters are as shown below
34
Simulation Scenario
35
36
Discussion of result
• The inset figure on the previous slide shows the response of the three
models at the instant of disturbance
• The controlled voltage source representation of the converter model and the
PLECS response capture the near instantaneous achievable by the converter
while the boundary current representation is unable to do so
• The difference in the peak value between the voltage source representation
response and the PLECS response can be attributed to the fact that the time
step of simulation is much smaller in PLECS which allows for the change in
the internally generated converter voltage upon recognition of the
disturbance
• In the positive sequence simulation however, at the instant of the
disturbance, the internally generated converter voltage is constant while the
terminal voltage changes
• Other dissimilarities can be attributed to the difference between the point on
wave modeling in PLECS wherein a differential R+sL model is used in
PLECS for the filter inductor whereas in the positive sequence phasor model
the filter is represented by its algebraic fundamental frequency resistance
and reactance in the Thévenin impedance
37
38
Discussion of results
• The instantaneous three-phase voltage and current
waves at the converter terminals are shown on the
previous slide
• These figures show that there is negligible change in
the terminal voltage while the converter current rises
near instantaneously to meet the increase in demand
• The magnitude of the converter current output from
PLECS is compared with the positive sequence
simulations on the next slide
• The near instantaneous response achievable by the
converter is captured by the voltage source
representation of the converter
39
• The reactive power response is shown above. It can be immediately observed that the
voltage source representation response is the more acceptable positive sequence phasor
approximation to the point on wave simulation. From the inset of the figure it can be seen
that the reactive power trajectory of the boundary current simulation is inconsistent with
the result from the PLECS simulation.
40
41
WECC Modeling WG Group
• The model depicted in the earlier slides became the
WECC WG model REGC-B for PV solar plants
• This model was improved by including the inner
current control loop in the reference below
42
WECC Modeling WG
43
44
Flowchart for Algebraic Manipulation of Norton
Current
45
Positive Sequence Implementation of PLL
46
Comparison of REGC-C Model with EMT
Simulation
• In the reference where the REGC-C model was
developed, the positive sequence model was tested
versus detailed simulation in an EMT software on a
weak synthetic network
• The model performed well and captured the
essential features of the PV resource
• There are no measurements in this case, but the
positive-sequence model results are comparted with
the EMT results with a detailed inverter model
47
48
49
50
Description of Legend for Figures on the Previous Two Slides
51
52
53
Testing on a Portion of a Large Utility
System
• A portion of the network in a real transmission
footprint, with the addition of several hypothetical
renewable energy resources that are in the
interconnection queue is considered
• The system has 119 buses, 3 equivalent sources
(representing external system outside the studied
area) and 9 renewable power plants
• All the renewable power plants are modeled as Type
4 WTGs in voltage control mode with reactive
power priority during low voltage ride through
conditions
54
Testing on a Portion of a Large Utility System
55
Testing on a Portion of a Large Utility System
57
Frequency and angle of PLL of WTG 5 from positive sequence and point on
wave simulation when fault is cleared 1/8th cycle after critical clearing time
58
Testing on a Portion of a Large Utility
System
• It can be seen that the fast control loops in the
modified positive sequence model are able to
represent the transient behavior seen from the
detailed point on wave simulations for both the
stable and
59
Active, reactive power and terminal voltage magnitude of WTG 5 from positive
sequence and point on wave simulation when fault is cleared 1/8th cycle before
critical clearing time
60
Active, reactive power and terminal voltage magnitude of WTG 5 from positive
sequence and point on wave simulation when fault is cleared 1/8th cycle after
critical clearing time
61