Peak shaving and valley filling scheduling method for integrated energy system based on paid allocation
By building multiple optimization models and linearized processing, the integrated energy system realizes the transfer of energy form and time during peak electricity consumption, solving the problem of difficult operation stability and economy, reducing carbon emissions, and promoting the system low-carbon environmental protection.
Patent Information
- Application Number
- CN202210413189.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-20
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-04-20
AI Technical Summary
The operational stability and economics of the integrated energy system during peak electricity consumption are difficult to ensure, and the carbon emissions generated by the energy conversion process pose challenges to the carbon neutrality and carbon peak goals.
Using the comprehensive energy system peak-cutting and valley-filling scheduling method based on paid allocation, by constructing multiple optimization models, considering the cost of energy purchase, equipment operation cost and carbon emissions, and using equal weighting method and linearization processing, the system is optimized from the upper energy network. energy purchasing strategies and equipment scheduling to achieve energy form and time transfer.
It effectively reduces the carbon emissions of the system during the scheduling cycle, improves the economic and stability of operation, avoids the problem of unfair distribution of carbon emission rights, and promotes the low-carbon and environmental protection of the system.
Smart Images

Figure CN114881296B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a peak shaving and valley filling dispatching method for an integrated energy system based on paid allocation, and belongs to the technical field of optimized dispatching of an electricity-gas integrated energy system. Background Art
[0002] At present, with the continuous advancement of market reform and the rapid development of information technology, the traditional monopolistic energy supply system in which only power companies meet the corresponding energy needs of users is gradually being replaced by an integrated energy system. The integrated energy system can give full play to the complementary advantages between various forms of energy, effectively improve the flexibility of energy supply, and play an important role in the context of the continuous increase in the quantity and quality of energy demand.
[0003] The process of the integrated energy system purchasing energy from the upper energy network and the process of energy conversion equipment realizing the conversion between different energy forms will inevitably produce carbon dioxide, which is not conducive to alleviating the problem of global warming, and is even more detrimental to the realization of my country's "carbon neutrality" and "carbon peak" goals. During the peak period of user energy consumption, the limited energy supply parameters and equipment capacity will bring huge challenges to the stable operation of the system and the normal energy consumption of users. The operation of the integrated energy system is aimed at good economic efficiency. The above problems put forward higher requirements for the optimized scheduling and operation of the integrated energy system. Summary of the invention
[0004] Based on the background technology, an optimized scheduling scheme that takes into account the operational stability, operational economy, and low-carbon environmental protection of the integrated energy system is established. While ensuring the economical operation of the energy system, the operating load time or form of the load shift during the peak electricity consumption period is effectively realized, and the carbon emissions generated by the system are reduced as much as possible to give full play to the green ecological function of the system. In order to verify the functional effectiveness of this scheme, three schemes are proposed as comparison schemes for peak shaving and valley filling performance, including no peak shaving and valley filling equipment, electrolyzers and hydrogen fuel cells, and power-to-gas and gas turbines, and the carbon emissions of the system without considering the carbon emission cost under the traditional situation are compared and analyzed with the situation of this scheme.
[0005] The present invention provides a peak shaving and valley filling scheduling method for an integrated energy system based on paid allocation.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] A peak shaving and valley filling scheduling method for an integrated energy system based on paid allocation comprises the following steps:
[0008] L1. Obtain the first initial parameter, the second initial parameter, and the third initial parameter;
[0009] L2. Based on the retail electricity price and retail gas price of the superior energy network at every moment in the first initial parameter, the energy purchase strategy and unit dispatch output of the integrated energy system from the superior energy network are used as decision variables, the energy purchase cost and equipment operation cost are used as objective functions, the upper and lower limits of purchasing electricity from the superior power network, the upper and lower limits of purchasing natural gas from the superior natural gas network, the efficiency and capacity parameters of the gas boiler unit, the heat production efficiency, power production efficiency and capacity parameters of the cogeneration unit, the user-side electricity load and heat load at every moment, the wind turbine output parameters, and the photovoltaic generator output parameters are used to establish equality constraints and inequality constraints for the operation of the integrated energy system, and construct a first optimization model;
[0010] L3. Based on the second initial parameters, the carbon emission cost of the integrated energy system is used as the objective function, and the unit dispatch output is used as the decision variable to construct a second optimization model;
[0011] L4. Based on the third initial parameters, the sum of the peak shaving and valley filling equipment operating cost of the integrated energy system and the peak shaving and valley filling effect mapped to the economic dimension is taken as the objective function, and the electric power purchased from the upper power grid, the charging power and the discharging power of the battery are taken as the decision variables to construct a third optimization model;
[0012] L5. Based on the three optimization models established in L2-L4, the total cost objective function is constructed using the equal weight method, and the total cost objective function is linearized. The optimal solution of the decision variables is obtained with the minimum total cost as the optimization goal. The decision variables include the system's energy purchase strategy from the upper energy network, the output of the energy conversion equipment, and the peak-shaving and valley-filling equipment scheduling strategy;
[0013] L6. Substitute the corresponding decision variables obtained by solving step L5 into the first optimization model, the second optimization model, and the third optimization model respectively to obtain corresponding results.
[0014] A further improvement of the technical solution of the present invention is that: the first initial parameters include the upper and lower limits of purchasing electric energy from the superior power network; the upper and lower limits of purchasing natural gas from the superior natural gas network; the retail electricity price and retail gas price of the superior energy network at all times; the efficiency, capacity parameters, and unit operating cost of the gas boiler; the thermal efficiency, power generation efficiency, capacity parameters, and unit operating cost of the cogeneration unit; the user-side power load and heat load at all times; the output parameters of the wind turbine generator set; the output parameters of the photovoltaic generator set; the second initial parameters include the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of purchasing electric energy from the superior power grid; the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of energy supply by energy conversion equipment; the price of unit carbon emissions obtained by NBS negotiation; the third initial parameters include the economic conversion coefficient; the charging efficiency, discharge efficiency, and capacity parameters of the battery.
[0015] A further improvement of the technical solution of the present invention is that: the first optimization model is:
[0016]
[0017] Among them, N t is the number of time periods into which a dispatch cycle is divided, F1 is the energy purchase cost and equipment operation cost function of the comprehensive energy system in a dispatch cycle, ε1 is the unit operation cost of the cogeneration unit, ε2 is the unit operation cost of the gas boiler, P CHP,out,e,t , P CHP,out,h,t P is the electrical power and thermal power output of the cogeneration unit at time t, GB,out,t is the thermal power output of the gas boiler, λ t With μ t are the retail electricity price of electricity purchased from the upper power grid and the retail gas price of natural gas purchased from the upper natural gas grid, P e,in,t represents the electric power purchased from the upper power grid at time t, P g,in,t Represents the natural gas power purchased from the upstream natural gas grid at time t.
[0018] A further improvement of the technical solution of the present invention is that the second optimization model is:
[0019] F2=φ * E
[0020] Among them, F2 is the purchase cost of carbon emission rights of the comprehensive energy system, E is the total carbon emission of the energy system, φ * is the price per unit of carbon emissions;
[0021]
[0022] Among them, φ max is the upper limit of the carbon emission rights trading price, φ min It is the lower limit of the carbon emission rights trading price.
[0023] A further improvement of the technical solution of the present invention is that: the third optimization model is:
[0024]
[0025] Among them, θ1 is the unit operating cost of the battery equipment, ω is the economic conversion coefficient, P e,in,t-1 is the electric power purchased from the upper power grid at time t-1, P ES,out,t is the electric power output by the battery at time t, P ES,in,t is the electrical power input to the battery at time t.
[0026] A further improvement of the technical solution of the present invention is that the linear expression of the total cost objective function in step L5 is:
[0027]
[0028] Among them, Ω K is a segmented collection; is the horizontal coordinate P corresponding to the nodes at both ends of segment k1 e,in The value of is the value of the ordinate E1 corresponding to the nodes at both ends of segment k1; k is a continuous variable, representing the corresponding position of the optimization result on segment k1; ν k It is a binary variable, which is used to ensure that the k1+1th segment can be filled only after the k1th segment interval is filled.
[0029] Due to the adoption of the above technical solution, the technical effects achieved by the present invention are as follows:
[0030] The optimization scheduling method of the present invention comprehensively considers the stability, economy and low-carbon environmental protection of the energy system operation. The present invention establishes a paid allocation model for the price of carbon emission rights, avoiding the problem of unfair carbon emission rights allocation faced by the integrated energy system that adopts energy-saving and emission reduction measures under the free allocation model, which is conducive to stimulating the integrated energy system to update the scheduling strategy and reduce the carbon emissions of the integrated energy system during the scheduling cycle. In view of the bargaining problem of carbon emission rights, NBS bargaining is adopted to ensure the fairness of the bargaining process. At the same time, the economic conversion coefficient is used to map the electricity curve purchased by the integrated energy system from the upper power grid to the economic dimension, which is conducive to judging the peak shaving and valley filling effect according to the smoothness of the curve. When solving the model, the nonlinear objective function that is not conducive to solution is converted into a linear objective function that is easy to solve, and a compromise is made between the accuracy of the objective function and the solution speed, and the appropriate number of segments is selected, which ensures the accuracy of the objective function and the solution speed of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is the structural diagram and energy flow diagram of the comprehensive energy system of the present invention;
[0032] Figure 2 It is the interactive relationship between the integrated energy system and higher-level governments;
[0033] Figure 3 It is the changing relationship between the amount of carbon emission rights purchased by the integrated energy system and the corresponding social welfare;
[0034] Figure 4 It is a schematic diagram of piecewise linearization of quadratic function;
[0035] Figure 5 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0036] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] Figure 1 The structure diagram and energy flow diagram of the integrated energy system of the present invention are shown below. The integrated energy system is regarded as an intermediary between the upper energy network and the user-side load. On the one hand, it plays the role of load, purchasing electricity and natural gas energy from the upper energy network. On the other hand, it plays the role of energy supplier, converting energy into energy forms that meet user needs through the combined heat and power and gas boiler units in the system.
[0038] The interactive relationship between the integrated energy system and higher-level governments is as follows: Figure 2 As shown in the figure, there is a bargaining game between the integrated energy system and the superior government over the price of carbon emission rights. The generation of carbon dioxide is divided into two parts. One part is the carbon dioxide emissions generated by the electricity purchased by the integrated energy system from the superior power grid, and the other part is the carbon dioxide generated when the combined heat and power and gas boiler units are converted into energy forms. Under paid allocation, the integrated energy system needs to internalize the carbon emission costs and bear the corresponding payment. The superior government is equivalent to the subject of issuing carbon emission rights, and the integrated energy system is the subject of purchasing carbon emission rights. Carbon emissions are given the attributes of commodities.
[0039] The idea of the optimization scheduling method of the comprehensive energy system in the present invention, which takes into account the operation stability, operation economy and low-carbon environmental protection, is as follows:
[0040] 1) Establish a cost model for the integrated energy system to purchase energy from the upper energy network and the operation of equipment within the integrated energy system. Solving this part can obtain the system's energy purchase strategy from the upper power grid and the output of the equipment. Establish relevant equality constraints and inequality constraints, including supply and demand balance constraints, the relationship between the input and output of the unit, the upper limit of the unit's output, and the upper and lower limits of energy purchased from the energy system, etc., to ensure that the model performs a realistic optimization strategy while meeting the above constraints.
[0041] 2) Establish a cost model for carbon emissions of the integrated energy system. Figure 3The relationship curve between the number of carbon emission rights purchased by the integrated energy system and the corresponding social welfare is shown. A bargaining game model is established between the integrated energy system and the superior government. By establishing the government's carbon emission rights sales revenue model and the energy system's social welfare model for purchasing carbon emission rights, according to the definition of convex sets, the feasible set of prices is proved to be a convex set through the derivation of mathematical formulas, and it is concluded that the cost problem of carbon emission rights is a bargaining problem. In actual interactions, the government is equivalent to the seller of carbon emission rights, and the integrated energy system is equivalent to the buyer of carbon emission rights. The level of price setting will affect the enthusiasm of the government and the integrated energy system to bargain. According to the definition of Nash bargaining solution, the bargaining result of the two is the mathematical expression of Nash bargaining solution, and the second optimization model is established based on the determined optimal price.
[0042] 3) Establish the cost model of the peak-shaving and valley-filling effect of the integrated energy system and the peak-shaving and valley-filling equipment. The peak-shaving and valley-filling of the integrated energy system is achieved by transferring the energy form or consumption time of electric energy. The dimensions of the peak-shaving and valley-filling effect and the economic cost are different, so a suitable economic conversion coefficient is selected to map it to the economic dimension, and the third optimization model is established based on the unit operating cost of the peak-shaving and valley-filling equipment and the economic conversion coefficient.
[0043] After establishing the first, second and third optimization models, the equal weight method is used to add the above three cost functions to obtain the total cost objective function of the integrated energy system. Because the carbon dioxide emissions of the integrated energy system are in a quadratic function relationship with the electricity purchased from the power grid, the output of cogeneration and gas boilers, this optimization problem is a nonlinear optimization problem, and the traditional solution method is not conducive to solving it. Therefore, the quadratic function linearization method is used to linearize the objective function.
[0044] Figure 4 The figure is a schematic diagram of the piecewise linearization of a quadratic function. By selecting the appropriate number of segments, a compromise is made between the operation speed and data accuracy of the piecewise linear function after the linearization of the quadratic function, ensuring the accuracy of the result while ensuring the efficiency of the operation.
[0045] Example
[0046] The peak-shaving and valley-filling scheduling method of the integrated energy system based on paid allocation, such as Figure 5 As shown, the following steps are included:
[0047] L1: Get the first initial parameter, the second initial parameter, and the third initial parameter.
[0048] The first initial parameters include the upper and lower limits of purchasing electricity from the superior power network; the upper and lower limits of purchasing natural gas from the superior natural gas network; the retail electricity price and retail gas price of the superior energy network at all times; the efficiency, capacity parameters, and unit operating cost of the gas boiler; the thermal efficiency, power generation efficiency, capacity parameters, and unit operating cost of the cogeneration unit; the user-side power load and heat load at all times; the output parameters of the wind turbine generator set; the output parameters of the photovoltaic generator set; the second initial parameters include the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of purchasing electricity from the superior power grid; the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of energy supply by energy conversion equipment; the price of unit carbon emissions obtained through NBS negotiation; the third initial parameters include the economic conversion coefficient; the charging efficiency, discharge efficiency, and capacity parameters of the battery.
[0049] L2: Based on the retail electricity price and retail gas price of the superior energy network at every moment in the first initial parameter, the energy purchase strategy and unit dispatch output of the integrated energy system from the superior energy network are used as decision variables, the energy purchase cost and equipment operation cost are used as the objective function, the upper and lower limits of purchasing electricity from the superior power network, the upper and lower limits of purchasing natural gas from the superior natural gas network, the efficiency and capacity parameters of the gas boiler unit, the heat production efficiency, power production efficiency and capacity parameters of the cogeneration unit, the user-side electricity load and heat load at every moment, the wind turbine output parameters, and the photovoltaic generator output parameters are used to establish the equality constraints and inequality constraints of the operation of the integrated energy system, and construct the first optimization model;
[0050] The decision variable in L2 is the electric power P purchased by the integrated energy system from the upper power grid. e,in and electricity purchased from the natural gas grid P g,in , the power output of the cogeneration unit P CHP,out,e and the output heat energy P CHP,out,h , the heat energy output by the gas boiler P GB,out The integrated energy system is provided with electricity and natural gas by the upper power grid and natural gas grid. The electricity provided is directly delivered to users. The natural gas provided is centrally dispatched by cogeneration units and gas boilers. The cogeneration units convert natural gas into electricity and heat, and the gas boilers convert natural gas into heat to jointly supply the user-side electricity and heat loads. The optimization model considers the energy purchase cost from the upper power grid and natural gas grid and the operating cost of the cogeneration units and gas boilers. A dispatch cycle is divided into N t The energy purchase cost and equipment operation cost function F1 of the comprehensive energy system in this dispatching cycle is:
[0051]
[0052] Where ε1 is the unit operating cost of the cogeneration unit, ε2 is the unit operating cost of the gas boiler, P CHP,out,e,t , P CHP,out,h,t P is the electrical power and thermal power output of the cogeneration unit at time t, GB,out,t is the thermal power output of the gas boiler, λ t With μ t are the retail electricity price of electricity purchased from the upper power grid and the retail gas price of natural gas purchased from the upper natural gas grid, P e,in,t represents the electric power purchased from the upper power grid at time t, P g,in,t Represents the natural gas power purchased from the upstream natural gas grid at time t.
[0053] At the same time, the equality constraints and inequality constraints satisfied are as follows:
[0054] (1) Equipment output constraints:
[0055] The cogeneration unit is used to convert the natural gas purchased from the upper natural gas network into electricity and heat energy for users, and the gas boiler is used to convert the natural gas purchased from the upper natural gas network into heat energy for users. The relationship between the input, output and conversion efficiency of the equipment is:
[0056] P CHP,out,e =P CHP,in η CHP,e
[0057] P CHP,out,h =P CHP,in η CHP,h
[0058] P GB,out =P GB,in η GB
[0059] Among them, η CHP,e , η CHP,h P is the conversion efficiency of the output electric power and thermal power of the cogeneration unit; CHP,in The natural gas power input to the cogeneration unit; P GB,in The natural gas power input to the gas boiler; η GB For the operating efficiency of gas boilers.
[0060] (2) Supply and demand balance constraints:
[0061] For batteries, they can act as a "load" to store electricity during low electricity consumption periods; they can act as a "power source" to provide electricity to users during high electricity consumption periods, alleviate the pressure of energy supply during peak electricity consumption periods, and realize the transfer of electricity in time. For electrolyzers and hydrogen fuel cells, electrolyzers charge "loads" during low electricity consumption periods, convert electricity into hydrogen energy and store it; during peak electricity consumption periods, hydrogen fuel cells convert the stored hydrogen energy into electricity and release it, realizing the transfer of electricity in time and energy form. For power-to-gas and gas turbines, when electricity prices are low, the system will purchase more electricity from the upper power grid, and convert it into natural gas through power-to-gas to supply cogeneration and gas boiler units. When electricity prices are high, the system will purchase more natural gas from the natural gas grid, and the gas turbine will convert this excess natural gas into electricity to supply the user side to ensure the economy of the system.
[0062] When batteries are used to participate in the peak load shaving and valley filling of the system, the electric power and thermal power supplied by the integrated energy system to the user are consistent with the electric load and thermal load on the user side, that is:
[0063]
[0064] P h,load =P CHP,in η CHP,h +P GB,in η GB
[0065] P g,in =P CHP,in +P GB,in
[0066] Where P E,load , P h,load Represent the electricity load and heat load on the user side, P WT , P PV is the output of wind turbine and photovoltaic generator; P ES,in , P ES,out is the charging and discharging power of the battery, η ES,in , η ES,out is the charging and discharging efficiency of the battery. The three equations represent the supply and demand balance of electricity and heat loads on the side where the integrated energy system supplies energy to users, and the supply and demand balance of natural gas on the side where the energy system purchases energy from the upper energy network.
[0067] When no equipment is involved in peak load shaving and valley filling, the supply and demand balance constraints of the system are as follows:
[0068] P E,load =P e,in +P WT +P PV +P CHP,in η CHP,e
[0069] P h,load =P CHP,in η CHP,h +P GB,in η GB
[0070] P g,in =P CHP,in +P GB,in
[0071] When using electrolyzers and hydrogen fuel cells to participate in peak load shifting, the supply and demand balance constraints of the system are as follows:
[0072]
[0073] P h,load =P CHP,in η CHP,h +P GB,in η GB
[0074] P g,in =P CHP,in +P GB,in
[0075] where η HFC,out , η ET,in are the efficiency of hydrogen fuel cell converting hydrogen power into electrical power and electrolyzer converting electrical power into hydrogen power, respectively. ET,in , P HFC,out They are respectively the electrical power input into the electrolyzer and the hydrogen power released by the hydrogen fuel cell.
[0076] When power-to-gas and gas turbines are used to shave peaks and fill valleys, the supply and demand balance constraints of the system are as follows:
[0077] P E,load =P e,in +P WT +P PV +P GT η GT -P P2G -P CHP,in η CHP,e
[0078] P h,load =P CHP,in η CHP,h +P GB,in η GB
[0079] P g,in =P CHP,in +P GB,in -P P2G η P2G +PGT
[0080] Where P P2G , P GT are the input power of the power-to-gas and gas turbine respectively, η P2G , η GT The meanings of other quantities in the above three cases are consistent with those in the case where batteries participate in peak load shifting and valley filling.
[0081] (3) Equipment-related constraints:
[0082] For batteries, the relationship between the capacity reserve at a certain moment and the previous moment is as follows:
[0083] E ES,t =E ES,t-1 +P ES,in,t +P ES,out,t
[0084] E ES,Nt =E ES,0
[0085] Where E ES,t 、E ES,t-1 represents the electric power stored in the battery at time t and t-1; P ES,in,t and P ES,out,t are the electric power input and output of the battery at time t. ES,0 、E ES,Nt Represents the energy storage capacity of the battery at the initial and final states of a scheduling cycle. At the same time, the charging power and discharging power of the battery should be kept within the predetermined parameters, and the amount of electricity stored at any time should not exceed its rated capacity, that is:
[0086]
[0087] in is the rated charging power of the battery, is the rated discharge power of the battery, is the rated capacity of the battery.
[0088] When using electrolyzers and hydrogen fuel cells for peak load shifting, the hydrogen output by the electrolyzer is stored in the hydrogen storage tank, and the hydrogen fuel cell obtains hydrogen from the storage tank and realizes the conversion of hydrogen energy and electrical energy. The electrical power output by the hydrogen fuel cell, the hydrogen power output by the electrolyzer, and the hydrogen stored in the hydrogen storage tank should meet the following requirements:
[0089]
[0090] H HS,t =H HS,t-1 +P ET,out,t-P HFC,in,t
[0091] H HS,Nt =H HS,0
[0092]
[0093] Among them, P ET,out,t is the hydrogen power output by the electrolyzer at time t, P HFC,in,t , P HFC,out,t is the hydrogen power input and electrical power output of the hydrogen fuel cell at time t, H HS,t , H HS,t-1 H is the hydrogen capacity stored in the hydrogen storage tank at time t and t-1. HS,0 , H HS,Nt Represents the hydrogen storage capacity of the hydrogen storage device at the initial state and the final state of a scheduling cycle. In this scenario, the fourth equation indicates that the hydrogen storage capacity of the hydrogen storage tank is the same at the initial and final states. It is the rated power of the electrolyzer and hydrogen fuel cell and the hydrogen storage capacity of the hydrogen storage tank.
[0094] When the power-to-gas and gas turbines participate in peak load shifting, the output power of the power-to-gas and gas turbines shall not exceed their rated power, that is:
[0095]
[0096] Where P P2G,out,t , P GT,out,t is the power output of the power-to-gas and gas turbine at time t; Rated output power of power-to-gas and gas turbines.
[0097] The power output of cogeneration units and gas boilers shall not exceed their rated power, that is:
[0098]
[0099] in is the rated output power of the cogeneration unit and gas turbine.
[0100] (4) Upper and lower limits on energy purchases from energy networks
[0101] The energy provided by the upper energy network at all times is limited. The energy purchased by the energy system from the upper energy network at all times should meet the following constraints:
[0102]
[0103] in, It is the upper limit of energy purchased from the upper-level power grid and upper-level natural gas grid.
[0104] L3: Based on the second initial parameters, the carbon emission cost of the integrated energy system is used as the objective function and the unit dispatch output is used as the decision variable to construct a second optimization model;
[0105] There is a bargaining game between the integrated energy system and the superior government over the price of carbon emission rights. The generation of carbon dioxide is divided into two parts. One part is the carbon dioxide emissions generated by the integrated energy system purchasing electricity from the superior power grid, and the other part is the carbon dioxide generated when the cogeneration and gas boiler units convert energy forms. Under paid allocation, the energy system needs to internalize the carbon emission costs and bear the corresponding payment. The government is equivalent to the subject of issuing carbon emission rights, the energy system is the subject of purchasing carbon emission rights, and the carbon emissions are given the attributes of commodities. The decision variable is the power output P of the cogeneration unit. CHP,out,e , the heat energy P output by the cogeneration unit CHP,out,h , the heat energy output by the gas boiler P GB,out , the electric energy P purchased from the upper power grid e,in , the second optimization model established is:
[0106] The system's carbon emission rights purchase cost F2 is:
[0107] F2=φ * E
[0108] Where E is the total carbon emissions of the energy system, φ * is the price per unit of carbon emissions.
[0109] The carbon emissions of the integrated energy system are mainly divided into two parts, one is the carbon emissions generated by purchasing electricity from the upper power grid, and the other is the carbon emissions generated by energy conversion equipment. Based on the second initial parameter, the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of purchasing electricity from the upper power grid; the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of energy conversion equipment are established to obtain the following expression for the two parts of carbon emissions:
[0110] E1=a1(P e,in ) 2 +b1P e,in +c1
[0111] E2=a2(P CHP,out,e ) 2 +b2P CHP,out,e +c2+a2(P CHP,out,h ) 2 +b2P CHP,out,h +c2+a2(P GB,out ) 2 +b2P GB,out +c2
[0112] Among them, a1, b1, c1 are the quadratic coefficient, linear coefficient, and constant coefficient of carbon emissions generated by purchasing energy from the upper-level power grid; a2, b2, c2 are the quadratic coefficient, linear coefficient, and constant coefficient of carbon emissions caused by energy conversion by energy conversion equipment; the sum of the two parts of emissions is:
[0113] E=E1+E2
[0114] For the integrated energy system, it is necessary to purchase a certain amount of carbon emission rights to maintain the normal operation of the system. When enterprises purchase fewer carbon emission rights, they will use this department for more core industrial departments, and the social welfare of the system will grow faster; when the purchase of carbon emissions increases to a certain value, it will basically meet the normal operation and maintenance of the energy system, and the social welfare value of the system will grow slowly. Therefore, as the amount of carbon emissions increases, the growth rate of the social welfare of enterprises will first be fast and then slow, and can be approximately fitted as the following function:
[0115] U=wlogE t
[0116] Where w is the proportional coefficient. The income function U1 of the integrated energy system purchasing carbon emission rights at time t can be expressed as:
[0117] U1=wlogE t -φE t
[0118] Where φ is the price of unit carbon emission rights, E t is the carbon emissions of the system at time t. The government's revenue function U2 is the profit from selling carbon emission rights minus the environmental pollution cost caused by carbon emissions in the energy system, that is:
[0119] U2=φE t -[β1(E t ) 2 +β2E t +β3]
[0120] When the energy system and the government engage in a game, the revenue functions of the energy system and the government are:
[0121]
[0122] According to its revenue function, the price of unit carbon emission rights can be calculated as follows:
[0123]
[0124] Use φ min represents the price ceiling of a unit carbon emission right, φ min Represents the lower limit of the price of unit carbon emission rights, then the feasible unit carbon emission rights set π in the carbon emission rights trading market can be expressed as:
[0125] π={φ=(φ1,φ2)φ min ≤φ≤φ max}
[0126] use represents the upper limit of the benefits of the integrated energy system, represents the lower limit of the benefits of the integrated energy system, represents the upper limit of government revenue, represents the lower limit of the government's revenue, then the revenue set of the integrated energy system and the government can be expressed as:
[0127]
[0128] Lemma 1: For the set If any point X, Y∈D and any real number δ∈[0,1] in the set satisfies δX+(1-δ)Y∈D, then the set D is called a convex set.
[0129] Theorem 1: The feasible solution set π in R 2 The upper is closed and strictly convex.
[0130] Proof: Assume there are two elements φ a ,φ b , and they are Then we can get:
[0131]
[0132] What needs to be proved next is that for all 0≤δ≤1, (δφ a +(1-δ)φ b )∈φ. Based on the above, we can deduce and The weighted summation expression is:
[0133]
[0134] because and Then we have:
[0135]
[0136] for and The upper and lower price limits are:
[0137]
[0138] You can get:
[0139]
[0140] Similarly, we can get:
[0141]
[0142] In summary, we can get:
[0143] φ min ≤δφ+(1-δ)φ≤φ max
[0144] Therefore, it can be proved that the set π in R 2 is convex on R, that is, the set π is 2 The above is closed and strictly convex, so the negotiation between the government and N integrated energy systems on the price of carbon emission rights is a bargaining problem and is solved using the NBS bargaining strategy.
[0145] Definition 1: Assume that there exists a mapping f:G→R that satisfies the following axioms:
[0146] (1) Independent rationality: f(Z,φ min )≥φ min ;
[0147] (2) Feasibility: f(Z,φ min )∈Z;
[0148] (3) Pareto optimality: f(Z,φ min ) is Pareto optimal;
[0149] (4) Linear axiom: Assume that there exists a linear transformation function Ξ,
[0150] Ξ(f(Z,φ min ))=f(Ξ(Z),Ξ(φ min ));
[0151] (5) Irrelevant Theorem: If the feasible income distribution set Then for any f(Z′,φ min )∈Z′, we have f(Z,φ min )=f(Z′,φ min ).
[0152] Then the Nash bargaining solution is the optimal solution of the following expression:
[0153]
[0154] Where V i It can be expressed as:
[0155]
[0156] Among them U irepresents the payoff of participant i, represents the minimum payoff of participant i.
[0157] The upper limit of the benefits of integrated energy systems The lower limit of benefits of integrated energy systems Government revenue ceiling The government's profit floor The expression is:
[0158]
[0159] Then we have:
[0160]
[0161] And then we can conclude:
[0162]
[0163] When the carbon emissions of each integrated energy system When , the expression of Nash bargaining solution is:
[0164] φ * = argmax[(φ max -φ)(φ-φ min )]=argmax[-φ 2 +φ(φ max +φ min )-φ min φ max ]
[0165] The global optimal solution to the above problem is:
[0166]
[0167] Once the upper and lower price limits of unit carbon emission rights are determined, the global optimal solution can be determined.
[0168] L4: Based on the third initial parameters, the third optimization model is constructed with the sum of the operating cost of the peak-shaving and valley-filling equipment of the integrated energy system and the effect after mapping to the economic cost as the objective function, and the electric power purchased from the upper power grid, the charging power and the discharging power of the battery as the decision variables.
[0169] The third optimization model in the third model building module is:
[0170]
[0171] Where θ1 is the unit operating cost of the battery equipment.
[0172] L5: Based on the three optimization models established in L2-L4, the total cost objective function is constructed using the equal weight method, and the total cost objective function is linearized. The optimal solution of the decision variables is obtained with the minimum total cost as the optimization goal. The decision variables include the system's energy purchase strategy from the upper-level energy network, the output of energy conversion equipment, and the peak-shaving and valley-filling equipment scheduling strategy.
[0173] According to the three optimization models established by L2-L4, the equal weight method is used to establish the comprehensive operating cost objective function of the system. The comprehensive operating cost is composed of the above three operating costs. The objective function relationship is as follows:
[0174] min F=F1+F2+F3
[0175] When the overall operating cost is minimized, the output of energy conversion equipment and peak-shaving and valley-filling equipment is the optimal scheduling result.
[0176] For the carbon emissions of the integrated energy system, since it is a quadratic function relationship with the relevant variables, the objective function is a nonlinear model, which needs to be linearized into a linear problem for easy solution. The linearization process is to divide the domain of the quadratic function into several segments of the same length, and linearly connect the left and right endpoints of each interval to linearize it into several piecewise functions, the expression of which is as follows:
[0177]
[0178] Among them, Ω K is a segmented collection; is the horizontal coordinate P corresponding to the nodes at both ends of segment k1 e,in The value of is the value of the ordinate E1 corresponding to the nodes at both ends of segment k1; k is a continuous variable, representing the corresponding position of the optimization result on segment k1; It is a binary variable, which is used to ensure that the k1+1th segment can be filled only after the k1th segment interval is filled.
[0179] There is a certain deviation between the function value of the linearized quadratic function and the function value of the original quadratic function, and the absolute error of the function value at the midpoint of each segmented interval is the largest.
[0180] Proof: Let the original quadratic function expression be: f(x) = ax 2 +bx+c(a≠0). A(x1,y1) and B(x2,y2) are the left and right endpoints of a segmented interval. The slope of the straight line connecting the two points is k AB for:
[0181]
[0182] According to the slope expression and point A(x1,y1), the function expression corresponding to this segmented interval is:
[0183] f1(x)=[a(x1+x2)+b]x+c-ax1x2
[0184] The error between the linearized function and the original function is:
[0185]
[0186] For a given x1,x2, when the error is maximum, it satisfies
[0187]
[0188] The corresponding horizontal coordinate x at this time is:
[0189]
[0190] The absolute error of the midpoint of each segmented interval is selected to reflect the absolute error of the independent variable in different intervals, that is, the absolute error of the independent variable in each segmented interval can be expressed as:
[0191]
[0192] Where N is the number of segmented intervals. When the quadratic function is linearized, if the number of segmented intervals is small, the amount of calculation is small and the operation speed is fast, but the error between the linearized function value and the original function value is large, and the data accuracy is low; when the number of segmented intervals is large, the error between the linearized function value and the original function value is small, and the data accuracy is high, but the amount of calculation is large and the operation speed is slow. Therefore, when the quadratic function is determined, it is necessary to select an appropriate number of segments to compromise between operation speed and data accuracy.
[0193] L6: Substitute the corresponding decision variables obtained by solving step L5 into the first optimization model, the second optimization model, and the third optimization model to obtain the corresponding results. The optimal scheduling results include: the electric energy purchased by the integrated energy system from the upper power grid and the natural gas energy purchased from the upper natural gas grid at each moment in the scheduling cycle; the scheduling output of the cogeneration unit and the gas boiler at each moment in the scheduling cycle, and the input and output power of the battery at each moment in the scheduling cycle; the carbon emission cost of the integrated energy system, the sum of the cost of purchasing energy from the upper energy network and the operating cost of the energy conversion equipment, and the sum of the operating cost of the peak-shaving and valley-filling equipment and the peak-shaving and valley-filling effect mapped to the economic dimension.
[0194] The present invention takes into account the operation economy, operation stability and low-carbon environmental protection of the comprehensive energy system, and has the following advantages:
[0195] Most current technologies are used to optimize the scheduling of integrated energy systems, with the focus on changing users' energy usage behaviors through demand response, thereby alleviating power supply pressure during peak periods and improving resource utilization during low periods. However, the impact of energy systems on the environment is ignored when modeling the total cost of integrated energy systems.
[0196] The present invention targets the energy conversion equipment within the integrated energy system, transfers the electric energy in time, realizes peak shaving and valley filling through the integrated energy system's own equipment, selects appropriate economic conversion coefficients for the peak shaving and valley filling effects under different dimensions and maps them into the objective function of the integrated energy system, and evaluates the peak shaving and valley filling effect in an economic dimension. In view of the impact of CO2 emissions from system operation on the external environment, a reasonable carbon emission cost model is established, and a game model is established for the price of carbon emission rights. Mathematical formulas are used to prove that the problem is an optimization problem and derive the mathematical expression of the optimal solution. In view of the quadratic nonlinear relationship between CO2 emissions and decision variables, the quadratic function is linearized, and the appropriate number of segments is selected to take into account both calculation time and result accuracy. Based on the first initial parameter: the retail electricity price and retail gas price of the superior energy network at every moment, the energy purchasing strategy and unit dispatching output of the integrated energy system from the superior energy network are used as decision variables, and the first optimization model is constructed with the goal of minimizing the energy purchasing cost and equipment operating cost; based on the second initial parameter: the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of the electricity purchased from the superior power grid; the quadratic coefficient, linear coefficient, and constant coefficient of the carbon emissions of the energy conversion equipment supply; the obtained Nash bargaining solution (NBS) of unit carbon emissions, the carbon emission cost of the energy system is used as the objective function, and the unit dispatching output is used as the decision variable to construct the second optimization model; based on the third initial parameter: the economic conversion coefficient, the charging efficiency, the discharging efficiency, and the capacity parameter of the battery, the operating cost of the system's peak shaving and valley filling equipment and the sum of the effects mapped to the economic cost are used as the objective function, and the electric power purchased from the superior power grid, the charging power and the discharging power of the battery are used as decision variables to construct the third optimization model.
[0197] Peak shaving and valley filling can alleviate the pressure of energy supply during peak electricity consumption periods, and improve the energy utilization rate during low electricity consumption periods to improve the economic operation of the integrated energy system. For peak shaving and valley filling, three groups are used for comparison: no equipment peak shaving and valley filling, electrolyzer and hydrogen fuel cell participating in peak shaving and valley filling, and power-to-gas and gas turbine participating in peak shaving and valley filling. Among them, the electrolyzer converts electrical energy into hydrogen energy, and the hydrogen fuel cell converts hydrogen energy into electrical energy to achieve a change in energy form. Power-to-gas converts electrical energy into natural gas energy, and gas turbines convert natural gas energy into electrical energy to achieve energy conversion. Compared with the other three groups of comparative experiments, the optimization model can well promote the economic operation, stable operation and environmental protection of the integrated energy system.
[0198] When no equipment is involved in peak shaving and valley filling, the supply and demand balance constraints of the system are as follows:
[0199] P E,load =P e,in +P WT +P PV +P CHP,in η CHP,e
[0200] P h,load =P CHP,in η CHP,h +P GB,in η GB
[0201] P g,in =P CHP,in +P GB,in
[0202] In this scenario, the operating cost of the peak-shaving and valley-filling equipment is 0, and the cost of its peak-shaving and valley-filling effect mapped to the economic dimension is:
[0203]
[0204] When using electrolyzers and hydrogen fuel cells to participate in peak load shifting, the supply and demand balance constraints of the system are as follows:
[0205]
[0206] P h,load =P CHP,in η CHP,h +P GB,in η GB
[0207] P g,in =P CHP,in +P GB,in
[0208] where η HFC,out , η ET,in are the efficiency of hydrogen fuel cell converting hydrogen power into electrical power and electrolyzer converting electrical power into hydrogen power, respectively. ET,in , P HFC,out They are the electric power input to the electrolyzer and the hydrogen power released by the hydrogen fuel cell. The electric power output by the hydrogen fuel cell and the hydrogen power output by the electrolyzer, as well as the hydrogen stored in the hydrogen storage tank, in the equipment-related constraints should meet the following requirements:
[0209]
[0210] H HS,t =H HS,t-1 +P ET,out,t -P HFC,in,t
[0211] H HS,Nt =H HS,0
[0212]
[0213] Among them, P ET,out,t is the hydrogen power output by the electrolyzer at time t, P HFC,in,t , P HFC,out,t is the hydrogen power input and electrical power output of the hydrogen fuel cell at time t, H HS,t , H HS,t-1 are the hydrogen capacity stored in the hydrogen storage tank at time t and t-1 respectively. HS,0 , H HS,Nt They represent the hydrogen storage capacity of the hydrogen storage device at the initial state and the final state of a scheduling cycle. The fourth equation of the equipment-related constraint indicates that the hydrogen storage capacity of the hydrogen storage tank is the same at the initial and final states. is the rated power of the electrolyzer, the rated power of the hydrogen fuel cell and the hydrogen storage capacity of the hydrogen storage tank. The operating cost of the peak-shaving and valley-filling equipment and the economic cost of peak-shaving and valley-filling are:
[0214]
[0215] Where θ2 is the unit operating cost of the electrolyzer and hydrogen fuel cell. ET,in,t is the electrical energy input to the electrolytic cell at time t.
[0216] When power-to-gas and gas turbines are used to shave peaks and fill valleys, the supply and demand balance constraints of the system are as follows:
[0217] P E,load =P e,in +P WT +P PV +P GT η GT -P P2G -P CHP,in η CHP,e
[0218] P h,load =P CHP,in η CHP,h +P GB,in η GB
[0219] P g,in =P CHP,in +P GB,in -P P2G η P2G +P GT
[0220] Where P P2G , PGT are the input power of the power-to-gas and gas turbine respectively, η P2G , η GT are the energy conversion efficiency of the power-to-gas and gas turbine respectively. The meanings of other quantities in the above three cases are consistent with those in the case where the battery participates in peak load shifting. At the same time, the output power of the power-to-gas and gas turbine does not exceed its rated power, that is:
[0221]
[0222] Where P P2G,out,t , P GT,out,t is the power output of the power-to-gas converter and the gas turbine at time t. is the rated output power of the power-to-gas and gas turbine. The operating cost of the peak-shaving and valley-filling equipment and the economic cost of peak-shaving and valley-filling are:
[0223]
[0224] Where θ3 is the unit operating cost of the power-to-gas and gas turbine.
[0225] In the above three groups of comparative examples, the relevant meanings of other constraints, objective function models and other variables are the same as those in the main cases described in the present invention.
[0226] Compared with the other three groups, the battery has a higher operating efficiency, which avoids the loss in the energy conversion process to a greater extent and improves the economic efficiency of the integrated energy system. Under the same conditions, the integrated energy system purchases less energy from the upper energy network, further reducing the carbon emissions of the integrated energy system. The simulation results show that the optimization model can well promote the economic efficiency, stable operation and environmental protection of the integrated energy system.
[0227] The above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A peak-shaving and valley-filling scheduling method for an integrated energy system based on paid allocation, characterized in that: The following steps are involved: L1. Obtain the first initial parameter, the second initial parameter, and the third initial parameter; L2. Based on the retail electricity price and retail gas price of the superior energy network at every moment in the first initial parameter, the energy purchase method and unit dispatch output of the integrated energy system from the superior energy network are used as decision variables, the sum of the energy purchase cost and the operating cost of the energy conversion equipment is used as the objective function, the upper and lower limits of purchasing electricity from the superior power network, the upper and lower limits of purchasing natural gas from the superior natural gas network, the efficiency and capacity parameters of the gas boiler unit, the heat production efficiency, power production efficiency and capacity parameters of the cogeneration unit, the user-side electricity load and heat load at every moment, the wind turbine output parameters, and the photovoltaic generator output parameters are used to establish the equality constraints and inequality constraints of the operation of the integrated energy system, and construct the first optimization model; L3. Based on the second initial parameters, the carbon emission cost of the integrated energy system is used as the objective function, and the unit dispatch output is used as the decision variable to construct a second optimization model; L4. Based on the third initial parameters, the sum of the peak shaving and valley filling equipment operating cost of the integrated energy system and the peak shaving and valley filling effect mapped to the economic dimension is taken as the objective function, and the electric power purchased from the upper power grid, the charging power and the discharging power of the battery are taken as the decision variables to construct a third optimization model; L5. Based on the three optimization models established in L2-L4, the total cost objective function is constructed using the equal weight method, and the total cost objective function is linearized. The optimal solution of the decision variables is obtained with the minimum total cost as the optimization goal. The decision variables include the system's energy purchase strategy from the upper energy network, the output of the energy conversion equipment, and the peak-shaving and valley-filling equipment scheduling method; L6. Substitute the corresponding decision variables obtained by solving step L5 into the first optimization model, the second optimization model, and the third optimization model respectively to obtain corresponding results.
2. The peak-shaving and valley-filling scheduling method for an integrated energy system based on paid allocation according to claim 1 is characterized in that: The first initial parameters include the upper and lower limits of purchasing electric energy from the upper power network; the upper and lower limits of purchasing natural gas from the upper natural gas network; the retail electricity price and retail gas price of the upper energy network at all times; the efficiency, capacity parameters, and unit operating cost of the gas boiler; the heat production efficiency, power production efficiency, capacity parameters, and unit operating cost of the cogeneration unit; The electricity load and heat load on the user side at every moment; Output parameters of wind turbines; Output parameters of photovoltaic generators; The second initial parameters include the quadratic coefficient, linear coefficient, and constant coefficient of carbon emissions from purchasing electricity from the upper power grid; the quadratic coefficient, linear coefficient, and constant coefficient of carbon emissions from energy conversion equipment; The price of unit carbon emissions obtained through NBS negotiation; The third initial parameters include the economic conversion coefficient; Battery charging efficiency, discharge efficiency, and capacity parameters.
3. The peak-shaving and valley-filling scheduling method for an integrated energy system based on paid allocation according to claim 1 is characterized in that: The first optimization model is: Among them, N t is the number of time periods into which a dispatch cycle is divided, F1 is the energy purchase cost and equipment operation cost function of the comprehensive energy system in a dispatch cycle, ε1 is the unit operation cost of the cogeneration unit, ε2 is the unit operation cost of the gas boiler, P CHP,out,e,t , P CHP,out,h,t P is the electrical power and thermal power output of the cogeneration unit at time t, GB,out,t is the thermal power output of the gas boiler, λ t With μ t are the retail electricity price of electricity purchased from the upper power grid and the retail gas price of natural gas purchased from the upper natural gas grid, P e,in,t represents the electric power purchased from the upper power grid at time t, P g,in,t Represents the natural gas power purchased from the upstream natural gas grid at time t.
4. The peak-shaving and valley-filling scheduling method for an integrated energy system based on paid allocation according to claim 1 is characterized in that: The second optimization model is: F2=φ * E Among them, F2 is the purchase cost of carbon emission rights of the comprehensive energy system, E is the total carbon emission of the energy system, φ * is the price per unit of carbon emissions; Among them, φ max is the upper limit of the carbon emission rights trading price, φ min It is the lower limit of the carbon emission rights trading price.
5. The peak-shaving and valley-filling scheduling method for an integrated energy system based on paid allocation according to claim 1 is characterized in that: The third optimization model is: Among them, θ1 is the unit operating cost of the battery equipment, ω is the economic conversion coefficient, P e,in,t-1 is the electric power purchased from the upper power grid at time t-1, P ES,out,t is the electric power output by the battery at time t, P ES,in,t is the electrical power input to the battery at time t.
6. The peak-shaving and valley-filling scheduling method for an integrated energy system based on paid allocation according to claim 1 is characterized in that: The linear expression of the total cost objective function in step L5 is: Among them, Ω K is a segmented collection; is the horizontal coordinate P corresponding to the nodes at both ends of segment k1 e,in The value of is the value of the ordinate E1 corresponding to the nodes at both ends of segment k1; k is a continuous variable, representing the corresponding position of the optimization result on segment k1; ν k It is a binary variable, which is used to ensure that the k1+1th segment can be filled only after the k1th segment interval is filled.
Citation Information
Patent Citations
Comprehensive energy efficiency management platform design method based on gateway metering instrument data
CN106127406A
Light storage charging tower random optimization scheduling method considering peak load shifting of power distribution network
CN109754112A
Energy-storage-contained power system optimization scheduling method considering thermal power peak regulation initiative and demand response
CN111740413A
Low-carbon optimal scheduling method for comprehensive energy system containing carbon capture device
CN114021911A
Offshore wind-light-electricity and energy storage combined dispatching method considering auxiliary service cost
CN114362251A
