Water and fire coordinated optimization method and system considering primary and secondary energy coupling and carbon emission
By constructing a water-fired coordination optimization model of primary and secondary energy coupling and carbon emissions, correlating coal inventory, price and thermal power unit output, and combining reservoir storage capacity and hydropower unit output, the deficiencies in the preparation of power generation plans in the existing technology have been solved, and thermal power generation has been realized. The refined scheduling of units and the optimization of hydropower unit output plans reduce system operating costs and carbon emissions.
Patent Information
- Application Number
- CN202410835837.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The existing technology fails to effectively correlate coal inventory, coal prices, carbon emissions and the active power of thermal power units, resulting in the inability to optimize power generation costs in the preparation of power generation plans, and does not consider the impact of reservoir capacity, reservoir water level, and water flow lag on the output of hydropower units. The impact has resulted in a low level of execution of unit output plans, which has increased system operating costs and grid operation risks.
A water-fired coordinated optimization method that considers primary and secondary energy coupling and carbon emissions is adopted. By obtaining boundary data and constructing an optimization model that minimizes the cost of hydrothermal power generation, coal prices and carbon emission constraints are comprehensively considered, and reservoir storage capacity and hydropower unit output are strongly coupled. , use the optimization solver to solve the model until a hydrothermal power generation plan that meets the security of the grid is obtained.
It has achieved refined dispatching of thermal power units, optimized the output plan of hydropower units, reduced system operating costs, reduced carbon emissions, and improved the safe operation of the power grid.
Smart Images

Figure CN118739428A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to power system dispatching automation technology, and in particular to a water-fire coordination optimization method and system that considers primary and secondary energy coupling and carbon emissions. Background Art
[0002] As conventional power sources for safety-constrained unit combinations and economic dispatch algorithms, hydropower and thermal power usually use the cost of hydropower and thermal power generation and the cost of starting up as optimization targets, taking into account constraints such as the maximum and minimum technical output of the unit, the ramp rate, the minimum start-up and shutdown time, and the maximum number of start-up and shutdown times. The existing technology does not associate coal inventory, coal prices, and carbon emissions with the active power of thermal power units. In the preparation of power generation plans, it is impossible to optimize the cost of unit generation through coal prices, the impact of coal inventory on the start-up and shutdown of units, and the impact of carbon emission constraints on the selection of coal types. Similar to thermal power, the existing technology does not consider the impact of reservoir capacity, reservoir water level, and water flow lag on the output of hydropower units in actual applications, and the output plans of hydropower and thermal power units are independently prepared as the boundary conditions of each other, resulting in a low level of execution of unit output plans, increased system operating costs, increased AGC regulation pressure, and increased grid operation risks.
[0003] With the rapid advancement of the construction of a new power system with "dual carbon" as the ultimate goal, there is an urgent need to carry out refined modeling of hydropower and thermal power, establish the correlation between coal prices, coal inventories, carbon emissions and thermal power units, and strongly couple reservoir capacity, water level, and cascade hydropower flow delay with hydropower to model the strong coupling, improve the refined scheduling level of conventional power sources, deeply tap the system adjustment potential, reduce carbon emissions, reduce system operating costs, and improve the execution rate of conventional power output plans and the safe operation level of the power grid. Summary of the invention
[0004] Purpose of the invention: The present invention provides a method and system for water-fire coordination optimization that takes into account primary and secondary energy coupling and carbon emissions, which realizes strong coupling modeling of coal and thermal power, reservoirs and hydropower, takes into account the carbon emission constraints of conventional power sources, and improves the level of refined scheduling of conventional power sources.
[0005] Technical solution: A water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions of the present invention comprises:
[0006] Obtain boundary data for water-fire coordination optimization, determine the calculation cycle for water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, and generate corresponding calculation scenarios;
[0007] Construct a water-fire coordination optimization model with the goal of minimizing the cost of hydro-thermal power generation and comprehensively considering the coupling of primary and secondary energy and carbon emissions;
[0008] Carry out boundary data verification to ensure that the feasible domain of the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions is not empty;
[0009] Call the optimization solver to solve the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions;
[0010] The optimization solver is used to solve the water-fire coordination optimization model that considers primary and secondary energy coupling and carbon emissions. The safety check uses the calculation scenario and the optimization model result data as the boundary, and the PQ decoupling method is used to calculate the equipment flow. If no new equipment exceeds the limit, the calculation is successful. If the new equipment exceeds the limit, the new equipment that exceeds the limit is added to the water-fire coordination optimization model, and the optimization solver is called again to solve until a water-fire power generation plan that meets the safety of the power grid is obtained.
[0011] If the calculation is successful, the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, and reservoir water level result information will be output.
[0012] Furthermore, the boundary data includes provincial power grid system operation data, unit operation data, interconnection line planning data, load forecast data, unit group constraint data and power grid safety constraint data.
[0013] Furthermore, the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions includes:
[0014] The optimization goal is to minimize the cost of thermal power units, startup costs and hydropower unit costs, and the carbon emission index is a strict constraint. The specific expression is:
[0015]
[0016] Where F is the optimization target; f i,t is the power generation cost of thermal power unit i at time t; s i,t is the startup cost of thermal power unit i at time t; f w,t is the power generation cost of hydropower unit w at time t; S i is the collection of thermal power units; S w A collection of hydroelectric units.
[0017] Furthermore, when constructing the water-fire coordinated optimization model that considers primary and secondary energy coupling and carbon emissions, it is necessary to set model constraints, which include system operation constraints, unit operation constraints and power grid safety constraints.
[0018] Furthermore, the model constraints include:
[0019] Output constraints of thermal power units:
[0020] The output of thermal power units is expressed as:
[0021]
[0022] 0≤δ i,l,t ≤P i,l -P i,l-1
[0023] In the formula, the thermal power unit has a segmented heat rate curve, with a total of L segments; δ i,l,t is the active power in the first output interval; p i,t is the unit output of unit i at time t; p i,min is the minimum technical output of unit i; u i,t is the operating status of unit i at time t; P i,l is the end point power of the thermal power segmented heat rate curve, where the starting point P i,0 =P i,min ;
[0024] Calculation of heat consumption of thermal power units:
[0025] The calculation expression of heat consumption of thermal power generation unit is:
[0026]
[0027] In the formula, h i,b is the base heat rate of unit i; h i,l is the slight heat increase rate of the first section of the heat rate curve; c i,t is the heat consumption of unit i at time t;
[0028] Fuel consumption of thermal power units:
[0029] The heat consumption of unit i in period t is c i,t , using different fuels to provide heat, the consumption of each fuel is:
[0030] q i,f,t =c i,t / h f
[0031] In the formula, q i,f,t represents the fuel consumption of unit i at time t; h f is the heat rate of fuel f;
[0032] Further introducing a 0 / 1 state variable indicating whether unit i uses fuel f at time t, the relationship between unit fuel consumption and fuel usage status is expressed as follows:
[0033] q i,f,t ≤e i,f,t c i,max / h f
[0034] q i,f,t ≥e i,f,t ci,min / h f
[0035] In the formula, e i,f,t is the usage status of fuel f of unit i at time t, e i,f,t =1 means that unit i uses fuel f at time t, e i,f,t = 0 means that unit i does not use fuel f at time r; two constraints make q i,f,t and e i,f,t Both non-zero or both zero; c i,min is the heat consumption at the minimum technical output point of unit i; c i,max The heat consumption at the maximum technical output point of unit i;
[0036] Since the same unit can only use one type of fuel at the same time, the uniqueness constraint of the unit fuel usage status is introduced:
[0037]
[0038] Operation cost calculation:
[0039] Since the same unit uses the same fuel at the same time, the formula for calculating the unit's power generation cost is:
[0040]
[0041] In the formula, f i,t is the power generation cost of unit i at time t; p f,t is the price of fuel f at time t; the calculation method of the unit startup cost is similar and will not be repeated here;
[0042] Carbon emissions and fuel consumption constraints:
[0043] Since the same unit uses the same fuel at the same time, the unit carbon emission constraint is:
[0044]
[0045] In the formula, is the carbon emission of unit i at time t; r f,t is the emission coefficient of fuel f at time t; is the maximum carbon emission of unit i at time t; is the maximum consumption of fuel f during the scheduling period;
[0046] Calculation of inflow flow of hydropower station: The inflow flow of downstream cascade hydropower station includes the outflow flow of upstream hydropower station and the natural inflow flow. The specific expression is as follows:
[0047]
[0048] In the formula, τ k,jis the water flow delay between hydropower plant k and upstream hydropower plant j; is the set of upstream hydropower plants of hydropower plant k; is the inflow of the hydropower plant in period k, Δt is the length of the period; is the period t-τ of the upstream hydropower plant j of hydropower plant k k,j Outbound flow; represents the natural inflow of the hydropower plant in period k, t;
[0049] Calculation of outflow from hydropower station:
[0050] The outflow of a hydropower station includes power generation flow and abandoned water flow. The specific expression is as follows:
[0051]
[0052] In the formula, s k,t represents the amount of water abandoned by the hydropower plant in period k and time t; is the power generation flow of the hydropower plant in period k and time t; represents the outflow of the hydropower plant in period k and time t;
[0053] Calculation of water storage capacity of hydropower station:
[0054] The current water storage capacity is equal to the water storage capacity at the previous moment plus the water inflow in the current period, minus the water outflow in the current period. The specific expression is as follows:
[0055]
[0056] In the formula, v k,t 、v k,t-1 They represent the water storage capacity of hydropower plant k in time periods t and t-1 respectively; is the inflow of the hydropower plant in period k, t;
[0057] Relationship between water storage capacity and water level of hydropower station:
[0058] The water level and water storage capacity of a hydropower plant generally have a nonlinear relationship, but for hydropower plants with smaller storage capacity, they can be approximately treated as a first-order linear relationship, that is:
[0059] v k,t =η k (h k,t - h k )+ V k
[0060]
[0061] In the formula, h k are the upper and lower limits of the water level of hydropower plant k; h k,t is the water level of hydropower plant k in time period t; V k are the corresponding water storage capacity of hydropower plant k at the upper and lower limits of the water level; usually in the calculation, η k is set as a constant, representing the conversion coefficient between the k storage capacity and the water level of the hydropower plant;
[0062] Water level constraints of hydropower stations:
[0063] To ensure the safe operation of the reservoir, the change of the reservoir water level should be within a certain limit, as shown in the following formula:
[0064]
[0065] In the formula, h k are the upper and lower limits of the water level of hydropower plant k respectively; are the upper and lower limit relaxations of the water level of hydropower plant k respectively;
[0066] Output constraints of hydropower units in vibration zone:
[0067] Due to the inherent characteristics of the hydropower unit, its operational output range is divided into multiple discrete output ranges; the power upper limit of the hydropower unit h is P h,max , the lower limit is P h,min ; After deducting the vibration zone between the upper and lower limits of the power of the hydropower unit, the number of feasible power operation intervals of the hydropower unit h is S h , the upper and lower limits of the feasible power operation range are
[0068] The upper and lower limits of the hydropower unit power are:
[0069] u h,t P h,min ≤P h,t ≤u h,t P h,max
[0070] Where P h,t represents the power of the hydropower unit in time period h; u h,t represents the operating state of the hydropower unit in period h, a 0-1 decision variable, u h,t =1 means running, u h,t =0 means out of service;
[0071] Introduce 0 / 1 state variable e h,s,t It is used to indicate whether the hydropower unit h is within the feasible power operation range s during the period t:
[0072]
[0073] The power of the hydropower unit is:
[0074]
[0075] In the formula, δ h,s,t is the output of the hydropower unit h in period t within the feasible power operation range s; They represent the maximum and minimum power of the hydropower unit h in the operating interval s respectively;
[0076] Calculation of power generation flow of hydropower units:
[0077] The power generation flow of the hydropower unit is:
[0078]
[0079] In the formula, q h,t represents the power generation flow of the hydropower unit h in period t; is the power generation flow of hydropower unit h at the left end power of the sth feasible area in time period t; b h,s,t is the water consumption rate of hydropower unit h in the feasible power operation range s during time period t. In actual operation, the water consumption rate of hydropower should be non-decreasing according to the continuous power segment;
[0080] Calculation of power generation flow of hydropower station:
[0081] The power generation flow of hydropower station k can be further expressed as the accumulation of power generation flow of hydropower units in the power plant. The specific expression is as follows:
[0082]
[0083] In the formula, q k,t represents the power generation flow of the hydropower plant in time period t in k;
[0084] Relationship between hydropower station and unit output:
[0085] The power generation output of hydropower station k can be further expressed as the cumulative output of hydropower units in the power plant. The specific expression is as follows:
[0086]
[0087] In the formula, p h,t represents the power of the hydropower unit in time period h; p k,t represents the power of the hydropower plant in period k, t;
[0088] Constraints on the number of starts of hydropower units:
[0089] Constraints on the maximum number of starts of hydropower units:
[0090] y h,t -z h,t =u h,t -u h,t-1
[0091] yh,t +z h,t ≤1
[0092]
[0093] In the formula, y h,t Indicates the startup state of the hydropower unit h period t is a 0-1 variable; z h,t Indicates the shutdown status of the hydropower unit in time period h, which is a 0-1 variable; u h,t 、u h,t-1 They represent the operating status of the hydropower unit h in time periods t and t-1 respectively; U h,max Indicates the maximum number of startup times of hydropower unit h;
[0094] Constraints on the minimum number of units in operation for a hydropower plant:
[0095]
[0096] In the formula, y h,t Indicates the startup status of the hydropower unit in period h and t, which is a 0-1 variable; μ k Indicates the minimum number of units in operation at a hydropower station; S k represents the set of hydropower units in hydropower plant k;
[0097] Constraints for hydropower units passing through vibration zones:
[0098] The feasible power range of the hydropower unit is:
[0099]
[0100] In the formula, s h,t is the active power operation range of the hydropower unit in period h and t; e h,s,t It is used to indicate whether the hydropower unit h is within the feasible power operation range s during the period t; if Δ h,t Indicates whether the hydropower unit h crosses the feasible power range in period t, then:
[0101] Δ h,t ≤|s h,t -s h,t-1 |
[0102] S h Δ h,t ≥|s h,t -s h,t-1 |
[0103] In the formula, s h,t-1 is the active power operation range of the hydropower unit in period h at t-1; Δ h,t is a 0-1 decision variable, if Δ h,t =1, it means that the active power operation range of the hydropower unit at time period h is different from that at time t-1; if Δh,t =0, it means that the active power operation range of the hydropower unit in period h is the same as that at time t-1; S h is a constant greater than the maximum output of the hydropower unit h, used to assist in solving Δ h,t ;
[0104] Since the absolute value is a nonlinear expression, the absolute value is linearized:
[0105]
[0106] The maximum number of times a hydropower unit can cross the feasible power interval is constrained:
[0107]
[0108] In the formula, is the auxiliary decision variable without absolute value; Δ h,max It indicates the maximum number of times that the hydropower unit h can pass through the vibration zone;
[0109] Flow constraints for hydropower units and power plant reservoirs:
[0110] Limited by the unit's flow capacity and gate opening, the unit's power generation flow and the reservoir's outflow flow should vary within a certain range:
[0111]
[0112] In the formula, Q h,t and They represent the upper and lower limits of the power generation flow of the hydropower unit h in time period t; q h,t is the power generation flow of the hydropower unit in period h; s h,t is the amount of water abandoned by the hydropower unit in period h; is the outflow flow of the hydropower plant in period k, QS max,k , QS min,k are the maximum and minimum outflow flows of hydropower plant k respectively;
[0113] Initial and final water level deviation constraints:
[0114] The initial and final water level deviation constraints are as follows:
[0115]
[0116] In the formula, are respectively the positive and negative deviations of the initial and final water levels of hydropower plant k; is the initial water level of hydropower plant k; h k,t is the water level of the hydropower plant in period k, where t is the last period;
[0117] Power flow constraints for transmission equipment:
[0118] The cross-sectional flow constraints of the first round of optimization model solution and safety verification can be described as:
[0119]
[0120] The cross-sectional flow constraints cleared in the second round and subsequent iterations of optimization model solution and safety verification can be described as:
[0121]
[0122] Where FP s,t is the power flow of section s in period t; N represents the number of units; P i,t is the active power of unit i in period t; D is the active power of the unit i in the previous period t; k,t is the bus load value of node k in period t; are the forward and reverse power flow transmission limits of section s respectively; G s-i G is the generator output power transfer distribution factor of the node where unit i is located to section s; s-k is the output power transfer distribution factor of node k to section s; G s-j is the output power transfer distribution factor of the node where the tie line j is located to the line s; are the positive and negative flow relaxation variables of section s and time period t respectively; It is the AC power flow of the last round of safety correction results in section s and time period t.
[0123] Furthermore, the boundary data verification includes integrity verification, rationality verification and relevance verification; wherein the integrity verification is used to verify data completeness, the rationality verification is used to verify data rationality, and the relevance verification is used to verify whether there is a conflict between constraints.
[0124] Furthermore, the model solution and safety check iterative calculation are used to eliminate the equipment / section exceeding the limit in the power grid. The specific iterative method is as follows:
[0125] The water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions adopts the DC power flow calculation method to adjust the unit operation status and unit output to eliminate cross-section limit;
[0126] The safety check uses AC power flow calculation to analyze the over-limit situation of the power grid, and sends the newly added over-limit equipment and over-limit period to the optimization model;
[0127] Carry out iterative calculations to solve the water-fire coordination optimization model and perform safety verification considering primary and secondary energy coupling and carbon emissions until no equipment in the power grid exceeds its limit or the maximum number of iterations is reached.
[0128] Based on the same inventive concept, the water-fire coordination optimization system of the present invention considering primary and secondary energy coupling and carbon emissions comprises:
[0129] The calculation scenario generation module is used to obtain the boundary data of water-fire coordination optimization, determine the calculation cycle of water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, and generate the corresponding calculation scenario;
[0130] The optimization model building module is used to build a water-fire coordination optimization model with the goal of minimizing the cost of hydro-thermal power generation and comprehensively considering the coupling of primary and secondary energy and carbon emissions;
[0131] The data verification module is used to conduct boundary data verification to ensure that the feasible domain of the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions is not empty;
[0132] The optimization solver calling module is used to call the optimization solver to solve the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions;
[0133] The model solving and safety verification calculation module is used to use the optimization solver to solve the water-fire coordination optimization model considering the coupling of primary and secondary energy sources and carbon emissions. The safety verification uses the calculation scenario and the optimization model result data as the boundary, and uses the PQ decoupling method to calculate the equipment flow. If no new equipment exceeds the limit, the calculation is successful. If the new equipment exceeds the limit, the new equipment that exceeds the limit will be added to the water-fire coordination optimization model considering the coupling of primary and secondary energy sources and carbon emissions, and the optimization solver will be called again for solution until a water-fire power generation plan that meets the safety of the power grid is obtained.
[0134] The process settlement module is used to output the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, and reservoir water level result information if the calculation is successful.
[0135] Based on the same inventive concept, the present invention provides a water-fire coordination optimization device that considers primary and secondary energy coupling and carbon emissions, including a processor and a memory, wherein the memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the electronic device implements the steps of the water-fire coordination optimization method that considers primary and secondary energy coupling and carbon emissions as described above.
[0136] Based on the same inventive concept, a computer-readable storage medium of the present invention stores a computer program, which, when executed by a processor, implements the steps of the water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions as described above.
[0137] Beneficial effects: Compared with the prior art, the significant technical effects of the present invention are:
[0138] A primary and secondary energy coupling model for thermal power units was established, which deeply linked coal prices, coal inventories, carbon emissions and the preparation of thermal power unit output plans. By optimizing the power generation costs of units through coal prices, influencing the start and shutdown of units through coal inventories, and influencing the selection of coal types through carbon emission constraints, the level of refined scheduling of thermal power units was improved, and energy conservation and emission reduction of thermal power units were achieved.
[0139] A primary and secondary energy coupling model for hydropower units was established, which strongly coupled the reservoir capacity, reservoir water level and water flow lag with the hydropower unit output plan. The independent compilation of hydropower and thermal power was transformed into joint optimization of hydropower and thermal power, which improved the optimization configuration level of conventional power sources and the unit output plan execution rate and reduced the AGC regulation pressure.
[0140] An optimization strategy has been established that supports flexible calling of mainstream optimization solvers at home and abroad. It not only supports foreign CPLEX and GRUROBI solvers, but also supports domestic COPT solvers, solving the "bottleneck" technical risk of the underlying optimization solver of the safety constrained unit combination. BRIEF DESCRIPTION OF THE DRAWINGS
[0141] Figure 1 It is a flow chart of a water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions disclosed in an embodiment of the present invention;
[0142] Figure 2 is a heat rate curve diagram of a thermal power unit disclosed in an embodiment of the present invention;
[0143] Figure 3 It is a structural schematic diagram of a water-fire coordination optimization system considering primary and secondary energy coupling and carbon emissions disclosed in an embodiment of the present invention;
[0144] Figure 4 It is a structural schematic diagram of a water-fire coordination optimization device considering primary and secondary energy coupling and carbon emissions disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0145] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It will be understood by those skilled in the art that the purposes and advantages that can be achieved with the present invention are not limited to the specific description of the above beneficial effects, and the above and other purposes that can be achieved by the present invention will be more clearly understood based on the following detailed description.
[0146] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed in the present invention can be implemented in hardware, software or a combination of the two. Whether it is implemented in hardware or software depends on the specific application and design of the technical solution. Professional and technical personnel can use different methods to implement the functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0147] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0148] Example 1
[0149] See also Figure 1 , Figure 1 This is a flow chart of a water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions disclosed in an embodiment of the present invention. Figure 1 The water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions is applied to power systems, such as automatic dispatching of power systems, etc., which is not limited in the embodiments of the present invention. Figure 1 As shown, the water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions may include the following operations:
[0150] S1. Calculation scenario generation: Obtain boundary data of water-fire coordination optimization, determine the calculation cycle of water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, and generate corresponding calculation scenarios.
[0151] The boundary data includes provincial power grid system operation data, unit operation data, tie line plan data, load forecast data, unit group constraint data and power grid security constraint data. The calculation period is not limited to 96 time periods before the day, 16 time periods within the day, and 12 time periods in real time.
[0152] In this embodiment, the system data includes time period information, system load and system standby requirements; the unit data includes basic unit information, unit calculation parameters, unit heat rate curve, coal type, coal price, coal heat rate, carbon emission rate, coal inventory, hydropower unit vibration zone, head water consumption rate curve, water flow lag, reservoir water level, reservoir capacity, unit initial state, unit power constraints and unit climbing rate; the interconnection line planning data includes basic interconnection line information and interconnection line planned power; the load forecast data includes bus load forecast; the unit group constraint data includes unit group power limit and unit group power limit; the power grid security constraint data includes the power generation transfer distribution factor of the unit and load injection power to the line and section flow.
[0153] S2. Optimization model construction: Construct a water-fire coordination optimization model with the goal of minimizing the cost of hydro-thermal power generation, taking into account the coupling of primary and secondary energy and carbon emissions.
[0154] In this embodiment, the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions includes:
[0155] The optimization objectives are to minimize the cost of thermal power units (fuel, coal and gas), startup costs and hydropower unit costs, and the carbon emission index is a strict constraint. The specific expression is:
[0156]
[0157] Where F is the optimization target; f i,t is the power generation cost of thermal power unit i at time t; s i,t is the startup cost of thermal power unit i at time t; f w,t is the power generation cost of hydropower unit w at time t; S i is the collection of thermal power units; S w A collection of hydroelectric units.
[0158] The cost of a thermal power unit consists of two parts: operating cost and startup cost. The following briefly introduces the calculation methods of the two costs. Each thermal power unit corresponds to a heat rate curve, which is used to describe the relationship between the unit's active power and heat consumption (see Figure 2 ), when the unit output is at a certain power point, the heat consumed by the unit at the operating power point is calculated according to the heat rate curve, and then the fuel consumption is calculated according to the fuel type and fuel heat rate used by the unit at this time, and finally the fuel cost is calculated according to the fuel price at this time. In addition, the pollutant emission can be calculated according to the fuel pollutant emission coefficient. When the unit is started, it will consume a certain amount of heat. According to the unit startup heat consumption and the unit fuel type and fuel heat rate, the unit startup fuel consumption is calculated, and according to the fuel price at this time, the fuel cost is calculated, that is, the startup cost.
[0159] When constructing the water-fire coordination optimization model considering the coupling of primary and secondary energy sources and carbon emissions, it is necessary to set model constraints, which include system operation constraints, unit operation constraints and power grid safety constraints. The maximum and minimum technical output, ramp-up and landslide, minimum start-up and shutdown time, fixed active power, fixed operating state and other constraints of conventional hydropower and thermal power will not be described in detail, and only the constraints reflecting the characteristics of the present invention will be described in detail.
[0160] The model constraints include:
[0161] 1) Output constraints of thermal power units:
[0162] The output of thermal power units can be expressed as:
[0163]
[0164] 0≤δ i,l,t ≤P i,l -Pi,l-1
[0165] In the formula, the thermal power unit has a segmented heat rate curve, with a total of L segments; δ i,l,t is the active power of the lth output interval, the decision variable; p i,t is the unit output of unit i at time t; p i,min is the minimum technical output of unit i; u i,t is the operating status of unit i at time t, u i,t =1 means power on, u i,t =0 means shutdown; P i,l is the end point power of the thermal power segmented heat rate curve, where the starting point P i,0 =P i,min .
[0166] 2) Calculation of heat consumption of thermal power units:
[0167] The calculation expression of heat consumption of thermal power generation unit is:
[0168]
[0169] In the formula, h i,b is the base heat rate of unit i, i.e. the heat consumption at the minimum technical output point of the unit; h i,l is the slight heat increase rate of the first section of the heat rate curve, that is, the unit heat consumption per unit output; c i,t is the heat consumption of unit i at time t.
[0170] 3) Fuel consumption of thermal power units:
[0171] The heat consumption of unit i in period t is c i,t , using different fuels to provide heat, the consumption of each fuel is:
[0172] q i,f,t =c i,t / h f
[0173] In the formula, q i,f,t represents the fuel consumption of unit i at time t; h f is the heating rate of fuel f.
[0174] Further introducing a 0 / 1 state variable indicating whether unit i uses fuel f at time t, the relationship between unit fuel consumption and fuel usage status is expressed as follows:
[0175] q i,f,t ≤e i,f,t c i,max / h f
[0176] q i,f,t ≥ei,f,t c i,min / h f
[0177] In the formula, e i,f,t is the usage status of fuel f of unit i at time t, e i,f,t =1 means that unit i uses fuel f at time t, e i,f,t = 0 means that unit i does not use fuel f at time t; two constraints make q i,f,t and e i,f,t Both non-zero or both zero; c i,min is the heat consumption at the minimum technical output point of unit i; c i,max It is the heat consumption at the maximum technical output point of unit i.
[0178] Since the same unit can only use one type of fuel at the same time, the uniqueness constraint of the unit fuel usage status is introduced:
[0179]
[0180] 4) Operation cost calculation:
[0181] Since the same unit uses the same fuel at the same time, the formula for calculating the unit's power generation cost is:
[0182]
[0183] In the formula, f i,t is the power generation cost of unit i at time t; p f,t is the price of fuel f at time t. The calculation method of the unit startup cost is similar and will not be repeated here.
[0184] 5) Carbon emissions and fuel consumption constraints:
[0185] Since the same unit uses the same fuel at the same time, the unit carbon emission constraint is:
[0186]
[0187] In the formula, is the carbon emission of unit i at time t; r f,t is the emission coefficient of fuel f at time t; is the maximum carbon emission of unit i at time t; is the maximum consumption of fuel f during the scheduling period.
[0188] 6) Calculation of inflow flow of hydropower station: The inflow flow of downstream cascade hydropower station includes the outflow flow of upstream hydropower station and the natural inflow flow. The specific expression is as follows:
[0189]
[0190] In the formula, τ k,j is the water flow delay between hydropower plant k and upstream hydropower plant j; is the set of upstream hydropower plants of hydropower plant k; is the inflow of the hydropower plant in period k, Δt is the length of the period; is the period t-τ of the upstream hydropower plant j of hydropower plant k k,j Outbound flow; represents the natural inflow of the hydropower plant in period k, t;
[0191] 7) Calculation of outflow from hydropower station:
[0192] The outflow of a hydropower station includes power generation flow and abandoned water flow. The specific expression is as follows:
[0193]
[0194] In the formula, s k,t represents the amount of water abandoned by the hydropower plant in period k and time t; is the power generation flow of the hydropower plant in period k and time t; represents the outflow flow of the hydropower plant in period k and t.
[0195] 8) Calculation of water storage capacity of hydropower station:
[0196] The current water storage capacity is equal to the water storage capacity at the previous moment plus the water inflow in the current period, minus the water outflow in the current period. The specific expression is as follows:
[0197]
[0198] In the formula, v k,t 、v k,t-1 They represent the water storage capacity of hydropower plant k in time periods t and t-1 respectively. is the inflow of the hydropower plant in period k, t;
[0199] 9) Relationship between water storage capacity and water level of hydropower station:
[0200] The water level and water storage capacity of a hydropower plant generally have a nonlinear relationship, but for hydropower plants with smaller storage capacity, they can be approximately treated as a first-order linear relationship, that is:
[0201] v k,t =η k (h k,t - h k )+ V k
[0202]
[0203] In the formula, h k are the upper and lower limits of the water level of hydropower plant k; h k,t is the water level of hydropower plant k in time period t; V k are the corresponding water storage capacity of hydropower plant k at the upper and lower limits of the water level; usually in the calculation, η k Can be set as a constant, representing the conversion coefficient between the k storage capacity and water level of the hydropower plant;
[0204] 10) Water level constraints of hydropower stations:
[0205] To ensure the safe operation of the reservoir, the change of the reservoir water level should be within a certain limit, as shown in the following formula:
[0206]
[0207] In the formula, h k are the upper and lower limits of the water level of hydropower plant k respectively; are the upper and lower limit relaxations of the water level of hydropower plant k respectively.
[0208] 11) Output constraints of hydropower units in vibration zone:
[0209] Due to the inherent characteristics of the hydropower unit, its operational output range is divided into multiple discrete output ranges. The power upper limit of the hydropower unit h is P h,max , the lower limit is P h,min After deducting the vibration zone between the upper and lower limits of the hydropower unit power, the number of feasible power operation intervals of the hydropower unit h is S h , the upper and lower limits of the feasible power operation range are
[0210] The upper and lower limits of the hydropower unit power are:
[0211] u h,t P h,min ≤P h,t ≤u h,t P h,max
[0212] Where P h,t represents the power of the hydropower unit in time period h; u h,t represents the operating state of the hydropower unit in period h, a 0-1 decision variable, u h,t =1 means running, u h,t =0 means out of service.
[0213] Introduce 0 / 1 state variable e h,s,t It is used to indicate whether the hydropower unit h is within the feasible power operation range s during the period t:
[0214]
[0215] The power of the hydropower unit is:
[0216]
[0217] In the formula, δ h,,s,t is the output of the hydropower unit h in period t within the feasible power operation range s; They respectively represent the maximum and minimum power of the hydropower unit h in the operating range s.
[0218] 12) Calculation of power generation flow of hydropower units:
[0219] The power generation flow of the hydropower unit is:
[0220]
[0221] In the formula, q h,t represents the power generation flow of the hydropower unit h in period t; is the power generation flow of hydropower unit h at the left end power of the sth feasible area in time period t; b h,s,t is the water consumption rate of hydropower unit h in the feasible power operation range s during time period t. During actual operation, the water consumption rate of hydropower should be non-decreasing according to the continuous power segment.
[0222] 13) Calculation of power generation flow of hydropower station:
[0223] The power generation flow of hydropower station k can be further expressed as the accumulation of power generation flow of hydropower units in the power plant. The specific expression is as follows:
[0224]
[0225] In the formula, q k,t represents the power generation flow of the hydropower plant in time period t in k;
[0226] 14) Relationship between hydropower station and unit output:
[0227] The power generation output of hydropower station k can be further expressed as the cumulative output of hydropower units in the power plant. The specific expression is as follows:
[0228]
[0229] In the formula, p h,t represents the power of the hydropower unit in time period h; p k,t Represents the power of the hydropower plant in time period t in k period.
[0230] 15) Constraints on the number of starts of hydropower units:
[0231] Constraints on the maximum number of starts of hydropower units:
[0232] y h,t -z h,t =uh,t -u h,t-1
[0233] y h,t +z h,t ≤1
[0234]
[0235] In the formula, y h,t Indicates the startup state of the hydropower unit h period t is a 0-1 variable; z h,t Indicates the shutdown status of the hydropower unit in time period h, which is a 0-1 variable; u h,t 、u h,t-1 They represent the operating status of the hydropower unit h in time periods t and t-1 respectively; U h,max Indicates the maximum number of startup times of hydropower unit h.
[0236] 16) Constraints on the minimum number of units in operation of hydropower plants:
[0237]
[0238] In the formula, y h,t Indicates the startup status of the hydropower unit in period h and t, which is a 0-1 variable; μ k Indicates the minimum number of units in operation at a hydropower station; S k Represents the set of hydropower units in hydropower plant k.
[0239] 17) Constraints on hydropower units crossing vibration zones:
[0240] The feasible power range of the hydropower unit is:
[0241]
[0242] In the formula, s h,t is the active power operation range of the hydropower unit in period h and t; e h,s,t It is used to indicate whether the hydropower unit h is within the feasible power operation range s during the time period t.
[0243] Note: If the hydropower unit is shut down, it is considered to be in the feasible power range 0.
[0244] If Δ h,t Indicates whether the hydropower unit h crosses the feasible power range in period t, then:
[0245] Δ h,t ≤|s h,t -s h,t-1 |
[0246] S h Δ h,t ≥|s h,t -s h,t-1 |
[0247] In the formula, s h,t-1 is the active power operation range of the hydropower unit in period h at t-1; Δ h,t is a 0-1 decision variable, if Δ h,t =1, it means that the active power operation range of the hydropower unit at time period h is different from that at time t-1; if Δ h,t =0, it means that the active power operation range of the hydropower unit in period h is the same as that at time t-1; S h is a constant greater than the maximum output of the hydropower unit h, used to assist in solving Δ h,t ;
[0248] Since the absolute value is a nonlinear expression, the absolute value is linearized:
[0249]
[0250] The maximum number of times a hydropower unit can cross the feasible power interval is constrained:
[0251]
[0252] In the formula, is the auxiliary decision variable without absolute value; Δ h,max Indicates the maximum number of times the hydropower unit h can pass through the vibration zone.
[0253] 18) Flow constraints of hydropower units and power plant reservoirs:
[0254] Limited by the unit's flow capacity and gate opening, the unit's power generation flow and the reservoir's outflow flow should vary within a certain range:
[0255]
[0256] In the formula, Q h,t and They represent the upper and lower limits of the power generation flow of the hydropower unit h in time period t; q h,t is the power generation flow of the hydropower unit in period h; s h,t is the amount of water abandoned by the hydropower unit in period h; is the outflow flow of the hydropower plant in period k, QS max,k , QS min,k are the maximum and minimum outflow flows of hydropower plant k respectively.
[0257] 19) Initial and final water level deviation constraints:
[0258] The initial and final water level deviation constraints are as follows:
[0259]
[0260] In the formula, are respectively the positive and negative deviations of the initial and final water levels of hydropower plant k; is the initial water level of hydropower plant k; h k,t is the water level of the hydropower plant in period k, where t is the last period.
[0261] 20) Power transmission equipment flow constraints:
[0262] The cross-sectional flow constraints of the first round of optimization model solution and safety verification can be described as:
[0263]
[0264] The cross-sectional flow constraints cleared in the second round and subsequent iterations of optimization model solution and safety verification can be described as:
[0265]
[0266] Where FP s,t is the power flow of section s in period t; N represents the number of units; P i,t is the active power of unit i in period t, a decision variable; D is the active power of the unit i in the previous period t; k,t is the bus load value of node k in period t; are the forward and reverse power flow transmission limits of section s respectively; G s-i G is the generator output power transfer distribution factor of the node where unit i is located to section s; s-k is the output power transfer distribution factor of node k to section s; G s-j is the output power transfer distribution factor of the node where the tie line j is located to the line s; are the positive and negative flow relaxation variables of section s respectively; It is the AC power flow of the last round of safety correction results in section s and time period t.
[0267] S3. Data verification: Carry out boundary data verification to ensure that the feasible domain of the water-fire coordination optimization model is not empty.
[0268] In this embodiment, the boundary data verification includes integrity verification, rationality verification and relevance verification; among them, the integrity verification is used to verify the completeness of the data, the rationality verification is used to verify the rationality of the data, and the relevance verification is used to verify whether there is a conflict between constraints.
[0269] Integrity verification is responsible for verifying data completeness, such as whether the device is complete, whether the time period is complete, whether the type of external access data is complete, etc.
[0270] Rationality check is responsible for checking the rationality of data, such as whether the load forecast in adjacent time periods jumps, whether the new energy forecast jumps, whether the interconnection line plan jumps, whether the new energy forecast power exceeds the rated power, whether the interconnection line plan exceeds the channel limit, etc., whether the total deviation between the system load forecast and the bus load forecast exceeds a certain threshold, etc.
[0271] The correlation check is responsible for checking whether there are conflicts between constraints, such as whether the unit maintenance conflicts with the minimum number of units in the power plant, whether the fixed output conflicts with the fixed operating status, whether the unit group output limit conflicts with the unit maintenance within the unit group, whether the unit initial point active power conflicts with the climbing constraint, whether the unit fixed output exceeds the unit output range, etc.
[0272] In this step, if the feasible domain is empty, go to step S6.
[0273] S4. Optimization solver call: call the optimization solver to solve the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions.
[0274] When calling the optimization solver for solving, it not only supports calling foreign CPLEX and GUROBI solvers, but also supports calling the domestic COPT optimization solver.
[0275] In this step, a flexible calling strategy for domestic and foreign optimization solvers was established, and a general modeling technology supporting mainstream domestic and foreign optimization solvers was proposed, which enabled the flexible calling of foreign CPLEX, GUROBI solvers and domestic COPT solvers by the same optimization model.
[0276] S5. Iterative calculation of model solution and safety verification: The safety verification takes the calculation scenario and optimization model result data as the boundary, and adopts the PQ decoupling method to calculate the equipment flow; if no new equipment exceeds the limit, the calculation is successful; if the new equipment exceeds the limit, the new equipment that exceeds the limit will be added to the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions, and the optimization solver will be called again for solution until a water-fire power generation plan that meets the safety of the power grid is obtained, and the AGC is sent to track and execute.
[0277] In this embodiment, the model solution and safety check iterative calculation are used to eliminate the equipment / section exceeding the limit in the power grid. The specific iterative method is as follows:
[0278] The water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions adopts the DC power flow calculation method to adjust the unit operation status and unit output to eliminate cross-section limit;
[0279] The safety check uses AC power flow calculation to analyze the over-limit situation of the power grid, and sends the newly added over-limit equipment and over-limit period to the optimization model;
[0280] Carry out iterative calculations to solve the water-fire coordination optimization model and perform safety verification considering primary and secondary energy coupling and carbon emissions until no equipment in the power grid exceeds its limit or the maximum number of iterations is reached.
[0281] In this step, if no new equipment exceeds the limit, the calculation is successful and the process goes to step S6. If the new equipment exceeds the limit, the new equipment that exceeds the limit is added to the water-fire coordination optimization model that considers primary and secondary energy coupling and carbon emissions and goes to step S2.
[0282] S6. Process settlement: If the calculation is successful, the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, and reservoir water level result information will be output.
[0283] In this step, if the calculation is successful, the operating status of the hydro-thermal power unit, unit output, carbon emissions, operating costs and other information will be output; if the calculation fails, an alarm will be prompted.
[0284] The technical solution of the present invention first obtains the boundary data of water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, determines the calculation cycle, and generates a calculation scenario; then constructs a water-fire coordination optimization model with the goal of minimizing the cost of hydro-thermal power generation and comprehensively considering the primary and secondary energy coupling and carbon emissions; calls mainstream optimization solvers at home and abroad, and adopts branch and bound, cutting plane and other algorithms to solve the optimization model; the safety check takes the calculation scenario and the optimization model result data as the boundary, and adopts the PQ decoupling method to calculate the equipment flow; if no new equipment exceeds the limit, the calculation is successful, and the result information such as the output of the hydro-thermal power unit, the power generation cost, the startup cost, the coal consumption, the reservoir water level, etc. is output; if the new equipment exceeds the limit, the new equipment that exceeds the limit is added to the water-fire coordination optimization model considering the primary and secondary energy coupling and carbon emissions, and the mainstream optimization solvers at home and abroad are called again for solution until a hydro-thermal power generation plan that meets the safety of the power grid is obtained, and the AGC is issued for tracking and execution.
[0285] The method proposed in the present invention provides technical support for further improving the level of refined scheduling of conventional power sources, tapping the potential of system regulation, and achieving energy conservation and emission reduction. The existing technology does not deeply associate coal inventory, coal prices, carbon emissions with the active power of thermal power units, and does not establish a strong coupling relationship between reservoir capacity, reservoir water level, water flow lag and hydropower unit output. In addition, the output plans of hydropower and thermal power units are independently compiled as each other's boundary conditions, resulting in a low level of execution of the unit output plan, increased system operating costs, increased AGC regulation pressure, and increased grid operation risks. In response to the above-mentioned problems, the present invention proposes a water-fire coordination optimization method and system that considers primary and secondary energy coupling and carbon emissions, which provides technical support for the reliable execution of the output plan of hydropower and thermal power units, tapping the potential of system regulation, and achieving energy conservation and emission reduction of conventional power sources.
[0286] Example 2
[0287] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a water-fire coordination optimization system considering primary and secondary energy coupling and carbon emissions disclosed in an embodiment of the present invention. The system can achieve water-fire coordination optimization and specifically includes:
[0288] The calculation scenario generation module is used to obtain the boundary data of water-fire coordination optimization, determine the calculation cycle of water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, and generate the corresponding calculation scenario;
[0289] The optimization model building module is used to build a water-fire coordination optimization model with the goal of minimizing the cost of hydro-thermal power generation and comprehensively considering the coupling of primary and secondary energy and carbon emissions;
[0290] The data verification module is used to conduct boundary data verification to ensure that the feasible domain of the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions is not empty;
[0291] The optimization solver calling module is used to call the optimization solver to solve the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions;
[0292] The model solving and safety verification iterative calculation module is used to use the optimization solver to solve the water-fire coordination optimization model that considers primary and secondary energy coupling and carbon emissions. The safety verification uses the calculation scenario and the optimization model result data as the boundary, and uses the PQ decoupling method to calculate the equipment flow. If no new equipment exceeds the limit, the calculation is successful. If the new equipment exceeds the limit, the new equipment that exceeds the limit will be added to the water-fire coordination optimization model, and the optimization solver will be called again to solve until a water-fire power generation plan that meets the safety of the power grid is obtained.
[0293] The process settlement module is used to output the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, and reservoir water level result information if the calculation is successful.
[0294] In an optional implementation, the method for optimizing the coordination of water and fire considering primary and secondary energy coupling and carbon emissions includes: a) obtaining boundary data of the water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, determining the optimization calculation cycle, and generating a calculation scenario; b) constructing a water-fire coordination optimization model that takes the minimum cost of hydro-thermal power generation as the goal and comprehensively considers the coupling of primary and secondary energy and carbon emissions; c) calling mainstream optimization solvers at home and abroad, and using branch and bound, cutting plane and other algorithms to solve the optimization model; d) performing boundary data verification to ensure that the feasible domain of the water-fire coordination optimization model considering the coupling of primary and secondary energy and carbon emissions is not empty; e) calling the optimization solver to solve the problem of the coordination of water and fire considering the coupling of primary and secondary energy and carbon emissions. f) Safety check is based on the calculation scenario and optimization model result data, and the PQ decoupling method is used to calculate the equipment flow; if there is no new equipment exceeding the limit, the calculation is successful, and the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, reservoir water level and other result information are output; if the new equipment exceeds the limit, the new equipment that exceeds the limit will be added to the water-fire coordination optimization model considering the coupling of primary and secondary energy and carbon emissions, and the mainstream optimization solvers at home and abroad will be re-called for solution until a hydro-thermal power generation plan that meets the safety of the power grid is obtained, and the AGC is sent for tracking and execution; g) If the calculation is successful, the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, and reservoir water level result information are output.
[0295] Example 3
[0296] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of a water-fire coordination optimization device considering primary and secondary energy coupling and carbon emissions disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a power system, such as automatic dispatching of a power system, and the embodiments of the present invention do not limit this.
[0297] like Figure 4 As shown, the device may include a processor and a memory, wherein the memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the electronic device implements the steps of the method described in the above embodiment and can achieve the technical effect consistent with the above method.
[0298] The memory may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The device may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the memory may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as a "hard drive"). A program / utility having a set (at least one) of program modules may be stored in, for example, the memory, such program modules including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment. The program modules typically perform the functions and / or methods in the embodiments described herein.
[0299] The processor executes various functional applications and data processing by running the program stored in the memory, such as implementing the method provided in the first embodiment of the present invention.
[0300] Example 4
[0301] Embodiment 4 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method described in the above embodiment are implemented and the technical effect consistent with the above method can be achieved.
[0302] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.
[0303] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0304] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0305] Computer program code for performing the operation of the present invention may be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0306] Of course, the storage medium containing computer executable instructions provided by an embodiment of the present invention, whose computer executable instructions are not limited to the above method operations, can also execute related operations in the method provided by any embodiment of the present invention.
[0307] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions, It is characterized in that include: Obtain boundary data for water-fire coordination optimization, determine the calculation cycle for water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, and generate corresponding calculation scenarios; Construct a water-fire coordination optimization model with the goal of minimizing the cost of hydro-thermal power generation and comprehensively considering the coupling of primary and secondary energy and carbon emissions; Carry out boundary data verification to ensure that the feasible domain of the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions is not empty; Call the optimization solver to solve the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions; The optimization solver is used to solve the water-fire coordination optimization model that considers primary and secondary energy coupling and carbon emissions. The safety check uses the calculation scenario and the optimization model result data as the boundary, and the PQ decoupling method is used to calculate the equipment flow. If no new equipment exceeds the limit, the calculation is successful. If the new equipment exceeds the limit, the new equipment that exceeds the limit is added to the water-fire coordination optimization model, and the optimization solver is called again to solve until a water-fire power generation plan that meets the safety of the power grid is obtained. If the calculation is successful, the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, and reservoir water level result information will be output.
2. The water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions according to claim 1, Features: The boundary data includes provincial power grid system operation data, unit operation data, interconnection line planning data, load forecast data, unit group constraint data and power grid safety constraint data.
3. The water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions according to claim 1, Features: The water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions includes: The optimization goal is to minimize the cost of thermal power units, startup costs and hydropower unit costs, and the carbon emission index is a strict constraint. The specific expression is: Where F is the optimization target; f i,t is the power generation cost of thermal power unit i at time t; s i,t is the startup cost of thermal power unit i at time t; f w,t is the power generation cost of hydropower unit w at time t; S i is the collection of thermal power units; S w A collection of hydroelectric units.
4. The water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions according to claim 1, It is characterized in that When constructing the water-fire coordinated optimization model considering primary and secondary energy coupling and carbon emissions, it is necessary to set model constraints, which include system operation constraints, unit operation constraints and power grid security constraints.
5. The water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions according to claim 4, It is characterized in that The model constraints include: Output constraints of thermal power units: The output of thermal power units is expressed as: 0≤δ a,a,t ≤P i,a -P a,l-1 In the formula, the thermal power unit has a segmented heat rate curve, with a total of L segments; δ i,l,t is the active power in the first output interval; p i,t is the unit output of unit i at time t; p i,min is the minimum technical output of unit i; u i,t is the operating status of unit i at time t; P i,l is the end point power of the thermal power segmented heat rate curve, where the starting point P i,0 =P i,min ; Calculation of heat consumption of thermal power units: The calculation expression of heat consumption of thermal power generation unit is: In the formula, h i,b is the base heat rate of unit i; h i,l is the slight heat increase rate of the first section of the heat rate curve; c i,t is the heat consumption of unit i at time t; Fuel consumption of thermal power units: The heat consumption of unit i in period t is c i,t , using different fuels to provide heat, the consumption of each fuel is: q i,f,t =c i,t / h f In the formula, q i,f,t represents the fuel consumption of unit i at time t; h f is the heat rate of fuel f; Further introducing a 0 / 1 state variable indicating whether unit i uses fuel f at time t, the relationship between unit fuel consumption and fuel usage status is expressed as follows: q i,f,t ≤e i,f,t c i,max / h f q i,f,t ≥e i,f,t c i,min / h f In the formula, e i,f,t is the usage status of fuel f of unit i at time t, e i,f,t =1 means that unit i uses fuel f at time t, e i,f,t = 0 means that unit i does not use fuel f at time t; two constraints make q i,f,t and e i,f,t Both non-zero or both zero; c i,min is the heat consumption at the minimum technical output point of unit i; c i,max The heat consumption at the maximum technical output point of unit i; Since the same unit can only use one type of fuel at the same time, the uniqueness constraint of the unit fuel usage status is introduced: Operation cost calculation: Since the same unit uses the same fuel at the same time, the formula for calculating the unit's power generation cost is: In the formula, f i,t is the power generation cost of unit i at time t; p f,t is the price of fuel f at time t; the calculation method of the unit startup cost is similar and will not be repeated here; Carbon emissions and fuel consumption constraints: Since the same unit uses the same fuel at the same time, the unit carbon emission constraint is: In the formula, is the carbon emission of unit i at time t; r f,t is the emission coefficient of fuel f at time t; is the maximum carbon emission of unit i at time t; is the maximum consumption of fuel f during the scheduling period; Calculation of inflow flow of hydropower station: The inflow flow of downstream cascade hydropower station includes the outflow flow of upstream hydropower station and the natural inflow flow. The specific expression is as follows: In the formula, τ k,j is the water flow delay between hydropower plant k and upstream hydropower plant j; is the set of upstream hydropower plants of hydropower plant k; is the inflow of the hydropower plant in period k, Δt is the length of the period; is the period t-τ of the upstream hydropower plant j of hydropower plant k k,j Outbound flow; represents the natural inflow of the hydropower plant in period k, t; Calculation of outflow from hydropower station: The outflow of a hydropower station includes power generation flow and abandoned water flow. The specific expression is as follows: In the formula, s k,t represents the amount of water abandoned by the hydropower plant in period k and time t; is the power generation flow of the hydropower plant in period k and time t; represents the outflow of the hydropower plant in period k and time t; Calculation of water storage capacity of hydropower station: The current water storage capacity is equal to the water storage capacity at the previous moment plus the water inflow in the current period, minus the water outflow in the current period. The specific expression is as follows: In the formula, v k,t 、v k,t-1 They represent the water storage capacity of hydropower plant k in time periods t and t-1 respectively; is the inflow of the hydropower plant in period k, t; Relationship between water storage capacity and water level of hydropower station: The water level and water storage capacity of a hydropower plant generally have a nonlinear relationship, but for hydropower plants with smaller storage capacity, they can be approximately treated as a first-order linear relationship, that is: v k,t =the k (h k,t - h k )+ V k In the formula, h k are the upper and lower limits of the water level of hydropower plant k respectively; V k are the corresponding water storage capacities of hydropower plant k at the upper and lower limits of water level; h k,t is the water level of hydropower plant k in period t; usually in the calculation η k is set as a constant, representing the conversion coefficient between the k storage capacity and the water level of the hydropower plant; Water level constraints of hydropower stations: To ensure the safe operation of the reservoir, the change of the reservoir water level should be within a certain limit, as shown in the following formula: In the formula, h k are the upper and lower limits of the water level of hydropower plant k respectively; are the upper and lower limit relaxations of the water level of hydropower plant k respectively; Output constraints of hydropower units in vibration zone: Due to the inherent characteristics of the hydropower unit, its operational output range is divided into multiple discrete output ranges; the power upper limit of the hydropower unit h is P h,max , the lower limit is P h,min ; After deducting the vibration zone between the upper and lower limits of the power of the hydropower unit, the number of feasible power operation intervals of the hydropower unit h is S h , the upper and lower limits of the feasible power operation range are The upper and lower limits of the hydropower unit power are: u h,t Q h,min ≤P h,t ≤u h,t Q h,max Where P h,t represents the power of the hydropower unit in time period t; t h,t represents the operating state of the hydropower unit in period h, a 0-1 decision variable, u h,t =1 means running, u h,t =0 means out of service; Introduce 0 / 1 state variable e h,s,t It is used to indicate whether the hydropower unit h is within the feasible power operation range s during the period t: The power of the hydropower unit is: In the formula, δ h,s,t is the output of the hydropower unit h in period t within the feasible power operation range s; They represent the maximum and minimum power of the hydropower unit h in the operating interval s respectively; Calculation of power generation flow of hydropower units: The power generation flow of the hydropower unit is: In the formula, q h,t represents the power generation flow of the hydropower unit h in period t; is the power generation flow of hydropower unit h at the left end power of the sth feasible area in time period t; b h,s,t is the water consumption rate of hydropower unit h in the feasible power operation range s during time period t. In actual operation, the water consumption rate of hydropower should be non-decreasing according to the continuous power segment; Calculation of power generation flow of hydropower station: The power generation flow of hydropower station k can be further expressed as the accumulation of power generation flow of hydropower units in the power plant. The specific expression is as follows: In the formula, q k,t represents the power generation flow of the hydropower plant in time period t in k; Relationship between hydropower station and unit output: The power generation output of hydropower station k can be further expressed as the cumulative output of hydropower units in the power plant. The specific expression is as follows: In the formula, p h,t represents the power of the hydropower unit in time period h; p k,t represents the power of the hydropower plant in period k, t; Constraints on the number of starts of hydropower units: Constraints on the maximum number of starts of hydropower units: yes h,t -z h,t =u h,t -u h,t-1 y h,t +z h,t ≤1 In the formula, y h,t Indicates the startup state of the hydropower unit h period t is a 0-1 variable; z h,t Indicates the shutdown status of the hydropower unit in time period h, which is a 0-1 variable; u h,t 、u h,t-1 They represent the operating status of the hydropower unit h in time periods t and t-1 respectively; U h,max Indicates the maximum number of startup times of hydropower unit h; Constraints on the minimum number of units in operation for a hydropower plant: In the formula, y h,t Indicates the startup status of the hydropower unit in period h and t, which is a 0-1 variable; μ k Indicates the minimum number of units in operation at a hydropower station; S k represents the set of hydropower units in hydropower plant k; Constraints for hydropower units passing through vibration zones: The feasible power range of the hydropower unit is: In the formula, s h,t is the active power operation range of the hydropower unit in period h and t; e h,s,t It is used to indicate whether the hydropower unit h is within the feasible power operation range s during the period t; if Δ h,t Indicates whether the hydropower unit h crosses the feasible power range in period t, then: D h,t ≤|s h,t -s h,t-1 | S h D h,t ≥|s h,t -s h,t-1 | In the formula, s h,t-1 is the active power operation range of the hydropower unit in period h at t-1; Δ h,t is a 0-1 decision variable, if Δ h,t =1, it means that the active power operation range of the hydropower unit at time period h is different from that at time t-1; if Δ h,t =0, it means that the active power operation range of the hydropower unit in period h is the same as that at time t-1; S h is a constant greater than the maximum output of the hydropower unit h, used to assist in solving Δ h,t ; Since the absolute value is a nonlinear expression, the absolute value is linearized: The maximum number of times a hydropower unit can cross the feasible power interval is constrained: In the formula, is the auxiliary decision variable without absolute value; Δ h,max It indicates the maximum number of times that the hydropower unit h can pass through the vibration zone; Flow constraints for hydropower units and power plant reservoirs: Limited by the unit's flow capacity and gate opening, the unit's power generation flow and the reservoir's outflow flow should vary within a certain range: In the formula, Q h,t and They represent the upper and lower limits of the power generation flow of the hydropower unit h in time period t; q h,t is the power generation flow of the hydropower unit in period h; s h,t is the amount of water abandoned by the hydropower unit in period h; is the outflow flow of the hydropower plant in period k, QS max,k , QS min,k are the maximum and minimum outflow flows of hydropower plant k respectively; Initial and final water level deviation constraints: The initial and final water level deviation constraints are as follows: In the formula, are respectively the positive and negative deviations of the initial and final water levels of hydropower plant k; is the initial water level of hydropower plant k; h k,t is the water level of the hydropower plant in period k, where t is the last period; Power flow constraints for transmission equipment: The cross-sectional flow constraints of the first round of optimization model solution and safety verification can be described as: The cross-sectional flow constraints cleared in the second round and subsequent iterations of optimization model solution and safety verification can be described as: Where FP s,t is the power flow of section s in period t; N represents the number of units; P i,t is the active power of unit i in period t; D is the active power of the unit i in the previous period t; k,t is the bus load value of node k in period t; are the forward and reverse power flow transmission limits of section s respectively; G s-i G is the generator output power transfer distribution factor of the node where unit i is located to section s; s-k is the output power transfer distribution factor of node k to section s; G s-j is the output power transfer distribution factor of the node where the tie line j is located to the line s; are the positive and negative flow relaxation variables of section s respectively; It is the AC power flow of the last round of safety correction results in section s and time period t.
6. The water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions according to claim 1, Features: The boundary data verification includes integrity verification, rationality verification and relevance verification; wherein, the integrity verification is used to verify data completeness, the rationality verification is used to verify data rationality, and the relevance verification is used to verify whether there is a conflict between constraints.
7. The water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions according to claim 1, Features: The model solution and safety check iterative calculation are used to eliminate the equipment / section exceeding the limit in the power grid. The specific iterative method is as follows: The water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions adopts the DC power flow calculation method to adjust the unit operation status and unit output to eliminate cross-section limit; The safety check uses AC power flow calculation to analyze the over-limit situation of the power grid, and sends the newly added over-limit equipment and over-limit period to the optimization model; Carry out iterative calculations to solve the water-fire coordination optimization model and perform safety verification considering primary and secondary energy coupling and carbon emissions until no equipment in the power grid exceeds its limit or the maximum number of iterations is reached.
8. A water-fire coordination optimization system considering primary and secondary energy coupling and carbon emissions. It is characterized in that include: The calculation scenario generation module is used to obtain the boundary data of water-fire coordination optimization, determine the calculation cycle of water-fire coordination optimization considering primary and secondary energy coupling and carbon emissions, and generate the corresponding calculation scenario; The optimization model building module is used to build a water-fire coordination optimization model with the goal of minimizing the cost of hydro-thermal power generation and comprehensively considering the coupling of primary and secondary energy and carbon emissions; The data verification module is used to conduct boundary data verification to ensure that the feasible domain of the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions is not empty; The optimization solver calling module is used to call the optimization solver to solve the water-fire coordination optimization model considering primary and secondary energy coupling and carbon emissions; The model solving and safety verification iterative calculation module is used to use the optimization solver to solve the water-fire coordination optimization model that considers primary and secondary energy coupling and carbon emissions. The safety verification uses the calculation scenario and the optimization model result data as the boundary, and uses the PQ decoupling method to calculate the equipment flow. If no new equipment exceeds the limit, the calculation is successful. If the new equipment exceeds the limit, the new equipment that exceeds the limit will be added to the water-fire coordination optimization model, and the optimization solver will be called again to solve until a water-fire power generation plan that meets the safety of the power grid is obtained. The process settlement module is used to output the output of the hydro-thermal power unit, power generation cost, startup cost, coal consumption, and reservoir water level result information if the calculation is successful.
9. A water-fire coordination optimization device considering primary and secondary energy coupling and carbon emissions, It is characterized in that The electronic device comprises a processor and a memory, wherein the memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the electronic device implements the steps of the water-fire coordination optimization method considering primary-secondary energy coupling and carbon emissions as described in any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the water-fire coordination optimization method considering primary and secondary energy coupling and carbon emissions as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Water, fire and light combined optimization power generation scheduling optimization method considering security constraints
CN103414206A
Multi-energy power system time sequence production simulation method considering carbon emission
CN117013623A
Power system production simulation method and system considering carbon transaction cost
CN117236977A
Power grid real-time scheduling optimization method and system, computer device and storage medium
WO2024022194A1
