Building group multi-subject energy transaction method, system, device and medium

By introducing cooperative game theory and thermal network characteristic model in building complex energy transactions, combining the thermal energy and loss of pipeline working fluids, establishing transaction payment coupling constraints, the problem of increasing energy transaction costs in building complexes is solved, and the optimal payment bargaining and Reduced operating costs.

CN119048240AInactive Publication Date: 2024-11-29XI AN JIAOTONG UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411545736.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology is too idealized when trading energy in building complexes, resulting in an increase in operating costs for building complex alliances and individual building complexes.

Method used

By minimizing the objective function of the main body running independently in the building complex, we can obtain the reconstruction model of the recent scheduling model of multiple building complexes in the cooperative game problem, and establish electrical energy exchange and thermal energy exchange based on the pipeline working fluid thermal energy, internal heat storage and loss. Coupled constraints with transaction payments during energy transactions, obtain a model of joint optimization scheduling sub-problems and payment negotiation sub-problems in building complexes. The difference between the optimal solution is used to determine the optimal payment bargaining for energy transactions.

Benefits of technology

It effectively reduces the operating costs of building complex alliances and individual building complexes, and fairly distributes the remaining interests of cooperation, achieving the optimal solution to energy transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119048240A_ABST
    Figure CN119048240A_ABST
Patent Text Reader

Abstract

The invention discloses a building group multi-subject energy transaction method, system, equipment and medium, and relates to the technical field of power systems, and the method comprises the following steps: obtaining a reconstruction model of a day-ahead scheduling model of a multi-building group in a cooperative game problem, inputting pipeline working medium heat energy, internal heat storage and pipeline loss into the reconstruction model, the method comprises the following steps: establishing coupling constraints of transaction payment during electric energy exchange, heat energy exchange and energy transaction, obtaining transaction payment when a building group participates in energy transaction through a difference between optimal solutions of two models, obtaining an energy transaction error in the building group and an optimal solution when multiple subjects of the building group participate in the energy transaction, and substituting the optimal solution into the transaction payment so as to complete energy transaction. And obtaining the optimal payment bargaining price of the corresponding energy transaction. According to the benefit distribution method based on the cooperative game provided by the invention, the operation cost of the building group alliance and each building group individual is effectively reduced.
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 systems, and in particular to a method, system, equipment and medium for energy trading of multiple entities in a building complex. Background Art

[0002] The massive consumption of fossil energy has brought new challenges to the global energy shortage, and climate change urgently requires further reform and improvement of the global governance system. The newly installed capacity of wind power and photovoltaic power generation has reached a new historical high, but it has also brought a series of problems and challenges. First, new energy power plants are generally located in remote areas, which makes it difficult to transmit and consume them locally; second, the randomness and intermittency of new energy make it impossible to guarantee the quality of its electricity. For this reason, microgrids that integrate distributed power sources and can consume new energy locally have come into being.

[0003] With the change of global energy consumption patterns and the acceleration of urbanization, buildings have gradually become the main energy consumption terminals, accounting for about one-third of the total global energy consumption. Energy management from building microgrid terminals to save energy and reduce emissions has attracted more and more attention. The development of urbanization has led to the rapid emergence of large-scale buildings such as commercial buildings, and these highly integrated and densely populated buildings have brought a series of operational problems to the energy management of urban power grids and building complexes.

[0004] There have been relevant studies on energy trading of building complexes consisting of multiple building complexes. However, the existing technology only directly trades the energy of the main building complex when exchanging energy, which is too idealistic and leads to increased operating costs for the building complex alliance and each individual building complex. Summary of the invention

[0005] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and to provide a method, system, equipment and medium for energy trading among multiple entities of a building complex, so as to solve the problem that in the prior art, when exchanging energy, only the energy of the main building complex is directly traded, which is too idealistic and leads to increased operating costs for the building complex alliance and each individual building complex.

[0006] The present invention specifically provides the following technical solution: a multi-agent energy trading method for a building complex, comprising the following steps: By minimizing the objective function of the independent operation of the main body in the building complex, the reconstruction model of the day-ahead scheduling model of the multi-building complex in the cooperative game problem is obtained; Obtaining pipeline working fluid thermal energy, internal heat storage and pipeline loss, and inputting the pipeline working fluid thermal energy, internal heat storage and pipeline loss into the reconstruction model to establish coupling constraints for transaction payment during power exchange, heat exchange and energy trading; The model of the building group joint optimization scheduling sub-problem and the model of the building group payment negotiation sub-problem are obtained through the coupling constraint of transaction payment, and the transaction payment when the building group participates in energy trading is obtained through the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem. The electric energy exchange value and thermal energy exchange value between building complexes are obtained, the transaction error and the optimal solution for the multi-agent participation in energy trading of the building complex are determined, and the optimal solution for the multi-agent participation in energy trading of the building complex is substituted into the transaction payment to obtain the optimal payment bargaining price for the corresponding energy transaction.

[0007] Preferably, the objective function of minimizing the independent operation of the main body in the building complex is specifically: ; in, The fuel cost of CCHP system, The unit operation and maintenance costs, Online electricity sales costs for building owners, is the load shedding penalty, V is the objective function when the main body in the building complex operates independently, t represents time, and T is the operation period.

[0008] Preferably, before minimizing the objective function of the main body in the building complex when it operates independently, the following steps are also included: The CCHP system converts the input natural gas into heat, electricity and cold energy, obtains the output model, and outputs the CCHP fuel cost, which is as follows: ; ; Where: is the amount of natural gas input into the equipment, which is determined by the output power of the gas turbine and natural gas low calorific value Decide, is the natural gas thermal energy conversion efficiency, is the purchase price of natural gas, is the unit time; The unit operation and maintenance costs are obtained by summing up the operation and maintenance costs of CCHP units, wind turbines, photovoltaic generators and energy storage. , where each operation and maintenance cost is the product of cost and output; The main grid electricity purchase and sales fee is obtained by the difference between the building complex's electricity purchase fee from the main grid and the electricity sales revenue, specifically: ; Where: and are the electricity purchase price and electricity sales price of BEMS from the power grid, and They are the power purchased and sold by BEMS from the grid respectively; The load shedding penalty is obtained by multiplying the unit penalty cost of the system load shedding by the load shedding power, specifically: ; Where: The unit penalty cost for system load shedding, is the load shedding power.

[0009] Preferably, the reconstruction model of the day-ahead scheduling model of multiple building groups in the cooperative game problem is obtained as follows: Through the unit output constraints, power flow constraints, grid exchange constraints and load abandonment constraints, the objective function of the main body of the building complex when operating independently is minimized. Processing is performed to obtain the reconstruction model and the objective function of the reconstruction model in the cooperative game problem, specifically: ; ; Where: For the building complex The relevant decision variables when running independently, For the building complex The constraint set that multiple entities need to satisfy when operating independently includes unit output constraints, power flow constraints, grid exchange constraints, and load abandonment constraints. For the building complex The objective function of the reconstruction model when the subject runs independently is For the building complex i The fuel cost of CCHP system after output constraint, For the building complex i The unit operation and maintenance cost after power flow constraints is For the building complex i The load shedding penalty after load abandonment constraint is: For the building complex i The difference between the main grid's electricity purchase cost and electricity sales revenue after grid exchange constraints.

[0010] Preferably, the method of obtaining the model of the building complex joint optimization scheduling subproblem and the model of the building complex payment negotiation subproblem through the coupling constraint of the transaction payment, and obtaining the transaction payment when the building complex participates in energy trading through the difference between the model optimal solution of the building complex payment negotiation subproblem and the model optimal solution of the building complex joint optimization scheduling subproblem, comprises the following steps: The model of the building complex joint optimization scheduling subproblem is obtained through the coupling constraints of transaction payment. The specific expression is: ; in, and Building complex i The electrical energy exchange value and thermal energy exchange value in For the building complex The cost of running a partnership, M For the building complex i The number of entities in the collaboration; The model of the building complex payment negotiation subproblem is obtained through the coupling constraints of transaction payment. The specific expression is: ; in, For the building complex Best cost to run independently; For the building complex Optimal cost of cooperative operation; Payment for transactions when a complex participates in energy trading, where and The buildings When the main body runs independently, the objective function of the reconstruction model and the sub-problem of joint optimization scheduling of the building complex are solved. Given according to the scale of energy supply of each building complex; and Building complex exist Moments and buildings The transaction costs of electricity and heat between countries; The transaction payment when the building group participates in energy trading is obtained by taking the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem. The specific expression is: ; in, N It is the main number set of the building complex.

[0011] Preferably, the step of obtaining pipeline working fluid thermal energy, internal heat storage and pipeline loss comprises the following steps: Get in The flow rate into the pipeline during the period , Pipeline length , cross-sectional area , Water flow rate when the pipeline is fully loaded and working fluid density ,get The mass of all working fluids in the pipeline during the period is expressed as: .

[0012] Set in Assumed working fluid flow rate during the period unchanged, all the fluids injected into the pipeline After full mixing at the moment, the average temperature of the pipeline at the previous moment is known Internal heat storage and Based on the injection temperature of the pipeline at the moment, the heat energy of the working fluid flowing out of the pipeline is obtained without considering the heat loss. , the specific expression is: ; in, is the heat energy of the working fluid flowing into the pipeline, is the water flow velocity at any point in the pipeline; In calculating After calculating the heat energy of the working fluid flowing out of the pipeline at time t, assuming that the average temperature of the working fluid inside the pipeline is the average of the temperatures at the inlet and outlet of the pipeline, we can obtain Heat storage inside the pipe at all times , the specific expression is: ; in, is the average temperature of the pipeline at the current moment, is the specific heat capacity, The low calorific value of natural gas. for Heat is stored inside the pipeline at all times; Get pipeline loss The empirical formula is: ; in, is the average temperature at the pipe inlet, is the minimum ambient temperature, is the thermal conductivity.

[0013] Preferably, the obtaining of the electric energy exchange value and the heat energy exchange value between the building groups, and the determination of the transaction error and the optimal solution for the multi-agent participation in energy trading of the building groups are specifically as follows: Update the iteration index according to the electric energy exchange value and the thermal energy exchange value And iterate repeatedly to get the transaction error; When the transaction error is less than the convergence criterion or the index reaches the set maximum number of iterations, the optimal solution for the multi-agent participation in energy trading of the building complex is obtained; The convergence criterion Specifically: ; The optimal solution for building complex multi-agent participation in energy trading is , and , , and The indexes are k The optimal solution when +1, T For the operation cycle, t For time, N is the main number set of the building complex; Among them, in the update iteration index Before iterating, the following steps are also included: Introducing auxiliary variables and Lagrange multipliers , obtain the power transaction settlement constraints; the specific expression is: ; ; in, M For the building complex i The number of entities in the collaboration, express j belong M, But not equal to i , After decoupling, the building complex i exist Moments and buildings The electric energy exchange value between After decoupling, the building complex j exist Moments and buildings i The electric energy exchange value between For the building complex exist Moments and buildings The value of electric energy exchange between Consider the building complex With buildings The heat energy between them is connected by pipes. The pipes are regarded as a main body and the buildings are With buildings The heat exchange between the buildings becomes With pipeline , Building complex With pipeline , and pipelines The internal heat transfer process is decoupled and auxiliary variables are introduced , and Lagrange multipliers , obtain the heat energy trading settlement constraints, the specific expression is: ; ; ; ; Where: Represents the decoupled building complex i exist Always to the pipeline Heat exchange value, Represents the decoupled building complex exist Always to the pipeline Heat exchange value, and Respectively represent pipelines of Side and The side and building complex and Heat exchange value, For the building complex exist Moments and buildings Heat energy exchange value between them; pipeline It has no actual operating cost, so its deformed augmented Lagrangian function should be: ; in, is the deformed augmented Lagrangian function, For pipeline of The Lagrange multiplier on the side, For pipeline of The Lagrange multiplier on the side, is the correlation coefficient.

[0014] The present invention also provides a building complex multi-agent energy trading system, which is characterized by comprising: A model acquisition module is used to obtain a reconstruction model of the day-ahead scheduling model of a multi-building complex in a cooperative game problem by minimizing the objective function when the main body in the building complex runs independently; Incorporating a module for obtaining pipeline working fluid thermal energy, internal heat storage and pipeline loss, and inputting the pipeline working fluid thermal energy, internal heat storage and pipeline loss into the reconstruction model to establish coupling constraints for transaction payment during power exchange, heat exchange and energy trading; A decomposition module is used to obtain the model of the building group joint optimization scheduling sub-problem and the model of the building group payment negotiation sub-problem through the coupling constraints of transaction payment, and obtain the transaction payment when the building group participates in energy trading through the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem; The optimization module is used to obtain the electric energy exchange value and thermal energy exchange value between building complexes, determine the transaction error and the optimal solution for the participation of multiple entities in energy transactions in the building complex, and substitute the optimal solution for the participation of multiple entities in energy transactions in the building complex into the transaction payment to obtain the optimal payment bargaining price for the corresponding energy transaction.

[0015] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for energy trading of multiple entities in a building complex when executing the computer program.

[0016] The present invention also provides a storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the above-mentioned energy trading method for multiple entities in a building complex.

[0017] Compared with the prior art, the present invention has the following significant advantages: The present invention integrates the thermal energy of pipeline working fluid, internal heat storage and pipeline loss with the reconstruction model of the day-ahead scheduling model of multiple building complexes in the cooperative game problem, obtains the coupling constraints of transaction payments during power exchange, heat exchange and energy trading, and obtains two sub-problem models through the coupling constraints. The transaction payment when the building complex participates in energy trading is obtained by the difference between the optimal solutions of the two models, thereby minimizing the operating cost, and obtaining the optimal solution for the participation of multiple subjects in energy trading in the building complex through the energy trading error in the building complex. The subject differences of different individuals are taken into account, the residual benefits of cooperation are fairly distributed, and the optimal payment bargaining is obtained, which can effectively reduce the operating costs of the building complex alliance and each individual building complex. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 The new energy output characteristics provided by the present invention; Figure 1 (a) is the photovoltaic output, Figure 1 (b) is wind power output; Figure 2 The load characteristics provided by the present invention; Figure 2 (a) is the electrical load characteristic, Figure 2 (b) is the heat load characteristic; Figure 3 The output dispatch diagram of the unit of building complex 1 provided by the present invention; Figure 3 (a) is the power output dispatch of the unit, Figure 3 (b) is the unit heating output dispatch; Figure 4 Energy trading conditions of building complex 1 provided by the present invention; Figure 4 (a) is the electrical exchange of building complex 1, Figure 4 (b) is the heat exchange of building complex 1; Figure 5 Iterative calculation results of the multi-agent transaction cooperation system provided by the present invention; Figure 5 (a) is the iterative process of alliance cooperation considering thermal inertia. Figure 5 (b) is the alliance cooperation iterative process without considering thermal inertia; Figure 6 A schematic diagram of thermal resistance and thermal capacity in the building envelope structure provided by the present invention. DETAILED DESCRIPTION

[0019] The following is a clear and complete description of the technical solutions of the embodiments of the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] The present invention is further described in detail below in conjunction with the accompanying drawings: The present invention proposes a multi-agent energy trading method, system, equipment and medium for building complexes. Firstly, the Nash bargaining cooperative game theory is introduced to maximize the overall interests of the alliance. Secondly, a building complex trading strategy model and a profit distribution strategy considering the characteristics of the heat network are established. At the same time, a distributed algorithm is used to solve the problem to ensure the privacy of each party. Finally, the accuracy of the proposed model and the effectiveness of the strategy are verified through case analysis.

[0021] The present invention proposes a multi-agent energy trading method for a building complex, comprising the following steps: Step S1: By minimizing the objective function of the main body in the building complex when it runs independently, the reconstruction model of the day-ahead scheduling model of the multi-building complex in the cooperative game problem is obtained.

[0022] Specifically: The thermal balance relationship of the building envelope structure is established, and the day-ahead scheduling model of multiple buildings is established with the goal of optimal economy, with the goal of minimizing the operating cost within the optimization period T of the building complex.

[0023] Among them, the objective function of minimizing the independent operation of the main body in the building complex is specifically: ; in, The fuel cost of CCHP system, The unit operation and maintenance costs, Online electricity sales costs for building owners, For load shedding penalty, V is the objective function when the main body in the building complex operates independently, t represents time, and T represents the operation cycle.

[0024] The constraints include: power balance constraints, unit output constraints, energy storage device capacity constraints, power flow constraints, grid exchange constraints and load abandonment constraints.

[0025] Before minimizing the objective function of the main body in the building complex when it runs independently, the following steps are also included: The CCHP system converts the input natural gas into heat, electricity and cold energy. The output heat and cold energy are determined by the output power and efficiency of the gas turbine. The heat loss coefficient, heating coefficient, cooling coefficient and boiler recovery efficiency are considered at the same time to obtain the output model and output the CCHP fuel cost of the CCHP system, which is as follows: ; ; Where: is the amount of natural gas input into the equipment, which is determined by the output power of the gas turbine and natural gas low calorific value Decide, is the natural gas thermal energy conversion efficiency, is the purchase price of natural gas, As unit time.

[0026] The unit operation and maintenance costs are obtained by summing up the operation and maintenance costs of CCHP units, wind turbines, photovoltaic generators and energy storage. , where each operation and maintenance fee is the product of cost and output.

[0027] The main grid electricity purchase and sales fee is obtained by the difference between the building complex's electricity purchase fee from the main grid and the electricity sales revenue, specifically: ; Where: and are the electricity purchase price and electricity sales price of BEMS from the power grid, and They are the power purchased and sold by BEMS to the grid respectively.

[0028] The load shedding penalty is obtained by multiplying the unit penalty cost of the system load shedding by the load shedding power, specifically: ; Where: The unit penalty cost for system load shedding, is the load shedding power.

[0029] Obtain the reconstruction model of the day-ahead scheduling model of multiple building groups in the cooperative game problem, specifically: Through the constraints of unit output, power flow, grid exchange and load abandonment, the objective function of the main body in the building complex operating independently is minimized. Processing is performed to obtain the reconstruction model and the objective function of the reconstruction model in the cooperative game problem, specifically: ; ; Where: For the building complex The relevant decision variables when running independently, For the building complex The constraint set that multiple entities need to meet when operating independently includes power balance constraints, unit output constraints, energy storage device capacity constraints, power flow constraints, grid exchange constraints, and load abandonment constraints. For the building complex The objective function of the reconstruction model when the subject runs independently is For the building complex i The fuel cost of CCHP system after output constraint, For the building complex i The unit operation and maintenance cost after power flow constraints is For the building complex i The load shedding penalty after load abandonment constraint is: For the building complex i The difference between the main grid power purchase cost and power sales revenue after grid exchange constraints. The optimal independent operation cost can be obtained by solving the day-ahead optimal scheduling when each building complex is independently operated: .

[0030] The above is the independent operation modeling of the building complex entities before cooperation, that is, after the negotiation broke down. Since the power installed capacity, load demand and natural resource levels within different building complexes show temporal and spatial differences, cooperative transactions can be carried out to achieve complementary advantages. In the process of cooperation, each building complex entity determines the transaction volume and transaction cost of electricity and heat energy through bargaining and negotiation: ; ; ; .

[0031] For the participating building complex entities, without considering the heat loss of the heat network pipeline and virtual energy storage, the exchanged electricity and heat of the two parties involved in the transaction should remain the same, that is, there should be the following market constraints: ; ; ; .

[0032] The cost of the participating buildings is an additional cost compared to its independent operation, that is, the cost of purchasing electricity and heat from other buildings. For the convenience of description, the present invention uniformly calculates the actual electricity and heat payment costs separately. and Merge into , brought into the Nash bargaining process.

[0033] .

[0034] In actual operation, the internal temperature of a building is affected by heating, cooling, external radiation, temperature and building structure. The randomness of natural resources and loads such as wind power increases the difficulty of daily scheduling of building complexes. Therefore, the thermal balance relationship of the building envelope is first established, and a daily scheduling optimization model for the building complex is established with the goal of optimal economic efficiency.

[0035] (1) Components of building cluster microgrid: A typical building cluster microgrid can be composed of distributed power sources such as wind turbines, photovoltaics, building-level combined cooling, heating and power, energy storage devices, sensors, room temperature control devices (HVAC), other electrical loads and building energy management systems. It is generally connected to the main grid, and the physical structure is shown in the figure. Specifically, CCHP consumes natural gas to generate electricity, heat and cold energy. CCHP, photovoltaics, wind power and power purchased from the distribution network together form the building power supply to supply power to the uncontrolled loads and HVAC systems inside the building. The heat and cold energy generated by HVAC and CCHP jointly regulate the temperature inside the building.

[0036] (2) Thermal balance of building envelope: The virtual thermal energy storage model of the building envelope structure is a model established based on the gray box method, which is used to simulate the indoor temperature changes caused by indoor air, humidity and outdoor temperature in the building. Generally speaking, a building consists of interior walls, exterior walls, doors and windows. Solar radiation is evenly distributed on the exterior walls and windows. Considering the different light transmittances caused by the different materials of the exterior walls and windows, the two are calculated separately. The wall node temperature is mainly affected by the heat conduction of the wall. The inner surface temperature of the wall is not only affected by the heat conduction of the wall, but also by the radiation of the exterior wall and the heat convection between the window room. Assuming that the two sides of the room wall are illuminated, one of which has a window, and the two sides are connected to the adjacent rooms, the wall is equivalent to the thermal resistance and heat capacity model as shown below Figure 6 As shown: In order to describe the thermal dynamics of the building in detail, the wall heat balance of the building envelope is described as follows: ; Where: n is the regional identifier, k For building identification, i For room identification, j is the wall identifier, where 12, 13, 14, and 15 in ij represent the second wall of the first room, the third wall of the first room, the fourth wall of the first room, and the fifth wall of the first room, respectively. t For the moment, is the heat capacity of the wall, is the wall temperature, is the indoor temperature, is the temperature of the adjacent room, is the thermal resistance of the wall, It is the identifier of the sunlight shining on the wall. When it is 1, it means that the wall is directly exposed to sunlight, otherwise it is 0. is the wall area, is the heat flux absorption coefficient of the wall, is the radiant heat flux density on the wall, For the interval time. Figure 6 middle T 1 , T 2 , T 3 、T 4 and T 5 Represent the indoor temperature and the temperatures of the four walls respectively.

[0037] The node temperature of indoor air is affected by many factors, including external factors (such as temperature and radiation) and internal factors (such as building envelope structure, internal heat source). The heat balance equation of indoor air is as follows, where the left side of the equation is the change in heat energy per unit time, and the right side of the equation is the heat energy transferred from the inner and outer walls and windows of the building to the room, humidity heat transfer, human heat generation, CCHP and HVAC heat energy per unit time: ; Where: is the heat capacity of the room, is the outdoor temperature; is the thermal resistance of the window, is the light transmittance of the window, is the area of ​​the window, is the radiant heat flux density irradiating on the window, and the product of the above three is the heat energy transferred from the window to the room; is the air flow between the room and the outside, is the specific heat of water vapor, and the product of the above two and the temperature difference between indoor and outdoor is the heat energy change caused by the humidity exchange between indoor and outdoor. For indoor heat gain such as heat produced by human body, and are the heat and cold energy supplied by CCHP, is the energy efficiency ratio, is the output power of HVAC.

[0038] Step S2: Obtain pipeline working fluid thermal energy, internal heat storage and pipeline loss, and input the pipeline working fluid thermal energy, internal heat storage and pipeline loss into the reconstruction model to establish coupling constraints for transaction payment during power exchange, heat exchange and energy trading.

[0039] Specifically: The thermal inertia model of the heat network is established based on the thermal energy of the pipeline working fluid, internal heat storage and loss, including the following steps: Get in The flow rate flowing into the pipeline during the period is The length of the pipeline is The cross-sectional area is , Water flow rate when the pipeline is fully loaded and working fluid density ,get The mass of all working fluids in the pipeline during the period is expressed as: .

[0040] Set in Assumed working fluid flow rate during the period unchanged, all the fluids injected into the pipeline After full mixing at the moment, the average temperature of the pipeline at the previous moment is known Internal heat storage and Based on the injection temperature of the pipeline at the moment, the heat energy of the working fluid flowing out of the pipeline is obtained without considering the heat loss. , the specific expression is: ; in, is the heat energy of the working fluid flowing into the pipeline, is the water flow velocity at any point in the pipeline.

[0041] In calculating After calculating the heat energy of the working fluid flowing out of the pipeline at time t, assuming that the average temperature of the working fluid inside the pipeline is the average of the temperatures at the inlet and outlet of the pipeline, we can obtain Heat storage inside the pipe at all times , the specific expression is: ; in, is the average temperature of the pipeline at the current moment, is the specific heat capacity, The low calorific value of natural gas. for Heat storage inside the pipeline at all times; obtain pipeline loss The empirical formula is: ; in, is the average temperature at the pipe inlet, is the minimum ambient temperature, is the thermal conductivity.

[0042] The cooperative game problem expression is updated by obtaining the empirical formula of pipeline loss, which is: .

[0043] Step S3: The model of the building complex joint optimization scheduling subproblem and the model of the building complex payment negotiation subproblem are obtained through the coupling constraints of transaction payment, and the transaction payment when the building complex participates in energy trading is obtained through the difference between the model optimal solution of the building complex payment negotiation subproblem and the model optimal solution of the building complex joint optimization scheduling subproblem.

[0044] Cooperative games require that all participating entities reach a willingness to cooperate with each other. Since there are differences in the independent operation strategies of different individuals, when they form an alliance, they can achieve complementary advantages, making the overall benefits of the alliance greater than the sum of the benefits of multiple independent operations.

[0045] When the alliance obtains the overall benefits, it is necessary to establish a reasonable distribution mechanism so that all parties can reach a final consensus through interactive negotiation. In general, the achievement of cooperative games needs to meet the following two points: for the alliance, it is necessary to ensure that the overall benefits of the alliance after the cooperation is reached are greater than the sum of the benefits of multiple individuals operating independently, that is, to generate cooperative surplus; for individuals, it is necessary to ensure that the benefits obtained by each subject after the overall benefit distribution is completed are higher than the benefits obtained when they operate as independent individuals, that is, to meet the Pareto property.

[0046] Combined with the multi-subject transaction background of the building complex, due to the different power source types, installed capacity and load levels within each building complex, the surplus electricity generated by each building entity and the time period in which it occurs are different.

[0047] At the same time, since the main building complex needs to meet the user's electric, heating and cooling load requirements at the same time, and part of the cooling and heating load needs to be provided by the combined cooling, heating and power units, in order to ensure the utilization rate of new energy, it is necessary to reduce the power supply and heating / cooling capacity of the CCHP units. At this time, different building complexes need to exchange electricity and heat to meet the cooling, heating and electricity load requirements of each entity under the premise of ensuring the utilization rate of new energy, thereby achieving time and space complementarity and mutual benefit and win-win among multiple buildings. Therefore, cooperative game is an effective theoretical basis for effectively solving the problem of energy interaction and benefit distribution among multiple building complexes.

[0048] In response to the problem of fair distribution of the residual benefits of cooperation among multiple subjects, John Nash proposed the Nash bargaining theory. This method abstracts and quantifies the bargaining behavior among multiple subjects, taking the benefits before the subject participates in the cooperation (negotiation breakdown point) and after the cooperation as the benchmark, and achieving the Pareto optimal solution through the game between the subjects.

[0049] Specifically: The benefit of each subject before participating in the cooperation is { , i ∈ }, the benefits after participating in the cooperation are { }; The specific expression is: ; ; Where: Building complex established for cooperation negotiations The income of the subject, The benefits of the subject before the cooperation or after the breakdown of negotiations; It means that the benefits of each entity after participating in the cooperation should be higher than the benefits of operating alone before the cooperation, that is, it satisfies the Pareto improvement property.

[0050] The model of the building complex joint optimization scheduling subproblem is obtained through the coupling constraints of transaction payment. The specific expression is: ; in, The main building in the complex The set of constraints that must be satisfied when running independently, M is the set of principal numbers, and They are the electrical energy exchange value and thermal energy exchange value in the building complex respectively.

[0051] Obtain the energy dispatch and transaction status of each entity in the alliance when multiple building groups are operating cooperatively, and at the same time obtain the optimal solution to the above optimization problem , which is the minimum cost when a coalition of multiple building clusters cooperates.

[0052] After solving the sub-problem of joint optimization scheduling of building clusters, the minimum cost of the alliance composed of multiple building clusters and the energy scheduling and energy exchange results of each entity can be obtained.

[0053] The optimal cost when each building complex is running independently Energy exchange value with each building complex and After that, it is only necessary to bargain among the building groups to distribute the cooperative surplus to achieve fair distribution of benefits among the subjects. The above generalized Nash bargaining problem uses the Nash bargaining product to ensure the fairness of benefit distribution. The model of the building group payment negotiation sub-problem is obtained through the coupling constraint of transaction payment. The specific expression is: ; Where: For the building complex Best cost to run independently; For the building complex Optimal cost of cooperative operation; Payment for transactions when a complex participates in energy trading, where and The buildings When the middle subject runs independently, the objective function of the reconstruction model and the sub-problem of joint optimization scheduling of the building complex are solved; According to the scale of energy supply of each building complex, M For the building complex i The quantities in cooperation are all known quantities; and Building complex exist Moments and buildings The transaction cost of electricity and heat between them.

[0054] The Lagrangian function converted to a logarithmic function is the optimal value of the variable Find the partial derivative to be zero and substitute and , can launch building complex During cooperative operation, the payment related to energy trading is obtained by the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem. The specific expression is: ; in, N It is the main number set of the building complex.

[0055] By solving the problem, we can get the building complex Energy transaction-related payments during cooperative operation .

[0056] in, For the building complex Transaction payments when participating in energy transactions, is the optimal solution for the two models. For the building complex Optimal cost for independent operation.

[0057] Step S4: Obtain the electric energy exchange value and heat energy exchange value, determine the transaction error and the optimal solution for the multi-agent participation in energy trading of the building complex, and substitute the optimal solution for the multi-agent participation in energy trading of the building complex into the transaction payment to obtain the optimal payment bargaining price for the corresponding energy transaction.

[0058] Specifically: The ADMM algorithm is used to alternately obtain the bargaining power coefficient determined by the proportion of energy transaction volume between each building group, including the following steps: Using ADMM, the energy trading problem during cooperative operation of building clusters can be divided into the updating problem of auxiliary variables and Lagrange multipliers and the energy scheduling problem of each microgrid itself.

[0059] The idea of ​​using ADMM to solve the energy trading problem of building complexes is described as follows: In the iteration, the building complex By The solution basis ( hour Using initial value calculation) to solve the augmented Lagrangian function of the building complex energy trading problem, the corresponding variables are obtained and , and then according to , and other The solution of the basic solution and its connected pipeline The corresponding deformed augmented Lagrangian function is obtained , and then based on this building complex Augmented Lagrangian function for solving the energy trading problem of building complexes.

[0060] The calculation is repeated until all buildings and pipelines have updated their energy exchange amounts in this iteration.

[0061] After one round of iteration, the Lagrange multiplier in the power exchange is updated, and the specific expression is: ; in, For index k +1 Lagrange multiplier in the electric energy exchange, For index k Lagrange multipliers in the electrical energy exchange.

[0062] Update the iteration index according to the electric energy exchange value and the thermal energy exchange value And perform repeated iterations to obtain the transaction error.

[0063] When the transaction error is less than the convergence criterion or the index reaches the set maximum number of iterations, the optimal solution for energy trading involving multiple entities in the building complex is obtained.

[0064] The convergence criterion is as follows: .

[0065] When the iterative trading volume error finally meets the convergence criterion Finally, the optimal solution for multi-agent energy trading involving cooperative game and heat network characteristics of building complexes is obtained. , and , , and The indexes are k The optimal solution when +1, T For the operation cycle, t For time, N It is a collection of the main number of building complexes and obtains the corresponding energy transaction payment bargaining.

[0066] Among them, in the update iteration index Before iterating, the following steps are also included: Constraints make the solutions of energy exchange scheduling problems between building groups mutually coupled. Therefore, in order to achieve distributed solution, it is necessary to relax the energy trading constraints to achieve decoupling between the solutions of different energy entities. To this end, it is necessary to introduce auxiliary variables and Lagrange multipliers , obtain the energy transaction settlement constraints; the specific expression is: ; ; in, M For the building complex i The number of entities in the collaboration, express j belong M, But not equal to i , After decoupling, the building complex i exist Moments and buildings The electric energy exchange value between After decoupling, the building complex j exist Moments and buildings i The electric energy exchange value between For the building complex exist Moments and buildings The value of electric energy exchange between them.

[0067] Consider the building complex With buildings The heat energy between them is connected by pipes. The pipes are regarded as a main body and the buildings are With buildings The heat exchange between the buildings becomes With pipeline , Building complex With pipeline , and pipelines The internal heat transfer process is decoupled and auxiliary variables are introduced , and Lagrange multipliers , obtain the heat energy trading settlement constraints, the specific expression is: ; ; ; ; Where: Represents the decoupled building complex i exist Always to the pipeline Heat exchange value, Represents the decoupled building complex exist Always to the pipeline Heat exchange value, and Respectively represent pipelines of Side and The side and building complex and Heat exchange value, For the building complex exist Moments and buildings The heat exchange value between them.

[0068] ; ; ; .

[0069] pipeline It has no actual operating cost, so its deformed augmented Lagrangian function should be: ; in, is the deformed augmented Lagrangian function, For pipeline of The Lagrange multiplier on the side, For pipeline of The Lagrange multiplier on the side, is the correlation coefficient.

[0070] After the optimal value is obtained through iteration, since the constraint here must be satisfied, The theoretical optimal value should be 0.

[0071] Example: The present invention uses some intelligent buildings in a community in southern my country as computing scenarios to verify the implementation example. Each building system consists of a CCHP system, electrochemical energy storage, an electric boiler, a new energy generator set, and cooling and heating loads.

[0072] Building complex 1 is a large commercial building complex equipped with photovoltaic and wind turbines, while building complexes 2 and 3 are smaller residential areas equipped with rooftop photovoltaics. The installed capacity of the building complex is shown in Table 1, and the new energy output curve is shown in Figure 1 (a) and Figure 1 As shown in (b), the electric heating load characteristics are as follows Figure 2 (a) and Figure 2 as shown in (b).

[0073] Building groups can obtain their own optimal dispatch output results through energy trading cooperation. Taking building group 1 as an example, Figure 3 (a) and Figure 3 (b) shows the output dispatch results of the electric thermal units within one day.

[0074] It can be seen that the output of CCHP units is complementary to that of wind power. When wind power is high, the output of CCHP units is reduced to ensure the utilization rate of new energy. However, the introduction of thermal inertia and heat exchange has, to a certain extent, freed the output of CCHP units from being restricted by the output of new energy.

[0075] The results of electricity and heat energy transactions between building groups are as follows: Figure 4 (a) and Figure 4 As shown in (b), different building groups actively participate in energy exchange during operation to achieve complementarity within the alliance.

[0076] In terms of electricity exchange, for building complex 1, since its wind power installed capacity is large and generates more electricity at night, it actively sells electricity to other building complexes at night. For building complexes 2 and 3, since their photovoltaic power generation is more at noon, they actively sell electricity to building complex 1 at noon to achieve complementary advantages.

[0077] In terms of heat exchange, in order to facilitate the comparison with the results of cooperative game of building complexes without considering thermal inertia and avoid the impact of internal storage of heat energy on cost calculation, the example assumes that the interior of the pipeline is empty at the beginning of scheduling. Therefore, at the beginning of the scheduling cycle, each building complex actively inputs heat energy into the pipeline to prepare for the subsequent use of virtual heat storage on the basis of absorbing new energy, and releases the virtual heat storage inside the pipeline at night to reduce costs.

[0078] Table 1 Building complex installed parameters

[0079] The convergence curve of the cooperative game considering thermal inertia using the ADMM method for the building complex is as follows: Figure 5 (a) and Figure 5 As shown in (b), it can be seen that it converges after 150 iterations. In the comparison of alliance costs before and after considering thermal inertia, the overall cost of the alliance considering thermal inertia is shown in Figure 2. Figure 5 As shown in (a), the final convergence cost is 90169.32 yuan. Without considering thermal inertia, the overall cost of the alliance is shown in Figure 2. Figure 5 As shown in (b), the final convergence cost is 103391.63 yuan.

[0080] Since there is no thermal energy storage in the initial state of the pipeline in the example setting, at the beginning of the scheduling cycle, each building complex cannot use the existing thermal energy inside the pipeline to reduce the thermal output of the unit and save costs. It can be seen that after considering thermal inertia, the overall unit flexibility of the building complex alliance is increased, which is more cost-effective.

[0081] The operating costs of different building clusters before and after participating in energy trading are shown in Table 2.

[0082] The bargaining power coefficient of each building complex in Table 2 is determined by the proportion of energy trading volume between each building complex. It can be seen that after participating in transaction cooperation and benefit distribution, the cost of each building complex has been reduced, and the overall cost of the alliance has been reduced from 123,806.73 yuan to 90,169.32 yuan, with an overall cost reduction of 27%.

[0083] It can be seen that energy trading cooperation among different building complexes can achieve complementary advantages within the alliance and achieve mutual benefit and win-win results.

[0084] Table 2 Operation costs of different building complexes before and after cooperation

[0085] In summary, the present invention proposes a multi-agent transaction method for building complexes based on cooperative games. First, the Nash bargaining cooperative game theory is introduced to solve the energy exchange and benefit distribution problems among multiple building complexes. Then, the energy trading problem of multiple building complexes considering the thermal inertia of the heat network is studied, and a virtual energy storage linearization model of the heat network is established and applied to the energy trading problem of multiple building complexes, and the main energy trading problem is decomposed into joint optimization sub-problems and payment negotiation sub-problems for solution. Considering the resource differences of different building complexes and their contributions in the transaction, the bargaining power coefficient is introduced to conduct an asymmetric cooperative game and a benefit distribution plan is given. Considering the need for privacy protection of the building complex, a distributed solution algorithm for multiple building complexes based on ADMM is proposed. The simulation results show the effectiveness of the benefit improvement of alliance scheduling after considering thermal inertia among multiple building complexes, and the superiority of the benefit improvement after energy trading cooperation between building complexes compared with before cooperation.

[0086] The present invention also provides a multi-agent energy trading system for a building complex, comprising a model acquisition module, an incorporation module, a decomposition module and an optimization module.

[0087] Among them, the model acquisition module is used to obtain the reconstruction model of the day-ahead scheduling model of multiple building complexes in the cooperative game problem by minimizing the objective function when the main body in the building complex operates independently; the inclusion module is used to obtain the pipeline working fluid thermal energy, internal heat storage and pipeline loss, and input the pipeline working fluid thermal energy, internal heat storage and pipeline loss into the reconstruction model to establish the coupling constraints of transaction payment during power exchange, heat exchange and energy trading; the decomposition module is used to obtain the model of the building complex joint optimization scheduling subproblem and the model of the building complex payment negotiation subproblem through the coupling constraints of transaction payment, and obtain the transaction payment when the building complex participates in energy trading through the difference between the model optimal solution of the building complex payment negotiation subproblem and the model optimal solution of the building complex joint optimization scheduling subproblem; the optimization module is used to obtain the power exchange value and heat exchange value between the building complexes, determine the transaction error and the optimal solution for the building complex multiple subjects to participate in energy trading, and substitute the optimal solution for the building complex multiple subjects to participate in energy trading into the transaction payment to obtain the optimal payment bargaining price for the corresponding energy transaction.

[0088] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the processor implements the steps of a multi-agent energy trading method for a building complex.

[0089] The present invention also provides a storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of a method for energy trading of multiple entities in a building complex.

[0090] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0091] The present invention uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the method and core ideas of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and scope of use. In summary, the content of this specification is not to be understood as limiting the present invention.

Claims

1. A multi-agent energy trading method for a building complex, characterized in that: include: By minimizing the objective function of the independent operation of the main body in the building complex, the reconstruction model of the day-ahead scheduling model of the multi-building complex in the cooperative game problem is obtained; Obtaining pipeline working fluid thermal energy, internal heat storage and pipeline loss, and inputting the pipeline working fluid thermal energy, internal heat storage and pipeline loss into the reconstruction model to establish coupling constraints for transaction payment during power exchange, heat exchange and energy trading; The model of the building group joint optimization scheduling sub-problem and the model of the building group payment negotiation sub-problem are obtained through the coupling constraint of transaction payment, and the transaction payment when the building group participates in energy trading is obtained through the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem. The electric energy exchange value and thermal energy exchange value between building complexes are obtained, the transaction error and the optimal solution for the multi-agent participation in energy trading of building complexes are determined, and the optimal solution for the multi-agent participation in energy trading of building complexes is substituted into the transaction payment to obtain the optimal payment bargaining price for the corresponding energy transaction.

2. A multi-agent energy trading method for a building complex as claimed in claim 1, characterized in that: The objective function of minimizing the independent operation of the main body in the building complex is specifically: ; in, The fuel cost of CCHP system, The unit operation and maintenance costs, Online electricity sales costs for building owners, For load shedding penalty, V is the objective function when the main body in the building complex operates independently, t represents time, and T represents the operation cycle.

3. A multi-agent energy trading method for a building complex as claimed in claim 2, characterized in that: Before minimizing the objective function of the main body in the building complex when it is running independently, the following steps are also included: The CCHP system converts the input natural gas into heat, electricity and cold energy, obtains the output model, and outputs the CCHP fuel cost, which is as follows: ; ; Where: is the amount of natural gas input into the equipment, which is determined by the output power of the gas turbine and natural gas low calorific value Decide, is the natural gas thermal energy conversion efficiency, is the purchase price of natural gas, is the unit time; The unit operation and maintenance costs are obtained by summing up the operation and maintenance costs of CCHP units, wind turbines, photovoltaic generators and energy storage. , where each operation and maintenance fee is the product of cost and output; The main grid electricity purchase and sales fee is obtained by the difference between the building complex's electricity purchase fee from the main grid and the electricity sales revenue, specifically: ; Where: and are the electricity purchase price and electricity sales price of BEMS from the power grid, and They are the power purchased and sold by BEMS from the grid respectively; The load shedding penalty is obtained by multiplying the unit penalty cost of the system load shedding by the load shedding power, specifically: ; Where: The unit penalty cost for system load shedding, is the load shedding power.

4. A multi-agent energy trading method for a building complex as claimed in claim 3, characterized in that: The reconstruction model of the day-ahead scheduling model for obtaining multiple building groups in the cooperative game problem is specifically: Through the unit output constraints, power flow constraints, grid exchange constraints and load abandonment constraints, the objective function of the main body of the building complex when operating independently is minimized. Processing is performed to obtain the reconstruction model and the objective function of the reconstruction model in the cooperative game problem, specifically: ; ; Where: For the building complex The relevant decision variables when running independently, For the building complex The constraint set that multiple entities need to satisfy when operating independently includes unit output constraints, power flow constraints, grid exchange constraints, and load abandonment constraints. For the building complex The objective function of the reconstruction model when the subject runs independently is For the building complex i The fuel cost of CCHP system after output constraint, For the building complex i The unit operation and maintenance cost after power flow constraints is For the building complex i The load shedding penalty after load abandonment constraint is: For the building complex i The difference between the main grid's electricity purchase cost and electricity sales revenue after grid exchange constraints.

5. A multi-agent energy trading method for a building complex as claimed in claim 4, characterized in that: The method of obtaining the model of the building group joint optimization scheduling sub-problem and the model of the building group payment negotiation sub-problem through the coupling constraint of the transaction payment, and obtaining the transaction payment when the building group participates in energy trading through the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem, includes the following steps: The model of the building complex joint optimization scheduling subproblem is obtained through the coupling constraints of transaction payment. The specific expression is: ; in, and Building complex i The electrical energy exchange value and thermal energy exchange value in For the building complex The cost of running a partnership, M For the building complex i The number of entities in the collaboration; The model of the building complex payment negotiation subproblem is obtained through the coupling constraints of transaction payment. The specific expression is: ; in, For the building complex Best cost to run independently; For the building complex Optimal cost of cooperative operation; Payment for transactions when a complex participates in energy trading, where and The buildings When the middle subject runs independently, the objective function of the reconstruction model and the sub-problem of joint optimization scheduling of the building complex are solved; Given according to the scale of energy supply of each building complex; and Building complex exist Moments and buildings The transaction costs of electricity and heat between countries; The transaction payment when the building group participates in energy trading is obtained by taking the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem. The specific expression is: ; in, N It is the main number set of the building complex.

6. A multi-agent energy trading method for a building complex as claimed in claim 1, characterized in that: The method of obtaining pipeline working fluid thermal energy, internal heat storage and pipeline loss includes the following steps: Get in The flow rate into the pipeline during the period , Pipeline length , cross-sectional area , Water flow rate when the pipeline is fully loaded and working fluid density ,get The mass of all working fluids in the pipeline during the period is expressed as: ; Set in Assumed working fluid flow rate during the period unchanged, all the fluids injected into the pipeline After full mixing at the moment, the average temperature of the pipeline at the previous moment is known Internal heat storage and Based on the injection temperature of the pipeline at the moment, the heat energy of the working fluid flowing out of the pipeline is obtained without considering the heat loss. , the specific expression is: ; in, is the heat energy of the working fluid flowing into the pipeline, is the water flow velocity at any point in the pipeline; In calculating After calculating the heat energy of the working fluid flowing out of the pipeline at time t, assuming that the average temperature of the working fluid inside the pipeline is the average of the temperatures at the inlet and outlet of the pipeline, we can obtain Heat storage inside the pipeline at all times , the specific expression is: ; in, is the average temperature of the pipeline at the current moment, is the specific heat capacity, The low calorific value of natural gas. for Heat is stored inside the pipeline at all times; Get pipeline loss The empirical formula is: ; in, is the average temperature at the pipe inlet, is the minimum ambient temperature, is the thermal conductivity.

7. A multi-agent energy trading method for a building complex as claimed in claim 1, characterized in that: The obtaining of the electric energy exchange value and the heat energy exchange value between the building groups, and the determination of the transaction error and the optimal solution for the multi-agent participation in energy trading of the building groups are specifically as follows: Update the iteration index according to the electric energy exchange value and the thermal energy exchange value And iterate repeatedly to get the transaction error; When the transaction error is less than the convergence criterion or the index reaches the set maximum number of iterations, the optimal solution for the multi-agent participation in energy trading of the building complex is obtained; The convergence criterion Specifically: ; The optimal solution for building complex multi-agent participation in energy trading is , and , , and The indexes are k The optimal solution when +1, T For the operation cycle, t For time, N is the main number set of the building complex; Among them, in the update iteration index Before iterating, the following steps are also included: Introducing auxiliary variables and Lagrange multipliers , obtain the energy transaction settlement constraints; the specific expression is: ; ; in, M For the building complex i The number of entities in the collaboration, express j belong M, But not equal to i , After decoupling, the building complex i exist Moments and buildings The electric energy exchange value between After decoupling, the building complex j exist Moments and buildings i The electric energy exchange value between For the building complex exist Moments and buildings The value of electric energy exchange between Consider the building complex With buildings The heat energy between them is connected by pipes. The pipes are regarded as a main body and the buildings are With buildings Heat exchange between buildings With pipeline , Building complex With pipeline , and pipelines The internal heat transfer process is decoupled and auxiliary variables are introduced , and Lagrange multipliers , obtain the heat energy trading settlement constraints, the specific expression is: ; ; ; ; Where: Represents the decoupled building complex i exist Always to the pipeline Heat exchange value, Represents the decoupled building complex exist Always to the pipeline Heat exchange value, and Respectively represent pipelines of Side and The side and building complex and Heat exchange value, For the building complex exist Moments and buildings Heat exchange value between them; pipeline There is no actual running cost, so the deformed augmented Lagrangian function is: ; in, is the deformed augmented Lagrangian function, For pipeline of The Lagrange multiplier on the side, For pipeline of The Lagrange multiplier on the side, is the correlation coefficient.

8. A multi-agent energy trading system for building complexes, characterized in that: include: A model acquisition module is used to obtain a reconstruction model of the day-ahead scheduling model of multiple building clusters in the cooperative game problem by minimizing the objective function when the main body in the building cluster runs independently; Incorporating a module for obtaining pipeline working fluid thermal energy, internal heat storage and pipeline loss, and inputting the pipeline working fluid thermal energy, internal heat storage and pipeline loss into the reconstruction model to establish coupling constraints for transaction payment during power exchange, heat exchange and energy trading; A decomposition module is used to obtain the model of the building group joint optimization scheduling sub-problem and the model of the building group payment negotiation sub-problem through the coupling constraints of transaction payment, and obtain the transaction payment when the building group participates in energy trading through the difference between the model optimal solution of the building group payment negotiation sub-problem and the model optimal solution of the building group joint optimization scheduling sub-problem; The optimization module is used to obtain the electric energy exchange value and thermal energy exchange value between building complexes, determine the transaction error and the optimal solution for the participation of multiple entities in energy transactions in the building complex, and substitute the optimal solution for the participation of multiple entities in energy transactions in the building complex into the transaction payment to obtain the optimal payment bargaining price for the corresponding energy transaction.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the processor implements the steps of a multi-agent energy trading method for a building complex as described in any one of claims 1 to 7.

10. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a multi-agent energy trading method for a building complex as described in any one of items 1 to 7 are implemented.

Citation Information

Patent Citations

  • Comprehensive energy service provider cooperative operation optimization method considering carbon emission reduction under double-layer cooperative architecture

    CN113610311A

  • Distributed collaborative optimization scheduling method for multi-park integrated energy system

    CN115587668A

  • Building energy management system intra-day optimization scheduling method and related device

    CN118052380A

  • Collaborative optimization operation method for park integrated energy system

    CN118469750A

  • Artificial intelligence based p2p power trading method and apparatus

    US20220337061A1