Satellite powered estimation of global solar potential
December 12, 2024
Vishal Batchu, Senior Software Engineer, Google Research, and Betty Peng, Senior Software Engineer, Google
High-quality satellite digital surface models and roof segmentation power Google Maps Platform Solar API expansion in the global south and reduce global revisit times.
Quick links
Energy demand is set to increase dramatically in coming years, and residential solar power is poised to play a crucial role in meeting this challenge sustainably. By 2035, solar photovoltaics are projected to generate a staggering 10.7k TWh globally — nearly 28% of the total anticipated demand! As cities grow and the impacts of climate change intensify, the transition to renewable energy sources like solar becomes increasingly urgent. By offering a cleaner alternative to fossil fuels, solar energy empowers individuals and businesses to control their own energy production and reduce their carbon footprint.
Unfortunately, barriers to solar adoption persist, particularly in parts of the Global South where access to financing, technology, and infrastructure is limited. To unlock solar’s potential around the world, a concerted effort is needed from governments, organizations, and researchers to develop accessible and scalable solutions. Assessing the solar viability of a property involves numerous variables, often posing a challenge for homeowners and businesses. The Google Maps Platform (GMP) Solar API simplifies the process of assessing solar potential and designing solar systems by leveraging aerial imagery to provide key insights for rooftops.
Today, we're excited to announce an experimental expansion in the coverage of this API in the Global South. By applying machine learning (ML) models to satellite imagery, we can generate digital surface models (DSMs) and roof segmentation maps to enable solar assessments in new areas around the world. The methodology is detailed in our paper “Satellite Sunroof: High-res Digital Surface Models and Roof Segmentation for Global Solar Mapping”, published at the Climate Change and AI workshop at NeurIPS 2024.
You can explore this experimental data and contribute to a brighter future by signing up today!
Insights from the Solar API
Installation of residential solar panels is often slow and complicated, especially in emerging markets with limited data. The process typically involves educating homeowners, taking manual measurements, and creating designs and proposals based on scarce information — all before a contract is even signed.
To address these challenges, the Solar API was launched in 2023 under Google Maps Platform's Environment APIs. It provides comprehensive building solar data and detailed rooftop imagery by processing aerial imagery, weather, and financial data. Earlier this year, we expanded the Solar API’s reach by applying ML techniques within our processing pipeline, bringing solar insights to millions of additional buildings across the US, Europe, and Japan.
This data aims to help:
- Empower businesses to provide people with personalized solar potential insights and optimized panel layouts.
- Identify installation locations for potential investments and business growth opportunities.
- Increase customer conversion rates with less effort and lower costs.
- Accelerate adoption with remote proposals and quotes.
- Optimize designs using 3D models for efficient panel layouts.
- Aid in the development of new incentive programs based on data-driven insights.
Expanding globally with satellites
To address the growing need for solar data in the Global South, we began to explore the application of ML techniques on satellite imagery. Though working with lower-resolution satellite imagery presents new challenges, such as the scarcity of accurate elevation maps, reduced image quality, and distortions from oblique viewing angles, we see this as a significant opportunity to accelerate the growth of solar markets in new regions. Satellite imagery not only offers a pathway to global coverage but also enables more frequent data updates, even in well-mapped areas like the US and Europe, where relying solely on expensive and potentially outdated aerial imagery can be a limitation.
This data is currently available to experimental users through the Solar API Expanded Coverage Testing Program, with a number of solar installers already using the data outputs, as shown below.
With this expansion, we unlock the use of satellite imagery for solar potential estimation, resulting in 125 million new buildings with Solar API data across 23 countries. This project extends the total potential coverage by 1.9 billion additional buildings around the world, based on currently available satellite imagery. More buildings will become available as satellites continue to capture new areas.
Using ML to predict high-quality DSMs and roof segments
The solar data generation pipeline requires high-quality DSMs in order to compute planar roof segments for solar panel calculations. However, traditional stereo methods for satellite DSM generation are unreliable because high-resolution (<1 meter) satellite imagery is expensive to capture, often leading to limited views of a given region with significant temporal gaps. Existing roof segmentation techniques are also less accurate on satellite data due to the lower resolution. To address these challenges, we’ve developed new ML models that can generate high-quality nadir (overhead) DSMs and planar roof segment instances from single-view satellite imagery.
We employ a two-stage model to produce DSMs and roof segments. The first stage is the base model, which processes off-nadir satellite RGB imagery with the corresponding satellite view angles. We optionally include low-quality photogrammetry-derived relative heightmaps (DSM-DTM) where they are available. These initial input DSMs have limited coverage and are at an insufficient resolution for detailed rooftop calculations. Using a U-Net–style architecture with a Swin Transformer encoder, the base model generates improved height maps and roof segment instances in the off-nadir view. These are then reprojected to a nadir view using geometry-based reprojection.
The second stage, the refinement model, further enhances the nadir RGB, DSM and segment instances by filling in gaps and artifacts produced in the reprojection step. The base and refinement models use L1 and Sobel gradient losses for DSM estimation, and affinity mask losses for roof segmentation.
Our models are quantitatively evaluated using a variety of metrics, including DSM mean absolute error (MAE), roof pitch error, and roof segment instance intersection over union (IOU). DSM and pitch results are compared to high-quality aerial DSM equivalents. Roof segment labels are obtained in two ways — either computed using graph-cut (GC) on DSM labels, or manually labeled using human annotations.
We categorize these results into two groups based on input channels: "RGB-only" (global coverage) and "RGB+DSM" (limited coverage, only where stereo-based input DSMs are available), which help us understand model performance. These detailed performance metrics were compared across a broad set of countries where higher-quality aerial data is available. We also evaluated end-to-end results from the Solar API pipeline.
The results show that while inclusion of low-quality DSMs improves shading predictions, as captured by the building DSM MAE, it doesn’t significantly improve roof segmentation or pitch accuracy, which are more critical for estimating solar potential. Our model's strong performance with RGB-only inputs makes it suitable for application in any region where satellite RGB imagery is available.
We observe that the error variation between countries is small, with the exceptions of Chile and the Philippines, which can be attributed to noisy ground-truth data. This suggests that our model can adapt to a variety of regions with varying building styles and sizes, and across complex roof structures.
Visualizations
Our models generalize well across varying architectural styles and landscapes. In regions with flat rooftops, our DSMs accurately capture obstacles and roof surfaces with a high level of accuracy. In areas with tilted rooftops, the models effectively predict roof ridges, which are important for accurate panel placement. While the DSMs may not capture the intricate details of individual trees, tree height information is available and used for analyzing shading impacts over adjacent rooftops.
The figure below compares the predictions of our satellite-based model against the high-quality aerial data that is currently available in the Solar API.
The figure below displays the annual solar flux estimated by the Solar API, superimposed on satellite RGB imagery.
Looking ahead
While this expansion significantly increases the availability of solar data, inherent challenges and limitations persist. Factors like input pixel resolution, cloud cover, and occlusion artifacts can influence the output quality.
We are actively working on improving the accuracy through ongoing research and user feedback. Future work will also focus on exploring new research directions, such as obstacle detection, roof material detection, and existing solar panel identification.
Acknowledgements
We would like to thank individuals in Google Research, Geo and DeepMind who carried out this work and made the launch possible, including (in alphabetical order): Alex Wilson, Alicia Noel, Ariel Mann, Artem Zholus, Betty Peng, Carl Elkin, Christina Ranalli, Christopher Schmidt, Christopher Van Arsdale, Courtney Maimon, Dana Kurnaiwan, Hedva Uriel, Jenna Hussein, Jordan Raisher, Juliet Rothenberg, Lisa Lovallo Ceppos, Marisa Leung, Mike Tavendale, Nobal Preet Singh, Paul Moniuszko, Peleg Amon, Rajroshan Sawhney, Revati Thatte, Ross Goroshin, Saleem Van Groenou, Sritoma Bhattacharjee, Tuvia Alon, Umangi Jain, Varun Gulshan and Vishal Batchu.