Inﬂuence of Population Income on Energy Consumption for Heating and Its CO 2 Emissions in Cities

: As a result of the increase in city populations, and the high energy consumption and emissions of buildings, cities in general, and buildings in particular, are the focus of attention for public organizations and utilities. Heating is among the largest consumers of energy in buildings. This study examined the inﬂuence of the income of inhabitants on the consumption of energy for heating and the CO 2 emissions in city buildings. The study was carried out using equivalized disposable income as the basis for the analysis and considered the economies of scale of households. The results are shown per inhabitant and household, by independently considering each city. Furthermore, to more clearly identify the inﬂuence of the population income, the study was also carried out without considering the inﬂuence of the climate. The method was implemented in the case of Spain. For this purpose, Spanish cities with more than 50,000 inhabitants were analyzed. The results show that, both per inhabitant and per household, the higher the income of the inhabitants, the greater the consumption of energy for heating and the greater the emissions in the city. This research aimed to help energy utilities and policy makers make appropriate decisions, namely, planning for the development of facilities that do not produce greenhouse gases, and enacting laws to achieve sustainable economies, respectively. The overall aim is to achieve the objective of mitigating the impact of emissions and the scarcity of energy resources. and the study was carried out by eliminating the inﬂuence of the climate on the city. The results obtained again conﬁrm the same ﬁnding: the higher the income, the higher the consumption and the higher the emissions.


Overview
In 2014, 54% of the world's population lived in cities, and it is projected that by 2050, that number will reach 67%. In Europe and North America, more than 80% of the population will live in cities [1]. Currently, between 60% and 80% of energy is consumed in cities where, in addition, CO 2 emissions account for 75% of the total [2]. From this perspective, buildings are the most important energy consumers in cities, in both the residential sector and the tertiary sector (businesses and activities that provide services but do not produce goods, such as banks, stores, government buildings, etc.). These sectors are responsible for the consumption of 36% of energy and the production of 40% of emissions [3]. The two usual forms of energy consumption in buildings are electrical and thermal in the form of natural gas [4], which is used for heating [5]. Specifically, this form of energy accounts for 45% of energy consumption in the OECD [6]. These factors highlight the importance of city buildings for both policy makers and utilities, in terms of legislation for more efficient consumption of energy and lower production of emissions, and appropriate planning of facilities using renewable energy to mitigate the scarcity of energy resources, respectively.
At the global level, this importance is reflected in the Sustainable Development Goals of the United Nations [7]. Specifically, Goal 11 is exclusive to cities: make cities and human Energies 2021, 14, 4531 2 of 18 settlements inclusive, safe, resilient, and sustainable. However, the above issues are also reflected in Goals 7 (regarding the use of renewable energies), 12 (regarding sustainable and responsible use), and 13 (regarding the reduction of CO 2 emissions) [2]. At the European level, The European Green Deal was established to make Europe a climate neutral continent by 2050 [8]. In addition, Next Generation EU, a EUR 750 billion recovery plan, has been launched, in which buildings are among its priority fields of action [9]. This plan focuses on The European Green Deal and is also a response to the COVID-19 pandemic, which has mainly affected cities [10].

Literature Review
The main focus of this research is the consumption of energy for heating in the form of natural gas, and its relationship with population income and CO 2 emissions. For this reason, the following review of the literature was carried out in terms of these three perspectives, the relationship between them, and the novelty of this study in relation to the existing research.
Studies have examined the more efficient use of energy in buildings and the reduction in their emissions. The importance placed on these issues by society is reflected in the increase in the number of these studies. Thus, in the period from 2007 to 2017, their number increased from 9 to 82 [11]. Building envelopes and their influence on energy consumption have been investigated in different types of buildings, namely, non-residential buildings [12]; residential buildings in rural [13] or urban [14] areas; and low-income houses [15]. The conclusion is that by improving the thermal insulation of the building envelope, energy consumption is reduced. The relationship between buildings and the health of occupants has also been studied. Inadequate indoor temperatures imply poor health, and particularly respiratory, cardiovascular, and mental health disorders [16].
Thermal energy in the form of natural gas is commonly used for heating in buildings. Conclusions can thus be drawn about how to reduce natural gas consumption and emissions. The studies carried out on this type of energy have been focused on predicting its daily demand at a global level [17], and at the level of a particular sector, such as residential [18] or residential and commercial [19] sectors. Artificial neural networks [20] and learning methods [21] are among the methods most commonly used to undertake demand prediction.
Gross domestic product (GDP), rather than the income of the population, is usually included in the variables used to make these predictions. Because GDP is a more general variable than income, it does not allow analysis at a more specific level of detail. However, the income variable has been used to analyze the detail of the thermal conditions of the low-income segment in some countries [22].
Regarding the use of GDP, certain studies have used the GDP variable to predict demand, although it is usually used with others, such as price [23], heating degree days [24], population [25], and urbanization [26]. Other studies analyzed the influence of different variables on each other, such as gas consumption and GDP. The conclusion they reached is that the elasticity of gas demand is very low; that is, consumers do not respond to price changes by adapting their consumption or using other sources of energy [27].
Regarding CO 2 emissions, studies have examined the emissions produced in buildings in general, without specifically examining those that come from heating. Studies that have taken natural gas into account as an energy source have analyzed the emissions produced in distributed generation projects [28], or the differences in emissions when district heating systems or heat pumps are used for heating in buildings [29].
However, as was the case with consumption, most studies that analyze emissions have focused on the influence of different variables on each other. Among these, rather than income, GDP has again been used, but in this case, it has been related to energy consumption in general [30][31][32], and few studies have related it to gas consumption in particular [33]. Population is another of the commonly used variables. In two studies comprising a group of 83 countries [34] and the OECD countries [35], the results show that the higher the income, the greater the emissions.
The geographical scope of the studies is relatively wide, and does not focus on local detail. At the country level, household emissions in Ireland [36], and France and the USA [37], have been investigated. The conclusion of both studies is that the higher the income, the greater the emissions. Other studies at the national level have been carried out for China [38] and a group of 170 countries [39]. However, analysis of emissions at the city level has only been carried out for 10 cities considering technical and geophysical factors [40]. In addition, the complete CO 2 emissions of the households of four Chinese cities, in both their urban and rural areas, have been analyzed. The conclusions indicate that emissions are higher in urban areas than in rural areas [41].
The above review indicates that, to the best of the knowledge of the authors, the previous studies have not addressed the analysis of energy consumption for heating and its CO 2 emissions in cities using the approach undertaken in the current research: at the income level of the population, considering the cities independently, and eliminating the influence of the climate. Hence, the authors consider this study to be novel.

Aim of the Research
The importance for energy consumption and CO 2 emissions of cities in general, their buildings in particular and, more specifically, thermal energy for heating, is highlighted in this research. It is necessary to know the starting point to allow governments and utilities to take the appropriate measures to reduce energy consumption and emissions, and plan the necessary infrastructure to achieve this. For this purpose, cities must be considered to be independent elements of study, rather than being treated with a single criterion for the application of the same solution to all cities. For this reason, this study focused on the energy consumption related to heating in city buildings and the emissions they produce. To allow analysis and comparison of the cities as independent elements, the inhabitants and households are used as basic units, and the energy consumption for heating of all the buildings in the city is assigned to these units. For this purpose, the consumption corresponding to non-residential buildings is also distributed among the inhabitants and households. This is because the purpose of non-residential buildings is to fulfill the needs of the city's residents, and the number of these buildings is proportional to the number of inhabitants.
The methodology used in the study is based on other classical approaches that have been used recently [42][43][44][45], and on others that are based on the creation of synthetic populations [46]. These approaches use aggregated public data to represent the population of each city in a simplified manner. The practical application of the method was implemented for the 145 Spanish cities, considered individually, with more than 50,000 inhabitants.
The main contributions of this paper are to: analyze energy consumption for heating and related emissions in buildings; study energy consumption and related emissions based on the income of building inhabitants; analyze the results at the inhabitant and household level; consider all of the cities of a country separately rather than in aggregate form; and eliminate the influence of the climate on the results. To the best of the authors' knowledge, a similar investigation has not been carried out previously.
The paper is structured as follows: Section 2 presents the proposed methodology; the application of the method to the case of Spain, in which the scope is defined as cities with more than 50,000 inhabitants, is shown in Section 3; in Section 4 the results are presented and discussed; finally, Section 5 summarizes the findings with respect to the study's aims.

Method
The sequence followed in the proposed method was: first, define the study area; second, define the criteria for selecting the cities under study; third, classify cities according to the income of their inhabitants; fourth, determine the consumption of thermal origin of the buildings, per inhabitant and per household (it should be recalled that energy for heating usually has a thermal origin in the form of natural gas); fifth, eliminate the influence of the climate on consumption; and sixth, calculate the CO 2 emissions produced by this consumption. Because the climate is a variable that notably influences the consumption of heating, this influence was eliminated. In addition, other variables can also influence energy consumption: population density, income of its inhabitants, characteristics of the house, age of buildings, etc. However, their elimination is beyond the scope of this study. All of the data used was publicly accessible and, where possible, of governmental origin. The aim was that the obtained results would provide individualized information for each city. Thus, the information relating to the energy consumed by each city allowed the determination of the power demand for each city, and thus the corresponding level of emissions and the requirement for energy from renewable sources to reduce the city's emissions. Figure 1 presents the methodological approach.

Method
The sequence followed in the proposed method was: first, define the study area; second, define the criteria for selecting the cities under study; third, classify cities according to the income of their inhabitants; fourth, determine the consumption of thermal origin of the buildings, per inhabitant and per household (it should be recalled that energy for heating usually has a thermal origin in the form of natural gas); fifth, eliminate the influence of the climate on consumption; and sixth, calculate the CO2 emissions produced by this consumption. Because the climate is a variable that notably influences the consumption of heating, this influence was eliminated. In addition, other variables can also influence energy consumption: population density, income of its inhabitants, characteristics of the house, age of buildings, etc. However, their elimination is beyond the scope of this study. All of the data used was publicly accessible and, where possible, of governmental origin. The aim was that the obtained results would provide individualized information for each city. Thus, the information relating to the energy consumed by each city allowed the determination of the power demand for each city, and thus the corresponding level of emissions and the requirement for energy from renewable sources to reduce the city's emissions. Figure 1 presents the methodological approach.

Classification of Cities by Income of Their Inhabitants
First, the geographical area of interest was selected, which could be as large as desired. The cities to be studied and that met a certain criterion of interest were chosen. This criterion could include the number of inhabitants, the possible saturation of its infrastructure, etc. Next, each city was assigned a certain income value of its inhabitants, thus allowing a segmentation of that income. This was based on different criteria, such as the National Minimum Wage (NMW) or a relationship to it.
To perform the analysis, the main statistical data of thermal consumption for each group of cities were studied: Mean: Standard deviation: Median:

Classification of Cities by Income of Their Inhabitants
First, the geographical area of interest was selected, which could be as large as desired. The cities to be studied and that met a certain criterion of interest were chosen. This criterion could include the number of inhabitants, the possible saturation of its infrastructure, etc. Next, each city was assigned a certain income value of its inhabitants, thus allowing a segmentation of that income. This was based on different criteria, such as the National Minimum Wage (NMW) or a relationship to it.
To perform the analysis, the main statistical data of thermal consumption for each group of cities were studied: Mean: Standard deviation: Median: th term if the total number of the elements is an odd number, where n i is the number of cities that belong to group i; E i is the mean energy consumed in group i; E ij is the energy consumption of city j, which is in group i; s i is the standard deviation of the energy consumed in the cities of group i. The consumption of thermal energy and cities' consumption were listed in ascending order to calculate the median. Furthermore, to analyze the variations in consumption, an index was defined. A similar index for monthly electric energy consumption was defined in [47]. The income variation index (IVI) was defined as follows: where IV I i is the index of the group of cities that have size i, E i is the energy consumption mean value of group i, and E is the mean energy consumption of all cities (of all groups). This index allows visualization of the variations of each group of cities, and identification of those with the highest and lowest consumption. A common reference was selected to make the comparison between the city groups. For this purpose, different possible criteria may be used. The most basic is the income per inhabitant. However, equivalized disposable income is another possible criterion. Because this research was carried out both per inhabitant and per household, in the opinion of the authors, the latter criterion is more appropriate and was therefore used in the analysis.

Equivalized Disposable Income
Households are characterized by a certain economy of scale depending on the number of members and the ages of the people who form it. This is considered in the concept of equivalized disposable income, which also considers total household income after taxes. Each household was assigned an equivalent size, which is the sum of the weights of all of the members of a given household. The weight of each member was calculated using the modified OECD equivalence scale. This scale attributes the following weights to each member: 1 to the first adult, 0.5 to the other adults in the household, and 0.3 to those under 14 years of age. Finally, equivalized disposable income was calculated by dividing the household's total income from all sources by its equivalent size. Using the equivalized disposable income of each household, it is possible to obtain that corresponding to the city. Thus: ES = n i + 0.5 n j + 0.5 n k (5) where ES is the equivalent size, n i is equal to 1 for the first adult in the household, n j is the total number of people over 14 years of age minus 1, n k is the number of people under 14 years of age living in the household, and EDI is the equivalent disposable income. Therefore, it is necessary to have access to data on inhabitants per household and their ages, and on disposable income per inhabitant and city. Note that, hereinafter, the word income is used to refer to the equivalized disposable income.

Thermal Energy Consumption
Energy consumption for heating in homes is produced almost exclusively by means of thermal energy in the form of natural gas. The pressure at these supply points is equal to or less than 4 bar. The official data that are usually published for this supply pressure do not distinguish between whether these consumption points are residential, commercial, or administrative office buildings. In addition, stores and administrative offices exist in a city to fulfill the needs of its inhabitants. For this reason, it was decided to carry out the study by distributing the energy consumed in these non-residential buildings among all citizens. Therefore, the allocated energy consumption includes both that consumed in households and that of stores and administrative offices. All information from public databases was processed to obtain the necessary data for the investigation.

Elimination of the Influence of Climate
Climate is a parameter that significantly influences energy consumption in cities [48]. Energy consumption varies depending on the climate [49]. To better analyze the influence of income on consumption for heating, the influence of climate can be eliminated. For this Energies 2021, 14, 4531 6 of 18 purpose, each city must be assigned a climate, for which the city must be geographically located on the climate map of the study area. Subsequently, the mean consumption of the climatic zone to which it belongs must be identified.
The correction is made by a factor [43] as follows: where E ci is the mean energy consumed in the climate zone i; E c is the mean energy consumed in all cities studied; and K ci is the correction factor by which each city will be affected according to its climate. Finally, the energy consumption of the city must be corrected. The correction factor is applied to the energy consumed by each city according to the climatic zone in which it is located.

CO 2 Emissions
CO 2 emissions are obtained based on energy consumption in buildings. Therefore, based on the information obtained on energy consumed, it is possible to determine the emissions.

Application of the Method to the Case of Spain
The case of Spain is presented as an application of the proposed method. As a study area, Spain as a whole was considered. The data used were those corresponding to the year 2016. The study cities were those with more than 50,000 inhabitants. These represent more than 50% of the Spanish population [50]. Knowledge of the consumption of thermal energy and the emissions they produce will allow correct planning of infrastructure to cover future needs, in addition to promoting ad hoc measures to reduce energy consumption and emissions in each city.

Classification of Study Cities
In Spain there are 145 cities with more than 50,000 inhabitants. For each of these, the income of its inhabitants, its thermal energy consumption, and its CO 2 emissions were considered. The cities were separated into five groups based on the mean income value of their inhabitants. This value was assigned to each of the cities. NMW was chosen as the basis for segmentation and its value in 2016 amounted to EUR 7429.97 per year [51]. Initially, a division into groups based on a differentiation at 0.5 NMW was studied. However, this resulted in a highly unbalanced number of cities per group. The number of cities with income between 2 and 2.5 NMW was much higher than the remainder. To achieve a more balanced number of cities per group, groups with different multiples of the NMW were established. Thus, the difference between some groups is 0.5 NMW and in others it is 1 NMW.
Cities with incomes less than 2 times the NMW form Group 1; those between 2 and 2.5 times the NMW form Group 2; Group 3 comprises those with income between 2.5 and 3 times the NMW; Group 4 includes those whose inhabitants have incomes between 3 and 4 NMW; finally, the cities with incomes greater than 4 NMW make up Group 5. The cities that make up each group, arranged alphabetically, are shown in Table 1.
Normally, the information on the average income of the inhabitants is provided in the databases, and is the situation in Spain. Alternatively, if information corresponding to the median income was available, rather the average, this could be used instead.

Thermal Energy Consumption
Data for the study were obtained from the Ministry of Economic Affairs and Digital Transformation. Those corresponding to population and cities were taken from the Spanish National Statistics Institute [52], and those for consumption were taken from the National Commission on Markets and Competition [53].

CO 2 Emissions
Directive 2010/31/UE of the European Parliament and the Council of 19 May 2010 was issued in 2010 by the European Union. This directive establishes energy performance of buildings, based on which, Spain established the emission factor for natural gas at 0.252 t CO 2 /MWh [54].

Sample of Study
The study area considered comprised Spain and, separately, the 145 cities with more than 50,000 inhabitants. The consumption of energy for heating in buildings was studied. The data obtained from public sources were processed to obtain the conclusions of the investigation. Five groups of cities were defined based on the NMW.
The number of cities in each group is presented in Figure 2. Almost 80% of the cities have incomes lower than 2.5 times the NMW, of which the cities with NMW between 2 and 2.5 are the most numerous. The number of cities decreases as the NMW of their inhabitants increases, with those corresponding to incomes greater than 4 NMW the least numerous. Regarding the population of cities, almost half of the inhabitants have incomes between 2 and 2.5 times the NMW (Group 2) and almost 25% have incomes between 3 and 4 times the NMW (Group 4), despite accounting for only 5% of cities. Cities with fewer inhabitants are those with incomes greater than 4 NMW (Group 5), for which the number of inhabitants is  and 4 times the NMW (Group 4), despite accounting for only 5% of cities. Cities with fewer inhabitants are those with incomes greater than 4 NMW (Group 5), for which the number of inhabitants is less than 2% ( Figure 3). The main statistical data of population and households are shown in Table 2. Both have a similar behavior.

Energy Consumption per Group
Statistical data of the energy consumed in cities, in MWh per year, are shown in Table  3. Group 4 has the highest consumption, although it has half the population of Group 2, which has the next highest, but similar, consumption. These are followed by Group 3 which, although it has a population similar to that of Group 1, has a consumption that is almost five-fold higher. The final group is that with incomes above 4 NMW, which has a similar consumption, despite having a population 10-fold lower than that of Group 1. The total consumption of each group, in GWh per year, and the of the mean groups, are shown in Figure 4.  and 4 times the NMW (Group 4), despite accounting for only 5% of cities. Cities with fewer inhabitants are those with incomes greater than 4 NMW (Group 5), for which the number of inhabitants is less than 2% (Figure 3). The main statistical data of population and households are shown in Table 2. Both have a similar behavior.

Energy Consumption per Group
Statistical data of the energy consumed in cities, in MWh per year, are shown in Table  3. Group 4 has the highest consumption, although it has half the population of Group 2, which has the next highest, but similar, consumption. These are followed by Group 3 which, although it has a population similar to that of Group 1, has a consumption that is almost five-fold higher. The final group is that with incomes above 4 NMW, which has a similar consumption, despite having a population 10-fold lower than that of Group 1. The total consumption of each group, in GWh per year, and the of the mean groups, are shown in Figure 4.

Energy Consumption per Group
Statistical data of the energy consumed in cities, in MWh per year, are shown in Table 3. Group 4 has the highest consumption, although it has half the population of Group 2, which has the next highest, but similar, consumption. These are followed by Group 3 which, although it has a population similar to that of Group 1, has a consumption that is almost five-fold higher. The final group is that with incomes above 4 NMW, which has a similar consumption, despite having a population 10-fold lower than that of Group 1. The total consumption of each group, in GWh per year, and the of the mean groups, are shown in Figure 4.    Table 4 presents the statistical data of the consumption per household of each group, in MWh per year, and Figure 5 shows the mean values and the mean consumption of all the groups. Consumption increases as income increases, and the group of cities with incomes greater than 4 times the NMW has the highest consumption. With the exception of the group of cities with incomes below 2 NMW, the groups have a higher value than the median. The difference between the consumption of the group with less than 2 NMW and that of the remainder is marked. Thus, the next highest group, Group 2, consumes almost four-fold that of Group 1, and that with the highest consumption, Group 5, consumes more than seven-fold that of Group 1. The consumption of the highest income group is more than 35% greater than that of the next highest.

Energy Consumption per Inhabitant
To calculate consumption per inhabitant, the value of consumption per household in each city was used. Furthermore, the number of inhabitants per household in each city was determined. Using these data, the information corresponding to energy consumption per inhabitant was calculated.
The main statistical data of the consumption per inhabitant of each group, in MWh per year, are shown in Table 5, and the mean values and the mean consumption of all the groups are presented in Figure 7. As in the case of energy consumed per household, the higher the income in the cities, the higher the consumption. Similarly, only the consumption of cities with incomes less than 2 NMW is less than the mean consumption. In this case, the greatest difference between groups occurs between Groups 1 and 2; consumption is three-fold greater in Group 2. Consumption of the group with the higher income is sixfold greater. Therefore, the differences between the groups are somewhat smaller than in consumption per household.
Analyzing the variations in consumption using the IVI index (Figure 8), it is once again found that, as income increases in city groups, consumption increases. In this case, the increase with respect to the previous group of cities is less pronounced. The index in Group 1 is 0.3, equal to that in the case of households, whereas in Group 5 it is 1.94 and, therefore, lower than that in the case of households, which is 2.32.
Therefore, the higher the income, the higher the consumption per inhabitant. Consumptions was analyzed using the IVI index defined in Section 2.1. Figure 6 presents the variation of the index in the groups. The higher the income in the cities, the higher the index and, therefore, the consumption. The lowest value of the index is 0.3 in the group with incomes less than 2 times the NMW; that is, consumption in these cities is 70% lower than the average consumption. On the contrary, cities with incomes greater than 4 times the NMW have an index value of 2.32; that is, their consumption is 132% higher than the average. Therefore, there is a consumption difference of more than 200% between the cities with the highest and lowest consumption values.

Energy Consumption per Inhabitant
To calculate consumption per inhabitant, the value of consumption per household in each city was used. Furthermore, the number of inhabitants per household in each city was determined. Using these data, the information corresponding to energy consumption per inhabitant was calculated.
The main statistical data of the consumption per inhabitant of each group, in MWh per year, are shown in Table 5, and the mean values and the mean consumption of all the groups are presented in Figure 7. As in the case of energy consumed per household, the higher the income in the cities, the higher the consumption. Similarly, only the consumption of cities with incomes less than 2 NMW is less than the mean consumption. In this case, the greatest difference between groups occurs between Groups 1 and 2; consumption is three-fold greater in Group 2. Consumption of the group with the higher income is sixfold greater. Therefore, the differences between the groups are somewhat smaller than in consumption per household.
Analyzing the variations in consumption using the IVI index (Figure 8), it is once again found that, as income increases in city groups, consumption increases. In this case, the increase with respect to the previous group of cities is less pronounced. The index in Group 1 is 0.3, equal to that in the case of households, whereas in Group 5 it is 1.94 and, therefore, lower than that in the case of households, which is 2.32.
Therefore, the higher the income, the higher the consumption per inhabitant. In conclusion, the higher the income, the higher the consumption per household.

Energy Consumption per Inhabitant
To calculate consumption per inhabitant, the value of consumption per household in each city was used. Furthermore, the number of inhabitants per household in each city was determined. Using these data, the information corresponding to energy consumption per inhabitant was calculated.
The main statistical data of the consumption per inhabitant of each group, in MWh per year, are shown in Table 5, and the mean values and the mean consumption of all the groups are presented in Figure 7. As in the case of energy consumed per household, the higher the income in the cities, the higher the consumption. Similarly, only the consumption of cities with incomes less than 2 NMW is less than the mean consumption. In this case, the greatest difference between groups occurs between Groups 1 and 2; consumption is three-fold greater in Group 2. Consumption of the group with the higher income is six-fold greater. Therefore, the differences between the groups are somewhat smaller than in consumption per household. Analyzing the variations in consumption using the IVI index (Figure 8), it is once again found that, as income increases in city groups, consumption increases. In this case, the increase with respect to the previous group of cities is less pronounced. The index in Group 1 is 0.3, equal to that in the case of households, whereas in Group 5 it is 1.94 and, therefore, lower than that in the case of households, which is 2.32.
Therefore, the higher the income, the higher the consumption per inhabitant.

Energy Consumption without the Influence of Climate
The climate influences the energy consumption in each city. To analyze the influence of the income of the inhabitants on the energy consumption, without being masked by another important variable, the influence of the climate was eliminated. For this, the 145 analyzed cities were located on the climate map of Spain. Thus, each city was assigned a climate zone. Using the research carried out in [49], the consumption per household (Figure 9) and per inhabitant (Figure 10) of each city as a function of its climate were identified.

Energy Consumption without the Influence of Climate
The climate influences the energy consumption in each city. To analyze the influence of the income of the inhabitants on the energy consumption, without being masked by another important variable, the influence of the climate was eliminated. For this, the 145 analyzed cities were located on the climate map of Spain. Thus, each city was assigned a climate zone. Using the research carried out in [49], the consumption per household (Figure 9) and per inhabitant (Figure 10) of each city as a function of its climate were identified.

Energy Consumption without the Influence of Climate
The climate influences the energy consumption in each city. To analyze the influence of the income of the inhabitants on the energy consumption, without being masked by another important variable, the influence of the climate was eliminated. For this, the 145 analyzed cities were located on the climate map of Spain. Thus, each city was assigned a climate zone. Using the research carried out in [49], the consumption per household ( Figure 9) and per inhabitant (Figure 10) of each city as a function of its climate were identified.  Table 6 and Figure 11, and Table 7 and Figure 12, show the main statistical parameters and mean consumption, according to the income of each group, per household and inhabitant, respectively.
The conclusions regarding the consumption per household obtained by eliminating the influence of the climate are similar to those obtained previously: the higher the income, the higher the consumption. However, the differences, although large, are not as pronounced, and are about half the magnitude of the previous values. Thus, the group with the highest income has a consumption that is more than three-fold higher than the group with the lowest income. In addition, the consumption of the group with incomes above 4 NMW is 15% higher than that of the next highest. A similar result is found with the lowest income group compared to the next highest, for which the difference is more than double.
This also occurs when analyzing the results obtained per inhabitant by eliminating the influence of the climate: higher income implies higher consumption. The differences between the different groups of cities are approximately half those that existed without eliminating the influence of the climate. However, a difference is observed in the groups with incomes greater than 3 times the NMW. In this case, their consumption values are very similar, and those of Group 4 are only 3% higher than those of Group 5.  Table 6 and Figure 11, and Table 7 and Figure 12, show the main statistical parameters and mean consumption, according to the income of each group, per household and inhabitant, respectively.
The conclusions regarding the consumption per household obtained by eliminating the influence of the climate are similar to those obtained previously: the higher the income, the higher the consumption. However, the differences, although large, are not as pronounced, and are about half the magnitude of the previous values. Thus, the group with the highest income has a consumption that is more than three-fold higher than the group with the lowest income. In addition, the consumption of the group with incomes above 4 NMW is 15% higher than that of the next highest. A similar result is found with the lowest income group compared to the next highest, for which the difference is more than double.
This also occurs when analyzing the results obtained per inhabitant by eliminating the influence of the climate: higher income implies higher consumption. The differences between the different groups of cities are approximately half those that existed without eliminating the influence of the climate. However, a difference is observed in the groups with incomes greater than 3 times the NMW. In this case, their consumption values are very similar, and those of Group 4 are only 3% higher than those of Group 5. Considering the consumption of the cities calculated in Sections 4.3 and 4.4, and the consumption based on the climate of each city, the consumption of the cities per household and inhabitant was obtained without the influence of the climate. Thus, Table 6 and Figure 11, and Table 7 and Figure 12, show the main statistical parameters and mean consumption, according to the income of each group, per household and inhabitant, respectively. The conclusions regarding the consumption per household obtained by eliminating the influence of the climate are similar to those obtained previously: the higher the income, the higher the consumption. However, the differences, although large, are not as pronounced, and are about half the magnitude of the previous values. Thus, the group with the highest income has a consumption that is more than three-fold higher than the group with the lowest income. In addition, the consumption of the group with incomes above 4 NMW is 15% higher than that of the next highest. A similar result is found with the lowest income group compared to the next highest, for which the difference is more than double.

CO2 Emissions
In accordance with the method presented in Section 3.3, Spain established the emission factor for natural gas at 0.252 t CO2/MWh. Therefore, once the demand for this type of energy is known, its emissions can be obtained. In this section, the emissions produced

CO2 Emissions
In accordance with the method presented in Section 3.3, Spain established the emission factor for natural gas at 0.252 t CO2/MWh. Therefore, once the demand for this type of energy is known, its emissions can be obtained. In this section, the emissions produced This also occurs when analyzing the results obtained per inhabitant by eliminating the influence of the climate: higher income implies higher consumption. The differences between the different groups of cities are approximately half those that existed without eliminating the influence of the climate. However, a difference is observed in the groups with incomes greater than 3 times the NMW. In this case, their consumption values are very similar, and those of Group 4 are only 3% higher than those of Group 5.

CO 2 Emissions
In accordance with the method presented in Section 3.3, Spain established the emission factor for natural gas at 0.252 t CO 2 /MWh. Therefore, once the demand for this type of energy is known, its emissions can be obtained. In this section, the emissions produced by heating in cities are analyzed according to the income of their inhabitants. As undertaken previously, emissions are analyzed with and without the influence of the climate. Figures 13 and 14 present the CO 2 emissions by households and inhabitants, respectively. In both cases, a similar behavior is observed: the higher the income, the higher the emissions. Regarding household emissions, only cities with incomes less than 2 times the NMW have emissions below the mean, and are 70% lower. On the contrary, cities with incomes above 4 NMW produce the most emissions, which are almost 90% higher than the mean. In addition, the jumps that occur between Groups 1 and 2, and between Groups 4 and 5, are greater than that in the groups who have incomes between 2 and 4 times the NMW.
Emissions per person display a similar behavior to those of households. However, the difference in emissions between Groups 1 and 2 is significantly more pronounced, and the emissions of the latter are almost four-fold higher than those of the former. By comparison, the increase in emissions among higher income groups is less pronounced than in the case of households. Regarding their comparison with respect to mean emissions, the group with the lowest emissions, Group 1, and the group with the largest, Group 5, have a behavior similar to that of households. by heating in cities are analyzed according to the income of their inhabitants. As undertaken previously, emissions are analyzed with and without the influence of the climate. Figures 13 and 14 present the CO2 emissions by households and inhabitants, respectively. In both cases, a similar behavior is observed: the higher the income, the higher the emissions. Regarding household emissions, only cities with incomes less than 2 times the NMW have emissions below the mean, and are 70% lower. On the contrary, cities with incomes above 4 NMW produce the most emissions, which are almost 90% higher than the mean. In addition, the jumps that occur between Groups 1 and 2, and between Groups 4 and 5, are greater than that in the groups who have incomes between 2 and 4 times the NMW.
Emissions per person display a similar behavior to those of households. However, the difference in emissions between Groups 1 and 2 is significantly more pronounced, and the emissions of the latter are almost four-fold higher than those of the former. By comparison, the increase in emissions among higher income groups is less pronounced than in the case of households. Regarding their comparison with respect to mean emissions, the group with the lowest emissions, Group 1, and the group with the largest, Group 5, have a behavior similar to that of households.  Emissions per household and inhabitant, after eliminating the influence of the climate, are reflected in Figures 15 and 16, respectively. In this case, a similar behavior is once again evident: cities with higher incomes produce higher emissions. In both cases, only the cities with incomes below 2 NMW produce emissions lower than the mean, and furthermore, these cities have a greater difference with respect to the emissions of the upper group of cities. In the case of emissions per household, the growth between groups is approximately linear. In the case of emissions per inhabitant, growth among groups with incomes between 2 and 4 NMW is also approximately linear. However, cities with more than 4 NMW produce slightly fewer emissions than those in the group of cities between 3 and 4 times the NMW, although the difference is 3%. by heating in cities are analyzed according to the income of their inhabitants. As undertaken previously, emissions are analyzed with and without the influence of the climate. Figures 13 and 14 present the CO2 emissions by households and inhabitants, respectively. In both cases, a similar behavior is observed: the higher the income, the higher the emissions. Regarding household emissions, only cities with incomes less than 2 times the NMW have emissions below the mean, and are 70% lower. On the contrary, cities with incomes above 4 NMW produce the most emissions, which are almost 90% higher than the mean. In addition, the jumps that occur between Groups 1 and 2, and between Groups 4 and 5, are greater than that in the groups who have incomes between 2 and 4 times the NMW.
Emissions per person display a similar behavior to those of households. However, the difference in emissions between Groups 1 and 2 is significantly more pronounced, and the emissions of the latter are almost four-fold higher than those of the former. By comparison, the increase in emissions among higher income groups is less pronounced than in the case of households. Regarding their comparison with respect to mean emissions, the group with the lowest emissions, Group 1, and the group with the largest, Group 5, have a behavior similar to that of households.  Emissions per household and inhabitant, after eliminating the influence of the climate, are reflected in Figures 15 and 16, respectively. In this case, a similar behavior is once again evident: cities with higher incomes produce higher emissions. In both cases, only the cities with incomes below 2 NMW produce emissions lower than the mean, and furthermore, these cities have a greater difference with respect to the emissions of the upper group of cities. In the case of emissions per household, the growth between groups is approximately linear. In the case of emissions per inhabitant, growth among groups with incomes between 2 and 4 NMW is also approximately linear. However, cities with more than 4 NMW produce slightly fewer emissions than those in the group of cities between 3 and 4 times the NMW, although the difference is 3%. Emissions per household and inhabitant, after eliminating the influence of the climate, are reflected in Figures 15 and 16, respectively. In this case, a similar behavior is once again evident: cities with higher incomes produce higher emissions. In both cases, only the cities with incomes below 2 NMW produce emissions lower than the mean, and furthermore, these cities have a greater difference with respect to the emissions of the upper group of cities. In the case of emissions per household, the growth between groups is approximately linear. In the case of emissions per inhabitant, growth among groups with incomes between 2 and 4 NMW is also approximately linear. However, cities with more than 4 NMW produce slightly fewer emissions than those in the group of cities between 3 and 4 times the NMW, although the difference is 3%.

Conclusions
More than 50% of the world's population lives in cities, and that share is expected to exceed two-thirds by 2050. In certain areas, the urbanized proportion of the population is even larger. Furthermore, buildings consume more than 35% of energy and produce 40% of CO2 emissions. In particular, heating is among the uses that consumes the most energy, accounting for almost 50%, and produces the most emissions. Hence, cities in general, and buildings in particular, have significant importance for both public administration and utilities. This is even more so due to the COVID-19 pandemic, by which cities have been the most affected. Cities and buildings are important to public administrators because they are responsible for legislating to achieve sustainable development goals, and to utilities because they must plan infrastructure for the proper functioning of the cities.
Because of the importance of heating in buildings, this paper presents a method to analyze the influence of the income of city inhabitants on consumption and its related emissions. The study was carried out at the city level and was based on equivalized disposable income, which was used to consider the economies of scale of households. The method selected cities in a geographic area and grouped them based on the national minimum wage. The study was carried out using households and inhabitants as the basic unit. The energy consumed in all of the buildings of each city was distributed among all of its inhabitants and all of its households. In addition, to more clearly analyze the influence of income, the influence of climate was removed. For this purpose, it was necessary to locate each city on a climate map of the study area and thus assign it to a climate zone. To facilitate the analysis, an index was introduced.
The method was applied to 145 Spanish cities with more than 50,000 inhabitants. The inhabitants of the cities and the members of the households were identified, in addition to the heating energy consumed in all of the buildings. The results show that the higher the income, the higher the consumption for heating and the higher the emissions, at both

Conclusions
More than 50% of the world's population lives in cities, and that share is expected to exceed two-thirds by 2050. In certain areas, the urbanized proportion of the population is even larger. Furthermore, buildings consume more than 35% of energy and produce 40% of CO2 emissions. In particular, heating is among the uses that consumes the most energy, accounting for almost 50%, and produces the most emissions. Hence, cities in general, and buildings in particular, have significant importance for both public administration and utilities. This is even more so due to the COVID-19 pandemic, by which cities have been the most affected. Cities and buildings are important to public administrators because they are responsible for legislating to achieve sustainable development goals, and to utilities because they must plan infrastructure for the proper functioning of the cities.
Because of the importance of heating in buildings, this paper presents a method to analyze the influence of the income of city inhabitants on consumption and its related emissions. The study was carried out at the city level and was based on equivalized disposable income, which was used to consider the economies of scale of households. The method selected cities in a geographic area and grouped them based on the national minimum wage. The study was carried out using households and inhabitants as the basic unit. The energy consumed in all of the buildings of each city was distributed among all of its inhabitants and all of its households. In addition, to more clearly analyze the influence of income, the influence of climate was removed. For this purpose, it was necessary to locate each city on a climate map of the study area and thus assign it to a climate zone. To facilitate the analysis, an index was introduced.
The method was applied to 145 Spanish cities with more than 50,000 inhabitants. The inhabitants of the cities and the members of the households were identified, in addition to the heating energy consumed in all of the buildings. The results show that the higher the income, the higher the consumption for heating and the higher the emissions, at both

Conclusions
More than 50% of the world's population lives in cities, and that share is expected to exceed two-thirds by 2050. In certain areas, the urbanized proportion of the population is even larger. Furthermore, buildings consume more than 35% of energy and produce 40% of CO 2 emissions. In particular, heating is among the uses that consumes the most energy, accounting for almost 50%, and produces the most emissions. Hence, cities in general, and buildings in particular, have significant importance for both public administration and utilities. This is even more so due to the COVID-19 pandemic, by which cities have been the most affected. Cities and buildings are important to public administrators because they are responsible for legislating to achieve sustainable development goals, and to utilities because they must plan infrastructure for the proper functioning of the cities.
Because of the importance of heating in buildings, this paper presents a method to analyze the influence of the income of city inhabitants on consumption and its related emissions. The study was carried out at the city level and was based on equivalized disposable income, which was used to consider the economies of scale of households. The method selected cities in a geographic area and grouped them based on the national minimum wage. The study was carried out using households and inhabitants as the basic unit. The energy consumed in all of the buildings of each city was distributed among all of its inhabitants and all of its households. In addition, to more clearly analyze the influence of income, the influence of climate was removed. For this purpose, it was necessary to locate each city on a climate map of the study area and thus assign it to a climate zone. To facilitate the analysis, an index was introduced.
The method was applied to 145 Spanish cities with more than 50,000 inhabitants. The inhabitants of the cities and the members of the households were identified, in addition to the heating energy consumed in all of the buildings. The results show that the higher the income, the higher the consumption for heating and the higher the emissions, at both the household and the inhabitant levels. Subsequently, the climate of each city was identified, and the study was carried out by eliminating the influence of the climate on the city. The results obtained again confirm the same finding: the higher the income, the higher the consumption and the higher the emissions.