Abstract
Urban rooftop photovoltaics (URPV) are crucial for decarbonizing China’s building sector, yet large-scale assessment remains limited by difficulties in rooftop extraction, cross-city generalization, and linkage to forward-looking decarbonization strategies. This study developed an AI-integrated framework combining semantic segmentation, interpretable machine learning, and scenario simulation to support spatially explicit URPV planning across 690 Chinese cities. A Transformer-based model (Mask2Former) extracted rooftop areas from high-resolution imagery in 149 representative cities (mIoU = 86.6%), and a Random Forest model trained on nine socioeconomic indicators extrapolated rooftop availability to the remaining 541 cities. SHAP analysis identified total nighttime light and permanent population as the dominant predictors. The estimated national rooftop area reaches 113,264.86 km2. Under a baseline scenario (conversion factor = 0.35; PV efficiency = 0.20), the URPV carbon mitigation potential reaches 6155.80 MtCO2, equivalent to 48.9% of China’s energy-related CO2 emissions in 2023 and 1.21 times the 2021 whole-process carbon emissions of China’s building sector. Clustering identified four urban typologies—resource-rich, balanced-development, high-potential, and low-potential—supporting differentiated deployment. Accounting for urban expansion and power-mix transition, projections suggest sustained mitigation of 4700–4910 MtCO2 by 2030 under the Announced Pledges Scenario. This interpretable, data-driven framework offers scalable decision support for urban renewable energy planning and the low-carbon transformation of the built environment.
1. Introduction
Climate change is one of the most important global issues [1]. To achieve the Paris Agreement’s goal of limiting global temperature rise to well below 2 °C, preferably to 1.5 °C, the global energy system must undergo rapid and deep decarbonization [2]. The building sector is recognized as a key contributor to global energy consumption and CO2 emissions, accounting for approximately 40% and 28%, respectively [3]. With continued population growth and economic expansion, building energy demand is projected to grow at an annual rate of 1.3% between 2018 and 2050 [4]. Solar photovoltaic (PV) systems have emerged as an effective pathway for decarbonizing the building sector [5]. China, home to the world’s largest building stock, has an estimated 65–75 billion m2 of urban building area, with an additional 3–4 billion m2 added annually [6]. This vast building stock, coupled with abundant rooftop resources, positions urban areas as ideal candidates for large-scale PV deployment [7]. However, the development of distributed PV (DPV) systems in China remains in its infancy: based on a comparison between the estimated rooftop PV potential and the national cumulative installed DPV capacity in 2018, most Chinese cities were found to have exploited less than 1% of their potential [8]. The evaluation of solar energy potential in urban buildings is a crucial step in ensuring the large-scale construction of building PV systems [9].
China’s policy framework now combines national decarbonization objectives with project-level regulation. The Action Plan for Carbon Dioxide Peaking Before 2030 promotes the integration of photovoltaic systems into buildings, while the 2025 administrative measures for distributed PV further clarify project classification, filing, grid connection, and operational management [10,11]. At the European level, the revised Renewable Energy Directive establishes a binding renewable-energy target of 42.5% by 2030, while the recast Energy Performance of Buildings Directive promotes rooftop solar deployment and solar-ready buildings [12,13]. Similar instruments are spreading across other major economies—such as the U.S. federal Investment Tax Credit [14], California’s solar mandate for new homes [15], Tokyo’s rooftop-PV obligation for new residential buildings from 2025 [16], and India’s PM Surya Ghar rooftop program [17]. These policies highlight the practical need for scalable rooftop-resource assessment to support spatial planning, grid integration, and differentiated urban deployment.
Accurately estimating urban rooftop photovoltaic (URPV) potential requires quantification of available rooftop areas that receive sufficient solar radiation [18]. Early-stage assessments relied heavily on sampling-based approaches, which estimated rooftop areas in localized zones and extrapolated the findings to broader regions [19]. A geographic sampling-based methodology was initially proposed to quantify available rooftop surfaces, laying the foundation for large-scale urban PV assessments [20]. Subsequent studies assessed city-scale rooftop PV potential by integrating national household statistics with satellite image sampling, enabling more comprehensive estimations at the urban level [21]. While these methods are cost-effective, they suffer from a strong dependence on empirical assumptions [22], which limits their scalability and accuracy.
Technological advances such as light detection and ranging (LiDAR) and geographic information systems (GIS) have significantly improved the precision of rooftop PV assessments [23,24]. A combination of support vector regression and GIS has been used to estimate photovoltaic power generation on building rooftops in Switzerland [25]. GIS software and aerial orthophotos have also been applied to calculate total rooftop areas at the national level [26]. Furthermore, statistical methods integrated with GIS have been employed to evaluate the technical potential of residential rooftop PV systems at the municipal scale in Germany [27]. However, GIS modeling is often labor-intensive and time-consuming, while LiDAR suffers from high acquisition costs and limited data availability, hindering large-scale applications.
Recently, machine learning (ML) techniques have been applied to enhance the automation and scalability of PV potential assessments. In Europe, high-resolution geospatial data integrated with statistical and ML models have been used to quantify rooftop PV potential across the building stock [28]. In China, ML models utilizing socioeconomic and spatial indicators have enabled fine-resolution, national-scale analyses [8,29]. Similar approaches have been applied in the Middle East, employing support vector machines to extract rooftop features from satellite imagery [30]. Despite their promise, existing approaches still face limitations in terms of regional adaptability, data acquisition costs, and the integration of multidimensional influencing factors.
With the rapid development of deep learning, semantic segmentation is increasingly being applied by researchers to extract rooftop areas [31,32,33]. Various convolutional neural networks (CNNs), such as U-Net [34], DeepLabV3+ [18], and Mask R-CNN [35], have been adopted to segment rooftop areas from high-resolution satellite or aerial imagery, enabling detailed 2D building model construction. To further improve semantic segmentation performance and regional adaptability, attention mechanisms, multi-source data fusion, and innovative architectures such as the Segment Anything Model (SAM) [36] and MANet [37] have also been introduced. These approaches have been applied to extract rooftop geometries, estimate PV installation potential, and analyze carbon reduction benefits in diverse urban contexts such as Wuhan, Shanghai, and Beijing. However, most segmentation-based studies are concentrated on single cities or specific regions, lacking generalizability and limiting their applicability as references for other cities. Meanwhile, existing nationwide assessments have typically extrapolated rooftop areas from a limited set of geospatial indicators calibrated on prefecture-level city samples, leaving county-level cities—where rooftop data are scarcest—largely uncovered, and the contributions of socioeconomic drivers to rooftop distribution are rarely quantified in an interpretable manner. These issues are especially acute in small and medium-sized cities, where rooftop data remain scarce and extraction methods are costly and inefficient. There is a pressing need for a standardized, automated, and scalable methodology to extract rooftop areas and quantify PV mitigation potential across cities.
To address these challenges, we developed a nationwide, data-driven, and interpretable assessment framework that integrates high-resolution remote sensing, Transformer-based semantic segmentation, and SHAP-enhanced machine learning to support large-scale rooftop area mapping and photovoltaic carbon mitigation analysis across 690 Chinese cities (296 prefecture-level and 394 county-level cities). The framework quantifies rooftop availability, simulates future scenarios under land expansion and energy transition pathways, and identifies spatial heterogeneity in mitigation potential using clustering analysis. This study aims to provide a scalable and scientifically grounded tool for building-scale photovoltaic planning and city-scale carbon mitigation, offering methodological support for low-carbon transitions in the built environment and aligning with China’s 2030 carbon peaking targets and global sustainability goals.
2. Methodology
The research framework and workflow for assessing the carbon mitigation potential of URPV in China are illustrated in Figure 1. The research is structured into four key phases: Semantic Segmentation Phase (Section 2.1): Utilizing multi-source remote sensing imagery, a semantic segmentation model was developed and trained to extract rooftop areas across 149 cities. Regression Prediction Phase (Section 2.2): By integrating socioeconomic and environmental indicators, a machine learning regression model was constructed to extrapolate rooftop areas for 541 cities. Potential Assessment Phase (Section 2.3): Based on the estimated rooftop areas, the URPV system’s installed capacity, electricity generation, and carbon mitigation potential were quantified. Future Potential Projection Phase (Section 2.4): A scenario analysis approach was employed to account for dynamic changes in multiple influencing factors, enabling the projection of long-term carbon mitigation trends of URPV systems.
Figure 1.
The research framework and workflow diagram for assessing the carbon mitigation potential of URPV.
2.1. Semantic Segmentation-Based Rooftop Extraction
Currently, semantic segmentation methods are primarily categorized into two mainstream paradigms: convolutional neural network (CNN)-based and Transformer-based approaches. Early research predominantly followed the fully convolutional network (FCN) architecture, emphasizing the aggregation of long-range contextual information within feature maps. This led to the development of several classical CNN-based models, including Fast-SCNN [38], U-Net [39], DeepLabV3+ [40], and PSPNet [41]. With the advent of transformer architectures, models such as SegFormer [42], KNet [43], and Mask2Former [44] are replacing traditional CNN backbones. These Transformer-based approaches efficiently capture global contextual dependencies and are increasingly becoming the prevailing direction in semantic segmentation research.
Therefore, this study employed the Mask2Former model, which integrates global context feature extraction with high-precision segmentation to perform semantic segmentation of building rooftops in remote sensing (RS) imagery. The model architecture consists of two main components: an encoder and a decoder (Figure 2). The encoder utilizes multi-layer transformer modules to capture global contextual information from the input images, enabling rich semantic representation learning. The decoder employs both self-attention and cross-attention mechanisms to interact with a set of learnable mask queries, thereby achieving accurate and fine-grained segmentation of building rooftop areas.
Figure 2.
Schematic diagram of the Mask2Former model architecture.
The Mask2Former further integrates multi-scale feature maps generated by the pixel decoder with the decoder queries, effectively combining mask and class information to produce the final segmentation outputs. The attention mechanism is mathematically formulated as shown in Equation (1).
where Q, K, and V denote the query, key, and value matrices, respectively, and dk is the dimension of the keys.
Figure 3 illustrates the overall workflow for model training and testing, comprising five core modules: (1) Data Loading Module: The dataset is split into a training set (80%) and a test set (20%), and then loaded into the model. (2) Neural Network Module: Implements the semantic segmentation algorithm to accurately identify target regions in images. (3) Loss Function Module: Compares model predictions with ground truth labels to automatically adjust network weights and improve segmentation accuracy. (4) Training Module: Performs iterative optimization on the training set to update network weights and parameters for precise segmentation. (5) Testing Module: Uses the best-trained model weights to evaluate segmentation performance on the test set.
Figure 3.
Semantic segmentation model training and testing workflow.
Specifically, the annotated dataset comprised 7260 image tiles from 149 representative cities and was randomly split into 80% for training and 20% for testing. The Mask2Former model was implemented in PyTorch 2.1.1 using the MMSegmentation framework with a Swin-Large backbone pre-trained on ImageNet-22K, and was trained for 30,000 iterations with a batch size of 4 on 512 × 512 crops, using the AdamW optimizer with an initial learning rate of 0.0001 and a polynomial decay schedule. Data augmentation included random resizing, cropping, horizontal flipping, and photometric distortion.
The evaluation metrics include average accuracy (aAcc), mean intersection over union (mIoU), mean precision (mPrecision), mean recall (mRecall), and mean F1-score (mF1-score). Their respective definitions are provided in Equations (2)–(6).
where N denotes the number of classes, and TPi, FPi, and FNi represent the true positives, false positives, and false negatives for class i, respectively. Among these metrics, mIoU and mF1-score are widely used to assess the consistency between model predictions and ground truth annotations. All metric values range between 0 and 1 (or equivalently, 0% to 100%), with higher values indicating better agreement between the predicted segmentation and the reference data.
2.2. Explainable Machine Learning Models
This paper systematically constructed and trained four models—Random Forest (RF) [45], Gradient Boosting Regression (GBR) [46], Light Gradient Boosting Machine (LightGBM) [47], and eXtreme Gradient Boosting (XGBoost) [48]—to comprehensively evaluate their performance in predicting city-scale rooftop areas across China. All models were implemented and optimized in a Python 3.9 programming environment using the Scikit-learn library [49]. The modeling process consisted of the following four steps:
- (1)
- Data preparation: Feature processing was conducted on the rooftop area and related variable data for the 149 cities with directly extracted rooftops. Each city contributed a single record, and every data split was defined at the city level.
- (2)
- Model training and optimization: The RF, GBR, LightGBM, and XGBoost models were constructed on the training cities of each fold, with hyperparameters optimized by a grid search nested inside that training fold, so that no information from a validation city entered model selection.
- (3)
- Model evaluation: Model performance was evaluated by repeated five-fold city-level cross-validation (three repeats) using the coefficient of determination (R2), root mean squared error (RMSE), mean absolute error (MAE), and mean squared error (MSE), all computed from the out-of-fold predictions. The model with the lowest repeated out-of-fold RMSE was selected, refitted on all 149 cities, and used to predict the remaining 541 cities. The corresponding formulas are provided in Equations (7)–(10).
- (4)
- Prediction of new data: The trained models were used to predict rooftop areas in new cities, with final predictions calculated by integrating the output of decision trees.
To further interpret the model outputs and quantify the contributions of each input feature, this study employed the Shapley Additive exPlanations (SHAP) method. Proposed by Lundberg and Lee, SHAP is based on cooperative game theory and provides a unified approach for explaining the predictions of complex machine learning models, including both classification and regression tasks [50]. It is particularly effective for interpreting the behavior of “black-box” models by assigning each feature an importance value for a particular prediction.
2.3. Estimation of URPV Carbon Mitigation Potential
Given the numerous sources of uncertainty in assessing the carbon mitigation potential of urban rooftop photovoltaics (URPV), main technical parameters were assumed to reduce estimation variability. To comprehensively evaluate the effects of parameter uncertainties, three sets of combined parameters were constructed: (0.25/0.18), (0.35/0.20), and (0.45/0.22), referring to technical parameters proposed in previous studies [51,52], respectively. The combination of a rooftop conversion factor of 0.35 and a PV conversion efficiency of 0.20 was selected as the baseline scenario. In addition, high-resolution, satellite-derived surface solar radiation data with a spatial resolution of 10 km were used to accurately quantify the solar energy potential of urban rooftops [53]. Specifically, the conversion factor of rooftop availability accounts in aggregate for the potential impacts of building social function, geometric typology, slope and orientation, structural quality, economic cost, and shading and physical obstacles. The key technical parameters and data inputs are summarized in Table 1.
Table 1.
Key technical parameters and data inputs for the URPV potential assessment.
2.3.1. Installed PV Capacity Estimation
The potential installed capacity Pinstall is calculated using Equation (11) as follows:
where PR is the rated power of the PV panel per unit area (W/m2), typically assumed to be 200 W/m2, and CRA is the conversion factor for calculating the available rooftop area for PV installation. Aroof is the rooftop area (km2), as shown in the following equation:
where Npx is the number of extracted rooftop pixels, Apx is the area represented by each pixel (m2/pixel), which is equal to the square of the spatial resolution of the image, such as 2.239 m × 2.239 m = 5.01 m2/pixel; Rx and Ry represent the spatial resolution of remote sensing images (m).
2.3.2. Annual Electricity Generation Potential
The annual electricity generation potential of the URPV system, denoted as Pannual (TWh), is calculated as follows:
where ηPV is the photoelectric conversion efficiency of the PV modules, ηsys is the efficiency of the PV system, including inverter, cable, and temperature losses, and is assumed to be 80% [54], and Hsolar is the rooftop solar potential (kWh/m2/year), calculated for each city as the zonal average of the 10 km radiation grid cells within its administrative boundary [53].
2.3.3. Annual Carbon Mitigation Potential
In this study, only the operational stage of URPV systems was considered. Other life cycle stages such as manufacturing, transportation, installation, and decommissioning were excluded, as the life-cycle emissions of PV systems are significantly lower than the emissions avoided during operation. To estimate the carbon mitigation potential of URPV systems, the baseline emission factor of China’s power grid was adopted, which consists of the operating margin (OM) and build margin (BM). The OM reflects emissions from existing power plants, while the BM reflects emissions from newly built plants. The combined margin (CM) factor, EFgrid,CM,y is calculated as a weighted average of OM and BM, as shown in the following equation:
where EFgrid,OM,y and EFgrid,BM,y represent the emission factors for OM and BM, respectively. The weights were set to 0.75 and 0.25 [55], respectively.
Finally, the total carbon mitigation potential Cmitigation of the URPV system was computed as:
where Cmitigation is the annual carbon mitigation potential of rooftop PV (Mt), EFPV is the grid carbon emission factor applied to each city (gCO2/kWh), and Ppower is the annual electricity generation of PV (TWh).
2.3.4. Clustering Analysis for Location Conditions
To investigate spatial heterogeneity in URPV carbon mitigation potential, six main location-specific variables were selected: rooftop area, annual solar irradiation, grid emission factor, and estimated carbon mitigation volumes under three combined scenarios of rooftop conversion factor and PV efficiency (0.25/0.18, 0.35/0.20, and 0.45/0.22). Based on these indicators, the K-means++ clustering algorithm was employed to classify the 690 cities into distinct groups.
The K-means++ algorithm improves upon the standard K-means algorithm by optimizing the selection of initial cluster centers to enhance convergence and accuracy [56]. The initialization process proceeds as follows:
- Randomly select one data point as the first cluster center.
- (5)
- For each remaining data point x, compute the squared distance D(x)2 to its nearest selected center. Select the next center from the remaining points using a probability distribution proportional to D(x)2.
- (6)
- Repeat step (2) until k initial centers are chosen.
- (7)
- After initialization, the standard K-means algorithm is applied:
- (8)
- Assign each data point to its nearest cluster center.
- (9)
- Recalculate each center as the mean of all points within the cluster.
- (10)
- Repeat steps (4) and (5) until the cluster centers converge.
The number of clusters was set to four. Over k = 2–8, the silhouette coefficient shows no pronounced optimum apart from the two-group split (0.33–0.39 for k = 3–8); the four-cluster solution is stable across random initializations (adjusted Rand index ≥ 0.97); and larger values of k subdivide the four groups without altering the overall structure. A value of k = 4, therefore, provides the most parsimonious partition that preserves the four planning-interpretable city types.
2.4. Scenario Analysis
This study focused on two key factors influencing the development of derived scenarios: urban land expansion and the transformation of the power structure. It examined their potential impact on achieving China’s 2030 carbon peaking target. In China, building design and urban planning follow established national guidelines, with strict regulatory measures ensuring structural compactness. Moreover, in most existing studies, the ratio of building rooftop area to built-up area ranges from 0.15 to 0.30 [57]. Using this ratio, the study projected future rooftop space trends up to 2030—the target year for China’s carbon emissions peak—under the assumption that current regulations remain unchanged.
Furthermore, according to the findings of Chen, China’s urban land expansion rate is expected to range between 9% and 14% [58] from 2020 to 2030. To provide a more accurate assessment of the future development of URPV systems and their contribution to China’s carbon neutrality goals, two urban land expansion scenarios—low-speed and high-speed—were established. Additionally, the carbon mitigation potential of URPV systems is influenced by the ongoing transition in China’s power sector. As the country shifts towards greener and lower-carbon energy practices, the role of URPV systems in carbon reduction is expected to evolve.
According to the China energy sector carbon neutrality roadmap [59], the carbon intensity of the power sector has been decreasing at an average annual rate of 1%. However, under the carbon neutrality framework, this rate is projected to increase to 3% from 2020 onward. Based on this, two scenarios were developed—the Announced Pledges Scenario (APS) and the Stated Policies Scenario (STEPS)—to evaluate the role of URPV systems in the energy transition. Table 2 explains the setup details and significance of each scenario.
Table 2.
Scenario settings details.
2.5. Study Area and Data
This paper is based on the administrative divisions of Chinese cities (Figure 4), covering 4 municipalities (Beijing, Tianjin, Shanghai, Chongqing), 15 sub-provincial cities, 277 prefecture-level cities (a total of 296 prefecture-level cities), and 394 county-level cities, encompassing a total of 690 Chinese cities. Due to the lack of baseline emission factors for Hong Kong, Macau, and Taiwan, as well as missing data for Sansha city, these regions were excluded from the scope of this study.
Figure 4.
Study area of rooftop research in Chinese cities. (A) the 296 prefecture-level cities (including municipalities and sub-provincial cities); (B) the 394 county-level cities.
The training data for the semantic segmentation model in this study were derived from a sample set built by combining typical building examples from Chinese cities with high-resolution remote sensing imagery [60]. The actual rooftop area extraction used Google ortho-rectified imagery with a resolution of 2.239 m/pixel, covering 149 selected cities—subject to the availability of high-resolution imagery and complete socioeconomic records—to span the five building climate zones, the eastern, central, western, and northeastern regions, both prefecture-level and county-level administrative tiers, and a wide gradient of economic development.
Because imagery availability precluded random selection, the 149 cities constitute a stratified purposive sample rather than a probability sample. Its representativeness was therefore verified against the 690 target cities: chi-square goodness-of-fit tests show no significant departure from proportional allocation in administrative tier (p = 0.40), geographic region (p = 0.89) or building climate zone (p = 0.76), and for each of the nine socioeconomic predictors 98.1–99.9% of the target cities fall within the range spanned by the sample, with 95.8% falling within it on all nine simultaneously. The full sampling procedure and verification are given in Supplementary Materials File S1.
For the regression model, nine variables (carbon emissions, regional GDP, permanent population, population density, urban area, built-up area, urban construction land area, total nighttime light, and mean nighttime light) were selected as explanatory variables to predict rooftop areas. The sources and explanations of these variables are provided in Table 3.
Table 3.
Data sources for regression-based predictions.
3. Results and Discussion
3.1. Rooftop Extraction Results
3.1.1. Semantic Segmentation Model Selection and Validation
This paper evaluated seven mainstream semantic segmentation models (Table 4) using a high-resolution RS image dataset from typical cities in China. All seven models were implemented in the MMSegmentation framework and trained under an identical protocol—the same 80%/20% split of the 7260 annotated tiles, the same 512 × 512 input crops, a batch size of 4, and 30,000 training iterations—so that their performance is directly comparable in Table 4. The results show that CNN-based models, such as Fast-SCNN and U-Net, exhibit weaker segmentation performance, with average accuracy (aAcc) around 90% and mean intersection over union (mIoU) around 75%. These models are suitable for scenarios with limited computational resources. DeepLabV3+ and PSPNet offer higher precision, with aAcc exceeding 93% and mIoU exceeding 80%. PSPNet achieves an mF1-score of 90.52%. Transformer-based models, including KNet, SegFormer, and Mask2Former, perform excellently, with aAcc of approximately 95% and mIoU exceeding 85%. Among them, Mask2Former achieves the highest mIoU of 86.60% and an aAcc of 95.36%, demonstrating the best segmentation performance. At the class level, the rooftop class achieves an IoU of 78.8%, a precision of 88.6%, and a recall of 87.7% on the test set, corresponding to approximately 11.4% false detections among predicted rooftop pixels and 12.3% missed detections among reference rooftop pixels, concentrated along rooftop boundaries and over small, fragmented, or shadowed roofs; as the two error types largely offset each other, the total extracted rooftop area is only slightly underestimated, by about 1.0%.
Table 4.
Performance comparison of semantic segmentation models on the dataset.
To visually compare the segmentation performance of different models in various urban environments, this research selected five representative scenarios: low-rise residential areas, industrial zones, mixed-use areas, high-rise building zones, and densely built-up areas (Figure 5). The results show that Mask2Former consistently achieves outstanding segmentation accuracy and boundary recognition across all scenarios, particularly excelling in noisy environments such as mixed-use areas and high-rise building zones. In contrast, U-Net tends to exhibit blurred boundaries in industrial zones and densely built-up areas. Fast-SCNN, DeepLabV3+, and PSPNet often encounter under-segmentation or mis-segmentation issues in high-rise and densely built-up areas. KNet and SegFormer demonstrate good edge detection capabilities in most scenarios but are less effective in capturing fine details in mixed-use areas. Considering the overall performance of the models, Mask2Former was ultimately selected as the semantic segmentation model for extracting building rooftop areas.
Figure 5.
Visualization of segmentation results across different urban scenarios.
3.1.2. The Mask2Former Model Extraction Results
Using the Mask2Former model, this study integrated multi-source heterogeneous remote sensing (RS) data to analyze 149 diverse and representative cities across China, spanning different climate zones, geographic regions, and economic development levels. Google ortho-rectified imagery with a spatial resolution of 2.239 m/pixel was used to enable accurate extraction of urban building rooftop areas, resulting in a total rooftop area of approximately 32,788.10 km2 across the 149 cities (Figure 6).
Figure 6.
Rooftop area extraction using the Mask2Former model. (A) the 69 prefecture-level cities; (B) the 80 county-level cities.
As shown in Figure 6A, the 69 prefecture-level cities have an average rooftop area of 415.29 km2. Chongqing ranks highest with 1180.39 km2, followed by Beijing (1038.60 km2), Shanghai (949.32 km2), and Chengdu (919.52 km2). In contrast, smaller cities such as Ya’an (77.45 km2) and Baishan (82.42 km2) exhibit significantly lower rooftop areas. Figure 6B presents the results for 80 county-level cities, with an average rooftop area of 51.66 km2. Jiangyin has the largest rooftop area at 214.24 km2, followed by Qingzhou (168.55 km2) and Zhuanghe (128.29 km2). In comparison, cities such as Lechang (2.20 km2) and Wuzhishan (6.29 km2) have notably smaller rooftop areas.
3.2. Interpretable Machine Learning-Based Prediction of Rooftop Areas
3.2.1. Model Selection and Interpretation
For the regression model, nine variables were selected as explanatory variables to predict rooftop areas (Table 3). The four candidate models were compared under an identical leakage-free protocol in which the 149 original cities were split at the city level, so that every validation city was withheld from both model fitting and hyperparameter selection (Figure 7). Evaluated on the repeated out-of-fold predictions, the RF model attains the lowest RMSE (94.25 km2) and the highest R2 (0.8663), followed by XGBoost (RMSE 96.72 km2, R2 0.8592) and GBR (RMSE 96.92 km2, R2 0.8586), while LightGBM performs least well (RMSE 106.27 km2, R2 0.8300). The MAE values of RF, XGBoost, and GBR are close (58.87, 58.65, and 59.33 km2), so the ranking is governed mainly by the large errors that RMSE penalizes. Therefore, in accordance with the prespecified criterion of minimizing the out-of-fold RMSE, the RF model was selected as the final model.
Figure 7.
Out-of-fold performance of the four candidate models under leakage-free city-level cross-validation. (A) MAE; (B) MSE; (C) R2; (D) RMSE.
To enhance the transparency and interpretability of the selected RF model, SHAP analysis was employed on the 149 original cities. Among the nine input variables, total nighttime light exhibits the highest contribution (importance = 0.56), highlighting its close association with urban building intensity and spatial structure. Permanent population ranks second (0.28), followed by carbon emissions (0.05) and GDP (0.04), reflecting the dual impact of demographic and morphological factors on rooftop availability (Figure 8). Because the nine indicators are strongly intercorrelated, SHAP values reflect each variable’s marginal contribution given the others: total nighttime light integrates much of the information carried by other scale-related indicators such as GDP and built-up area, so their individual marginal contributions appear small even though each is closely associated with rooftop area. Permutation-importance and reduced-model tests confirm the dominant role of total nighttime light. These findings provide explainable insights into how socioeconomic and spatial factors shape rooftop distribution, offering a data-grounded basis for tailored urban PV planning across diverse city types.
Figure 8.
Global feature importance of the RF-SHAP model. (A) SHAP summary plot of the nine input variables, with colour indicating the normalised feature value; (B) mean feature importance of each variable.
3.2.2. Extrapolation of Rooftop Area
Based on the evaluation results of the above model, the RF model achieves the best out-of-fold performance among the four candidates and proves to be an effective tool for urban rooftop area estimation. This paper analyzes the distribution characteristics and differences in rooftop areas across Chinese prefecture-level and county-level cities. As shown in Figure 9, the total rooftop area of prefecture-level cities amounts to 90,389.05 km2, accounting for 79.80% of the national total, significantly higher than the 22,875.81 km2 (20.20%) in county-level cities.
Figure 9.
Comparison of urban rooftop areas across provinces. (A) Total rooftop area of prefecture-level and county-level cities in each province; (B) shares of prefecture-level and county-level cities in the national rooftop area.
At the provincial level, the provinces with the largest rooftop areas in prefecture-level cities include Shandong (7259.04 km2), Guangdong (6984.62 km2), and Henan (6655.78 km2), reflecting their larger building scales and higher urbanization levels. For county-level cities, the provinces with the largest rooftop areas are also concentrated in economically developed coastal regions, such as Shandong (2248.62 km2), Jiangsu (2218.86 km2), and Zhejiang (1788.39 km2). In summary, prefecture-level cities dominate rooftop area distribution, with their extensive building clusters offering significant potential for applications such as PV deployment. Although county-level cities have smaller overall rooftop areas, they exhibit notable concentration and development potential in economically advanced coastal regions.
3.3. Assessment of Current URPV Carbon Mitigation Potential
Under a conservative baseline scenario, assuming a rooftop conversion factor of 0.35 and a PV efficiency of 0.20, the total usable rooftop area across 690 Chinese cities is estimated at 39,642.70 km2. This capacity supports up to 7928.54 GW of PV installation, corresponding to 8703.35 TWh of electricity and a carbon mitigation potential of 6155.80 MtCO2. Across the three parameter combinations of rooftop conversion factor and PV efficiency (0.25/0.18, 0.35/0.20, and 0.45/0.22), the corresponding national mitigation potential ranges from 3957.30 to 8706.05 Mt; the baseline value therefore represents the central estimate of this range. This mitigation potential is equivalent to approximately 48.9% of China’s energy-related CO2 emissions in 2023 reported by the IEA [65] and approximately 1.21 times the 2021 whole-process carbon emissions of the building sector (covering building materials production, construction, and building operation) reported by the China Building Energy Efficiency Association [66]. Compared with the most recent nationwide assessment, which reported a mitigation potential of approximately 4000 MtCO2 for 354 prefecture-level cities based on a rooftop area of 65,962 km2 [8], the estimate of this study is approximately 54% higher. This difference mainly reflects the larger rooftop base identified here—113,264.86 km2 across 690 cities, including 394 county-level cities not covered in previous nationwide assessments.
3.3.1. Province-Level Baseline Estimation of URPV Potential
At the provincial level, significant heterogeneity in rooftop PV potential is observed (Figure 10; see Table S3 in Supplementary Materials File S2 for detailed values). In particular, eastern, central, and western provinces differ substantially in their urban development patterns, resource endowments, and socioeconomic characteristics, shaping region-specific deployment pathways. The provincial estimates span more than an order of magnitude across all four indicators, with Shandong, Guangdong, and Jiangsu accounting for the largest totals owing to their extensive building stocks. Notably, several northwestern provinces attain mitigation potentials disproportionately high relative to their rooftop areas, reflecting superior solar irradiation and higher grid emission factors. The parameter ranges indicate that the provincial ranking remains stable across parameter assumptions, whereas the absolute magnitudes vary by a factor of approximately 2.2.
Figure 10.
Provincial URPV carbon mitigation potential.
In Figure 10, the provinces are ordered by their baseline mitigation potential, and the four panels share this ordering so that a province’s relative position can be compared across indicators. Shandong ranks first on all four indicators—3327.68 km2 of usable rooftop area, 665.54 GW of installed capacity, and 592.45 MtCO2 of annual mitigation, the highest among all provinces—followed by a group of populous provinces, Henan, Guangdong, Hebei, and Jiangsu, each mitigating more than 400 MtCO2 annually. At the lower end, the four municipalities and several small or plateau provinces, such as Hainan and Qinghai, form a compressed tail across all panels. Comparing positions across panels further reveals systematic deviations: provinces such as Inner Mongolia, Gansu, and Xinjiang sit visibly higher in the carbon-mitigation panel (D) than in the rooftop-area panel (A), reflecting superior solar irradiation and higher grid emission factors, whereas hydropower-rich southwestern provinces such as Sichuan and Chongqing drop markedly from panel A to panel D owing to their low grid emission factors.
Regionally, the Eastern provinces demonstrate the highest overall potential, driven by dense urbanization, mature infrastructure, and energy-intensive economies. For example, Shandong alone contributes over 8% of the national rooftop area (3327.68 km2), supporting 665.54 GW of installed capacity and mitigating 592.45 MtCO2—the highest among all provinces. Jiangsu and Guangdong exhibit similar profiles, each exceeding 400 MtCO2 in annual mitigation.
The central provinces offer moderate rooftop resources but show significant potential for accelerated PV deployment under the influence of rapid urbanization and supportive policies. Henan, in particular, with 2812.80 km2 of usable rooftop area, supports 562.56 GW of capacity and mitigates over 425 MtCO2 per year, highlighting its emerging role, especially at the county level.
The Western provinces, although constrained by limited rooftop area, achieve the highest mitigation efficiency per unit area owing to excellent solar irradiance and higher grid emission factors. Inner Mongolia and Xinjiang, for instance, reach 0.195 and 0.204 MtCO2/km2, outperforming the national average and serving as strategic regions for decentralized high-efficiency PV systems.
The municipalities such as Beijing and Shanghai reflect the effect of advanced policy interventions. Despite spatial limitations, they still deliver substantial absolute mitigation volumes (e.g., 62.37 MtCO2 in Beijing), largely attributed to concentrated energy demand and integrated urban energy planning.
In summary, while eastern provinces dominate in total volume, central and western regions exhibit high deployment potential and efficiency, respectively. Tailored rooftop PV strategies that align with local urban form, emission intensity, and planning capacity are essential for maximizing regional carbon mitigation benefits.
3.3.2. City-Scale Estimation Under Baseline Scenario
To explore intra-urban heterogeneity in rooftop PV carbon mitigation potential, a K-means++ clustering analysis was conducted across 690 Chinese cities. Six input features were selected: rooftop area, annual solar irradiation, grid emission factor, and estimated carbon mitigation volumes under three combined scenarios of rooftop conversion factor and PV efficiency—(0.25/0.18), (0.35/0.20), and (0.45/0.22). Based on these variables, cities were classified into four distinct clusters: resource-rich, balanced-development, high-potential, and low-potential cities, each representing distinct spatial configurations and technical feasibility levels (Figure 11).
Figure 11.
Clustering analysis of URPV carbon mitigation potential. (A) City clusters plotted by rooftop area and solar irradiation, with reference thresholds; (B–D) rooftop area versus carbon mitigation potential under the (0.25/0.18), (0.35/0.20) and (0.45/0.22) scenarios, respectively; (E) spatial distribution of the four city clusters.
Figure 11A illustrates the spatial distribution of clustered cities based on rooftop area and solar radiation. In Figure 11A, cities are plotted using rooftop area (x-axis) and solar radiation (y-axis), with vertical (Q1/Q3) and horizontal (1500/2000 kWh/m2) dashed lines serving as descriptive reference thresholds (Q1/Q3: the lower and upper quartiles of rooftop area; 1500/2000 kWh/m2: round reference values near the upper quantiles of the radiation distribution); the city typology is determined by the K-means++ clustering. Resource-rich cities (green) cluster in the upper-right quadrant, indicating large rooftop areas and moderate-to-high solar irradiance. High-potential cities (purple) are located in the upper-left quadrant, characterized by strong irradiance despite smaller rooftop footprints. Low-potential cities (orange) remain concentrated in the lower-left quadrant with limitations in both dimensions.
Figure 11B–D depict the relationships between rooftop area and estimated carbon mitigation potential under three deployment scenarios—(0.25/0.18), (0.35/0.20), and (0.45/0.22), respectively. A strong positive trend is observed in all scenarios. Resource-rich cities consistently exhibit the highest absolute mitigation volumes, while high-potential cities demonstrate greater carbon mitigation efficiency per unit rooftop area. These trends highlight the importance of adopting differentiated, city-type-specific PV deployment strategies that account for both spatial resource endowments and technical potential.
The study used a rooftop conversion factor of 0.35 and a PV conversion efficiency of 0.20 as the baseline scenario and found significant spatial differences in the photovoltaic development potential and carbon mitigation potential across different city types (Figure 11E):
Cluster 0: High-potential cities (purple region): These cities possess moderate rooftop resources and favorable solar radiation conditions. Although their total rooftop area may be smaller than resource-rich cities, their per-unit carbon mitigation efficiency is about 24% higher. Examples include Lhasa, Yinchuan, and Urumqi. These cities contribute about 10% of national carbon mitigation and are suitable for building-integrated PV (BIPV) and integrated green urban renewal initiatives.
Cluster 1: Balanced-development cities (pink region): Characterized by moderate to large rooftop areas and balanced solar resources, these cities exhibit stable deployment potential. Hengshui, Tai’an, and Pingdingshan are key examples. Contributing about 37% to the national total, these cities are ideal candidates for county-level PV promotion, grid efficiency enhancement, and policy-supported rollouts.
Cluster 2: Resource-rich cities (green region): Cities like Beijing, Tianjin, and Chengdu fall into this category, with abundant rooftop areas and excellent solar exposure. They contribute about 51% of total national carbon mitigation. These cities are well-suited for immediate large-scale distributed PV deployment, especially in industrial or commercial zones.
Cluster 3: Low-potential cities (orange region): Despite having limited rooftop resources and suboptimal irradiance, cities like Zigong and Guanghan still play a role in diversifying energy supply. Although contributing about 2% of national mitigation, their flexible URPV systems support community-scale resilience and fill local energy supply gaps.
Taken together, these findings underscore the importance of tailored URPV strategies across spatial scales—prioritizing large-scale deployment in resource-rich regions, enabling efficient expansion in high-potential zones, and maintaining flexibility in low-potential areas to support distributed energy resilience.
3.4. Assessment of Future URPV Carbon Mitigation Potential
The scenario-based analysis demonstrates that both the pace of urban land expansion and the degree of power sector decarbonization play critical roles in shaping the rooftop PV carbon mitigation potential. To quantify these effects, this study evaluated the carbon mitigation potential of URPV systems under two dynamically designed policy scenarios: the Stated Policies Scenario (STEPS) and the Announced Pledges Scenario (APS). The projected changes under different combinations of urban expansion and energy transition are presented in Table 5.
Table 5.
Future changes in rooftop carbon mitigation potential under different urban land expansion and power mix transformation scenarios.
Under the STEPS scenario (10% emission factor reduction), high-speed urban expansion increases total mitigation potential to 6315.85 MtCO2 by 2030, a 3% gain compared to the 2020 baseline. Under the APS (30% reduction), total mitigation drops significantly to 4696.87–4912.33 MtCO2, representing a 20–24% decline. However, high-speed urban growth partially offsets this loss by expanding the total rooftop area base.
The two-factor analysis indicates that the projected URPV mitigation potential in 2030 is governed primarily by the pace of power-sector decarbonization. A larger assumed rooftop area raises the gross potential arithmetically but cannot reverse the decline driven by falling grid emission factors. These results describe the gross operational mitigation potential of URPV under exogenous urban-expansion assumptions; the embodied emissions, land consumption, and additional energy and resource demand associated with expansion lie outside the accounting boundary of this study. From a planning perspective, the findings highlight the value of coordinating rooftop PV deployment with power-sector decarbonization rather than relying on either factor alone.
The realized contribution of URPV will also depend on its interplay with other decarbonization measures. Beyond the substitution effect quantified above—which implies that earlier deployment yields larger climate benefits—URPV is complementary to building-efficiency retrofits and to the electrification of heating and transport on the demand side, while energy storage, demand response, and grid-capacity upgrading determine, on the system side, how much of the estimated gross potential can be realized. Integrated modeling of these couplings, together with competing low-carbon uses of the roofscape, remains an important direction for further work.
4. Conclusions
This study developed a nationwide, data-driven, and interpretable framework for assessing the carbon mitigation potential of urban rooftop photovoltaic (URPV) systems across 690 cities in China. Multi-source remote sensing data were integrated with the Mask2Former semantic segmentation model to extract rooftop areas in 149 representative cities, achieving a mean intersection over union (mIoU) of 86.6%. A SHAP-enhanced random forest model (RF-SHAP) was subsequently used to extrapolate rooftop areas to the remaining 541 cities, giving full coverage of 296 prefecture-level and 394 county-level cities. The model achieved an R2 of 0.8663 under leakage-free repeated city-level cross-validation, and the total urban rooftop area was estimated at 113,264.86 km2. Three combinations of rooftop conversion ratio and PV efficiency were then evaluated together with urban land-expansion and power-sector transformation scenarios, while K-means++ clustering was applied to characterize regional heterogeneity in URPV potential.
Nighttime light intensity was identified as the most influential predictor of urban rooftop area, reflecting the combined effects of urban form and socioeconomic activity. Under the baseline parameter combination, the estimated annual URPV carbon mitigation potential was 6155.80 MtCO2, or from 3957.30 to 8706.05 Mt across the three parameter combinations of rooftop conversion factor and PV efficiency (0.25/0.18, 0.35/0.20, and 0.45/0.22). Based on the emission inventories cited in this study, this value corresponds to approximately 48.9% of China’s energy-related CO2 emissions in 2023 and is approximately 1.21 times the 2021 whole-process carbon emissions of China’s building sector. The clustering analysis classified cities into resource-rich, balanced-development, high-potential, and low-potential types. These categories indicate that differentiated deployment strategies should respectively emphasize large-scale development, improvements in PV efficiency and grid coordination, building-integrated photovoltaic technologies, and distributed-system flexibility. Although continued power-sector decarbonization reduces the marginal mitigation benefit of URPV, the projected mitigation potential under the Announced Pledges Scenario remains approximately 4700–4910 MtCO2 in 2030.
The proposed framework provides a spatial and analytical basis for nationwide distributed-PV planning and differentiated urban deployment. In practice, the framework is best suited to early-stage screening and prioritization in strategic planning and target allocation—by national and provincial energy authorities, municipal and county planning departments, and grid companies—rather than to building-level engineering feasibility design. Nevertheless, the 2D extraction approach cannot resolve building-level details such as HVAC obstructions, complex roof geometries, slope, orientation, and local shading, which are represented only in aggregate by the rooftop conversion factor and may therefore lead to overestimation of the generation potential; in addition, the scenario analysis does not incorporate technological progress or policy costs. Moreover, large-scale URPV deployment will reshape the urban roofscape—the “fifth façade”—with architectural, landscape, and cultural implications, particularly in historic districts, where building-integrated or tile-mimicking modules may help reconcile mitigation with townscape preservation; a systematic assessment of these dimensions merits future interdisciplinary research. Future studies should incorporate LiDAR or three-dimensional building data to improve rooftop characterization and generation modeling, and further evaluate economic feasibility, policy incentives, and grid-integration constraints.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/buildings16183704/s1. File S1: Statistical representativeness of the 149 sample cities. Table S1: Composition of the 149 sample cities and the 690 target cities by stratum, with chi-square goodness-of-fit tests against proportional allocation; Table S2: Coverage of the predictor space and distributional balance between the 149 sample cities and the remaining 541 cities for the nine socioeconomic indicators; Figure S1: Representativeness of the 149 sample cities relative to the 690 target cities. Table S3: Provincial URPV carbon mitigation potential.
Author Contributions
L.W.: conceptualization, formal analysis, methodology, visualization, software, writing—original draft. Y.W.: funding acquisition, supervision, resources, writing—review & editing. Y.L.: investigation, conceptualization, project administration. C.S.: investigation, conceptualization. B.Z.: resources, data curation, validation. S.X.: data curation, validation. X.C.: resources, visualization. X.L.: resources, visualization. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Ove Arup & Partners Hong Kong Limited Foundation (Grant No. C23F00010).
Data Availability Statement
Data will be made available on request.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
| URPV | Urban Rooftop Photovoltaic |
| PV | Photovoltaic |
| DPV | Distributed Photovoltaic |
| ML | Machine Learning |
| SHAP | SHapley Additive exPlanations |
| RF | Random Forest |
| GBR | Gradient Boosting Regression |
| SVM | Support Vector Machine |
| LightGBM | Light Gradient Boosting Machine |
| XGBoost | eXtreme Gradient Boosting |
| Fast-SCNN | Fast Semantic Segmentation Network |
| U-Net | Convolutional Networks for Biomedical Image Segmentation |
| DeepLabV3+ | Encoder–Decoder with Atrous Separable Convolution for Semantic Image Segmentation |
| PSPNet | Pyramid Scene Parsing Network |
| KNet | Towards Unified Image Segmentation |
| SegFormer | Simple and Efficient Design for Semantic Segmentation with Transformers |
| Mask2Former | Masked-attention Mask Transformer for Universal Image Segmentation |
| OM | Operating Margin |
| BM | Build Margin |
| CM | Combined Margin |
| STEPS | Stated Policies Scenario |
| APS | Announced Pledges Scenario |
| RMSE | Root Mean Squared Error |
| MSE | Mean Squared Error |
| MAE | Mean Absolute Error |
| R2 | Coefficient of Determination |
References
- Tang, B.; Guo, Y.; Yu, B. Pathways for decarbonizing China’s building sector under global warming thresholds. Appl. Energy 2021, 298, 117213. [Google Scholar] [CrossRef] [Scilit]
- Rogelj, J.; Luderer, G.; Pietzcker, R. Energy system transformations for limiting end-of-century warming to below 1.5 °C. Nat. Clim. Change 2015, 5, 519–527. [Google Scholar] [CrossRef] [Scilit]
- Clarke, J.; Searle, J. Active building demonstrators for a low-carbon future. Nat. Energy 2021, 6, 1087–1089. [Google Scholar] [CrossRef] [Scilit]
- Pipattanasomporn, M.; Chitalia, G.; Songsiri, J. CU-BEMS, smart building electricity consumption and indoor environmental sensor datasets. Sci. Data 2020, 7, 241. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, Z.; Xiao, F.; Ran, Y. Scalable energy management approach of residential hybrid energy system using multi-agent deep reinforcement learning. Appl. Energy 2024, 367, 123414. [Google Scholar] [CrossRef] [Scilit]
- Tsinghua University Research Center for Building Energy Efficiency. Annual Development Report on Building Energy Efficiency in China 2020; China Architecture & Building Press: Beijing, China, 2020; pp. 1–5. [Google Scholar]
- Shi, M.; Lu, X.; Craig, M. Climate change will impact the value and optimal adoption of residential rooftop solar. Nat. Clim. Change 2024, 14, 482–489. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z.; Chen, M.; Zhong, T. Carbon mitigation potential afforded by rooftop photovoltaic in China. Nat. Commun. 2023, 14, 2347. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yu, Y.; Chou, J.; Xiao, Y. Classification of building complex for the large-scale construction of distributed photovoltaics in urban buildings. Energy Build. 2023, 300, 113677. [Google Scholar] [CrossRef] [Scilit]
- State Council of the People’s Republic of China. Action Plan for Carbon Dioxide Peaking Before 2030. Available online: https://app.www.gov.cn/govdata/gov/202110/26/477466/article.html (accessed on 27 August 2026).
- National Energy Administration of China. Administrative Measures for the Development and Construction of Distributed Photovoltaic Power Generation. Available online: https://www.nea.gov.cn/20250123/112c5b199c5f45dd8e7ac93c9f5e4eaf/c.html (accessed on 27 August 2026).
- European Parliament; Council of the European Union. Directive (EU) 2023/2413 of 18 October 2023 amending Directive (EU) 2018/2001 as regards the promotion of energy from renewable sources. Off. J. Eur. Union 2023, L 2023/2413. Available online: https://eur-lex.europa.eu/eli/dir/2023/2413/oj (accessed on 27 August 2026).
- European Parliament; Council of the European Union. Directive (EU) 2024/1275 of 24 April 2024 on the energy performance of buildings (recast). Off. J. Eur. Union. 2024, L 2024/1275. Available online: https://eur-lex.europa.eu/eli/dir/2024/1275/oj (accessed on 27 August 2026).
- U.S. Internal Revenue Service. Residential Clean Energy Credit. Available online: https://www.irs.gov/credits-deductions/residential-clean-energy-credit (accessed on 30 August 2026).
- California Energy Commission. 2019 Building Energy Efficiency Standards for Residential and Nonresidential Buildings (Title 24, Part 6); California Energy Commission: Sacramento, CA, USA, 2018. Available online: https://www.energy.ca.gov/programs-and-topics/programs/building-energy-efficiency-standards/2019-building-energy-efficiency (accessed on 30 August 2026).
- Tokyo Metropolitan Government; Bureau of Environment. Solar Power Installation Obligation for Newly Constructed Buildings (Solar Portal). Available online: https://www.kankyo.metro.tokyo.lg.jp/climate/solar_portal (accessed on 30 August 2026).
- Ministry of New and Renewable Energy; Government of India. Grid Connected Rooftop Solar Programme (PM Surya Ghar: Muft Bijli Yojana). Available online: https://mnre.gov.in/en/grid-connected-solar-rooftop-programme/ (accessed on 14 September 2026).
- Zhong, T.; Zhang, Z.; Chen, M. A city-scale estimation of rooftop solar photovoltaic potential based on deep learning. Appl. Energy 2021, 298, 117132. [Google Scholar] [CrossRef] [Scilit]
- Assouline, D.; Mohajeri, N.; Scartezzini, J. Estimation of large-scale solar rooftop PV potential for smart grid integration: A methodological review. In Sustainable Interdependent Networks: Theory and Applications; Springer: Cham, Switzerland, 2018; pp. 173–219. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Izquierdo, S.; Rodrigues, M.; Fueyo, N. A method for estimating the geographical distribution of the available roof surface area for large-scale photovoltaic energy-potential evaluations. Sol. Energy 2008, 82, 929–939. [Google Scholar] [CrossRef] [Scilit]
- Gautam, B.; Li, F.; Ru, G. Assessment of urban rooftop solar photovoltaic potential to solve power shortage problem in Nepal. Energy Build. 2015, 86, 735–744. [Google Scholar] [CrossRef] [Scilit]
- Thai, T.; Brouwer, J. Challenges estimating distributed solar potential with utilization factors: California universities case study. Appl. Energy 2021, 282, 116209. [Google Scholar] [CrossRef] [Scilit]
- Martín-Jiménez, J.; Del Pozo, S.; Sánchez-Aparicio, M.; Lagüela, S. Multi-scale roof characterization from LiDAR data and aerial orthoimagery: Automatic computation of building photovoltaic capacity. Autom. Constr. 2020, 109, 102965. [Google Scholar] [CrossRef] [Scilit]
- An, Y.; Chen, T.; Shi, L. Solar energy potential using GIS-based urban residential environmental data: A case study of Shenzhen, China. Sustain. Cities Soc. 2023, 93, 104547. [Google Scholar] [CrossRef] [Scilit]
- Assouline, D.; Mohajeri, N.; Scartezzini, J. Quantifying rooftop photovoltaic solar energy potential: A machine learning approach. Sol. Energy 2017, 141, 278–296. [Google Scholar] [CrossRef] [Scilit]
- Vardimon, R. Assessment of the potential for distributed photovoltaic electricity production in Israel. Renew. Energy 2011, 36, 591–594. [Google Scholar] [CrossRef] [Scilit]
- Mainzer, K.; Fath, K.; McKenna, R. A high-resolution determination of the technical potential for residential-roof-mounted photovoltaic systems in Germany. Sol. Energy 2014, 105, 715–731. [Google Scholar] [CrossRef] [Scilit]
- Bódis, K.; Kougias, I.; Jäger-Waldau, A. A high-resolution geospatial assessment of the rooftop solar photovoltaic potential in the European Union. Renew. Sustain. Energy Rev. 2019, 114, 109309. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Xu, S.; Gong, Y. High resolution photovoltaic power generation potential assessments of rooftop in China. Energy Rep. 2022, 8, 14545–14553. [Google Scholar] [CrossRef] [Scilit]
- Freitas, S.; Catita, C.; Redweik, P. Modelling solar potential in the urban environment: State-of-the-art review. Renew. Sustain. Energy Rev. 2015, 41, 915–931. [Google Scholar] [CrossRef] [Scilit]
- Huang, Z.; Mendis, T.; Xu, S. Urban solar utilization potential mapping via deep learning technology: A case study of Wuhan, China. Appl. Energy 2019, 250, 283–291. [Google Scholar] [CrossRef] [Scilit]
- Chen, B.; Che, Y.; Wang, J. An estimation framework of regional rooftop photovoltaic potential based on satellite remote sensing images. Glob. Energy Interconnect. 2022, 5, 281–292. [Google Scholar] [CrossRef] [Scilit]
- Lin, S.; Zhang, C.; Ding, L. Accurate recognition of building rooftops and assessment of long-term carbon emission reduction from rooftop solar photovoltaic systems fusing GF-2 and multi-source data. Remote Sens. 2022, 14, 3144. [Google Scholar] [CrossRef] [Scilit]
- Zhuang, L.; Zhang, Z.; Wang, L. The automatic segmentation of residential solar panels based on satellite images: A cross learning driven U-Net method. Appl. Soft Comput. 2020, 92, 106283. [Google Scholar] [CrossRef] [Scilit]
- Tian, S.; Yang, G.; Du, S. An innovative method for evaluating the urban roof photovoltaic potential based on open-source satellite images. Renew. Energy 2024, 224, 120075. [Google Scholar] [CrossRef] [Scilit]
- Li, G.; Wang, G.; Luo, T. SolarSAM: Building-scale photovoltaic potential assessment based on Segment Anything Model (SAM) and remote sensing for emerging city. Renew. Energy 2024, 237, 121560. [Google Scholar] [CrossRef] [Scilit]
- Qi, Q.; Zhao, J.; Tan, Z. Development assessment of regional rooftop photovoltaics based on remote sensing and deep learning. Appl. Energy 2024, 375, 124172. [Google Scholar] [CrossRef] [Scilit]
- Poudel, R.; Liwicki, S.; Cipolla, R. Fast-SCNN: Fast semantic segmentation network. arXiv 2019, arXiv:1902.04502. [Google Scholar]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), Munich, Germany, 5–9 October 2015; pp. 234–241. [Google Scholar] [CrossRef] [Scilit]
- Chen, L.; Zhu, Y.; Papandreou, G. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 801–818. [Google Scholar] [CrossRef] [Scilit]
- Zhao, H.; Shi, J.; Qi, X. Pyramid scene parsing network. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2881–2890. [Google Scholar] [CrossRef] [Scilit]
- Xie, E.; Wang, W.; Yu, Z. SegFormer: Simple and efficient design for semantic segmentation with transformers. Adv. Neural Inf. Process. Syst. 2021, 34, 12077–12091. [Google Scholar]
- Zhang, W.; Pang, J.; Chen, K. K-Net: Towards unified image segmentation. Adv. Neural Inf. Process. Syst. 2021, 34, 10326–10338. [Google Scholar]
- Cheng, B.; Misra, S.; Schwing, A.G. Masked-attention mask transformer for universal image segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 1290–1299. [Google Scholar]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Friedman, J. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef] [Scilit]
- Ke, G.; Meng, Q.; Finley, T. LightGBM: A highly efficient gradient boosting decision tree. Adv. Neural Inf. Process. Syst. 2017, 30, 3146–3154. [Google Scholar]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
- Buitinck, L.; Louppe, G.; Blondel, M. API design for machine learning software: Experiences from the scikit-learn project. arXiv 2013, arXiv:1309.0238. [Google Scholar]
- Lundberg, S.; Lee, S.I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4765–4774. [Google Scholar]
- Yang, Y.; Si, Z.; Jia, L. Whether rural rooftop photovoltaics can effectively fight the power consumption conflicts at the regional scale—A case study of Jiangsu Province. Energy Build. 2024, 306, 113921. [Google Scholar] [CrossRef] [Scilit]
- Pan, D.; Bai, Y.; Chang, M. The technical and economic potential of urban rooftop photovoltaic systems for power generation in Guangzhou, China. Energy Build. 2022, 277, 112591. [Google Scholar] [CrossRef] [Scilit]
- Feng, F.; Wang, K. Merging high-resolution satellite surface radiation data with meteorological sunshine duration observations over China from 1983 to 2017. Remote Sens. 2021, 13, 602. [Google Scholar] [CrossRef] [Scilit]
- Zhao, X.; Xie, Y. The economic performance of industrial and commercial rooftop photovoltaic in China. Energy 2019, 187, 115961. [Google Scholar] [CrossRef] [Scilit]
- NCSC. Study on Carbon Emission Factors of Regional Power Grids in China. Available online: http://www.ncsc.org.cn/SY/zywj/202407/t20240709_1081217.shtml (accessed on 13 March 2025).
- Arthur, D.; Vassilvitskii, S. K-means++: The advantages of careful seeding. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms (SODA), New Orleans, LA, USA, 7–9 January 2007; pp. 1027–1035. [Google Scholar]
- Sun, Y.W.; Hof, A.; Wang, R.; Liu, J.; Lin, Y.J.; Yang, D.W. GIS-based approach for potential analysis of solar PV generation at the regional scale: A case study of Fujian Province. Energy Policy 2013, 58, 248–259. [Google Scholar] [CrossRef] [Scilit]
- Chen, G.; Li, X.; Liu, X. Global projections of future urban land expansion under shared socioeconomic pathways. Nat. Commun. 2020, 11, 537. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- IEA. An Energy Sector Roadmap to Carbon Neutrality in China; IEA: Paris, France, 2021; Available online: https://www.iea.org/reports/an-energy-sector-roadmap-to-carbon-neutrality-in-china (accessed on 14 September 2026).
- Wu, K.; Zheng, D.; Chen, Y. A dataset of building instances of typical cities in China. China Sci. Data 2021, 6. [Google Scholar] [CrossRef] [Scilit]
- National Bureau of Statistics. China Urban Statistical Yearbook; China Statistics Press: Beijing, China, 2023. [Google Scholar]
- CEADs. The Emission Inventories for 290 Chinese Cities from 1997 to 2019. Available online: https://www.ceads.net/data/city/ (accessed on 12 March 2025).
- CEADs. County-level CO2 Emissions in China During 1997–2017. Available online: https://www.ceads.net/data/county/ (accessed on 12 March 2025).
- China Nightlight Data Research Center. China Urban Nightlight Data; China Nightlight Data Research Center: Beijing, China, 2023. [Google Scholar]
- IEA. CO2 Emissions in 2023. Available online: https://iea.blob.core.windows.net/assets/33e2badc-b839-4c18-84ce-f6387b3c008f/CO<sub>2</sub>Emissionsin2023.pdf (accessed on 12 March 2025).
- China Building Energy Efficiency Association. 2023 China Building and Urban Infrastructure Carbon Emission Report. Available online: https://www.cabee.org/site/content/24776.html (accessed on 12 March 2025).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










