Photovoltaic module#
Block appearance in REPEAT VISION#
The Photovoltaic module block implements a mathematical model of a photovoltaic cell with the ability to scale up to a photovoltaic module or array. Fig. 1 shows the equivalent circuit of a cell with one diode, Fig. 2 – with two diodes.
Note
The equivalent circuit of a photovoltaic cell with two diodes is recommended for use when simulating operating modes with low irradiance and near the idle mode (idle), when the influence of the recombination current becomes more significant. To account for this current, a second diode is added to the circuit [1].
Fig. 1. Equivalent circuit of a photovoltaic cell with one diode#
Fig. 2. Equivalent circuit of a photovoltaic cell with two diodes#
The following designations of the equivalent circuit elements and electrical quantities are shown in Fig. 1 and Fig. 2:
\(I_{ph}\) – photocurrent;
\(D_1\), \(D_2\) – the first and second diodes respectively;
\(R_s\) – series resistance;
\(R_{sh}\) – parallel resistance;
\(I\) – output current;
\(U\) – output voltage.
Important
The mathematical model describes one photovoltaic cell. When modeling a module or array, the model parameters are scaled using the number of cells connected in series and the number of strings connected in parallel. It is assumed that all cells are identical and are under the same conditions of irradiation and temperature.
For a single-diode circuit (see Fig. 1 above) the output current \(I\) is described by the equation[2] (1) :
where:
\(U_{sh}=\frac{U}{N_s}+\frac{I}{N_p}\cdot R_s(T)\) – voltage on parallel-connected circuit elements, [V];
\(N_p\) – the number of parallel-connected chains of modules;
\(N_s\) – the number of series-connected cells (defined as the product of the properties Number of cells per module and Number of series-connected modules per string);
\(I_{ph}(T)\) – photocurrent taking into account the temperature dependence, determined by the formula (6), [A];
\(I_{d1}(T)\) – diode current taking into account the temperature dependence of the saturation current, determined by the formulas (3), (4), (5), [A];
\(R_s(T)\) – series resistance taking into account the temperature dependence, determined by the formula (8), [Ohm];
\(R_{sh}(T)\) – parallel resistance taking into account the temperature dependence, determined by the formula (8), [Ohm].
For a two-diode circuit (see Fig. 2 above) the output current \(I\) is described by the equation[2] (2) :
where \(I_{d2}(T)\) is the current of the second diode taking into account the temperature dependence of the saturation current, determined by the formulas (3), (4), (5), [A].
The currents of the diodes \(I_{d1}\), \(I_{d2}\) in the equivalent circuit are calculated using the formulas (3), (4), (5) depending on the value of the voltage \(U_{sh}\):
if \(U_{sh}\) > 80 · N · \(V_t\) (3) :
if \(U_{sh}\) < -79 · N · \(V_t\) (4) :
if -79 N \(V_t\) ≤ \(U_{sh}\) ≤ 80 N \(V_t\) (5) :
where:
\(I_s(T)\) – saturation current of the diode depending on temperature, determined by the formula (7), [A];
\(N\) – emission coefficient;
\(V_t=\frac{k \cdot T}{q}\) – thermal voltage, [V];
\(T\) – operating temperature, [K];
\(k\) – Boltzmann constant, [J/K];
\(q\) – elementary charge, [C].
The dependence of the photocurrent \(I_{ph}\) on temperature is described by the formula[2] (6) :
where:
\(I_{ph}=I_{ph0} \cdot Ir\) – photocurrent at a given irradiance, [A];
\(I_{ph0}\) – photocurrent at which the model parameters were measured, [A];
\(Ir\) – current irradiance, [r.u.];
Note
There are two options for specifying irradiance, depending on the value of the Irradiance input format property. If the Absolute value is selected, the \(Ir\) value is found as “\(Ir_{specified}/Ir_0\), where \(Ir_0\) is the irradiance at which the model parameters were measured, [W/m\(^2\)]. If the value Per-unit is selected, the current irradiance is taken to be equal to the specified value.
\(T_{nom}\) – temperature at which the model parameters were measured, [K];
\(TIPH\) – temperature coefficient of photocurrent, [1/K]. The value of the coefficient in [1/°C] is numerically the same as the value in [1/K].
Note
According to [2], the value of \(TIPH\) with some error can be taken as equal to the value of the temperature coefficient of short-circuit current (SC) in [1/K].
The dependence of saturation currents \(I_s\) and \(I_{s2}\) on temperature is described by the formula[2] (7) :
where:
\(I_s\) – diode saturation current, [A];
\(EG\) – band gap, [eV];
Note
Setting the band gap width allows one to take into account the properties of various semiconductor materials of photovoltaic cells.
\(TIS\) – temperature coefficient of diode saturation current.
The dependence of series \(R_s\) and parallel \(R_{sh}\) resistance on temperature is described by the formula[2] (8) :
where:
\(R\) – resistance, [Ohm];
\(TR\) – temperature coefficient.
In block there is an option to choose the method for setting parameters:
Datasheet parameters– when selecting this value, you must enter the following catalog parameters for the module:
\(N_{cell}\) – number of cells in one module;
\(V_{oc}\) – voltage idle, [V];
\(I_{sc}\) – current SC, [A];
\(V_{mp}\) – voltage at maximum power, [V];
\(I_{mp}\) - current at maximum power, [A];
\(TVOC\) – temperature coefficient of voltage idle, [%/℃];
\(TISC\) – temperature coefficient of SC current, [%/℃].
The parameters of the equivalent circuit are automatically determined from the catalog data by solving a system of nonlinear equations of the single-diode model (see Fig. 1 above) [3]. After determining the parameters, further calculations are performed using the same equations as when directly specifying the parameters of the equivalent circuit.
Equivalent circuit with one diode- for calculations in the block, the equivalent circuit shown in Fig. 1 is used, for which it is necessary to set the parameters directly.Equivalent circuit with two diodes- for calculation in the block, the equivalent circuit shown in Fig. 2 is used. In this case, in addition to the parameters of the equivalent circuit with one diode, it is necessary to set the parameters for the second diode.
In modes 2 and 3 the parameters of the equivalent circuit are specified directly by the user for one cell and are used without additional recalculation.
When adding a thermal port to a block using the Show Thermal Port property, the thermal diagram shown in Fig. 3:
Fig. 3 Internal thermal diagram of the unit with the thermal port turned on#
The following designations of the elements of the thermal diagram and quantities are shown in Fig. 3:
\(P_{losses}\) – power of electrical losses, defined as the total losses in diodes and resistances;
\(C_T=C_{Cells}\cdot N_s \cdot N_p\) – total heat capacity of the block, [J/K];
\(C_{Cells}\) – heat capacity of one cell, specified by the property Heat capacity per cell, [J/K];
\(Q\) – heat flow through the heat port, [W]. A positive value corresponds to heat removal from the block to the external thermal circuit.
The model only takes into account the internal electrical losses of the equivalent circuit. Solar energy absorbed but not converted into electrical energy, as well as heat exchange with the environment, are not directly modeled.
The heat balance equation (9) for the circuit in Fig. 3:
where \(T\) is the cell temperature, [K]. Its initial value is specified by the Initial cell temperature property.
From the equation (9) it follows that the power loss is distributed between heating the thermal mass of the block and heat removal through the thermal port. In steady state, when the temperature stops changing, all the power losses are transferred through the thermal port: \(Q = P_{losses}\).
Note
When the thermal port is turned on, the operating temperature of the cells is determined by solving the equation (9).
1. Properties#
Property |
Default Value |
Description |
Units of measurement |
|---|---|---|---|
Off |
– |
– |
|
100.0 |
Available, when |
J/K |
|
25.0 |
Available, when |
°C |
|
60 |
– |
– |
|
1 |
– |
– |
|
Number of parallel-connected strings of modules |
1 |
– |
– |
Irradiance input format: |
Absolute |
– |
– |
Irradiance used for measurements |
1000.0 |
Available, when |
W/m² |
Operating temperature mode: |
Internal |
Available, when |
– |
Operating temperature |
25.0 |
Available, when |
°C |
Model parameterization: |
Datasheet parameters |
– |
– |
Current at maximum power point |
7.35 |
Available, when |
А |
Voltage at maximum power point |
29.0 |
Available, when |
V |
Short-circuit current |
7.84 |
Available, when |
А |
Open-circuit voltage |
36.3 |
Available, when |
V |
Temperature coefficient of short-circuit current |
0.102 |
Available, when |
%/°C |
Temperature coefficient of open-circuit voltage |
-0.36099 |
Available, when |
%/°C |
Photocurrent used for measurements |
7.847 |
Available, when |
А |
Diode saturation current |
2.97e-10 |
Available, when |
А |
Second diode saturation current |
0.0 |
Available, when |
А |
Diode emission factor |
0.982 |
Available, when |
– |
Second diode emission factor |
2.0 |
Available, when |
– |
Series resistance |
0.00656 |
Available, when |
Ohm |
Parallel resistance |
7.12 |
Available, when |
Ohm |
Temperature used for measurements |
25.0 |
– |
°C |
Temperature coefficient of photocurrent |
0.00102 |
Available, when |
°C⁻¹ |
Energy gap |
1.121 |
– |
eV |
Temperature coefficient of diode saturation current |
3.0 |
– |
– |
Temperature coefficient of second diode saturation current |
2.0 |
Available, when |
– |
Temperature coefficient of series resistance |
0.0 |
– |
– |
Temperature coefficient of parallel resistance |
0.0 |
– |
– |
2. Inputs and outputs#
Parameters |
Input/Output |
Description |
Units of measurement |
Port type |
|---|---|---|---|---|
- |
Input |
– |
– |
Electronics |
Irradiance |
Input |
Available, when |
W/m² |
Automation |
Irradiance |
Input |
Available, when |
r.u. |
Automation |
Operating temperature |
Input |
Available, when |
°C |
Automation |
+ |
Output |
– |
– |
Electronics |
Thermal port |
Output |
Available, when |
– |
Heat exchange |
In order to see the connection capabilities of the block, you need to go to page Description of block ports
3. Examples of use#
Examples of using this block can be found in the following sections:
Tutorials;
How-to guides;
Description of Demo (the name of the Demo to search for it in projects is indicated in table 1 below).
Table 1 - Description of Demo
№ in list |
Title |
Link to the Demo page |
|---|---|---|
96 |
[DEMO] Hybrid photovoltaic-thermal collector |
Hint
To find the required Demo you should: