A day-ahead-intraday coordinated power grid regulation optimization method, device and medium
By constructing a few days and intraday optimization model, considering the relationship between unit participation in frequency regulation and hill climbing, the problem of insufficient or loss of load in grid scheduling is solved, the flexibility and safety of the power grid is improved, and the operating costs are reduced.
Patent Information
- Application Number
- CN202411303399.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-09-19
AI Technical Summary
When facing the volatility of renewable energy power generation output, existing power grid scheduling methods are prone to insufficient climbing or loss of load, resulting in waste of resources and improper scheduling.
By constructing a day-and-day optimization model, considering the relationship between unit participation in frequency modulation and hill climbing, and constructing constraints to optimize frequency modulation and hill climbing auxiliary services, ensuring that the power grid has sufficient flexibility in regulation capabilities, and through the Bernstein polynomial interpolation conversion model to improve Computational efficiency.
It effectively reduces the situation of insufficient climbing or loss of load, improves the flexibility and safety of the power grid, optimizes the grid scheduling, and reduces operating costs.
Smart Images

Figure CN118826073B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid regulation, and in particular to a day-ahead and intra-day coordinated power grid regulation optimization method, device and medium. Background Art
[0002] In recent years, renewable energy has gradually increased its share in power generation resources in the power system due to its low-carbon and environmentally friendly operating characteristics. However, due to the large volatility of renewable energy power generation output, there is uncertainty on both the source and load sides of the power system. When flexibility resources are insufficient, the power system cannot effectively cope with the volatility of renewable energy power generation output, the dispatch plan is more conservative, and even wind and solar power are abandoned, resulting in a waste of resources.
[0003] In order to achieve optimal dispatch of electricity, existing technologies usually adopt day-ahead optimal dispatch, intraday optimal dispatch or day-ahead-intraday coordinated optimal dispatch. However, the existing dispatching methods do not adequately consider the participation of units in auxiliary services, resulting in insufficient ramping or load loss, and are unable to meet dispatching requirements. Summary of the invention
[0004] In view of this, the present invention provides a day-ahead and day-intraday coordinated power grid regulation optimization method, device and medium to solve the problem that the existing scheduling method is prone to insufficient ramping or load loss.
[0005] In a first aspect, the present invention provides a day-ahead-intraday coordinated power grid regulation optimization method, the method comprising: constructing a first constraint condition based on the relationship between the unit's participation in frequency regulation, climbing, and the unit's output limit and the unit's climbing capability, constructing a first objective function with the minimum cost based on the unit's day-ahead planned output cost and the frequency regulation cost, and obtaining a day-ahead optimization model; solving the day-ahead optimization model to obtain a day-ahead clearing result; based on the day-ahead clearing result, constructing a second constraint condition based on the relationship between the unit's participation in frequency regulation, climbing, and the unit's output limit and the unit's climbing capability, constructing a second objective function with the minimum cost based on the intraday planned output cost, the load loss cost, and the insufficient climbing cost, and obtaining the intraday optimization model; solving the intraday optimization model to obtain the intraday planned output and climbing capacity for power grid regulation.
[0006] The day-ahead-intraday coordinated power grid regulation optimization method provided by the embodiment of the present invention, when constructing the day-ahead optimization model and the intraday optimization model, constructs constraint conditions based on the relationship between the unit's participation in frequency regulation, climbing, and the unit's output limit and the unit's climbing ability. As a result, compared with the conventional flexibility resource optimization method, the optimization method takes into account the characteristics and differences of the unit's simultaneous participation in frequency regulation and climbing auxiliary services, and reasonably optimizes frequency regulation and climbing auxiliary services in the day-ahead and intraday stages to ensure that the power grid has sufficient flexibility regulation capabilities. In addition, when determining the second objective function based on the minimization of the cost of the intraday planned output cost, the load loss cost, and the cost of insufficient climbing, the occurrence of insufficient climbing or load loss is reduced.
[0007] In an optional implementation, the first constraint includes a first output constraint and a first climbing constraint, and the first constraint is constructed based on the relationship between the unit's participation in frequency regulation, climbing, the unit's output limit, and the unit's climbing capability, including: constructing the first output constraint based on the unit's planned output the day before, frequency regulation capacity, and the relationship between the day before climbing capacity and the unit's output limit within a continuous time; constructing the first climbing constraint based on the unit's planned output the day before, the regulation rate of the frequency regulation service, and the relationship between the day before climbing capacity and the unit's climbing capability limit.
[0008] In this embodiment, by constructing the first output constraint and the first climbing constraint in continuous time, compared with discrete time optimization, it is more in line with the actual change curve of the load and achieves a higher optimization level.
[0009] In an optional implementation, the first constraint condition also includes: a first system power balance constraint, a first auxiliary service capacity constraint and a unit combination constraint; the first system power balance constraint is determined based on the relationship between the unit's day-ahead planned output and the grid load; the first auxiliary service capacity constraint is determined based on the relationship between the day-ahead frequency regulation capacity and the day-ahead frequency regulation capacity demand and the relationship between the day-ahead ramping capacity and the day-ahead ramping capacity demand; the unit combination constraint is determined based on the constraints on the unit startup time and startup cost.
[0010] In this embodiment, by establishing the first auxiliary service capacity constraint based on the frequency regulation capacity demand and the ramp capacity demand, it is ensured that the clearing result obtained by solving meets the frequency regulation and ramp capacity demand, reduces the probability of insufficient ramping, and improves the safety of the power grid.
[0011] In an optional implementation, the day-ahead optimization model is solved to obtain the day-ahead clearing result, including: transforming the day-ahead optimization model using Bernstein polynomial interpolation to obtain a mixed integer programming model; solving the mixed integer programming model to obtain the day-ahead planned output result, the frequency regulation capacity result and the ramp reservation result.
[0012] In this embodiment, when solving the day-ahead optimization model, the day-ahead optimization model is first transformed using Bernstein polynomial interpolation to obtain a mixed integer programming model, and then the mixed integer programming model is transformed to reduce the required computing resources and improve computing efficiency.
[0013] In an optional implementation, the day-ahead clearing result includes the day-ahead planned output result and the frequency regulation capacity result, and the second constraint includes the second output constraint and the second climbing constraint. Based on the day-ahead clearing result, the second constraint is constructed based on the relationship between the unit's participation in frequency regulation, climbing, the unit's output limit, and the unit's climbing capability, including: constructing the second output constraint based on the unit's intraday planned output, frequency regulation capacity results, and the relationship between the intraday climbing capacity in a continuous time and the day-ahead planned output result and the unit's output limit; constructing the second climbing constraint based on the unit's intraday planned output, the regulation rate of the frequency regulation service, and the relationship between the intraday climbing capacity and the day-ahead planned output result and the unit's climbing capability limit.
[0014] In this embodiment, the second output constraint and the second climbing constraint are constructed based on the day-ahead clearing results and the relationship between the continuous time up-climbing, frequency regulation auxiliary services and the unit output limit and climbing capacity, to ensure that sufficient climbing margin is reserved in the day-ahead stage, and accurate climbing capacity is reserved according to a more accurate load curve in the intraday stage, so as to achieve global optimization of flexible climbing capacity coordinated by the day-ahead and intraday.
[0015] In an optional embodiment, the second constraint condition also includes: a second system power balance constraint and a second auxiliary service capacity constraint; the second system power balance constraint is determined based on the relationship between the unit's daily planned output and the grid load and load loss power; the second auxiliary service capacity constraint is determined based on the relationship between the daily ramp capacity and the daily ramp capacity demand.
[0016] In this embodiment, a second auxiliary service capacity constraint is constructed based on the intra-day ramp capacity demand, so that the intra-day planned output and the intra-day ramp capacity obtained by the constraint meet the demand.
[0017] In an optional implementation, the intraday optimization model is solved to obtain the intraday planned output and climbing capacity for grid regulation, including: transforming the intraday optimization model using Bernstein polynomial interpolation to obtain a linear programming model; solving the linear programming model to obtain the intraday planned output and climbing capacity for grid regulation.
[0018] In this embodiment, when solving the intraday optimization model, the intraday optimization model is first transformed using Bernstein polynomial interpolation to obtain a linear programming model, and then the linear programming model is further reduced to further reduce the required computing resources and improve computing efficiency.
[0019] In a second aspect, the present invention provides a day-ahead-intraday coordinated power grid regulation and optimization device, the device comprising: a first model determination module, used to construct a first constraint condition based on the relationship between the unit's participation in frequency regulation, climbing, unit output limit and unit climbing capability, and to construct a first objective function with the minimum cost using the unit's day-ahead planned output cost and frequency regulation cost to obtain a day-ahead optimization model; a first solving module, used to solve the day-ahead optimization model to obtain a day-ahead clearing result; a second model determination module, used to construct a second constraint condition based on the day-ahead clearing result based on the relationship between the unit's participation in frequency regulation, climbing, unit output limit and unit climbing capability, and to construct a second objective function with the minimum cost using the intraday planned output cost, load loss cost and insufficient climbing cost to obtain an intraday optimization model; a second solving module, used to solve the intraday optimization model to obtain the intraday planned output and climbing capacity for power grid regulation.
[0020] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the day-ahead-and-intraday coordinated power grid regulation optimization method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0021] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the day-ahead and intra-day coordinated power grid regulation optimization method of the first aspect or any corresponding embodiment thereof.
[0022] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the day-ahead and intra-day coordinated power grid regulation optimization method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 is a flow chart of a method for optimizing power grid regulation by day-ahead and intra-day coordination according to an embodiment of the present invention;
[0025] Figure 2 is a flow chart of another day-ahead-intraday coordinated power grid regulation optimization method according to an embodiment of the present invention;
[0026] Figure 3 is a structural block diagram of a power grid regulation optimization device for day-ahead and intra-day coordination according to an embodiment of the present invention;
[0027] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0029] According to an embodiment of the present invention, an embodiment of a day-ahead and intra-day coordinated power grid regulation optimization method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] In this embodiment, a day-ahead-intraday coordinated power grid regulation optimization method is provided, which can be used for electronic devices such as computers, mobile phones, tablet computers, etc. Figure 1 is a flow chart of a method for optimizing power grid regulation by day-ahead and intra-day coordination according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0031] Step S101, constructing the first constraint condition based on the relationship between the unit's participation in frequency regulation, climbing, unit output limit and unit climbing ability, and constructing the first objective function with the minimum cost based on the unit's day-ahead planned output cost and frequency regulation cost to obtain a day-ahead optimization model.
[0032] Specifically, the participation of flexible resources in auxiliary services is still in its infancy in China, and the relationship between the various service markets is not clear enough. The demand for the adjustment rate during unit adjustment is mainly concentrated in the frequency regulation and ramp climbing auxiliary service parts. The capacity of the unit participating in frequency regulation or ramp climbing is optimized and reserved separately. For frequency regulation or ramp climbing, the relevant parameters are shown in Table 1 below:
[0033] Table 1
[0034]
[0035] Therefore, when considering frequency regulation and ramp climbing for grid dispatch optimization, the first constraint condition can be constructed based on the above parameters, with the relationship between the unit's participation in frequency regulation, ramp climbing and the unit's output limit, and the relationship between the unit's participation in frequency regulation, ramp climbing and the unit's climbing capacity. For example, the unit's planned output, frequency regulation capacity and climbing capacity do not exceed the unit's output limit, and at the same time do not exceed the unit's climbing capacity limit.
[0036] When constructing the first objective function, the cost of the planned output on the day before can be considered, as well as the cost of the corresponding frequency regulation capacity. In addition, the total startup cost must also be considered, and the first objective function is constructed with the goal of minimizing all costs.
[0037] Step S102, solve the day-ahead optimization model to obtain the day-ahead clearing result. Specifically, when solving the day-ahead optimization model, the first objective function can be solved under the constraint of the first constraint condition to determine the day-ahead planned output, frequency regulation, ramping and other related parameters corresponding to the minimum cost, thereby obtaining the day-ahead clearing result.
[0038] Step S103, based on the day-ahead clearing result, the second constraint condition is constructed based on the relationship between the unit's participation in frequency regulation, climbing and the unit's output limit and the unit's climbing ability, and the second objective function with the minimum cost is constructed based on the intra-day planned output cost, load loss cost and insufficient climbing cost to obtain the intra-day optimization model.
[0039] Specifically, similar to the first constraint condition constructed during day-ahead optimization, the related constraints of frequency regulation and ramp climbing also need to be considered when constructing the second constraint condition, that is, the second constraint condition is constructed based on the relationship between the unit's participation in frequency regulation, ramp climbing and the unit's output limit, and the relationship between the unit's participation in frequency regulation, ramp climbing and the unit's ramp climbing ability. It should be noted that when constructing the second constraint condition, the solution result of the day-ahead optimization model can be considered and substituted into the second constraint condition to determine the second constraint condition.
[0040] In addition, in order to avoid load loss and insufficient climbing, when constructing the second objective function, the daily planned output cost, load loss cost and insufficient climbing cost are considered, and the second objective function is constructed with the goal of minimizing all costs.
[0041] Step S104, solving the intraday optimization model to obtain the intraday planned output and ramp capacity for power grid regulation. Specifically, when solving the intraday optimization model, the second objective function can be solved under the constraint of the second constraint condition to determine the intraday planned output and ramp capacity corresponding to the minimum cost, and then the intraday planned output and ramp capacity are used for power grid dispatching.
[0042] The day-ahead-intraday coordinated power grid regulation optimization method provided by the embodiment of the present invention, when constructing the day-ahead optimization model and the intraday optimization model, constructs constraint conditions based on the relationship between the unit's participation in frequency regulation, climbing, and the unit's output limit and the unit's climbing ability. As a result, compared with the conventional flexibility resource optimization method, the optimization method takes into account the characteristics and differences of the unit's simultaneous participation in frequency regulation and climbing auxiliary services, and reasonably optimizes frequency regulation and climbing auxiliary services in the day-ahead and intraday stages to ensure that the power grid has sufficient flexibility regulation capabilities. In addition, when determining the second objective function based on the minimization of the cost of the intraday planned output cost, the load loss cost, and the cost of insufficient climbing, the occurrence of insufficient climbing or load loss is reduced.
[0043] In this embodiment, a method for optimizing power grid regulation by day-ahead and intra-day coordination is provided, and the process includes the following steps:
[0044] Step S201, construct the first constraint condition based on the relationship between the unit's participation in frequency regulation, ramp climbing, unit output limit, and unit ramp climbing capability, and construct the first objective function with the minimum cost based on the unit's day-ahead planned output cost and frequency regulation cost, to obtain the day-ahead optimization model. Among them, the first constraint condition includes the first output constraint, the first ramp climbing constraint, the first system power balance constraint, the first auxiliary service capacity constraint, and the unit combination constraint. The first objective function can be expressed by the following formula:
[0045]
[0046] In the formula, T DA represents the total planned time of the day before, I is the total number of units, p i,DA ( t ), r u,i ( t ), r d,i ( t ) are respectively i At the moment t The day-ahead planned output, upward frequency regulation capacity and downward frequency regulation capacity, C p,i , C ru,i , C rd,i For the crew i The unit generation cost, upward and downward frequency regulation costs, SU i ( t ) is the unit i total startup cost.
[0047] Specifically, the above step S201 includes:
[0048] Step S2011, construct the first output constraint according to the relationship between the unit's planned output, frequency regulation capacity, and the unit's output limit in continuous time. Specifically, the first output constraint determines the relationship between frequency regulation, climbing auxiliary service, and the unit's output limit in continuous time. That is, when the unit is producing, it needs to reserve the frequency regulation capacity of this period and the climbing capacity of the next period. Therefore, the first output constraint is expressed by the following formula:
[0049]
[0050]
[0051] In the formula, T V Indicates the planning period interval, v u,i,DA ( t ), v d,i,DA ( t ) are respectively i At the moment t The day-ahead upward and downward climbing capacity, p i,min , p i,max For the crew i The minimum and maximum output limits, u i ( t ) is the unit i At the moment t The on / off status, 1 means running, 0 means stopping.
[0052] Step S2012, construct the first climbing constraint according to the planned output of the unit the day before, the adjustment rate of the frequency regulation service, and the relationship between the day-ahead climbing capacity and the unit climbing capability limit. Specifically, the first climbing constraint determines the relationship between frequency regulation, climbing auxiliary service and the unit climbing capability in continuous time, that is, the unit needs to be able to meet the flexible adjustment capability of providing frequency regulation and climbing auxiliary services at the same time. Among them, the adjustment rate of the frequency regulation service is determined based on the ratio of the frequency regulation capacity and the response time limit of the frequency regulation capacity. Therefore, the first climbing constraint is expressed by the following formula:
[0053]
[0054]
[0055] In the formula, T R Indicates the response time limit of the frequency regulation capacity, v i,down ,v i,up For the crew i The maximum downward and upward climbing ability limits. Indicates the unit i At the moment t The differential of the day-ahead planned output.
[0056] In an optional implementation, the first system power balance constraint is determined based on the relationship between the unit's planned output and the grid load; that is, the first system power balance constraint is expressed by the following formula:
[0057]
[0058] In the formula, P DA ( t ) is the day before The grid load at the moment.
[0059] The first auxiliary service capacity constraint is determined based on the relationship between the day-ahead frequency regulation capacity and the day-ahead frequency regulation capacity demand and the relationship between the day-ahead ramping capacity and the day-ahead ramping capacity demand. Specifically, the first auxiliary service capacity constraint is expressed by the following formula:
[0060]
[0061]
[0062]
[0063]
[0064] In the formula, R u ( t )and R d ( t ) are respectively The power grid's downward and upward frequency regulation capacity requirements at all times, V u,DA ( t )and V d,DA ( t ) are respectively The power grid’s capacity demand is ramped down and down at the moment.
[0065] The unit combination constraint is determined based on the constraints on the unit startup time and startup cost. Specifically, the unit combination constraint is expressed by the following formula:
[0066]
[0067]
[0068]
[0069] In the formula, C s,i For the crew i The startup cost, T i,ON , T i,OFF For the crew i Minimum startup time and minimum downtime. Indicates that from t to t+T i+ON Any moment in time The on / off status, Indicated in The differential of .
[0070] Based on the above first objective function and the first constraint, the day-ahead optimization model can also be called the day-ahead multi-type market continuous time joint optimization model.
[0071] Step S202, solving the day-ahead optimization model to obtain the day-ahead clearing result.
[0072] Specifically, the above step S202 includes:
[0073] Step S2021, the day-ahead optimization model is transformed using Bernstein polynomial interpolation to obtain a mixed integer programming model. Specifically, since the first constraint condition and the first objective function include differentials and integrals, which are not easy to solve, the model is transformed using Bernstein polynomial interpolation to eliminate the differentials and integrals in the model and obtain a mixed integer programming model.
[0074] time t Indicates the time point of the plan. t , t + T v ) Specific time in the period t 0, the basis function vector of the Bernstein polynomial can be expressed by the following formula:
[0075]
[0076] in,
[0077] In the formula, Q is the order of the Bernstein polynomial, is the basis function vector of Bernstein polynomial, including Q +1 basis function (q =0, … , Q ), τ for t 0 from [ t , t + T v ) to the interval [0,1), Expressed as the standard basis functions of Bernstein polynomials, Indicates the number of combinations, as follows:
[0078]
[0079] Therefore, the corresponding continuous variables and continuous parameters can be converted into Bernstein interpolation coefficients. For example, the planned output for the day ahead can be converted as follows:
[0080]
[0081] In the formula, for The vector composed of the corresponding Q+1 interpolation coefficients eliminates the time t, so the interpolation coefficients can be used for optimization and solution.
[0082] The following parameters and arguments are all in superscript B To represent the interpolation coefficient, no further details are given.
[0083] Since ramping represents the rate of change of power and frequency modulation represents power, which are not of the same dimension, there are differential and integral terms in the model. According to the properties of Bernstein polynomials, its differential is a Bernstein polynomial of one order down, and its integral is a Bernstein polynomial of one order up. Therefore, and its differential There is a fixed (Q + 1) ×Q dimensional incidence matrix M. Similarly and its integral There is a fixed Q×(Q + 1) dimensional incidence matrix N, for t arrive t + T V The integral term needs to be considered and The correlation matrix X between them.
[0084] Therefore, for the day-ahead optimization model, its first objective function can be transformed into the following formula:
[0085]
[0086] The first constraint can be transformed into the following formula:
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099] Therefore, by transforming the first objective function and the first constraint condition in the above manner, the day-ahead optimization model is transformed into a mixed integer programming model.
[0100] Step S2022, solve the mixed integer programming model to obtain the day-ahead planned output result, frequency regulation capacity result and ramp reservation result. Specifically, after the mixed integer programming model is converted, a mature mixed integer programming optimization solving software such as CPLEX can be used to solve it to obtain the day-ahead planned output result, frequency regulation capacity result and ramp reservation result.
[0101] Step S203, based on the day-ahead clearing result, the second constraint condition is constructed based on the relationship between the unit's participation in frequency regulation, ramping, unit output limit, and unit ramping capability, and the second objective function with the minimum cost is constructed based on the intraday planned output cost, load loss cost, and ramping deficiency cost, to obtain an intraday optimization model; wherein the second constraint condition includes the second output constraint, the second ramping constraint, the second system power balance constraint, and the second auxiliary service capacity constraint. The second objective function can be expressed by the following formula:
[0102]
[0103] Where: T RTIndicates the total planned time for the day, For the crew i At the moment t The daily planned output is C p,s Penalty cost for grid load loss, For the power grid at all times t of load loss power. C vu , C vd Penalty costs for insufficient capacity for grid ramping up and down, v u,RT ( t ), v d,RT ( t ) is the insufficient capacity of the grid to ramp up and down.
[0104] Specifically, the above step S203 includes:
[0105] Step S2031, construct the second output constraint according to the unit's daily planned output, frequency regulation capacity results, and the relationship between the daily climbing capacity and the planned output results and the unit output limit in continuous time; specifically, the second output constraint determines the relationship between frequency regulation, climbing auxiliary services and the unit output limit in continuous time. That is, while the unit is outputting, it needs to reserve the frequency regulation capacity of this period and the climbing capacity of the next period. Therefore, the second output constraint is expressed by the following formula:
[0106]
[0107]
[0108] In the formula, v u,i,RT ( t )and v d,i,RT ( t ) are respectively i At the moment t The daily upward and downward climbing capacity of the superscript * indicates that the variable is obtained by the optimization calculation of the day-ahead optimization model, that is, it can be determined from the day-ahead clearing results. For example, and They represent the downward adjustment capacity result and the upward adjustment capacity result in the day-ahead clearing result respectively. It can be determined based on the day-ahead planned output in the day-ahead clearing results.
[0109] Step S2032, construct a second climbing constraint based on the relationship between the unit's daily planned output, the adjustment rate of the frequency regulation service, the daily climbing capacity, the planned output result the day before, and the unit's climbing capability limit. Specifically, the second climbing constraint determines the relationship between frequency regulation, climbing auxiliary service and the unit's climbing capability over a continuous time, that is, the unit needs to be able to provide flexible adjustment capabilities that provide both frequency regulation and climbing auxiliary services, where the adjustment rate of the frequency regulation service is determined based on the ratio of the frequency regulation capacity to the response time limit of the frequency regulation capacity. Therefore, the second climbing constraint is expressed by the following formula:
[0110]
[0111]
[0112] In the formula, Indicates the unit i At the moment t The differential of the day-ahead planned output.
[0113] In an optional implementation manner, the second system power balance constraint is determined based on the relationship between the unit's daily planned output and the grid load and load loss power; specifically, the second system power balance constraint is expressed by the following formula:
[0114]
[0115] In the formula, P RT ( t ) is the day The grid load at the moment.
[0116] The second auxiliary service capacity constraint is determined based on the relationship between the intra-day ramp capacity and the intra-day ramp capacity demand. Specifically, the second auxiliary service capacity constraint is expressed by the following formula:
[0117]
[0118]
[0119] In the formula, V u,RT ( t ), V d,RT ( t )for The downward and upward climbing capacity demand of the power grid at the moment. Since the prediction accuracy of new energy sources within the day is relatively high, it can generally be set V d,RT ( t )< V d,DA ( t ),V u,RT ( t )< V u,DA ( t ).
[0120] Based on the above second objective function and second constraint, the intraday optimization model can also be called an intraday multi-type market continuous time joint optimization model.
[0121] Step S204, solving the intra-day optimization model to obtain the intra-day planned output and ramp capacity for power grid regulation.
[0122] Specifically, the above step S204 includes:
[0123] Step S2041, the intraday optimization model is transformed by Bernstein polynomial interpolation to obtain a linear programming model; specifically, similar to step S2021, when solving the intraday optimization model, the Bernstein polynomial can be converted into interpolation coefficients to transform the model before solving it. For the intraday optimization model, its second objective function can be transformed into the following formula:
[0124]
[0125] The second constraint can be transformed into the following formula:
[0126]
[0127]
[0128]
[0129]
[0130]
[0131]
[0132]
[0133] Therefore, by transforming the second objective function and the second constraint condition in the above manner, the intraday optimization model is transformed into a linear programming model.
[0134] Step S2042, solve the linear programming model to obtain the daily planned output and ramp capacity for power grid regulation. Specifically, after the linear programming model is converted, it can be solved using mature linear programming optimization solving software such as CPLEX to obtain the daily planned output and ramp capacity results.
[0135] The day-ahead-intraday coordinated power grid regulation optimization method provided by the embodiment of the present invention, by constructing a continuous-time market optimization mode, is more in line with the actual load change curve than discrete-time optimization, and constructs the continuous-time climbing, frequency regulation auxiliary services and the correlation relationship constraints of the unit output limit and climbing capacity, thereby achieving a higher optimization level. By reserving sufficient climbing margin in the day-ahead stage and accurately reserving climbing capacity according to a more accurate load curve in the intraday stage, the global optimization of flexible climbing capacity coordinated by the day-ahead-intraday is achieved.
[0136] As a specific application example of the embodiment of the present invention, Figure 2 As shown, the day-ahead and day-intraday coordinated power grid regulation optimization method can be implemented using the following process:
[0137] 1. Construct the correlation constraints between frequency modulation and ramping on a continuous time scale, and establish a continuous time joint optimization model for multi-type markets on the day-ahead.
[0138] 2. The continuous-time joint optimization model of the multi-type market on the day-ahead is transformed through Bernstein polynomial interpolation to obtain the day-ahead planned output, frequency regulation capacity and ramp reservation results.
[0139] 3. Considering the day-ahead frequency modulation clearing results, a continuous-time joint optimization model for multiple types of intraday markets is established.
[0140] 4. The continuous-time joint optimization model of the intraday multi-type market is transformed through Bernstein polynomial interpolation to obtain the intraday planned output and ramp capacity results.
[0141] At the same time, in order to verify the effectiveness of this method, a simulation example is conducted based on the data of a certain actual provincial grid. The proportion of new energy is increased on the basis of the original data, and the proportion of new energy installed capacity is set to 60%, which has a high uncertainty. In the example system, there are 125 units involved in the regulation, the frequency regulation capacity demand is set to 5% of the system load, the day-ahead ramp capacity demand is set according to 10% of the new energy output forecast, and the intraday ramp capacity is set according to 5% of the new energy output forecast.
[0142] The specific settings are as follows:
[0143] Solution 1: No climbing assistance service is considered, only frequency regulation assistance service is considered;
[0144] Scheme 2: Discrete-time optimization considering the combination of frequency regulation and hill climbing assistance services.
[0145] Solution 3: The method proposed in the present invention considers continuous time optimization combining frequency modulation and hill climbing assistance services.
[0146] The difference between the intraday electricity energy and the day-ahead electricity energy is settled using the intraday electricity price. The day-ahead and intraday market settlement costs obtained by optimizing the three schemes are shown in Table 2. It can be seen that Scheme 3 has the highest operating cost, and Scheme 1 has the lowest day-ahead operating cost, because the day-ahead reserved ramping auxiliary service increases the cost, and the continuous time model requires more resources than the discrete model to meet the day-ahead net load changes. However, in the intraday stage, due to the uncertainty of new energy forecasts, Scheme 1 did not reserve sufficient ramping capacity, resulting in more ramping shortages and load loss. Scheme 2 did not consider the changes in continuous time, and the reserved grid regulation capacity was also insufficient, resulting in load loss and ramp shortages. Scheme 3 uses a continuous time model to effectively allocate ramping resources, and the real-time power generation adjustment cost is lower. At the same time, there is no load loss and ramp shortage, which improves the safety of the power grid. From the perspective of overall operating costs, the continuous-time model proposed in Plan 3 saves 20,840,607 yuan and 11,183,106 yuan in total day-ahead and real-time operating costs compared with Plans 1 and 2. In power grids where new energy accounts for a relatively high proportion, it can significantly improve the optimal allocation level of flexible resources in the power grid and improve the safety and economy of the power grid.
[0147] Table 2
[0148]
[0149] The day-ahead-intraday coordinated grid regulation optimization method provided in this embodiment is designed to meet the global optimization requirements of the new power system for multi-period grid flexibility, and the associated constraints of the flexible regulation capabilities of ramping and frequency regulation in continuous time are designed, and a continuous time joint optimization modeling and solution method considering multiple types of markets is proposed. Combining the globality of the day-ahead scale and the accuracy of the intraday scale, sufficient ramp margin is reserved in the day-ahead stage, and accurate ramp capacity is reserved in the intraday stage according to a more accurate load curve, so as to achieve global optimization of the flexible ramping capability coordinated by the day-ahead-intraday.
[0150] In this embodiment, a day-ahead-intraday coordinated power grid regulation optimization device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0151] This embodiment provides a day-ahead-intraday coordinated power grid regulation optimization device, such as Figure 3 As shown, including:
[0152] The first model determination module 31 is used to construct a first constraint condition based on the relationship between the unit's participation in frequency regulation, ramp climbing, unit output limit, and unit ramp climbing capability, and to construct a first objective function with minimum cost based on the unit's day-ahead planned output cost and frequency regulation cost, to obtain a day-ahead optimization model;
[0153] The first solution module 32 is used to solve the day-ahead optimization model to obtain the day-ahead clearing result;
[0154] The second model determination module 33 is used to construct the second constraint condition based on the day-ahead clearing result, the relationship between the unit's participation in frequency regulation, ramping and the unit's output limit and the unit's ramping ability, and to construct the second objective function with the minimum cost based on the intraday planned output cost, the load loss cost and the ramping shortage cost, so as to obtain the intraday optimization model;
[0155] The second solution module 34 is used to solve the intra-day optimization model to obtain the intra-day planned output and ramp capacity for power grid regulation.
[0156] In an optional implementation, the first constraint condition includes a first output constraint and a first climbing constraint, and the first model determination module is specifically used to: construct the first output constraint according to the unit's planned output the day before, the frequency regulation capacity, and the relationship between the day before climbing capacity and the unit's output limit within a continuous time; construct the first climbing constraint according to the unit's planned output the day before, the regulation rate of the frequency regulation service, and the relationship between the day before climbing capacity and the unit's climbing capability limit.
[0157] In an optional implementation, the first constraint condition also includes: a first system power balance constraint, a first auxiliary service capacity constraint and a unit combination constraint; the first system power balance constraint is determined based on the relationship between the unit's day-ahead planned output and the grid load; the first auxiliary service capacity constraint is determined based on the relationship between the day-ahead frequency regulation capacity and the day-ahead frequency regulation capacity demand and the relationship between the day-ahead ramping capacity and the day-ahead ramping capacity demand; the unit combination constraint is determined based on the constraints on the unit startup time and startup cost.
[0158] In an optional implementation, the first solving module is specifically used to: transform the day-ahead optimization model using Bernstein polynomial interpolation to obtain a mixed integer programming model; solve the mixed integer programming model to obtain the day-ahead planned output result, frequency regulation capacity result and ramp reservation result.
[0159] In an optional implementation manner, the day-ahead clearing result includes the day-ahead planned output result and the frequency regulation capacity result, the second constraint condition includes the second output constraint and the second climbing constraint, and the second module determination module is specifically used to: construct the second output constraint according to the relationship between the unit's intraday planned output, the frequency regulation capacity result, and the intraday climbing capacity in a continuous time and the day-ahead planned output result and the unit output limit; construct the second climbing constraint according to the unit's intraday planned output, the regulation rate of the frequency regulation service, and the relationship between the intraday climbing capacity and the day-ahead planned output result and the unit climbing capacity limit.
[0160] In an optional implementation, the second constraint condition also includes: a second system power balance constraint and a second auxiliary service capacity constraint; the second system power balance constraint is determined based on the relationship between the unit's daily planned output and the grid load and load loss power; the second auxiliary service capacity constraint is determined based on the relationship between the daily ramp capacity and the daily ramp capacity demand.
[0161] In an optional implementation, the second solving module is specifically used to: transform the intraday optimization model using Bernstein polynomial interpolation to obtain a linear programming model; solve the linear programming model to obtain the intraday planned output and ramp capacity for grid regulation.
[0162] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0163] The embodiment of the present invention also provides a computer device having the above Figure 3 The day-ahead and intraday coordinated grid regulation optimization device shown.
[0164] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 4 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4A processor 10 is taken as an example.
[0165] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0166] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0167] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0168] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0169] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0170] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0171] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0172] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A day-ahead and day-intraday coordinated power grid regulation optimization method, characterized in that: The method comprises: The first constraint condition is constructed based on the relationship between the unit's participation in frequency regulation, ramp climbing, unit output limit, and unit ramp climbing capability. The first objective function with the minimum cost is constructed based on the unit's day-ahead planned output cost and frequency regulation cost. The day-ahead optimization model is obtained. The first objective function is expressed by the following formula: In the formula, T DA represents the total planned time of the day before, I is the total number of units, p i,DA ( t ), r u,i ( t ), r d,i ( t ) are respectively i At the moment t The day-ahead planned output, upward frequency regulation capacity and downward frequency regulation capacity, C p,i , C ru,i , C rd,i For the crew i The unit generation cost, upward and downward frequency regulation costs, SU i ( t ) is the unit i Total startup cost; Solving the day-ahead optimization model to obtain the day-ahead clearing result; Based on the day-ahead clearing results, the second constraint condition is constructed based on the relationship between the unit's participation in frequency regulation, ramping, unit output limit, and unit ramping capability. The second objective function with the minimum cost is constructed based on the intraday planned output cost, load loss cost, and ramping deficiency cost. The intraday optimization model is obtained. The second objective function is expressed by the following formula: In the formula, T RT Indicates the total planned time for the day, For the crew i At the moment t The daily planned output is C p,s Penalty cost for grid load loss, For the power grid at all times t The load loss power, C vu , C vd Penalty costs for insufficient capacity for grid ramping up and down, v u,RT ( t ), v d,RT ( t ) is the insufficient capacity of the grid to ramp up and down; Solving the intraday optimization model to obtain the intraday planned output and ramp capacity for power grid regulation; Solve the day-ahead optimization model to obtain the day-ahead clearing results, including: The day-ahead optimization model is transformed using Bernstein polynomial interpolation to obtain a mixed integer programming model. The first objective function is transformed into the following formula: In the formula, Q is the order of Bernstein polynomial, B represents the interpolation coefficient; Solving the mixed integer programming model to obtain the day-ahead planned output result, frequency regulation capacity result and ramp reserve result; Solving the intraday optimization model, the intraday planned output and ramp capacity for grid regulation are obtained, including: The intraday optimization model is transformed by using Bernstein polynomial interpolation to obtain a linear programming model, and the second objective function is transformed into the following formula: ; The linear programming model is solved to obtain the daily planned output and ramp capacity for power grid regulation.
2. The method according to claim 1, characterized in that The first constraint condition includes a first output constraint and a first climbing constraint. The first constraint condition is constructed based on the relationship between the unit's participation in frequency regulation, climbing, the unit's output limit, and the unit's climbing capability, including: The first output constraint is constructed according to the relationship between the unit's planned output the day before, the frequency regulation capacity, and the day before ramp capacity within a continuous period and the unit's output limit; The first ramp constraint is constructed according to the unit's planned output the day before, the regulation rate of the frequency regulation service, and the relationship between the day-ahead ramp capacity and the unit's ramp capability limit.
3. The method according to claim 1, characterized in that The first constraint condition also includes: a first system power balance constraint, a first auxiliary service capacity constraint and a unit combination constraint; The first system power balance constraint is determined based on the relationship between the unit's planned output and the grid load; The first auxiliary service capacity constraint is determined based on the relationship between the day-ahead frequency regulation capacity and the day-ahead frequency regulation capacity demand and the relationship between the day-ahead ramping capacity and the day-ahead ramping capacity demand; The unit combination constraint is determined based on the constraints on the unit startup time and startup cost.
4. The method according to claim 1, characterized in that: The day-ahead clearing result includes the day-ahead planned output result and the frequency regulation capacity result. The second constraint condition includes the second output constraint and the second ramp constraint. Based on the day-ahead clearing result, the second constraint condition is constructed based on the relationship between the unit's participation in frequency regulation, ramping, unit output limit, and unit ramping capability, including: The second output constraint is constructed based on the unit's daily planned output, frequency regulation capacity results, and the relationship between the daily ramp capacity in continuous time and the day-ahead planned output results and the unit output limit; The second climbing constraint is constructed according to the relationship between the unit's daily planned output, the regulation rate of the frequency regulation service, the daily climbing capacity, the day-ahead planned output result, and the unit's climbing capability limit.
5. The method according to claim 1, characterized in that The second constraint condition further includes: a second system power balance constraint and a second auxiliary service capacity constraint; The second system power balance constraint is determined based on the relationship between the unit's daily planned output and the grid load and load loss power; The second auxiliary service capacity constraint is determined based on a relationship between an intra-day ramping capacity and an intra-day ramping capacity demand.
6. A day-ahead and day-intraday coordinated power grid regulation optimization device, characterized in that: The device comprises: The first model determination module is used to construct the first constraint condition based on the relationship between the unit's participation in frequency regulation, ramp climbing, unit output limit, and unit ramp climbing capability, and to construct the first objective function with the minimum cost based on the unit's planned output cost and frequency regulation cost on the day before, to obtain the day-ahead optimization model. The first objective function is expressed by the following formula: In the formula, T DA represents the total planned time of the day before, I is the total number of units, p i,DA ( t ), r u,i ( t ), r d,i ( t ) are respectively i At the moment t The day-ahead planned output, upward frequency regulation capacity and downward frequency regulation capacity, C p,i , C ru,i , C rd,i For the crew i The unit generation cost, upward and downward frequency regulation costs, SU i ( t ) is the unit i Total startup cost; A first solving module is used to solve the day-ahead optimization model to obtain a day-ahead clearing result; The second model determination module is used to construct the second constraint condition based on the day-ahead clearing result, the relationship between the unit's participation in frequency regulation, ramping and the unit's output limit and the unit's ramping ability, and to construct the second objective function with the minimum cost based on the intraday planned output cost, the load loss cost and the ramping shortage cost, to obtain the intraday optimization model. The second objective function is expressed by the following formula: In the formula, T RT Indicates the total planned time for the day, For the crew i At the moment t The daily planned output is C p,s Penalty cost for grid load loss, For the power grid at all times t The load loss power, C vu , C vd Penalty costs for insufficient capacity for grid ramping up and down, v u,RT ( t ), v d,RT ( t ) is the insufficient capacity of the grid to ramp up and down; A second solution module is used to solve the intraday optimization model to obtain the intraday planned output and ramp capacity for power grid regulation; Solve the day-ahead optimization model to obtain the day-ahead clearing results, including: The day-ahead optimization model is transformed using Bernstein polynomial interpolation to obtain a mixed integer programming model. The first objective function is transformed into the following formula: In the formula, Q is the order of Bernstein polynomial, B represents the interpolation coefficient; Solving the mixed integer programming model to obtain the day-ahead planned output result, frequency regulation capacity result and ramp reserve result; Solving the intraday optimization model, the intraday planned output and ramp capacity for grid regulation are obtained, including: The intraday optimization model is transformed by using Bernstein polynomial interpolation to obtain a linear programming model, and the second objective function is transformed into the following formula: ; The linear programming model is solved to obtain the daily planned output and ramp capacity for power grid regulation.
7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the day-ahead and intra-day coordinated power grid regulation optimization method described in any one of claims 1 to 5 by executing the computer instructions.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the day-ahead and intra-day coordinated power grid regulation optimization method according to any one of claims 1 to 5.
