A method and system for optimizing power resource structure considering flexibility requirements
By constructing a two-layer planning model for flexibility supply and demand balance, the problem of difficulty in assessing the flexibility demand of the power grid is solved, the power resource structure is optimized, the power grid's ability to respond to net load fluctuations is improved, and the coordinated optimization of flexibility supply and demand is achieved.
Patent Information
- Application Number
- CN202410888289.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-04
AI Technical Summary
In a high-proportion renewable energy system, the flexibility requirements of the system are difficult to evaluate and meet, resulting in insufficient power grid regulation capabilities, wind curtailment, light curtailment, or load loss. It is difficult to directly establish flexibility supply and demand-related constraints with existing technology to optimize power. Resource structure.
Construct a two-layer planning model based on flexibility supply and demand balance, and introduce a penalty for insufficient flexibility through multi-objective optimization to optimize the power resource structure and improve the flexibility of power grid operation.
Quantify the power system's coping ability through the flexibility margin index, accurately optimize the power resource structure, improve the power grid's ability to respond to net load fluctuations, and reduce the uncertainty of new energy output.
Smart Images

Figure CN118410927B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power resource optimization, and in particular relates to a method and system for optimizing power resource structure taking flexibility requirements into account. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] In the planning method of a high-proportion renewable energy system, the net load fluctuations of the system can be smoothed out by combining the source and the grid, building a certain amount of backup capacity, or using robust optimization methods; however, the system's flexibility requirements will make it impossible to prepare to evaluate the system's ability to respond to net load fluctuations, which will in turn cause problems such as insufficient or excessive grid regulation capacity, and large-scale wind and solar power abandonment or load loss.
[0004] From the perspective of flexibility, we study the planning methods of power systems, improve the regulation capacity of power grids containing new energy sources through the rational use of configuration and the exploration of system flexibility potential. In the planning method taking into account flexibility demand, the balance of flexible supply and demand is a key issue different from traditional planning methods, and the focus is on the description of short-term fluctuations of new energy sources.
[0005] According to the inventors, existing research has incorporated the short-term uncertainty of new energy into the planning model by measuring the probability quantitative indicators of operational flexibility, studying the impact of hourly system constraints such as unit start and stop, ramp restrictions, etc. on typical days, but still uses the method of incorporating constraints in the operation stage and qualitative description in the planning stage to deal with the short-term uncertainty of new energy planning problems, making it difficult to directly establish flexibility supply and demand related constraints at the planning level. Therefore, how to evaluate the flexibility adjustment potential of the simulated operation layer and incorporate it into the configuration optimization layer to ensure the flexibility of power grid operation has become a key research issue in power system flexibility demand planning. Summary of the invention
[0006] In order to solve the above problems, the present invention proposes a method and system for optimizing the structure of electric power resources taking into account flexibility requirements, constructs a supply and demand balance model based on flexibility, introduces a penalty for insufficient flexibility, constructs a two-level planning model for electric power resources, and obtains an electric power resource planning scheme by solving the constructed two-level planning model through multi-objective optimization, thereby improving the accuracy of electric power resource structure optimization.
[0007] According to some embodiments, a first solution of the present invention provides a method for optimizing the structure of power resources taking into account flexibility requirements, using the following technical solution:
[0008] A method for optimizing power resource structure taking into account flexibility requirements, comprising:
[0009] Obtain basic data of the power system;
[0010] Based on the acquired data, a flexible supply and demand balance model of the power system is constructed;
[0011] Calculate the flexibility margin of the power system based on the constructed flexibility supply and demand balance model;
[0012] Considering the obtained flexibility margin, a two-level planning model for power resources is constructed;
[0013] Through the two-level planning model constructed by multi-objective optimization solution, the power resource planning scheme is obtained to complete the optimization of the power resource structure.
[0014] As a further technical limitation, the constructed two-level planning model of electric power resources includes an upper-level resource allocation optimization model and a lower-level simulation operation model, both of which consider flexibility supply and demand balance constraints; wherein the output of the upper-level resource allocation optimization model serves as the input of the lower-level simulation operation model, and the objective function of the lower-level simulation operation model considers the penalty for insufficient flexibility.
[0015] Furthermore, in the process of constructing a two-level programming model through multi-objective optimization solution, the lower-level simulation operation model performs a flexibility margin test based on the output results of the received upper-level resource configuration optimization model, and uses an affine adjustable robust optimization algorithm to solve the lower-level simulation operation model to obtain the optimal simulation operation plan. The upper-level resource configuration is adjusted according to the obtained optimal simulation operation plan to obtain the power resource planning plan, thereby completing the optimization adjustment of the power resource structure.
[0016] As a further technical limitation, the flexibility margin of the power system is the difference between the flexibility supply of the power system and the flexibility demand of the power system; the flexibility margin of the power system includes an upstream flexibility margin and a downstream flexibility margin; when the upstream flexibility margin is greater than zero, the flexibility supply of the power system in that period is sufficient; when the upstream flexibility margin is less than zero, the flexibility supply of the power system in that period is insufficient, resulting in an upstream flexibility shortage; when the downstream flexibility margin is greater than zero, the flexibility supply of the power system in that period is sufficient; when the downstream flexibility margin is less than zero, the flexibility supply of the power system in that period is insufficient, resulting in a downstream flexibility shortage.
[0017] As a further technical limitation, the constructed power system flexibility supply and demand balance model includes power system flexibility supply and power system flexibility demand; the power system flexibility supply is a flexibility resource with uncertain characteristics of power system output and load, and the power system flexibility supply includes upstream flexibility supply and downstream flexibility supply; the power system flexibility demand is the net load difference between the next moment and the current moment. When the power system flexibility demand is less than zero, the power system has a downstream flexibility demand, and when the power system flexibility demand is greater than zero, the power system has an upstream flexibility demand.
[0018] As a further technical limitation, the basic data of the power system obtained includes at least historical photovoltaic data, historical load data and time-series output data of net load of the power system.
[0019] According to some embodiments, a second solution of the present invention provides a power resource structure optimization system taking into account flexibility requirements, which adopts the following technical solutions:
[0020] A power resource structure optimization system taking into account flexibility requirements, comprising:
[0021] A data acquisition module, configured to acquire basic data of the power system;
[0022] A first modeling module is configured to construct a flexibility supply and demand balance model of the power system based on the acquired data;
[0023] A margin calculation module, configured to calculate the flexibility margin of the power system according to the constructed flexibility supply and demand balance model;
[0024] a second modeling module configured to construct a two-level planning model for power resources taking into account the obtained flexibility margin;
[0025] The structure optimization module is configured to obtain a power resource planning scheme through a two-level planning model constructed by multi-objective optimization solution to complete the optimization of the power resource structure.
[0026] According to some embodiments, a third solution of the present invention provides a computer-readable storage medium, which adopts the following technical solution:
[0027] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps in the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in the first solution of the present invention.
[0028] According to some embodiments, a fourth solution of the present invention provides an electronic device, which adopts the following technical solution:
[0029] An electronic device comprises a memory, a processor and a program stored in the memory and running on the processor, wherein when the processor executes the program, the steps in the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in the first solution of the present invention are implemented.
[0030] According to some embodiments, a fifth solution of the present invention provides a computer program product, which adopts the following technical solution:
[0031] A computer program product includes software codes, wherein the program in the software codes executes the steps in the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in the first solution of the present invention.
[0032] Compared with the prior art, the present invention has the following beneficial effects:
[0033] The present invention improves the optimization of power resource structure in view of the difficulty in meeting the planning requirements of power systems with a high proportion of renewable energy. By establishing a flexibility supply and demand balance model based on net load fluctuations, the flexibility margin is calculated according to the constructed flexibility supply and demand balance model, and a two-level planning model for power resources is constructed by considering the flexibility supply and demand balance constraints. The flexibility margin index is used to quantify the ability of the power system to cope with net load fluctuations at different load levels, and the ability is incorporated into the two-level planning model for iterative optimization. The uncertainty of new energy output and the problem of insufficient system inertia support caused by the high penetration rate of new energy are considered to accurately quantify the flexibility requirements of the power system and improve the accuracy of power resource structure optimization. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.
[0035] Figure 1 Schematic diagram of the envelope range of a polyhedron set under different uncertainties in the first embodiment of the present invention;
[0036] Figure 2 The figure is a flowchart of solving the bi-level programming model in the first embodiment of the present invention. DETAILED DESCRIPTION
[0037] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0038] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0039] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0040] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0041] Embodiment 1
[0042] Embodiment 1 of the present invention introduces a method for optimizing the structure of electric power resources taking into account flexibility requirements.
[0043] This embodiment comprehensively considers various types of flexibility resources and proposes a method for optimizing the power resource structure taking into account flexibility demand. By analyzing the operation mechanism of the flexibility resources of the power system, a flexibility supply and demand balance model is constructed, and a flexibility deficiency penalty is introduced to supplement the traditional power planning balance problem. A two-level planning model of the power system is constructed in combination with the constructed flexibility supply and demand balance model, and a multi-objective optimization method is used to achieve coordinated optimization of the flexibility and economy of the planning scheme. A time-series random production simulation method is used to verify the flexibility and economy of the planning scheme at the simulation operation layer.
[0044] As one or more implementation modes, the acquired basic data of the power system includes at least historical photovoltaic data, historical load data, and time-series output data of net load of the power system.
[0045] As one or more implementation modes, the constructed power system flexibility supply and demand balance model includes power system flexibility supply and power system flexibility demand; the power system flexibility supply is a flexibility resource with uncertain characteristics of power system output and load, and the power system flexibility supply includes upstream flexibility supply and downstream flexibility supply; the power system flexibility demand is the net load difference between the next moment and the current moment. When the power system flexibility demand is less than zero, the power system has a downstream flexibility demand, and when the power system flexibility demand is greater than zero, the power system has an upstream flexibility demand.
[0046] (a) Power system flexibility supply
[0047] All resources that can cope with the uncertain characteristics of system output and load can be regarded as flexibility resources. Adjustable thermal power units are the main resources that can provide up and down flexibility for the power system; energy storage devices and their scheduling strategies provide up and down flexibility for the power system; interruptible loads provide flexibility by adjusting the power consumption behavior on the load side.
[0048] Upstream flexibility supply of power system for ;in, , , , They represent the upward flexibility capacity of thermal power units, flexibility transformation units, energy storage devices, and interruptible loads respectively; , , , Respectively represent the total number of thermal power units, flexible transformation units, energy storage devices, and interruptible loads; , , , ; Indicates the unit i exist t The effort of the moment; , Respectively represent the unit i The upper and lower limits of output; , They respectively represent the upper and lower limits of the unit output after flexibility modification; , Respectively represent the unit i Startup and shutdown ramping; , Respectively represent the unit i Upward and downward climbing power; , is a 0-1 variable, representing the units i exist t The power on / off action at the moment, 1 means there is a power on or power off action; For energy storage devices k contribution; , Respectively represent energy storage devices k The upper limit of charge and discharge power; Energy storage device k exist t The energy of the moment; , Respectively represent energy storage devices k Upper and lower limits of storage capacity; Indicates that the interruptible load is t Interruption power at the moment; , Indicates the upper and lower limits of the interruptible load interruption power; is the time interval.
[0049] Power system downstream flexibility supply for ;in, , , , They represent the downstream flexibility capacity of thermal power units, flexibility transformation units, energy storage devices, and interruptible loads respectively; , , , .
[0050] (b) Power system flexibility requirements
[0051] Considering the volatility of photovoltaic power plants and the uncertainty of load, the flexibility demand of the power system can be combined with the two, and the change of net load is used to describe the flexibility demand. The flexibility of the system is directional. In a given time scale, the flexibility demand of the power system There are two situations: When , it indicates that the power system has downward flexibility demand; when When , it indicates that the power system has upward flexibility demand; that is, ;in, , Respectively , Net load at the moment, , for Load power at the moment; for The output power of new energy at all times.
[0052] The traditional uncertainty analysis method uses a box uncertainty set to describe the distribution space of uncertain quantities. Although the method is simple, it contains many invalid areas and is prone to over-conservatism. Therefore, this embodiment uses a polyhedral uncertainty set to describe the uncertainty of new energy output. By changing the uncertainty To control the conservatism of the system operation; that is ;in, Indicates the actual output of new energy; Indicates the expected value of output; Indicates the maximum fluctuation in the output range; Indicates uncertainty; Represents its uncertainty factor. The envelope range diagram of the polyhedron set under different uncertainties is shown in Figure 1 shown in Figure 1 In this paper, taking two new energy stations as an example, the horizontal and vertical axes represent the uncertainty factors of the two new energy stations. r The value of can represent the rThe uncertainty factors of all new energy stations must satisfy the requirement that the sum of their absolute values is less than or equal to the uncertainty, so the range of their possible values is the diamond in the picture.
[0053] (c) Power system flexibility margin
[0054] The power system flexibility margin is defined as the difference between the power system flexibility supply and the power system flexibility demand within a certain period of time, that is, . The flexibility margin of the power system includes the upstream flexibility margin and the downstream flexibility margin; when the upstream flexibility margin is greater than zero, the flexibility supply of the power system during this period is sufficient; when the upstream flexibility margin is less than zero, the flexibility supply of the power system during this period is insufficient, resulting in an upstream flexibility shortage; when the downstream flexibility margin is greater than zero, the flexibility supply of the power system during this period is sufficient; when the downstream flexibility margin is less than zero, the flexibility supply of the power system during this period is insufficient, resulting in a downstream flexibility shortage.
[0055] At a given time scale, the power system flexibility demand can be divided into two cases: When ,Right now ;when When ,Right now Therefore, the flexibility margin of the power system can be divided into the upward flexibility margin and the downward flexibility margin.
[0056] when When , it means that the flexibility supply of the system is sufficient during this period; otherwise, it means that the flexibility supply of the system is insufficient, resulting in an upward flexibility shortage; that is, ;in, For the upward flexibility shortfall; This is the shortfall in downward flexibility.
[0057] As one or more implementation modes, the constructed two-level planning model of electric power resources includes an upper-level resource allocation optimization model and a lower-level simulation operation model, both of which consider the flexibility supply and demand balance constraints; wherein the output of the upper-level resource allocation optimization model is used as the input of the lower-level simulation operation model, and the objective function of the lower-level simulation operation model considers the penalty for insufficient flexibility.
[0058] (1) Upper-level resource allocation optimization model
[0059] The upper-level resource allocation optimization model obtains the configuration scheme based on the existing power capacity, long-term load forecast, flexible supply and demand balance, and power balance constraints, which is used as the input of the lower-level simulation operation model. The objective function of the upper-level resource allocation optimization model is: ;in, Indicates the total cost of the upper resource optimization layer, Indicates whether the system power supply is under construction. Indicates whether the flexible resources are invested and constructed, which are all 0-1 variables; Indicates the collection of newly created power supplies; Represents a collection of newly created flexibility resources; It represents the unit investment cost of new power source; represents the unit investment cost of new flexible resources; Indicates the capacity of the newly built power source; Indicates the capacity of the newly created flexibility resources; is the capital recovery coefficient, ; is the discount rate; For the applicable years.
[0060] The constraints of the upper-level resource allocation optimization model are:
[0061] 1) Power Constraints ;
[0062] in, Indicates that a power supply collection already exists; , , Respectively represent the utilization rate of different types of power supplies; Indicates the annual maximum load; Indicates the capacity reserve factor.
[0063] 2) Power Constraints ;
[0064] in, , , They represent the power generation of new power sources, existing power sources, and new flexible resources respectively; Indicates the loss rate of system power supply; Indicates the power demand of the system; , , Respectively represent the annual utilization hours of new power sources, existing power sources, and new flexible resources, , , .
[0065] 3) Power supply installed capacity constraints ;
[0066] in, and They represent the maximum capacity of thermal power units and newly built new energy power stations respectively.
[0067] 4) Constraints on the proportion of new energy ;
[0068] in, and They represent the minimum and maximum values of the proportion of new energy in the system respectively; Indicates t Annual renewable energy generation.
[0069] 5) Flexibility supply and demand constraints, i.e.
[0070] ; ;
[0071] in, Represents the collection of all power supplies; represents the collection of flexible resources; the system peak load regulation and ramp demand are used as the net load fluctuation amplitude, and then as the flexibility supply and demand constraints of the configuration optimization layer, where , Indicates the peak-shaving demand and ramp-up demand coefficient of new energy; , Indicates the load peak demand and ramp demand coefficient; , Indicates the peak load factor and ramp coefficient of thermal power units; , Indicates the peak load coefficient and ramp coefficient of flexible resources.
[0072] (2) Lower-level simulation operation model
[0073] The lower-level simulation operation model is a production simulation operation, which takes the optimal operation cost as the objective function to perform time series production simulation based on the operation constraints of various resources and the flexibility supply and demand balance constraints; the objective function of the lower-level simulation operation model is to minimize the operation cost, including the unit start-up and shutdown cost, output operation cost, abandoned light and load penalty cost, flexibility resource call cost and flexibility deficiency penalty. The objective function of the lower-level simulation operation model is ;in, represents the total cost of the underlying simulation run; is the operating cost of thermal power units, ; is the total cost of abandoned light and lost load, ; The cost of calling for flexibility resources, ; Penalty costs for lack of flexibility, ; , Respectively represent the startup and shutdown costs of the unit; , Respectively represent the unit startup and shutdown actions; Invoke cost factors for flexibility resources; Calling up capacity for flexibility resources; , They represent the penalty coefficients for insufficient uplink and downlink flexibility respectively.
[0074] The constraints of the lower-level simulation model are:
[0075] 1) Power balance constraints ;
[0076] in, Provide power for thermal power units; Provide power for energy storage devices; Contribute to new energy; is the system load; , It is the amount of system abandoned light and lost load.
[0077] 2) Operation constraints of thermal power units, namely
[0078] ;
[0079] ;
[0080] ;
[0081] ;
[0082] ;
[0083] ;
[0084] in, is the conversion formula from unit state variables to action variables, is the startup status of the unit at time t, 1 means the unit is started, , Respectively indicate the unit in t The on / off action variable at the moment. ) is the minimum boot time constraint, is the minimum shutdown time constraint, , Indicates the maximum on time and maximum off time of the unit.
[0085] 3) Energy storage operation constraints, namely
[0086] ;
[0087] ;
[0088] ;
[0089] ;
[0090] ;
[0091] ;
[0092] ;
[0093] in, express t , t+1 The energy of the energy storage device at all times; , Indicates the charging and discharging efficiency of the energy storage device; , Indicates energy storage k exist t Charging and discharging power at all times; , Indicates the operating status of the energy storage device.
[0094] 4) Interruptible load constraints, i.e.
[0095] ;
[0096] ;
[0097] ;
[0098] ;
[0099] ;
[0100] in, A 0-1 variable; indicates an interruptible load m exist t The operating status at the moment; Indicates interruptible load m The cumulative interruption time at the moment; For the deadline t-1 Moments interrupt the sum of time; Indicates the maximum number of actions.
[0101] 5) System inertia constraint ;
[0102] in, H sys,t For the system in the periodt Total inertia; H i,t For the period t Thermal power units i Inertia; H r,t For the period t New Energy r Virtual inertia of N r is the number of new energy units.
[0103] At the initial moment when the system experiences frequency disturbance, the system frequency modulation capability is 0. At this time, only the system inertia provides anti-interference capability. Therefore, the rate of change of frequency (RoCoF) at the initial moment should satisfy the constraint: ;in, is the frequency change rate of the system; , are the upper and lower limits of the frequency change rate respectively.
[0104] The maximum RoCoF is determined by the power deficit and the total inertia, that is, ;in, is the power shortage in period t; is the initial power before the accident; is the maximum frequency change rate.
[0105] according to The minimum inertia of the power system can be deduced to be ; Then the minimum inertia requirement constraint to be met during the simulation operation day is .
[0106] 6) Flexibility supply and demand balance constraints ;
[0107] in, flexibility capacity provided to thermal power units; Flexibility capacity provided to energy storage systems.
[0108] As one or more implementation methods, in the process of constructing a two-level programming model through multi-objective optimization solution, the lower-level simulation operation model performs a flexibility margin test based on the output results of the received upper-level resource configuration optimization model, and uses an affine adjustable robust optimization algorithm to solve the lower-level simulation operation model to obtain an optimal simulation operation plan. The upper-level resource configuration is adjusted according to the obtained optimal simulation operation plan to obtain a power resource planning plan, thereby completing the optimization adjustment of the power resource structure.
[0109] Since the large-scale installation of new energy sources increases system uncertainty, in order to reduce its impact on system planning results, this embodiment uses an affine adjustable robust optimization algorithm to solve the simulation operation layer.
[0110] Affine adjustable robust optimization can be understood as re-optimizing economic dispatch based on the obtained benchmark output, using the affine coefficient and the output of the renewable energy power station during the day.
[0111] New energy units r exist t Power of the moment Decomposition into expected value and uncertainty The sum of .
[0112] The affine robust optimization scheduling strategy is
[0113] ;
[0114] ;
[0115] ;
[0116] Decompose the unit output into expected output and redispatched output. t , set the affine coefficients corresponding to the adjustable variables , , in the face of uncertain scenarios, a better balance of adjustment flexibility and economy is achieved, and the affine coefficient constraint adopted is:
[0117] ;
[0118] ;
[0119] ;
[0120] pass Implement decision-making mechanism to meet system power balance, adopt and Participate in the judgment of the redispatching process.
[0121] The affine robust optimization operation model is equivalent to integrating the affine linear strategy into the traditional adjustable robust optimization model, simplifying the model structure while keeping the uncertainty set unchanged. , and variables that have been determined before the uncertainty is determined, As an adjustable decision variable, and a variable that can be changed in real time according to the uncertainty, the uncertainty in this embodiment is the output of the new energy power station According to the original optimization model and the radiation strategy, the vector form of the affine robust optimization model can be obtained, that is, ;in, ; ; and Respectively represent the coefficient matrix in the objective function; the first constraint corresponds to the variable and But does not contain uncertainties; the second constraint is to contain only The third constraint is a constraint containing uncertain quantities, such as the node power balance constraint of the system.
[0122] The third constraint in the vector form of the affine robust optimization model contains the uncertainty of the renewable energy power plant. This constraint is robust and its robustness can be satisfied if and only if its robust equality holds.
[0123] ;
[0124] when When it is an uncertain set of polyhedra, an auxiliary variable is introduced. ,in, , and is the coefficient matrix , , No. i Row, No. r Parameters corresponding to the columns; is a constant vector No. i Introducing positive auxiliary variables , negative auxiliary variables ; Its maximization problem can be transformed into .
[0125] Because the objective function is a min function, in order to transform the affine robust optimization model into a second-order cone programming model, it is necessary to use the duality theory to transform the max constraint containing uncertainties in the robust equation into a form that is consistent with the objective function, which can be transformed into ;in, , , and is the dual variable.
[0126] This embodiment establishes a two-level planning model, in which the upper-level resource allocation optimization model outputs the results of the investment plan to the lower-level simulation operation model, and the lower-level simulation operation model performs a flexibility test. If the index value cannot be met, it is necessary to adjust the investment and construction plan of the upper-level resource allocation optimization model according to certain rules; the value of the flexibility index of the lower-level simulation operation model depends on the decision variables of the planning scheme of the upper-level resource allocation optimization model. Therefore, when adjusting the investment planning scheme of the upper-level resource allocation optimization model, it is necessary to consider the value of the flexibility index and invest in the scheme according to certain rules. In order to reduce the difficulty of solving the problem, this embodiment adopts the following method: Figure 2 The method shown in the figure combines decomposition coordination with multi-stage iterative optimization to simplify the problem solving bi-level programming model to improve computational efficiency. The specific steps are:
[0127] 1) Input historical data of load and photovoltaic to obtain the net load timing output curve.
[0128] 2) Based on the net load output curve of step 1), the initial planning scheme is obtained under the constraints of power consumption and new energy penetration rate within the planning year.
[0129] 3) Based on the scheme obtained in step 2), select typical days from the four seasons of spring, summer, autumn and winter, use the time series simulation method to simulate the actual dispatching and operation of the power system and verify the system flexibility. If the system flexibility index meets the set requirements, calculate the power generation, abandoned power and operating cost of each power unit, and output the final planning scheme. Otherwise, return the flexibility shortage to the flexibility supply and demand constraints in step 1), adjust the system's peak load and ramp coefficient to optimize the flexibility resource allocation, and output the new planning configuration. Repeat step 3).
[0130] 4) Repeat the iterative optimization until a planning solution with the lowest overall cost and meeting the flexibility requirements is obtained.
[0131] This embodiment improves the optimization of the power resource structure in order to meet the planning requirements of the power system that is difficult to meet a high proportion of renewable energy. By establishing a flexibility supply and demand balance model based on net load fluctuations, the flexibility margin is calculated according to the constructed flexibility supply and demand balance model, and the flexibility supply and demand balance constraints are considered to construct a two-level planning model for power resources. The flexibility margin indicator is used to quantify the ability of the power system to cope with net load fluctuations at different load levels, and it is incorporated into the two-level planning model for iterative optimization. The uncertainty of new energy output and the problem of insufficient system inertia support caused by the high penetration rate of new energy are considered to accurately quantify the flexibility requirements of the power system and improve the accuracy of power resource structure optimization.
[0132] Embodiment 2
[0133] Embodiment 2 of the present invention introduces a power resource structure optimization system taking flexibility requirements into consideration.
[0134] A power resource structure optimization system taking into account flexibility requirements, comprising:
[0135] A data acquisition module, configured to acquire basic data of the power system;
[0136] A first modeling module is configured to construct a flexibility supply and demand balance model of the power system based on the acquired data;
[0137] A margin calculation module, configured to calculate the flexibility margin of the power system according to the constructed flexibility supply and demand balance model;
[0138] a second modeling module configured to construct a two-level planning model for power resources taking into account the obtained flexibility margin;
[0139] The structure optimization module is configured to obtain a power resource planning scheme through a two-level planning model constructed by multi-objective optimization solution to complete the optimization of the power resource structure.
[0140] The detailed steps are the same as the power resource structure optimization method taking into account flexibility requirements provided in Example 1, and will not be repeated here.
[0141] Embodiment 3
[0142] Embodiment 3 of the present invention provides a computer-readable storage medium.
[0143] A computer-readable storage medium stores a program thereon, which, when executed by a processor, implements the steps in the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in Embodiment 1 of the present invention.
[0144] The detailed steps are the same as the power resource structure optimization method taking into account flexibility requirements provided in Example 1, and will not be repeated here.
[0145] Embodiment 4
[0146] A fourth embodiment of the present invention provides an electronic device.
[0147] An electronic device comprises a memory, a processor and a program stored in the memory and running on the processor, wherein when the processor executes the program, the steps in the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in the first embodiment of the present invention are implemented.
[0148] The detailed steps are the same as the power resource structure optimization method taking into account flexibility requirements provided in Example 1, and will not be repeated here.
[0149] Embodiment 5
[0150] Embodiment 5 of the present invention provides a computer program product.
[0151] A computer program product includes software codes, wherein the program in the software codes executes the steps in the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in the first embodiment of the present invention.
[0152] The detailed steps are the same as the power resource structure optimization method taking into account flexibility requirements provided in Example 1, and will not be repeated here.
[0153] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.
Claims
1. A method for optimizing the structure of power resources taking into account flexibility requirements, characterized in that: include: Obtain basic data of the power system; Based on the acquired data, a flexible supply and demand balance model of the power system is constructed; Calculate the flexibility margin of the power system based on the constructed flexibility supply and demand balance model; Considering the obtained flexibility margin, a two-level planning model for power resources is constructed; Through the two-level planning model constructed by multi-objective optimization, the power resource planning scheme is obtained to optimize the power resource structure; In the process of constructing a two-level programming model through multi-objective optimization, the lower-level simulation operation model performs a flexibility margin test based on the output results of the upper-level resource configuration optimization model received, and uses an affine adjustable robust optimization algorithm to solve the lower-level simulation operation model to obtain the optimal simulation operation plan. The upper-level resource configuration is adjusted according to the obtained optimal simulation operation plan to obtain the power resource planning plan, thereby completing the optimization adjustment of the power resource structure. The constructed two-level planning model of electric power resources includes an upper-level resource allocation optimization model and a lower-level simulation operation model, both of which consider the constraints of flexible supply and demand balance; the output of the upper-level resource allocation optimization model serves as the input of the lower-level simulation operation model, and the objective function of the lower-level simulation operation model considers the penalty for insufficient flexibility; the upper-level resource allocation optimization model obtains the configuration plan based on the existing power supply capacity, long-term load forecast, flexible supply and demand balance, and power balance constraints, as the input of the lower-level simulation operation model; the objective function of the lower-level simulation operation model minimizes the operating cost, including the cost of starting and stopping the unit, the output operating cost, the penalty cost of abandoned light and lost load, the cost of calling flexible resources, and the penalty for insufficient flexibility; The objective function of the upper-level resource configuration optimization model is: ;in, Indicates the total cost of the upper resource optimization layer, Indicates whether the system power supply is under construction. Indicates whether the flexible resource is invested and constructed, which is a 0-1 variable; Indicates the collection of newly created power supplies; Represents a collection of newly created flexibility resources; It represents the unit investment cost of new power source; represents the unit investment cost of new flexible resources; Indicates the capacity of the newly built power source; Indicates the capacity of the newly created flexibility resources; is the capital recovery coefficient, ; is the discount rate; The applicable period; The objective function of the lower layer simulation operation model is: ; in, represents the total cost of the underlying simulation run; is the operating cost of thermal power units, ; is the total cost of abandoned light and lost load, ; The cost of calling for flexibility resources, ; Penalty costs for lack of flexibility, ; , Respectively represent the startup and shutdown costs of the unit; , Respectively represent the unit startup and shutdown actions; Invoke cost factors for flexibility resources; Calling up capacity for flexibility resources; , Represent the penalty coefficients for insufficient uplink and downlink flexibility respectively; The constraints of the upper-level resource allocation optimization model are: power constraints, power constraints, power installed capacity constraints, new energy proportion constraints, and flexibility supply and demand constraints; the constraints of the lower-level simulation operation model are: power balance constraints, thermal power unit operation constraints, energy storage operation constraints, interruptible load constraints, system inertia constraints, and flexibility supply and demand balance constraints.
2. A method for optimizing the structure of electric power resources taking into account flexibility requirements as claimed in claim 1, characterized in that: The flexibility margin of the power system is the difference between the flexibility supply of the power system and the flexibility demand of the power system; the flexibility margin of the power system includes the upstream flexibility margin and the downstream flexibility margin; when the upstream flexibility margin is greater than zero, the flexibility supply of the power system during this period is sufficient; when the upstream flexibility margin is less than zero, the flexibility supply of the power system during this period is insufficient, resulting in an upstream flexibility shortage; When the downstream flexibility margin is greater than zero, the flexibility supply of the power system during this period is sufficient; when the downstream flexibility margin is less than zero, the flexibility supply of the power system during this period is insufficient, resulting in a downstream flexibility shortage.
3. A method for optimizing the structure of electric power resources taking into account flexibility requirements as claimed in claim 1, characterized in that: The constructed power system flexibility supply and demand balance model includes power system flexibility supply and power system flexibility demand; the power system flexibility supply is a flexibility resource with uncertain characteristics of power system output and load, and the power system flexibility supply includes upstream flexibility supply and downstream flexibility supply; the power system flexibility demand is the net load difference between the next moment and the current moment. When the power system flexibility demand is less than zero, the power system has a downstream flexibility demand, and when the power system flexibility demand is greater than zero, the power system has an upstream flexibility demand.
4. A method for optimizing the structure of electric power resources taking into account flexibility requirements as claimed in claim 1, characterized in that: The acquired power system basic data includes at least photovoltaic historical data, load historical data and power system net load time series output data.
5. A power resource structure optimization system taking into account flexibility requirements, characterized in that: include: A data acquisition module, which is configured to acquire basic data of the power system; A first modeling module is configured to construct a flexibility supply and demand balance model of the power system based on the acquired data; A margin calculation module, configured to calculate the flexibility margin of the power system according to the constructed flexibility supply and demand balance model; a second modeling module configured to construct a two-level planning model for power resources taking into account the obtained flexibility margin; A structure optimization module is configured to obtain a power resource planning scheme by solving a two-level planning model constructed by multi-objective optimization, thereby optimizing the power resource structure; In the process of constructing a two-level programming model through multi-objective optimization, the lower-level simulation operation model performs a flexibility margin test based on the output results of the upper-level resource configuration optimization model received, and uses an affine adjustable robust optimization algorithm to solve the lower-level simulation operation model to obtain the optimal simulation operation plan. The upper-level resource configuration is adjusted according to the obtained optimal simulation operation plan to obtain the power resource planning plan, thereby completing the optimization adjustment of the power resource structure. The constructed two-level planning model of electric power resources includes an upper-level resource allocation optimization model and a lower-level simulation operation model, both of which consider the constraints of flexible supply and demand balance; the output of the upper-level resource allocation optimization model serves as the input of the lower-level simulation operation model, and the objective function of the lower-level simulation operation model considers the penalty for insufficient flexibility; the upper-level resource allocation optimization model obtains the configuration plan based on the existing power supply capacity, long-term load forecast, flexible supply and demand balance, and power balance constraints, as the input of the lower-level simulation operation model; the objective function of the lower-level simulation operation model minimizes the operating cost, including the cost of starting and stopping the unit, the output operating cost, the penalty cost of abandoned light and lost load, the cost of calling flexible resources, and the penalty for insufficient flexibility; The objective function of the upper-level resource configuration optimization model is: ;in, Indicates the total cost of the upper resource optimization layer, Indicates whether the system power supply is under construction. Indicates whether the flexible resource is invested and constructed, which is a 0-1 variable; Indicates the collection of newly created power supplies; Represents a collection of newly created flexibility resources; It represents the unit investment cost of new power source; represents the unit investment cost of new flexible resources; Indicates the capacity of the newly built power source; Indicates the capacity of the newly created flexibility resources; is the capital recovery coefficient, ; is the discount rate; The applicable period; The objective function of the lower layer simulation operation model is: ; in, represents the total cost of the underlying simulation run; is the operating cost of thermal power units, ; is the total cost of abandoned light and lost load, ; The cost of calling for flexibility resources, ; Penalty costs for lack of flexibility, ; , Respectively represent the startup and shutdown costs of the unit; , Respectively represent the unit startup and shutdown actions; Invoke cost factors for flexibility resources; Calling up capacity for flexibility resources; , Represent the penalty coefficients for insufficient uplink and downlink flexibility respectively; The constraints of the upper-level resource allocation optimization model are: power constraints, power constraints, power installed capacity constraints, new energy proportion constraints, and flexibility supply and demand constraints; the constraints of the lower-level simulation operation model are: power balance constraints, thermal power unit operation constraints, energy storage operation constraints, interruptible load constraints, system inertia constraints, and flexibility supply and demand balance constraints.
6. A power resource structure optimization system taking into account flexibility requirements as claimed in claim 5, characterized in that: The flexibility margin of the power system is the difference between the flexibility supply of the power system and the flexibility demand of the power system; the flexibility margin of the power system includes the upstream flexibility margin and the downstream flexibility margin; when the upstream flexibility margin is greater than zero, the flexibility supply of the power system during this period is sufficient; when the upstream flexibility margin is less than zero, the flexibility supply of the power system during this period is insufficient, resulting in an upstream flexibility shortage; When the downstream flexibility margin is greater than zero, the flexibility supply of the power system during this period is sufficient; when the downstream flexibility margin is less than zero, the flexibility supply of the power system during this period is insufficient, resulting in a downstream flexibility shortage.
7. A power resource structure optimization system taking into account flexibility requirements as claimed in claim 5, characterized in that: The constructed power system flexibility supply and demand balance model includes power system flexibility supply and power system flexibility demand; the power system flexibility supply is a flexibility resource with uncertain characteristics of power system output and load, and the power system flexibility supply includes upstream flexibility supply and downstream flexibility supply; the power system flexibility demand is the net load difference between the next moment and the current moment. When the power system flexibility demand is less than zero, the power system has a downstream flexibility demand, and when the power system flexibility demand is greater than zero, the power system has an upstream flexibility demand.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in any one of claims 1 to 4 are implemented.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in any one of claims 1 to 4 are implemented.
10. A computer program product comprising software code, characterized in that The program in the software code executes the steps of the method for optimizing the structure of electric power resources taking into account flexibility requirements as described in any one of claims 1 to 4.
