Skip to content
You Start with one site
Amounts in Start with one site
Control, Measurement & Energy · Course

Maximum Power Point Tracking, Controllers and Inverters

Lesson 4 of 10 27 min read
Found this useful?

Two neighbours buy the same modules and the same battery. One fits the cheaper charge controller and gets a third less energy on a cool bright day, and never knows, because nothing is broken. On a larger site the owner sees the top of a clear day’s power curve cut flat at exactly 8 kW, and asks whether the installer sold an inverter that is too small. A module does not decide where on its curve it works; the electronics connected to it decide. This lesson shows how a tracker finds the best point, where it fails, and what an inverter does with the power it is given. #MPPT #Inverters #SolarPV

Learning Objectives

By the end of this lesson, you will be able to:

  1. Calculate the power lost when a module is held at a fixed voltage away from its maximum power point
  2. Compare a PWM charge controller with an MPPT charge controller for a given array and battery
  3. Describe the perturb and observe method, and show its ripple, its error under fast cloud and its failure with two peaks
  4. Read an inverter efficiency curve and explain why efficiency is poor at light load
  5. Calculate the DC to AC ratio of a system and the energy clipped on a given day

Real-World System Problem: One inverter between the array and everything else



The site of this course has 18 modules of 550 W in two strings of nine, a lithium iron phosphate battery of 51.2 V, and one hybrid inverter rated 8 kW on the AC side. The array is 9.9 kWp at standard test conditions (STC: 1000 W/m², cell at 25 °C), conditions a hot roof does not meet. The inverter has two tracker inputs, one for each string.

Every watt from the roof passes through this one box. Its trackers choose the voltage of each string, and so where on the curve the modules work; its inverter stage changes direct current to alternating current and loses a few percent; its rating puts a ceiling on the output.

Two questions follow. How well does a tracker hold the best point, in steady sun and in passing cloud? And with 9.9 kWp on an 8 kW inverter, how much energy is lost at the ceiling?

BatteryString ATracker 1DC busInverterLoadsString BTracker 2Grid orgenerator
The hybrid inverter of the site and its roles

Fundamental Theory: Choosing the working point



A module works where its load puts it

A module has a curve of current against voltage, the thing connected to it has a curve too, and the module works where the two cross. A resistor draws current in proportion to voltage; a battery holds its own voltage and accepts whatever current arrives. Neither knows where the maximum power point is.

Take two example modules in series, connected directly to the 51.2 V battery of the site while it charges at 52 V. Each module is held at 26 V, against a best voltage of 41.9 V at STC. There it is on the flat part of its curve: the current is 13.83 A, almost the short-circuit current, but the voltage is low, and power is the product of the two.

Condition of the pairPower at 52 VShare
1000 W/m², cell 25 °C1,099.8 W719.2 W65.4 %
800 W/m², cell 55 °C790.6 W583.1 W73.8 %

A third of the power is lost in the first case and a quarter in the second. It is not turned into heat in a wire; it is never generated: the modules run a little warmer and the light is wasted. The loss is smaller on the hot day only because heat lowers the best voltage towards the battery voltage, so a direct connection suits a module best when it gives least.

PWM and MPPT charge controllers

A charge controller stands between an array and a battery. Its first duty is to protect the battery by reducing the current when it is full. The two kinds differ in what they do before then.

A PWM (pulse width modulation) controller is a fast switch. While the battery needs charge the switch is closed and the array is held at battery voltage, exactly as in the table above. When the battery is nearly full the switch opens and closes rapidly to reduce the average current.

It is simple and cheap, but wastes little only when the array’s best voltage is just above the battery voltage in the hottest conditions, so the array must be chosen to match the battery.

For the pair of modules at STC, a converter with an efficiency of 96 percent (an example value) delivers W to the battery: 20.3 A at 52 V, against 13.83 A from the same modules connected directly.

switchDC to DC converterPWM: array held at battery voltageArrayBattery 52 V52 V, 13.83 A13.83 A, 719 WMPPT: converter between two voltagesArrayBattery 52 V83.8 V, 13.13 A20.3A,1056W
Fixed voltage against a tracking converter

The trackers in the hybrid inverter of the site do the same work for each string, between the string voltage (about 330 to 400 V) and the DC bus of the inverter.

Perturb and observe

A tracker cannot read the best voltage from the data sheet, because the point moves with every change of light and temperature. Most trackers find it by trial, like walking up a hill in fog: after each step, if you are higher, keep going; if lower, turn round. At the top you step over it, find yourself lower, and turn again, never still but never more than a step from the top.

The tracker does this with voltage and power: it changes the voltage by a small step (it perturbs), measures the power (it observes), and compares with the power before the step.

Two properties follow directly.

  • It never settles. In steady light the voltage moves back and forth over three values across the maximum power point, and loses a little power each time it is one step away. This is the ripple.
  • The step size is a compromise. A large step reaches the point and follows changes quickly, but its ripple is wide; a small step has a narrow ripple and is slow. Many trackers change the step size as they work.
P (W)turns here550oooo\othreeovaluesorepeatstartV30 V41.9 V49.9 V
Perturb and observe on the power curve

Where perturb and observe goes wrong

The method assumes that a change in power was caused by its own step. That is true in steady light. It is false in two situations.

Fast cloud. When a cloud edge moves off the array, the light rises quickly and the power rises at every step, whichever way the tracker moved. The tracker reads “the last step was good” and continues, away from the point if the direction was wrong. It corrects itself only when the light stops changing, or when the loss from the wrong voltage outgrows the gain from the light.

Two peaks. A partly shaded module or string with bypass diodes has more than one peak in its power curve. The tracker climbs the peak it stands on; at the top of a lower peak every step shows less power, exactly as at the true top, and it stays.

Makers answer the second problem with a scan: from time to time the tracker sweeps the whole voltage range, finds the highest peak, and starts its small steps there. Each scan costs a little energy, so it is done at intervals. Whether a given inverter scans, and how often, is in its manual.

The inverter efficiency curve

An inverter loses power in three ways: a fixed loss whenever it runs (controls, fans, the switching of its transistors), a loss in proportion to the current, and a loss with the square of the current, in the resistance of its windings and switches. With the output power:

The table uses example values for an 8 kW unit: W, W and W. They give about 97 percent over the upper part of the range, the figure this course uses for the site, and are not the data of any product.

LoadOutput (W)Loss (W)Efficiency
2 %16042.079.2 %
5 %40045.089.9 %
10 %80050.694.1 %
25 %2,00070.096.6 %
50 %4,000112.097.3 %
100 %8,000232.097.2 %

The curve is flat and high from a quarter of the rating upwards and falls steeply below a tenth, because the fixed loss does not shrink with the load. This matters most at night, when a hybrid inverter feeds a few hundred watts from the battery for twelve hours and the fixed loss is paid from stored energy.

DC to AC ratio and clipping

DC to AC ratio

For the site: .

A ratio above 1 looks like an error and is normal practice. The array almost never gives its nameplate power: the cells are hot, the modules a little dirty, and the light below 1000 W/m² for most of the day. An inverter sized to the nameplate would nearly always work at part load; a smaller one costs less and works higher on its efficiency curve.

The price is clipping. When the array could give more than the inverter can pass, the inverter limits its output to the rating through the tracker: it moves the string voltage above the maximum power point, towards open circuit, until the array gives only what it can take. The extra power is not burned anywhere; it is not generated.

P (kW)..power with no limit8.0/\inverter rating/\/delivered\/\0hour06:3011:3013:3018:30
Clipping: the top of the day is cut at the rating

Clipped energy depends on the hours the array spends above the ceiling, which depend on the weather of the site as much as on the ratio. It is found by walking through a day or a year in small time steps, as in Application 2.

What a hybrid inverter does

A hybrid inverter joins several duties that used to be separate boxes.

  • Tracker inputs hold each string at its best voltage.
  • A battery converter charges and discharges the battery, inside the limits that the battery management system sends.
  • The inverter stage makes alternating current for the loads.
  • A grid or generator input lets it take power, and in some systems send power out, and a transfer switch disconnects from the grid when the grid fails.

Its controller decides the order: solar to the loads first, then to the battery, then (if allowed) to the grid. When there is no place for the power it limits the trackers, the same action as clipping. So a flat top on the solar curve does not always mean an inverter at its rating: a full battery and a small load give the same picture at a lower level.

Application 1: A perturb and observe tracker on the module curve



Step 1: Steady light, two step sizes

Click to reveal the calculation
  1. Step of 0.5 V, the climb. From 30 V the tracker needs 24 steps to reach 42.0 V. Power rose at every one. Step 25 takes it to 42.5 V, the power falls, and it turns. ✅

  2. Step of 0.5 V, the ripple. The tracker now repeats 42.0, 41.5, 42.0, 42.5 V. The model gives 549.4 W at 41.5 V, 549.9 W at 42.0 V and 548.6 W at 42.5 V. ✅

  3. Ripple loss. The mean over the four steps of one cycle is

    which is 0.47 W, or 0.085 percent, below the true point. ✅

  4. Step of 2.0 V. The first turn comes at step 7, at 44 V. The ripple is 42, 40, 42, 44 V with 549.9, 541.0 and 530.1 W. The mean is 542.7 W, which is 7.18 W or 1.31 percent below the true point. ✅

  5. The other side of the compromise. Over the first 30 steps, the small step collected 8.02 percent less energy than the true point would give, because it spent 24 steps climbing. The large step lost 2.75 percent in the same 30 steps. ✅

Step 2: The shaded module with two peaks

Click to reveal the calculation
  1. Start at 49 V, moving down, as a tracker does when it starts near open circuit. It climbs the first peak it meets and settles between 44.5 and 45.5 V with a mean of 119.5 W. ✅

  2. Start at 15 V, moving up. It climbs the other peak and settles between 27.0 and 28.0 V with a mean of 359.4 W. ✅

  3. The cost of the wrong peak. W. The tracker at the high voltage peak collects one third of what the module can give, and by its own rule it is at a maximum. ✅

Step 3: A rising edge of cloud

Click to reveal the calculation
  1. Before the rise. At 300 W/m² and 45 °C the true point is 146.7 W at 37.68 V. The tracker moves between 37.2 and 38.2 V. ✅

  2. During the rise. The tracker happens to be moving upwards when the light begins to rise. Power rises at every step, so it continues upwards for eight steps, to 41.7 V. At step 29 (42.2 V) it is so close to open circuit that the power falls despite the brighter light, and it turns. ✅

  3. The wrong way for 21 steps. Moving downwards, it again sees the power rise at every step, because the light is rising, and does not turn again during the rise. At the end it is at 31.7 V, 7.3 V from the true point at 900 W/m² (462.2 W at 39.00 V), and collects 397.1 W. ✅

  4. Energy during the rise. Over the 30 steps the tracker collected 94.03 percent of what the true points would have given. ✅

  5. Recovery. When the light is steady, the first step down shows less power, and the tracker turns at step 51. It is within 0.5 V of the true point again at step 66, which is 16 steps after the light stopped changing. ✅

Step 4: Check with limiting cases

Click to reveal the check
  1. Ripple from the shape of the peak. Near the top a power curve is close to a parabola, so the loss one step away grows with the square of the step. A step four times larger should lose about 16 times more. The ratio found is . ✅

  2. Steps to the first turn. From 30 V to the true point is 11.89 V: 23.8 steps of 0.5 V or 5.9 of 2.0 V. The tracker must pass the point by one step before it can know, which gives 25 and 7. ✅

  3. No rise, no error. With the irradiance held at 300 W/m² for all 70 steps, the same tracker stays between 37.2 and 38.2 V. The error in Step 3 comes only from the changing light. ✅

Application 2: Clipping on a clear day



Step 1: The peak of the day by hand

Click to reveal the calculation
  1. DC to AC ratio. . ✅

  2. Peak irradiance. The clear day of 5.5 peak sun hours has a peak of 916.7 W/m². Scaled to 6.5 it is W/m², at 12:30. ✅

  3. Air and cell temperature at 12:30.

    ✅

  4. Module power by the data sheet coefficient ( %/°C).

    The model gives 522.5 W, 1.3 percent more, because its power falls a little more slowly with temperature than the data sheet says. ✅

  5. AC power with no limit. By the data sheet: kW. By the model: 8.58 kW. Both are above 8 kW, so the inverter clips at the peak, by about half a kilowatt. ✅

Step 2: The whole day in 5 minute steps

Click to reveal the calculation
  1. When it clips. The power with no limit is above 8 kW from 11:30 to 13:30 (125 minutes of 5 minute steps), while the irradiance is above 1,011 W/m². ✅

  2. Energy. With no limit the day would give 52.44 kWh. The inverter delivers 51.62 kWh. ✅

  3. Clipped energy. kWh (from the unrounded values), which is 1.55 percent of the day. ✅

  4. Other limits. Through the day the string maximum power voltage stays between 328 and 353 V, inside the 150 to 500 V range. The largest short-circuit current is 15.34 A, below the 20 A of a tracker input. ✅

  5. Performance ratio of this day. . It is high because this day has only three losses in it: temperature, the 6 percent DC factor and the inverter. ✅

Step 3: The mean day and larger arrays

Click to reveal the calculation
  1. The mean day, 5.5 peak sun hours. The peak with no limit is 7.37 kW. The inverter never reaches its rating, and the clipped energy is zero. It delivers 44.74 kWh. ✅

  2. 20 modules, ratio 1.38. Clipped: 3.36 kWh (5.76 percent) on the 6.5 day and 0.16 kWh (0.32 percent) on the mean day. ✅

  3. 22 modules, ratio 1.51. Clipped: 6.66 kWh (10.39 percent) on the 6.5 day and 1.83 kWh (3.34 percent) on the mean day. ✅

Step 4: Check the clipped energy by area

Click to reveal the check
  1. Shape. The part of the curve above 8 kW is a low arch, close to a parabola. The area of a parabolic arch is two thirds of its height times its width. ✅

  2. Numbers. Height kW. Width 125 minutes, which is 2.08 h.

    This agrees with the sum over 5 minute steps. ✅

Verify It in Python



The script holds the module model and the clear day of the course. It prints the fixed voltage comparison and the example efficiency curve, runs the tracker of Application 1, walks through the day of Application 2, and plots the tracker voltage and the clipped day.

mppt_clipping.py
"""Fixed voltage against tracking, a perturb and observe tracker, and inverter clipping."""
import numpy as np
from scipy.optimize import brentq, minimize_scalar
import matplotlib.pyplot as plt
K_B, Q = 1.380649e-23, 1.602176634e-19
def module_current(v, g=1000.0, t_cell=25.0, ns=72, n=1.1, rs=0.14, rsh=400.0,
isc_stc=13.90, voc_stc=49.90, a_isc=0.0005, b_voc=-0.0027):
"""Current (A) of the example 550 W module at voltage v (V), irradiance g (W/m2)
and cell temperature t_cell (deg C). Single-diode model."""
tk = t_cell + 273.15
vt = ns * n * K_B * tk / Q
iph = isc_stc * (g / 1000.0) * (1 + a_isc * (t_cell - 25.0))
voc_t = voc_stc * (1 + b_voc * (t_cell - 25.0))
i0 = (isc_stc * (1 + a_isc * (t_cell - 25.0)) - voc_t / rsh) / (np.exp(voc_t / vt) - 1)
f = lambda i: iph - i0 * (np.exp((v + i * rs) / vt) - 1) - (v + i * rs) / rsh - i
return brentq(f, -200.0, iph + 1.0)
def daily_irradiance(day=0, seed=5, step_min=5, psh=5.5, cloud=0.0):
"""Plane-of-array irradiance (W/m2) through one day near the equator.
Clear shape: sine squared between 06:30 and 18:30 scaled to `psh` peak sun hours.
`cloud` between 0 and 1 adds passing cloud. Returns hours, irradiance."""
rng = np.random.default_rng(seed + day)
h = np.arange(0, 24, step_min / 60.0)
x = np.clip((h - 6.5) / 12.0, 0, 1)
g = np.sin(np.pi * x) ** 2
g = g * psh / (g.sum() * step_min / 60.0) * 1000.0
if cloud > 0:
k = np.ones_like(h)
for _ in range(int(12 * cloud)):
c = rng.uniform(7, 18); w = rng.uniform(0.1, 0.6)
k *= 1 - 0.6 * np.exp(-0.5 * ((h - c) / w) ** 2)
g = g * k
return h, g
def max_power(g, t_cell):
"""V_mp and P_mp of one module."""
r = minimize_scalar(lambda v: -v * module_current(v, g, t_cell),
bounds=(20.0, 55.0), method="bounded", options={"xatol": 1e-6})
return r.x, -r.fun
def perturb_observe(power, v0, dv, steps, direction=1):
"""Perturb and observe. power(v, k) is the measured power at voltage v on step k."""
v, p, turns = [v0], [power(v0, 0)], []
for k in range(1, steps + 1):
v_new = v[-1] + direction * dv
p_new = power(v_new, k)
if p_new < p[-1]: # power fell: the next step goes back
direction = -direction
turns.append(k)
v.append(v_new)
p.append(p_new)
return np.array(v), np.array(p), turns
# ---------- A module held at battery voltage ----------
V_BATT = 52.0 # two modules in series on a 51.2 V battery
print("Two modules in series held at a battery voltage of 52 V")
for g, t in ((1000.0, 25.0), (800.0, 55.0)):
vmp, pmp = max_power(g, t)
p_fixed = (V_BATT / 2) * module_current(V_BATT / 2, g, t)
print(f" {g:.0f} W/m2, cell {t:.0f} C: V_mp {2 * vmp:.1f} V, P_mp {2 * pmp:.1f} W; "
f"at 52 V: {2 * p_fixed:.1f} W ({100 * p_fixed / pmp:.1f} %)")
# ---------- An example inverter efficiency curve ----------
P_RATED = 8000.0
def inverter_loss(p_ac):
"""Example loss (W): a fixed part, a part with current and a part with current squared."""
x = p_ac / P_RATED
return 40.0 + 96.0 * x + 96.0 * x ** 2
print("Example inverter efficiency curve")
for x in (0.02, 0.05, 0.10, 0.25, 0.50, 0.75, 1.00):
p = x * P_RATED
print(f" {100 * x:3.0f} % load ({p:5.0f} W): loss {inverter_loss(p):5.1f} W, "
f"efficiency {100 * p / (p + inverter_loss(p)):.1f} %")
# ---------- Application 1: perturb and observe ----------
VMP, PMP = max_power(1000.0, 25.0)
stc = lambda v, k: v * module_current(v, 1000.0, 25.0)
print("Application 1: perturb and observe on one module at STC")
print(f" true point: {PMP:.1f} W at {VMP:.2f} V")
for dv in (0.5, 2.0):
v, p, turns = perturb_observe(stc, 30.0, dv, 60)
tail_v, tail_p = v[-12:], p[-12:]
print(f" step {dv} V from 30 V: first turn at step {turns[0]}, "
f"then between {tail_v.min():.1f} and {tail_v.max():.1f} V")
print(f" power at those voltages: "
+ ", ".join(f"{x:.1f}" for x in sorted(set(np.round(tail_p, 1)))) + " W; "
f"mean {tail_p.mean():.2f} W, {PMP - tail_p.mean():.2f} W "
f"({100 * (1 - tail_p.mean() / PMP):.3f} %) below the true point")
print(f" energy missed during the first 30 steps: "
f"{100 * (1 - p[1:31].mean() / PMP):.2f} % of what the true point gives")
# the shaded module: one of three groups at 20 % light, ideal bypass diodes of 0.5 V
group = lambda v, g: module_current(v, g, 25.0, ns=24, rs=0.14 / 3, rsh=400.0 / 3,
voc_stc=49.90 / 3)
def group_voltage(i, g):
if group(-0.5, g) <= i:
return -0.5
return brentq(lambda v: group(v, g) - i, -0.5, 18.0)
i_grid = np.arange(0.0, 13.9, 0.005)
v_shade = np.array([2 * group_voltage(i, 1000.0) + group_voltage(i, 200.0) for i in i_grid])
shaded = lambda v, k: v * np.interp(v, v_shade[::-1], i_grid[::-1])
print(" the shaded module (peaks of 360.0 W near 27.4 V and 119.8 W near 45.2 V)")
for v0, d in ((49.0, -1), (15.0, 1)):
v, p, turns = perturb_observe(shaded, v0, 0.5, 80, d)
print(f" start at {v0:.0f} V: settles between {v[-12:].min():.1f} and "
f"{v[-12:].max():.1f} V, mean {p[-12:].mean():.1f} W")
# a rising edge of cloud: 300 to 900 W/m2 in 30 steps, cell held at 45 C
ramp = lambda k: 300.0 + 20.0 * min(max(k - 20, 0), 30)
cloud = lambda v, k: v * module_current(v, ramp(k), 45.0)
v0, _ = max_power(300.0, 45.0)
v, p, turns = perturb_observe(cloud, round(v0, 1), 0.5, 70)
best = np.array([max_power(ramp(k), 45.0) for k in range(71)])
print(" a rising edge of cloud, 20 W/m2 per step for 30 steps, step 0.5 V")
print(f" before the edge: {v[8:21].min():.1f} to {v[8:21].max():.1f} V "
f"(true point {best[0, 0]:.2f} V)")
print(f" turns during the edge (steps 21 to 50): {[k for k in turns if 21 <= k <= 50]}")
print(f" voltage at the end of the edge: {v[50]:.1f} V (true point {best[50, 0]:.2f} V), "
f"power {p[50]:.1f} W against {best[50, 1]:.1f} W")
print(f" energy during the edge: {100 * p[21:51].sum() / best[21:51, 1].sum():.2f} % "
f"of the true points; within 0.5 V of the point again at step "
f"{next(k for k in range(51, 71) if abs(v[k] - best[k, 0]) <= 0.5)}")
# ---------- Application 2: clipping ----------
N_MOD, K_DC, ETA, P_AC_MAX = 18, 0.94, 0.97, 8000.0
STEP_H = 5 / 60.0
def day_energy(psh, n_mod=N_MOD):
h, g = daily_irradiance(psh=psh)
t_air = 24.0 + 6.0 * np.cos(2 * np.pi * (h - 14.0) / 24.0)
t_cell = t_air + (45.0 - 20.0) * g / 800.0
mp = np.array([max_power(a, b) if a > 1.0 else (0.0, 0.0) for a, b in zip(g, t_cell)])
p_dc = n_mod * mp[:, 1] * K_DC
p_free = ETA * p_dc # AC power with no limit
p_ac = np.minimum(p_free, P_AC_MAX)
return h, g, t_air, t_cell, mp[:, 0], p_free, p_ac
h, g, t_air, t_cell, vmp, p_free, p_ac = day_energy(6.5)
k = int(np.argmax(g))
print("Application 2: clipping on a clear day of 6.5 peak sun hours")
print(f" DC to AC ratio: {N_MOD * 0.55 / 8.0:.2f}")
print(f" peak irradiance {g[k]:.1f} W/m2 at {h[k]:.2f} h, air {t_air[k]:.1f} C, "
f"cell {t_cell[k]:.1f} C, insolation {g.sum() * STEP_H / 1000:.3f} kWh/m2")
sheet = 550.0 * g[k] / 1000.0 * (1 - 0.0035 * (t_cell[k] - 25.0))
print(f" module at the peak: model {p_free[k] / (ETA * K_DC * N_MOD):.1f} W, "
f"data sheet coefficient {sheet:.1f} W")
print(f" AC power with no limit at the peak: {p_free[k] / 1000:.2f} kW "
f"(by the data sheet coefficient {N_MOD * sheet * K_DC * ETA / 1000:.2f} kW)")
on = p_free > P_AC_MAX
e_free, e_ac = p_free.sum() * STEP_H / 1000, p_ac.sum() * STEP_H / 1000
print(f" clipping from {h[on].min():.2f} h to {h[on].max():.2f} h "
f"({on.sum() * 5} minutes), irradiance above {g[on].min():.0f} W/m2")
print(f" energy with no limit {e_free:.2f} kWh, delivered {e_ac:.2f} kWh, "
f"clipped {e_free - e_ac:.2f} kWh ({100 * (e_free - e_ac) / e_free:.2f} %)")
print(f" performance ratio of the day: {e_ac / (9.9 * 6.5):.3f}")
day = g > 50.0
print(f" string V_mp while G > 50 W/m2: {9 * vmp[day].min():.0f} to {9 * vmp[day].max():.0f} V; "
f"largest I_sc {module_current(0.0, g[k], t_cell[k]):.2f} A")
h5, g5, _, _, _, p_free5, p_ac5 = day_energy(5.5)
print(f" the mean day of 5.5 peak sun hours: peak {p_free5.max() / 1000:.2f} kW, "
f"clipped {(p_free5 - p_ac5).sum() * STEP_H / 1000:.2f} kWh, "
f"delivered {p_ac5.sum() * STEP_H / 1000:.2f} kWh")
for n_mod in (20, 22):
_, _, _, _, _, pf, pa = day_energy(6.5, n_mod)
ef, ea = pf.sum() * STEP_H / 1000, pa.sum() * STEP_H / 1000
_, _, _, _, _, pf5, pa5 = day_energy(5.5, n_mod)
ef5, ea5 = pf5.sum() * STEP_H / 1000, pa5.sum() * STEP_H / 1000
print(f" {n_mod} modules (ratio {n_mod * 0.55 / 8.0:.2f}): clipped {ef - ea:.2f} kWh "
f"({100 * (ef - ea) / ef:.2f} %) on the 6.5 day, {ef5 - ea5:.2f} kWh "
f"({100 * (ef5 - ea5) / ef5:.2f} %) on the 5.5 day")
# ---------- Plot ----------
fig, ax = plt.subplots(2, 1, figsize=(8, 8))
vv, pp, _ = perturb_observe(stc, 30.0, 0.5, 60)
ax[0].plot(vv, label="step 0.5 V")
vv, pp, _ = perturb_observe(stc, 30.0, 2.0, 60)
ax[0].plot(vv, label="step 2.0 V")
ax[0].axhline(VMP, color="gray", linewidth=0.8, linestyle="--")
ax[0].set_xlabel("step")
ax[0].set_ylabel("module voltage (V)")
ax[0].set_title("Perturb and observe from 30 V")
ax[0].legend()
ax[1].plot(h, p_free / 1000, label="with no limit")
ax[1].plot(h, p_ac / 1000, label="delivered")
ax[1].set_xlim(6.0, 19.0)
ax[1].set_xlabel("hour of the day")
ax[1].set_ylabel("AC power (kW)")
ax[1].set_title("Clipping at 8 kW on a 6.5 peak sun hour day")
ax[1].legend()
fig.tight_layout()
fig.savefig("mppt_clipping.png", dpi=120)
print("Saved mppt_clipping.png")

Expected output

Two modules in series held at a battery voltage of 52 V
1000 W/m2, cell 25 C: V_mp 83.8 V, P_mp 1099.8 W; at 52 V: 719.2 W (65.4 %)
800 W/m2, cell 55 C: V_mp 75.0 V, P_mp 790.6 W; at 52 V: 583.1 W (73.8 %)
Example inverter efficiency curve
2 % load ( 160 W): loss 42.0 W, efficiency 79.2 %
5 % load ( 400 W): loss 45.0 W, efficiency 89.9 %
10 % load ( 800 W): loss 50.6 W, efficiency 94.1 %
25 % load ( 2000 W): loss 70.0 W, efficiency 96.6 %
50 % load ( 4000 W): loss 112.0 W, efficiency 97.3 %
75 % load ( 6000 W): loss 166.0 W, efficiency 97.3 %
100 % load ( 8000 W): loss 232.0 W, efficiency 97.2 %
Application 1: perturb and observe on one module at STC
true point: 549.9 W at 41.89 V
step 0.5 V from 30 V: first turn at step 25, then between 41.5 and 42.5 V
power at those voltages: 548.6, 549.4, 549.9 W; mean 549.43 W, 0.47 W (0.085 %) below the true point
energy missed during the first 30 steps: 8.02 % of what the true point gives
step 2.0 V from 30 V: first turn at step 7, then between 40.0 and 44.0 V
power at those voltages: 530.1, 541.0, 549.9 W; mean 542.72 W, 7.18 W (1.306 %) below the true point
energy missed during the first 30 steps: 2.75 % of what the true point gives
the shaded module (peaks of 360.0 W near 27.4 V and 119.8 W near 45.2 V)
start at 49 V: settles between 44.5 and 45.5 V, mean 119.5 W
start at 15 V: settles between 27.0 and 28.0 V, mean 359.4 W
a rising edge of cloud, 20 W/m2 per step for 30 steps, step 0.5 V
before the edge: 37.2 to 38.2 V (true point 37.68 V)
turns during the edge (steps 21 to 50): [29]
voltage at the end of the edge: 31.7 V (true point 39.00 V), power 397.1 W against 462.2 W
energy during the edge: 94.03 % of the true points; within 0.5 V of the point again at step 66
Application 2: clipping on a clear day of 6.5 peak sun hours
DC to AC ratio: 1.24
peak irradiance 1083.3 W/m2 at 12.50 h, air 29.5 C, cell 63.4 C, insolation 6.500 kWh/m2
module at the peak: model 522.5 W, data sheet coefficient 515.8 W
AC power with no limit at the peak: 8.58 kW (by the data sheet coefficient 8.46 kW)
clipping from 11.50 h to 13.50 h (125 minutes), irradiance above 1011 W/m2
energy with no limit 52.44 kWh, delivered 51.62 kWh, clipped 0.81 kWh (1.55 %)
performance ratio of the day: 0.802
string V_mp while G > 50 W/m2: 328 to 353 V; largest I_sc 15.34 A
the mean day of 5.5 peak sun hours: peak 7.37 kW, clipped 0.00 kWh, delivered 44.74 kWh
20 modules (ratio 1.38): clipped 3.36 kWh (5.76 %) on the 6.5 day, 0.16 kWh (0.32 %) on the 5.5 day
22 modules (ratio 1.51): clipped 6.66 kWh (10.39 %) on the 6.5 day, 1.83 kWh (3.34 %) on the 5.5 day
Saved mppt_clipping.png

Common Mistakes



  • Choosing a PWM controller for modules whose best voltage is far above the battery voltage. The array is held at battery voltage and a large share of its power is never generated.
  • Reading a tracker efficiency of 99 percent as the efficiency in all weather. It is measured in steady light. Fast cloud and partial shade are separate losses.
  • Assuming that a tracker always finds the highest peak. A simple tracker stays on the peak it climbed, and only a scan finds another.
  • Using the peak efficiency of an inverter for a small night load. At a few percent of the rating the fixed loss dominates.
  • Calling an inverter too small because the DC to AC ratio is above 1 or because the power curve has a flat top. Calculate the clipped energy over real days before judging.
  • Reading every flat top as clipping at the rating. A hybrid inverter also limits the array when the battery is full and the load is small.

Summary



  • A module works at the point its load chooses. Two example modules held at a battery voltage of 52 V give 65.4 percent of their maximum power at STC.
  • A PWM controller connects the array to the battery directly. An MPPT controller places a converter between them and searches for the voltage of most power.
  • Perturb and observe steps the voltage and keeps the direction that raised the power. With a 0.5 V step on the example module it turns for the first time after 25 steps and then loses 0.085 percent to ripple. With a 2.0 V step it turns after 7 steps and loses 1.31 percent.
  • The method is misled by fast changes of light (94 percent of the available energy during the example rise) and it stays on a local peak (119.5 W in place of 359.4 W on the shaded module).
  • Inverter efficiency is high and flat above a quarter of the rating and falls steeply at light load, because part of the loss is fixed.
  • The site has a DC to AC ratio of 1.24. On a generated clear day of 6.5 peak sun hours, with the stated assumptions, the 8 kW inverter clips 0.81 kWh, which is 1.55 percent. On the mean day it clips nothing.

Exercises



1. Three example modules in series are connected directly to a battery at 52 V. At STC the module current at 17.33 V is 13.85 A, and of one module is 549.9 W. Find the power delivered and its share of the maximum power of the three modules.

Answer

Each module is held at V. Power W. The maximum is W, so the share is 43.7 percent. The third module added almost nothing (two modules gave 719.2 W), because the current cannot rise above the short-circuit current.

2. An 8 kW inverter has the example loss W, with the output as a fraction of the rating. Find its efficiency at an output of 1,200 W.

Answer

. Loss W. Efficiency percent.

3. A perturb and observe tracker in steady light repeats four voltages in a cycle, with powers of 549.9, 541.0, 549.9 and 530.1 W. The true maximum is 549.9 W. Find the mean power and the ripple loss in percent.

Answer

Mean W. Loss W, which is 1.31 percent. This is the 2.0 V step of Application 1.

4. At noon the irradiance on the array is 1,050 W/m² and the air is at 32 °C. Use and the power coefficient of %/°C to find the power of one 550 W module. Then find the AC power with no limit for 18 modules with a DC factor of 0.94 and an inverter efficiency of 0.97, and the power clipped by an 8 kW inverter.

Answer

°C. W. AC with no limit kW. The inverter clips 0.16 kW at that moment.

References



  • G. M. Masters, Renewable and Efficient Electric Power Systems, 2nd edition, Wiley, 2013.
  • R. A. Messenger and A. Abtahi, Photovoltaic Systems Engineering, 4th edition, CRC Press, 2017.
  • T. Esram and P. L. Chapman, “Comparison of Photovoltaic Array Maximum Power Point Tracking Techniques”, IEEE Transactions on Energy Conversion, vol. 22, no. 2, 2007.
  • IEC 61724-1, Photovoltaic system performance: Monitoring (named here as the standard for how system performance is measured and recorded).


© 2021-2026 SiliconWit®. All rights reserved.
Predict first

Two modules in series give 1,100 W at their best voltage of 83.8 V in full sun. They are connected straight to a battery that sits at 52 V. About how much power do they give now?

battery 52 V719 Wbest 83.8 V: 1,100 W powervoltage52 V83.8 V 65 % of the power, nothing broken
higher:keep goinglower:turn round Position is voltage. Height is power.
See it: the tracker climbs, turns, and stays on its hill

Step
Tracker now
Highest point of the curve

The curves are the example module of the course at standard test conditions, and the same module with one of its three groups of cells at 200 W/m². At each step the tracker moves the voltage, measures the power, and turns round if the power fell. Count the steps to the first turn, then watch the three voltages it repeats. On the shaded module, the start decides the hill.

Check yourself

Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.

1. The same two modules give 1,099.8 W at their best point (83.8 V, 13.13 A). They now feed the 52 V battery through an MPPT converter with an efficiency of 96 percent. What current flows into the battery?

2. In a record from a clear afternoon, string A of a site sits at a voltage well above its normal value for the temperature, with a low current. String B is normal. The inverter reports no fault. What is the most likely cause?

3. The 8 kW hybrid inverter with the example loss curve of this lesson (40 W fixed, plus 96 W × x and 96 W × x², with x the share of the rating) feeds a night load of 300 W from the battery for 12 hours. About how much energy does the inverter itself lose in the night?

Watch it build: where an inverter loses, and when it matters
fixed 40 Win step with loadwith load squared 50.6 W112 W232 W 10 %50 %100 % load 1009080 50 %100 % load 2 %: 79.2 % above 25 %: 96.6 to 97.3 % night 300 W: 87.3 %12 h: 0.52 kWh lost label 97 %: 0.11 kWh, not 0.52
  1. Three losses: a fixed 40 W, a part in step with the load, a part with its square. 232 W at full load.
  2. So the efficiency is high and flat above a quarter load (96.6 to 97.3 %) and falls to 79.2 % at 2 %.
  3. A night load of 300 W runs at 87.3 %: 43.7 W lost, 0.52 kWh in 12 hours, paid from the battery.
  4. The single 97 % on the label would predict 0.11 kWh. Use the curve or the no-load figure.
String A String B Tracker 1 Tracker 2 DC bus Inverter Battery charge discharge Grid or generator Loads
One box between the array and everything else
PWM: array held at battery voltage Array 52 V, 13.83 A Battery 52 V 13.83 A, 719 W MPPT: converter between two voltages Array 83.8 V, 13.13 A DC to DC converter Battery 52 V 20.3 A, 1056 W
Fixed voltage against a tracking converter
30 35 40 41.9 45 49.9 0 200 400 549.9 module voltage V power P, W start, 30 V climbs 2 V a step turns here, 44 V then 42, 40, 42, 44 V repeat: never still top: 549.9 W
Perturb and observe on the power curve
06:30 09:00 11:30 13:30 16:00 18:30 0 2 4 6 8 clock, h AC power, kW inverter rating 8.0 kW with no limit: 8.58 kW delivered 51.62 kWh clipped 0.81 kWh, 11:30 to 13:30
Clipping: the top of the day is cut at the rating
Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.