1 Introduction

Recently, China has undergone rapid urbanization, with an urbanization rate of 64.72% in 2021. This trend has led to a high concentration of population and industry in cities, resulting in increased carbon emissions and energy waste. China’s urban \(\text{C}{\text{O}}_{2}\) emissions account for over 64% of the national emissions, whereas the permanent urban population accounts for only 50% of the total population (Wang et al., 2011; Zhou et al., 2022). This case has greatly pressured China to realize energy conservation and emission reduction (ECER). In this context, the green and low-carbon development of Chinese cities should be prioritized, and measures must be implemented to achieve ECER (Khan et al., 2022).

China has implemented a pilot project of smart city construction (SCC) to address the energy and emission issues caused by urbanization. SCC involves the integration of modern digital technologies, such as the Internet of Things and cloud computing, with urban infrastructure to monitor the operation of core urban organizational systems dynamically (Mohamed et al., 2020; Singh et al., 2020). Spatiotemporal information is a fundamental element and premise of SCC, which is crucial for the efficient utilization and allocation of resources (Yang et al., 2017).

SCC is receiving increasing attention from scholars, and its related literature can be divided into two categories. The first category focuses on the impact of SCC on economic development. For example, the results from 309 European metropolitan areas have validated the significant role of SCC in promoting innovation and economic development (Caragliu & Del Bo, 2019). Gao and Yuan (2021) confirmed the promoting effect of SCC in terms of economic development quality based on China’s urban data. Song et al. (2022) found that the extent of engagement in SCC could be associated with the speed of local economic development and the local government’s performance in China. The authors also concluded that SCC could significantly improve the external efficiency of government investment.

The second category focuses on the impact of SCC on the environment and energy. Regarding environmental pollution, Zawieska and Pieriegud (2018) focused on the transport industry and concluded that SCC could reduce carbon emissions. Su et al. (2021) further documented the evidence of SCC’s effect on reducing environmental pollutants. They also found that SCC can significantly improve environmental quality. Concerning ecological efficiency, Yao et al. (2020) concluded that SCC could improve eco-efficiency, which will gradually improve over time. Jiang et al. (2021) verified the key role of SCC in boosting green total factor productivity. In terms of energy consumption, SCC can promote the deep integration of advanced technology and infrastructure, which is conducive to the dynamic monitoring of energy utilization processes (O’Dwyer et al., 2019). In addition, SCC can achieve the efficient operation of five core urban systems in real-time, namely, organization, business, transportation, communication, and energy, through technological innovation (Ismagilova et al., 2019; Hao et al., 2022), thereby strengthening the correlation among various energy utilization links. Therefore, SCC can effectively reduce energy waste and help achieve efficient energy utilization.

Several studies have focused on the role of SCC in economic development, environmental pollution, and energy utilization. However, only a few have integrated these into the framework of sustainable urban development research. Incorporating SCC into sustainable urban development can help optimize energy use, reduce carbon emissions, and enhance the resiliency of urban infrastructure (Young & Lieberknecht, 2019). This result aligns with the overall objectives of SCC, aiming to create sustainable urban environments and enhance the life quality for citizens. Moreover, the COVID-19 pandemic has highlighted the need for intelligent social governance, making SCC an inevitable choice for future urban development.

This study mainly aims to assess the spatiotemporal impact of SCC on urban energy efficiency in China and analyze the mediating effect of technological innovation. China implemented SCC pilots in 2012, integrating ecological and smart concepts into urbanization to achieve ECER and move toward sustainable development. A total of 284 cities in China are chosen based on geographical distribution and data availability, which have different levels of economic development and energy efficiency. This study confirms that SCC plays a crucial role in promoting urban energy efficiency, which has spatiotemporal heterogeneity. Additionally, SCC improves urban energy efficiency through the green, configuration, and infrastructure effects of technological innovation. This study also verifies how urban size and resource endowment moderate the effects of SCC.

This study contributes to sustainable urban development in several ways. First, this study integrates SCC, technological innovation, and energy efficiency into a theoretical framework, providing applicable recommendations for SCC and sustainable urban development. Second, this study analyzes the influence of SCC on energy efficiency and ulteriorly considers the spatiotemporal heterogeneity of the effects. Third, the study investigates the impact mechanism of SCC on urban energy efficiency with multi-level empirical methods and categorizes it into three main effects. Finally, this study provides a theoretical foundation for the rational layout of SCC and expands its research perspective to urban energy management.

The rest of the paper has the following contents. Section 2 summarizes the relevant literature of SCC and proposes the hypotheses of this study. Section 3 provides the modeling process and variable description. Section 4 discusses the results, and Section 5 conducts heterogeneity analysis. Finally, Section 6 proposes policy recommendations for SCC and technological innovation.

2 Literature review and research hypotheses

2.1 SCC and urban energy efficiency

SCC plays a crucial role in improving urban energy efficiency directly. At the level of urban governance, SCC enables intelligent urban governance and improves urban energy efficiency through digital technology that can intelligently and dynamically monitor urban production activities. Specifically, collaborative networks across departments and systems, which are applied by SCC, can collect and integrate production data from multiple industries in real time (O’Dwyer et al., 2019). Then, these data are processed and analyzed by advanced algorithms and machine learning technologies to identify inefficient energy use or energy consumption anomalies in cities (Kannan et al., 2020a). Therefore, SCC can improve the transparency of energy use, achieve efficient resource allocation, and facilitate the government to make targeted management decisions. At the urban industrial structure level, SCC can achieve green transformation of high energy consumption and high emission industries. On the one hand, SCC can effectively promote the development of the clean industry (Hao et al., 2022). SCC requires a large amount of clean energy and advanced energy-saving technology support, which increases the market demand for the clean industry. On the other hand, energy-intensive industries can achieve precise and dynamic management with the help of spatiotemporal information (Hittinger & Jaramillo, 2019). These industries can utilize spatiotemporal information to integrate and utilize multiple energy sources and achieve energy complementarity, thereby improving energy utilization efficiency. In addition, enterprises can use this information to optimize the allocation of multiple energy sources and improve energy utilization efficiency.

To sum up, SCC can intelligently reduce resource mismatch in urban governance and energy waste in enterprise production, thereby improving urban energy efficiency. The above analysis leads to Hypothesis 1.

Hypothesis 1: SCC can improve urban energy efficiency.

Existing studies have concluded that the connotation of SCC is consistent with the place-based policies widely adopted. The effects of place-based policies are highly heterogeneous. In the time dimension, Cheng et al. (2022) found that the freetrade zone policy initially promoted local employment but only had a positive effect for a short duration. Lu et al. (2019) found that in terms of investment, the positive impact of the policies of China’s special economic zone on the firms would decrease over time. Therefore, the effects of SCC will also vary with time. Geographic location could also influence SCC’s effects. The theory of spatial economics shows that the central city has siphon effects on the energy of the surrounding cities, leading to a gathering shadow area of the central city (Fujita et al., 2001). If the distance between the surrounding and central areas exceeds a certain value and is outside the gathering shadow area, then the place-based policies can produce a spillover effect to improve the energy efficiency of the surrounding cities. However, the spillover effect disappears when the distance is too far (Kline & Moretti, 2014). This study proposes Hypothesis 2.

Hypothesis 2: Spatiotemporal heterogeneity exists in the impact of SCC on urban energy efficiency.

2.2 SCC and technological innovation

SCC is an innovative mode of urban development based on technological progress and organizational change (Laurini, 2021), including technological innovation, resource allocation innovation, and infrastructure construction innovation (Caragliu & Del Bo, 2019; Deshmukh et al., 2016). This study considers that the technological innovation of SCC can endogenously produce green, configuration, and infrastructure effects, which form an innovation-driven mechanism to improve energy efficiency. Figure 1 shows the influence mechanism.

The green effects refer to improving energy efficiency by applying various green technologies in the urban production activities of SCC. SCC encourages green innovation in various sectors. For instance, SCC can support the consumption of renewable energy sources based on solar panels and wind turbines (Kumar et al., 2020). Additionally, SCC can incentivize the use of green buildings to improve urban energy efficiency by using eco-friendly building materials (Konstantakopoulos et al., 2019).

The configuration effects mean that SCC can optimize energy allocation mode to balance overall energy demand and supply, thereby improving urban energy efficiency. Regarding energy supply, the smart grid system applied in SCC can accurately schedule energy supply and reduce energy transmission losses (Deshmukh et al., 2016), ultimately improving energy efficiency. Concerning energy demand, SCC encourages enterprises to adopt intelligent demand response strategies. For example, energy-intensive enterprises can adjust energy consumption based on real-time interactive platforms during peak energy demand periods (Antonioli et al., 2018). This case helps energy-intensive companies improve resource allocation efficiency and reduce energy waste.

The infrastructure effects mean that the new infrastructure with wide coverage in SCC can reduce urban carbon emissions and increase energy efficiency. The new generation of information infrastructure in SCC, represented by high-speed intelligent Internet, has formed a highly integrated smart city infrastructure. New infrastructure is conducive to building a stable energy Internet and strengthening the monitoring of environmental emissions (Tang et al., 2021).

This study proposes Hypothesis 3.

Hypothesis 3: Characterized by technological innovation, SCC improves energy efficiency by producing green, configuration, and infrastructure effects.

Fig. 1
figure 1

Influence mechanism

2.3 SCC and urban characteristics

Large cities can improve their energy efficiency through economic agglomeration effects. The economic agglomeration effect refers to an interactive relationship formed by similar industries based on mutual competition and cooperation, usually forming industrial chains and clusters (Wang et al., 2022). These enterprises in similar industries can collaborate to share resources and reduce production costs, thereby improving energy efficiency (Xu et al., 2022). However, with the increase in population density in large cities, energy waste will be serious, resulting in urban disease (Wang et al., 2014). Therefore, the size of a city will affect the balance between agglomeration effects and city disasters, thereby affecting the effect of SCC on urban energy efficiency (Zawieska & Pieriegud, 2018).

In terms of resource endowment, improving energy efficiency cannot be accomplished by a single system independently but requires the operation of various urban resources (Hittinger & Jaramillo, 2019). SCC needs the support of human, financial, information infrastructure, and other resources. With different resource endowments, the impact of SCC on energy efficiency will be different. This study puts forward Hypothesis 4.

Hypothesis 4: The urban characteristics including the scale and resource endowment can affect the influence of SCC on urban energy efficiency.

3 Method and variables

3.1 Model

SCC is regarded as a quasi-natural experiment that examines spatial temporal heterogeneous influences in terms of urban energy efficiency. Ensuring that the characteristics of SCC pilot cities are similar to non-pilot cities is necessary before applying the difference-in-differences (DID) method (Yu & Zhang, 2021). The propensity score matching (PSM) method is adopted herein. The specific formula for evaluating the impact of SCC on energy efficiency is as follows:

$$\text { Efficiency }_{i t}=\alpha_0+\alpha_1 D I D_{i t}+\sum_{i=1}^N b_j X_{i t}+v_i+\mu_t+\varepsilon_{i t}$$
(1)

In Eq. (1), if city \(i\) is engaged in SCC in year \(t\), \({DID}_{it}=1\); otherwise, \({DID}_{it}=0\); \({Efficiency}_{it}\) represents the urban energy efficiency after PSM; \({X}_{it}\) contains other variables that affect \({Efficiency}_{it}\); \({v}_{i}\) and \({\mu }_{t}\) control the double fixed effects of urban and time; and \({\epsilon }_{it}\) represents the perturbation error.

The following progressive DID model is constructed to test the temporal heterogeneity of SCC effects in Hypothesis 2:

$$\text { Efficiency }_{i t}=\beta_0+\sum_{k=-11, k \neq-1}^7 \beta_k D_{i t}^k+\sum_{i=1}^N b_j X_{i t}+v_i+\mu_t+\varepsilon_{i t}$$
(2)

In Eq. (2), \({D}_{\text{i}t}^{k}\) represents the dummy variable. \({D}_{\text{i}t}^{k}\) takes a value of 1 if in year \(t\), SCC has been implemented in city \(i\) for \(k\) years, and a value of 0 if otherwise. Let \(k=t-{y}_{i}\), where \({y}_{i}\) represents city \(i\) established a smart city in year \(t\). For example, when \(k=-\)2, \({D}_{it}^{-2}=1\); otherwise, \({D}_{it}^{-2}=0\). This study takes the year before establishing the smart city pilot, in which the base period corresponds to \(k=-1\). The change in the coefficient \({\beta }_{k}\) of \({D}_{\text{i}t}^{k}\) reflects the temporal change in the effect of SCC on urban energy efficiency.

This study establishes the following model to examine the spatial heterogeneity of SCC effects:

$$\text { Efficiency }_{i t}=\gamma_0+\gamma_1 D I D_{i t}+\sum_{s=50}^{500} \delta_s N_{i t}^s+\sum_{i=1}^N b_j X_{i t}+v_i+\mu_t+\varepsilon_{i t}$$
(3)

where \(s\) (in kilometers, \(s\ge 50\) km) represents the geographic distance measured by the map distance between two cities. \({N}_{\text{i}t}^{s}\) takes a value of 1 if there is at least one SCC pilot within the range of \(\text{s}-50\) to \(\text{s}\) km from the city \(i\) in year \(t\) and a value of 0 if otherwise. For example, \({N}_{i2012}^{150}=1\) means that at least one SCC pilot exists within 100–150 km away from city \(i\) in 2012. This study shows the regression results for \(s=50, 100,\dots , 450, 500\), at an even interval of 50 km. Similarly, the significance of \({\delta }_{s}\) reflects that the effects of SCC on urban energy efficiency will change significantly in space.

This study applies the following stepwise regression method to verify the intermediary role of technological innovation in Hypothesis 3. In the first stage, this study verifies that SCC drives the above three effects through technical innovation. The following model tests the impact of SCC on comprehensive urban innovation performance:

$$\text { Innovation }_{i t}=\alpha_0+\alpha_1 \text { DID }_{i t}+\sum_{i=1}^N b_j X_{i t}+\varepsilon_{i t}$$
(4)

In Eq. (4), \({Innovation}_{it}\) represents the urban technological innovation performance. If the coefficient \({\alpha }_{1}\) is significant, then SCC will promote technological innovation; otherwise, the intermediary effect test will stop. The impact of SCC on the three main effects is verified by the following equation:

$$\operatorname{Green}_{i t}\left(\text { Confi }_{i t}, \operatorname{Infra}{ }_{i t}\right)=\beta_0+\beta_1 D I D_{i t}+\sum_{i=1}^N b_j X_{i t}+\varepsilon_{i t}$$
(5)

In Eq. (5), \({Green}_{it}\), \({Confi}_{it}\), and \({Infra}_{it}\) represent the green, configuration, and infrastructure effects, respectively. In terms of green effects, green innovation is the micro-mechanism that drives sustainable development, and the intensity of patent filings in smart cities has increased significantly (Bibri, 2022). This study uses green technology innovation to represent the green effects. In terms of configuration effects, education plays a fundamental and leading role in the optimization of social resource allocation in SCC (Grimaldi & Fernandez, 2017; Liu et al., 2020). Thus, the configuration of educational resources is used to measure configuration effects (Hsieh & Klenow, 2009). In terms of infrastructure effects, the new infrastructure of SCC promotes energy reform. SCC reduces urban energy consumption by upgrading large-scale energy-consuming infrastructure, such as building roads with virtual models (Kannan et al., 2020b; Konstantakopoulos et al., 2019). Thus, this study uses the actual road area to reflect the infrastructure effects.

If \({\beta }_{1}\) in Eq. (5) is significant, then SCC has the above three effects. Then, if \({\gamma }_{1}\) in Eq. (6) is insignificant or decreases, then the technical innovation of SCC will derive the three effects above:

$$\text { Green }_{i t}\left(\text { Confi }_{i t}, \text { Infra }_{i t}\right)=\gamma_0+\gamma_1 \text { DID }_{i t}+\gamma_2 \text { Innovation }_{i t}+\sum_{i=1}^N b_j X_{i t}+\varepsilon_{i t}$$
(6)

In the second stage, the impact of the three major effects of SCC on energy efficiency will be verified. First, Eq. (7) is used to verify the impact of SCC on the three effects:

$$\operatorname{Green}_{i t}\left(\text { Confi }_{i t}, \text { Infra }_{i t}\right)=\alpha_0+\alpha_1 \text { DID }_{i t}+\sum_{i=1}^N b_j X_{i t}+\varepsilon_{i t}$$
(7)

If \({\alpha }_{1}\) in Eq. (7) is significant and positive, then SCC can produce the three effects. Second, the following equation is adopted to verify the impact of SCC on energy efficiency:

$$\text { Efficiency }_{i t}=\beta_0+\beta_1 D_{I D}{ }_{i t}+\sum_{i=1}^N b_j X_{i t}+\varepsilon_{i t}$$
(8)

If \({\beta }_{1}\) in Eq. (8) is significant and positive, then SCC improves energy efficiency. Finally, \({DID}_{it}\) and the three effects are considered in the regression equation:

$$\text { Efficiency }_{i t}=\gamma_0+\gamma_1 \text { DID }_{i t}+\gamma_2 \text { Green }_{i t}\left(\text { Confi }_{i t}, \text { Infra }_{i t}\right)+\sum_{i=1}^N b_j X_{i t}+\varepsilon_{i t}$$
(9)

If \({\gamma }_{1}\) in Eq. (9) is insignificant, or the coefficient decreases, then SCC can reduce energy efficiency through the three main effects produced by technological innovation. This result concludes the stepwise regression used to test Hypothesis 3.

3.2 Variables and data

The traditional radial data envelopment analysis (DEA) method is popularly adopted in calculating urban energy efficiency. This method does not consider the slack of inputs or outputs and only increases the undesirable output proportionally. The traditional DEA contradicts the original intention of SCC to reduce carbon emissions while increasing economic output. In addition, the efficiency values of many cities may be equal to 1 when 284 cities are measured by the traditional radial DEA method. Therefore, this study chose the SBM super-efficiency DEA model (Du et al., 2010), considering the undesirable output of \(\text{C}{\text{O}}_{2}\) emissions.

This study also considers other factors that can affect energy efficiency, namely, openness (Hao et al., 2020), industrial structure (Friedl & Getzner, 2003), and economic development (Obiora et al., 2022). Table 1 shows the specific descriptions of the main variables. The panel dataset of 284 cities in China during 2005–2019 is obtained from the China Urban Statistical Yearbook. Table 2 shows the statistical description for these variables.

Table 1 Representation and measurement of variables
Table 2 Descriptive statistics

The difference test of efficiency results in Table 3 shows that after SCC, the smart city’s average energy efficiency has significantly increased. This result preliminarily shows that SCC has improved urban energy efficiency. However, the specific impact of SCC on energy efficiency needs to be further explored.

Table 3 Difference test

4 Empirical results

4.1 Premise testing

The premise tests of model assumptions are required before performing DID estimation. The first premise of this study is that the establishment of SCC pilots is not affected by urban energy efficiency, which means that the policy is exogenous. The SCC pilots were first established in large cities and then gradually extended to other cities. Thus, whether local energy efficiency affects the selection of SCC pilots should be examined. The Chinese government defines SCC as an innovative mode of urban planning, construction, and management using smart information technology. Therefore, SCC mainly focused on the informatization and digitization level of the city instead of the local energy performance, and the premise of the applicability of the DID method is preliminarily satisfied.

This study uses the logistic regression model to test whether urban energy efficiency affects the establishment of SCC pilots further, including pilot cities established in 2012, 2013, and 2014. If urban energy efficiency affects the establishment of an SCC pilot, then the regression will face an endogeneity problem. Table 4 shows the regression results of the binary choice model of establishing a smart city, showing that urban energy efficiency does not affect the establishment of the SCC pilot. On the contrary, this study cannot prove the positive role of SCC in improving urban energy efficiency if urban energy efficiency affects the selection of SCC pilots, that is, cities with high energy efficiency will become SCC pilots. In this case, the high energy efficiency is a characteristic of the city itself, not caused by SCC.

Table 4 Results of the binary choice model

The second premise is that the changing trends of energy efficiency of all cities before SCC remain the same. That is, before SCC, the changing trend of urban energy efficiency in smart cities and other cities should be parallel. The event research method is used to test the parallel trend, which is expressed as follows:

$$\text { Efficiency }_{i t}=\alpha_0+\alpha_1 D I D_{i t}+\sum_{i=1}^N b_j X_{i t}+v_i+\mu_t+\varepsilon_{i t}$$
(10)

In Eq. (10), if \({\alpha }_{1}\) is significant, then the trend of energy efficiency between cities is significantly different, and the assumption is not valid. If \({\alpha }_{1}\) is significant, then the difference in energy efficiency between pilot and non-pilot cities may not be caused by SCC. This case leads Eq. (1) to fail to truly reflect the positive effects of SCC. Figure 2 shows that the coefficient for each period before the implementation of SCC is not significant, indicating that the research sample passes the parallel trend test with no significant difference among cities. Thus, after the implementation of SCC, the difference in energy efficiency between pilot and non-pilot cities is caused by SCC.

Fig. 2
figure 2

Parallel trend test results

The third premise is the common supporting assumption. That is, the covariables in the smart cities and other cities should not be significantly different after PSM. Table 5 shows that only urban energy efficiency has significant differences.

Table 5 Common supporting assumptions of PSM-DID

4.2 Effects of SCC on urban energy efficiency

Panel data analysis avoids multicollinearity problems in time series analysis. This study conducts the Hausman test on Eq. (1) to determine the optimal model, in which the obtained concomitant probabilities are all less than 10%. Therefore, the fixed effect model considering the year and urban fixed effects is selected for testing. The regression results in Table 6 confirm that SCC significantly improves urban energy efficiency by approximately 4.04%.

Table 6 Impact of SCC on energy efficiency

After using the PSM-DID method, SCC could improve the level of urban energy efficiency by approximately 1.89%, which is lower than the results obtained by the DID method. This study uses four matching methods to perform baseline regression to further test whether these results are robust. The obtained estimation results of four matches demonstrated in Table 7 are rather consistent, verifying the robustness of the baseline regression results.

Table 7 PSM-DID test

4.3 Temporal heterogeneity and spatial heterogeneity

Figure 3 shows the variation of the coefficient of the \({D}_{\text{i}t}^{k}\) in Eq. (2) over time with a 95% confidence interval. In the initial short term, SCC does not have a significant effect on urban energy efficiency. However, this effect turns negative in the fourth year and then significantly positive after the fifth year. In general, the impact of SCC on energy efficiency first decreases slightly and then increases significantly over time. These results verify that SCC has temporal heterogeneity effects on promoting urban energy efficiency growth and also indicate that SCC is an important strategy that requires long-term implementation.

Fig. 3
figure 3

Temporal heterogeneity of policy effects of SCC

The regression results in Fig. 4 show the varying trend of \({N}_{it}^{s}\) in Eq. (3) with the distance between cities at a confidence interval of 95%. Specifically, with the increasing distance to the pilots, the overall driving effect of SCC on the energy efficiency of surrounding cities first decreases and then increases. The agglomeration shadow area of SCC is within 100 km of the city where it is located. SCC can positively contribute to improving energy efficiency within the surrounding 100–200 km. The driving effect of SCC is no longer significant when the distance exceeds 200 km. The above results verify the spatial heterogeneity of the driving effect of SCC on urban energy efficiency.

Fig. 4
figure 4

Spatial heterogeneity of policy effects of SCC

4.4 Robustness test

4.4.1 Placebo test

In the conventional DID model, the policy implementation time of all samples is identical, and the placebo test only requires a fixed number of units randomly selected from all samples as the experimental group (Li et al., 2016). However, the time of SCC in each city is different, and the conventional placebo test is no longer applicable. Thus, this study groups the data by city and randomly selects a year within each group as its SCC time. Finally, this study assigns a new policy dummy variable. Figure 5 shows that the coefficient is normally distributed and insignificant by setting a different pilot time for SCC, which verifies that the improvement of urban energy efficiency results from SCC.

Fig. 5
figure 5

Placebo test

4.4.2 Excluding interference from energy policies released in 2013

The effect of SCC on energy efficiency can be overestimated because of the interference of other relevant energy policies. This study searches for other policies that were implemented near the start time of SCC to address this issue. In 2013, the Chinese government attached great importance to energy reform and implemented a series of energy regulations that have produced a synergistic effect. A dummy variable d2013 is added to the benchmark regression to identify the interference of this effect on the results of this study. d2013 = 1, when year = 2013. Table 8 shows that SCC still plays a significant role in improving urban energy efficiency.

Table 8 Excluding the impact of other policies

4.4.3 Regression by changing the batch of SCC pilots

The second and third batches of SCC in 2013 and 2014 are considered in this study to check further the robustness of obtained results. Table 9 shows that SCC still significantly improves urban energy efficiency, further indicating that the estimation results are robust.

Table 9 Two batches of smart city policy robustness tests

4.4.4 Regression by changing the time window width of the sample

This study changes the time window of regression to verify whether the effect of SCC will change with the sample time. The policy occurrence time of 2012 is taken as the midpoint, and samples in 2009–2015, 2008–2016, 2007–2017, 2006–2018, and 2005–2019 are selected in the regression. In the sample from 2009 to 2015, the coefficient of DID is positive but not significant, which may be because policy effects take time to appear. Adjusting the time interval for regression reveals that the impact of SCC on energy efficiency with a sample window width of 4–7 years is significantly positive in Table 10, suggesting that the estimated result is relatively robust.

Table 10 Robustness test for changing time window width

4.5 Intermediary role of technological innovation

This section clarifies the influential mechanism of SCC on energy efficiency. According to Hypothesis 3, SCC has the characteristics of technological innovation, which results in green, configuration, and infrastructure effects to improve energy efficiency.

Table 11 shows that in the first step, SCC significantly improves urban technical innovation performance and achieves innovative development. In the second step, the regression coefficients of DID are significantly positive, indicating that SCC generates these three effects. The results of the third step show that the coefficients of DID are significant but reduced, revealing that the three effects are driven by SCC through technical innovation.

Table 11 Mechanism test of the impact of SCC on urban energy efficiency (1)

In the second stage, Table 12 shows that SCC can innovatively produce the three effects. The results in Column (4) also reveal that SCC significantly improves energy efficiency. Furthermore, SCC’s effects on urban energy efficiency are still significant with decreased coefficients. This result confirms that SCC improves energy efficiency through green, configuration, and infrastructure effects of technological innovation.

Table 12 Mechanism test of the impact of SCC on urban energy efficiency (2)

4.6 Heterogeneity analysis

4.6.1 City size

This study divides all sample cities into five groups based on the “Notice on Adjusting the Criteria for City Scale Standards” in 2014.

Table 13 shows that SCC improves energy efficiency in cities of all sizes, whereas the coefficients are significant only in large cities, type II large cities, and extra-large cities. The foundations of information and communication technology development in cities of small and medium sizes are insufficient to make the most of the advantages of SCC. For I-type large cities, the insignificant effect of SCC may be caused by the urban disease arising from development (Wang et al., 2014).

Table 13 Heterogeneity analysis of city size

4.6.2 City resource endowment

SCC is a complex project constrained by urban resource endowments. The impacts of SCC on urban energy efficiency will show dependence on different resource endowments. According to the previous analysis, the investment level of human, financial, and material resources is crucial to SCC. Thus, analyzing the city resource endowment can provide insightful guidance for the policy design of intelligent construction. This study analyses the heterogeneity of the role of SCC in improving energy efficiency from the aspects of human, financial, and material resources. Specifically, cities are divided into three groups according to their human capital level, namely, low, medium, and high human capital groups. The grouping method of financial support and material resources is the same as above.

Table 14 shows that SCC plays a significant role in improving urban energy efficiency only in urban with high human capital, indicating that human capital is conducive to enhancing the benefits of SCC. The foundation of SCC is based on modern information technology, which puts forward high requirements for employees. A city with high-level human capital can cope well with this challenge and is conducive to the high-quality development of SCC (Moretti, 2004), which further improves urban energy efficiency. In terms of financial support, the impact of SCC on energy efficiency in cities with high financial support is higher than that in other cities. Financial support reflects the government’s administrative intervention in SCC. When local governments make reasonable interventions to promote SCC, they overcome the shortcomings of pursuing short-term economic benefits by pursuing sustainable development goals. If government intervention is increased, then the effect of SCC in improving energy efficiency will also be improved (Li et al., 2016). In addition, the fiscal expenditure can provide sufficient financial input for SCC. Thus, the effects of improving energy efficiency are great in SCC with a high level of fiscal expenditure. The effects of SCC with different levels of material support are all positive but significant only in cities with high material support, which shows that the advanced construction of information infrastructure can provide material guarantee for SCC. Therefore, improving the city’s human capital, financial, and material support level is an important task of SCC.

Table 14 Heterogeneity analysis of urban resource endowment

5 Discussion

Figure 3 shows that the impact of SCC on urban energy efficiency first decreases and then increases, which can be explained by the learning curve effect (Ferioli et al., 2009). At the beginning of SCC, cities did not have sufficient knowledge and experience. However, over time, cities learn from experience and gradually become proficient in utilizing SCC to achieve better urban energy efficiency. Therefore, the driving effect of SCC on urban energy efficiency increases over time.

In terms of spatial heterogeneity, SCC creates clustered shadow areas, as show in Fig. 4. On the one hand, pilot cities absorb the element resources from surrounding cities, which have a negative agglomeration shadow effect on the surrounding cities. On the other hand, the pilot cities spill over knowledge and technology to the surrounding cities, which play a driving role in improving the energy efficiency of nearby cities. Overall, within 100–200 km of the smart cities, SCC has more prominent spillover effects on the energy efficiency of surrounding cities than gathering shadow effects. However, in other regions, the holistic effect of SCC is not significant.

The results in Tables 11 and 12 confirm that SCC improves energy efficiency by innovatively producing green, configuration, and infrastructure effects. The main reasons are as follows. First, green technologies in SCC, such as energy-saving buildings, can help reduce energy consumption to improve energy efficiency (Yan et al., 2023). Second, SCC also generates infrastructure effects, such as smart public transportation systems, based on innovative operation and maintenance of urban infrastructure (Serrano, 2018). Finally, SCC innovatively optimizes the design and allocation of urban resources through information platforms, minimizing energy use to the greatest extent possible, resulting in a configuration effect (Pierce et al., 2017).

In heterogeneity analysis, this study finds that the impact of SCC on energy efficiency in type I large cities is not significant (Table 13). This conclusion contrasts sharply with the traditional point that the larger the urban scale, the more favorable the SCC. The key to solving the energy problem is not to expand the size of the city, but to innovate the urban governance mode and energy policy.

6 Conclusion

6.1 Research conclusion

This study utilizes panel data from 284 cities in China from 2005 to 2019 to investigate the effects of SCC on urban energy efficiency. This study derives several valuable research conclusions. First, smart cities have higher average energy efficiency than other non-pilot cities, implying that China has considerable ECER potential. Second, the results from the PSM-DID method show that SCC significantly improves urban energy efficiency by approximately 1.89% and verify the effectiveness of SCC. Third, with the increase in pilot establishment time, the impact of SCC on urban energy efficiency first decreases and then increases. Fourth, when the surrounding city is too close to an SCC pilot, the effect on energy efficiency is not significant. SCC will have significant influences to promote the increase of surrounding urban’s energy efficiency only outside the shadow area of agglomeration. However, the driving effects of SCC become insignificant when the distance from the smart city is too far. Fifth, SCC improves urban energy efficiency through green, configuration, and infrastructure effects generated by technological innovation. Finally, this study finds that SCC only plays a significantly positive role in improving the urban energy efficiency of large cities, large cities of type II cities, and megacities and above. A high level of human and financial and material resources can significantly promote the effects of SCC.

6.2 Policy recommendations

Considering the aforementioned conclusions, this study proposes the following suggestions. First, this study suggests expediting SCC in a green way from the perspectives of the government and the market. For the local government, relevant departments should allocate appropriate subsidies to highly technical and difficult green innovation projects to stimulate the technological innovation of SCC in a greener way. Furthermore, the marketization process should be sped up, and the feedback mechanism of green consumption in the process of SCC must be strengthened.

Second, the positive role of SCC in promoting energy efficiency in surrounding cities implies that promoting ECER of China by SCC is a feasible solution. However, the spatial distribution of existing SCC in China is still uneven, particularly in densely populated important urban agglomerations, where the construction of smart projects still needs to be deepened. In the next stage, the Chinese government should prioritize supporting SCC in core cities of the Hubei metropolitan area, the Central Plains Economic Belt, and the Hefei metropolitan area. The government should also accelerate SCC in these areas to establish a radiation effect and give play to external effects.

Third, the intermediary mechanism tests verify that SCC improves urban energy efficiency through technological innovation. Therefore, supporting the development of green industries and new infrastructure construction characterized by innovation is beneficial for policymakers, creating a new impetus to promote the sustainable development of SCC. The new infrastructure construction in SCC will also help improve the emergency management capacity of the urban energy systems in the age of intelligence and stimulate the SCC’s potential for technical innovation in improving energy efficiency.

Fourth, heterogeneity analysis results indicate that SCC should categorize cities based on their specific characteristics, including economic development and resource endowment. The cities with weak financial development could pay more attention to accelerating the process of industrial upgrading, which will expand the ECER effect of SCC.

Overall, this study analyzes the spatiotemporal effects of SCC on urban energy efficiency. Smart projects mainly contain multiple dimensions, of which smart environment, smart transportation, and smart governance may also contribute to energy efficiency. Further investigations are needed in the future.