How to estimate complex solar array power curves.

A solar array is a complex electrical power source. The amount of power produced is a strong function of light intensity, the solar cell, its temperature, and the downstream electronics it is connected to. Understanding the solar array output at all current and voltage operating points as a function of its changing environment is critical to designing a photovoltaic power system that is stable and efficient.

Current and power versus voltage for the Azur Space 3G30A cell at standard test conditions.

Solar cell datasheets are generally sparse with electrical characteristics. They will typically state just four parameters, each measured at a standard test condition (room temperature and with nominal light intensity for their application): short circuit current (Isc), open circuit voltage (Voc), and the maximum power point current and voltage (Imp, Vmp).

Each parameter is accompanied with a temperature coefficient so that the user may extrapolate its performance over temperature. Solar cell voltage is largely invariant with light intensity while the current scales linearly.

Beyond the provided data points, the user is given no information of what the solar cell power curve looks like. Furthermore, a solar array’s power curve is a series/parallel composition of individual solar cell power curves. If different solar cells in the same array have differences in their temperature and lighting conditions, the overall solar array’s power curve becomes quite complicated.

I developed the solarcell Python package to provide an exceedingly simple interface to address both of those challenges and therefore give more insight into the performance of photovoltaic power systems.

  1. Given only the solar cell datasheet parameters, an industry-standard empirical model of the solar cell is generated to produce a complete solar cell power curve.
  2. That solar cell model can then be leveraged to quickly yield solar array power curves with arbitrary variations in temperature and lighting conditions across the array.

Single-diode model of a photovoltaic cell

The semiconductor physics of a photovoltaic cell can be reasonably described by a single diode model composed of a current source for the light-generated current, an antiparallel diode for the dark current, a series resistance, and a shunt resistance.

Single-diode equivalent circuit with a photocurrent source, diode, shunt resistor, and series resistor.
i=Iph− V+i⁢Rs Rsh −I0⁢( exp⁡( V+i⁢Rs n⁢Vth )−1) i = I_{ph} - \frac{V + iR_s}{R_{sh}} - I_0(\exp(\frac{V + iR_s}{nV_{th}}) - 1)

The above equation is fit to the datasheet parameters using a numeric optimization procedure. In practice, this is actually a difficult optimization problem. Some bounds are used to constrain the solver to a solution space that is grounded in physical reality.

  1. Series resistance, Rs between 0.5 and 1.3 ohm/cm2.
  2. Shunt resistance, Rsh between 1k and 10M ohm/cm2.
  3. Dark current exponential, I0 between 1E-10 A and 1E-20 A, n between 0.5 and 3.5.
  4. Light-generated current, Iph equal to the short circuit current Isc.

An additional challenge is that the model equation is transcendental; there is no solution where the current can be written purely as a function of voltage. So not only is a numeric optimization procedure required to solve for the model input parameters, it is also required to solve the model equation itself. Interestingly enough, Amit Jain and Avinashi Kapoor wrote a paper in 2003 about reformulating the single diode model equation using the Lambert W-function, which conveniently is implemented as a special function in the SciPy Python library.

Once the model has been fit to the datasheet parameters, a function is obtained that defines the solar cell current for any voltage at the standard test condition. To extrapolate this model to different temperature and lighting conditions, a linear transformation routine is used to fit the model to the temperature-adjusted datasheet parameters while maintaining the same power curve characteristic shape.

Example Python code

Consider the Azur Space 3G30A triple-junction solar cell. The datasheet parameters are entered directly into the solarcell Python package to generate the underlying single diode model.

from solarcell import solarcell

# Azur Space 3G30A triple-junction solar cell.
# Isc/Imp are specified in (A, A/C), Voc/Vmp are specified in (V, V/C).
# Temperature is specified in C. Intensity is unitless and scales Isc/Imp.

azur3g30a = solarcell(
    isc=(0.5196, 0.00036),  # short-circuit current, temp coefficient
    voc=(2.690, -0.0062),  # open-circuit voltage, temp coefficient
    imp=(0.5029, 0.00024),  # max-power current, temp coefficient
    vmp=(2.409, -0.0067),  # max-power voltage, temp coefficient
    area=30.18,  # solar cell area in square centimeters
    t=28,  # temperature at which the above parameters are specified
)

Once the solar cell model is created, power curves at different temperatures and relative light intensities can be generated for a cell(t, g), `string`(t, g), or array(t, g). For an array, the inputs are two-dimensional matrices where each column makes up a solar string. Unique power curves for each solar cell are numerically combined by linear interpolation. Series cells have equal current while adding voltage; parallel strings have equal voltage while adding current.

Below is a simple example of generating and plotting a 24-series, 12-parallel array where every cell is 80C and illuminated at its nominal light intensity.

import numpy as np
from matplotlib import pyplot as plt

array = azur3g30a.array(t=np.full((24, 12), 80), g=np.ones((24, 12)))

print(array)
# Isc = 6.459840 A, Voc = 56.82240 V
# Imp = 6.187802 A, Vmp = 49.42809 V, Pmp = 305.8513 W

fig, (ax0, ax1) = plt.subplots(nrows=2, sharex=True)

v = np.linspace(0, array.voc, 1000)
ax0.plot(v, array.iv(v)), ax0.grid()
ax1.plot(v, array.pv(v)), ax1.grid()
Current and power curves for a 24-series, 12-parallel Azur Space solar array.

Variations in array temperature

Solar cell temperature coefficients are small and positive for current; big and negative for voltage. A solar array with a temperature gradient can acquire an odd shape as a result. The following plot is an exaggerated demonstration.

Consider a 2-series, 2-parallel array where each cell is either hot or cold. The bottom-left subplot, for example, considers the case where the cells in the first string are both hot while the cells in the second string are both cold.

Current and power curves for combinations of hot and cold strings in a two-by-two array.

The parallel combination of those two strings results in a power curve with two distinct peaks, instead of just one! Because parallel strings have equal voltage, it is the cold string which sets the overall open circuit voltage. The hot string does not begin conducting until the voltage drops below its open circuit voltage.

Variations in array shading

Redwire Space deployed its roll out solar array, iROSA, on the International Space Station in 2021. Check out the fantastic picture in the post below. Partial shading of the solar array is a significant challenge on the ISS. Considering the shading pattern in the picture, the resulting power curve can be computed.

A few clues are needed to get started. The solar cells can be seen close up in this deployment video and they look suspiciously similar to the 77cm2 Spectrolab XTJ. The total number of cells is clear from the picture (9216), Redwire has shared that the solar array will generate at least 20kW, and the ISS is known to operate its solar array at 160V. My best guess is that the iROSA is a 96-series, 96-parallel array. The plot below estimates the iROSA power curves as a function of temperature.

Estimated ISS iROSA current and power curves in full sunlight across five temperatures.

A bit of manual labor and some clever number crunching yields a rough shading map of the solar array based on the picture. Let’s assume that the dark area receives no light whatsoever.

Cell grid mapping the portion of the ISS iROSA in shadow.

In order to generate a new power curve that accounts for the partial shading, how the solar cells on the array are organized into strings needs to be assumed. The picture clearly shows solar cells organized in groups of 48 (8x6). I have assumed two vertically-adjacent groups make up one solar string because this would be the simplest way to wire them. Below is a histogram that shows how many strings are unshaded, partially shaded, or entirely shaded.

Histogram showing how many iROSA strings have each count of illuminated cells.

Finally, the plot below compares the unshaded versus shaded power curves of the array at 150C.

Estimated current and power curves comparing full sun with partial shade on the iROSA.

Of all the solar cells in the array, 62% of them are unshaded. One might assume that the resulting power of the shaded array is therefore 62% of the unshaded array power. Due to the partially shaded solar strings, this turns out not to be true! In this case, the shaded array produces 55% of the unshaded array power (or about 7% less than initially expected).

Read more

For a comparison of triple-junction and monocrystalline silicon solar cells using the solarcell Python package, be sure to read “Design Considerations for a Spacecraft Solar Array.”