Cooling, heating and power coupled type microgrid cluster tri-level entity distributed optimization method
By introducing the microgrid group operator and the two-layer game model into the microgrid group system, the problem of unfair distribution of benefits and transaction complexity within the microgrid group is solved, and the benefits of the cold, hot and electric coupled microgrid group are maximized. and increase in new energy consumption rates.
Patent Information
- Application Number
- PCT/CN2023/098268
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2023-06-05
- Publication Date
- 2024-10-03
AI Technical Summary
The existing microgrid group system has complexity and inflexibility in terms of multi-energy coupling and multi-agent interest interaction. Especially in the cold, hot and electric coupled microgrid group, there is a lack of effective transaction mechanism and benefit maximization strategy, resulting in The distribution of benefits within the microgrid group is unfair, and there is a lack of a three-tier transaction model that supports two-tier demand response and new energy participation.
Introducing microgrid group operators as a communication bridge, by constructing a dual-layer subject optimization operation system of microgrid groups, using KKT conditions and Big-M method to solve the equilibrium solution of the two-layer game, and combining the supply and demand interaction method to construct a mathematical model of microgrid group operators , to achieve the convergence of real-time energy transaction prices and optimal load demand response.
Encourage more microgrids to join the trading model, maximize the benefits within the microgrid group, increase the consumption rate of new energy, enhance the coordination of interests of multi-layer entities, and improve the flexibility and economy of energy transactions in the microgrid group.
Smart Images

Figure CN2023098268_03102024_PF_FP_ABST
Abstract
Description
A three-layer distributed optimization method for cooling, heating and electricity coupled microgrids Technical Field
[0001] The present invention relates to the technical field of cooling, heating and electricity microgrids, and in particular to a three-layer distributed optimization method for cooling, heating and electricity coupled microgrids. Background Art
[0002] In recent years, the energy industry has been undergoing tremendous changes. It is imperative to develop renewable energy and increase the use of efficient and clean energy.
[0003] As energy markets gradually open up, energy pricing mechanisms also need to be improved. It is foreseeable that energy trading will become more flexible and the setting of trading prices will be more free.
[0004] The microgrid cluster system effectively enhances the flexibility of the regional energy trading market and can achieve overall regional cooperation and win-win results through coupling and integration; but at the same time, due to the complex interest relations of the system, the reasonable and fair distribution of benefits of the entire microgrid cluster system will be extremely challenging.
[0005] The microgrid cluster system is a complex multi-energy coupling system involving a wide range of stakeholders and complex operating conditions. In order to improve the economy and flexibility of transactions, it is necessary to establish a reasonable and effective transaction mechanism to study the interest interaction process.
[0006] However, existing research methods mainly focus on the design of economic mechanisms for energy trading, and there are few studies on the interaction of interests among multiple subjects in multi-level and multi-resource collaborative transactions.
[0007] Regarding multi-tiered trading markets, the current three-tier market structure for microgrid clusters is mostly limited to a single grid and a single leader. Few studies have considered a three-tier model for an integrated energy trading market with multiple suppliers.
[0008] Most previous studies do not support the participation of two-tier integrated demand response, nor do they consider a central entity in the local energy trading market to coordinate information / energy / cash flow, such as a microgrid cluster operator.
[0009] Moreover, previous works have not simultaneously considered the optimal pricing model, multi-resource trading strategy, and new energy participation in the three-tier trading model;
[0010] At the same time, there has been no in-depth research on market trading strategies for microgrid systems that couple cooling, heating, and electricity and include new energy sources, using price as a direct incentive.
[0011] Therefore, how to maximize the interests of each microgrid in the microgrid group and encourage more microgrids to join the trading model has become a technical problem that technical personnel in this field urgently need to solve.
[0012] Summary of the Invention
[0013] In view of the above-mentioned defects of the prior art, the present invention provides a three-layer distributed optimization method for a cold, heat and electricity coupled microgrid group. The purpose of this method is to introduce a microgrid group operator as a bridge to communicate between the external distribution network and the microgrid group, to maximize the interests of each microgrid in the microgrid group, and to encourage more microgrids to join this trading model.
[0014] To achieve the above objectives, the present invention discloses a three-layer distributed optimization method for a cooling, heating, and electricity coupled microgrid group, comprising the following steps:
[0015] Step 1: Construct a two-layer main body optimization operation system for the microgrid group, including a microgrid mathematical model and a user mathematical model;
[0016] Step 2: providing the transaction price to the user mathematical model through the microgrid mathematical model, and simultaneously providing the user demand response to the microgrid mathematical model through the user mathematical model, thereby forming an inner loop;
[0017] Step 3: Use the KKT condition and Big-M method in sequence to solve the two-layer master-slave game equilibrium solution between each microgrid and the user in the inner loop, obtain the electricity sales price and user load demand response information of each microgrid, and upload it to the microgrid group operator where each microgrid is located;
[0018] Step 4: Construct a mathematical model of the microgrid group operator, and based on the supply and demand interaction method and the information uploaded by the inner loop, solve the real-time energy transaction price between the microgrid group operator and each microgrid in the inner loop, and determine whether the real-time energy transaction price converges;
[0019] If the real-time energy transaction price does not converge, the real-time energy transaction price is fed back into the inner loop and steps 2 to 4 are executed again;
[0020] If the real-time energy transaction price has converged, proceed to step 5;
[0021] Step 5: Output the real-time energy transaction price and the corresponding optimal load demand response solution set.
[0022] Preferably, the microgrid mathematical model and the user mathematical model in the inner loop are double-layer game models;
[0023] The microgrid mathematical model includes a microgrid objective function and microgrid constraints;
[0024] The microgrid objective function is based on a mathematical model of each microgrid and the microgrid group operator, revenue generated by energy transactions between each microgrid and users, and operating costs paid by each microgrid for purchasing natural gas;
[0025] The user mathematical model includes a user-side objective function and user constraints
[0026] The user-side objective function is constructed based on the user's utility function and energy consumption cost.
[0027] More preferably, the microgrid objective function is:
[0028] Among them, Be MG,n is the objective function of the nth microgrid; are the real-time electricity and heat purchase prices for users published by the nth microgrid at time h; are the electric load and thermal load of the i-th user in the n-th microgrid at time h, respectively; are the prices at which the microgrid sells electricity to and buys electricity from the microgrid group operator at time h; They represent the electricity sales power and electricity purchase power of the nth microgrid at time h respectively; Pg is the heat purchase price and heat load of the microgrid from the microgrid group operator at time h; GT 、Pg GB are the gas prices for gas turbines and gas boilers respectively; M GT,n,h 、M GB,n,h are the gas consumption of the gas turbine and gas boiler in the nth microgrid at time h, respectively.
[0029] More preferably, the microgrid constraints include electric and thermal power balance constraints, equipment output constraints, transaction price constraints, and interactive power constraints;
[0030] The electrothermal power balance constraints are as follows:
[0031] in, and are the electric load, cooling load and heating load of the nth microgrid at time h; COP is the cooling coefficient; are the power of photovoltaic and gas turbine of the nth microgrid at time h; are the output thermal powers of the heat exchanger and gas boiler of the nth microgrid at time h;
[0032] The equipment output constraints are as follows:
[0033] Among them, P GT,n,max 、P GT,n,minare the maximum and minimum capacity of the gas turbine in the nth microgrid respectively; L NG ,η GT are the calorific value of gas and the power generation efficiency of gas turbine respectively; r GT ,η GB are the thermal power ratio of the gas turbine and the thermal efficiency of the gas boiler respectively; η WH ,η HC are the efficiencies of the waste heat boiler and heat exchanger respectively; Q GB,n,min , Q GB,n,max are the maximum and minimum capacities of the gas boilers in the nth microgrid, respectively;
[0034] The transaction price constraints are as follows:
[0035] in, are the minimum and maximum electricity prices sold by the microgrid to users; are the minimum and maximum heat prices sold by the microgrid to users; are the upper limits of the average electricity price and heat price respectively; H is the time period for energy trading;
[0036] The constraints of the interaction power are as follows:
[0037] in, are the 0 to 1 variables of electricity purchase and electricity sale of the nth microgrid at time h; ht b,n,max is the maximum value of the heat load purchased by the nth microgrid from the multi-microgrid operator; b,n,max 、el s,n,max are the maximum values of the power load purchased / sold by the nth microgrid, respectively.
[0038] More preferably, the user-side objective function is as follows:
[0039] Among them, Be u,n,i is the objective function of the i-th user in the n-th microgrid; ae u,n,i 、be u,n,i are the preference constants for electric load consumption; ah u,n,i 、bh u,n,i are the preference constants for heat load consumption, respectively;
[0040] All the preference constants mentioned above vary with the user's load characteristics and affect the user's demand response.
[0041] More preferably, the user constraints include the following:
[0042] in, The basic electricity load required for users' daily life; It is the basic heat load required by users in their daily life; They are the user's shift load at time h, which refers to the load demand response of the user based on the impact of the real-time transaction price set by the real-time microgrid on the electric load and thermal load; Pue u,max 、uh u,max are the upper limits of the user’s electrical and thermal loads, respectively; Se u,n,i 、Sh u,n,i are the total amount of shifted electrical load and thermal load in microgrid n at time h, respectively.
[0043] More preferably, the KKT condition and Big-M method are used to solve the master-slave game equilibrium solution of the two-layer game model of each of the microgrid-side mathematical model and the user-side mathematical model in the inner loop, and the two-layer game model is equivalently converted into a single-layer mixed integer nonlinear programming problem, specifically in the following manner:
[0044] The KKT conditions are as follows:
[0045] Among them, G u,n,i The Lagrangian function constructed for the i-th user in the n-th microgrid; μe h 、 μh h Dual variables introduced for KKT conditions; is the Lagrange multiplier corresponding to the inequality constraint, μe h 、μh h is the Lagrange multiplier corresponding to the equality constraint; ⊥ means that both the left and right numbers are greater than or equal to 0, and the product of the two numbers is 0;
[0046] The Big-M conversion method is as follows:
[0047] in, It is a binary variable with a value of 0 or 1, and M is a number greater than 100,000.
[0048] More preferably, the steps of solving the real-time energy transaction price based on the supply-demand interaction method are as follows:
[0049] Step 4.1: Obtain the load demand response to obtain the power supply and demand ratio of the microgrid group. The specific calculation formula is as follows:
[0050] Among them, k h is the ratio of power supply to demand in the microgrid group during period h, The corresponding amount of electricity purchased or sold by the nth microgrid from the microgrid group operator in the hth period, where N is the total number of microgrids in the microgrid group;
[0051] Step 4.2, then solve the real-time energy price of each microgrid under different supply-demand ratios, as follows:
[0052] in, The corresponding period is the price of electricity purchased and sold by the microgrid from the microgrid group operator during the h period; g h k h The reciprocal of is the electricity selling price and electricity purchasing price traded between the microgrid operator and the public energy network during the h period.
[0053] More preferably, the microgrid operator is a public welfare entity, including interest constraints and transaction price constraints;
[0054] The specific interest constraints are:
[0055] Among them, Be MGCO Benefits to multiple microgrid operators; are the electricity selling price and electricity purchasing price traded between the multi-microgrid operators and the public energy network at time h; are the electricity sold and purchased by multiple microgrid operators from the public energy network at time h; are the heat price and load purchased by the multi-microgrid operator from the public energy network at time h; are the heat price and load purchased by the nth microgrid from the multi-microgrid operator, respectively; are the prices of electricity purchased from and sold to the multi-microgrid operator at time h; are the electricity purchased and sold by the microgrid from the multi-microgrid operator at time h;
[0056] The transaction price constraints are specifically:
[0057] Beneficial effects of the present invention:
[0058] The present invention introduces the microgrid group operator as a bridge to communicate between the external distribution network and the microgrid group, which can encourage more microgrids to join the transaction model.
[0059] The present invention applies this model to regional microgrid clusters, taking into account the impact of price changes on the energy trading strategies of multiple participating entities and involving user energy experience. At the same time, new energy can be absorbed and interconnected within the grid cluster and can also be absorbed and connected to the grid, which improves the absorption rate of new energy in the microgrid cluster system and can provide theoretical guidance for the local integrated energy system market trading model.
[0060] The model constructed by the present invention takes price as the link, takes into account the interactive relationship between multiple levels and multiple stakeholders, and proposes a microgrid group trading model with multiple layers of interest groups for new energy access. It can not only improve the interests of multiple layers of entities, but also enhance the energy consumption level of the microgrid group. It is also easy to expand the microgrid group and can encourage more microgrids to actively participate. Therefore, it can be widely used in various fields of microgrid group analysis, such as microgrid group operation optimization, planning and design, interest interaction and energy trading, and has strong promotion and application value.
[0061] The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, characteristics and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] FIG1 shows a flow chart of an embodiment of the present invention.
[0063] FIG2 shows a multi-layer transaction framework diagram of a microgrid group in one embodiment of the present invention.
[0064] FIG3 shows a diagram of energy and electricity transaction prices of a microgrid group after optimization in one embodiment of the present invention.
[0065] FIG4 shows an electric power balance diagram of the microgrid 1 within the microgrid cluster after optimization in one embodiment of the present invention.
[0066] FIG5 shows an electric power balance diagram of the microgrid 2 within the microgrid cluster after optimization in one embodiment of the present invention.
[0067] FIG6 shows an electric power balance diagram of the microgrid 3 within the microgrid cluster after optimization in one embodiment of the present invention.
[0068] FIG7 shows a thermal power balance diagram of microgrid 1 within a microgrid cluster after optimization in one embodiment of the present invention.
[0069] FIG8 shows a thermal power balance diagram of microgrid 2 within a microgrid cluster after optimization in one embodiment of the present invention.
[0070] FIG9 shows a thermal power balance diagram of microgrid 3 within a microgrid cluster after optimization in one embodiment of the present invention.
[0071] FIG10 shows the demand response of user 1 after optimization and the real-time electricity price set by the microgrid in one embodiment of the present invention.
[0072] FIG11 shows the demand response of user 2 after optimization and the real-time electricity price set by the microgrid in one embodiment of the present invention.
[0073] FIG12 shows the demand response of user 3 after optimization and the real-time electricity price set by the microgrid in one embodiment of the present invention.
[0074] FIG13 shows the demand response of user 1 after optimization and the real-time heat price set by the microgrid in one embodiment of the present invention.
[0075] FIG14 shows the demand response of user 2 after optimization and the real-time heat price set by the microgrid in one embodiment of the present invention.
[0076] FIG15 shows the demand response of user 3 after optimization and the real-time heat price set by the microgrid in one embodiment of the present invention.
[0077] FIG16 shows the electricity transaction volume between the optimized public energy network and the entire microgrid group in one embodiment of the present invention. DETAILED DESCRIPTION
[0078] Example
[0079] As shown in Figures 1 and 2, the three-layer distributed optimization method for a cooling, heating, and electricity coupled microgrid cluster includes the following steps:
[0080] Step 1: Construct a two-layer main body optimization operation system for the microgrid group, including a microgrid mathematical model and a user mathematical model;
[0081] Step 2: The transaction price is provided to the user mathematical model through the microgrid mathematical model, and the user demand response is provided to the microgrid mathematical model through the user mathematical model, forming an inner loop;
[0082] Step 3: Use the KKT condition and Big-M method in sequence to solve the two-layer master-slave game equilibrium solution between each microgrid and the user in the inner loop, obtain the electricity sales price and user load demand response information of each microgrid, and upload it to the microgrid group operator where each microgrid is located;
[0083] Step 4: Build a mathematical model of the microgrid cluster operator. Based on the supply-demand interaction method and the information uploaded by the inner loop, solve the real-time energy transaction price between the microgrid cluster operator and each microgrid in the inner loop, and determine whether the real-time energy transaction price converges.
[0084] If the real-time energy transaction price does not converge, the real-time energy transaction price is fed back into the inner loop and steps 2 to 4 are executed again;
[0085] If the real-time energy transaction price has converged, proceed to step 5;
[0086] Step 5: Output the real-time energy transaction price and the corresponding optimal load demand response solution set.
[0087] In some embodiments, the microgrid mathematical model and the user mathematical model in the inner loop are two-layer game models;
[0088] The microgrid mathematical model includes the microgrid objective function and microgrid constraints;
[0089] The microgrid objective function is based on the mathematical model of each microgrid and the microgrid group operator, the revenue generated by energy transactions between each microgrid and users, and the operating costs paid by each microgrid for purchasing natural gas;
[0090] The user mathematical model includes the user-side objective function and user constraints
[0091] The user-side objective function is constructed based on the user's utility function and energy consumption cost.
[0092] In some embodiments, the microgrid objective function is:
[0093] Among them, Be MG,n is the objective function of the nth microgrid; are the real-time electricity and heat purchase prices for users published by the nth microgrid at time h; are the electric load and thermal load of the i-th user in the n-th microgrid at time h, respectively; are the prices at which the microgrid sells electricity to and buys electricity from the microgrid group operator at time h; They represent the electricity sales power and electricity purchase power of the nth microgrid at time h respectively; Pg is the heat purchase price and heat load of the microgrid from the microgrid group operator at time h; GT 、Pg GB are the gas prices for gas turbines and gas boilers respectively; M GT,n,h 、M GB,n,h are the gas consumption of the gas turbine and gas boiler in the nth microgrid at time h, respectively.
[0094] In some embodiments, the microgrid constraints include electric and thermal power balance constraints, equipment output constraints, transaction price constraints, and interactive power constraints;
[0095] The electric and thermal power balance constraints are as follows:
[0096] in, and are the electric load, cooling load and heating load of the nth microgrid at time h; COP is the cooling coefficient; are the power of photovoltaic and gas turbine of the nth microgrid at time h; are the output thermal powers of the heat exchanger and gas boiler of the nth microgrid at time h;
[0097] The specific equipment output constraints are as follows:
[0098] Among them, P GT,n,max 、P GT,n,min are the maximum and minimum capacity of the gas turbine in the nth microgrid respectively; L NG ,η GT are the calorific value of gas and the power generation efficiency of gas turbine respectively; r GT ,η GB are the thermal power ratio of the gas turbine and the thermal efficiency of the gas boiler respectively; η WH ,η HC are the efficiencies of the waste heat boiler and heat exchanger respectively; Q GB,n,min , Q GB,n,max are the maximum and minimum capacities of the gas boilers in the nth microgrid, respectively;
[0099] The transaction price constraints are as follows:
[0100] in, are the minimum and maximum electricity prices sold by the microgrid to users; are the minimum and maximum heat prices sold by the microgrid to users; are the upper limits of the average electricity price and heat price respectively; H is the time period for energy trading;
[0101] The constraints on interaction power are as follows:
[0102] in, are 0 to 1 variables for the purchase and sale of electricity by the nth microgrid at time h; ht b,n,max is the maximum value of the heat load purchased by the nth microgrid from the multi-microgrid operator; b,n,max 、el s,n,max are the maximum values of the power load purchased / sold by the nth microgrid, respectively.
[0103] In some embodiments, the user-side objective function is as follows:
[0104] Among them, Be u,n,i is the objective function of the i-th user in the n-th microgrid; ae u,n,i 、be u,n,i are the preference constants for electric load consumption; ah u,n,i 、bh u,n,i are the preference constants for heat load consumption, respectively;
[0105] All preference constants change with the user's load characteristics and affect the user's demand response.
[0106] In some embodiments, user constraints include the following:
[0107] in, The basic electricity load required for users' daily life; It is the basic heat load required by users in their daily life; They are the user's shift load at time h, which refers to the load demand response of the user based on the impact of the real-time transaction price set by the real-time microgrid on the electric load and thermal load; Pue u,max 、uh u,max are the upper limits of the user’s electrical and thermal loads, respectively; Se u,n,i 、Sh u,n,i are the total amount of shifted electrical load and thermal load in microgrid n at time h, respectively.
[0108] In certain embodiments, the KKT condition and Big-M method are used to solve the master-slave game equilibrium solution of the two-layer game model of each microgrid-side mathematical model and the user-side mathematical model in the inner loop, and the two-layer game model is equivalently converted into a single-layer mixed integer nonlinear programming problem. The specific method is:
[0109] The KKT conditions are as follows:
[0110] Among them, G u,n,i The Lagrangian function constructed for the i-th user in the n-th microgrid; μe h 、 μh h Dual variables introduced for KKT conditions; is the Lagrange multiplier corresponding to the inequality constraint, μe h 、μh h is the Lagrange multiplier corresponding to the equality constraint; ⊥ means that both the left and right numbers are greater than or equal to 0, and the product of the two numbers is 0;
[0111] The Big-M conversion method is as follows:
[0112] in, It is a binary variable with a value of 0 or 1, and M is a number greater than 100,000.
[0113] In certain embodiments, the steps for solving the real-time energy transaction price based on the supply-demand interaction method are as follows:
[0114] Step 4.1: Obtain the load demand response to obtain the power supply and demand ratio of the microgrid group. The specific calculation formula is as follows:
[0115] Among them, k h is the ratio of power supply to demand in the microgrid group during period h, The corresponding amount of electricity purchased or sold by the nth microgrid from the microgrid group operator in the hth period, where N is the total number of microgrids in the microgrid group;
[0116] Step 4.2, then solve the real-time energy price of each microgrid under different supply-demand ratios, as follows:
[0117] in, The corresponding period is the price of electricity purchased and sold by the microgrid from the microgrid group operator during the h period; g h k h The reciprocal of is the electricity selling price and electricity purchasing price traded between the microgrid operator and the public energy network during the h period.
[0118] In some embodiments, the microgrid group operator is a public welfare entity, including interest constraints and transaction price constraints;
[0119] The specific interest constraints are:
[0120] Among them, Be MGCO Benefits to multiple microgrid operators; are the electricity selling price and electricity purchasing price traded between the multi-microgrid operators and the public energy network at time h; are the electricity sold and purchased by multiple microgrid operators from the public energy network at time h; are the heat price and load purchased by the multi-microgrid operator from the public energy network at time h; are the heat price and load purchased by the nth microgrid from the multi-microgrid operator, respectively; are the prices of electricity purchased from and sold to the multi-microgrid operator at time h; are the electricity purchased and sold by the microgrid from the multi-microgrid operator at time h;
[0121] The transaction price constraints are as follows:
[0122] Based on the above, this example selects a multi-energy microgrid group consisting of three multi-energy microgrids as the simulation object.
[0123] Among them, the contract prices for microgrid operators to purchase electricity and heat from the public energy network are 0.516 yuan / kWh and 0.4 yuan / kWh respectively.
[0124] At the same time, the contract prices for electricity and heat sold by microgrid operators to the public energy network are 0.4155 yuan / kWh and 0.1 yuan / kWh respectively.
[0125] When the microgrid within the group trades directly with the public energy network, the initial transaction price cap is set equal to the real-time transaction price set by the public energy network, and the price floor is set at 0.4155 yuan / kWh.
[0126] In the internal circulation transaction, the upper limit of the average transaction price of electricity and heat between the microgrid and users is 0.52 yuan / kWh and 0.33 yuan / kWh respectively.
[0127] The upper limit of the electricity price is equal to the real-time transaction price set by the public energy network, with a lower limit of 0.2 yuan / kWh. The upper limit of the real-time heat price for users is 0.4 yuan / kWh, and the lower limit is 0.1 yuan / kWh.
[0128] Preference coefficient Randomly selected from the interval (0.1,0.5), and Randomly select from the interval (1,5).
[0129] In addition, the time-of-use electricity trading prices set by the public energy network are shown in Table 1.
[0130] Table 1 Energy prices in the local market
[0131] (2) Figure 3 shows the internal electricity transaction purchase and sale prices set by the microgrid operator after optimization. It can be seen that the internal transaction prices are all within the price range set by the public energy network.
[0132] As shown in Figure 3, the real-time transaction price within the group fluctuates greatly. This is because the energy transaction price is determined by the supply and demand relationship of energy within the group, and the real-time price will affect the real-time load demand. Therefore, after optimization, the microgrids and users in the group adjust the demand load in pursuit of their own maximum benefits, which in turn affects the real-time transaction price.
[0133] (3) Figures 4 to 9 show the electrical and thermal power balance diagrams for each microgrid within the cluster. It can be seen that during the 9:00-15:00 period, MG2 and MG3 act as electricity sellers within the cluster, while MG1 acts as an electricity buyer. This is mainly due to the fact that MG2 and MG3 use higher-capacity regional generators, while MG1 uses lower-capacity regional generators. In other words, energy trading between neighboring microgrids within a multi-microgrid can only be achieved when there are significant differences in energy supply and demand across microgrids within the cluster.
[0134] Although Microgrid 1 uses a cogeneration unit, its operating costs are higher than the economic costs of the photovoltaic system. Therefore, the cogeneration equipment only works for a few hours, and between 20:00 and 6:00 the next day. Compared with gas turbine power generation, it is a more economical strategy for Microgrid 1 to purchase energy directly from the microgrid group.
[0135] Meanwhile, it can be seen that the cogeneration units in Microgrid 2 and Microgrid 3 operate to produce electricity and heat between 5:00 PM and 12:00 PM, respectively. This is because during these hours, demand for electricity and heat is high, making cogeneration more economical, as it can generate both electricity and heat. In contrast, due to the relatively low electricity prices at night, microgrids prefer to purchase the large amounts of electricity they need from the microgrid cluster operator rather than generating it themselves.
[0136] From the perspective of the microgrid cluster system as a whole, the power load of Microgrid 2 and Microgrid 3 units is relatively high throughout the day. Due to the high amount of renewable energy installed during the day, photovoltaic, cogeneration units and energy trading within the cluster can basically meet their daytime electricity needs. At the same time, cogeneration units and gas boilers can basically meet their daytime heat needs, achieving a balance between supply and demand.
[0137] (4) Figures 10 to 15 are user demand responses and real-time electricity and heat price maps set by the microgrid, reflecting the demand response of end users.
[0138] From Figures 7 to 12 , we can see that microgrid 1 is a power-deficient microgrid during the period of 10:00-20:00 and needs to purchase a large amount of electricity from outside, which increases the electricity purchase price of user 1. This will make user 1 more inclined to transfer the peak load during the day to the night when the electricity price is lower.
[0139] During the period of 10:00-15:00, Microgrid 2 and Microgrid 3 have surplus photovoltaic power generation, which belongs to the surplus power type microgrid. The excess photovoltaic power generation of the microgrid can be sold to other microgrids to benefit from it. However, the user load demand is also affected by the real-time transaction price set by the microgrid. Under the combined influence, the load demand of User 2 increases, while the load demand of User 3 decreases.
[0140] (5) Table 2 is the comparison results before and after user load demand response. It can be seen that the objective functions of all users have been improved after the demand response optimization. After optimization, the utility function of each user has been improved, while the cost has been reduced and the benefits obtained from the objective function have been improved. This means that the transaction model proposed in this invention is more beneficial to users than the situation where the microgrid does not participate in microgrid group transactions but directly trades with the public energy network. The results show that the proposed optimization method can not only ensure the comfort of end users, but also effectively transfer peak loads and improve the economic efficiency of the multi-microgrid integrated energy system.
[0141] (6) Table 3 shows the profit of the microgrid group on a typical day. As can be seen from the table, compared with the two scenarios of independent optimization (microgrids are optimized individually and trade directly with the public energy grid) and distributed algorithm (market trading model with multiple participants proposed in this invention), under the distributed algorithm proposed in this invention, microgrid 1 has the highest profit, followed by microgrid 2 and microgrid 3. In addition, the profits of microgrid 1, microgrid 2, microgrid 3 and microgrid group system increased by 2.57%, 3.21%, 5.44% and 3.55% respectively, improving the interests of various stakeholders.
[0142] (7) Figure 16 shows the electricity transaction volume between the public energy network and the entire microgrid cluster. As can be seen from the figure, compared with the independent microgrid optimization method, the distributed algorithm proposed in this invention reduces the total amount of electricity purchased and sold by the microgrid cluster by 18.6% and 58.2%, respectively. From the perspective of the total energy transaction volume, this is because after each microgrid participates in the energy transaction of the microgrid cluster, the three microgrids exchange a large amount of energy within the cluster through coupling and interconnection based on the multi-microgrid operator platform, balancing the energy surplus and shortage within the cluster and improving the level of new energy consumption.
[0143] Table 2 Comparison results before and after user load demand response
[0144] Table 3. Profit of microgrid group on a typical day
[0145] The above describes in detail the preferred embodiments of the present invention. It should be understood that those skilled in the art can make numerous modifications and variations based on the concepts of the present invention without inventive effort. Therefore, any technical solutions that can be derived by those skilled in the art through logical analysis, reasoning, or limited experimentation based on the concepts of the present invention and the prior art should be within the scope of protection defined by the claims.
Claims
1. A three-layer distributed optimization method for a cold, heat and electricity coupled microgrid group; characterized in that: The steps include: Step 1: Construct a two-layer subject optimization operation system of the microgrid group, including a microgrid mathematical model and a user mathematical model; Step 2: providing the transaction price to the user mathematical model through the microgrid mathematical model, and providing the user demand response to the microgrid mathematical model through the user mathematical model, thereby forming an inner loop; Step 3: Use KKT conditions and Big-M method in turn to solve the two-layer master-slave game equilibrium solution between each microgrid and the user in the inner loop, obtain the electricity selling price and user load demand response information of each microgrid, and upload it to the microgrid group operator where each microgrid is located; Step 4: construct a mathematical model of the microgrid group operator, solve the real-time energy transaction price between the microgrid group operator and each microgrid in the inner loop based on the supply and demand interaction method and the information uploaded by the inner loop, and determine whether the real-time energy transaction price converges; If the real-time energy transaction price does not converge, the real-time energy transaction price is fed back to the inner loop, and steps 2 to 4 are executed again; If the real-time energy transaction price has converged, execute step 5; Step 5: Output the real-time energy transaction price and the corresponding optimal load demand response solution set.
2. The three-layer distributed optimization method of the cold, heat and electricity coupled microgrid group according to claim 1 is characterized in that: The microgrid mathematical model and the user mathematical model in the inner loop are double-layer game models; The microgrid mathematical model includes a microgrid objective function and microgrid constraints; The microgrid objective function is based on the mathematical model of each microgrid and the microgrid group operator, the income generated by energy transactions between each microgrid and the user, and the operating cost of each microgrid purchased natural gas; The user mathematical model includes a user-side objective function and user constraints The user-side objective function is constructed based on the user's utility function and energy cost.
3. The three-layer distributed optimization method of the cold, heat and electricity coupled microgrid group according to claim 2 is characterized in that: The microgrid objective function is: Among them, Be MG,n is the objective function of the nth microgrid; are the real-time electricity and heat purchase prices for users published by the nth microgrid at time h; are the electric load and thermal load of the ith user in the nth microgrid at time h, respectively; are the prices of electricity sold by the microgrid to the microgrid group operator and electricity purchased from it at time h; They represent the power sold and purchased by the nth microgrid at time h respectively; Pg is the heat purchase price and heat load of the microgrid from the microgrid group operator at time h; GT , Pg GB are the gas prices for gas turbines and gas boilers respectively; M GT,n,h 、M GB,n,h are the gas consumption of the gas turbine and gas boiler of the nth microgrid at time h respectively.
4. The three-layer distributed optimization method for a cold, heat and electricity coupled microgrid group according to claim 2 is characterized in that: The microgrid constraints include electric and thermal power balance constraints, equipment output constraints, transaction price constraints and interactive power constraints; The electric and thermal power balance constraints are as follows: in, and are the electric load, cooling load and heating load of the nth microgrid at time h; COP is the cooling coefficient; are the power of photovoltaic and gas turbine of the nth microgrid at time h; are the output thermal powers of the heat exchanger and gas boiler of the nth microgrid at time h; The equipment output constraints are as follows: Among them, P GT,n,max , P GT,n,min are the maximum and minimum capacity of the gas turbine in the nth microgrid respectively. Value; L NG , η GT are respectively the calorific value of gas and the power generation efficiency of gas turbine; r GT , η GB are the thermal power ratio of the gas turbine and the thermal efficiency of the gas boiler; η WH , η HC are the efficiencies of the waste heat boiler and the heat exchanger respectively; Q GB,n,min , Q GB,n,max are the maximum and minimum values of the gas boiler capacity in the nth microgrid, respectively; The transaction price constraints are as follows: in, They are the minimum and maximum electricity prices sold by the microgrid to users; They are the minimum and maximum heat prices sold by the microgrid to users; are the upper limits of the average electricity price and heat price respectively; H is the time period for energy trading; The constraints of the interaction power are as follows: in, are the 0 to 1 variables of the nth microgrid’s power purchase and power sales at time h; ht b,n,max is the maximum value of the heat load purchased by the nth microgrid from the multi-microgrid operator; b,n,max ,el s,n,max are the maximum values of the power load purchased / sold by the nth microgrid, respectively.
5. The three-layer distributed optimization method for the cold, heat and electricity coupled microgrid group according to claim 2 is characterized in that: The user-side objective function is specifically as follows: Among them, Be u,n,i is the objective function of the ith user in the nth microgrid; ae u,n,i 、be u,n,i are the preference constants of electrical load consumption; ah u,n,i , bh u,n,i are the preference constants for heat load consumption, respectively; All of the preference constants described change with the user's load characteristics and affect the user's demand response.
6. The three-layer distributed optimization method for a cold, heat and electricity coupled microgrid cluster according to claim 2 is characterized in that: User constraints include the following: in, The basic electricity load required for users' daily life; It is the basic heat load required by users in their daily life; They are the user's translation load at time h, which refers to the load demand response of the user based on the impact of the real-time transaction price set by the real-time microgrid on the electric load and thermal load; Pue u,max 、uh u,max are the upper limits of the user’s electrical and thermal loads, respectively; Se u,n,i , Sh u,n,i are the total amount of translational electrical load and thermal load in microgrid n at time h, respectively.
7. The three-layer distributed optimization method for the cold, heat and electricity coupled microgrid group according to claim 2 is characterized in that: The KKT condition and Big-M method are used to solve the master-slave game equilibrium solution of the two-layer game model of each of the microgrid-side mathematical model and the user-side mathematical model in the inner loop, and the two-layer game model is equivalently converted into a single-layer mixed integer nonlinear programming problem. The specific method is as follows: The KKT conditions are as follows: Among them, G u,n,i The Lagrangian function constructed for the ith user in the nth microgrid; μh h Dual variables introduced for KKT conditions; is the Lagrange multiplier corresponding to the inequality constraint, μe h , μh h is the Lagrange multiplier corresponding to the equality constraint; ⊥ means that both the left and right numbers are greater than or equal to 0, and the product of the two numbers is 0; The Big-M conversion method is as follows: in, It is a binary variable with a value of 0 or 1, and M is a number greater than 100,000.
8. The three-layer distributed optimization method for a cold, heat and electricity coupled microgrid group according to claim 2 is characterized in that: The specific steps for solving the real-time energy transaction price based on the supply and demand interaction method are as follows: Step 4.1: Obtain the load demand response to obtain the power supply and demand ratio of the microgrid group. The specific calculation formula is as follows: Among them, k h is the ratio of power supply to demand in the microgrid group during period h, It corresponds to the amount of electricity purchased and sold by the nth microgrid from the microgrid group operator in the hth period, and N is the total number of microgrids in the microgrid group; Step 4.2, then solve the real-time energy price of each microgrid under different supply-demand ratios, as follows: in, The corresponding period is the price of electricity purchased and sold by the microgrid from the microgrid group operator during the h period; g h k h The reciprocal of is the electricity selling price and electricity purchasing price traded between the microgrid operator and the public energy network during the h period.
9. The three-layer distributed optimization method for a cold, heat and electricity coupled microgrid group according to claim 8 is characterized in that: The microgrid operator is a public welfare entity, including interest constraints and transaction price constraints; The interest constraints are specifically: Among them, Be MGCO To benefit multiple microgrid operators; are the electricity selling price and electricity purchasing price traded between the multi-microgrid operators and the public energy network at time h; are the amount of electricity sold and purchased by microgrid operators from the public energy network at time h; are the heat price and load purchased by the multi-microgrid operator from the public energy network at time h; are the heat price and load purchased by the nth microgrid from the multi-microgrid operator, respectively; are the prices of electricity purchased from and sold to the multi-microgrid operator at time h respectively; are the electricity purchased and sold by the microgrid from the multi-microgrid operator at time h; The transaction price constraints are specifically:
Citation Information
Patent Citations
Multi-energy micro-grid group cooling, heating and power multi-energy coupling optimization method considering benefit interaction
CN112883584A
Optimization method for multi-layer subject transaction strategy of micro-grid group
CN113947483A
Multi-energy micro-grid group self and market decision collaborative optimization method
CN114254494A
Three-layer main body distributed optimization method for cooling, heating and power coupling type micro-grid group
CN116341268A
Systems methods and computer-readable storage media for real-time automated conversational agent
US20180089163A1
Cited By
Island multi-microgrid multi-energy sharing scheduling method and system, terminal and storage medium
CN119051167A
Power transaction decision optimization method under interaction of power, green certificate and carbon market
CN119539856A
Optimized scheduling method, system and equipment based on multi-stage micro-grid, and medium
CN119864816A
Power grid dispatching method and device based on multi-park power-carbon cooperation
CN121727138A
Micro-grid group collaborative scheduling optimization method, system, equipment and medium
CN122782657A
