Distributed multi-objective optimization method for commercial building electric energy exchange

By combining the African vulture optimization, the alternating direction multiplier method and the consistency optimization method, a commercial building electrical energy exchange model is constructed, which solves the problems of high computational complexity, slow speed and inaccurate results in the existing technology, and achieves a more efficient Optimization of electrical energy exchange in commercial buildings.

CN118783431APending Publication Date: 2024-10-15GUANGXI UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410976636.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-21
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing African vulture optimization method has high computational complexity, the alternating direction multiplier method is slow to optimize, and the consistency optimization method’s optimization results are not accurate enough, making it difficult to effectively optimize electrical energy exchange in commercial buildings.

Method used

Combining the African vulture optimization, the alternating direction multiplier method and the consistency optimization method, a commercial building electrical energy exchange model based on game theory was constructed. The topological separation method and the African vulture optimization method were used for optimization and solution, combining the alternating direction multiplier method and consistency. Optimization methods perform distributed optimization.

Benefits of technology

It improves the accuracy and iteration speed of finding the optimal solution, realizes electrical energy exchange in commercial buildings simply and efficiently, and improves the utilization efficiency of distributed power generation equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118783431A_ABST
    Figure CN118783431A_ABST
Patent Text Reader

Abstract

The invention provides a distributed multi-objective optimization method for commercial building electric energy exchange. According to the method provided by the invention, the game theory is used for reference, and all commercial building electric energy exchange optimization problems are integrated and converted into a single optimization problem; according to the method, a topological separation method is introduced, and a regional commercial building electric energy exchange region is segmented; according to the method provided by the invention, an African vulture optimization method and an alternating direction multiplier method are used in the optimization method, so that the accuracy of finding an optimal solution is enhanced; according to the method provided by the invention, a consistency optimization method is applied to the optimization method, so that the iteration speed is accelerated; the method provided by the invention comprises an exploration search part and a development search part. According to the method provided by the invention, the problems of information sharing and energy saving in commercial building electric energy exchange can be solved, a direct electric energy exchange function between commercial buildings is realized, an electric energy exchange mode is optimized, and the utilization efficiency of distributed power generation equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of commercial building electric energy exchange, and relates to a distributed multi-objective optimization method, which is applicable to commercial building electric energy exchange systems. Background Art

[0002] Existing African vulture optimization methods have the problem of high computational complexity when dealing with large-scale problems;

[0003] Secondly, the existing alternating direction multiplier method has the problem of large iterative calculation amount leading to slow optimization speed;

[0004] In addition, the existing consistency optimization methods have the problem that the optimization results are not accurate enough;

[0005] Therefore, a distributed multi-objective optimization method for electrical energy exchange in commercial buildings is proposed to solve the problems of high computational complexity of the African vulture optimization method, slow optimization speed of the alternating direction multiplier method and inaccurate optimization results of the consistency optimization method. Summary of the invention

[0006] The present invention proposes a distributed multi-objective optimization method for commercial building electric energy exchange, which combines the African vulture optimization method, the alternating direction multiplier method and the consistency optimization method for controlling the distributed multi-objective optimization method, has the functions of improving the accuracy of finding the optimal solution and accelerating the iteration speed, and can more accurately realize the optimization of commercial building electric energy exchange, making the energy exchange process more simple and efficient, and at the same time improving the utilization efficiency of distributed power generation equipment; the steps in the use process are:

[0007] Step (1): Construct a commercial building electric energy exchange model based on game theory and set the iterative variables of the controlled object of the commercial building electric energy exchange equipment. and the maximum number of iterations of the controlled object , and initialize ;

[0008] The objective function is:

[0009] (1)

[0010] in,

[0011] (2)

[0012] (3)

[0013] (4)

[0014] (5)

[0015] (6)

[0016] In the formula, The reciprocal of the cost saved when commercial buildings can exchange electrical energy with each other compared to when they cannot exchange electrical energy with each other; and A number indicating a commercial building; is the total number of commercial buildings; Indicates all The cumulative multiplication between Indicates from arrive sum; It means that when commercial buildings cannot exchange electrical energy, The lowest total operating cost; It means that when commercial buildings can exchange electrical energy, commercial buildings Total operating costs; It means that when commercial buildings cannot exchange electrical energy, Total operating costs; For the Microturbines in commercial buildings Fuel costs for the time period; For the period fuel costs for fuel cells; Indicated in Time Building The cost of interacting with the distribution network; and Respectively expressed in Commercial buildings Electricity purchased from and sold to electricity sales companies; and Respectively expressed in Time-of-use electricity sales price and time-of-use electricity purchase price of the distribution network; is the unit price of natural gas; The low calorific value of natural gas; Micro gas turbine Output during the time period; is the output efficiency of the micro gas turbine; is the unit time period; For the period The power generated by the fuel cell; The power generation efficiency of the fuel cell; Indicates commercial buildings Payments to commercial buildings The cost of purchasing electricity; Represents the total number of time periods in the commercial building operation cycle; express Medium The accumulation of To take the minimum value;

[0017] Equality and inequality constraints:

[0018] (7)

[0019] (8)

[0020] (9)

[0021] (10)

[0022] (11)

[0023] (12)

[0024] (13)

[0025] (14)

[0026] (15)

[0027] (16)

[0028] (17)

[0029] in,

[0030] (18)

[0031] (19)

[0032] (20)

[0033] (twenty one)

[0034] (twenty two)

[0035] (twenty three)

[0036] In the formula, and Respectively expressed in Commercial buildings Sold to commercial buildings Electricity and commercial buildings Sold to commercial buildings of electrical energy; is the discharge power of the battery; Represents photovoltaic power generation; express Charging power of the electric vehicle cluster at all times; is the charging power of the battery; For the period Electricity consumption of electric boiler at the moment; Indicates time period The electrical load at the moment; For the period Heating power of electric boiler; The electric-to-heat conversion efficiency of the electric boiler; for The heat of the bromide refrigeration mechanism during the period; for The flue gas waste heat output during the period; and are the heating coefficient and flue gas recovery rate of the bromide refrigeration machine respectively; is the heat loss rate; For the Commercial buildings Adjust the thermal power at all times according to the room temperature; and Respectively Commercial buildings with energy-controlled units Upper and lower limits of output; For the Commercial buildings with energy-controlled units exist The effort of the moment; and Respectively The upper and lower limits of the current capacity of batteries in commercial buildings; For the Commercial building batteries Total energy of the time period; For the Commercial building battery cycle Total energy at the end; For the The total energy of the batteries in a commercial building at the initial moment; is the self-discharge rate of the battery; and are the charging and discharging efficiencies of the battery respectively; and Indicates until Moment The lower and upper limits of the cumulative electric energy injected into the electric vehicle cluster of a commercial building; Indicates until Moment The cumulative amount of electricity injected into the electric vehicle cluster of commercial buildings; Indicates The upper limit of the cumulative power injected by electric vehicle clusters in commercial buildings; Indicates the time when the last electric car left; Indicates the time until the last electric car leaves The cumulative amount of electricity injected into the electric vehicle cluster of commercial buildings; Charging efficiency for electric vehicle clusters; For the the moment a cluster of electric vehicles in a commercial building begins charging; and Represents commercial buildings and The upper and lower limits of the electric energy exchanged between them; Indicates commercial buildings Payments to commercial buildings The cost of purchasing electricity; for The indoor temperature at the moment; is the room thermal resistance; is the room heat capacity; for Outdoor temperature at all times; It is used to connect formulas that need to be considered together;

[0037] Step (2): Use the topological separation method to divide the regional commercial building power exchange area into several interrelated sub-areas, each sub-area represents a commercial building and its interactive relationship with other buildings, and reconstruct the commercial building power exchange model, and exchange part of the information of the boundary coupling variables between commercial buildings; after the topological separation method, by taking the logarithm, the mathematical model of the commercial building power exchange is:

[0038] (twenty four)

[0039] (25)

[0040] In the formula, is an intermediate variable used to represent the The objective function of the region; express The accumulation of quantities; and Respectively Inequality constraints and equality constraints in regions, Including inequalities (9)(10)(12)(14) and (17); Including equations (7)(8)(11)(13)(15) and (16); It is called the natural logarithm, which is an irrational number. Logarithm of base ;

[0041] When the sub-areas exchange the active information of the virtual boundary nodes, the virtual boundary nodes have a coupling relationship, which can be described as:

[0042] (26)

[0043] { x y1y2 = [ P y1y2 , φ y1y2 ] x y2y1 = [ − P y2y1 , − φ y2y1 ] (27)

[0044] In the formula, Indicates The equivalent of regional commercial buildings The relevant vectors of regional commercial buildings, including the real and electrical energy exchange costs of virtual generator nodes; Indicates The equivalent of regional commercial buildings The relevant vectors of regional commercial buildings, including the real and electrical energy exchange costs of virtual generator nodes; Indicates The equivalent of regional commercial buildings Active power of virtual generator nodes of regional commercial buildings; Indicates The equivalent of regional commercial buildings Active power of virtual generator nodes of regional commercial buildings; For the The equivalent of regional commercial buildings Electricity energy exchange charges for regional commercial buildings; For the The equivalent of regional commercial buildings Electricity energy exchange charges for regional commercial buildings; [ ] Used to represent vectors;

[0045] Step (3): Based on the model of step (2), the African vulture optimization method is used to optimize and solve the problems in each sub-region; the specific solution process is as follows:

[0046] (3.1) First, we need to initialize the random population for each divided area ;

[0047] in, Indicates the first vulture position vectors; represents the size of the vulture population;

[0048] (3.2) Determine whether the number of regional iteration steps meets the requirements ; If satisfied, jump to (3.3), otherwise jump to (3.18);

[0049] in, Indicates the number of vulture iteration steps; is the maximum number of iterations of the vulture;

[0050] (3.3) Evaluating the fitness of vulture populations , select the optimal solution as the best vulture of the first group, and the suboptimal solution as the best vulture of the second group; set and ;

[0051] in, Indicates The hunger rate of each vulture; and are the position vectors of the optimal vulture and the suboptimal vulture respectively;

[0052] (3.4)Judgment Is it satisfied? ; If satisfied, jump to (3.5); otherwise jump to (3.2);

[0053] in, is a loop variable used to iterate over each individual in the vulture population;

[0054] (3.5) The other solutions adopt equation (28) to move towards the best solutions of the first and second groups;

[0055] (28)

[0056] in,

[0057] (29)

[0058] (30)

[0059] In the formula, express from arrive The accumulation of and are the probability parameters of selecting the first best vulture and the probability parameters of selecting the second best vulture, respectively. ; ; Indicates the function of choosing which best vulture to move to;

[0060] (3.6) Update , calculated using formula (31) ;

[0061] (31)

[0062] in,

[0063] (32)

[0064] In the formula, is the hunger random number, ; is the random number used to change each iteration, ; Indicates Number of iterations; Indicates the maximum number of iterations; To update the random number, ; are the parameters used to determine the interruptions in the exploration and development phases; It refers to the ratio of a circle to a circle; is a sine function; is the cosine function; represents the hunger compensation factor;

[0065] (3.7)Judgment Is it satisfied? If satisfied, jump to (3.8) and enter the exploration phase; otherwise jump to (3.11) and enter the development phase;

[0066] (3.8) Because vultures have two exploration mechanisms, we need to judge Is it satisfied? , if satisfied, jump to (3.9) and select the first exploration mechanism; otherwise jump to (3.10) and select the second exploration mechanism;

[0067] in, It is a parameter used to determine the probability of selecting a mechanism during the exploration phase; is the exploration random number, ;

[0068] (3.9) Update the position of the vulture using equation (33); after updating, return to (3.4);

[0069] (33)

[0070] in,

[0071] (34)

[0072] (35)

[0073] In the formula, The vector representing the current position of the vulture; represents the position vector of the vulture in the next iteration; is a coefficient vector that adds random motion and changes in each iteration; is the coefficient random number, ; To take the absolute value; represents the first exploration function;

[0074] (3.10) Update the position of the vulture using equation (36); after updating, return to (3.4);

[0075] (36)

[0076] In the formula, is a random number in the search space, ; and Respectively represent the upper and lower bounds of the search space; are random numbers with upper and lower bounds, ;

[0077] (3.11) Because the development phase has two stages, it is necessary to judge Is it satisfied? If satisfied, jump to (3.12) and enter the first stage of development; otherwise jump to (3.15) and enter the second stage of development;

[0078] (3.12) Also, because in the first stage of development, the vultures implement two different strategies; so we need to judge Is it satisfied? If satisfied, jump to (3.13) and select the first rotating flight strategy; otherwise jump to (3.14) and select the second siege combat strategy;

[0079] in, is a parameter used to determine the probability of selecting a mechanism in the first part of the development phase; To develop random numbers for the first time, ;

[0080] (3.13) Update the position of the vulture using equation (37); after updating, return to (3.4);

[0081] (37)

[0082] in,

[0083] (38)

[0084] In the formula, To rotate the random number, ; represents the distance of the vulture to one of the best vultures in the two groups;

[0085] (3.14) Update the position of the vulture using equation (39); after updating, return to (3.4);

[0086] (39)

[0087] in,

[0088] (40)

[0089] (41)

[0090] In the formula, is the random number for the first siege, ; is the random number for the second siege, ; and They represent the first factor of the siege and the second factor of the siege respectively;

[0091] (3.15) Also, because in the second stage of development, the vulture chooses two different mechanisms; so it is necessary to judge Is it satisfied? , if satisfied, jump to (3.16) and select the mechanism of accumulation of several types of vultures on food sources; otherwise jump to (3.17) and select the mechanism of active competition for food;

[0092] in, is a parameter that determines the probability of selecting a mechanism in the second part of the development phase; Develop random numbers for the second, ;

[0093] (3.16) Update the position of the vulture using equation (42); after updating, return to (3.4);

[0094] (42)

[0095] in,

[0096] (43)

[0097] (44)

[0098] In the formula, and The best condors in the first and second groups in the current iteration, respectively; and represent the first food factor and the second food factor respectively; represents the square of the vulture's current position vector;

[0099] (3.17) Update the position of the vulture using equation (45); after updating, return to (3.4);

[0100] (45)

[0101] in,

[0102] (46)

[0103] (47)

[0104] In the formula, Represents the dimension of the problem; is a random function used to simulate Levy flight motion; is the first Levy random number, ; is the second Levy random number, ; is a fixed and default number ; is the gamma function; is the third Levy random number;

[0105] (3.18) Return the best vulture position in the first group;

[0106] Step (4): The result returned by step (3) is used as the initial value of the alternating direction multiplier method and the consistency optimization method; and according to the principle of the alternating direction multiplier method, the optimization problem equations (24) and (25) can be decomposed into common The sub-optimization problem in the region is The commercial building sub-optimization problem is:

[0107] (48)

[0108] (49)

[0109] The same is true for other regional sub-optimization problems:

[0110] (50)

[0111] (51)

[0112] In the formula, express The objective function of the region; express The objective function of the region; is a regional random number, ; Represents the square of the Euclidean norm of a vector; is a relatively large proportionality factor; express to Medium The accumulation of express to Medium The accumulation of For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; Indicates Inequality constraints on the region, including inequalities (9)(10)(12)(14) and (17); Indicates Equality constraints on the region, including equations (7)(8)(11)(13)(15) and (16); Indicates Inequality constraints on the region, including inequalities (9)(10)(12)(14) and (17); Indicates Equality constraints on the region, including equations (7)(8)(11)(13)(15) and (16);

[0113] According to the current convergence accuracy, the multiplier vector and penalty parameter vector are updated to achieve distributed optimization of the problem; the method flow is:

[0114] (4.1) Initialize coupling variables and ; Initialize the multiplier vector and penalty parameter vector ; Set the convergence tolerance and and penalty coefficient , ;make ;

[0115] in, The first random integer, ; The second random integer, ; ; For the Iterations; ; ; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; and are the first convergence tolerance and the second convergence tolerance respectively; and are the first penalty coefficient and the second penalty coefficient respectively;

[0116] (4.2) Use the consistency optimization method to solve the sub-optimization problem in each region and obtain the iterative variables; each commercial building in the sub-region exchanges motor active power and electricity price information to complete the distributed optimization of each sub-region; first, each sub-region needs to determine the adjacency matrix according to its own network topology structure a yiyo [ ] , Laplace matrix L = [ l yiyo ] and row random matrix ;

[0117] in,

[0118] (52)

[0119] (53)

[0120] (54)

[0121] In the formula, Elements in For edge The weight of ; Indicates from arrive The accumulation of Elements in For edge The negative of the weight; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The row random matrix of the iteration;

[0122] After the net power purchased is input, the consistency variables of each sub-area are updated by calculating the power deviation at the current moment. Therefore, the power deviation , follower updates and leader updates are:

[0123] (55)

[0124] (56)

[0125] (57)

[0126] in,

[0127] (58)

[0128] (59)

[0129] In the formula, For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; Power balancing factors for distributed consensus optimization methods; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The row random matrix of the iteration; Indicates from arrive The accumulation of

[0130] (4.3) Then judge the convergence accuracy. If it satisfies equations (60) and (61), stop the calculation;

[0131] (60)

[0132] (61)

[0133] Otherwise, use equations (62) and (63) to update the multiplier vector and penalty parameter vector respectively;

[0134] (62)

[0135] (63)

[0136] In the formula, It means enclosing those items from which only one is selected; Represents the transpose of a vector; and express The regional commercial buildings are located in Second and The objective function of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; It means to find the modulus of a vector; Indicates taking the maximum value;

[0137] (4.4) Order , repeat (4.2) and (4.3) until convergence; then output the output to the commercial building electric energy exchange equipment for execution, and finally perform the next iteration and make , until , the process ends.

[0138] Compared with the prior art, the present invention has the following advantages and effects:

[0139] (1) The existing African vulture optimization method has the disadvantage of high computational complexity. However, the present invention can avoid this disadvantage of the African vulture optimization method by combining it with the consistency optimization method, thereby improving the computational speed.

[0140] (2) The existing alternating direction multiplier method has the disadvantage of slow optimization speed. However, the present invention can avoid this disadvantage of the alternating direction multiplier method by combining it with the consistency optimization method, thereby improving the optimization speed.

[0141] (3) The existing consistency optimization method has the disadvantage that the optimization result is not accurate enough. However, the present invention can avoid this disadvantage of the consistency optimization method by combining it with the African vulture optimization method and the alternating direction multiplier method, making the optimization more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0142] Figure 1 It is a framework diagram of the commercial building electric energy exchange system of the method of the present invention.

[0143] Figure 2 It is a flow chart of the distributed multi-objective optimization method of the method of the present invention. DETAILED DESCRIPTION

[0144] The present invention proposes a distributed multi-objective optimization method for commercial building electrical energy exchange, which is described in detail as follows in conjunction with the accompanying drawings:

[0145] Figure 1 The framework diagram of the commercial building electric energy exchange system of the method of the present invention is shown in FIG. First, the commercial building group sends a demand response to the distribution network. Then, the distribution network releases electricity price information to the commercial building group and provides electricity price incentives to it. Finally, the commercial building group collects electricity consumption plans and feeds them back to the distribution network.

[0146] Figure 2 This is a flow chart of the distributed multi-objective optimization method of the present invention. First, the system is partitioned and initialized. Then, the vulture parameters are initialized. Next, the process enters a loop that includes evaluating the vultures, selecting the best or suboptimal vulture, and updating steps, and calculate Value. The process enters different stages depending on the value: , it enters the exploration stage; otherwise, it enters the development stage. The comparison result between the value of and the random number selects different vulture position update methods; in the development stage, according to and The comparison results and and The comparison result of the value and the random number determines how to update the vulture's position. This loop will continue until the condition is met Then, the process continues with the steps of initializing the coupling variables, multiplier vectors, and penalty parameter vectors, setting the convergence tolerance and penalty coefficients. Then, the process sets the iteration variables , and solve each regional sub-optimization problem to obtain the iteration variable. If the solution meets the convergence accuracy, the process ends; otherwise, update the multiplier vector and penalty coefficient vector, let , and return to the steps of solving the sub-optimization problems in each region, continue to iterate until the convergence accuracy is met, and finally output the output to the controlled object for the next iteration until , the process ends.

[0147] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A distributed multi-objective optimization method for commercial building electrical energy exchange, characterized in that: The African vulture optimization method, the alternating direction multiplier method and the consistency optimization method are combined for the control of the distributed multi-objective optimization method, which has the function of improving the accuracy of finding the optimal solution and accelerating the iteration speed. It can more accurately optimize the energy exchange of commercial building electricity, making the energy exchange process simpler and more efficient, and at the same time improving the utilization efficiency of distributed power generation equipment; The steps in use are: Step (1): Construct a commercial building electric energy exchange model based on game theory and set the iterative variables of the controlled object of the commercial building electric energy exchange equipment. and the maximum number of iterations of the controlled object , and initialize ; The objective function is: (1) in, (2) (3) (4) (5) (6) In the formula, The reciprocal of the cost saved when commercial buildings can exchange electrical energy with each other compared to when they cannot exchange electrical energy with each other; and A number indicating a commercial building; is the total number of commercial buildings; Indicates all The cumulative multiplication between Indicates from arrive sum; It means that when commercial buildings cannot exchange electrical energy, The lowest total operating cost; It means that when commercial buildings can exchange electrical energy, commercial buildings Total operating costs; It means that when commercial buildings cannot exchange electrical energy, Total operating costs; For the Microturbines in commercial buildings Fuel costs for the time period; For the period fuel costs for fuel cells; Indicated in Time Building The cost of interacting with the distribution network; and Respectively expressed in Commercial buildings Electricity purchased from and sold to electricity sales companies; and Respectively expressed in Time-of-use electricity sales price and time-of-use electricity purchase price of the distribution network; is the unit price of natural gas; The low calorific value of natural gas; Micro gas turbine Output during the time period; is the output efficiency of the micro gas turbine; is the unit time period; For the period The power generated by the fuel cell; The power generation efficiency of the fuel cell; Indicates commercial buildings Payments to commercial buildings The cost of purchasing electricity; Represents the total number of time periods in the commercial building operation cycle; express Medium The accumulation of To take the minimum value; Equality and inequality constraints: (7) (8) (9) (10) (11) (12) (13) (14) (15) (16) (17) in, (18) (19) (20) (21) (22) (23) In the formula, and Respectively expressed in Commercial buildings Sold to commercial buildings Electricity and commercial buildings Sold to commercial buildings of electrical energy; is the discharge power of the battery; Represents photovoltaic power generation; express Charging power of the electric vehicle cluster at all times; is the charging power of the battery; For the period Electricity consumption of electric boiler at the moment; Indicates time period The electrical load at the moment; For the period Heating power of electric boiler; The electric-to-heat conversion efficiency of the electric boiler; for The heat of the bromide cooling mechanism during the period; for The flue gas waste heat output during the period; and are the heating coefficient and flue gas recovery rate of the bromide refrigeration machine respectively; is the heat loss rate; For the Commercial buildings Adjust the thermal power at all times according to the room temperature; and Respectively Commercial buildings with energy-controlled units Upper and lower limits of output; For the Commercial buildings with energy-controlled units exist The effort of the moment; and Respectively The upper and lower limits of the current capacity of batteries in commercial buildings; For the Commercial building batteries Total energy of the time period; For the Commercial building battery cycle Total energy at the end; For the The total energy of the batteries in a commercial building at the initial moment; is the self-discharge rate of the battery; and are the charging and discharging efficiencies of the battery respectively; and Indicates until Moment The lower and upper limits of the cumulative electric energy injected into the electric vehicle cluster of a commercial building; Indicates until Moment The cumulative amount of electricity injected into the electric vehicle cluster of commercial buildings; Indicates The upper limit of the cumulative power injected by electric vehicle clusters in commercial buildings; Indicates the time when the last electric car left; Indicates the time until the last electric car leaves The cumulative amount of electricity injected into the electric vehicle cluster of commercial buildings; Charging efficiency for electric vehicle clusters; For the the moment a cluster of electric vehicles in a commercial building begins charging; and Represents commercial buildings and The upper and lower limits of the electric energy exchanged between them; Indicates commercial buildings Payments to commercial buildings The cost of purchasing electricity; for The indoor temperature at the moment; is the room thermal resistance; is the room heat capacity; for Outdoor temperature at all times; It is used to connect formulas that need to be considered together; Step (2): using the topological separation method to divide the regional commercial building electric energy exchange area into several interrelated sub-areas, each of which represents a commercial building and its interaction with other buildings, and reconstructing the commercial building electric energy exchange model, where the commercial buildings exchange some information of boundary coupling variables; After the topological separation method, by taking the logarithm, the mathematical model of commercial building power exchange is: (24) (25) In the formula, is an intermediate variable used to represent the The objective function of the region; express The accumulation of quantities; and Respectively Inequality constraints and equality constraints in regions, Including inequalities (9)(10)(12)(14) and (17); Including equations (7)(8)(11)(13)(15) and (16); It is called the natural logarithm, which is an irrational number. Logarithm of base ; When the sub-areas exchange the active information of the virtual boundary nodes, the virtual boundary nodes have a coupling relationship, which can be described as: (26) { x y1y2 = [ P y1y2 , φ y1y2 ] x y2y1 = [ − P y2y1 , − φ y2y1 ] (27) In the formula, Indicates The equivalent of regional commercial buildings The relevant vectors of regional commercial buildings, including the real and electrical energy exchange costs of virtual generator nodes; Indicates The equivalent of regional commercial buildings The relevant vectors of regional commercial buildings, including the real and electrical energy exchange costs of virtual generator nodes; Indicates The equivalent of regional commercial buildings Active power of virtual generator nodes in regional commercial buildings; Indicates The equivalent of regional commercial buildings Active power of virtual generator nodes in regional commercial buildings; For the The equivalent of regional commercial buildings Electricity energy exchange charges for regional commercial buildings; For the The equivalent of regional commercial buildings Electricity energy exchange charges for regional commercial buildings; [ ] Used to represent vectors; Step (3): Based on the model of step (2), the African vulture optimization method is used to optimize and solve the problems in each sub-region; the specific solution process is as follows: (3.1) First, we need to initialize the random population for each divided area ; in, Indicates the first vulture position vectors; represents the size of the vulture population; (3.2) Determine whether the number of regional iteration steps meets the requirements ; If satisfied, jump to (3.3), otherwise jump to (3.18); in, Indicates the number of vulture iteration steps; is the maximum number of iterations of the vulture; (3.3) Evaluating the fitness of vulture populations , select the optimal solution as the best vulture of the first group, and the suboptimal solution as the best vulture of the second group; set and ; in, Indicates The hunger rate of each vulture; and are the position vectors of the optimal vulture and the suboptimal vulture respectively; (3.4)Judgment Is it satisfied? ; If satisfied, jump to (3.5); otherwise jump to (3.2); in, is a loop variable used to iterate over each individual in the vulture population; (3.5) The other solutions adopt equation (28) to move towards the best solutions of the first and second groups; (28) in, (29) (30) In the formula, express from arrive The accumulation of and are the probability parameters of selecting the first best vulture and the probability parameters of selecting the second best vulture, respectively. ; ; Indicates the function of choosing which best vulture to move to; (3.6) Update , calculated using formula (31) ; (31) in, (32) In the formula, is the hunger random number, ; is the random number used to change each iteration, ; Indicates Number of iterations; Indicates the maximum number of iterations; To update the random number, ; are the parameters used to determine the interruption of the exploration and development phases; It refers to the ratio of a circle to a circle; is a sine function; is the cosine function; represents the hunger compensation factor; (3.7)Judgment Is it satisfied? If satisfied, jump to (3.8) and enter the exploration phase; otherwise jump to (3.11) and enter the development phase; (3.8) Because vultures have two exploration mechanisms, we need to judge Is it satisfied? , if satisfied, jump to (3.9) and select the first exploration mechanism; otherwise jump to (3.10) and select the second exploration mechanism; in, It is a parameter used to determine the probability of selecting a mechanism during the exploration phase; is the exploration random number, ; (3.9) Update the position of the vulture using equation (33); after updating, return to (3.4); (33) in, (34) (35) In the formula, The vector representing the current position of the vulture; represents the position vector of the vulture in the next iteration; is a coefficient vector that adds random motion and changes in each iteration; is the coefficient random number, ; To take the absolute value; represents the first exploration function; (3.10) Update the position of the vulture using equation (36); after updating, return to (3.4); (36) In the formula, is a random number in the search space, ; and Respectively represent the upper and lower bounds of the search space; are random numbers with upper and lower bounds, ; (3.11) Because the development phase has two stages, it is necessary to judge Is it satisfied? If satisfied, jump to (3.12) and enter the first stage of development; otherwise jump to (3.15) and enter the second stage of development; (3.12) Also, because in the first stage of development, the vultures implement two different strategies; so we need to judge Is it satisfied? If satisfied, jump to (3.13) and select the first rotating flight strategy; otherwise jump to (3.14) and select the second siege combat strategy; in, is a parameter used to determine the probability of selecting a mechanism in the first part of the development phase; To develop random numbers for the first time, ; (3.13) Update the position of the vulture using equation (37); after updating, return to (3.4); (37) in, (38) In the formula, To rotate the random number, ; represents the distance of the vulture to one of the best vultures in the two groups; (3.14) Update the position of the vulture using equation (39); after updating, return to (3.4); (39) in, (40) (41) In the formula, is the random number for the first siege, ; is the random number for the second siege, ; and They represent the first factor of the siege and the second factor of the siege respectively; (3.15) Also, because in the second stage of development, the vulture chooses two different mechanisms; so it is necessary to judge Is it satisfied? , if satisfied, jump to (3.16) and select the mechanism of accumulation of several types of vultures on food sources; otherwise jump to (3.17) and select the mechanism of active competition for food; in, is a parameter that determines the probability of selecting a mechanism in the second part of the development phase; Develop random numbers for the second, ; (3.16) Update the position of the vulture using equation (42); after updating, return to (3.4); (42) in, (43) (44) In the formula, and The best condors in the first and second groups in the current iteration, respectively; and represent the first food factor and the second food factor respectively; represents the square of the vulture's current position vector; (3.17) Update the position of the vulture using equation (45); after updating, return to (3.4); (45) in, (46) (47) In the formula, Represents the dimension of the problem; is a random function used to simulate Levy flight motion; is the first Levy random number, ; is the second Levy random number, ; is a fixed and default number ; is the gamma function; is the third Levy random number; (3.18) Return the best vulture position in the first group; Step (4): The result returned by step (3) is used as the initial value of the alternating direction multiplier method and the consistency optimization method; and according to the principle of the alternating direction multiplier method, the optimization problem equations (24) and (25) can be decomposed into common The sub-optimization problem in the region is The commercial building sub-optimization problem is: (48) (49) The same is true for other regional sub-optimization problems: (50) (51) In the formula, express The objective function of the region; express The objective function of the region; is a regional random number, ; Represents the square of the Euclidean norm of a vector; is a relatively large proportionality factor; express to Medium The accumulation of express to Medium The accumulation of For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; Indicates Inequality constraints on the region, including inequalities (9)(10)(12)(14) and (17); Indicates Equality constraints on the region, including equations (7)(8)(11)(13)(15) and (16); Indicates Inequality constraints on the region, including inequalities (9)(10)(12)(14) and (17); Indicates Equality constraints on the region, including equations (7)(8)(11)(13)(15) and (16); According to the current convergence accuracy, the multiplier vector and penalty parameter vector are updated to achieve distributed optimization of the problem; the method flow is: (4.1) Initialize coupling variables and ; Initialize the multiplier vector and penalty parameter vector ; Set the convergence tolerance and and penalty coefficient , ;make ; in, The first random integer, ; The second random integer, ; ; For the Iterations; ; ; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; and are the first convergence tolerance and the second convergence tolerance respectively; and are the first penalty coefficient and the second penalty coefficient respectively; (4.2) Use the consistency optimization method to solve the sub-optimization problem in each region and obtain the iterative variables; each commercial building in the sub-region exchanges motor active power and electricity price information to complete the distributed optimization of each sub-region; first, each sub-region needs to determine the adjacency matrix according to its own network topology structure a yiyo [ ] , Laplace matrix L = [ l yiyo ] and row random matrix ; in, (52) (53) (54) In the formula, Elements in For edge The weight of ; Indicates from arrive The accumulation of Elements in For edge The negative of the weight; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The row random matrix of the iteration; After the net power purchased is input, the consistency variables of each sub-area are updated by calculating the power deviation at the current moment. Therefore, the power deviation , follower updates and leader updates are: (55) (56) (57) in, (58) (59) In the formula, For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; For the The regional commercial building units are The consistency variable of the iteration; Power balancing factors for distributed consensus optimization methods; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The row random matrix of the iteration; Indicates from arrive The accumulation of (4.3) Then judge the convergence accuracy. If it satisfies equations (60) and (61), stop the calculation; (60) (61) Otherwise, use equations (62) and (63) to update the multiplier vector and penalty parameter vector respectively; (62) (63) In the formula, It means enclosing those items from which only one is selected; Represents the transpose of a vector; and express The commercial buildings in the area are located in Second and The objective function of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The multiplier vector in the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The penalty parameter vector in iterations; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; For the Regional commercial building units are used to equivalent Regional commercial buildings in the The consistency variable of the iteration; It means to find the modulus of a vector; Indicates taking the maximum value; (4.4) Order , repeat (4.2) and (4.3) until convergence; then output the output to the commercial building electric energy exchange equipment for execution, and finally perform the next iteration and make , until , the process ends.

Citation Information

Cited By

  • BERT acceleration consistency African vulture optimization building electric energy exchange method and device, computer equipment and medium

    CN120185075A