Bucharest Rooftop Solar Irradiation Research Handoff
Research and experiment goal for an autonomous agent
30 November 2026
Copy-ready goal
/goal
Build and evaluate a reproducible, open-data-only pipeline that estimates typical annual and seasonal rooftop solar irradiation for mapped buildings in the Municipality of Bucharest.
First verify and acquire the open inputs. Audit building footprints, usable heights and roof attributes across all six sectors. Then run controlled experiments in the historic center, Drumul Taberei and a lower-density area with substantial tree cover. Compare an unshaded horizontal baseline, a building-shadow model, and roof-facet estimates where mapped roof geometry supports them. Keep the weather and comparison cohort fixed when measuring the effect of geometry.
Produce a citywide baseline and export the best supported building-level estimates as local data artifacts. Run the shadow model citywide wherever the pilot and inputs support it. Quantify where assumptions about height, roof shape or vegetation change seasonal estimates or building rankings. Include one record for every building in the adopted inventory and identify missing or lower-confidence values.
Use data obtainable through public download or a public, self-service API under reusable terms. No institutional data requests, discretionary approval, paid imagery, proprietary solar APIs or noncommercial-only inputs. Deliver runnable code, a source manifest, a six-sector coverage audit, pilot experiment results, citywide geospatial outputs and a research report backed by reproducible evidence.
You own the work from research through execution and verification. Use the milestones and completion criteria in this handoff. Continue independent work when a source fails. Record the affected deliverables, your recovery attempts and the evidence for any remaining blocker.
1. Scope and research questions
The study covers the Municipality of Bucharest and sectors 1–6, with a surrounding buffer for obstacles that can cast shadows into the study area. The primary quantity is incident shortwave solar irradiation in kWh/m² per period. Produce long-term annual and meteorological-season totals for winter (DJF), spring (MAM), summer (JJA) and autumn (SON). Keep monthly results internally and export them where practical. The default weather window is 2005–2023, applied to a fixed, dated building inventory. The resulting climatology answers how much solar radiation those roofs receive in a typical year under the modelled conditions.
Answer these questions with results from real Bucharest data.
| Research question | Evidence to produce |
|---|---|
| RQ1 — How complete is the open inventory? | Count and projected roof area by sector and building class. Evaluate footprint agreement, height provenance, sufficient roof-tag coverage and the location of unrepresented or unresolved features. |
| RQ2 — How much does surrounding geometry change exposure? | On the same buildings, compare annual and per-season irradiation from the horizontal baseline and from an extruded building model. Report differences by roof class and urban density. |
| RQ3 — Where do roof pitch and orientation change the answer? | On the subset with usable roof attributes, compare flat and facet representations against the same obstacle scene, then describe how representative the subset is. For unknown roofs, quantify scenario sensitivity on a stratified sample. |
| RQ4 — Which results are stable enough to scale? | Measure sensitivity to heights, sample spacing, shadow buffer and, if usable, tree cover. Report seasonal rank stability, error checks, runtime and memory. Recommend the lowest-cost model that preserves the distinctions the results support. |
The study produces irradiation estimates and geospatial data. A later project can assess panel placement, electricity production, structural suitability or economics. The open inputs support one record per mapped building. The coverage audit must state what evidence exists about omissions. Paired results from sources with common upstream data are measures of agreement.
2. Data acquisition and open-data rules
| Source | Use and acquisition instructions |
|---|---|
| OpenStreetMap | Pin a dated Geofabrik Romania PBF. Extract the municipal and sector boundaries, building outlines and parts, and original tags. Preserve IDs and types, including multipolygon relations. Check the six sectors against the municipal geometry. ODbL applies. Romania downloads · Simple 3D Buildings tags |
| Overture Maps | Start with a pinned building and building-part GeoParquet extract for a bounding box that includes the municipal buffer. Keep source attributions, IDs, parent relationships and optional height, floor and roof attributes. Use OSM as a second inventory for reconciliation and as the primary fallback if Overture fails. ODbL applies to the building theme. Buildings and download guide |
| 3D-GloBFP | Check the current grid index for the Bucharest area. The Europe release explicitly lists Portugal_Romania_San_Marino.rar if the current tiled route is impractical. Inspect the archive schema and actual local features before promising coverage. Use matched records as estimated heights with their vintage. Both pinned catalog records list CC BY 4.0. Europe release with Romania · Updated release · Methods paper |
| PVGIS 5.3 SARAH3 | Preferred all-sky weather source. Retrieve and cache horizontal hourly radiation components for representative locations from 2005–2023. Start with one location, validate the response, and test whether additional grid cells materially change results. PVGIS manual · API and parameters · JRC usage conditions |
| Copernicus DEM GLO-30 | Use public tiles for regional terrain context. GLO-30 is a surface model. Estimate ground around buildings using suitable cells and check that existing raised returns do not inflate extrusions. Test a simple ground assumption on pilot areas if terrain extraction is unreliable. Public DEM downloads |
| Meta and WRI canopy height | Optional sensitivity input. Download only relevant public tiles, confirm release and acquisition vintage, mask unreliable overlaps, and check isolated urban trees. Compare plausible leaf-on and leaf-off cases if the data are usable. Public canopy tiles |
| NASA ICESat-2 and NASA POWER | Optional validation and sensitivity sources. Use ATL03 along-track photons for height checks on suitable roofs and adjacent ground. Compare monthly horizontal weather totals from NASA POWER on a matched period as a sensitivity check. ICESat-2 · NASA POWER API · Local ICESat-2 precedent |
Verify each licence against the specific release. Record retrieval date, URL, version, footprint of coverage, checksum where available, access method, field provenance and required attribution in data-manifest. Preserve ODbL obligations and applicable attribution when packaging derivative data. Keep raw inputs cached separately from repo-tracked code. Use bounded retries and resume downloads when supported. If a source has no working public delivery route, use an admissible fallback and record how this changes the result. If the pinned PVGIS endpoint fails, first test an equivalent public SARAH3 route. A public NASA POWER weather run can proceed as a coarser fallback after confirming the required variables, units and time convention. Apply the chosen fallback consistently across experiments.
GlobalBuildingAtlas height and LoD1 products carry a noncommercial restriction and are outside this scope. Use the agency's public catalog documentation as context only when a product requires a data request. The model must run independently of those products. GlobalBuildingAtlas licence notice
3. Experiments
Choose three pilot zones of comparable size. Use the historic center around Lipscani, an apartment-block area in Drumul Taberei, and a low-rise area with substantial trees selected from the data audit. Keep at least one separate holdout tile for transfer testing. Include apartment towers, low-rise pitched roofs, large commercial or industrial roofs, courtyards and tree-adjacent roofs in the sample. Document inclusion rules and geographic boundaries before comparing results.
E1 — Unshaded horizontal baseline
Integrate unshaded horizontal all-sky irradiation and join it to every mapped building with usable weather coverage. Treat the footprint as the projected roof area. This provides a reference for the shadow model and yields a comparable baseline for the whole city.
For selected locations, compare the integrated hourly total with a PVGIS monthly horizontal query using the same grid location, period and horizon setting. Explain differences in sampling or definitions before changing code. Independently check energy integration on a synthetic constant-irradiance case.
E2 — Shaded extruded buildings
Build a 2.5D obstruction scene from footprints and parts. Begin with source-reported plausible heights, then assess 3D-GloBFP estimates and floor-count conversions through the audit. Establish the precedence on a matched sample with provenance and local error evidence where available. Account for tag semantics, units and conflicting height definitions. Keep source-reported, model-estimated, floor-derived and imputed values identifiable. Test an imputed-height scenario by building type for missing heights. Keep clearly labelled baseline values where the shadow result is too sensitive or coverage is inadequate.
Use a projected CRS such as Stereo 70 for distances and areas. Terrain elevation and height above local ground must share a consistent interpretation. Avoid double counting building parts and main volumes. Keep features that cast shadows both inside and outside the municipal boundary. Start with a 250–500 m buffer and test larger distances where winter shadows or tower clusters warrant it.
Implement direct visibility with sampled roof points and ray tests or cached horizon profiles. Use a documented visible-sky approximation for diffuse irradiation and a documented ground-reflection term. Test obstruction handling near building edges and avoid numerical self-intersections. Keep computation simple enough to repeat. Compare selected cases with an independently implemented reference, such as explicit rays or GRASS horizons. GRASS horizon documentation
E3 — Roof facets and geometry sensitivity
Reconstruct simple facets only when mapped geometry or attributes support the chosen roof shape, pitch or roof height, and orientation. Validate the tag interpretation with known north- and south-facing synthetic surfaces. Hold neighboring obstacles, weather and sampled buildings fixed for the flat-versus-facet comparison. Replace the receiver building’s flat geometry with its modelled facets when casting rays for that building. Document which self-shading effects are represented. Compute a comparable analysis on the common cohort and report how its roof types and sectors differ from the full inventory.
For ambiguous pitched roofs, test a small, declared set of plausible scenarios, such as two ridge orientations and two pitch values. Keep these as sensitivity bounds. A confidence interval requires statistical calibration and supporting evidence. For vegetation, compare building-only and building-plus-canopy shadows on the same tree-adjacent sample. Report where canopy gaps or outdated source imagery prevent a supported estimate.
E4 — Convergence and scaling
Change one input at a time while holding the comparison cohort fixed. Test roof sampling density, azimuth or time discretization, shadow buffer, and height perturbations based on available evidence. Compare seasonal energy deltas, median and 90th-percentile absolute differences, sunny-roof ranking stability and resource use. Define and record practical comparison tolerances and runtime budget before inspecting the holdout results. Re-run the selected configuration on the holdout before the citywide run. Document season-specific failure modes and investigate outliers.
4. Numerical and geospatial requirements
- Weather. Start with the PVGIS
seriescalcendpoint andraddatabase=PVGIS-SARAH3,angle=0,components=1,pvcalculation=0andusehorizon=0when applying independently modelled horizons. Verify the output keys and units. Keep source timestamps and time convention. Cache the raw response with its parameters. Derive direct normal irradiance from the horizontal beam only where the solar zenith conversion is stable. Document treatment of low sun, missing hours and data closure. - Surface irradiance. Compute solar position and incidence consistently in true-north azimuth. Convert conventions explicitly when using GRASS and document how projected grid north is handled. Project direct irradiance onto each roof plane, apply sun visibility, then add visible-sky diffuse irradiation and reflected irradiation. Store direct and diffuse components internally for diagnostics. pvlib irradiation calculation
- Time aggregation. Integrate irradiance in W/m² over the timestep in hours and divide by 1,000. Accumulate separate monthly totals for each climate year. The annual normal equals the sum of the twelve monthly normals and the four seasonal normals, using the same valid-year basis. For year-by-year winter variability, assign December to the following winter and use complete DJF periods. Keep temporal variability distinct from uncertainty in roof geometry or weather-source selection.
- Area and shade. Calculate building-level irradiation as an area-weighted mean over its modelled roof facets. For the horizontal proxy use projected roof area. Keep total incident energy in kWh separate from the average in kWh/m². Compute shading loss against the same geometry under unshaded conditions. Leave ratios null if the denominator is insufficient and explain the condition.
- Coverage and reproducibility. Resolve duplicate footprints, overlapping parts, holes and boundary-crossing records deterministically. Publish one stable building identifier and area per inventory record. Preserve distinct statuses for no geometry, no weather, modelled horizontal, modelled block and tag-derived facet results. Never fill missing results with zero. Pin dependencies and input versions, store exact settings, and preserve deterministic IDs and stage logs. Make the city run resumable by tile and verify overlap seams.
5. Milestones and acceptance
| Milestone | Evidence required to advance |
|---|---|
| M1 — Inputs and design | Acquire real samples of core sources, confirm licence and fields, and write a source manifest. Inspect actual records near Bucharest. State risks, fallbacks, pilot strata, comparison metrics and planned tolerances. |
| M2 — Inventory and baseline | Produce the canonical inventory and coverage summaries across sectors 1–6. Generate citywide baseline values for covered buildings. Verify unique IDs, valid geometries, period closure and explicit missing-value flags. |
| M3 — Pilot experiments | Run E1–E4 on the pilot cohort with saved parameters and reproducible results. Demonstrate physics checks on synthetic cases and quantitative comparisons on real data. Distinguish model agreement from validation against observed measurements. |
| M4 — Holdout and citywide run | Run the selected model on the holdout. Scale the best supported configuration across the city with a fallback per flagged building. Report coverage by model and uncertainty type, including the facet subset. Save representative QA maps and run statistics. |
| M5 — Reproduction and review | Execute a clean or isolated reproduction of at least one pilot from the documented commands. Validate exported files, check reported values against stored metrics, and record which citywide outputs completed. Demonstrate how to resume the full run. |
Include these checks in the evidence. Test a 1,000 W/m² constant input for one hour, a horizontal unobstructed surface, an orientation test, and a known obstacle whose shadow length is height divided by the tangent of the solar elevation. Compare repeated runs for reproducibility. Inspect zero or nighttime irradiance, shadows from outside the city boundary, duplicate geometry, overlapping parts, missing data and seasonal-to-annual closure. Verify spatial support and time alignment before scoring optional ICESat-2 or weather comparisons.
Use one matched cohort per controlled comparison. Report the number of valid paired records and their area. Summarize signed and absolute differences, season-specific dispersion and rank stability. Use relative errors only with defensible denominators. Document failures, improvement candidates and tradeoffs. If a dataset or model fails, complete the in-scope stages that remain possible and report which acceptance conditions could not be tested. A synthetic fixture can verify the code and cannot establish Bucharest coverage or accuracy.
6. Deliverables and definition of done
Place final output paths and a one-page results summary in the repository or project workspace. Use a layout compatible with any existing project conventions.
| Deliverable | Minimum contents |
|---|---|
| Runbook and manifest | Dependency lock, input versions and attribution, cache strategy, commands for ingest, pilot, evaluation and city run, and a record of executed commands and settings. |
| Coverage audit | Machine-readable results for all six sectors, building counts and area, duplicate and unmatched cases, usable roof-tag and height fractions, and spatial QA examples. |
| Pilot and holdout evidence | Fixed cohorts, scenario configs, per-building metrics, annual/seasonal comparisons, convergence and resource metrics, and representative maps. |
| Citywide building results | GeoParquet or GeoPackage covering the adopted inventory. Include building ID, sector, geometry or geometry reference, model and height provenance, projected or facet area, annual and seasonal totals, uncertainty or scenario flags, and missing reasons. Include separately downloadable tag-derived facets where supported. |
| Research report | Answer RQ1–RQ4 with figures and tables. Describe tested data availability, measured coverage, validation limits, preferred production method, uncertainty by roof class and season, and remaining work to improve the evidence. |
The goal is complete when M1–M5 have evidence, the citywide inventory and baseline are delivered, the selected citywide shadow model has run across all eligible tiles, and each lower-confidence or unavailable estimate is traceable to a recorded input or model limitation. Detailed facet results are complete when the eligible subset is mapped, its size is reported, and its effect is measured on the matched cohort. The final status must state which conditions passed and link to the artifacts that demonstrate them.