A two-level planning method for medium- and long-term wind, water and thermal power generation combined with hydropower and power-to-gas
Through the double-layer planning method combining hydropower and electricity to gas, the problems of wind power volatility and randomness are solved, the medium- and long-term consumption ratio and hydropower regulation initiative are improved, and the grid operation efficiency is optimized.
Patent Information
- Application Number
- CN202210493535.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2042-05-07
AI Technical Summary
The volatility and randomness of wind power make it difficult for wind power generation companies to fulfill medium- and long-term contracts, and the initiative of hydropower to participate in system regulation is not high, resulting in insufficient flexibility in power grid regulation.
The medium- and long-term Fengshui and fire power generation double-layer planning method combining hydropower and electricity to gas is adopted, and the output is predicted through the sectional idea of wind power quality, combined adjustment of electricity to gas and hydropower is introduced, and the medium- and long-term contract transfer mechanism is adopted to optimize the power purchase model of the electricity market and E-generation revenue allocation.
The proportion of wind power consumption in the medium and long term has been increased, the initiative of hydropower to participate in system regulation has been improved, the electrical to gas-to-gas equipment and energy configuration has been optimized, and the power grid operation cost has been reduced.
Smart Images

Figure CN114925892B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new energy optimization control, and specifically relates to a medium- and long-term wind, water and thermal power generation double-layer planning method combining hydropower and power-to-gas. Background Art
[0002] In order to improve the flexibility of hydropower regulation and increase the proportion of wind power consumption in the medium and long term, wind, thermal and hydropower generators sign medium and long-term contracts with the power grid. The actual output of wind power has obvious volatility and randomness, which makes the winning bid of wind power in the medium and long-term market low. The increasingly mature power-to-gas technology can realize the conversion of electricity to hydrogen and natural gas. Power-to-gas has the characteristics of energy transfer and large-scale energy storage, and can be widely used in power systems. It has a positive role in absorbing abandoned wind / abandoned water and can provide services such as peak load regulation and frequency regulation. However, the investment cost of power-to-gas is high. If it is used as an investment and operation entity alone, it will face problems such as large site selection and construction investment and difficulty in cost recovery. Hydropower is a high-quality regulating energy that can provide regulation services for the system. However, its participation in regulation will generate a large amount of abandoned water, resulting in less power generation, reducing economic benefits and competitiveness, and its initiative to participate in system regulation is not high. Summary of the invention
[0003] The technical problem of the present invention is that wind power has volatility and randomness, which leads to the inability of wind power generators to fulfill medium- and long-term contracts, and even wind abandonment. How to improve the flexibility of grid system regulation and increase the proportion of clean energy under the premise of ensuring the safe and stable operation of the power system has become an urgent problem to be solved.
[0004] The purpose of the present invention is to provide a medium- and long-term wind, water, and thermal power generation two-layer planning method combining hydropower and power-to-gas in order to solve the above problems. The wind power quality segmentation idea is adopted, and the wind power output forecast is divided into a certain part and an uncertain part. The power-to-gas and hydropower are introduced for joint regulation. On the one hand, the power-to-gas is configured in the hydropower station to solve the problem of power-to-gas site selection. On the other hand, the power-to-gas can convert the excess abandoned water into gas for sale, which can not only bring direct energy sales benefits to hydropower, but also improve the initiative of hydropower to participate in system regulation. The medium- and long-term contract transfer mechanism is introduced, and hydropower and thermal power can transfer medium- and long-term power generation contracts to wind power. The upper layer of the two-layer planning is a medium- and long-term electricity market purchase model. The upper layer planning minimizes the electricity market purchase cost. The lower layer is a wind, water, and thermal power generation optimization configuration model based on the contract transfer mechanism. The lower layer of the two-layer planning uses the method of joint regulation of hydropower and power-to-gas to promote the transfer of power generation contracts from hydropower to wind power, improve the wind power consumption ratio, and optimize the power-to-gas capacity configuration.
[0005] The technical solution of the present invention is a medium- and long-term wind, water and thermal power generation double-layer planning method combining hydropower and power-to-gas, comprising the following steps:
[0006] Step 1: Forecast medium- and long-term wind power, hydropower output and load power, and establish a random scenario set for wind power uncertainty;
[0007] Step 2: With the goal of minimizing the electricity purchase cost in the electricity market, establish a medium- and long-term electricity market purchase model;
[0008] Step 3: Power-to-gas realizes the specific process of converting electricity to hydrogen and natural gas (methane);
[0009] Step 4: With the goal of maximizing the revenue of power generators, establish an optimal configuration model for wind, water and thermal power generation based on the contract transfer mechanism;
[0010] Step 4.1: Establish the objective function and constraints of the wind, water and thermal power generation optimization configuration model;
[0011] Step 4.2: Determine the revenue functions of wind power, hydropower and thermal power generators respectively;
[0012] Step 5: Solve the two-level programming model to obtain the optimal power-to-gas capacity and the optimal power generation plan of each power generator.
[0013] In step 1, the idea of wind power quality segmentation is adopted to divide the predicted wind power generation into a certain part and an uncertain part; the wind power probability density curve is obtained using the non-parametric kernel density estimation method, and a random simulation scenario is established for the uncertain part of wind power. The improved k-means clustering is used to eliminate distance scenarios, and scenarios with similar probability distances are represented by typical scenarios to form a typical scenario set with probability values.
[0014] Preferably, the objective function of the medium- and long-term electricity market purchasing model is as follows:
[0015]
[0016] In the formula, f represents the medium- and long-term electricity purchase cost in the power market, T is the total number of medium- and long-term time periods; N is the number of thermal power units; M is the number of wind farms; is the contract price of the hydropower generator in period t; is the contract price of wind farm m in period t; is the contract price of thermal power unit n during period t; is the contracted electricity volume of the hydropower generator during period t; is the contracted electricity of wind farm m during period t; is the contracted electricity of thermal power unit n during period t.
[0017] Furthermore, the constraints of the medium- and long-term electricity market purchasing model include:
[0018] 1) Quotation Constraints
[0019]
[0020]
[0021]
[0022] In the formula They are the minimum and maximum quotation limits for power generators;
[0023] 2) Power generation company's winning bid quantity constraints
[0024]
[0025]
[0026]
[0027] In the formula Contribute to hydropower forecasting; is the maximum output of the determined part of the power generation forecast of wind farm m; Declare the minimum and maximum power for thermal power unit n respectively;
[0028] 3) Power balance constraints
[0029]
[0030] Where P l,t Forecast power for loads.
[0031] Preferably, the objective function of the wind, water and thermal power generation optimization configuration model is as follows:
[0032] maxS=max(S1+S2-S3) (9)
[0033] Where S is the revenue of wind power generators; S1 is the total revenue of wind power generators in the two-tier planning; S2 is the environmental cost reduced by wind power from the transfer of thermal power contracts; and S3 is the deviation penalty generated by wind power.
[0034] Total revenue for wind power generators:
[0035]
[0036]
[0037] In the formula is the contracted electricity of wind farm m during period t; The contracted electricity volume accepted by wind farm m; The contract price for period t declared by wind farm m; is the electricity price of wind farm m during the contract transfer period t; C W for wind power costs; The amount of electricity transferred under contract to hydroelectric generators; The amount of electricity transferred under the thermal power unit n contract.
[0038] Environmental costs reduced after thermal power generators transfer contracts:
[0039]
[0040]
[0041]
[0042]
[0043]
[0044] In the formula is the environmental cost of thermal power generators before the contract transfer; is the environmental cost of thermal power generators after the contract transfer; n is the unit coal consumption of thermal power unit n; is the output of thermal power unit n before the contract transfer; is the output of thermal power unit n after the contract is transferred; is the fuel consumption of thermal power unit n before the contract transfer; is the fuel consumption of thermal power unit n after the contract transfer; μ s , μ c are the cost coefficients of SO2 and CO2 gas emissions respectively; are the SO2 and CO2 gas emission coefficients of thermal power unit n respectively.
[0045] Preferably, the deviation penalty function of the wind power generator is as follows:
[0046]
[0047]
[0048] Where θ W is the wind power deviation penalty coefficient; is the contract deviation quantity of the wind power generator; V is the number of wind power scenarios; The contracted electricity volume accepted by wind farm m; is the predicted output of wind farm m.
[0049] The constraints of the optimal configuration model of wind, water and thermal power generation are as follows:
[0050] (1) Contract transfer demand balance constraints:
[0051]
[0052] Where ΔP t T is the contract transfer demand in period t; The contracted electricity transferred by the hydropower generator during period t;
[0053] The contracted electricity transferred by thermal power unit n during period t;
[0054] (2) Power generation company contract transfer winning quantity constraints:
[0055]
[0056]
[0057] In the formula is the amount of electricity that can be transferred by contract from thermal power unit n in period t; is the amount of electricity that the hydropower generator can transfer under contract during period t; The contracted transfer quantity of thermal power unit n in period t that won the bid; The contract transfer quantity for the hydropower generator in period t;
[0058] (3) Constraints on the active transfer of power generation contracts:
[0059] 1) Profits before and after the transfer of thermal power participation contracts
[0060]
[0061]
[0062] In the formula Profits from contract transfers for thermal power generators; The contracted electricity transferred by thermal power unit n during period t; is the contract transfer price of thermal power unit n in period t; It is the profit of thermal power generators before the transfer of the contract; The profit after the thermal power generator contract transfer; C G The cost of thermal power generation;
[0063] 2) Profits before and after the transfer of hydropower participation contracts
[0064]
[0065]
[0066]
[0067] In the formula Profits from participating in the contract transfer for hydropower generators; The contracted electricity transferred by the hydropower generator during period t; The contract transfer price for the hydropower generator during period t; The income from electricity-to-gas sales; η P2G The efficiency of converting electricity into natural gas for power-to-gas; is the actual operating power of the power-to-gas converter during period t; is the natural gas price in period t; Profits before the transfer of the contract for hydropower generators; The profit of the hydropower generator after the contract transfer; C H Cost of generating hydroelectric power;
[0068] 3) Profits before and after the wind power contract transfer
[0069]
[0070] In the formula The profit of wind power generators before the transfer of the contract; The profit of wind power generators after participating in the contract transfer; C W The cost of wind power generation;
[0071] (4) Quotation constraints:
[0072]
[0073]
[0074] In the formula They are the minimum and maximum quotation limits for hydropower generators; They are the minimum and maximum quotation limits for thermal power generators;
[0075] (5) Unified electricity price constraints:
[0076]
[0077] (6) Power-to-gas operation strategy constraints:
[0078]
[0079]
[0080] In the formula, is the theoretical amount of hydropower abandoned in period t after the transfer of the hydropower participation contract; is the predicted electricity consumption of hydropower in period t; is the actual operating power of the power-to-gas converter; C P2G is the power-to-gas capacity;
[0081] (7) Power-to-gas operation constraints:
[0082]
[0083] Compared with the prior art, the beneficial effects of the present invention include:
[0084] (1) The present invention adopts a two-level planning method, with the goal of minimizing the cost of electricity purchased in the electricity market, constructing an upper-level medium- and long-term electricity market electricity purchase model, and with the goal of maximizing the benefits of wind power generators, establishing a lower-level wind, water and thermal power generation optimization configuration model based on a contract transfer mechanism, solving the optimal power-to-gas capacity configuration, the contract power of each generator, improving the flexibility of hydropower regulation, and increasing the proportion of wind power in medium- and long-term consumption, and realizing the optimal configuration of power-to-gas equipment and energy;
[0085] (2) The present invention takes into account the volatility and randomness of wind power output, describes wind power output, hydropower output and load power as random variables based on predicted values, adopts the idea of wind power quality segmentation, divides wind power into a certain part and an uncertain part, constructs multiple scenarios for the uncertain part using the Monte Carlo sampling method, and uses the k-means clustering algorithm to reduce the scenarios, thereby reducing the amount of calculation related to the uncertain part of wind power and improving the overall efficiency;
[0086] (3) The present invention adopts the modified IEEE 30-node system for simulation and uses MATPOWER and CPLEX solvers on the MATLAB platform to solve the model, thereby overcoming the disadvantage of using optimization methods that are prone to fall into local optimal solutions and improving the optimization performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0088] Figure 1 FIG. 4 is a schematic diagram of a double-layer planning according to an embodiment of the present invention.
[0089] Figure 2 It is a schematic diagram of a process of reducing the random simulation scenario of the uncertain part of wind power according to an embodiment of the present invention.
[0090] Figure 3 The figure is a flow chart of solving the optimal solution of the double-layer programming according to the embodiment of the present invention. DETAILED DESCRIPTION
[0091] like Figure 1 As shown, the medium- and long-term wind, water and thermal power generation two-layer planning method combining hydropower and power-to-gas includes the following steps:
[0092] Step 1: Based on the data of runoff from the hydropower station and wind speed of the wind farm, predict the medium- and long-term wind power output PW =[P w,1 ,P w,2 ,...,P w,T ]、Hydropower output P H =[P h,1 ,P h,2 ,...,P h,T ] and load power P L =[P l,1 ,P l,2 ,...,P l,T ], where P w,i , i=1,2,...,T represents the predicted output of the wind farm in the i-th month within the time period T; P h,i , i=1,2,...,T represents the predicted output of the hydropower station in the i-th month within the time period T; P l,i , i=1,2,...,T represents the predicted power of the load in the i-th month within the time period T, and T represents the medium- and long-term time period; in the embodiment, T is 12 months; the idea of wind power quality segmentation is adopted, and the non-parametric kernel density estimation method is used to obtain the wind power probability density curve, and the wind power is divided into a certain part and an uncertain part; the normal distribution function is used for the uncertain part of wind power, and the Monte Carlo method is used to establish a random simulation scenario, and then the improved k-means clustering is used to adopt distance scenario reduction, and the scenarios with similar probability distances are represented by typical scenarios to form a typical scenario set with probability values.
[0093] like Figure 2 As shown in the figure, the wind power output is segmented according to the wind power quality, and the specific process of establishing a scenario set for the uncertain part of wind power is as follows:
[0094] (1) Using the nonparametric kernel density estimation method, the probability density of wind power is calculated;
[0095] Nonparametric Kernel Density Estimation Function as follows:
[0096]
[0097] Where h is the window width; x i is the i-th sample data of wind power; n is the number of samples; x represents the wind power output time series;
[0098] (2) Probability density function of wind power Perform inverse integration to obtain the inverse function G(x) of the probability distribution function;
[0099] (3) Set the wind power confidence level to m = β t -α t , where β t ∈(0.5,1],a t ∈(0,0.5],αt Indicates the confidence level of wind power; β t Indicates the confidence level of wind power;
[0100] β t 、a t Substitute it into the inverse probability density function G(x) to obtain the upper and lower fluctuation areas of wind power;
[0101] The fluctuation area function is as follows:
[0102]
[0103]
[0104] In the formula, It is the lower boundary of wind power fluctuation area; is the upper limit of wind power fluctuation area; P W,t To forecast the output of wind power;
[0105] (4) Based on the upper and lower bounds of the fluctuation range obtained in (3), the wind power output is divided into a certain part and an uncertain part;
[0106] (5) The specific process of reducing scenes using the Monte Carlo method and the improved k-means clustering algorithm is as follows:
[0107] 1) Set the sampling scene sample D and the number of samples after reduction F d ;
[0108] 2) Input the uncertain data of wind power and set the probability distribution;
[0109] 3) Monte Carlo sampling is used to obtain D scene samples;
[0110] 4) Determine F d Is it less than D? If F d If it is less than D, execute step 5), otherwise end;
[0111] 5) For each scene γ i , calculate the remaining scenes γ j The probability distance KD between them is used to find the minimum probability distance KD value min{KD(γ i ,γ j )};
[0112] 6) Each scene γ i The corresponding minimum probability distance KD value is multiplied by the scene probability λ(γ i ), find the minimum value among D scenes;
[0113] 7) The scene corresponding to the minimum value is recorded as scene γ m and scenes γ n , satisfying λ(γm )≤λ(γ n );
[0114] 8) Set the scene to γ m , γ n Combine the two into one to reduce and update the scene probability λ(γ n )=λ(γ m )+λ(γ n );
[0115] 9) Update the D value, D = D-1;
[0116] 10) Output F d The number of scenes and the probability of scenes are completed.
[0117] Step 2: The wind power is determined to participate in the bidding and clearing of the medium- and long-term electricity market with hydropower and thermal power. The upper model is established with the goal of minimizing the electricity purchase cost in the electricity market. The objective function is as follows:
[0118]
[0119] In the formula, T is the total number of medium and long-term time periods; N is the number of thermal power units; M is the number of wind farms; The contract price declared for the hydropower upper layer during period t; is the contract price declared for wind power m in the upper layer t period; The contract price reported for thermal power generation at the upper level n during the t period; is the contracted electricity volume of the hydropower upper layer during period t; is the contracted electricity volume of wind power m in the upper layer during period t; The contracted electricity volume of thermal power n in the upper layer t period;
[0120] The constraints are as follows:
[0121] (1) Quotation constraints:
[0122]
[0123]
[0124]
[0125] In the formula, It is the minimum and maximum quotation limit for power generators;
[0126] (2) Power generation company’s winning bid quantity constraints:
[0127]
[0128]
[0129]
[0130] In the formula, Contribute to hydropower forecasting; Determine the partial maximum output for wind power m; Declare minimum and maximum power for thermal power n;
[0131] (3) Power balance constraints:
[0132]
[0133] Where P l,t Forecasting power for loads;
[0134] Step 3: Power-to-gas technology can realize the conversion of electricity to hydrogen and natural gas (methane). The specific process is as follows:
[0135] Power-to-gas is divided into power-to-hydrogen and power-to-methane. Power-to-hydrogen uses the principle of electrolyzing water to produce hydrogen and oxygen. Its chemical equation is as follows:
[0136]
[0137] The hydrogen produced by the electrolysis of water can be used directly, but due to the difficulty in storing and transmitting hydrogen, it is usually used in the form of electrolysis of methane. Natural gas (methane) has a higher unit energy density than hydrogen and can be directly injected into the existing natural gas network for sale. The electrolysis of methane is based on the electrolysis of hydrogen, using carbon dioxide and hydrogen to react under high temperature and high pressure to generate methane. The chemical equation is:
[0138] CO2+4H2→CH4+2H2O (13)
[0139] Among them, the energy conversion efficiency of electricity to hydrogen is about 75% to 80%, and the comprehensive energy conversion efficiency of the complete chemical reaction of electricity to methane is about 45% to 60%.
[0140] Step 4: Cost structure of each power generator:
[0141] (1) Thermal power cost
[0142] The cost of thermal power units is mainly coal consumption and operating costs, so its coal consumption and operating cost curve is:
[0143]
[0144] In the formula, C G is the coal consumption cost of thermal power unit n; is the output power of thermal power unit n; a, b and c are the consumption coefficients of thermal power unit n.
[0145] After the thermal power generator completes the contract transfer transaction, the loss it bears is:
[0146]
[0147] In the formula, C G,hyzr The peak load loss of thermal power generators due to contract transfer; θ hyzr is the contract transfer loss coefficient.
[0148] C G =C G,mhyx +C G,hyzr (16)
[0149] (2) Hydropower and power-to-gas costs
[0150] The costs of hydropower generators mainly come from the operating costs of the hydropower itself and the investment and operating costs of power-to-gas conversion, namely:
[0151]
[0152]
[0153]
[0154]
[0155] In the formula, C H Total costs for hydroelectric generators; The operating costs of hydropower; The investment cost of the power-to-gas equipment; is the operating cost of the power-to-gas equipment; μ H,t is the hydropower operation cost coefficient; C P2G is the capacity of the power-to-gas equipment; γ is the unit investment cost coefficient of the power-to-gas; e is the annual interest rate; L is the service life of the power-to-gas equipment; e P2G The operating cost is 2% of the annual unit investment cost of the power-to-gas equipment; It is the actual operating power of the power-to-gas equipment.
[0156] (3) Wind power costs
[0157] C W =C yxcb +C bc +C cf (twenty one)
[0158]
[0159]
[0160] In the formula, C W is the total cost of wind power; Cyxcb is the operating cost of wind power; C bc is the compensation cost of wind power (balancing cost); C cf Penalize costs for wind power deviations; is the operating cost coefficient of wind power; V is the number of uncertain wind power scenarios; θ v is the probability of wind power uncertainty scenario.
[0161] Step 5: The uncertain part of wind power participates in the medium- and long-term contract transfer with hydropower and thermal power. With the goal of maximizing the profits of wind power generators, a lower-level wind, hydropower and thermal power generation optimization configuration model based on the contract transfer mechanism is established. The objective function is:
[0162] maxS=max(S1+S2-S3) (24)
[0163] Where S is the revenue of wind power generators; S1 is the total revenue of wind power generators in the two-tier planning; S2 is the environmental cost reduced by wind power from the transfer of thermal power contracts; and S3 is the deviation penalty generated by wind power.
[0164] Wind power double-layer grid-connected revenue function:
[0165]
[0166]
[0167] In the formula, The contract quantity for the upper level of wind power; Acceptance of contractual transfer of electricity for wind power; is the upper contract electricity price; Transferring electricity prices for underlying contracts; Transfer of electricity for hydropower transfer contracts; The electricity transferred in the thermal power transfer contract; C W for wind power costs;
[0168] Function of reducing environmental costs when wind power obtains thermal power contract transfer:
[0169]
[0170]
[0171]
[0172]
[0173]
[0174] In the formula, It is the upper environmental cost of thermal power; is the environmental cost after the transfer of the lower-level thermal power contract; n is the unit coal consumption of thermal power n; is the output of the upper thermal power plant n; It is the electricity after the transfer of the lower-level thermal power n contract; is the fuel consumption of the upper thermal power plant n; is the fuel consumption of the lower thermal power plant n; μ s and μ c are the cost coefficients corresponding to SO2 and CO2 gas emissions respectively; and are the SO2 and CO2 gas emission coefficients of thermal power n, respectively;
[0175] Deviation penalty function for wind power generation:
[0176]
[0177]
[0178] In the formula, θ W is the wind power deviation penalty coefficient; It is the contract deviation electricity of wind power generators;
[0179] The constraints are as follows:
[0180] (1) Contract transfer demand balance constraints:
[0181]
[0182] In the formula, ΔP t T To meet the contract transfer requirements;
[0183] (2) Power generation company contract transfer winning quantity constraints:
[0184]
[0185]
[0186] In the formula, The maximum amount of electricity that can be transferred through contract for thermal power; The maximum amount of electricity that can be transferred through hydropower contracts;
[0187] (3) Constraints on the active transfer of power generation contracts:
[0188] 1) Profits before and after the transfer of thermal power participation contracts:
[0189]
[0190]
[0191] In the formula, Compensation for thermal power generators participating in the contract transfer; The contracted electricity transferred by thermal power n; is the underlying contract transfer price; For the profits of thermal power upper echelons; It is the profit after the transfer of thermal power participation contract;
[0192] 2) Profits before and after the transfer of hydropower participation contracts:
[0193]
[0194]
[0195]
[0196] In the formula, Compensation received for the transfer of hydropower participation contracts; To transfer electricity for hydropower transfer contracts; Transferring electricity prices for contracts; The income from electricity-to-gas sales; P2G For power-to-gas conversion to natural gas efficiency; It is the actual operating power of the power-to-gas converter; is the price of natural gas; For the profits of the upper echelons of hydropower; The profit after the transfer of the hydropower participation contract;
[0197] (3) Profits before and after the transfer of wind power participation contracts:
[0198]
[0199] In the formula, For wind power upper-level profits; It is the profit after the wind power participation contract is transferred;
[0200] (4) Quotation constraints:
[0201]
[0202]
[0203] In the formula, are the minimum and maximum quotation limits for hydropower in period t, respectively; are the minimum and maximum quotation limits for thermal power during period t, respectively;
[0204] (5) Unified electricity price constraints:
[0205] The present invention adopts the DC power flow method for optimization, so the unified electricity price of the contract transfer price is as follows
[0206]
[0207] (6) Power-to-gas operation strategy constraints:
[0208]
[0209]
[0210] In the formula, Transfer of abandoned hydropower for hydropower contracts; forecasting electricity consumption for hydropower; It is the actual operating power of the power-to-gas converter;
[0211] (7) Power-to-gas operation constraints:
[0212]
[0213] In the formula, C P2G is the power-to-gas capacity;
[0214] Step 5: Figure 3 As shown in the figure, the model is solved using MATPOWER and CPLEX solvers on the MATLAB platform. The upper layer uses the SMARTMARKET toolbox in MATPOWER to solve the contracted electricity and contracted electricity prices of each power generator. The lower layer optimizes the contracted electricity of each power generator through the CPLEX solver under the contracted electricity and contracted electricity prices of each power generator transmitted from the upper layer, obtains the profit of each power generator, and obtains the optimal capacity configuration of power-to-gas when the hydropower revenue is maximized.
[0215] In the above method, the idea of wind power quality segmentation is adopted, and the data of the determined part and the uncertain part of wind power are obtained according to the wind power forecast data, such as Figure 2 As shown in the figure. The determined part of wind power participates in the upper medium- and long-term electricity market bidding and clearing together with hydropower and thermal power to obtain the winning contract power and electricity price of each power generator. Based on the upper-level results, the uncertain part of wind power conducts lower-level contract transfer transactions with hydropower and thermal power to obtain the contract transfer power and contract transfer electricity price, as well as the optimal configuration of power-to-gas capacity. Through double-layer optimization, secondary planning of various energy sources is carried out on a medium- and long-term scale, which improves the wind power absorption capacity and the flexibility of hydropower regulation.
[0216] The specific embodiments described above further illustrate the purpose and technical solutions of the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that, without creative work by those skilled in the art, all equivalent changes, equivalent substitutions, improvements, etc. made according to the scope of the patent application of the present invention should be included in the scope of protection of the present invention.
Claims
1. A two-tier planning method for medium- and long-term wind, water and thermal power generation combining hydropower and power-to-gas, characterized by: The upper layer of the two-tier planning is a medium- and long-term electricity market purchasing model, and the lower layer is a wind, water and thermal power generation optimization configuration model based on the contract transfer mechanism; the lower layer of the two-tier planning uses the combined regulation of hydropower and power-to-gas to promote the transfer of hydropower to wind power generation contracts and increase the proportion of wind power consumption; The method comprises the following steps: Step 1: Forecast medium- and long-term wind power, hydropower output and load power, and establish a scenario set for wind power uncertainty; Step 2: With the goal of minimizing the electricity purchase cost in the electricity market, establish a medium- and long-term electricity market purchase model; Step 3: With the goal of maximizing the profits of power generators, establish an optimal configuration model for wind, water and thermal power generation based on the contract transfer mechanism; Step 3.1: Establish the objective function and constraints of the wind, water and thermal power generation optimization configuration model; Step 3.2: Determine the revenue functions of wind power, hydropower and thermal power generators respectively; Step 4: Solve the two-level programming model to obtain the optimal power-to-gas capacity and the optimal power generation plan of each power generator; The objective function of the medium- and long-term electricity market purchasing model is: ;(1) In the formula, f represents the mid- to long-term electricity purchase cost in the electricity market, is the total number of medium and long term time periods; is the number of thermal power units; is the number of wind farms; For hydroelectric generators The contract price for the time period; For wind farms of The contract price for the time period; For thermal power units of The contract price for the time period; For hydroelectric generators Time period contract electricity; For wind farms of The contractual electricity quantity for the time period; For thermal power units of The contractual electricity quantity for the time period; The constraints of the medium- and long-term electricity market purchasing model include: 1) Quotation constraints ;(2) ;(3) ;(4) In the formula , They are the minimum and maximum quotation limits for power generators; 2) Power generation company's winning bid quantity constraints ;(5) ;(6) ;(7) In the formula Contribute to hydropower forecasting; For wind farms The maximum output of the determined part of the power generation forecast; , Thermal power units Declare minimum and maximum power consumption; 3) Power balance constraints ;(8) In the formula Forecast power for loads.
2. The medium- and long-term wind, water and thermal power generation double-layer planning method according to claim 1 is characterized in that: In step 1, the idea of wind power quality segmentation is adopted to divide the predicted wind power generation into a certain part and an uncertain part; the wind power probability density curve is obtained using the non-parametric kernel density estimation method, and a random simulation scenario is established for the uncertain part of wind power. The improved k-means clustering is used to eliminate distance scenarios, and scenarios with similar probability distances are represented by typical scenarios to form a typical scenario set with probability values.
3. The medium- and long-term wind, water and thermal power generation double-layer planning method according to claim 2 is characterized in that: Objective function of the wind, water and thermal power generation optimization configuration model: ; (9) In the formula For the revenue of wind power generators; The total revenue of wind power generators under the double-tier planning; The environmental costs reduced by wind power from the transfer of thermal power contracts; Deviation penalty for wind power generation.
4. The medium- and long-term wind, water and thermal power generation double-layer planning method according to claim 3 is characterized in that: Total revenue for wind power generators: ;(10) ; (11) In the formula For wind farms m of t The contractual electricity quantity for the time period; For wind farms m The amount of electricity transferred under the contract accepted; For wind farms m Declared t The contract price for the time period; For wind farms m exist t The electricity price for the time contract transfer; for wind power costs; The amount of electricity transferred under contract to hydroelectric generators; For thermal power units n The amount of electricity transferred under the contract.
5. The medium- and long-term wind, water and thermal power generation double-layer planning method according to claim 3 is characterized in that: Environmental costs reduced after thermal power generators transfer contracts: ; ;(12) ;(13) ;(14) ; (15) In the formula is the environmental cost of thermal power generators before the contract transfer; It is the environmental cost of thermal power generators after the contract transfer; For thermal power units Unit coal consumption for power generation; For thermal power units before contract transfer The output power; For thermal power units after contract transfer The output power; For thermal power units before contract transfer fuel consumption; For thermal power units after contract transfer fuel consumption; , They are , Cost coefficient for gas emissions; , Thermal power units of , Gas emission factor.
6. The medium- and long-term wind, water and thermal power generation double-layer planning method according to claim 3 is characterized in that: Deviation penalty function for wind power generators: ;(16) ; (17) In the formula is the wind power deviation penalty coefficient; It is the contract deviation electricity of wind power generators; The contracted electricity volume accepted by wind farm m; is the predicted output of wind farm m.
7. The medium- and long-term wind, water and thermal power generation double-layer planning method according to claim 3 is characterized in that: Constraints of the optimal configuration model of wind, water and thermal power generation: (1) Contract transfer demand balance constraints: ; (18) In the formula for t The contract transfer requirements of the time period; For hydroelectric power generators t The contractual transfer amount of electricity in the time period; For thermal power units Transfer t The contractual transfer amount of electricity in the time period; (2) Constraints on the amount of electricity that can be awarded in power generation contract transfers: ;(19) ; (20) In the formula For thermal power units n exist t The amount of electricity that can be transferred by contract during a period of time; For hydroelectric generators t The amount of electricity that can be transferred by contract during a period of time; The winning bidder for thermal power unit n t The contractual transfer amount of electricity in the time period; The successful bidder for hydropower generators t The contractual transfer amount of electricity in the time period; (3) Constraints on the initiative of power generators to transfer contracts: 1) Profits before and after the transfer of thermal power participation contracts ;(21) ; (22) In the formula Profits from contract transfers for thermal power generators; For thermal power units Transfer t The contractual transfer amount of electricity in the time period; For thermal power units n exist t The contract transfer price for the period; It is the profit of thermal power generators before the transfer of the contract; It is the profit after the thermal power generator contracts are transferred; The cost of thermal power generation; 2) Profits before and after the transfer of hydropower participation contracts ;(23) ;(24) ; (25) In the formula Profits from participating in the contract transfer for hydropower generators; For hydroelectric power generators t The contractual transfer amount of electricity in the time period; For hydroelectric generators t The contract transfer price for the time period; Proceeds from selling gas for power-to-gas conversion; The efficiency of converting electricity into natural gas for power-to-gas; for t Actual operating power of electricity-to-gas conversion during the period; for t The natural gas price for the time period; Profits before the transfer of the contract for hydropower generators; Profits after the transfer of the contract for hydropower generators; Cost of generating hydroelectric power; 3) Profits before and after the wind power participation contract transfer ; (26) In the formula The profit of wind power generators before the transfer of the contract; The profit of wind power generators after participating in the contract transfer; The cost of wind power generation; (4) Quotation constraints: ;(27) ; (28) In the formula , They are the minimum and maximum quotation limits for hydropower generators; , They are the minimum and maximum quotation limits for thermal power generators; (5) Power-to-gas operation strategy constraints: ;(29) ; (30) In the formula, After the transfer of the hydropower contract t Theoretical amount of abandoned hydropower in the time period; For hydropower t The predicted power consumption for the time period; is the actual operating power of the power-to-gas converter; is the power-to-gas capacity; (6) Power-to-gas operation constraints: ;(31)。
