Optimal scheduling method for building-side integrated energy system based on building thermal energy flow

By building a building thermal energy flow model and a multi-objective optimization model in the building-side integrated energy system, and using the double-layer KKT optimization algorithm, the problem of low energy efficiency in the building-side energy system is solved, and more accurate optimization and efficient Energy management, in line with dual carbon targets.

CN113379160BActive Publication Date: 2024-09-13STATE GRID JIANGSU ELECTRIC POWER CO LTD MARKETING SERVICE CENT +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110763169.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-06
Publication Date
2024-09-13
Estimated Expiration
2041-07-06

AI Technical Summary

Technical Problem

The existing technology lacks an optimal dispatching platform for the overall architecture in the building-side integrated energy system, resulting in low overall energy efficiency, energy waste, incomplete modeling of the thermal energy characteristics of the building, and inaccurate optimization results.

Method used

The building-side comprehensive energy system optimization dispatching method based on the building's thermal energy flow is used to build a building heat load model and a multi-objective optimization model. The double-layer KKT optimization algorithm is used to combine the goals of maximizing overall energy efficiency and minimizing energy costs. The layer optimization algorithm obtains the optimal scheduling plan.

Benefits of technology

It achieves a more accurate description of the energy consumption model, the optimization results are more realistic, improves energy utilization efficiency, meets the dual carbon goals, avoids local optimal results, and the method is objective and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113379160B
    Figure CN113379160B
Patent Text Reader

Abstract

The present invention discloses a method for optimizing and scheduling a building-side integrated energy system based on the thermal energy flow of a building, the method comprising the following steps: constructing a building heat load model based on the analysis of the thermal energy flow of the building; according to the thermal load model of the building, establishing a multi-objective optimization model with the goal of maximizing the overall energy efficiency and minimizing the energy cost of the building-side integrated energy system; using double-layer optimization to solve the multi-objective optimization model with the upper layer being the maximum overall energy efficiency and the lower layer being the minimum operating cost to obtain an optimization result; scheduling and operating the building-side integrated energy system according to the optimization result. The method of the present invention establishes a thermal load model of a building based on the thermal energy flow of the building, which can more accurately describe the energy consumption model of the physical level of the building itself, sets two layers of upper and lower targets, takes comprehensive considerations, and the optimization results are more accurate, and the solution method occupies less memory, consumes less time, and is more objective and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system optimization and dispatching, and more specifically to a building-side integrated energy system optimization and dispatching method based on building thermal energy flow. Background Art

[0002] As a typical smart energy system, the integrated energy system can promote the in-depth integration of sources, networks and loads, and improve the utilization rate of renewable energy. With the continuous increase in the total number of buildings in China and the continuous improvement of living comfort requirements, building energy consumption has shown a sharp upward trend. At present, it has become one of the three major "energy consumers" in my country's energy consumption, along with industrial energy consumption and transportation energy consumption. Building energy conservation is imminent. It is necessary to focus on increasing the proportion of electricity in terminal multi-energy consumption and minimize the combustion and emission of terminal fossil energy to alleviate the pressure on the environment caused by pollutant emissions. On the building side, the comprehensive use of electric energy substitution technology to achieve the combined supply of cold, heat and electricity, and build an integrated energy system, which provides a low-carbon solution for the energy supply of the building system. It is a more efficient and environmentally friendly terminal energy system. Based on the concepts of multi-energy complementarity, renewable energy consumption and demand-side response, an energy efficiency optimization algorithm suitable for smart buildings is proposed.

[0003] As a basic product for promoting intelligent building platform technology, the user-side distributed energy system of smart buildings is an important part of building user-side distributed energy systems. The equipment in general building users includes photovoltaic and wind power on the roof, energy storage equipment, central air-conditioning system, and effective loads on each floor. The effective loads on each floor include various comprehensive energy forms such as electrical load, heat load, cooling load, and gas load.

[0004] For comprehensive energy users on the building side, due to the wide variety of terminal energy-consuming equipment, diverse load demands, and the lack of an optimization scheduling platform on the overall architecture, the overall energy efficiency is low and there is a lot of energy waste. Existing studies often ignore the differences in multiple time scales between electricity, cooling, and heat in the building energy supply system. For the modeling of the building itself, a simple single-layer model is usually used. The consideration of the building's thermal storage characteristics is not perfect, the optimization results are not accurate, and the joint optimization goals of the multi-energy joint supply building system are unclear. Summary of the invention

[0005] In order to solve the deficiencies in the prior art, the purpose of the present invention is to provide a building-side integrated energy system optimization scheduling method based on the thermal energy flow of the building, model the thermal energy flow of the building itself, establish a multi-objective optimization model of the building-side integrated energy system, and adopt a two-layer optimization algorithm for the two types of goals of the overall energy efficiency and energy cost of the building, and use a two-layer KKT optimization algorithm to obtain the optimal scheduling plan for the building's integrated energy system.

[0006] The present invention adopts the following technical solution:

[0007] A method for optimizing and scheduling a building-side integrated energy system based on building heat flow, the method comprising the following steps:

[0008] Step S1, constructing a building heat load model based on building heat energy flow analysis;

[0009] Step S2, based on the heat load model of the building, a multi-objective optimization model is established with the goal of maximizing the overall energy efficiency and minimizing the energy cost of the building-side integrated energy system;

[0010] Step S3, using the upper layer to maximize the overall energy efficiency and the lower layer to minimize the operating cost, a double-layer optimization is used to solve the multi-objective optimization model to obtain an optimization result;

[0011] Step S4, scheduling and operating the building-side integrated energy system according to the optimization results.

[0012] Preferably, the building heat load model in step 1 includes a heat load model of the external envelope structure and a heat load model of the air conditioning and fresh air system.

[0013] Preferably, in the equivalent thermal circuit of the heat load model of the external envelope structure heat transfer, the convection thermal resistance between the outdoor air and the outer surface of the roof is Thermal conduction resistance between the roof's outer and inner surfaces And the convection thermal resistance between the inner surface of the roof and the indoor air They are connected in series in sequence, and then in parallel with the total thermal resistance of the wall and windows to form a parallel structure. After parallel connection, they are connected with the thermal resistance between the indoor air and the underground constant temperature layer. Connect in series to form a total series structure;

[0014] Outdoor temperature t and the underground thermostatic layerγ g As a heat pressure source, it is applied to both ends of the total series circuit, and the convection thermal resistance of the outdoor air and the outer surface of the roof is and the thermal resistance between the indoor air and the underground constant temperature layer connect;

[0015] The thermal power of solar radiation absorbed by the roof Convective thermal resistance applied to the outdoor air and the roof surface as a heat flow source and the thermal conduction resistance between the roof's outer and inner surfaces At the connection point between

[0016] Equivalent thermal capacitance C of indoor air a,in Thermal resistance applied between the parallel structure and the indoor air and the underground constant temperature layer at the connection point.

[0017] Preferably, the heat load of the external envelope for:

[0018]

[0019] in, is the total thermal resistance of the window and the wall, is the total thermal resistance of the roof, is the equivalent thermal resistance of the inner side of the roof, is the convection thermal resistance between outdoor air and the roof outer surface; is the thermal resistance between indoor air and underground constant temperature layer; t is the outdoor temperature, Indoor temperature, γ g is the temperature of the underground isothermal layer, equivalent to the thermal pressure in the thermal circuit; It is the thermal power absorbed by the roof from solar radiation, which is equivalent to the heat flow source in the thermal circuit.

[0020] Preferably, the total thermal resistance of the window and the wall for:

[0021]

[0022] in, They are the total thermal resistance of the wall and the total thermal resistance of the window respectively. The two in parallel are the total thermal resistance of the window and the wall.

[0023] Preferably, the total thermal resistance of the wall and the total thermal resistance of the window They are:

[0024]

[0025]

[0026] in, They are the convection thermal resistance between outdoor air and the outer surface of the wall, the conduction thermal resistance between the outer surface of the wall and the inner surface, and the convection thermal resistance between the inner surface of the wall and the indoor air. The sum of the three is the total thermal resistance of the wall. They are the convection thermal resistance between outdoor air and window glass, and the convection thermal resistance between window glass and indoor air respectively. The sum of the two is the total thermal resistance of the window.

[0027] Preferably, the total thermal resistance of the roof for:

[0028]

[0029] in, They are the convection thermal resistance between outdoor air and the outer surface of the roof, the conduction thermal resistance between the outer surface and the inner surface of the roof, and the convection thermal resistance between the inner surface of the roof and the indoor air. The sum of the three is the total thermal resistance of the roof.

[0030] Preferably, the equivalent thermal resistance of the inner side of the roof

[0031]

[0032] in, They are the conduction thermal resistance when heat transfer occurs between the outside of the roof and the outdoor air, and the equivalent thermal resistance when convection occurs between the inside of the roof and the indoor air.

[0033] Preferably, the heat load of the air conditioning fresh air system for:

[0034]

[0035] in, is the number of people in the room, V p The fresh air volume required per person per hour; N h is the number of air changes per unit volume per hour in the room, is the indoor volume of the building; is the density of air; c air is the specific heat capacity of air.

[0036] Preferably, the cooling load required indoors in summer and the heat load required in winter They are:

[0037]

[0038]

[0039] in, and are the heat load transferred from outdoor to indoor and the heat load of the air conditioning system at time point t, γ t is the outdoor temperature, Room temperature.

[0040] Preferably, step S2 comprises:

[0041] Step S2-1, establishing a multi-objective optimization model of the building-side integrated energy system with the goal of maximizing overall energy efficiency;

[0042] Step S2-2, establishing a multi-objective optimization model of the building-side integrated energy system with the goal of maximizing energy cost efficiency.

[0043] Step S2-3, establishing constraints in the multi-objective optimization model of the building-side integrated energy system.

[0044] Preferably, in step S2-1, the overall energy efficiency of the building-side integrated total energy system is:

[0045] η t =(Q dT +H dT +P dT ) / E

[0046] Among them, Q dT , H dT , P dT They are the cooling, heating and electricity supply provided by the integrated energy system respectively.

[0047] Preferably,

[0048]

[0049]

[0050]

[0051] Among them, Q sys (t) is the cooling load demand of the system; H steam (t) and H water (t) are the steam load and hot water load of the system respectively; P load (t) is the system electrical load; Q dT , H dT and P dT are the cooling, heating and power supply of the system in time period T; E GT (t) and E GB are the natural gas consumed by gas turbines and gas boilers respectively; E buy.e (t) is the actual amount of electricity purchased from the power grid; E buy.h is the amount of purchased steam; p gas 、p electric and p steam They are the coal discount coefficients for natural gas, purchased electricity and purchased steam respectively.

[0052] Preferably, in step S2-2, the energy cost includes equipment operation and maintenance cost, electricity purchase cost, heat purchase cost and fuel cost.

[0053] Preferably, the energy cost is calculated as follows:

[0054] C energy =C om +C ES +C HS +C f(19)

[0055] Among them, C energy is the energy cost, C om , C ES , C HS , C f They are equipment operation and maintenance costs, electricity purchase costs, heat purchase costs, and fuel costs; among them,

[0056]

[0057] C ES =∑ t ξ e P buy (t]T (21)

[0058] C HS =∑ t ξ h H buy (t)T (22)

[0059] C f =∑ t ξ gas [F GB (t)+F GT (t)]T (23)

[0060] in, ξ e , h and gas are the maintenance unit cost of equipment s, system electricity purchase cost, system heat purchase cost and fuel cost respectively; P s (t), P buy , H buy (t) are the output power, purchased electricity power and purchased heat power of equipment s respectively; F GB (t) and F GT (t) are the natural gas consumption of gas turbine and gas boiler respectively, and T is the time period T.

[0061] Preferably, in step S2-3, the constraints include physical constraints of the equipment itself and cooling, heating and electricity supply and demand balance constraints.

[0062] Preferably, the supply-demand balance constraint and the device's own constraint are:

[0063] W provide (t) = W demand (t)

[0064] P output.s (t) = P input.s (t)η out.s

[0065] Among them, W provide (t) is the energy provided by the multi-energy system; W demand (t) is the energy required by the user; P input.s (t) and P output.s (t) are the input and output power of device s respectively; η out.s is the energy conversion efficiency of device s.

[0066] Preferably, in step S3, when two-layer optimization is used to solve the multi-objective optimization model, the lower-layer optimization objective is added to the upper-layer optimization objective using the KKT condition, and the upper-layer problem is converted into a single-layer MPEC problem for solution.

[0067] Preferably, when solving the single-layer MPEC problem, the BMM method is used to process the complementary conditions and transform the MPEC problem into a mixed integer linear programming solution.

[0068] The beneficial effects of the present invention are as follows:

[0069] (1) The building-side integrated energy system optimization scheduling method based on building thermal energy flow of the present invention builds a building heat load model based on building thermal energy flow analysis, which can more accurately describe the physical energy consumption model of the building itself, and thus has more practical engineering value for the energy consumption model in the double-layer model. The result of the entire optimization model is more accurate, and has more practical significance for the actual optimization result;

[0070] (2) The building-side integrated energy system optimization scheduling method based on building heat flow of the present invention aims to maximize the overall energy efficiency and minimize the energy cost of the integrated energy system, sets upper and lower targets, and considers a wider range in the optimization results, with more practical engineering value. The target comprehensively considers the overall energy efficiency and energy cost. Compared with the previous comfort model, it pays more attention to the actual energy utilization efficiency and the corresponding carbon emissions, which is more in line with the current dual carbon goals proposed in China and has more contemporary significance.

[0071] (3) The building-side integrated energy system optimization scheduling method based on building heat flow of the present invention adopts a double-layer optimization algorithm to solve the multi-objective optimization model, sets two layers of objectives, upper layer and lower layer, and considers a wider range in the optimization results, which has more practical engineering value;

[0072] (4) The building-side integrated energy system optimization scheduling method based on building heat flow of the present invention uses a double-layer KKT optimization algorithm, which is converted into a single-layer MPEC problem, and uses the BMM method to process complementary conditions. The KKT method adopted by the present invention occupies less memory, consumes less time, and does not result in a local optimum. Compared with the weighted dual-objective method in the prior art, the double-layer KKT method completely obtains the result through mathematical methods, does not have the problem of strong subjectivity in the weight setting process, and is more objective and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Attached Figure 1 It is a flow chart of the optimization scheduling method of the building-side integrated energy system based on the building's thermal energy flow;

[0074] Attached Figure 2 It is a schematic diagram of heat conduction from outdoor to indoor of a building of the present invention;

[0075] Attached Figure 3 It is the equivalent thermal circuit diagram of the building of the present invention;

[0076] Attached Figure 4 It is a comparison of energy efficiency before and after optimization using the method of the present invention in a specific example of the present invention. DETAILED DESCRIPTION

[0077] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0078] like Figure 1 As shown, a building-side integrated energy system optimization scheduling method based on building heat flow includes the following steps:

[0079] Step S1, constructing a building heat load model based on building heat energy flow analysis;

[0080] Step S2, based on the heat load model of the building, a multi-objective optimization model is established with the goal of maximizing the overall energy efficiency and minimizing the energy cost of the building-side integrated energy system;

[0081] Step S3, using the upper layer to maximize the overall energy efficiency and the lower layer to minimize the operating cost, a double-layer optimization is used to solve the multi-objective optimization model to obtain an optimization result;

[0082] Step S4, scheduling and operating the building-side integrated energy system according to the optimization results.

[0083] The following is a detailed description of the building-side integrated energy system optimization scheduling method based on building thermal energy flow of the present invention.

[0084] Step S1, constructing a building heat load model based on building heat energy flow analysis.

[0085] For general residential users, the heat load demand on the user side met by the central air-conditioning system is an important component of the building side system. Unlike the electrical load demand, the heat load demand has the characteristics of slow demand changes and rough load demand. Therefore, using the characteristics of the heat load demand itself to optimize the overall energy efficiency is an important means of optimizing the comprehensive energy system on the building side. In the existing optimization model, the building itself is usually modeled with a simple single-layer model, which is not accurate for the optimization results itself. Here, the use of a building model based on thermal energy flow will make the results in the optimization model more accurate and more meaningful for the actual optimization results.

[0086] When the indoor temperature of the building reaches the set value, the heat (cold) load is the heat loss of the indoor air. The heat load model based on the building thermal energy flow analysis mainly includes two parts: heat transfer through the exterior envelope structure and the load caused by the air conditioning and fresh air system.

[0087] 1) Heat transfer of external protective structure

[0088] Indoor and outdoor air transfer heat through the wall, including two heat transfer methods and three transfer processes: convection heat transfer between outdoor air and the outer surface of the wall, conduction heat transfer between the outer surface of the wall and the inner surface, and convection heat transfer between the inner surface of the wall and the outdoor air.

[0089] Residential buildings generally have multiple floors and multiple rooms. The temperatures in the rooms using air conditioning are similar, which can be seen as Figure 2 The single room shown in the figure is used as the outdoor room, while other rooms without air conditioning are considered as the outdoor room. The room's external envelope includes walls, windows, roof and floor. When there is a temperature difference between indoor and outdoor, heat will be conducted through the external envelope. In addition, since the roof of the house is greatly affected by the sun, it is necessary to consider the heat absorbed by the roof from the sun.

[0090] like Figure 3 As shown, it shows the equivalent thermal circuit diagram of heat transfer between indoor and outdoor air through the wall.

[0091] Among them, γ t is the outdoor temperature, is the temperature outside the roof, is the temperature inside the roof, Indoor temperature, γ g is the temperature of the underground isothermal layer, which is equivalent to the thermal pressure in the thermal circuit, similar to the voltage in the circuit, γ t Outdoor temperature and γ g The temperature of the underground isothermal layer can be equivalent to a voltage source; is the thermal power absorbed by the roof from solar radiation, which is equivalent to the heat flow source in the thermal circuit, similar to the current source in the circuit; C a,in It is the equivalent thermal capacitance of the indoor air, similar to the capacitance in the circuit. They are the convection thermal resistance between outdoor air and the outer surface of the roof, the conduction thermal resistance between the outer surface of the roof and the inner surface, and the convection thermal resistance between the inner surface of the roof and the indoor air. It is the thermal resistance between indoor air and underground constant temperature layer. are the total thermal resistance of the wall and the total thermal resistance of the window, respectively.

[0092] Specifically, in the equivalent thermal circuit diagram, the convection thermal resistance between the outdoor air and the roof outer surface is Thermal conduction resistance between the roof's outer and inner surfaces And the convection thermal resistance between the inner surface of the roof and the indoor air They are connected in series in sequence, and then in parallel with the total thermal resistance of the wall and windows to form a parallel structure. After parallel connection, they are connected with the thermal resistance between the indoor air and the underground constant temperature layer. The total series structure is formed in series; the outdoor temperature γ t and the underground thermostatic layerγ g As a heat pressure source, it is applied to both ends of the total series circuit, and the convection thermal resistance of the outdoor air and the outer surface of the roof is and the thermal resistance between the indoor air and the underground constant temperature layer Connection; The thermal power of solar radiation absorbed by the roof Convective thermal resistance applied to the outdoor air and the roof surface as a heat flow source and the thermal conduction resistance between the roof's outer and inner surfaces At the connection point between a,in Thermal resistance applied between the parallel structure and the indoor air and the underground constant temperature layer at the connection point.

[0093] according to Figure 3 , the heat energy transferred from outdoor to indoor for:

[0094]

[0095] in, is the total thermal resistance of the window and the wall, is the total thermal resistance of the roof, is the equivalent thermal resistance of the inner side of the roof, is the convection thermal resistance between outdoor air and the roof outer surface; is the thermal resistance between indoor air and underground constant temperature layer; t is the outdoor temperature, Indoor temperature, γ gis the temperature of the underground isothermal layer, which is equivalent to the thermal pressure in the thermal circuit, similar to the voltage in the circuit; It is the thermal power absorbed by the roof from solar radiation, which is equivalent to the heat flow source in the thermal circuit, similar to the current source in the circuit.

[0096] In formula (1), the total thermal resistance of the window and the wall is It can be further expressed as:

[0097]

[0098] in, are the total thermal resistance of the wall and the total thermal resistance of the window respectively. The two in parallel are the total thermal resistance of the window and the wall, which can be further expressed as:

[0099]

[0100]

[0101] in, They are the convection thermal resistance between outdoor air and the outer surface of the wall, the conduction thermal resistance between the outer surface of the wall and the inner surface, and the convection thermal resistance between the inner surface of the wall and the indoor air. The sum of the three is the total thermal resistance of the wall. They are the convection thermal resistance between outdoor air and window glass, and the convection thermal resistance between window glass and indoor air respectively. The sum of the two is the total thermal resistance of the window. Since windows are usually thin, the conduction thermal resistance from the outer surface to the inner surface can be ignored.

[0102] In formula (1), the total thermal resistance of the roof is Further expressed as:

[0103]

[0104] in, They are the convection thermal resistance between outdoor air and the outer surface of the roof, the conduction thermal resistance between the outer surface and the inner surface of the roof, and the convection thermal resistance between the inner surface of the roof and the indoor air. The sum of the three is the total thermal resistance of the roof.

[0105] In formula (1), the equivalent thermal resistance of the inner side of the roof is Further expressed as:

[0106]

[0107] in, They are the conduction thermal resistance when heat transfer occurs between the outside of the roof and the outdoor air, and the equivalent thermal resistance when convection occurs between the inside of the roof and the indoor air.

[0108] 2) Air conditioning fresh air system load

[0109] The load of the air conditioning system for handling fresh air accounts for approximately 25%-30% of the total energy consumption of air conditioning. For hotels and office buildings, it can even be as high as 40%. This shows that the load caused by the air conditioning system for handling fresh air cannot be ignored.

[0110] The calculation of fresh air volume of air conditioning fresh air system is based on two principles: one is to calculate by the number of people, that is, the product of the fresh air volume required per person per hour and the number of people; the other is to calculate by the room volume capacity, that is, the product of the room volume and the number of complete air changes per hour in the room. In order to ensure the freshness of indoor air, the larger value of the two calculation results is taken as the load of the air conditioning fresh air system, that is,

[0111]

[0112] in, is the number of people in the room, V p The fresh air volume required per person per hour; N h is the number of air changes per unit volume per hour in the room, is the indoor volume of the building; air is the density of air; c air is the specific heat capacity of air.

[0113] 3) Building heat load model

[0114] Based on the heat transfer model of the exterior envelope structure and the load model of the air conditioning envelope system, the heat load model of the building can be obtained.

[0115] If the heat transfer direction from outdoor to indoor is positive, the heat load in summer is positive and the heat load in winter is negative. and the heat load required in winter Respectively expressed as:

[0116]

[0117]

[0118] in, and Corresponding to the formulas (1) and (7) and That is, the heat load transferred from outdoor to indoor at time point t and the heat load of the air conditioning and fresh air system.

[0119] Step S2, based on the heat load model of the building, establish a multi-objective optimization model with the goals of maximizing the overall energy efficiency and minimizing the energy cost of the building-side integrated energy system.

[0120] The multi-objective optimization model of the present invention comprehensively considers the overall energy efficiency and energy cost. Compared with the previous comfort model, it pays more attention to the actual energy utilization efficiency and the corresponding carbon emissions. It is more in line with the current dual carbon goals proposed in China and has more contemporary significance.

[0121] Step S2-1, establishing a multi-objective optimization model of the building-side integrated energy system with the goal of maximizing overall energy efficiency.

[0122] A distributed energy system with multiple complementary energies usually includes multiple types of energy inputs, such as cooling, heating, electricity, and gas. Through integration and optimization, it can provide energy to users with a higher comprehensive energy efficiency. Comprehensive energy efficiency is an important indicator for examining the performance of the entire multi-energy system.

[0123] From the perspective of physics, energy efficiency refers to the ratio of the energy that works to the actual amount of energy consumed in the process of energy utilization. From the perspective of consumption, energy efficiency refers to the ratio of the services provided by the system to the end user to the total energy consumed. Generally speaking, there is a positive correlation between the resources invested in production operations and the degree of task completion, but excessive resource investment does not necessarily represent a high level of energy efficiency. For example, idle waste of resources and improper use of energy utilization technology will lead to a decline in the overall energy efficiency level.

[0124] For energy systems with multiple energy coupling, the output energy includes cooling, heating, and electricity demand loads, and the input energy includes purchased electricity from the power grid, locally connected renewable energy electricity, and energy such as coal gas or natural gas. Considering the energy storage loss of various energy storages for cooling, heating, and electricity (the power loss inside the energy storage device during the period from charging to discharging), the cooling capacity Q provided by the integrated energy system is dT , Heating H dT , power supply P dT The expressions are:

[0125]

[0126]

[0127]

[0128] Where: Q sys (t) is the cooling load demand of the system, obtained according to the building heat load model in step 1; H steam (t) and H water (t) are the steam load and hot water load of the system respectively; P load (t) is the system electrical load; Q dT , H dT and P dT They are respectively the cooling, heating and power supply of the system in time period T, and the unit can be kJ.

[0129] Based on the energy consumption model of the existing scenarios, and under the condition that the supply and demand balance of sources and loads has been ensured, the corresponding energy efficiency improvement targets are generated by analyzing the energy consumption characteristics of each scenario and its equipment, including:

[0130] The energy utilization rate of the system, that is, the ratio of energy input to output:

[0131]

[0132] Among them, λ is the energy utilization rate of the system, Q out and Q in are the output and input energies of the system respectively.

[0133] Typical equipment efficiency as a function of part load factor, ambient temperature, and humidity:

[0134] η=η n f(plr,T am ,W am ) (14)

[0135] Among them, η is the energy efficiency of typical equipment, η n is the energy efficiency of a certain equipment, plr is the partial load rate, T am is the ambient temperature, W am is the ambient humidity, and f is a function of part load rate, ambient temperature and humidity.

[0136] Energy saving rate, that is, the proportion of energy saved before and after optimization:

[0137]

[0138] Among them, κ is the energy saving rate, E0 and E1 are the energy consumption before and after optimization, respectively.

[0139] In energy consumption calculation, "comprehensive energy consumption" is usually used to characterize the various energy sources actually consumed by energy users. Comprehensive energy consumption refers to the actual amount of various energy sources consumed by energy users during the statistical period. The calculation formula for user comprehensive energy consumption is:

[0140]

[0141] Among them, E is the comprehensive energy consumption, which can be expressed in kilograms of standard coal; n is the number of energy types consumed; e i is the physical mass of the i-th energy consumed in industrial production; p i is the standard coal discount coefficient of the i-th energy source.

[0142] The comprehensive energy consumption expression of the input energy of the multi-energy integrated energy system is:

[0143]

[0144] Among them, E GT (t) and E GB are the natural gas consumed by gas turbines and gas boilers respectively; E buy . e (t(is the actual amount of electricity purchased from the power grid; E buy .h is the amount of steam purchased; p has 、p electric and p steam They are the coal discount coefficients for natural gas, purchased electricity and purchased steam respectively.

[0145] Then, the comprehensive energy efficiency expression of the multi-energy system is:

[0146] η t =(Q dT +H dT +P dT ) / E (18)

[0147] Step S2-2, establishing a multi-objective optimization model of the building-side integrated energy system with the goal of maximizing energy cost efficiency.

[0148] Energy efficiency is the first internal driving force for users to adjust their energy strategies. When formulating a comprehensive energy strategy for users, it is necessary to consider the overall energy cost of users. Energy strategies that only guarantee low-carbon and environmentally friendly energy use are almost impossible to implement in real industrial production processes. When considering the overall energy efficiency optimization of building users, the energy cost of the integrated energy system should also be one of the optimization goals.

[0149] Energy costs mainly include equipment operation and maintenance costs, electricity purchase costs, heat purchase costs and fuel costs. Energy costs are calculated as follows:

[0150] C energy =C om +C ES +C HS +C f (19)

[0151] Among them, C energy is the energy cost, C om , C ES , C HS , C f They are equipment operation and maintenance cost, electricity purchase cost, heat purchase cost and fuel cost. Specifically, their expressions are:

[0152]

[0153]

[0154] C HS =∑ t ξ h H buy (t)T (22)

[0155] C f =∑ t ξ gas [F GB (t)+F GT (t)]T (23)

[0156] in, ξ e , h and gas are the maintenance unit cost of equipment s, system electricity purchase cost, system heat purchase cost and fuel cost respectively; P s (t), P buy , H buy (t) are the output power, purchased electricity power and purchased heat power of equipment s respectively; F GB (t) and F GT (t) are the natural gas consumption of gas turbine and gas boiler respectively, and T is the time period T.

[0157] Step S2-3, establishing constraints in the multi-objective optimization model of the building-side integrated energy system.

[0158] In the process of optimizing the scheduling of multi-energy integrated energy systems, in addition to considering the physical constraints of the equipment itself, the constraints on the balance of supply and demand of cooling, heating and electricity should also be considered.

[0159] The expressions of supply and demand balance constraints and the constraints of the equipment itself are:

[0160] W provide (t) = W demand (t) (24)

[0161] P output.S (t) = P input.s (t)η out. s (25)

[0162] Among them, W provide (t) is the energy provided by the multi-energy system; W demand (t) is the energy required by the user; P input.s (t) and P outp ut .s (t) are the input and output power of device s respectively; η out.s is the energy conversion efficiency of device s.

[0163] In addition, constraints also include inequality constraints, such as the maximum and minimum output constraints of each device.

[0164] Step S3, using double-layer optimization to solve the multi-objective optimization model with the upper layer maximizing the overall energy efficiency and the lower layer minimizing the operating cost to obtain the optimization result.

[0165] The advantage of dual objectives is that two layers of objectives, upper and lower, are set, and the scope of consideration in the optimization results is wider and more practical engineering value. The dual objectives comprehensively consider the overall energy consumption and operating costs. The consideration of energy efficiency is more in line with the dual carbon goals currently proposed by my country and is more contemporary. When solving the dual-objective optimization model, the present invention uses a two-layer KKT optimization algorithm, which is converted into a single-layer MPEC problem, and uses the BMM method to process complementary conditions. The methods generally used in the prior art are divided into mathematical analysis methods and intelligent algorithms. Intelligent algorithms are heuristic algorithms. The optimal solution generally obtained by heuristic algorithms cannot prove whether it is a local optimal solution or a global optimal solution, and the number of iterations is too large, the memory is large, and the time consumed is long; mathematical analysis methods include KKT algorithms, penalty factor methods, second-order cones and other methods. The KKT method adopted in the present invention occupies less memory, consumes less time, and there is no situation where the result falls into the local optimum. Compared with the weighted dual-objective method in the prior art, the weights are generally set by an expert system or by the analytic hierarchy process, which is highly subjective, and the final optimization result is not necessarily the result of an objective response. The double-layer KKT method obtains the result completely through mathematical methods, and there is no problem of strong subjectivity in the weight setting process, which is more objective and efficient.

[0166] Bi-level programming is a hierarchical optimization problem with two-level decision-making. In the past 30 years, the theory of bi-level programming has developed rapidly. In bi-level programming, each level can represent an interest group, and each level has its own decision variables, constraints and objective functions. These two interest groups make decisions in a non-cooperative and orderly manner. The correlation between the upper and lower levels is mainly reflected in the fact that the upper-level optimization problem needs to consider the constraints in the lower-level optimization problem, and the optimization results of the upper level directly affect the optimization results of the lower-level problem. After the optimization results of the lower level problem are fed back to the upper level, they will also affect the upper-level objective function and constraints. There are usually contradictions between the objective functions of the upper and lower levels, but the lower-level decision makers generally obey the decisions of the upper-level decision makers, forming a master-slave relationship, adjusting the constraints according to the decisions of the upper-level decision makers, and maximizing their own interests.

[0167] For the integrated energy system on the building side, a two-layer optimization method is adopted to optimize the overall energy efficiency and energy cost. The upper layer maximizes the overall energy efficiency, and the lower layer minimizes the energy cost.

[0168] The general mathematical model of two-level optimization is as follows:

[0169] Min FU(x,y) (26)

[0170] stG(x,y)≤0 (27)

[0171] Min FL(x,y) (28)

[0172] stg(x,y)≤0 (29)

[0173] Among them, FU(x, y) represents the objective function of the upper optimization problem, x = [x1, x2, ..., x n1 ] represents the decision variables of the upper optimization problem, G(x,y) represents the inequality constraints of the upper problem. FL(x,y) represents the objective function of the lower optimization problem, y=[y1,y2,...,y n2 ] represents the decision variables of the lower-level optimization problem, and g(x,y) represents the inequality constraints of the lower-level problem.

[0174] Since the equality constraint can be equivalently transformed into two inequality constraints, the equality constraint is no longer expressed separately.

[0175] The relaxed expressions of equations (26)-(29) are as follows:

[0176] Min FU(x,y) (30)

[0177] stG(x,y)≤0 (31)

[0178] g(x,y)≤0 (32)

[0179] The optimal solution of the relaxed expression above is the lower bound of the optimal solution of the original bi-level programming problem. The relaxed feasible domain Ω is:

[0180] Ω={(x,y)|G(x,y)≤0 and g(x,y)≤0} (33)

[0181] For a given decision variable The feasible domain of the underlying problem for:

[0182]

[0183] For a given decision variable A set of rational responses to lower-level problems for

[0184]

[0185] Any All based on The rational response obtained. is a multi-valued implicit function and may be an empty set.

[0186] After obtaining the rational response of the lower layer, the induced domain IRA of the entire two-level programming problem can be obtained:

[0187] IRA={(x,y)|G(x,y)≤0 and y∈R(x)} (36)

[0188] The induced domain is usually a non-convex set. When the upper-level problem contains constraints, it may be an empty set or discontinuous. If (x, y) ∈ IRA, then (x, y) is called a feasible solution to the original two-level problem. * ,y * )∈IRA, for Both

[0189] FU(x * ,y * )≤FU(x,y) (37)

[0190] Then (x * ,y * ) is the optimal solution to the original problem.

[0191] Specifically, in step S3, when using double-layer optimization to solve the multi-objective optimization model, the KKT (Karush–Kuhn–Tucker conditions) conditions are used to add the lower-level optimization objectives to the upper-level optimization objectives, and the upper-level problem is converted into a single-layer MPEC (Mathematical Programs with Equilibrium Constranints) problem. The BMM (BigM method) method is used to process the complementary conditions to obtain the optimization result.

[0192] The two-layer optimization model of the building-side integrated energy system can be simplified as follows:

[0193] Max FU(x,y)

[0194] std(x,y)≥0,g(x,y)=0

[0195] Min FL(x,y)

[0196] stD(x,y)≥0,G(x,y)=0 (38)

[0197] Among them, FU(x,y) and FL(x,y) represent the upper and lower objective functions, respectively, corresponding to the maximum comprehensive energy efficiency and the minimum energy cost, d(x,y)≥0 and g(x,y)=0 represent the inequality constraints and equality constraints in the upper problem, respectively, and D(x,y)≥0 and G(x,y)=0 represent the inequality constraints and equality constraints in the lower problem, respectively.

[0198] The lower problem is convex, and the first-order necessary conditions can be given by the KKT conditions. Therefore, the lower problem can be replaced by the KKT conditions to obtain a mathematical programming problem with equilibrium constraints, as shown below:

[0199] Max FU(x,y)

[0200] std(x,y)≥0,g(x,y)=0

[0201]

[0202] G(x,y)=0

[0203]

[0204] Where δ and ξ represent the Lagrange multipliers of the inequality constraint and equality constraint in the lower problem, respectively. The complementary constraint 0≤D(x,y)⊥δ≥0 can be transformed into D(x,y)≤MY and δ≤M(1-Y) using the Big M method (BMM). Where M is a sufficiently large positive number and Y is a 0-1 integer variable.

[0205] According to the independence of complementary conditions, the MPEC model can be equivalently transformed into a MILP mixed integer linear programming (MILP) model using the BMM method, thereby solving and obtaining the optimization result. Step S4, scheduling and operating the building-side integrated energy system according to the optimization result.

[0206] In order to verify the optimization method of the present invention, an intelligent building located in a science and technology park in a certain city is taken as an example analysis object to optimize the building-side integrated energy system.

[0207] The building has a construction area of ​​93,772 square meters, and the main building is divided into two underground floors and six above-ground floors. The building is equipped with rooftop and fence photovoltaics with an installed capacity of 1,000 kwp, and photovoltaic power generation is directly connected to the grid. A 400 kwh all-weather battery is installed inside, and the building's cold and heat sources are in the form of ground source heat pump system + chiller + multi-split + split air conditioner. All cold and heat source equipment uses electricity as energy input, and lacks a combined heat, cooling and power system, which meets the requirements for energy efficiency optimization of the combined heat, cooling and power system on the building side. Build a comprehensive energy system suitable for the energy consumption characteristics of the building, and optimize the comprehensive energy system on the building side based on the thermal energy flow analysis of the building itself. The operating cost within one day before and after the optimization, that is, the energy cost, is shown in Table 1:

[0208] Table 1 Comparison of operating costs before and after optimization

[0209] Amount (Yuan) Operating cost before optimization 378999 Optimized operating cost 308191

[0210] See attached Figure 2 , the comprehensive energy efficiency is further improved after optimization. First, the thermal energy flow of the building itself is modeled, and a multi-objective optimization model of the building-side comprehensive energy system is established. For the two types of goals of the building's overall energy efficiency and energy cost, a double-layer optimization algorithm is used. Using a double-layer KKT optimization algorithm, the optimal scheduling plan for the building's comprehensive energy system is obtained. The building modeling is more refined, focusing on the energy consumption of the building itself, which is in line with the national dual-carbon era background.

[0211] The beneficial effect of the present invention is that, compared with the prior art,

[0212] (1) The building-side integrated energy system optimization scheduling method based on building thermal energy flow of the present invention builds a building heat load model based on building thermal energy flow analysis, which can more accurately describe the physical energy consumption model of the building itself, and thus has more practical engineering value for the energy consumption model in the double-layer model. The result of the entire optimization model is more accurate, and has more practical significance for the actual optimization result;

[0213] (2) The building-side integrated energy system optimization scheduling method based on building heat flow of the present invention aims to maximize the overall energy efficiency and minimize the energy cost of the integrated energy system, sets upper and lower targets, and considers a wider range in the optimization results, with more practical engineering value. The target comprehensively considers the overall energy efficiency and energy cost. Compared with the previous comfort model, it pays more attention to the actual energy utilization efficiency and the corresponding carbon emissions, which is more in line with the current dual carbon goals proposed in China and has more contemporary significance.

[0214] (3) The building-side integrated energy system optimization scheduling method based on building heat flow of the present invention adopts a double-layer optimization algorithm to solve the multi-objective optimization model, sets two layers of objectives, upper layer and lower layer, and considers a wider range in the optimization results, which has more practical engineering value;

[0215] (4) The building-side integrated energy system optimization scheduling method based on building heat flow of the present invention uses a double-layer KKT optimization algorithm, which is converted into a single-layer MPEC problem, and uses the BMM method to process complementary conditions. The kkt method adopted by the present invention occupies less memory, consumes less time, and does not result in a local optimum. Compared with the weighted dual-objective weighting in the prior art, the double-layer kkt method completely obtains the result through mathematical methods, does not have the problem of strong subjectivity in the weight setting process, and is more objective and efficient.

[0216] The present invention has been illustrated and described in detail with reference to the accompanying drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the spirit of the present invention should fall within the scope of protection of the present invention.

Claims

1. A building-side integrated energy system optimization scheduling method based on building heat flow, characterized in that: The method comprises the following steps: Step S1, constructing a building heat load model based on building heat energy flow analysis; The building heat load model includes a heat load model of the external envelope structure and a heat load model of the air conditioning and fresh air system; Convective thermal resistance between outdoor air and roof surface in the equivalent thermal circuit of the heat load model of the external envelope structure heat transfer Thermal conduction resistance between the roof's outer and inner surfaces And the convection thermal resistance between the inner surface of the roof and the indoor air They are connected in series in sequence, and then in parallel with the total thermal resistance of the wall and windows to form a parallel structure. After parallel connection, they are connected with the thermal resistance between the indoor air and the underground constant temperature layer. Connect in series to form a total series structure; Outdoor temperature t and the underground thermostatic layerγ g As a heat pressure source, it is applied to both ends of the total series circuit, and the convection thermal resistance of the outdoor air and the outer surface of the roof is and the thermal resistance between the indoor air and the underground constant temperature layer connect; The thermal power of solar radiation absorbed by the roof Convective thermal resistance applied to the outdoor air and the roof surface as a heat flow source and the thermal conduction resistance between the roof's outer and inner surfaces At the connection point between Equivalent thermal capacitance C of indoor air a,in Thermal resistance applied between the parallel structure and the indoor air and the underground constant temperature layer At the connection point; Step S2, based on the heat load model of the building, a multi-objective optimization model is established with the goal of maximizing the overall energy efficiency and minimizing the energy cost of the building-side integrated energy system; Step S3, using the upper layer to maximize the overall energy efficiency and the lower layer to minimize the operating cost, a double-layer optimization is used to solve the multi-objective optimization model to obtain an optimization result; Among them, when using double-layer optimization to solve the multi-objective optimization model, the KKT condition is used to add the lower-level optimization goal to the upper-level optimization goal, and the upper-level problem is converted into a single-layer MPEC problem for solution; when solving the single-layer MPEC problem, the BMM method is used to process the complementary conditions, and the MPEC problem is converted into a mixed integer linear programming problem for solution; the specific process includes: The two-layer optimization model of the building-side integrated energy system is simplified as follows: Max FU(x,y) std(x,y)≥0,g(x,y)=0 Min FL(x,y) st D(x,y)≥0,G(x,y)=0 (38) Among them, FU(x,y) and FL(x,y) represent the upper and lower objective functions, corresponding to the maximum comprehensive energy efficiency and the minimum energy cost, d(x,y)≥0 and g(x,y)=0 represent the inequality constraint and equality constraint in the upper problem, D(x,y)≥0 and G(x,y)=0 represent the inequality constraint and equality constraint in the lower problem, respectively. Since the lower problem is convex, the first-order necessary conditions are given by the KKT conditions. The lower problem is replaced by the KKT conditions to obtain a mathematical programming problem with equilibrium constraints, as shown below: Max FU(x,y) std(x,y)≥0,g(x,y)=0 G(x,y)=0 Where δ and ξ represent the Lagrange multipliers of the inequality constraints and equality constraints in the underlying problem, respectively; According to the independence of complementary conditions, the complementary constraint 0≤D(x,y)⊥δ≥0 is transformed into D(x,y)≤MY and δ≤M(1-Y) by using the BMM method; where M is a sufficiently large positive number and Y is a 0-1 integer variable; thus, the MPEC model is equivalently transformed into a MILP mixed integer linear programming model to solve and obtain the optimization result; Step S4, scheduling and operating the building-side integrated energy system according to the optimization results.

2. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 1, wherein: Thermal load of the external envelope for: in, is the total thermal resistance of the window and the wall, is the total thermal resistance of the roof, is the equivalent thermal resistance of the inner side of the roof, is the convection thermal resistance between outdoor air and the roof outer surface; is the thermal resistance between indoor air and underground constant temperature layer; t is the outdoor temperature, Indoor temperature, γ g is the temperature of the underground isothermal layer, equivalent to the thermal pressure in the thermal circuit; It is the thermal power absorbed by the roof from solar radiation, which is equivalent to the heat flow source in the thermal circuit.

3. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 2, wherein: Total thermal resistance of windows and walls for: in, They are the total thermal resistance of the wall and the total thermal resistance of the window respectively. The two in parallel are the total thermal resistance of the window and the wall.

4. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 3, wherein: Total thermal resistance of the wall and the total thermal resistance of the window They are: in, They are the convection thermal resistance between outdoor air and the outer surface of the wall, the conduction thermal resistance between the outer surface of the wall and the inner surface, and the convection thermal resistance between the inner surface of the wall and the indoor air. The sum of the three is the total thermal resistance of the wall. They are the convection thermal resistance between outdoor air and window glass, and the convection thermal resistance between window glass and indoor air respectively. The sum of the two is the total thermal resistance of the window.

5. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 2, wherein: Total thermal resistance of the roof for: in, They are the convection thermal resistance between outdoor air and the outer surface of the roof, the conduction thermal resistance between the outer surface and the inner surface of the roof, and the convection thermal resistance between the inner surface of the roof and the indoor air. The sum of the three is the total thermal resistance of the roof.

6. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 2, wherein: Equivalent thermal resistance of the roof inner side in, They are the conduction thermal resistance when heat transfer occurs between the outside of the roof and the outdoor air, and the equivalent thermal resistance when convection occurs between the inside of the roof and the indoor air.

7. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 1, wherein: Heat load of air conditioning fresh air system for: in, is the number of people in the room, V p The fresh air volume required per person per hour; N h is the number of air changes per unit volume per hour in the room, is the indoor volume of the building; air is the density of air; c air is the specific heat capacity of air.

8. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 1, wherein: The cooling load required for indoor use in buildings in summer and the heat load required in winter They are: in, and are the heat load transferred from outdoor to indoor and the heat load of the air conditioning system at time point t, γ t is the outdoor temperature, Room temperature.

9. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 1, wherein: Step S2 includes: Step S2-1, establishing a multi-objective optimization model of the building-side integrated energy system with the goal of maximizing overall energy efficiency; Step S2-2, establishing a multi-objective optimization model of the building-side integrated energy system with the goal of minimizing energy cost; Step S2-3, establishing constraints in the multi-objective optimization model of the building-side integrated energy system.

10. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 9, wherein: In step S2-1, the overall energy efficiency of the building-side integrated total energy system is: the t =(Q dT +H dT +P dT ) / E Among them, Q dT , H dT , P dT They are the cooling, heating and electricity supply provided by the integrated energy system respectively.

11. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 10, wherein: Among them, Q sys (t) is the cooling load demand of the system; H steam (t) and H water (t) are the steam load and hot water load of the system respectively; P load (t) is the system electrical load; Q dT , H dT and P dT are the cooling, heating and power supply of the system in time period T; E GT (t) and E GB are the natural gas consumed by gas turbines and gas boilers respectively; E buy.e (t) is the actual amount of electricity purchased from the power grid; E buy.h is the amount of purchased steam; p gas 、p electric and p steam They are the coal discount coefficients for natural gas, purchased electricity and purchased steam respectively.

12. The building-side integrated energy system optimization scheduling method based on building heat flow as claimed in claim 9, wherein: In step S2-2, the energy cost includes equipment operation and maintenance cost, electricity purchase cost, heat purchase cost and fuel cost.

13. The method for optimizing and scheduling a building-side integrated energy system based on building heat flow according to claim 12, wherein: The energy cost is calculated as follows: C energy =C om +C ES +C HS +C f (19) Among them, C energy is the energy cost, C om , C ES , C HS , C f They are equipment operation and maintenance costs, electricity purchase costs, heat purchase costs, and fuel costs; among them, C ES =∑ t ξ e P buy (t)T (21) C HS =∑ t ξ h H buy (t)T (22) C f =∑ t ξ gas [F GB (t)+F GT (t)]T (23) in, ξ e , h and gas are the maintenance unit cost of equipment s, system electricity purchase cost, system heat purchase cost and fuel cost respectively; P s (t), P buy , H buy (t) are the output power, purchased electricity power and purchased heat power of equipment s respectively; F GB (t) and F GT (t) are the natural gas consumption of gas turbine and gas boiler respectively, and T is the time period T.

14. The method for optimizing and scheduling a building-side integrated energy system based on building heat flow according to claim 9, wherein: In step S2-3, the constraints include the physical constraints of the equipment itself and the cooling, heating and electricity supply and demand balance constraints.

15. The method for optimizing and scheduling a building-side integrated energy system based on building heat flow according to claim 14, wherein: The supply and demand balance constraints and the constraints of the equipment itself are: W provide (t)=W demand (t) P output.s (t)=P input.s (t)η out.s Among them, W provide (t) is the energy provided by the multi-energy system; W demand (t) is the energy required by the user; P input.s (t) and P output.s (t) are the input and output power of device s respectively; η out.s is the energy conversion efficiency of device s.