Investigation of Energy Consumption via an Equivalent Thermal Resistance-Capacitance Model for a Northern Rural Residence

: To achieve the goal of carbon peaking, it is crucial to reduce both carbon emissions and energy consumption during the operational stage of residential buildings. This paper proposed a method for assessing carbon emissions and energy consumption for an energy system utilized in a rural residence. First, an equivalent thermal resistance-capacitance model for a rural residence was established. The parameters of thermal resistance and capacitance were optimized based on the data collected from an operating air source heat pump heating system. On this basis, the energy consumption was derived, and it was compared with real consumption. Then, a method of estimating house energy consumption index per unit area under speciﬁed weather conditions was proposed. Finally, the carbon emissions of three heating types—heating driven by air source heat pump, gas boiler, and coal boiler—were compared. Results showed that the derived energy consumption index per unit area was 46.77 W/m 2 . The carbon emissions of the air source heat pump were 1406.1 kgCO 2 .


Introduction
In recent years, the intensification of the greenhouse effect resulting from massive CO 2 emissions has been identified as a fundamental cause of global warming [1].China has announced the implementation of more effective policies and measures, with the aim of achieving a carbon emissions peak before 2030 [2].Building energy consumption, as one of three major energy consumers, plays an important role in energy saving and emissions reduction [3].
Building full life cycle decarbonization was a comprehensive approach that involved optimizing an entire building's life cycle to minimize carbon emissions [4].By evaluating the entire life cycle of buildings, policies for energy conservation and carbon emissions reduction were developed to achieve the goal of reaching peak carbon as soon as possible.Luo et al. [5] analyzed three public buildings-office, hospital, and school-g to quantitatively study the impact of factors such as structure, materials, architectural life, and other factors on carbon emissions.Xu et al. [6] proposed a complete optimization method for achieving energy-efficient and low-carbon schools throughout their entire life cycle based on evaluation indexes of energy saving and life cycle decarbonization.Oscar et al. [7] made a comparative analysis of the energy consumption and environmental impact of residential buildings in Spain and Colombia through life-cycle evaluation, revealing that the building envelope was a key factor affecting energy consumption and carbon emissions.
Energies 2023, 16, 7835 2 of 18 Biswas et al. [8] analyzed the life-cycle carbon emissions of an engineering museum and discovered that the use of a sophisticated building management system could achieve nearly 63% emissions reduction during operation.Luo et al. [9] established a life-cycle optimization approach that considers the increase in embodied energy and carbon for a comprehensive assessment of economic, energy, and environmental performance.In a comparative analysis of the life-cycle cost and carbon emissions of typical commercial buildings, Kneifel et al. [10] found that the selection of building materials and technologies had a significant impact on carbon emissions.In a life-cycle assessment of a typical office building in Norway, Rabani et al. [11] discovered that retrofitting measures resulted in a reduction of total net emissions by up to 52%.
Moreover, carbon and energy software as well as building information modeling (BIM) were also utilized to calculate and analyze life-cycle carbon emissions.Zhang et al. [12] proposed a BIM-based approach for integrating life cycle carbon emissions and costs of public buildings, while Peng et al. [13] estimated life cycle carbon emissions of an office building using Ecotect and BIM.
For predicting and modeling building carbon emissions, Liang et al. [14] proposed a rapid assessment model to reduce operational carbon emissions for commercial buildings.Zhang et al. [15] used scenario analysis based on the long-range energy alternatives planning system model to predict carbon emissions in public buildings in China.Verbeeck et al. [16] proposed a life-cycle inventory model and analyzed energy consumption and carbon emissions of five different forms of residential buildings.Shao et al. [17] conducted systematic carbon accounting to estimate carbon emissions of a specific building in Beijing economic-technological development area.Iddon et al. [18] utilized BIM to estimate carbon emissions during the operational phase of a typical four-bedroom detached house.Zhang et al. [19] and Zhu et al. [20] employed a process-based approach to estimate carbon emissions from the construction sector in China.Gan et al. [21] and Mao et al. [22] used a process analysis method and determined carbon emissions per unit area of the building.Zhang et al. [23] proposed an input-output method to calculate carbon emissions of urban building stock.Employing Monte Carlo simulation based on input-output analysis, Acquaye et al. [24] analyzed solidified carbon emissions from apartment buildings.
Literature reviews showed that the study of carbon emissions mainly concentrated on life cycle evaluation, and its modeling usually relied on the entire building, while carbon emissions during the operational stage accounted for 70-82% of overall life-cycle emissions in the building industry [25].Therefore, investigating and reducing these carbon emissions is crucial to achieving the carbon peak goal.Lomas et al. [26] and Rogers et al. [27] studied the emissions reduction of existing buildings and gave corresponding carbon emissions reduction suggestions.Airaksinen et al. [28] studied a new office building through the design schemes and provided different alternatives to influence building energy consumption and CO 2 -equivalent emissions of energy implied by building materials.Ye et al. [29] conducted a detailed analysis of carbon emissions resulting from heating and cooling systems in urban residential buildings.
In this paper, a data-driven method to estimate energy consumption and carbon emissions of a building's energy system is proposed through the gray box thermal model.To predict energy consumption of a rural residence, an equivalent thermal resistancecapacitance model was established, and parameters of thermal resistance and capacitance were optimized based on data collected from employed air source heat pump heating system.On this basis, energy consumption is predicted, and energy consumption index per unit area under specified weather is derived.Moreover, according to carbon emissions factors of different energy, carbon emissions of different heating types are deduced.

Experimental Methodologies
The experiments are carried out in a rural residence in Beijing.Figure 1 shows the view of the experimental residence, which is a one-story house with a total covered area of about 120 m 2 .It faces south and was built in 2005, and the envelope structure is comprised of traditional concrete wall structures.The heat absorption and emissions of items such as furniture are not considered.Between 10 p.m. and 6 a.m., no equipment or facilities are operated.In winter, the heating load is satisfied by an ASHP with fixed speed produced by OUTES in 2018.

Experimental Methodologies
The experiments are carried out in a rural residence in Beijing.Figure 1 show view of the experimental residence, which is a one-story house with a total covere of about 120 m 2 .It faces south and was built in 2005, and the envelope structure is prised of traditional concrete wall structures.The heat absorption and emissions of such as furniture are not considered.Between 10 p.m. and 6 a.m., no equipment or ties are operated.In winter, the heating load is satisfied by an ASHP with fixed produced by OUTES in 2018.Table 1 lists the nameplate parameters of the selected A  Figure 2 shows the schematic diagram of a heating system driven by ASHP a data acquisition system.The monitoring data for training and validation include ou temperature (Tout) and indoor temperature (Tin), supplied water temperature (Ts) a turned water temperature (Tr), water flow rate (m), and system power consumptio Heating load provided by ASHP will be calculated based on the measured water flo and temperature difference between supplied water and returned water.To measure outdoor temperature, the thermocouple is located at 1.5 m above g and 20 cm from the external surface of wall.When measuring indoor air temperatu thermocouple point is placed at the lower surface of the desk.These positions ar tected from interference caused by the inlet and outlet flow of the air source heat  Figure 2 shows the schematic diagram of a heating system driven by ASHP and its data acquisition system.The monitoring data for training and validation include outdoor temperature (T out ) and indoor temperature (T in ), supplied water temperature (T s ) and returned water temperature (T r ), water flow rate (m), and system power consumption (P).Heating load provided by ASHP will be calculated based on the measured water flow rate and temperature difference between supplied water and returned water.

Experimental Methodologies
The experiments are carried out in a rural residence in Beijing.Figure 1 shows the view of the experimental residence, which is a one-story house with a total covered area of about 120 m 2 .It faces south and was built in 2005, and the envelope structure is comprised of traditional concrete wall structures.The heat absorption and emissions of items such as furniture are not considered.Between 10 p.m. and 6 a.m., no equipment or facilities are operated.In winter, the heating load is satisfied by an ASHP with fixed speed produced by OUTES in 2018.Table 1 lists the nameplate parameters of the selected ASHP.  Figure 2 shows the schematic diagram of a heating system driven by ASHP and its data acquisition system.The monitoring data for training and validation include outdoor temperature (Tout) and indoor temperature (Tin), supplied water temperature (Ts) and returned water temperature (Tr), water flow rate (m), and system power consumption (P).Heating load provided by ASHP will be calculated based on the measured water flow rate and temperature difference between supplied water and returned water.To measure outdoor temperature, the thermocouple is located at 1.5 m above ground and 20 cm from the external surface of wall.When measuring indoor air temperature, the thermocouple point is placed at the lower surface of the desk.These positions are protected from interference caused by the inlet and outlet flow of the air source heat pump To measure outdoor temperature, the thermocouple is located at 1.5 m above ground and 20 cm from the external surface of wall.When measuring indoor air temperature, the thermocouple point is placed at the lower surface of the desk.These positions are protected from interference caused by the inlet and outlet flow of the air source heat pump unit, as well as from direct sunlight irradiation [30].It is also arranged at the inlet and outlet of the ASHP water system to measure the temperature of supplied and returned water.An electromagnetic flow meter is employed, and it is located at the pipe of the supplied water to obtain the water flow rate.The measurement instruments and corresponding accuracy are listed in Table 2. Before testing, all instruments and equipment used during the experiment are calibrated.The measured data are sampled every 1 min from 22:00 of the previous day to 6:00 of the next day.This sampling interval is sufficiently small, which can prevent thermal dynamics overlooking.

Modeling and Methodology
Figure 3 shows the prediction process of energy consumption and carbon emissions.It mainly includes data collection, data pre-processing, resistance-capacitance model (RC model) establishment, and corresponding energy consumption and carbon emissions prediction.
Energies 2023, 16, x FOR PEER REVIEW 4 of 18 unit, as well as from direct sunlight irradiation [30].It is also arranged at the inlet and outlet of the ASHP water system to measure the temperature of supplied and returned water.An electromagnetic flow meter is employed, and it is located at the pipe of the supplied water to obtain the water flow rate.The measurement instruments and corresponding accuracy are listed in Table 2. Before testing, all instruments and equipment used during the experiment are calibrated.The measured data are sampled every 1 min from 22:00 of the previous day to 6:00 of the next day.This sampling interval is sufficiently small, which can prevent thermal dynamics overlooking.

Modeling and Methodology
Figure 3 shows the prediction process of energy consumption and carbon emissions.It mainly includes data collection, data pre-processing, resistance-capacitance model (RC model) establishment, and corresponding energy consumption and carbon emissions prediction.

RC Structure (Assumptions and RC Model)
The RC model is a lumped parameter model, in which the house is regarded as a whole.While the thermal process in a house is complex, particularly with regard to radiation between surfaces at different temperatures, the equivalent RC model provides a simplified representation.
The development of an equivalent RC model for a house entails the consideration of heat transfer, including the following: (1) Heat transfer between indoor and outdoor air through an opaque envelope

RC Structure (Assumptions and RC Model)
The RC model is a lumped parameter model, in which the house is regarded as a whole.While the thermal process in a house is complex, particularly with regard to radiation between surfaces at different temperatures, the equivalent RC model provides a simplified representation.
The development of an equivalent RC model for a house entails the consideration of heat transfer, including the following: (1) Heat transfer between indoor and outdoor air through an opaque envelope The opaque envelope includes the exterior walls and roof.It has the effects of heat preservation and heat insulation, especially in the wall with an insulated material layer.Thus, the state of the indoor air dry-bulb temperature has a certain attenuation and delay relative to the outdoor air dry-bulb temperature.The exterior walls and roof are considered as a whole, and it is divided into several layers on a one-dimensional space from outdoor to indoor as needed.The number of layers is the amount of thermal resistance R in the equivalent RC model.
When constructing the equivalent "xRyC" model, the model complexity should be considered.If it is detailed with a finite difference model, it will be more difficult to calculate.If the simplest 1R1C is considered, it will be difficult to distinguish the heat storage effect on the opaque envelope and indoor air.The 2R1C model is widely employed in building opaque envelopes to achieve effective control over heat, humidity, and energy within structures.In references [31][32][33], the 2R1C model was used to simplify the opaque envelope, and satisfactory results were obtained.Thus, in this paper, the equivalent RC model of the opaque envelope is simplified into a 2R1C structure as shown in Figure 4.In Figure 4, T oe is the temperature of the opaque envelope.R out and R in are the thermal resistance between the indoor air and interior surface and the resistance between the exterior surface and outdoor air, respectively.C oe is the thermal capacitance of the opaque envelope.
The opaque envelope includes the exterior walls and roof.It has the effects of heat preservation and heat insulation, especially in the wall with an insulated material layer.Thus, the state of the indoor air dry-bulb temperature has a certain attenuation and delay relative to the outdoor air dry-bulb temperature.The exterior walls and roof are considered as a whole, and it is divided into several layers on a one-dimensional space from outdoor to indoor as needed.The number of layers is the amount of thermal resistance R in the equivalent RC model.
When constructing the equivalent "xRyC" model, the model complexity should be considered.If it is detailed with a finite difference model, it will be more difficult to calculate.If the simplest 1R1C is considered, it will be difficult to distinguish the heat storage effect on the opaque envelope and indoor air.The 2R1C model is widely employed in building opaque envelopes to achieve effective control over heat, humidity, and energy within structures.In references [31][32][33], the 2R1C model was used to simplify the opaque envelope, and satisfactory results were obtained.Thus, in this paper, the equivalent RC model of the opaque envelope is simplified into a 2R1C structure as shown in Figure 4.In  (2) Heat transfer through the transparent envelope The transparent envelope consists of external windows and glass curtain walls.The heat transfer through the transparent envelope mainly includes two parts, heat transfer driven by the temperature difference between indoor and outdoor air and heat gains from solar radiation.Due to little thermal capacity, the transparent envelope acts as thermal resistance.For heat transfer driven by the temperature difference between indoor and outdoor air, the transparent envelope is considered as a whole and is seen as one thermal resistance.The simplified equivalent RC model of the transparent envelope is shown in Figure 5, where, Rinf is the thermal resistance between indoor and outdoor air through the transparent envelope.Moreover, there may be some gaps between the transparent envelope and the opaque envelope; infiltrated air has to be heated or cooled to make indoor air temperature constant.Thus, in this paper, the influence of heat transfer attributed by infiltrated air is put into the parameter of thermal resistance Rinf.
The solar radiation through the transparent envelope is a part of the solar radiation on the house, and there is a proportional relationship with the solar radiation illuminance on a horizontal direction.Considering the indefinite rate of solar radiation for each indoor area, only the data obtained at night are employed to train and test, so the factor of solar radiation is excluded in the model.(2) Heat transfer through the transparent envelope The transparent envelope consists of external windows and glass curtain walls.The heat transfer through the transparent envelope mainly includes two parts, heat transfer driven by the temperature difference between indoor and outdoor air and heat gains from solar radiation.Due to little thermal capacity, the transparent envelope acts as thermal resistance.For heat transfer driven by the temperature difference between indoor and outdoor air, the transparent envelope is considered as a whole and is seen as one thermal resistance.The simplified equivalent RC model of the transparent envelope is shown in Figure 5, where, R inf is the thermal resistance between indoor and outdoor air through the transparent envelope.
Energies 2023, 16, x FOR PEER REVIEW 5 of 18 The opaque envelope includes the exterior walls and roof.It has the effects of heat preservation and heat insulation, especially in the wall with an insulated material layer.Thus, the state of the indoor air dry-bulb temperature has a certain attenuation and delay relative to the outdoor air dry-bulb temperature.The exterior walls and roof are considered as a whole, and it is divided into several layers on a one-dimensional space from outdoor to indoor as needed.The number of layers is the amount of thermal resistance R in the equivalent RC model.
When constructing the equivalent "xRyC" model, the model complexity should be considered.If it is detailed with a finite difference model, it will be more difficult to calculate.If the simplest 1R1C is considered, it will be difficult to distinguish the heat storage effect on the opaque envelope and indoor air.The 2R1C model is widely employed in building opaque envelopes to achieve effective control over heat, humidity, and energy within structures.In references [31][32][33], the 2R1C model was used to simplify the opaque envelope, and satisfactory results were obtained.Thus, in this paper, the equivalent RC model of the opaque envelope is simplified into a 2R1C structure as shown in Figure 4.In  (2) Heat transfer through the transparent envelope The transparent envelope consists of external windows and glass curtain walls.The heat transfer through the transparent envelope mainly includes two parts, heat transfer driven by the temperature difference between indoor and outdoor air and heat gains from solar radiation.Due to little thermal capacity, the transparent envelope acts as thermal resistance.For heat transfer driven by the temperature difference between indoor and outdoor air, the transparent envelope is considered as a whole and is seen as one thermal resistance.The simplified equivalent RC model of the transparent envelope is shown in Figure 5, where, Rinf is the thermal resistance between indoor and outdoor air through the transparent envelope.Moreover, there may be some gaps between the transparent envelope and the opaque envelope; infiltrated air has to be heated or cooled to make indoor air temperature constant.Thus, in this paper, the influence of heat transfer attributed by infiltrated air is put into the parameter of thermal resistance Rinf.
The solar radiation through the transparent envelope is a part of the solar radiation on the house, and there is a proportional relationship with the solar radiation illuminance on a horizontal direction.Considering the indefinite rate of solar radiation for each indoor area, only the data obtained at night are employed to train and test, so the factor of solar radiation is excluded in the model.Moreover, there may be some gaps between the transparent envelope and the opaque envelope; infiltrated air has to be heated or cooled to make indoor air temperature constant.Thus, in this paper, the influence of heat transfer attributed by infiltrated air is put into the parameter of thermal resistance R inf .
The solar radiation through the transparent envelope is a part of the solar radiation on the house, and there is a proportional relationship with the solar radiation illuminance on a horizontal direction.Considering the indefinite rate of solar radiation for each indoor area, only the data obtained at night are employed to train and test, so the factor of solar radiation is excluded in the model.
(3) Heat transfer from internal heat source and energy supply system Internal heat sources include the human body, lights, equipment, etc. Considering that lights and equipment are mostly off, and people fall asleep during the night, the heat gains from these internal heat sources are not embodied in the equivalent RC model.Moreover, in order to maintain a comfortable heat and humidity environment, energy must be supplied.The indoor air temperature will be regulated through an energy supply system.Thus, the supplied energy is settled as a boundary condition of the equivalent RC model.Taking the ASHP heating system as an example, the supplied heat is as follows: where ρ and c p are the density and specific heat of water, respectively.
(4) Indoor air and internal thermal mass Compared with the wall and other building structures, the thermal capacity of indoor air is small.However, it is the most direct material carrier of indoor temperature.Indoor space composed of indoor air is a key part of the human body perceiving temperature changes, and the heat capacity of indoor air should be reflected in the RC model.
Internal thermal mass includes the floor, ceiling, internal partition wall, furniture, etc.It can receive radiation heat from solar radiation, internal heat sources, and the energy supply system.Logically, heat can be stored in internal thermal mass, and when its temperature is higher than indoor air temperature, the stored heat will be released to regulate indoor air temperature.Thus, one equivalent thermal capacity is employed to represent internal thermal mass, and one thermal resistance is put forward to distinguish the different temperature between indoor air and internal thermal mass.
The equivalent RC model between internal thermal mass and indoor air is shown in Figure 6, where T m is the temperature of internal thermal mass, R m is the thermal resistance between internal thermal mass and indoor air, And C in and C m are the thermal capacitance of indoor air and internal thermal mass, respectively.
(3) Heat transfer from internal heat source and energy supply system Internal heat sources include the human body, lights, equipment, etc. Considering that lights and equipment are mostly off, and people fall asleep during the night, the heat gains from these internal heat sources are not embodied in the equivalent RC model.
Moreover, in order to maintain a comfortable heat and humidity environment, energy must be supplied.The indoor air temperature will be regulated through an energy supply system.Thus, the supplied energy is settled as a boundary condition of the equivalent RC model.Taking the ASHP heating system as an example, the supplied heat is as follows: where  and cp are the density and specific heat of water, respectively.
(4) Indoor air and internal thermal mass Compared with the wall and other building structures, the thermal capacity of indoor air is small.However, it is the most direct material carrier of indoor temperature.Indoor space composed of indoor air is a key part of the human body perceiving temperature changes, and the heat capacity of indoor air should be reflected in the RC model.
Internal thermal mass includes the floor, ceiling, internal partition wall, furniture, etc.It can receive radiation heat from solar radiation, internal heat sources, and the energy supply system.Logically, heat can be stored in internal thermal mass, and when its temperature is higher than indoor air temperature, the stored heat will be released to regulate indoor air temperature.Thus, one equivalent thermal capacity is employed to represent internal thermal mass, and one thermal resistance is put forward to distinguish the different temperature between indoor air and internal thermal mass.
The equivalent RC model between internal thermal mass and indoor air is shown in

Equivalent RC Model for Rural Residence
To build a thermal balance equation of the equivalent RC model and the simple equivalent RC model for calculations, the following simplified assumptions are made: (1) Heat generation or accumulation within the house construction elements does not exist.The temperature of surface segment or whole surface is uniform within its cross section.Thus, the heat transfer can be regarded as a one-dimensional process.
(2) The effect of meteorological parameters, including wind velocity, on heat transfer is negligible.Hence, the thermal resistance or heat transfer coefficient is assumed to be constant.On the side, the effect of temperature and humidity on thermal capacity is not considered; the related thermal capacitance is assumed to be constant.(3) The experiment is carried out during the night, so the heat from solar radiation or internal heat source is negligible.Hence, the surface temperature of internal thermal mass is assumed to be equal to the indoor air temperature.Correspondingly, the thermal capacitance of the internal thermal mass is summarized to indoor air capacity.

Equivalent RC Model for Rural Residence
To build a thermal balance equation of the equivalent RC model and the simple equivalent RC model for calculations, the following simplified assumptions are made: (1) Heat generation or accumulation within the house construction elements does not exist.The temperature of surface segment or whole surface is uniform within its cross section.Thus, the heat transfer can be regarded as a one-dimensional process.
(2) The effect of meteorological parameters, including wind velocity, on heat transfer is negligible.Hence, the thermal resistance or heat transfer coefficient is assumed to be constant.On the side, the effect of temperature and humidity on thermal capacity is not considered; the related thermal capacitance is assumed to be constant.(3) The experiment is carried out during the night, so the heat from solar radiation or internal heat source is negligible.Hence, the surface temperature of internal thermal mass is assumed to be equal to the indoor air temperature.Correspondingly, the thermal capacitance of the internal thermal mass is summarized to indoor air capacity.(4) Indoor air is well mixed and homogeneous, so it is assumed to be at a uniform temperature.
Combined with the RC model formulation in Section 3.1, an equivalent 3R2C model for the rural residence is presented, which is shown in Figure 7.
(4) Indoor air is well mixed and homogeneous, so it is assumed to be at a uniform temperature.
Combined with the RC model formulation in Section 3.1, an equivalent 3R2C model for the rural residence is presented, which is shown in Figure 7.The governing equations at each node obtained by heat balance in Figure 7 are as follows:

Evaluation Indexes
Evaluation indexes are essential to estimate the results of parameter prediction.In this paper, mean absolute error (MAE), mean absolute percentage error (MAPE), and rootmean square error (RMSE) are employed to evaluate the accuracy of parameter prediction.The difference between predicted results and the real test value can be reflected from different aspects.They are defined as follows:

Optimization Method
From the constructed equivalent 3R2C model, there is a nonlinear optimization process to acquire the optimal values of R and C. The optimization problem can be solved through many methods, such as the direct exhaustive search method, sequential quadratic programming, and genetic algorithm (GA).For global optimal problems, GA presents good robustness, especially in solving multi-objective and multi-modal optimization problems [34].It has been widely used in heating, ventilation, and air conditioning systems to obtain global optimal solutions [35].Therefore, it is also employed to search for the optimal values of R and C based on the equivalent 3R2C model built for the rural residence.The governing equations at each node obtained by heat balance in Figure 7 are as follows:

Evaluation Indexes
Evaluation indexes are essential to estimate the results of parameter prediction.In this paper, mean absolute error (MAE), mean absolute percentage error (MAPE), and root-mean square error (RMSE) are employed to evaluate the accuracy of parameter prediction.The difference between predicted results and the real test value can be reflected from different aspects.They are defined as follows:

Optimization Method
From the constructed equivalent 3R2C model, there is a nonlinear optimization process to acquire the optimal values of R and C. The optimization problem can be solved through many methods, such as the direct exhaustive search method, sequential quadratic programming, and genetic algorithm (GA).For global optimal problems, GA presents good robustness, especially in solving multi-objective and multi-modal optimization problems [34].It has been widely used in heating, ventilation, and air conditioning systems to obtain global optimal solutions [35].Therefore, it is also employed to search for the optimal values of R and C based on the equivalent 3R2C model built for the rural residence.
Figure 8 shows the flowchart of the GA optimization method.In GA, the chromosome of an individual includes five parameters (R out , R in , R inf , C oe , C in ).The search space of these parameters is their own respective setting ranges.Table 3 shows some of GA optimization settings, and the fitness function of GA optimization is as follows: Energies these parameters is their own respective setting ranges.Table 3 shows some of GA optimization settings, and the fitness function of GA optimization is as follows: First, before the optimization process of GA is carried out, the specific parameters R and C of the problem need to be estimated.Specific constraints and objectives of the problem, such as constraints and objective functions in optimization problems, are often represented by R and C. The initial population is produced by initializing the five parameters to start GA optimization.Then, the indoor air temperature is predicted by the 3R2C model of the rural residence, and fitness function is calculated.The fitness function will serve as the criterion for determining the survival of individuals with superior traits.Following that, the next generation population is produced through a crossover and mutation process, and the fitness is evaluated too.After the selection, crossover, and mutation of the population, a new generation is formed through reconstitution, resulting in acquisition of the next generation population.Additionally, gen = gen + 1.At this step, the elitist and best fitness will be recorded.The criterion to terminate GA optimization is whether the number of current First, before the optimization process of GA is carried out, the specific parameters R and C of the problem need to be estimated.Specific constraints and objectives of the problem, such as constraints and objective functions in optimization problems, are often represented by R and C. The initial population is produced by initializing the five parameters to start GA optimization.Then, the indoor air temperature is predicted by the 3R2C model of the rural residence, and fitness function is calculated.The fitness function will serve as the criterion for determining the survival of individuals with superior traits.Following that, the next generation population is produced through a crossover and mutation process, and the fitness is evaluated too.After the selection, crossover, and mutation of the population, a new generation is formed through reconstitution, resulting in acquisition of the next generation population.Additionally, gen = gen + 1.At this step, the elitist and best fitness will be recorded.The criterion to terminate GA optimization is whether the number of current generations is larger than the pre-set maximum number or the difference of the best fitness values between two consecutive runs is less than the sett threshold value.

Model of Carbon Emissions
The energy consumption can be obtained by Equation ( 1), while carbon emissions can be calculated as follows: where CE and CE 0 are total carbon emissions and carbon emissions per unit area, respectively.Q is the energy consumption and CEF is the carbon emissions factor of the corresponding energy.A is the serviced area.

Results and Discussion
In this section, the experimental data are utilized for training and validation to derive R and C in the 3R2C model.On this basis, energy consumption is also predicted, and then a method for calculating the energy consumption index under standard meteorological conditions as well as carbon emissions is proposed.Limitations and future research of this study are also presented in this section.

Training Results
As Section 3.2 showed, the heat from solar radiation and internal heat sources is not included in the model, as data during 22:00 and 6:00 are selected as the driven data to train R and C. To predict indoor air temperature using the equivalent 3R2C model, the data including outdoor and indoor air temperature, supply and return water temperature, and water flow rate need to be tested first.Generally, more training data will provide more robust results, although testing more data requires more waiting time for the model to function properly.Therefore, the amount of data collection time required is firstly examined to obtain sufficiently reliable results for parameter estimation (R and C optimization). Figure 9 shows testing data from a fixed speed ASHP system in a rural residence in Beijing.Because fixed speed ASHP is employed, it can be seen that water flow rate is almost constant; the supplied heat is controlled through the on-off state of the compressor.During the ON period, the supplied heat of the ASHP is higher than the heat diffusion of the terminal, and the supply and return water temperatures increase until the controller detects the return water temperature reaching the upper limit and switches off the compressor.
During the OFF period, the supply and return water temperatures decrease until the controller switches on the compressor when it detects that the return water temperature drops beyond the lower limit.On account of the constant water flow rate as well as the heating load, the change trend of the indoor air temperature is similar to that of the outdoor temperature.The outdoor temperature ranges between −9.1 • C and −5.It can be seen that the predicted indoor air temperatures match the actual measured indoor air temperatures well.With the increasing of training time, better following quality is presented, and correlation performance is better.When the training data increases to four hours, the correlation coefficient is 95.45%, and covariance increases to 8.74%.When the sampling data increase to the whole night, the correlation coefficient and covariance reach 98.75% and 30.99%, respectively.In addition, as shown in Table 4, MAE, MAPE, and RMSE first increases and then decreases with the increase of training data.The reason may be that there is a little fluctuation in the outdoor temperature between the sixth and seventh hours.The minimum MAE, MAPE, and RMSE are obtained by the training using eight-hour training data, which are 9.79%, 0.55%, and 12.26%, respectively.Table 5 shows the estimation results of the parameters for different training times.As shown in Table 5, the five parameters exhibit fluctuations within a certain range as the training time increases.Among them, R out and C in demonstrate the most significant fluctuation range, ranging from 7.93 K/W to 17.34 K/W and from 221.48 J/K to 299.71 J/K, respectively.The remaining three parameters undergo minimal changes.

Validation Results in the Same Operation Period
Figure 11 shows indoor air temperature validation results conducted in the same period with those of training data.It can be seen that in the same operation period, the predicted indoor air temperature can follow the trends of actual measured indoor air temperature well.Except for the estimation results of the one-hour training time, the errors including MAE, MAPE, and RMSE are comparatively small.The minimum MAE, MAPE, and RMSE are obtained by the estimation of the parameters of the two-hour training time, which are 13.98%, 0.78%, and 16.99%, respectively.With the increase of training time, the error results change little and fluctuate at a certain level.When the parameter estimation results of the eight-hour training time are used, the MAE, MAPE, and RMSE are 16.96%, 0.95%, and 19.71%, respectively, while the correlation coefficient and covariance increase to 98.13% and 29.19% from 97.32% and 25.61%, respectively.

Validated Results in Other Operation Periods
For the combined results of Sections 3. Figure 12 shows the actual measured profiles of the other four different operation periods.The weather of these four operation periods is defined as severe cold, cold, cool, and mild weather.It can be seen that in severe cold weather, outdoor air temperature changes between −14.5 • C and −8.4 • C, while in cold, cool, and mild weather, it changes between −9.7 • C and −3.6 • C, −4.9 • C and −0.5 • C, and 0.1 • C and 5.2 • C, respectively.However, on account of the same ASHP system and the same heating load, indoor air temperature is different.For example, it changes between 14.

Validated Results in Other Operation Periods
For the combined results of Sections 3. Figure 12 shows the actual measured profiles of the other four different operation periods.The weather of these four operation periods is defined as severe cold, cold, cool, and mild weather.It can be seen that in severe cold weather, outdoor air temperature changes between −14.5 °C and −8.4 °C, while in cold, cool, and mild weather, it changes between −9.7 °C and −3.6 °C, −4.9 °C and −0.5 °C, and 0.1 °C and 5.2 °C, respectively.However, on account of the same ASHP system and the same heating load, indoor air temperature is different.For example, it changes between 14.3 °C and 16.1 °C under severe cold weather and 21 °C and 23 °C under mild weather.
Figure 13 shows the predicted and actual measured indoor air temperature under the other four operation periods.Table 6 presents the error results of validation.It can be seen that the predicted indoor air temperature matches the actual indoor air temperature and its dynamic trend well.Combined with Table 6, under all weather conditions, the correlation coefficient is beyond 96% and the covariance is more than 20%.The minimum value of MAE is obtained under cold weather, which is 8.25%.Under severe cold, cool, and mild weather, the MAE values are 15.05%, 19.07%, and 9.75%, respectively.For MAPE and RMSE, the minimum values are obtained under mild weather.Under severe cold, cold, cool, and mild weather, the MAPE values are 0.99%, 0.95%, 1.03%, and 0.45%, respectively, and the RMSE values are 17.91%, 19.71%, 23.32%, and 12.53%, respectively.Figure 13 shows the predicted and actual measured indoor air temperature under the other four operation periods.Table 6 presents the error results of validation.It can be seen that the predicted indoor air temperature matches the actual indoor air temperature and its dynamic trend well.Combined with Table 6, under all weather conditions, the

Estimation of Energy Consumption
Using the estimation results of the parameters of R and C, the energy consumption of the rural residence can be predicted.Figure 14 shows the predicted and actual energy consumption of the same period with the training case and the other four different operation periods.It can be seen that regardless of the meteorological condition, the obtained energy consumption deduced by optimized 3R2C results follows the actual energy consumption well.Statistical results show that the MAPE of the same period a the training case is 7.09%.Under the meteorological conditions of severe cold, cold, cool, and mild, the

Estimation of Energy Consumption
Using the estimation results of the parameters of R and C, the energy consumption of the rural residence can be predicted.Figure 14 shows the predicted and actual energy consumption of the same period with the training case and the other four different operation periods.It can be seen that regardless of the meteorological condition, the obtained energy consumption deduced by optimized 3R2C results follows the actual energy consumption well.Statistical results show that the MAPE of the same period a the training case is 7.09%.Under the meteorological conditions of severe cold, cold, cool, and mild, the MAPE values are 8.74%, 4.28%, 12.56%, and 9.88%, respectively.Under the meteorological condition of cold, the error is minimal because the meteorological condition is similar to the condition of the training case.The error under the meteorological condition of cool is higher because in its first validation hour, the ASHP is not operated most of the time, and the accumulated actual energy consumption is less, while the predicted energy consumption exists continuously when the temperatures of the indoor air, outdoor air, and envelope are different.Thus, in the first hour, the deviation between accumulated actual energy consumption and predicted energy consumption is larger.With the accumulated time increasing, the deviation becomes small.Moreover, this method can be employed to estimate whether the energy consumption conforms to the energy saving standard.In Beijing, the outdoor design temperature for heating is −7.6 °C.If the indoor air temperature is set at 18 °C, the energy consumption can be deduced, and it is 4.49 kW.If the heating area is assumed as 80% of the house area, the energy consumption index is 46.77W/m 2 , correspondingly.
In the literature [36], field monitoring was carried out on 103 household ASHP systems in rural residences around Beijing in the 2018-2019 heating season.Analysis of the statistical data and selected typical cases showed that the average values of heating load per unit area on the coldest day and over the entire heating season were 54.7 W/m 2 and 44.3 W/m 2 , respectively.The obtained result in this paper is consistent with that of [36], which, in another point of view, expresses that the proposed method to estimate energy consumption is effective.Thus, the obtained energy consumption can be utilized to calculate carbon emissions.

Estimation of Carbon Emissions
Table 7 presents the carbon emissions factors of three heating types: heating driven by ASHP, gas boiler, and coal boiler, respectively.It can be seen that the carbon emissions factors of electricity, gas, and coal are 0.604 tCO2/MWh, 0.0555 tCO2/GJ, and 0.089 tCO2/GJ, respectively.Moreover, this method can be employed to estimate whether the energy consumption conforms to the energy saving standard.In Beijing, the outdoor design temperature for heating is −7.6 • C. If the indoor air temperature is set at 18 • C, the energy consumption can be deduced, and it is 4.49 kW.If the heating area is assumed as 80% of the house area, the energy consumption index is 46.77W/m 2 , correspondingly.
In the literature [36], field monitoring was carried out on 103 household ASHP systems in rural residences around Beijing in the 2018-2019 heating season.Analysis of the statistical data and selected typical cases showed that the average values of heating load per unit area on the coldest day and over the entire heating season were 54.7 W/m 2 and 44.3 W/m 2 , respectively.The obtained result in this paper is consistent with that of [36], which, in another point of view, expresses that the proposed method to estimate energy consumption is effective.Thus, the obtained energy consumption can be utilized to calculate carbon emissions.

Estimation of Carbon Emissions
Table 7 presents the carbon emissions factors of three heating types: heating driven by ASHP, gas boiler, and coal boiler, respectively.It can be seen that the carbon emissions factors of electricity, gas, and coal are 0.604 tCO 2 /MWh, 0.0555 tCO 2 /GJ, and 0.089 tCO 2 /GJ, respectively.To calculate carbon emissions of each heating type, it is assumed that the COP of ASHP and the efficiencies of the gas boiler and coal boiler are 2.32, 90%, and 40% [38], respectively.The duration of the heating season in Beijing was determined to be 120 days and ten hours per day.According to Equations ( 8) and ( 9), the derived carbon emissions values of ASHP, gas boiler, and coal boiler during the entire heating season are 1406.1 kgCO 2 , 1196.2 kgCO 2 , and 4310.4 kgCO 2 , respectively.Correspondingly, the carbon emissions values per unit area are 14.6 kgCO 2 /m 2 , 12.5 kgCO 2 /m 2 , and 44.9 kgCO 2 /m 2 , respectively.
Therefore, to enhance environment quality and respond to the carbon peak target, the heating type driven by the coal boiler has been gradually phased out, while heating driven by ASHP or gas boiler are in accordance with real conditions.For example, ASHP has been widely adopted due to its easy installation, high energy savings, and low carbon emissions in Beijing.Meanwhile, in Hebei, heating is mostly supplied by heat from gas on account of its cost-effectiveness and significant reduction in carbon emissions.

Limitations and Future Research
The limitations and future research work of this study are as follows: The gray box thermal model utilized is specifically applied to selected rural residential buildings in our paper.However, for other buildings, the selection of RC model in this paper may lead to errors due to variations in building shape, window-wall ratio, and plane layout.Future research aims to explore appropriate models for the values of R and C by considering buildings with diverse structural characteristics, ultimately summarizing RC models suitable for different building structural and usage characteristics.
In the modeling process, numerous assumptions have been made, and several crucial considerations have been omitted by this study, which may impact the resulting changes.These factors encompass the building's age, the heat storage function of furniture and equipment, and the duration of occupants' activity.These factors should be taken into account in future refinement of the modeling process to achieve the desired level of accuracy.

Conclusions
This paper presents an equivalent 3R2C model to predict dynamic heating load and total carbon emissions during the entire heating season.The data monitored from an ASHP heating system in a rural residence in Beijing are used to train R and C, and validation is conducted with different meteorological conditions.The main conclusions are as follows: (

Figure 1 .
Figure 1.View of experimental residence in rural Beijing.

Figure 2 .
Figure 2. Schematic diagram of ASHP heating system and its data acquisition system.

Figure 1 .
Figure 1.View of experimental residence in rural Beijing.

Figure 1 .
Figure 1.View of experimental residence in rural Beijing.

Figure 2 .
Figure 2. Schematic diagram of ASHP heating system and its data acquisition system.

Figure 2 .
Figure 2. Schematic diagram of ASHP heating system and its data acquisition system.

Figure 3 .
Figure 3. Prediction process of energy consumption and carbon emissions based on RC model.

Figure 3 .
Figure 3. Prediction process of energy consumption and carbon emissions based on RC model.

Figure 4 ,
Figure 4, oe T is the temperature of the opaque envelope.out R and in R are the thermal resistance between the indoor air and interior surface and the resistance between the exterior surface and outdoor air, respectively.oe C is the thermal capacitance of the opaque

Figure 4 .
Figure 4. Equivalent RC model of opaque envelope.

Figure 5 .
Figure 5. Equivalent RC model of transparent envelope.

Figure 4 .
Figure 4. Equivalent RC model of opaque envelope.

Figure 4 ,
Figure 4, oe T is the temperature of the opaque envelope.out R and in R are the thermal resistance between the indoor air and interior surface and the resistance between the exterior surface and outdoor air, respectively.oe C is the thermal capacitance of the opaque

Figure 4 .
Figure 4. Equivalent RC model of opaque envelope.

Figure 5 .
Figure 5. Equivalent RC model of transparent envelope.

Figure 5 .
Figure 5. Equivalent RC model of transparent envelope.

Figure 6 ,
Figure 6, where m T is the temperature of internal thermal mass, m R is the thermal re- sistance between internal thermal mass and indoor air, And in C and m C are the ther- mal capacitance of indoor air and internal thermal mass, respectively.

Figure 6 .
Figure 6.Equivalent RC model of internal thermal mass and indoor air.

Figure 6 .
Figure 6.Equivalent RC model of internal thermal mass and indoor air.

Figure 7 .
Figure 7. Equivalent 3R2C model of the rural residence.

Figure 7 .
Figure 7. Equivalent 3R2C model of the rural residence.

Figure 9 .Figure 9 .
Figure 9. Actual measured data used for training.The training was initiated by using one hour's testing data to estimate R and C.Then, estimation of the parameters is repeated incrementally by adding one hour's training data sets per trial, i.e., the first trial employs training data of the first hour, the second trial employs training data of the first two hours, and the eighth trial uses training data of whole night.Figure 10 shows the predicted and actual measured indoor air temperature based on different training times.Table4shows the correlation coefficient and error results of different training times.

Figure 9 .Figure 10 .
Figure 9. Actual measured data used for training.The training was initiated by using one hour's testing data to estimate R and C.Then, estimation of the parameters is repeated incrementally by adding one hour's training data sets per trial, i.e., the first trial employs training data of the first hour, the second trial employs training data of the first two hours, and the eighth trial uses training data of whole night.Figure 10 shows the predicted and actual measured indoor air temperature based on different training times.Table4shows the correlation coefficient and error results of different training times.

Figure 10 .
Figure 10.Predicted vs. actual indoor air temperature based on different training times.Figure 10.Predicted vs. actual indoor air temperature based on different training times.
1 and 3.2, considering the lower error of the eight-hours training time and estimation results for the parameters under different training times, validation in the other four different operation periods are conducted based on estimation results for the parameters of the eight-hour training time.
3 • C and 16.1 • C under severe cold weather and 21 • C and 23 • C under mild weather.

Figure 11 .
Figure 11.Predicted vs. actual measured indoor air temperature (validation in the same operation period).
1 and 3.2, considering the lower error of the eight-hours training time and estimation results for the parameters under different training times, validation in the other four different operation periods are conducted based on estimation results for the parameters of the eight-hour training time.

Figure 13 .
Figure 13.Predicted vs. actual measured indoor air temperature (validation in the other four operation periods).

Figure 14 .
Figure 14.Predicted and actual energy consumption.

Figure 14 .
Figure 14.Predicted and actual energy consumption.

Table 1
lists the nameplate parameters of the selected ASHP.

Table 1 .
Nameplate parameters of the fixed speed ASHP used in residence.
1represents the following test conditions: outdoor dry bulb temperature, outdoor we temperature, and supplied water temperature are 7 °C, 6 °C, and 45 °C, respectively.2repthe following test conditions: outdoor dry bulb temperature, outdoor wet bulb temperatur supplied water temperature are −12 °C, −14 °C, and 41 °C, respectively.

Table 1 .
Nameplate parameters of the fixed speed ASHP used in residence.
Note:1represents the following test conditions: outdoor dry bulb temperature, outdoor wet bulb temperature, and supplied water temperature are 7 • C, 6 • C, and 45 • C, respectively. 2represents the following test conditions: outdoor dry bulb temperature, outdoor wet bulb temperature, and supplied water temperature are −12 • C, −14 • C, and 41 • C, respectively.

Table 1 .
Nameplate parameters of the fixed speed ASHP used in residence.representsthefollowing test conditions: outdoor dry bulb temperature, outdoor wet bulb temperature, and supplied water temperature are 7 °C, 6 °C, and 45 °C, respectively.2representsthe following test conditions: outdoor dry bulb temperature, outdoor wet bulb temperature, and supplied water temperature are −12 °C, −14 °C, and 41 °C, respectively.

Table 2 .
Measurement instruments and corresponding accuracy.

Table 2 .
Measurement instruments and corresponding accuracy.

Table 4 .
Correlation performances and error results of different training times.

Table 5 .
Estimation results of the parameters for training optimization.
coefficient is beyond 96% and the covariance is more than 20%.The minimum value of MAE is obtained under cold weather, which is 8.25%.Under severe cold, cool, and mild weather, the MAE values are 15.05%, 19.07%, and 9.75%, respectively.For MAPE and RMSE, the minimum values are obtained under mild weather.Under severe cold, cold, cool, and mild weather, the MAPE values are 0.99%, 0.95%, 1.03%, and 0.45%, respectively, and the RMSE values are 17.91%, 19.71%, 23.32%, and 12.53%, respectively. correlation

Table 6 .
Validation results in the other four operation periods.

Table 6 .
Validation results in the other four operation periods.
1) With increasing training time, better following quality between predicted indoor air temperature and actual measured temperature is obtained.When the training time increases to eight hours from one hour, the correlation coefficient increases to 95.45% from 63.15%.The minimum MAE, MAPE, and RMSE values are obtained by training of eight hours, which are 9.79%, 0.55%, and 12.26%, respectively.(2) Validation test results of the other four different periods show that regardless of the weather condition, the correlation coefficient is beyond 96%, and the covariance is more than 20%.Under severe cold, cold, cool, and mild weather, RMSE values are 17.91%, 19.71%, 23.32%, and 12.53%, respectively.(3) A method of estimating carbon emissions and energy consumption is proposed based on the established RC model.The energy consumption index per unit area under standard weather conditions in Beijing can be derived, and it is 46.77W/m 2 .Meanwhile, the carbon emissions per unit area values of ASHP, gas boiler, and coal