Energy and cities
Roof Lifecycle Auditor
Which rooftop solar arrays and white roofs in a city are wearing out or need cleaning, worked out from free aerial photos before anyone climbs a ladder.
The problem
Most rooftop solar is never checked after it goes up. Dirt, growing trees and broken modules cost energy for years without anyone noticing. Cities also pay for reflective "cool" roofs to fight summer heat, but rarely check whether they still reflect. Drone inspection works, one roof at a time, at a few hundred euros each.
What it does
German states publish 10 to 20 cm aerial photos with a near-infrared band, flown every two years, plus 3D roof models, all under open licences. I took five flights of a 3 by 3 km area in eastern Münster (2017 to 2026), put them on one brightness scale using road surfaces as a reference, and trained a model to find solar arrays. Then I compare each array with others from the same flight that face the same way, and flag the ones that look brighter than expected for their age, tilt and surroundings. For flat roofs I track an albedo index over time.
There were almost no labelled solar panels to train on. So the labels come from the national solar registry: if a roof got a system in 2021, the 2020 and 2022 photos should differ by exactly that array.
Münster east, 2026 flight. District scale only; I don't single out private homes.
Did it work?
- Putting the flights on one scale: yes. On held-out road pixels the brightness mismatch between flights dropped from 5 to 49 levels to under 4.
- Finding known systems: now mostly yes. At first I had only 27 roofs with a known install date to learn from, and the model just memorised them. Detected area on registry roofs it had never seen was 9% of what was registered. Then I used the photos themselves: a panel-like change that appears between two flights and stays is an install. That gave over a thousand examples of many panel types. On unseen registry roofs the detected area is now about 86% of the registered area.
- Telling panels from dark roofs: no. I looked at 36 random detections from the 2026 flight. About one in four is a real array. The rest are dark flat roofs, winter shadows and lines along roof edges. The earlier version did a little better on this (about one in three) because it found fewer arrays overall. Nothing I tried at the level of single pixels fixed it: stricter thresholds, extra negative examples, evening out colour differences between flights.
- Correction: I first reported that the detector found about six times too much solar. That compared against the national registry scaled to the district, which undercounts a district full of industrial roofs, and the registry also misses many real arrays. I withdrew that claim. The honest statement is the one above.
- The wear flags: not usable yet. With three in four detections not being panels, the aging model and its flags mean nothing. I show them for the method only.
Detected solar area by flight, with the registered units I could place on roofs as a lower bound. Detection stays below that bound through 2022 and far above it in 2024 and 2026, where most of the extra is not panels.
Brightness mismatch per band and flight, before and after normalisation.
Cool roofs
Albedo index of flat roofs over five flights. The typical roof is 0.08 below its best year. My threshold for "cool roof" is too loose for now: almost every flat roof passes it.
Progress
Fixed recall: the model now learns from over a thousand installs found in the photos, not 27 roofs. Precision is the problem now, about one detection in four is a real array when I check by eye. Withdrew my earlier six-times claim, which used a bad yardstick. Next: a neural network that sees panel structure in context, trained on hand-checked examples of dark roofs and shadows.
Fixed most of the false panels. Detected area went from six times the registry figure to about two times, at the cost of missing more real arrays. The aging model has too few arrays to learn from, so the wear flags are on hold. Next: a stronger detector on a GPU and a whole-city run.
First full build on Münster east, five flights. Normalisation and registry-based labels work. The solar detector finds known systems but over-detects about six times.
Imagery and buildings: Geobasis NRW (dl-de/zero-2-0). Solar registry: Marktstammdatenregister, BNetzA (dl-de/by-2-0). Roads: © OpenStreetMap contributors.