Site polygons → PV tables (rectangles) with tilt, GCR, table size and module data; report with tables, modules and kWp. Run it from the GIS workbench Toolbox (category “Sample plugins”). Source: plugin.js (pure maths, no libraries) and manifest.json — copy them to start your own plugin.