Professional Documents
Culture Documents
PV Modeling PDF
PV Modeling PDF
Copyright 2011
All Rights Reserved
Table of Contents
Page:
1. Introduction ........................................................................................................................................... 1
1.1 Photovoltaic Systems Modeling .................................................................................................... 5
2. Power Flow (steady-state) Model of PV System: ................................................................................ 9
3. Short Circuit (steady-state) Model of PV System: ............................................................................. 14
4. Transient Stability (time domain) Model of PV System. Open Source Application Programming
Interface (API) ................................................................................................................................... 17
4.1 Generic PV Inverter model DesignBase Transient Stability Model Builder .......................... 17
4.2 User-Defined Solar Irradiance ................................................................................................. 18
4.3 Irradiance Measurement File ................................................................................................... 20
4.4 PV Generic Inverter Model in a Sample Power System .......................................................... 22
5. Tutorial on modeling PV system ....................................................................................................... 27
5.1 PV Steady-Sate Load Flow Model: ................................................................................................... 29
5.2 PV Steady-Sate Short Circuit Model: ................................................................................................ 35
5.3 PV Dynamic Model ............................................................................................................................ 40
i
Photovoltaic Modeling
List of Figures
Page:
ii
Photovoltaic Modeling
1. Introduction
The photovoltaics (PVs) are attractive sources of renewable energy for electric power generation
due to their relatively small size and noiseless operation. Their applications are expected to
significantly increase all over the world. PV generating technologies have the advantage of being
modular (more units can be added) to meet the increased demand. Major advantages of the
photovoltaic power are:
Photovoltaic cells can be divided into four groups: thin-film, crystalline, dye-sensitised (DYSC or
Grtzel-cell) and multilayer cells. The multilayer cells can also be considered as several layers of
thin-film PV cells. These types are described in [50]. Figure 1Error! Reference source not
found. shows the schematic diagram of an inverter for a small PV grid connected system.
As part of this project, Power Analytics team also developed a user-defined model to incorporate
the actual solar irradiance measurements into account for the time domain simulations.
The PV uses semiconductor cells (wafers), each of which is basically a large area p-n diode with
the junction positioned close to the top surface. PV results in the generation of direct voltage and
current from the Suns (light) rays falling on the cell. To achieve higher voltage and current,
multiple cells are used as needed.
The PV cell can be represented by a simple equivalent circuit shown in Figure 2. The output
current is a function of solar radiation, temperature, wind speed and coefficients that are
particular to the cell technology.
1
Photovoltaic Modeling
The PV current Ipv is a function of the array output voltage Vpv (V-I) characteristic of the array)
which is given in Figure 2. The maximum power output is obtained when the array operates at
point M on the V-I characteristic.
The model contains a current source Iph, one diode and a series resistance Rs, which represents
the resistance inside each cell and in the connection between the cells. The net current is the
difference between the photocurrent Iph and the normal diode current ID.
e(V + IRS )
I = I ph I D = I ph I 0 (exp 1)
mkTc
where:
m idealizing factor
k Boltzmanns gas constant
Tc the absolute temperature of the cell
e electronic charge
V the voltage imposed across the cell
I0 the dark saturation current (strongly depends on temperature Lorenzo, 1994)
2
Photovoltaic Modeling
In the above representation of I-V characteristic, a sign convention is used, which takes as positive the
current generated by the cell when the sun is shining and a positive voltage is applied on the cells
terminals.
It is the greatest value of the current generated by a cell. It is produced under short circuit
conditions: V = 0
Corresponds to the voltage drop across the diode (p-n junction), when it is traversed by the
photocurrent Iph (namely ID=Iph) when the generator current is I = 0. It reflects the voltage of the
cell in the night and it can be mathematically expressed as:
where:
3
Photovoltaic Modeling
Is the operating point A (Vmax, Imax) at which the power dissipated in the resistive load is
maximum: Pmax = Imax * Vmax
Maximum efficiency:
Is the ratio between the maximum power and the incident light power
4
Photovoltaic Modeling
The typical structure of a grid connected PV unit is shown in Figure 6. Its main components are
the PV array, the DC/DC, DC/AC converters and the associated (converter and overall system)
controls. A storage device is absent in large grid-connected installations (except maybe for small
critical loads).
5
Photovoltaic Modeling
In Figure 6 the series resistance Rs represents the internal losses due to the current flow,
whereas the shunt resistance Rsh corresponds to the leakage current to the ground and it is
normally ignored. In an ideal cell Rs= Rsh=0, which is a common assumption. The equivalent
circuit of a PV module, which consists of a combination of series and parallel-connected cells are
the same.
6
Photovoltaic Modeling
V = V0 Rs I
qV0
I = I L I D (e AkT
1) I sh
V0
I sh =
Rsh
P
I L = I sc1 ( I )
1000
Where:
Multiple PV modules are connected in series and in parallel to form the PV array. Similar
equations hold for the whole array, provided that all modules are identical and subject to the
same insolation. In Error! Reference source not found. the V-I characteristics of a 250 kW
array are shown at three solar radiation (PI) levels. On the same diagram three constant power
curves (red lines) have been drawn. It is clear that, for a given insolation, the array produces
maximum power only when operating near the knee point of the corresponding V-I curve
(maximum power point). The task of tracking the maximum power point (MPPT) is usually
7
Photovoltaic Modeling
performed by a DC/DC converter at the output of the array, which regulates the voltage to the
desired value. Since no moving parts are employed in this process, the response of the MPPT
can be considered instantaneous for system studies.
A device that may affect the response of the PV generator output in case of solar radiation
changes is the sun-tracking system of the panels, which adjusts the orientation of the panels with
respect to the sun, a task performed by the use of properly controlled servomotors. However,
these are relatively slow acting devices and may be ignored in transient stability studies.
As discussed, the remaining system components (dc bus, inverter and grid-connection devices)
are of similar nature and characteristics as for other dispersed generators (e.g. variable speed
wind turbines) as are the modeling requirements.
Lack of industry-standard validated models has been identified as a major issue for variable
generation
As per NERC Special Report: Accommodating High Levels of variable Generation
Validated, generic, non-confidential, and standard power flow and stability (positive-sequence)
models for variable generation technologies are needed. Such models should be readily and
publicly available to power utilities and all other industry stakeholders. Model parameters should
be provided by variable generation manufactures and a common model validation standard
across all technologies should be added. The NEREC Planning Committee should undertake a
review of the appropriate Modeling, Data and Analysis (MOD) Standards to ensure high levels of
variable generation can be simulated.
8
Photovoltaic Modeling
An equivalent Photovoltaic Power Plant may be modeled for Power Flow purposes as a
Generator connected to a system bus, having the bus voltage 208 or 480 V.
The aggregated MVA of the plant must be specified as an integer multiple of the individual
inverter MVA rating.
One can connect in parallel only the inverter of the same type
The active power dispatch for power flow simulation will be between 0 to MVA plant ratings
The default operating mode of the inverter is with fixed unity power factor. However, the
generator reactive power will be Qmax = Qmin = 0
Some inverters operate with +/- 0.95 power factor. In this case only 95% of the equivalent
inverter current is available for active power dispatch. The difference remains for reactive
power control
If the inverter operates at non unity power factor / desired power factor, then Qg, Qmax and
Qmin should be provided by the user and Q should be in the remain limits
If the inverter will control the voltage of a given system bus, then the PV-G will operate in PV
mode, and the controlled bus should be specified
Photovoltaic Unit (photovoltaic panel, inverter) is an electrical AC generator with the following
particulars:
9
Photovoltaic Modeling
10
Photovoltaic Modeling
11
Photovoltaic Modeling
PV Output Power (AC and DC) depends on irradiance. Irradiance is a function of time. However,
the PV Active Power Output depends on time.
The followings are examples of measured irradiance at UCSD, San Diego, CA, Gilman Parking
Structure.
12
Photovoltaic Modeling
However, in order to consider the Sun irradiance for Power Flow purposes, the DesignBase
team has developed the PV Generator Scenarios.
13
Photovoltaic Modeling
The number of Scenarios are unlimited and depends on the user measurement data in the field.
Consequently, the PV Active Power Output depends on irradiance. Irradiance is a function of
time, and however the Photovoltaic unit Active Power Output depends on time. The time frame
depends on the user available data. One can consider any time steps, from 1 minute to 2 or 3
hours.
The equivalent aggregated inverter will not contribute to the system short circuit current. Its a
good idea considering the inverter equivalent impedance 999 pu.
The short circuit algorithms are based on either IEEE or IEC standards. The user has the entire
control over the algorithms and over the ways of displaying the short circuit results.
14
Photovoltaic Modeling
15
Photovoltaic Modeling
16
Photovoltaic Modeling
4. Transient Stability (time domain) Model of PV System. Open Source Application Programming
Interface (API)
A generic PV/Inverter dynamic model has been implemented as a user-defined model in the
DesignBases Advanced Transient Stability Program.
For most transient stability studies, the response of the plant to grid disturbances (faults) is of
most interest. For these studies, the model should calculate the initial solar radiation based on
the plants active power output in the power flow solution. This radiation should be kept constant
throughout the transient simulation time. The output power of the inverter and radiation result in a
DC voltage that is a predictable function of the PV characteristics with virtually no dynamics. The
DC voltage error is processed through a proportional-integral regulator whose output is the
inverter direct axis current that results in active power production. Additional control for voltage
regulation is also supported in this model.
The model also supports under/over voltage protection in addition to under/over frequency
protection. Three levels of overvoltage tripping, three levels of under-voltage tripping and one
level of over and under- frequency tripping are included in the generic PV/inverter model. Each of
these trip functions has an independent associated time delay.
Using DesignBase ULC a generic model has been developed and implemented in DB 4.0
release. The control block diagram of the generic model is shown in Figure 17.
17
Photovoltaic Modeling
The generic model can accept the field irradiance measurements when this is available. The
irradiance changes can be introduced to the model as shown in Figure 18. The irradiance values
can be stored in a text file with simple format (*.csv format is supported). To define the irradiance
(i.e. the file containing the irradiance measurements) select the block Measurement from the
PV model functions as shown in the Figure 18 below:
18
Photovoltaic Modeling
Then, drag the Measurement icon into the model area and connect it to the solar radiation point
in the model (see Figure 18 above). Double click the left mouse button on the Measurement
block in order to enter the irradiance file information as shown in Figure 19.
19
Photovoltaic Modeling
Use the file browser and locate the irradiance file in the DesignBase Data folder as seen in
Figure 19. Also, the output of the Measurement block can be given any name of users choice
(in the above example the name UCSDLookup3.csv is entered).
The irradiance values corresponding to field measurements can be used in the transient
simulation of PV/Inverter power plant. The irradiance values should be stored in a text file such
CSV format. One example of irradiance measurements used in the generic model is shown in
table below:
20
Photovoltaic Modeling
21
Photovoltaic Modeling
Note that the last row (line of the data file) should be * to mark the end of the file.
The power system shown in Figure 21 is used to test the PV model. To prepare a transient
stability simulation case for this system, we need to specify the dynamic data for the Generic PV
model. This can be done by first selecting transient stability icon and then selecting Event and
Data Manager. Add a PV model and select the Generic from the list of PV library.
22
Photovoltaic Modeling
Figure 21: Sample Power System for Testing the PV Generic PV Plant Model
(Paul M. Anderson, A.A. Fouad Power System Control and Stability. Revised Printing. IEEE Press, NY
1977, pag.38)
23
Photovoltaic Modeling
The disturbance that we will examine for this test power system with PV plant is the application of
a fault at bus 5 for a period of 6 cycles (0.1 second). To start the time domain simulation, select
Analyze and in the simulation dialog press Start Simulation to perform the simulation. Upon
completion of the simulation the result can be viewed by selecting View Graphic Result (please
consider the DesignBase Transient Manual).
All of the monitored variables related to generators, buses, branches; PV, etc. can be examined.
Figure below shows several tabs.
24
Photovoltaic Modeling
Figure 23: Variables related to generators, buses, branches; PV, etc. can be examined
25
Photovoltaic Modeling
26
Photovoltaic Modeling
To examine the monitored variables for the PV model select PV tab shown above. The
variables to be monitored are defined at the time PV model is added to the PV library. EDSAs
transient stability program gives the user the option to monitor any of the internal variables
(signals) within the model. This unique feature helps the user to assess the performance of the
control system of the PV inverter and optimize its performance (e.g. by examining the effect
changing gain, time constant, etc. on the performance of any controller internal to the inverter).
The above figure shows the irradiance measurements as defined in the data file which is used in
the above simulations.
Consider the file: TEST-PV GENERAL-MODEL located in the DesignBase Transient Folder.
27
Photovoltaic Modeling
28
Photovoltaic Modeling
In this example the PV system does not generate reactive power. However, QGMin = 0 and QG
Max = 0.
29
Photovoltaic Modeling
30
Photovoltaic Modeling
31
Photovoltaic Modeling
32
Photovoltaic Modeling
33
Photovoltaic Modeling
34
Photovoltaic Modeling
35
Photovoltaic Modeling
The PV system does not contribute to the short circuit. However R and X are 9999 Ohms.
36
Photovoltaic Modeling
Figure 32: Bus Short Circuit and Branch Short Circuit Contribution
37
Photovoltaic Modeling
38
Photovoltaic Modeling
39
Photovoltaic Modeling
Double click on the Irradiance measurement icon, and select UCSDLookup3.csv file from the
DesignBase Data subfolder:
40
Photovoltaic Modeling
41
Photovoltaic Modeling
Click OK.
42
Photovoltaic Modeling
Click Yes.
43
Photovoltaic Modeling
Click Yes.
Click OK.
The dynamic model of the PV unit has been generated. Next step is to insert the PV dynamic
model.
44
Photovoltaic Modeling
45
Photovoltaic Modeling
46
Photovoltaic Modeling
47
Photovoltaic Modeling
48
Photovoltaic Modeling
49
Photovoltaic Modeling
Note:
TIRAD is the time at which the input is switched to User-Defined solar irradiance. This is user
defined input data.
Using the DesignBase Transient program any dynamics can be simulated. Please consult the
DesignBase Transient Manual.
Advanced Solution Techniques for Fast Convergence (Newton Raphson, Fast Decoupled,
and Accelerated Gauss Seidel)
HVDC
Power Factor Correction and Automatic Temperature Adjustment
Active Power Flow Control using Phase Shifting Transformer
Simulate single-phase networks tapped from 3phase network
Local and Remote Bus Voltage Control via Static Var Compensation
Local and Remote Bus Voltage control 1, 2 and 3 winding Transformers
Combined SVC, Generator and Transformer Voltage Control
50
Photovoltaic Modeling
51
Photovoltaic Modeling
52