Multi-Energy Load Collaborative Optimization of the Active Building Energy Management Strategy

: Under the dual-carbon target, the popularization and application of building integrated photovoltaic (BIPV) and ground source heat pump systems have made active buildings a research hotspot in the ﬁ eld of architecture and energy. Aiming at this issue, based on the building energy consumption model of active buildings, an active building energy management system (EMS) con-trol strategy based on multi-energy load collaborative optimization is proposed. Firstly, based on the thermal dynamic characteristics and building performance parameters of active buildings, the overall re ﬁ ned energy consumption model of active buildings is constructed. Secondly, based on the construction of BIPV, the ice storage air conditioning system, the ground source heat pump sys-tem, and the integrated demand response (IDR) model, a tiered carbon transaction cost model is introduced, and an energy management strategy that leverages the synergistic application of renewable and active technologies is proposed. This strategy aims to meet the comprehensive needs of active buildings in terms of economic bene ﬁ ts, comfort, and environmental protection. Finally, the strategy’s e ﬀ ectiveness is demonstrated through a practical example.


Introduction
Faced with the global energy crisis and escalating environmental challenges, coupled with China's dual carbon goals, the efficient management of residential building energy consumption has become a crucial issue.According to the China Building Energy Efficiency Annual Development Research Report 2023, urban and rural residential buildings respectively account for 25% and 21% of total building energy consumption, collectively generating nearly one billion tons of CO2 [1].With the continuous expansion of urban and rural residential areas, traditional building models are increasingly unable to meet the developmental needs of modern society.In this context, active buildings have garnered widespread attention for their significant capabilities in optimizing energy use and reducing environmental impacts, quickly becoming a focal point in the energy sector.Compared to traditional passive buildings, active buildings further utilize advanced renewable energy technologies and active technologies, and through an EMS, achieve real-time monitoring, analysis, and dynamic adjustment of energy.This system can respond to immediate demands and incentive signals from the power grid while considering internal comfort and energy efficiency, actively participating in demand response programs to optimize the supply demand balance with the power grid.This shift indicates that research in the building sector is gradually moving from focusing solely on energy consumption in passive buildings to considering multiple dimensions such as "energy consumption," "environment," "comfort," and "proactivity" in active buildings [2].
The objectives of this study are to consider the synergistic effects of renewable energy technologies and active technologies in active buildings, as well as to comprehensively consider the enhancement of multi-dimensional goals in active buildings.
The main contribution of this paper lies in proposing a multi-energy load collaborative optimization strategy for energy management in active buildings, aimed at improving energy management within active buildings to meet multi-dimensional energy management goals.The study initially builds an overall refined energy consumption model based on the thermal dynamic characteristics and building performance parameters of active buildings.Subsequently, the proposed strategy focuses on the synergy between renewable energy technologies (such as BIPV and ground source heat pump system) and active technologies (such as ice storage air conditioning system and energy storage technologies).Moreover, the study explores the impact of multi-type flexible loads, including thermal, electric, and cold loads participating in IDR on energy management strategies, ensuring user comfort.Finally, the paper introduces a stepped carbon trading cost model to deeply analyze the potential environmental benefits of these strategies.Based on the comprehensive refined energy consumption model of active buildings, this strategy provides an energy management approach that considers and optimizes energy efficiency, minimizes environmental impact, enhances residential comfort, and balances energy supply and demand comprehensively.

Related Works
In recent years, energy management in active buildings has emerged as a significant research focus within the energy sector.For example, Reference [3] explored the optimization of combined heat and power systems in residential buildings through a mixed integer nonlinear programming approach aimed at minimizing operating costs.Reference [4] proposed a multi-source building energy management system capable of efficiently integrating and managing energy across various power system environments.Reference [5] developed an optimal scheduling model for building microgrids based on traditional microgrid technology, aiming to reduce the operational costs of buildings by optimizing distributed generation units and energy loads.Reference [6] introduced a building energy management strategy based on neural network predictive control, which experiments have shown can improve the heating efficiency of building boilers by nearly 20%.Reference [7] introduced scheduling strategies for HVAC and battery storage systems, utilizing model predictive control methods to optimize building energy efficiency, which were applied to demand response scenarios.Reference [8] analyzed EMS case reports from 1976 to 2014 and found that managing HVAC systems through BEMS could save about 14% in costs.Furthermore, Reference [9] demonstrated how integrating PV, batteries, and electric vehicles can maximize cost-effectiveness at the household level and respond to changes in grid demand.At the same time, Reference [10] discussed in depth the comprehensive utilization of photovoltaic output and emphasized the importance of distributed energy management in the energy transition.Facing the challenges of energy system uncertainties, Reference [11] proposed a robust optimization management framework for residential microgrids, addressing uncertainties in demand and renewable energy generation to enhance system adaptability and flexibility.However, current research often focuses on single or limited energy and load combinations, particularly lacking in the joint optimization of cooling, heating, and electrical systems, thus not fully tapping into the potential of active buildings in an integrated multi-energy load environment.
On the other hand, although current active building energy management strategies have achieved significant progress in reducing energy consumption and improving economic benefits, there is still a lack of detailed consideration of user comfort, as well as systematic research on the demand response and environmental impacts of various load types.For instance, while Reference [12] deeply analyzed the relationship between HVAC load characteristics and user comfort, it did not explore synergistic optimization with other energy devices.Meanwhile, Reference [13] focused on user satisfaction while studying electric vehicle charging and discharging management strategies, and Reference [14] focused on analyzing the effects of EV charging participation in demand management on the consumption of renewable energies in buildings, but these analyses were mainly limited to the impact of managing single load types on building energy consumption.Reference [15] proposed a method to reduce peak electricity usage in buildings through end-use load control, but did not consider the interaction of renewable energy generation and storage with demand-responsive buildings.Additionally, although References [16,17] discussed the optimal scheduling of energy resources, they failed to treat the building energy system as a comprehensive multi-energy integrated system.Similarly, References [18][19][20], despite analyzing the impact of various load management strategies on energy efficiency from multiple perspectives, often did not integrate these strategies with the overall optimization of the building's energy system.Most of these studies only addressed the optimization of building energy consumption dimensions and did not comprehensively reflect the complex demands of active buildings for multi-dimensional objectives.
Distinguished from the limitations of existing research, this paper constructs a refined model of energy consumption in active buildings and comprehensively integrates a variety of technologies commonly used in active buildings.It delves into the synergistic optimization effects of renewable energy technologies and active technologies, specifically emphasizing the integration and coupling of cooling, heating, and electrical modules within the building.
Moreover, the paper employs a detailed behavioral analysis and classification modeling approach to discuss the potential impacts of various flexible loads actively participating in demand response mechanisms on building energy management, ensuring that user comfort is not compromised.To further explore the environmental benefits of active buildings, the research introduces a stepped carbon trading cost model, an innovative method that not only optimizes energy efficiency but also fully considers environmental protection factors.
Overall, this study provides an efficient energy management strategy for optimizing active buildings across multiple dimensions under multi-energy load collaboration, demonstrating its comprehensive integration and innovative approach in reducing energy consumption, enhancing economic benefits, ensuring user comfort, and achieving environmental sustainability.

Active Building Structure
Traditional passive buildings primarily focus on incorporating high-performance thermal insulation materials, strategically designed enclosure structures, and other passive strategies during the architectural design process to reduce energy consumption.This approach minimizes dependency on external energy sources and passively enhances building energy efficiency.Building on the characteristics of passive designs, active buildings further decrease energy demand by integrating a variety of renewable energy technologies and advanced active technologies.This integration endows buildings with the capabilities to independently generate, store, and dynamically control energy.
As the core of intelligent management in active buildings, EMS continuously monitors and analyzes the building's energy consumption patterns, occupants' comfort levels, real-time user loads, renewable energy outputs, and the immediate status of the power grid.Leveraging this comprehensive information, EMS customizes and optimizes scheduling strategies to ensure that optimal control commands are issued to each controllable device, fulfilling scheduling objectives.The structure of an active building is depicted in Figure 1.

Active Building Energy Consumption Model
By integrating building performance parameters with thermodynamic principles, this paper establishes an energy consumption model that offers a comprehensive framework for analyzing energy use in active buildings.The model accurately depicts the sources of thermal gains and the pathways of energy flow within the building, highlighting key factors such as heat generated by human bodies, heat output from household appliances, solar radiation gains through windows, and heat transfer losses through walls and windows.Furthermore, it provides essential parameters for evaluating and optimizing the comfort levels of occupants, utilizing advanced EMS to finely tune indoor environmental conditions, ensuring occupant comfort and health.

Heat Gain Inside the Building
where Q in represents the internal heat gain of the building, in kW; Q body represents the heat dissipation from human sources inside the building, in kW; Q app represents the heat dissipation from equipment within the building, in kW.where Q sun represents the heat transferred by solar radiation, in kW; I represents the solar radiation power, in kW/m 2 ; F win represents the area of the exterior windows of the building, in m 2 ; S C represents the shading coefficient, which varies depending on the presence of shading devices, glass material, etc.

Heat
5. Heat Exchange between the Exterior Walls and the External Environment where Q wall represents the heat transferred through the building's exterior wall, in kW; K wall represents the heat transfer coefficient of the building's exterior wall, in W (m ) ; F wall represents the area of the exterior wall of the building, in m 2 ; T in rep- resents the indoor temperature, in °C; T out represents the outdoor temperature, in °C.

Heat Exchange between Exterior Windows and the External Environment
where Q win represents the heat transferred through the building's exterior windows, in kW; K win represents the heat transfer coefficient of the building's exterior windows, in W (m ) ; F win represents the area of the exterior windows of the building, in m 2 .

Active Building Source-Load Equipment Model
In the current field of building energy management, renewable energy technologies primarily based on BIPV and heat pump technologies are extensively utilized.Additionally, widely adopted active technologies like ice storage air conditioning systems and boiler systems leverage their efficient energy conversion and storage capabilities, further enhancing the utilization of renewable energy and the stability of the energy supply in buildings.

BIPV Model
The BIPV model developed in this study integrates crucial parameters such as regional climate data, the physical layout of photovoltaic panels, photoelectric conversion efficiency, and system configurations, alongside battery performance indicators under standard test conditions provided by manufacturers.By incorporating a compensation coefficient, a simplified prediction model for photovoltaic output is achieved.Moreover, the battery units in BIPV can store surplus photovoltaic energy and provide a continuous energy supply when solar irradiation is insufficient, thereby enhancing the building's energy self-sufficiency and optimizing the overall efficiency of green energy utilization.

Ground Source Heat Pump System Model
Heat pump technology, another efficient and clean source of renewable energy, is widely utilized in the construction sector.Currently, the most commonly used types in China include ground source and air source heat pumps.This paper focuses on modeling studies using a ground source heat pump as an example.
The model concentrates on the energy efficiency and power consumption of the heat pump unit.It achieves an accurate evaluation of the ground source heat pump's performance by monitoring the inlet and outlet water temperatures of the condenser and evaporator, in conjunction with hourly power consumption data [21].
where cop GS represents the performance coefficient of the unit; T in c is the inlet cooling water temperature of the condenser, in °C; T out c is the outlet cooling water temperature of the condenser, in °C; T out e P GS is the outlet cooling water temperature of the evapora- tor, in °C; Q ref is the heating capacity of the unit under rated conditions, in kW; q c is the internal heat loss in the condenser, in kW; q e is the internal heat loss in the evaporator, in kW; is the coefficient reflecting changes in working conditions; f HX is the electrical power consumption of the ground source heat pump, in kW; f is the coefficient to be determined; G is the mass flow rate of cooling water, in kg/s.Regression using the least squares method yields the following: where L d represents the load factor of the ground source heat pump; Q GS represents the heat output of the ground source heat pump, in kW.

Ice Storage Air Conditioning System Model
The ice storage air conditioning system integrates components such as an electric refrigerator, an absorption refrigerator, and a cold storage tank to form an integrated cold storage and cooling system [22].The electric refrigerator uses the period of low night electricity prices to produce cooling energy, effectively reducing the operating costs of the building.At the same time, the absorption refrigerator enhances the flexibility and adaptability of the ice storage air conditioning system by using the residual heat from the building's heating module as a power source.As the energy storage center in the ice storage air conditioning system, the cold storage tank effectively mitigates the peak electricity demand. (

1) Electric Refrigerator
The electric refrigerator cools by consuming electrical energy, and its cooling power is shown in Equation ( 16).
where Q EC represents the cooling power output of the electric refrigerator, in kW; P EC represents the electrical power consumed by the electric refrigerator, in kW; COP EC is the energy efficiency ratio of the electric refrigerator.
(2) Absorption Refrigerator The absorption refrigerator is driven by the residual heat from the building system, and its cooling power is shown in Equation (17).
where Q AC represents the cooling power output of the absorption refrigerator, in kW; η HE represents the efficiency of the heat exchange device; H AC represents the input ther- mal power to the absorption refrigerator, in kW; COP AC is the energy efficiency ratio of the electric refrigerator. (

3) Cold Storage Tank
The cold storage tank is an important component of the ice storage air conditioning system.The model takes into account the loss coefficient, refrigeration efficiency, release efficiency, and maximum storage capacity.The amount of stored cooling is shown in Equation (18).

Boiler Integrated System
An integrated boiler system that combines a gas boiler and an electric boiler serves as a key unit in the building's heating module.It also plays a supplementary role in a ground source heat pump system, ensuring that the building can continuously and stably obtain the required heat during periods of high demand.
(1) Gas Boiler The heating power of the gas boiler is as shown in Equation (19).
where H GB represents the heat output of the gas boiler, in kW; η GB represents the heat production efficiency of the gas boiler; G GB represents the input natural gas power, in kW.
(2) Electric Boiler The heating power of the electric boiler is shown in Equation (20).
where H EB represents the heat output of the electric boiler, in kW; η EB represents the heat production efficiency of the electric boiler; P EB represents the input electrical power to the electric boiler, in kW.

Active Load Control Technology
Active load control technology, as another core active technology, actively guides flexible loads to participate in IDR, aiming to achieve optimal energy scheduling and lowcarbon, energy-saving goals while ensuring user comfort.It involves highly detailed modeling and management of shiftable, transferable electrical loads, as well as reducible cooling and heating loads within the building, ensuring that active buildings are precisely controlled according to the specific characteristics of user loads.

Modeling of Shiftable Electrical Loads
This type of load characteristic is manifested by continuously running until a complete load cycle is finished once started within the preset start and stop time range set by the user.The operating time of such loads is set by the user based on personal needs, effectively balancing energy management and user experience when participating in energy scheduling.Typical shiftable electric loads in residential buildings include washing machine loads and dishwasher loads.
(1) Washing machine load where n T wash, represents the cumulative operating time of the washing machine, in h; rep- resents the required operating time of the washing machine, in h; S wash indicates the op- erational state of the washing machine at time t (1 for on, 0 for off); η wash represents the rated power of the washing machine, in kW; P wash represents the actual operating power of the washing machine at time t, in kW.
(2) Dishwasher load where n T dish, represents the cumulative operating time of the dishwasher, in h; T dish,set represents the required operating time of the dishwasher, in h; S dish indicates the opera- tional state of the dishwasher at time t (1 for on, 0 for off); η dish represents the rated power of the dishwasher, in kW; P dish represents the actual operating power of the dishwasher at time t, in kW.
For the shiftable load, the power distribution vector before scheduling and after scheduling are shown as follows., ,  , ,0) L (26) where t a represents the starting time before scheduling; t b represents the ending time be- fore scheduling; τ represents the duration of the scheduling, in h.
The compensation costs F shift for load participation in IDR are as follows.
where ω shift represents the unit shiftable power compensation coefficient, in CNY/kW.

Modeling of Transferable Electrical Load
The electricity consumption of such loads can be flexibly adjusted during their designated usage periods.This means that even if there are interruptions or changes in the electricity usage period, the total energy demand must remain unaffected.For loads with storage capabilities, such as electric vehicles, the key is to complete the charging task before a specified time point.
According to the 2022 National Household Travel Survey (NHTS) by the U.S. Department of Transportation [23], the daily driving distance of electric vehicle users and the time of the last trip's conclusion approximately follow a log-normal distribution and a Weibull distribution, respectively.
The daily driving distance of electric vehicle users approximately follows a log-normal distribution, with the probability density function being as follows: where D represents the driving distance, in km; μ D represents the shape parameter of the distribution, set at 3.019; σ D represents the scale parameter of the distribution, set at 1.123.
The state of charge (SOC) of electric vehicle batteries and their driving distance D max approximately satisfy a linear relationship.
where E represents the SOC of the battery; D max represents the maximum driving range of the electric vehicle, in km.
By calculating with the two equations mentioned above, the probability density function for the initial SOC value of electric vehicles when they connect to the grid is obtained as follows.
The end time of users' last trip approximately follows a Weibull distribution, with the probability density function as follows.
) exp[ ( ) ],0 4 (31 where t k represents the shape parameter of the distribution, set at 5.427; t c represents the scale parameter of the Weibull distribution, set at 18.618 [12].Thus, the state at the end of any electric vehicle's journey can be represented by a one-dimensional matrix [24].

= M S S T T C P P
where M represents the charging and discharging identifier for electric vehicles, with 1 indicating charging mode and 0 for other times; S n represents the state of charge of the electric vehicle when parked; S e represents the desired state of charge when off-grid; T s represents the grid connection time for the electric vehicle; T e represents the expected time for going off-grid; C s represents the rated capacity of the electric vehicle, in kW; P c represents the charging power, in kW; P d represents the discharging power, in kW.
The battery charge level of the electric vehicle is given by the following formula.where t c represents the start time before scheduling; t d represents the end time before scheduling; t e represents the start time after scheduling; t f represents the end time after scheduling.
The compensation costs tran F for the load participating in IDR is as follows.
where ω tran represents the unit transfer power compensation coefficient, in CNY/kW.

Modeling of Reducible Thermal Load
In terms of reducible thermal load, the EMS manages hot water load through IDR, considering that the main reducible thermal loads in active buildings are the users' hot water loads.To accurately account for the dynamic characteristics of hot water temperature under the influence of various factors, this paper establishes a mathematical model that reflects the hourly temperature changes of the water heater.The model takes into consideration numerous factors including the volume of hot water used by users, the temperature of the hot water, the temperature of the supplementary cold water, and the heat exchange between the water heater and the environment.
where C wa represents the specific heat of water, in J/(kg tank, in m 2 ; α wa represents the heat transfer coefficient, in kW/m 2 .

Modeling of Reducible Cooling Load
In the study of active building energy management strategies, air conditioning load is a key reducible cooling load.Therefore, this paper establishes an air conditioning load model based on user comfort.The model reflects the real-time relationship between the air conditioning load and factors such as the temperature difference between indoor and outdoor environments, light intensity, and the thermal conductivity characteristics of the building.

ρ
where ρ represents the air density inside the building, in kg/m 3 ; C represents the specific heat capacity of the air inside the building, in J/(kg•°C); V represents the volume of air inside the building, in m 3 ; Q c represents the cooling demand of the building, in kW.
The IDR model based on tiered subsidies focuses on managing the flexible cooling and heating loads of active buildings by adjusting indoor temperatures and water temperatures, while ensuring user comfort [25].The subsidy levels are adjusted based on the actual temperature deviation from the set temperatures, encouraging users to participate in demand response activities by fine-tuning their temperature settings without sacrificing comfort.
where ω cut represents the unit subsidy coefficient, in CNY/kW; L cut,c represents the re- duced cooling load, in kW; L cut,wa represents the reduced heating load, in kW.
where x represents the indoor air temperature or water temperature; θ represents the temperature boundary for classification, in °C.The greater the deviation from θ , the lower the user comfort and the higher the subsidy.

Active Building Energy Management Strategy
This paper proposes an innovative multi-energy load collaborative optimization energy management strategy in the field of active building energy management.Aiming to minimize economic costs and carbon emissions as dual objectives, while considering user comfort as a constraint, the strategy employs the EMS to precisely schedule the operation of source-load equipment and optimize user flexible loads.The strategy is designed to achieve multiple objectives: energy use efficiency, environmental sustainability, user comfort, and proactive management.This ensures the comprehensive sustainable development of active buildings in terms of economy, energy, environment, and comfort.

Economic Cost
where F grid represents the interaction cost between the building system and the electrical grid, in CNY; F gas represents the gas purchase cost of the building system, in CNY; F pun represents the tiered carbon emission penalty cost, in CNY; F om represents the operation and maintenance costs of various output devices, in CNY; F com represents the compensa- tion cost for user flexible load participation in scheduling, in CNY.where T represents the total operating period of the system, in h; P grid represents the power interaction with the electrical grid (positive for buying electricity, negative for selling), in kW; c grid represents the time-of-use electricity price for buying from or selling to the grid, in CNY/kW.where G gas represents the volume of natural gas purchased by the system, in m 3 ; c gas represents the price of natural gas, in CNY/m 3 .
(3) Tiered Carbon Emission Penalty Cost α α α  where w represents the w-th type of equipment in the active building; w P represents the operating power of the equipment, in kW; w c represents the operation and maintenance cost of the equipment, in CNY/kW [27].
(5) Flexible Load Compensation Cost where F shift represents the cost of compensating users for shifting loads, in CNY; F tran represents the cost of compensating users for transferring loads, in CNY; F cut represents the cost of compensating users for reducing loads, in CNY.

CO2 Emissions
where μ e represents the CO2 conversion coefficient for coal, in kg/(kW•h); μ f represents the CO2 conversion coefficient for natural gas, in kg/(kW•h); η grid is the power generation efficiency of the power plant.

Constraints
( where P load represents the electrical load during that period, in kW. (2) Cooling Power Balance Constraint where Q c represents the cooling demand of the building, in kW.
(3) Thermal Power Balance Constraint Battery Discharging Power Constraint Thermal Storage Tank Charging Power Constraint Thermal Storage Tank Discharging Power Constraint Indoor Temperature Constraint Hot Water Temperature Constraint Water Heater Storage Tank Capacity Constraint This paper constructs an energy management strategy model for active buildings, which is a mixed integer linear model.The optimal energy management strategy, considering energy consumption, environmental impact, comfort, and active dimensions comprehensively, is obtained through the combined use of is obtained through the combined use of Yalmip (Linköping University, Linköping, Sweden) and the CPLEX commercial solver (IBM, Armonk, NY, USA).

Parameter Settings
The simulation is conducted on a Lenovo Legion R7000 PC equipped with an AMD Ryzen 7 7840H processor and 16GB RAM, running Windows 11.This setup ensures efficient data processing and smooth execution of the simulation.The study involves a 15story residential building in Nanjing, covering an area of 1056 m 2 , during summer.The energy management cycle for the system is set for 24 h with an interval of 1 hour per unit of energy management.The building is oriented north-south, with solar panels covering 233 m 2 (about 20% of the total area) installed on the rooftop.These panels face south with a tilt of 30 degrees.The installation includes 249 TSM-175D high-efficiency monocrystalline silicon solar modules, achieving a peak power of 430 kW.
The building houses 120 residents, averaging 44 m 2 per person.The average human body heat dissipation in the building is calculated at 43.84 W per person.It is assumed that 90% of the 120 households own vehicles, including electric and traditional fossil-fuel vehicles, totaling 108 vehicles.Electric vehicles constitute 30% of this fleet, amounting to 32 vehicles.In terms of active building comfort, the loads controlled in the active load management include those from washing machines, dishwashers, electric vehicles, air conditioners, and water heaters.
The percentage of people at home during each time period and the related parameters for each load are shown in Tables 1 and 2.

EV Load
T e is uniformly distributed from 7:00 to 9:00, S e is uniformly distributed from 80% to 100%, P c and P d are each 3.5 kW, and C s is 35 kW.
Washing Machine Load η wash is 1 kW, T wash,set lasts for 1 hour, scheduled once daily, with user-accepted scheduling times from 9:00 to 21:00.

Air Conditioning Load
T opt,in is set at 24 °C, with the maximum temperature not ex- ceeding 25 °C and the minimum temperature not falling below 23 °C.

Hot Water Load
T opt,wa is set at 70 °C, with the minimum temperature not fall- ing below 60 °C and the maximum temperature not exceeding 80 °C.
The interactive pricing between the active building system and the external electric grid is based on the peak and valley electricity prices for residential use in Nanjing.Specific electricity and natural gas prices are shown in Table 3.The thermodynamic parameters of the building and the parameters of each device are shown in Table 4.The outdoor temperature, solar irradiance, and various building load curves for a typical summer day over 24 h are shown in Figure 2.

Scenario Comparative Analysis
For a comparative analysis of the utility of the multi-energy load collaborative optimization proposed in this article for active buildings, four energy management scenarios are set for analysis.The specific scenario settings are shown in Table 5 and explained as follows: Scenario 1 only considers the use of passive technologies in active buildings at the design stage, without considering active technologies and renewable energy technologies.
Scenario 2 only considers the application of active technologies, i.e., considering ice storage air conditioning systems and active load control technologies, without considering the application of renewable energy technologies.
Scenario 3 only considers the application of renewable energy technologies, i.e., considering BIPV and ground source heat pump systems, without considering the application of active technologies.
Scenario 4 considers the collaborative application of renewable energy technologies and active technologies in active buildings.

Time Passive Technologies Active Technologies Renewable Energy Technologies
The comparison of operational schemes under different scenarios is shown in the following table.
This paper sets up four different energy scheduling scenarios to deeply explore the application benefits of multi-energy load collaborative optimization strategies in active buildings.The results shown in Table 6 indicate that Scenario 4, which integrates renewable energy technologies and active technologies in active buildings, significantly outperforms the other scenarios.It not only exhibits lower operating costs (2504.7 CNY) but also demonstrates lower carbon emissions (162.2 kg).The achievement of these results is primarily due to the multi-energy load collaborative optimization strategy, which can ensure energy supply security while effectively balancing energy supply and demand, optimizing energy flow, improving energy utilization efficiency, and reducing energy consumption and related environmental impacts.In comparison, although Scenario 3, which solely applies renewable energy technologies, and Scenario 2, which relies only on active technologies, also reduce operating costs and carbon emissions, their effects are not as pronounced as in Scenario 4. This is mainly because these technologies, when applied independently, cannot fully realize their potential for energy saving and emission reduction due to the lack of effective energy complementation and integration mechanisms, thus limiting the improvement of energy efficiency and the reduction of environmental impacts.Additionally, as a contrast, Scenario 1 only considers the passive technologies used in the initial design of active buildings, ignoring the application of active and renewable energy technologies, resulting in the highest operating costs (3611.5 CNY) and carbon emissions (319.1 kg).This highlights the limitations of single technologies and the importance of multi-energy load collaborative optimization in modern building energy management.

Analysis of Energy Management Strategy under the Optimal Scheme
From Section 7.2, it is evident that the active building energy management strategy, which involves the collaborative application of renewable energy technologies and active technologies, is the optimal solution.The experimental results indicate that the computational efficiency of solving the optimization problem using YALMIP and CPLEX solvers is high.The specific calculation times are as follows: YALMIP time: 1.5935 s; solver time: 0.4145 s; total optimization time: approximately 2 s.
The cooling, heating, and electrical operation plans under this scheme are shown in Figures 3-5    Analyzing the data shown in Figures 3-5, it is evident that from midnight to early morning (0:00~7:00), as the building's power demand reaches its daily low and there is no solar irradiation at night, the photovoltaic generation system outputs zero power, and the building solely relies on electricity purchased from the grid to meet its electrical load demand.Notably, during periods of lower electricity prices, the EMS utilizes the residual heat produced by the ground source heat pump to primarily meet the cooling load via the absorption chiller, while the electric cooling system provides supplemental cooling and stores excess cold energy in the thermal storage system, preparing in advance for high demand periods during the day.From 7:00 to 11:00, the EMS prioritizes scheduling photovoltaic system output to cover power demands and strategically purchases additional electricity from the grid during off-peak price periods to store in batteries, aiming to release it during peak price periods to alleviate grid load.Additionally, the EMS controls the collaborative operation of the ground source heat pump and gas boiler to effectively meet heating load demands.As the heating load increases, the EMS intelligently decides to activate the electric chiller to ensure cooling load demands are met, and further, when the stored cold energy in the thermal storage is depleted, it supplements and stores cold energy through the electric chiller to cope with the increased cooling load due to rising afternoon outdoor temperatures.From 11:00 to 17:00, as solar irradiance increases, PV can fully cover the electricity demands, and the residual heat from the ground source heat pump is effectively used to provide cooling through the absorption chiller, demonstrating the exceptional capability of active technologies and renewable energy working in synergy to promote comprehensive energy utilization and environmental benefits.In the evening and nighttime, as photovoltaic output decreases, the EMS system once again purchases electricity from the grid to meet the increased power demands, ensuring the continuity and stability of energy supply.During periods when the heating load peaks, the EMS system coordinates the simultaneous operation of the gas boiler and ground source heat pump, as well as the backup role of the electric boiler, to collectively ensure that the system's heating load demands are met.This precise energy scheduling exemplifies the EMS system's effectiveness in comprehensive energy management and promoting environmental sustainability.
Analysis from Figures 6 and 7 indicates that the electric vehicle charging load prior to scheduling is primarily concentrated between 16:00 and 22:00, reflecting the typical behavior of residents starting to charge their vehicles immediately after returning home in the evening.After optimization by the EMS, the charging times were shifted to the low electricity price period from 00:00 to 07:00, significantly reducing charging costs and optimizing grid load.Similarly, the washing machine load was shifted from the evening peak period to the afternoon hours of 13:00 to 16:00.Although the electricity prices are slightly higher during this period, reliance on the efficient generation from the photovoltaic system substantially reduced the need to purchase electricity from the grid and also avoided potential curtailment of solar energy.The same applies to the dishwasher load.As shown in Figure 8: the hot water system maintains a stable temperature during the deep night to early morning when user demand is very low and moderately cools down after the morning rush to reduce energy consumption.When the water temperature drops to about 62 °C, far from the set comfortable temperature, the system adjusts the compensation strategy to slow down the temperature decline until the evening when hot water usage increases.
As shown in Figure 9: in terms of indoor temperature control, the system reduces the cooling load by raising the temperature.Especially in the 11:00~15:00 period, despite the highest external temperatures and cooling load demand of the day, indoor temperatures are effectively stabilized thanks to the photovoltaic output, showcasing the system's excellent ability to maintain indoor comfort.As the external temperature drops at 17:00, the demand for cooling decreases correspondingly, and the indoor temperature drops slightly, stabilizing around 24.8 °C, demonstrating a good balance between indoor temperature stability and energy efficiency.In summary, this strategy, by coordinating renewable energy and active technologies, significantly reduces building operational costs and carbon emissions, contributing to building energy efficiency enhancement and environmental sustainability and providing a reference for the field of active building energy management.

Conclusions
This paper proposes an energy management strategy that comprehensively considers system energy consumption, environment, comfort, and proactivity through the coordinated optimization of renewable energy technologies and active technologies for active buildings with multi-energy load synergies.The following conclusions can be drawn: 1.The proposed energy consumption model, which considers the thermal dynamic characteristics of active buildings and integrates various disturbance factors such as building envelope structure and outdoor temperature, can more accurately describe the energy consumption of active buildings and the demands of various loads under different external environments.2. Active buildings, under the synergistic effects of renewable energy technologies and active technologies, can efficiently utilize renewable energy and significantly reduce energy costs.Experimental scenarios show that, compared to using only passive technologies, the optimal strategy that integrates renewable energy and active technologies can reduce operating costs by 30.64% and completely avoid curtailment of photovoltaic energy.3.By introducing a tiered carbon trading model, this strategy significantly enhances the environmental friendliness of buildings.It achieves efficient energy savings and emission reductions while fully ensuring user comfort.The study results indicate that the proposed strategy can reduce carbon emissions by 49.20%.Overall, this strategy comprehensively improves active buildings across multiple dimensions.4. Future research can further explore the application of active buildings under broader climatic conditions and various building types, as well as their integration potential with urban energy systems.Additionally, issues such as the uncertainty of renewable energy output and load demand need to be further addressed in subsequent work.

( 1 )
Electricity Purchase and Sale Cost

( 4 )
Equipment Operation and Maintenance Cost

Figure 7 .
Figure 7.The electric load distribution after scheduling.

Figure 8 .
Figure 8. Hot water temperature and heat load.

Figure 9 .
Figure 9. Indoor temperature and cooling load.
C,a represents the carbon emission allowance, in kg; E C represents the actual carbon emissions, in kg; λ grid represents the actual carbon emission coefficient correspond- ing to the electricity purchased, in kg/(kW•h); λ gas represents the actual carbon emission coefficient corresponding to the gas purchased, in kg/(kW•h); λ grid,a represents the carbon emission rights quota coefficient corresponding to the electricity purchased, in kg/(kW•h); where α represents the growth rate of the carbon price; e represents the interval length of carbon emissions, in kg; ∂ represents the base price of carbon trading, in CNY/kg; λ gas,a represents the carbon emission rights quota coefficient corresponding to the gas purchased, in kg/(kW•h).

Table 1 .
Percentage of personnel at home.

Table 3 .
Electricity and gas prices.

Table 4 .
Building thermodynamic parameters and equipment parameters.

Table 6 .
Comparison of different scene operation schemes.