Machine-Learning-Based Rooftop-Location-Detection Model for Economically Feasible Building-Integrated Photovoltaic Systems

Decentralized solar photovoltaic is a very promising source of energy since there is a lot of space on rooftops. However, accurate estimation of available rooftop areas for PV power generation at the city scale and integrated techno-economic assessment remain key challenges. This study presents a unified end-to-end framework that integrates machine-learning-based rooftop detection, SAM-assisted rooftop segmentation, rooftop-area estimation, PV-system simulation, and techno-economic and environmental-feasibility analysis within a single workflow. Rather than treating these components independently, the proposed framework connects accurate rooftop identification with PV-system design and comprehensive economic assessment, enabling an efficient and scalable approach for building-integrated photovoltaic (BIPV) planning. To detect rooftop areas, high-resolution open-source images were manually labeled, and the training dataset was trained with YOLO architecture. The proposed model achieved high-accuracy rooftop detection, with YOLOv8 providing the best precision–recall balance. This study also integrates SAM (Segment Anything Model) with the YOLO model. SAM segmented several building roofs using Bounding box prompt-guided semantic segmentation. Model outputs are integrated with a user-friendly interface for economic analysis such as cost, LCOE, and payback period. The results show that the YOLOv8 architecture and SAM provide strong rooftop detection and area-estimation performance, with an average rooftop-area estimation accuracy of 94.56%. At the F1-optimal confidence threshold of 0.601, YOLOv8 achieved a precision of 0.78, a recall of 0.72, and an F1 score of 0.74. Five photovoltaic technologies are evaluated through detailed energy yield estimation, generating 5.0–6.23 GWh annually with a performance ratio between 0.72 and 0.755. Among the technologies, the most economic outcomes for levelized cost of electricity (LCOE) ranges between 0.036 and 0.053 USD/kWh, with short payback periods of 2.3–3.7 years. In summary, this study presents an integrated machine-learning framework for accurate rooftop detection, photovoltaic potential assessment, and techno-economic analysis, which is demonstrated through a representative four-site urban case study.

Authors

Institutions

Publication Details

Journal
Energies
Published
2026-12-02
DOI
https://doi.org/10.3390/en19235857
Primary Topic
Solar Radiation and Photovoltaics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Machine-Learning-Based Rooftop-Location-Detection Model for Economically Feasible Building-Integrated Photovoltaic Systems

Shameem Ahmad, Prasun Mazumder, Tofael Ahmed, Amortya Ghosh
Energies
Solar Radiation and Photovoltaics
article

Machine-Learning-Based Rooftop-Location-Detection Model for Economically Feasible Building-Integrated Photovoltaic Systems

Shameem Ahmad, Prasun Mazumder, Tofael Ahmed, Amortya Ghosh
article en

Abstract

Decentralized solar photovoltaic is a very promising source of energy since there is a lot of space on rooftops. However, accurate estimation of available rooftop areas for PV power generation at the city scale and integrated techno-economic assessment remain key challenges. This study presents a unified end-to-end framework that integrates machine-learning-based rooftop detection, SAM-assisted rooftop segmentation, rooftop-area estimation, PV-system simulation, and techno-economic and environmental-feasibility analysis within a single workflow. Rather than treating these components independently, the proposed framework connects accurate rooftop identification with PV-system design and comprehensive economic assessment, enabling an efficient and scalable approach for building-integrated photovoltaic (BIPV) planning. To detect rooftop areas, high-resolution open-source images were manually labeled, and the training dataset was trained with YOLO architecture. The proposed model achieved high-accuracy rooftop detection, with YOLOv8 providing the best precision–recall balance. This study also integrates SAM (Segment Anything Model) with the YOLO model. SAM segmented several building roofs using Bounding box prompt-guided semantic segmentation. Model outputs are integrated with a user-friendly interface for economic analysis such as cost, LCOE, and payback period. The results show that the YOLOv8 architecture and SAM provide strong rooftop detection and area-estimation performance, with an average rooftop-area estimation accuracy of 94.56%. At the F1-optimal confidence threshold of 0.601, YOLOv8 achieved a precision of 0.78, a recall of 0.72, and an F1 score of 0.74. Five photovoltaic technologies are evaluated through detailed energy yield estimation, generating 5.0–6.23 GWh annually with a performance ratio between 0.72 and 0.755. Among the technologies, the most economic outcomes for levelized cost of electricity (LCOE) ranges between 0.036 and 0.053 USD/kWh, with short payback periods of 2.3–3.7 years. In summary, this study presents an integrated machine-learning framework for accurate rooftop detection, photovoltaic potential assessment, and techno-economic analysis, which is demonstrated through a representative four-site urban case study.

EnergiesVol. 19(23)
Chittagong University of Engineering & Technology (BD), BRAC University (BD)
Solar Radiation and Photovoltaics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon