Skip to content

Methods

Tilt

The elevations under the polygon are fitted with a robust Theil-Sen estimator: planes through random triplets of neighbouring pixels, modes of their slopes (one per orientation, with as many parallel planes as needed), least-squares refit on the inliers.

Polygons covering several roof planes with different orientations are flagged multimodal, or split into one part per plane (split=True): gable roofs, but also large roofs with many pans (repeated gables, sheds).

A constant tilt, 30° by default (tilt).

Removed: lut

The look-up table method (noisy, France only) was removed in 0.3.0, with MetadataExtraction. Use a surface model, or the heuristics.

Azimuth

From the same Theil-Sen fit. Undefined on flat roofs (status = "flat", tilt under 5°).

The orientation of the polygon's minimum rotated rectangle, facing the side closest to south. It gives the axis of the installation only, and can be wrong by 180°. On squarish polygons the long side, hence the azimuth, is arbitrary: the elongation column (long side / short side) lets you filter them, e.g. elongation >= 1.3.

Convention

Azimuths are in degrees, 0 = north, clockwise (90 = east, 180 = south, 270 = west): the direction the panels face.

Surface

  • surface_proj: projected area of the polygon (m²).
  • surface: area of the panels, surface_proj / cos(tilt).

Installed capacity

The installed capacity (kWp) is proportional to the surface of the panels. The coefficient (capacity of characterize_roofs, method of installed_capacity) is:

capacity Coefficient
"constant" 1/6.5 kWp/m²
a number that coefficient, in kWp/m²
"linear" one coefficient fitted on the BDPV registry shipped with the package
"clustered" one coefficient per surface class (4 classes of equal size in the registry)

installed_capacity(surface, method, coefficient=..., clusters=..., data=...) also takes your own registry (data, columns surface and kWp).