The United Nations “World Population Prospects 2024” [
1] report states that the world’s population is projected to grow from 8.2 billion in 2024 to approximately 10.3 billion by the mid-2080s. Accompanying this growth is an escalating demand for energy, driven by extensive development and leading to the large-scale exploitation of non-renewable resources. The building sector, particularly in urban areas, predominates in energy consumption. The widespread use of fossil fuels is causing a gradual depletion of global reserves and could inflict irreversible damage on the Earth’s environment and climate [
2]. In response, numerous countries have devised renewable energy strategies aimed at achieving zero emissions by 2050, with solar energy identified as the greatest potential clean energy source for large-scale application [
3,
4]. Urban rooftops offer a substantial foundation for distributed solar installations, though much of their potential remains underutilized [
5]. Implementing solar energy systems enhances urban sustainability significantly [
6]. The potential of solar energy in urban blocks, especially with photovoltaic panels on rooftops, is heavily influenced by the nearby structures and the general layout of the urban area [
7,
8]. Nevertheless, excessive solar irradiation can elevate interior building temperatures, particularly in sunlit areas, increasing the energy required for cooling [
9,
10]. Therefore, investigating the interplay between neighborhood morphology and solar potential and finding a balance between the efficiency of photovoltaic systems and the energy needed for cooling is essential.
1.1. Urban Morphology and Building Energy Consumption
Building energy consumption is influenced by numerous factors, with the urban form being one of the key determinants of building energy efficiency. The urban form can be classified through several dimensions, such as the density, geometric shape, and building type, each impacting building energy consumption directly [
11,
12]. Urban density is commonly measured using indicators like the floor area ratio, building density, open space ratio, and average floor levels. Studies indicate that the connection between density and building energy use is not linear [
13,
14]. Some research has demonstrated that, beyond a certain density threshold, the building energy use intensity (EUI) decreases, forming a “U-shaped” relationship with energy consumption [
15]. For instance, a simulation study in Portland indicated that the EUI is reduced once the building density surpasses a certain level [
16]. Javanroodi, K. et al. [
17] observed that the cooling energy intensity in both office buildings and residences tends to decline as the FAR increases. Nonetheless, other studies suggest that high density could boost cooling energy consumption due to the urban heat island effect [
18].
Geometric parameters at both urban and architectural scales, such as building height, shape factor, number of floors, and street aspect ratio, play crucial roles in determining energy dynamics. Mangan et al. [
19], through the evaluation of 120 urban morphology models, demonstrated that building height and the street aspect ratio considerably affect both energy consumption and cost-effectiveness. Further research highlights that the geometric features of street canyons significantly influence energy consumption in office and residential buildings. In urban canyons, the impact on office buildings can reach up to 30% and up to 19% for residential buildings [
17]. Shareef’s [
20] findings in the UAE suggest that orientation is the predominant factor impacting cooling loads and energy consumption in urban blocks. Roman Loeffler’s [
21] key indicators for thermal gain and loss in buildings are instrumental in enhancing energy efficiency. Ensuring good compactness in block constructions aids in minimizing cooling loads and optimizing indoor lighting conditions.
Building typologies, including a courtyard, a point block, and slab configurations, exert a considerable impact on energy consumption. Research consistently shows that courtyards, in particular, demand lower energy across diverse climatic scenarios. Chua and Beng’s [
22,
23] further research on courtyards showed that in Thessaloniki-Greece, the minimum cooling requirements are for summer days of the courtyard.
In summary, the wide range of urban forms for a series of land use are important factors to predict building energy consumption and may have significant impacts and differ with location and the climate scenario. Further studies need to be conducted on how different urban morphology indicators can be contextualized and implemented in the wide range of global cities, which intends to help identify the most adaptive functional or construction forms that maximize energy efficiency while minimizing energy consumption.
1.2. Urban Morphology and Solar Energy Potential
The urban morphology shapes the potential of solar energy harvesting [
24]. The roof and the facade of buildings actually act as a platform for the placement of solar collectors and photovoltaic systems; they also support optimized systems with the help of tailor-made urban layouts and morphological indicators. The floor area ratio, building density, geometric configurations, and block types are a few among the various important indicators of diverse urban forms that this review probes about their specific impacts on the efficacy of the utilization of solar energy.
Studies have shown that relative heights, distances between buildings, and overall layouts play a pivotal role in influencing the reception of solar radiation on building surfaces. It was further supported by the study by Tian and Xu [
25] in residential areas of Wuhan, claiming that the floor area ratio, building density, average height, and interspacing are paramount morphological factors in determining solar potential. Similarly, J. Zhang et al. [
26], through an analysis of 30 distinct urban block types, revealed marked differences in their effects on solar gains and energy efficiency. Vulkan et al. [
27] assessed the solar potential on the rooftops and facades of high-density urban residences, examining the contributions of various building surfaces to the city’s total photovoltaic output. Additionally, Zhao’s [
28] research on rooftop photovoltaic efficiency under different scenarios established the correlation between the usable rooftop area, array layout, and shading effects with photovoltaic efficiency, pinpointing the optimal photovoltaic design configurations for urban contexts.
Further research has revealed that certain urban block morphologies, particularly courtyards and mixed configurations, generally surpass other forms in terms of energy performance, attributable to their expansive layouts and optimal orientations. A case study in Nanjing highlighted that U-shaped blocks exhibit the greatest annual photovoltaic potential [
29]. Moreover, a pioneering study in Singapore applied a new typological method to explore the interplay between block forms and solar energy, which demonstrated that site coverage and block configurations markedly affect solar potential [
30].
Urban morphology has a direct and complex role in enhancing solar efficiency. Realizing such potential could achieve a remarkable gain in solar harvesting and photovoltaic efficiencies within buildings, which are the results of sustainable urban goals by enhancing energy efficiency and decreasing carbon emissions while incorporating such energy considerations in designs and strategies among policymakers, urban planners, and architects.
1.3. Application of Machine Learning Algorithms
Indeed, an increasing amount of research does acknowledge that urban form has a complex impact on block energy consumption. Traditional linear regression models, in fact—such as the Ordinary Least Squares (OLS) regression model—do not suffice in capturing the effects of urban form on energy consumption within urban blocks; sometimes, they even lead to inconsistent results because, in reality, the relationship between urban form and energy consumption is not always linear [
31,
32]. Furthermore, the study of urban morphology has evolved from a two- to three-dimensional analysis, greatly increasing the amount of data being handled, so as to better respond to the analytical and design requirements in the built environment [
33].
With all these, advanced machine learning algorithms, such as LightGBM [
34], XGBoost [
35], Random Forest [
36], Artificial Neural Networks [
37], and Naïve Bayes [
38] using extremely large datasets, expose complex, nonlinear relationships and complicated factor interactions [
39,
40]. More specifically, an increasingly growing body of research examines the dynamics between urban morphologies and city environments that now incorporate such algorithms in an effort to increase analytic accuracy. Yu et al. [
41] used the Random Forest, among four machine-learning algorithms, for describing the nonlinear correlations between urban outdoor temperatures and urban forms. Similarly, Huang et al. [
42] studied how urban morphology modulates the dispersion of air pollution at the high-density urban block level by means of a combination of methods: Decision Trees, Support Vector Machines, and Neural Networks, the latter being best in terms of performance. Of further note, Dan Assouline [
43] has very successfully combined Support Vector Machines with Geographic Information Systems for predicting the potential for rooftop solar photovoltaic installations in Swiss municipal regions.
In response to the inherent opacity of machine learning processes, the integration of SHAP values to elucidate machine learning models has gained traction in contemporary research. Song et al. [
44] introduced an enhanced interpretable machine learning model to estimate global solar radiation in China, utilizing a sophisticated XGBoost algorithm refined through particle swarm optimization and paired with GIS-based methodologies. Their research revealed a temporal decline in solar radiation and photovoltaic potential across China, prompting policy suggestions aimed at addressing regional imbalances between the photovoltaic potential and installed capacities. Additionally, Felix Wagner et al. [
45] leveraged interpretable machine learning to probe the effects of urban morphology on Berlin’s traffic dynamics. Their findings underscored the pivotal role of central urban designs in curtailing commute distances and pinpointed a significant reliance on vehicles in economically disadvantaged areas, providing crucial insights for future urban development strategies.
Urban design considerations in photovoltaic capabilities have been pointed out by several studies. A better urban morphology and block design improve not only the efficiency of solar collection within buildings but also magnify the overall efficacy of photovoltaic systems. These are thus very important optimizations for reaching sustainable urban energy goals. However, the lack of research at the block scale has in part hindered an understanding of the implementation and optimization of these techniques for best results in solar energy utilization. These gaps in research into the block-scale urban morphology suggest that the potential in the urban spaces, especially in the denser contexts of a city’s form, might not be fully taken advantage of. Stated differently, a more granular review of urban morphology at the block level could unveil subtle building interplays that affect solar reception—data useful for more effective architectural design layouts and urban planning strategies.
Consequently, fulfilling sustainable urban development goals necessitates conducting more empirical research at the block scale. This research should employ high-precision geographic and environmental data to simulate and evaluate how different urban forms affect solar potential. Furthermore, the integration of advanced simulation tools and interpretable machine learning methods can deepen our understanding of the nexus between urban morphology and energy efficiency. Such insights are critical for guiding practical urban design and policy-making, with the ultimate aim of achieving greater energy efficiency and minimizing carbon footprints.
This paper is structured as follows:
Section 2 presents field research on residential districts within the designated study area, analyzing shared traits to formulate an ideal model. This section also employs simulation software to estimate neighborhood energy consumption and photovoltaic outputs.
Section 3 details the machine learning principles and the formulaic models utilized in this study.
Section 4 examines the results from these simulations and enhances these findings through further simulations with machine learning predictive models, incorporating SHAP values for model interpretation. Finally,
Section 5 and
Section 6 delve into how design factors affect building energy consumption and outline prospective research avenues and their broader implications.