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

Solar PV and Battery Systems

Know what a solar and battery system should give, and prove what it really gives. Ten lessons on one site, from the light on the roof to a yearly audit.

Found this useful?
The audit of one year as a waterfall. The design expects 15,524 kWh. Less light takes 574 kWh, soiling above the allowance 137, the string fault 436 and a remainder nobody can explain 109, down to 14,269 kWh at the meter.

An installer quotes ten kilowatts, and at noon the meter shows six. A workshop promised "enough solar for the whole load" runs its generator every afternoon of the rainy season. A connector fails on a Tuesday, one of two strings stops, and nobody notices for three weeks, because half an array still looks like a working array. At the end of the year the owner was promised 15,500 kWh and the meter shows 14,269.

In this course you follow one site with a roof array, a battery, an inverter and a standby generator. You count the light, size the system from the load, take the weather out of the record, and split a shortfall into causes that add up, each with its evidence.

From the sun to the meter
  1. 1Count the lightA clear day gives 5.50 peak sun hours: the energy of 5.5 hours at full sun.
  2. 2Read the curveThe load decides where a module works. The best point is at the knee.
  3. 3Count the lossesEach loss is a factor between the light and the meter, and the factors multiply.
  4. 4Read the recordA failed string is a step in the daily ratio. The alarm fires on the first day.
You will be able to
  1. Estimate what an array will give in the mean month and in the worst one
  2. Size the array, the battery and the inverter from what must run and when
  3. Read a daily record to tell dust from a fault from ageing, and split a shortfall into causes that add up

New to this? New to solar? Start with lesson 1: what the sun really delivers to a roof.

You need A computer with Python, numpy, scipy and matplotlib. The data of the site are in the lessons.

The engineering behind it

Solar is sold on nameplate power and judged on energy. Learn what a system should really produce, and why it falls short.

Lessons
Lesson 1 · 27 minThe Solar ResourceCount the light on a roof, and see why an array sized on the yearly mean is short in the cloudy season.IrradiancePeak sun hoursTiltWorst month Lesson 2 · 26 minThe Solar Cell and Its I-V CurveOne curve of current against voltage, and why an array of 9.9 kWp gives about 6.47 kW at the meter at noon.I-V curveMaximum power pointFill factorCell temperature Lesson 3 · 26 minModules, Strings and ShadingCheck a string against the inverter at the coldest and the hottest cell, and find what one shaded group costs.Series and parallelString voltageBypass diodesShading Lesson 4 · 27 minMaximum Power Point Tracking, Controllers and InvertersHow a tracker finds the best point, where it is misled, and what an inverter smaller than its array clips.PWM and MPPTPerturb and observeInverter efficiencyClipping Lesson 5 · 24 minSizing a System from the LoadStart from what must run and when, and work back to the array, the battery and the inverter.Load tableDay and nightBattery sizeStarting surge Lesson 6 · 26 minBatteries: State of Charge and Cycle LifeFollow the charge of a battery through a day, and find what each stored kWh costs in wear.Ah and kWhState of chargeDepth of dischargeCycle life Lesson 7 · 24 minPerformance Ratio and LossesTake the weather out of the reading, and build the loss table that says what the ratio should be.Performance ratioLoss chainSpecific yieldTemperature loss Lesson 8 · 26 minHybrid Systems: Solar with a Generator or the GridWhat a kWh costs from each source, what happens when the grid fails, and the fuel a battery saves.Hybrid inverterGenerator fuelGrid failureCost per kWh Lesson 9 · 26 minMonitoring, Faults, Soiling and DegradationTell dust from a failed string from ageing in the daily record, and write an alarm that fires on the first day.Daily ratioSoiling rateWhen to washAlarm rules Lesson 10 · 25 minAuditing a Solar SystemSplit a shortfall of 1,255 kWh into causes that add up, and write a one-page report an owner can act on.Yield auditShortfall splitUncertaintyRanked actions
More about this course

Every number has a reason

A system is not 10 kW because the seller had one in stock. Each number comes from the light, the heat, the inverter or the load.

  • 5.50 hourspeak sun hours of a clear day at the site; an array sized on the yearly mean for 30 kWh is 18.2 percent short in the worst monthLight
  • 0.35 percentthe power lost for each °C above 25 °C; with cells at 55 °C the 9.9 kWp array gives about 6.47 kW at the meterModule
  • 11 modulesthe longest string allowed; twelve reach 623.1 V on a cold morning against a 600 V limitStrings
  • 1.24the DC to AC ratio: the 8 kW inverter clips 1.55 percent of a very clear day and nothing on the mean dayInverter
  • 0.80 of the medianthe daily ratio against the 14 days before: fires on the first day of the fault with no false alarm in the year, and must latchMonitoring

Energy says how much. The performance ratio says how well.

Energy in kWh
How much
  • Mixes the light that came with how well it was used
  • A cloudy month and a broken string look the same
  • A good month can hide a tenth lost to dust

The test: what did the meter turn?

Performance ratio
How well
  • Real energy over what a perfect array gives from the same light
  • A loss table says what it should be: 0.781 here
  • Dust is a sawtooth, a fault a step, ageing a slope

The test: did the sun change, or the system?

The tools

Pythonnumpy, scipy and matplotlib. Each lesson works the numbers by hand, then checks them in Python.
One site18 modules of 550 W, an 8 kW hybrid inverter, a 15.36 kWh battery and a standby generator.
No downloadsThe year of records is made inside the lessons, so your numbers match the page.
An example moduleTypical values for its class. For real equipment, the maker's data sheet decides.
A one-page auditThe shortfall split into causes, each with its uncertainty, and actions ranked by value.
Currency unitsMoney in plain units, so every example works in any country.

Honest limits. Arrays, batteries and inverters carry lethal direct voltages, and work on them is for qualified installers. The lessons explain how a system behaves and how to read its measurements. The BMS protects the cells on site, and the inverter settings keep the battery inside its limits.

Before you start

The full course notes

A solar installer quotes ten kilowatts, the owner expects ten kilowatts, and at noon the meter shows six. Nobody lied: nameplate power is measured in conditions a roof in the tropics never meets. Most disappointment with solar comes from not knowing what to expect, and from having no record that shows what the system really does. #SolarPV #Batteries #EnergyYield

It follows one site with a roof array, a battery bank, an inverter and a standby generator. Each lesson works real numbers by hand and checks them in Python.

What you need

A computer with Python, and three libraries.

Terminal window
pip install numpy scipy matplotlib

Lessons

Lesson 1: The Solar Resource

Irradiance, peak sun hours, tilt and season: what the sun delivers to a panel.

Open

Lesson 2: The Solar Cell and Its I-V Curve

One curve explains what a panel gives in every condition.

Open

Lesson 3: Modules, Strings and Shading

Why one shaded cell can take down a string, and what bypass diodes do.

Open

Lesson 4: Maximum Power Point Tracking, Controllers and Inverters

Keep the array at its best point, and convert what it gives.

Open

Lesson 5: Sizing a System from the Load

Start from what must run, and work back to panels and batteries.

Open

Lesson 6: Batteries: State of Charge and Cycle Life

What a battery really stores, and what shortens its life.

Open

Lesson 7: Performance Ratio and Losses

Where the energy goes between the sun and the load.

Open

Lesson 8: Hybrid Systems: Solar with a Generator or the Grid

Make the sources work together, and count the fuel saved.

Open

Lesson 9: Monitoring, Faults, Soiling and Degradation

Tell a dirty array from a failed string from an ageing one.

Open

Lesson 10: Auditing a Solar System

Compare what the system should produce with what it does.

Open

What this course does not cover

Work on arrays, batteries and inverters involves lethal direct voltages and is for qualified installers. The lessons explain how a system behaves and how to read its measurements.



© 2021-2026 SiliconWit®. All rights reserved.

10 lessons, in order.

SiliconWit makes these courses. We also run siliconwit.io, a monitoring service.