Configuration scheme determination method and device, computer equipment and storage medium
By solving the target functions by combining multiple constraints in the flexible resource planning of the power system, the problem of ignoring the security of the power system in existing technologies has been solved, and the effect of improving the safety of the power system.
Patent Information
- Application Number
- CN202411204997.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-01-24
AI Technical Summary
The prior art ignores the safety of the power system after disturbance in flexible resource planning, resulting in a reduction in the safety of power operation.
By obtaining the objective function of the configuration plan cost of the target power system, and combining the resource flexibility constraints, operation constraints, frequency regulation power constraints and security constraints of the target power grid, the objective function is solved to obtain the resource planning and configuration plan of the target power system.
Considering the resource planning and allocation plan of the target power system from multiple perspectives, it effectively improves the safety of the operation of the power system.
Smart Images

Figure CN119362398A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a configuration scheme determination method, apparatus, computer equipment and storage medium. Background Art
[0002] The number and capacity of non-synchronous power sources represented by renewable energy and direct current connected to the receiving power grid will continue to grow rapidly. Correspondingly, the startup scale of conventional synchronous power sources in the receiving power grid will also be compressed. Therefore, in order to ensure the supply and demand balance of the power system, it is necessary to plan the flexibility resources of the power system.
[0003] However, the current flexibility resource planning mainly includes deep peak-shaving transformation of thermal power units and configuration of energy storage devices, etc., which only considers the balance of electricity supply and demand at the steady-state level and ignores the security of the system after disturbances in the power system. Therefore, the use of existing resource allocation plans will reduce the safety of power operation. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for determining a configuration scheme that can improve the safety of power system operation in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for determining a configuration scheme, comprising:
[0006] Obtaining an objective function of the configuration plan cost based on the target power system;
[0007] Obtain resource flexibility constraints of the target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and security constraints of the target power system;
[0008] With the goal of minimizing the function value of the objective function, the objective function is solved according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain the resource planning configuration plan of the target power system.
[0009] In one embodiment, obtaining an objective function based on a configuration solution cost of a target power system includes:
[0010] The investment, construction and transformation cost of the target power system is taken as the first variable, the production and operation cost of the target power system is taken as the second variable, and the resource regulation cost of the target power system is taken as the third variable; the sum of the first variable, the second variable and the third variable is taken as the objective function of the target power system.
[0011] In one of the embodiments, the first variable is determined based on the transformation information of various types of power equipment in the target power system; the second variable is determined based on the operating cost and equipment action cost coefficient of various types of power equipment in the target power system; and the third variable is determined based on the correction cost of various types of power equipment in the target power system under overload operation conditions.
[0012] In one embodiment, obtaining a resource flexibility constraint of a target power grid corresponding to a target power system includes:
[0013] According to the configuration information of various power equipment in the target power system, the flexible power supply capacity of the target power system is determined; according to the net load power, supplyable load and new energy output information of the target power system, the flexible power supply demand of the target power system is determined; according to the difference between the flexible power supply capacity and the flexible power supply demand, the resource flexibility constraint of the target power grid corresponding to the target power system is determined.
[0014] In one of the embodiments, the operation constraints include the operation constraints of the thermal power units, the operation constraints of the energy storage devices and the power balance constraints of the target power system; the frequency regulation power constraints include the primary frequency regulation power constraints of the synchronous units, the primary frequency regulation power constraints of the wind turbines, the primary frequency regulation power constraints of the energy storage devices and the primary frequency regulation power constraints of the photovoltaic stations.
[0015] In one embodiment, the safety constraint includes a frequency change rate constraint and a maximum frequency deviation constraint of the target power system at the moment of a fault; accordingly, obtaining the safety constraint of the target power system includes:
[0016] Determine the system transient frequency change process according to the system equivalent inertia of the target power system, the system power shortage, the system damping, the active power provided by various power equipment, and the grid frequency deviation of the target power grid; based on the system transient frequency change process, determine the frequency change rate constraint of the target power system at the moment of fault according to the maximum frequency change rate allowed by the target power system, the grid reference frequency and the grid frequency deviation of the target power grid; determine the maximum frequency deviation constraint of the target power system at the moment of fault according to the safety deviation limit of the target power system and the time when the target power system reaches the minimum frequency.
[0017] In one embodiment, the objective function is solved with the minimum function value as the goal, according to the historical operation information of the target power grid, the resource flexibility constraint of the target power grid, and the operation constraint, frequency modulation power constraint and safety constraint of the target power system, to obtain the resource planning configuration scheme of the target power system, including:
[0018] According to the historical operation information of the target power grid, the scenario weights of the target power grid under various typical scenarios are determined; with the minimum function value of the objective function as the goal, the objective function is solved according to the scenario weights under various typical scenarios, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system, to obtain the resource planning configuration plan of the target power system.
[0019] In a second aspect, the present application further provides a configuration scheme determination device, comprising:
[0020] A function acquisition module, used for acquiring an objective function based on a configuration scheme cost of a target power system;
[0021] A constraint acquisition module is used to obtain the resource flexibility constraints of the target power grid corresponding to the target power system, as well as the operation constraints, frequency regulation power constraints and security constraints of the target power system;
[0022] The scheme determination module is used to solve the objective function with the minimum function value as the goal, according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system, to obtain the resource planning configuration scheme of the target power system.
[0023] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0024] Obtaining an objective function of the configuration plan cost based on the target power system;
[0025] Obtain resource flexibility constraints of the target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and security constraints of the target power system;
[0026] With the goal of minimizing the function value of the objective function, the objective function is solved according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain the resource planning configuration plan of the target power system.
[0027] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0028] Obtaining an objective function of the configuration plan cost based on the target power system;
[0029] Obtain resource flexibility constraints of the target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and security constraints of the target power system;
[0030] With the goal of minimizing the function value of the objective function, the objective function is solved according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain the resource planning configuration plan of the target power system.
[0031] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0032] Obtaining an objective function of the configuration plan cost based on the target power system;
[0033] Obtain resource flexibility constraints of the target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and security constraints of the target power system;
[0034] With the goal of minimizing the function value of the objective function, the objective function is solved according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain the resource planning configuration plan of the target power system.
[0035] The above configuration scheme determination method, device, computer equipment and storage medium, by taking the minimum function value of the objective function as the goal, solves the objective function according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency modulation power constraints and safety constraints of the target power system, and obtains the resource planning configuration scheme of the target power system. Compared with the related art, which only considers the balance of power supply and demand at the steady-state level, in the above method, the resource flexibility constraints of the target power grid, the operation constraints, frequency modulation power constraints and safety constraints of the target power system are considered, and the resource planning configuration scheme of the target power system can be considered from multiple angles, effectively ensuring the safety of the operation of the target power system. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A schematic diagram of a flow chart of a configuration scheme determination method in an embodiment;
[0038] Figure 2 A schematic diagram of a process for determining resource flexibility constraints in one embodiment;
[0039] Figure 3 A schematic diagram of a process for determining a security constraint in one embodiment;
[0040] Figure 4 A schematic diagram of a flow chart of a configuration scheme determination method in another embodiment;
[0041] Figure 5 A structural block diagram of a configuration scheme determination device in an embodiment;
[0042] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] The number and capacity of non-synchronous power sources represented by renewable energy and direct current connected to the receiving power grid will continue to grow rapidly. Correspondingly, the startup scale of conventional synchronous power sources in the receiving power grid will also be compressed. Therefore, in order to ensure the supply and demand balance of the power system, it is necessary to plan the flexibility resources of the power system.
[0045] However, the current flexibility resource planning mainly includes deep peak-shaving transformation of thermal power units and configuration of energy storage devices, etc., which only considers the balance of electricity supply and demand at the steady-state level and ignores the security of the system after disturbances in the power system. Therefore, the use of existing resource allocation plans will reduce the safety of power operation.
[0046] Based on this, in an exemplary embodiment, a configuration scheme determination method is provided, and the method is applied to a scheme determination device as an example for explanation. Figure 1 As shown, the specific steps include:
[0047] S101, obtaining an objective function based on the configuration plan cost of the target power system.
[0048] Among them, the target power system refers to the power system with flexible resource allocation needs. Furthermore, flexible resources refer to the resources provided by the new energy units participating in frequency regulation; the configuration plan cost refers to the cost required to adjust the flexible resources; the objective function refers to the function that can characterize the configuration cost.
[0049] Optionally, in order to ensure the rationality of the configuration cost, an objective function may be pre-configured based on the calculation rules of the configuration scheme cost; accordingly, when a request for obtaining the configuration scheme of the target power system is detected, the pre-configured objective function is directly obtained.
[0050] S102, obtaining resource flexibility constraints of a target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and safety constraints of the target power system.
[0051] Among them, the target power system supplies power to the target power grid; the resource flexibility constraint is used to characterize the constraints on the flexibility resources that the target power system can provide; the operation constraint is used to characterize the constraints on the operation of the target power system; the frequency regulation power constraint is used to characterize the power constraint of the target power system during frequency regulation; and the safety constraint is used to characterize the constraints on the safe operation of the target power system.
[0052] Optionally, the target power system may be pre-configured with resource flexibility constraints of the target power grid corresponding to the target power system, as well as the operating constraints, frequency regulation power constraints and safety constraints of the target power system based on the configuration information and operating conditions of each type of unit in the target power system; accordingly, when a request to obtain the configuration plan of the target power system is detected, the resource flexibility constraints of the target power grid corresponding to the target power system, as well as the operating constraints, frequency regulation power constraints and safety constraints of the target power system are directly obtained.
[0053] S103, with the goal of minimizing the function value of the objective function, the objective function is solved according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain a resource planning configuration plan for the target power system.
[0054] Among them, historical operation information refers to the relevant information of the target power grid operation in the historical period, such as historical data corresponding to load / new energy output; resource planning configuration plan refers to the configuration plan of flexible resources.
[0055] Optionally, in order to reduce the cost of scheme configuration, the objective function can be solved based on the historical operation information of the target power grid, under the resource flexibility constraints of the target power grid corresponding to the target power system, as well as the operation constraints, frequency regulation power constraints and safety constraints of the target power system, with the goal of minimizing the function value of the objective function, and the result can be used as the resource planning configuration scheme for the target power system.
[0056] In order to ensure the rationality of the resource planning and configuration scheme, another optional method is to determine the scenario weights of the target power grid under various typical scenarios based on the historical operation information of the target power grid; with the minimum function value of the objective function as the goal, according to the scenario weights under various typical scenarios, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system, the objective function is solved to obtain the resource planning and configuration scheme of the target power system.
[0057] Among them, historical operation information refers to the operating data of the target power grid during the historical period; scenario weights are used to characterize the importance of various typical scenarios.
[0058] Optionally, various typical scenarios of the target power grid can be preset, and then the power grid operation data of the target power grid under various typical scenarios can be obtained from the historical operation information of the target power grid; then, for each typical scenario, the power grid operation data under the typical scenario can be input into a trained weight determination model, and the weight determination model outputs the scenario weight under the typical scenario based on the power grid operation data and model parameters.
[0059] Furthermore, the objective function can be solved with the minimum function value as the goal, according to the scenario weights under various typical scenarios, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system, to obtain the resource planning configuration plan of the target power system, so as to ensure the matching of the resource planning configuration plan with the actual scenario.
[0060] In the above configuration scheme determination method, by taking the minimum function value of the objective function as the goal, the objective function is solved according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency modulation power constraints and safety constraints of the target power system, and the resource planning configuration scheme of the target power system is obtained. Compared with the related art, which only considers the balance of power supply and demand at the steady-state level, in the above method, the resource flexibility constraints of the target power grid, the operation constraints, frequency modulation power constraints and safety constraints of the target power system are taken into account, and the resource planning configuration scheme of the target power system can be considered from multiple angles, effectively ensuring the safety of the operation of the target power system.
[0061] In order to ensure the rationality of the objective function, based on the above embodiments, in this embodiment, an optional method for determining the objective function is provided, specifically, taking the investment, construction and transformation cost of the target power system as the first variable, the production and operation cost of the target power system as the second variable, and the resource regulation cost of the target power system as the third variable; and taking the sum of the first variable, the second variable and the third variable as the objective function of the target power system.
[0062] Among them, the investment, construction and transformation cost refers to the cost of implementing the transformation of each power unit; the production and operation cost refers to the cost of each power unit during production and operation; the resource regulation cost refers to the cost incurred when each power unit conducts resource regulation.
[0063] It is understandable that when the flexibility resources of the power system are rebuilt, the reconstruction cost generally includes investment and construction cost, production and operation cost, and resource regulation cost. Therefore, these three types of costs can be used as the first variable, the second variable, and the third variable respectively, and the sum of the first variable, the second variable, and the third variable can be used as the objective function of the target power system.
[0064] Exemplarily, the first variable is determined based on the transformation information of various types of power equipment in the target power system; the second variable is determined based on the operating cost and equipment action cost coefficient of various types of power equipment in the target power system; and the third variable is determined based on the correction cost of various types of power equipment in the target power system under overload operation.
[0065] Among them, various types of power equipment refer to various types of equipment in the target power system, which may include but are not limited to thermal power units, wind power units, photovoltaic units, etc.; transformation information refers to relevant information when various types of power equipment are rebuilt, such as reconstruction costs, etc.; operating costs refer to the costs required for the operation of various types of power equipment; equipment action cost coefficients are used to characterize the relevant coefficients when various types of power equipment are operating; correction costs refer to the costs required to correct the operation of various types of power equipment when they are overloaded.
[0066] Optionally, referring to formula (1), the first variable C can be determined based on the transformation information of various types of power equipment in the target power system. INV .
[0067] (1)
[0068] Among them, x g is the flag variable for whether the thermal power unit g is to be transformed into a flexible unit, x w is the flag variable for whether the wind turbine w is to be modified for frequency regulation, x v is the flag variable for whether the photovoltaic unit v is to be modified for frequency regulation, x e It is a flag variable indicating whether the energy storage device e is put into construction. If it is renovated / constructed, it is 1, otherwise it is 0; I g I is the unit capacity transformation / construction cost of thermal power unit g; w I is the unit capacity transformation / construction cost of wind turbine w; v I is the unit capacity transformation / construction cost of photovoltaic unit v; eG is the unit capacity transformation / construction cost of energy storage device e; g is the renovation / construction capacity of thermal power unit g; G w G is the transformation / construction capacity of wind turbine w; v G is the renovation / construction capacity of photovoltaic unit v; e The capacity of the transformation / construction of energy storage device e; The power source collection of thermal power units in the target power system; A collection of power sources for energy storage devices in a target power system; is a power source collection of wind turbines in the target power system; It is the power source collection of photovoltaic units in the target power system.
[0069] Referring to formulas (2), (3) and (4), the second variable C can be determined based on the operating costs of various types of power equipment in the target power system and the equipment action cost coefficients: OP .
[0070] (2)
[0071] (3)
[0072] (4)
[0073] Among them, C opg is the operating cost of the thermal power unit; C ope is the operating cost of the energy storage device; is the power generation cost coefficient of thermal power units; is the startup cost coefficient of thermal power units; is the shutdown cost coefficient of the thermal power unit; is the startup action of the thermal power unit at time t; is the shutdown action of the thermal power unit at time t; c e is the operating cost coefficient of the energy storage device; T is the duration of the scheduling cycle.
[0074] Referring to formula (5), the third variable C is determined based on the correction cost of various types of power equipment in the target power system under overload operation. VAR .
[0075] (5)
[0076] Among them, c l is the load shedding cost of thermal power units under overload operation; c w is the wind abandonment cost of wind turbines under overload operation; c v The cost of abandoned light when the photovoltaic unit is overloaded; is the load shedding amount of the thermal power unit; is the abandoned wind volume of the wind turbine; is the amount of abandoned light from the photovoltaic unit; is the set of loads; further, the load shedding constraint is ; The wind turbine abandonment constraint is ; The abandonment constraint of the PV unit is .
[0077] Further, referring to formula (6), the objective function C of the target power system can be determined based on the sum relationship of the first variable, the second variable and the third variable.
[0078] (6)
[0079] In the embodiment of the present application, by determining the objective function of the target power system based on the investment, construction and transformation costs, production and operation costs and resource regulation costs of the target power system, the rationality of the construction of the objective function can be ensured.
[0080] In order to ensure the accuracy of resource flexibility constraints, based on the above embodiments, in this embodiment, an optional method for determining resource flexibility constraints is provided, such as Figure 2 As shown, the specific steps include:
[0081] S201, determining the flexible power supply capability of the target power system according to the configuration information of various types of power equipment in the target power system.
[0082] Among them, the configuration information of various types of power equipment refers to the relevant information of the basic configuration of various types of power equipment. For example, it may include but is not limited to the flexibility capacity, output-related data and capacity-related data per unit time of thermal power units, as well as the flexibility capacity, power-related data and electricity-related data of energy storage devices; flexible power supply capacity includes upward flexible supply capacity and downward flexible supply capacity.
[0083] It is understandable that all power resources in the target power system that can cope with the uncertainty and volatility of net load can be regarded as flexible resources. Therefore, the allocation and coordination of flexible resources needs to consider the flexibility transformation of thermal power units, the investment and construction of energy storage devices, and the frequency regulation transformation of new energy units. Based on this, the upward flexibility supply capacity of the target power system at time t is , downward flexibility supply capability The calculation method of can refer to the following formulas (7) and (8).
[0084] (7)
[0085] (8)
[0086] in, The upward flexibility capacity provided by thermal power unit g in the target power system at time t; and are the upward flexibility capacity provided by the energy storage device e in the target power system at time t; P g,t is the output of thermal power unit g at time t; The downward flexibility capacity provided by thermal power units in the target power system at time t; The downward flexibility capacity provided by the energy storage device in the target power system at time t.
[0087] Provide the maximum technical contribution to thermal power units; The minimum technical output of thermal power units; It is the maximum ramp capacity of the thermal power unit per unit time; It is the maximum down-slope capacity of the thermal power unit per unit time; is the maximum charging power of the energy storage device; is the maximum discharge power of the energy storage device; is the benchmark charging power of the energy storage device at time t; is the reference discharge power of the energy storage device at time t; is the charging efficiency of the energy storage device; is the discharge efficiency of the energy storage device; The maximum amount of electricity that can be stored in the energy storage device; The minimum amount of electricity that can be stored in the energy storage device; is the remaining power of the energy storage device at time t; is the time interval.
[0088] S202, determining the flexible power supply demand of the target power system according to the net load power, supplyable load and new energy output information of the target power system.
[0089] Among them, flexible power supply demand refers to the demand of the target power system for flexible resources.
[0090] Optionally, for a target power grid with a high proportion of non-synchronous power sources (e.g., new energy and DC power sources) in the target power system, from the perspective of the new energy consumption level and the ability to maintain stable power supply, the flexibility demand F of the target power system can be defined by referring to the following formula (9): NE,t .
[0091] (9)
[0092] Among them, P NL,t is the net load power of the target power system at time t; P L,tis the load of the target power system at time t; P RE,t The new energy output for the target power system at time t.
[0093] S203: Determine the resource flexibility constraint of the target power grid corresponding to the target power system according to the difference between the flexible power supply capability and the flexible power supply demand.
[0094] Optionally, referring to the following formula (10), the upward flexibility margin of the target power grid at time t is The difference between upward flexibility supply and demand, downward flexibility margin The difference between supply and demand for downward flexibility.
[0095] (10)
[0096] Furthermore, referring to the following formula (11), if the upward flexibility margin is less than 0, it means that the system has an upward flexibility shortage at that moment. ; If the downward flexibility margin is less than 0, it means that the system has a downward flexibility shortage at that moment. .
[0097] (11)
[0098] In an embodiment of the present application, by determining the resource flexibility constraint of the target power grid corresponding to the target power system based on the difference between the flexible power supply capability and the flexible power supply demand, the rationality of the resource flexibility determination can be ensured.
[0099] In order to ensure the accuracy of the operating constraints, based on the above embodiments, in this embodiment, an optional method for determining the operating constraints is provided, specifically, the operating constraints include the operating constraints of the thermal power units, the operating constraints of the energy storage devices and the power balance constraints of the target power system.
[0100] Optionally, referring to the following formulas (12), (13), (14) and (15), the operation constraints of the thermal power unit can be determined based on the operation time data of the thermal power unit, the minimum technical output of the thermal power unit after flexibility transformation and the maximum ramp capacity per unit time to construct the operation constraints of the thermal power unit.
[0101] (12)
[0102] (13)
[0103] (14)
[0104] (15)
[0105] Among them, u g,t is the operation mark of the thermal power unit at time t; T g,t is the duration of the start / stop state of the thermal power unit at time t; The minimum continuous startup time of the thermal power unit; The minimum continuous downtime of the thermal power unit; The minimum technical output of thermal power unit g after flexibility transformation; The maximum upward ramp capacity per unit time after the flexibility transformation of thermal power unit g; It is the maximum downward climbing capacity per unit time after flexibility transformation of thermal power unit g.
[0106] Referring to the following formulas (16), (17), (18) and (19), the operation constraints of the energy storage device can be determined according to the charge and discharge state, energy storage range, reference charge and discharge power and charge and discharge efficiency of the energy storage device. It is the charging status mark of the energy storage device; It is the discharge status mark of the energy storage device.
[0107] (16)
[0108] (17)
[0109] (18)
[0110] (19)
[0111] Referring to the following formula (20), the power balance constraint of the target power system can be determined according to the power of the AC interconnection line, the power of the DC interconnection line, the output information of the wind turbine generator set, and the output information of the photovoltaic generator set in the target power system.
[0112] (20)
[0113] Among them, P tie,t is the power of the AC tie line tie at time t; P dc,t is the power of the DC interconnection line dc at time t; P w,t is the power of wind turbine w at time t; P v,t is the power of the photovoltaic unit v at time t; P l,t is the power of load l at time t; A collection of communication lines; is the collection of DC interconnection lines.
[0114] Furthermore, in order to ensure the accuracy of the frequency regulation power constraints, based on the above embodiments, in this embodiment, an optional method for determining the frequency regulation power constraints is provided, specifically, the frequency regulation power constraints include the primary frequency regulation power constraints of the synchronous unit, the primary frequency regulation power constraints of the wind turbine unit, the primary frequency regulation power constraints of the energy storage device and the primary frequency regulation power constraints of the photovoltaic station.
[0115] Optionally, referring to the following formulas (21) and (22), the primary frequency regulation power constraint of the thermal power unit can be determined based on the output information, rated capacity, regulation coefficient, complete response time, maximum allowable frequency deviation after a fault, primary frequency regulation dead zone, and grid reference frequency of the target power grid of the thermal power unit in the target power system.
[0116] (twenty one)
[0117] (twenty two)
[0118] in, is the frequency regulation capacity released by thermal power unit g at all times within the transient time scale; is the primary reserve capacity of the thermal power unit at time t; is the regulation coefficient of the thermal power unit; It is the complete response time of primary frequency regulation of thermal power units; is the reference frequency of the target power grid; is the maximum permissible frequency deviation after a target power grid failure; It is the primary frequency regulation dead zone of the target power grid.
[0119] With reference to the following formulas (23) and (24), the primary frequency regulation power constraint of the wind turbine is determined according to the output, rated capacity, full response time and wind turbine load reduction factor of the wind turbine in the target power system.
[0120] (twenty three)
[0121] (twenty four)
[0122] in, is the frequency regulation capacity of the wind turbine at time t1 within the transient time scale; is the primary reserve capacity of wind turbine w; is the rated capacity of the wind turbine w; is the fan load reduction factor.
[0123] Referring to the following formula (25), the primary frequency regulation power constraint of the energy storage device is determined according to the maximum discharge power and the reference charge and discharge power of the energy storage device in the target power system. is the frequency regulation capacity of the energy storage device e at time t.
[0124] (25)
[0125] Considering that PV stations can participate in the frequency response link by configuring energy storage devices of a certain capacity, referring to the following formula (26), the primary frequency regulation power constraint of the PV station can be determined according to the charging and discharging power and maximum discharge of the energy storage configured by the PV station in the target power system.
[0126] (26)
[0127] in, is the frequency regulation capacity of the photovoltaic station v at time t; The maximum discharge of energy storage configured by the photovoltaic station at time t; is the discharge power of the energy storage configured by the photovoltaic station at time t; It is the charging power of the energy storage configured by the photovoltaic station at time t.
[0128] In the embodiment of the present application, by further refining the operation constraints and the frequency modulation power constraints, the reliability of the operation constraints and the frequency modulation power constraints can be ensured.
[0129] In order to ensure the accuracy of the safety constraints, based on the above embodiment, the safety constraints include the frequency change rate constraint and the maximum frequency deviation constraint of the target power system at the moment of the fault; further, in this embodiment, an optional method for determining the safety constraints is provided, such as Figure 3 As shown, the specific steps include:
[0130] S301, determining a system transient frequency change process according to the system equivalent inertia, system power shortage, system damping, active power provided by various power equipment, and grid frequency deviation of the target power grid of the target power grid.
[0131] Optionally, considering the rotational inertia of the thermal power unit, the virtual inertia provided by the wind turbine unit, the photovoltaic unit and the electrochemical energy storage device, the system equivalent inertia of the target power system can be determined by referring to the following formula (27).
[0132] (27)
[0133] Among them, E sys is the equivalent inertia level of the target power system; H g H is the inertia constant of the energy storage configured for the thermal power unit; e H is the inertia constant of the energy storage device; w H is the inertia constant of the energy storage configured for the wind turbine; vThe inertia constant of the energy storage configured for the photovoltaic power station; The rated capacity of the energy storage configured for the energy storage device; Rated capacity of energy storage configured for photovoltaic power station; U g It is the startup status of the synchronous unit.
[0134] Furthermore, referring to the following formula (28), the system transient frequency change process is determined according to the system equivalent inertia of the target power system, the system power shortage, the system damping, the active power provided by various power equipment, and the grid frequency deviation of the target power grid.
[0135] (28)
[0136] in: is the frequency deviation of the target power grid; is the power deficit of the target power system; System damping for the target power system; Active power provided to thermal power units; Active power provided to wind turbines; Active power provided to the photovoltaic field; Active power provided to the energy storage device.
[0137] S302, based on the system transient frequency change process, according to the maximum frequency change rate allowed by the target power system, and the grid reference frequency and grid frequency deviation of the target power grid, determine the frequency change rate constraint of the target power system at the moment of fault.
[0138] Optionally, at the moment of the target power system failure, since the primary frequency regulation response time of the energy storage is ignored, it is considered that the energy storage device instantaneously injects primary frequency regulation power. Therefore, referring to the following formulas (29), (30) and (31), the frequency change rate constraint of the target power system at the moment of the failure can be determined based on the system transient frequency change process, the maximum frequency change rate allowed by the target power system, and the grid reference frequency and grid frequency deviation of the target power grid.
[0139] (29)
[0140] (30)
[0141] (31)
[0142] in, is the active unbalance of the target power system; is the maximum frequency change rate of the target power system; is the maximum frequency change rate allowed in the target power system.
[0143] S303 , determining a maximum frequency deviation constraint of the target power system at the moment of a fault according to a safety deviation limit of the target power system and the time for the target power system to reach a minimum frequency.
[0144] Optionally, when the target power system faces a large-capacity active power impact, the maximum frequency deviation of the target power system should not exceed the safety limit, that is, Furthermore, the frequency deviation is constrained without considering the system damping, which facilitates the subsequent derivation of the linearized transient frequency deviation constraint.
[0145] The time it takes for the target power system to reach the lowest frequency point when the unit performs a frequency adjustment. is less than the time it takes for the unit frequency regulation capacity to be released, otherwise the system frequency will continue to drop. Therefore, the expression of the transient frequency deviation changing with time after ignoring the system damping can be found in the following formula (32).
[0146] (32)
[0147] Furthermore, let the frequency deviation derivative In the case of , the time when the system frequency reaches the lowest point can be calculated , and then determine the maximum frequency deviation constraint of the target power system at the moment of fault as shown in formulas (33) and (34).
[0148] (33)
[0149] (34)
[0150] In the embodiment of the present application, by determining the maximum frequency deviation constraint of the target power system at the moment of fault according to the safety deviation limit of the target power system and the time for the target power system to reach the minimum frequency, the reliability of the maximum frequency deviation constraint can be ensured.
[0151] In order to improve the efficiency of constraint solving, based on the above embodiment, in this embodiment, an optional method for solving the frequency deviation constraint is provided. Specifically, after the frequency deviation constraint is expanded, it can be found that there is R g,t with U g 、x e 、x w and x v The product term, x w with U g 、x e and x v The product term, R e,t and R v,t The product term of Re,t and R v,t The square terms of each make the constraint nonlinear and difficult to solve. Therefore, in order to improve the solution efficiency, the above four types of nonlinear terms need to be linearized.
[0152] Among them, x w with U g 、x e and x v The product term is the multiplication of 0-1 variables. We can set the two 0-1 variables to be x i and x j , introduce 0-1 auxiliary variable z ij Substitute the product term x i x j , and satisfy the constraints shown in formula (35).
[0153] (35)
[0154] R g,t with U g 、x e 、x w and x v The product term is the product of a 0-1 variable and a continuous variable, which can be linearized using the big M method, that is, introducing an auxiliary variable Replace the product of the 0-1 variable x and the continuous variable y and satisfy the constraints shown in formula (36), where M is a sufficiently large constant.
[0155] (36)
[0156] R e,t and R v,t All of them are continuous variables, which can be processed by McCormick relaxation method and the introduction of auxiliary variables Replace the bilinear term (xy) and satisfy the constraints shown in formula (37). , and , are the lower and upper bounds of the variables x and y, respectively.
[0157] (37)
[0158] R e,t and R v,t The respective square terms are fitted by piecewise linear fitting method, which is evenly segmented in the feasible domain and approximated as piecewise linear functions. Since this function is essentially a conditional function, it needs to be reconstructed into a linear constraint that can be substituted into the optimization model.
[0159] in, , when introducing continuous variables Then, referring to formulas (38) and (39), x and It is expressed in the following form.
[0160] (38)
[0161] (39)
[0162] At the same time, referring to formula (40), the continuous variable and 0-1 variables The following constraints must also be satisfied.
[0163] (38)
[0164] In the embodiment of the present application, the product term in the frequency deviation constraint is processed in a variety of ways, which can effectively improve the efficiency of constraint solving.
[0165] Figure 4 FIG. 2 is a flow chart of a method for determining a configuration scheme in another embodiment. Based on the above embodiment, this embodiment provides an optional example of a method for determining a configuration scheme. Figure 4 The specific implementation process is as follows:
[0166] S401, taking the investment, construction and transformation cost of the target power system as the first variable, taking the production and operation cost of the target power system as the second variable, and taking the resource regulation cost of the target power system as the third variable.
[0167] Among them, the first variable is determined based on the transformation information of various types of power equipment in the target power system; the second variable is determined based on the operating cost and equipment action cost coefficient of various types of power equipment in the target power system; the third variable is determined based on the correction cost of various types of power equipment in the target power system under overload operation.
[0168] S402, taking the sum of the first variable, the second variable and the third variable as the target function of the target power system.
[0169] S403, obtaining resource flexibility constraints of a target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and safety constraints of the target power system.
[0170] Among them, the flexible power supply capacity of the target power system is determined according to the configuration information of various power equipment in the target power system; the flexible power supply demand of the target power system is determined according to the net load power, supplyable load and new energy output information of the target power system; and the resource flexibility constraint of the target power grid corresponding to the target power system is determined according to the difference between the flexible power supply capacity and the flexible power supply demand.
[0171] The operation constraints include the operation constraints of thermal power units, the operation constraints of energy storage devices and the power balance constraints of the target power system; the frequency regulation power constraints include the primary frequency regulation power constraints of synchronous units, the primary frequency regulation power constraints of wind turbines, the primary frequency regulation power constraints of energy storage devices and the primary frequency regulation power constraints of photovoltaic stations.
[0172] The safety constraints include the frequency change rate constraint and the maximum frequency deviation constraint of the target power system at the moment of fault; the transient frequency change process of the system is determined according to the system equivalent inertia, system power shortage, system damping, active power provided by various power equipment, and the grid frequency deviation of the target power grid;
[0173] Based on the system transient frequency change process, the frequency change rate constraint of the target power system at the moment of fault is determined according to the maximum frequency change rate allowed by the target power system, the grid reference frequency and the grid frequency deviation of the target power grid; the maximum frequency deviation constraint of the target power system at the moment of fault is determined according to the safety deviation limit of the target power system and the time when the target power system reaches the minimum frequency.
[0174] S404: Determine the scenario weights of the target power grid in various typical scenarios based on the historical operation information of the target power grid.
[0175] S405, with the goal of minimizing the function value of the objective function, solve the objective function according to the scenario weights under various typical scenarios, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain the resource planning configuration plan of the target power system.
[0176] The specific process of the above S401-S405 can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0177] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0178] Based on the same inventive concept, the embodiment of the present application also provides a configuration scheme determination device for implementing the configuration scheme determination method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more configuration scheme determination device embodiments provided below can refer to the limitations of the configuration scheme determination method above, and will not be repeated here.
[0179] In an exemplary embodiment, Figure 5 As shown, a configuration scheme determination device 1 is provided, comprising: a function acquisition module 10, a constraint acquisition module 20 and a scheme determination module 30, wherein:
[0180] A function acquisition module 10 is used to acquire an objective function based on the configuration solution cost of the target power system;
[0181] The constraint acquisition module 20 is used to acquire the resource flexibility constraints of the target power grid corresponding to the target power system, as well as the operation constraints, frequency regulation power constraints and safety constraints of the target power system;
[0182] The scheme determination module 30 is used to solve the objective function with the minimum function value as the goal, according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system, to obtain the resource planning configuration scheme of the target power system.
[0183] In an exemplary embodiment, the function acquisition module 10 is specifically used for:
[0184] The investment, construction and transformation cost of the target power system is taken as the first variable, the production and operation cost of the target power system is taken as the second variable, and the resource regulation cost of the target power system is taken as the third variable; the sum of the first variable, the second variable and the third variable is taken as the objective function of the target power system.
[0185] In an exemplary embodiment, the first variable is determined based on the transformation information of various types of power equipment in the target power system; the second variable is determined based on the operating cost and equipment action cost coefficient of various types of power equipment in the target power system; and the third variable is determined based on the correction cost of various types of power equipment in the target power system under overload operation.
[0186] In an exemplary embodiment, the constraint acquisition module 20 is specifically used to:
[0187] According to the configuration information of various power equipment in the target power system, the flexible power supply capacity of the target power system is determined; according to the net load power, supplyable load and new energy output information of the target power system, the flexible power supply demand of the target power system is determined; according to the difference between the flexible power supply capacity and the flexible power supply demand, the resource flexibility constraint of the target power grid corresponding to the target power system is determined.
[0188] In an exemplary embodiment, the operating constraints include operating constraints of thermal power units, operating constraints of energy storage devices, and power balance constraints of the target power system; the frequency regulation power constraints include primary frequency regulation power constraints of synchronous units, primary frequency regulation power constraints of wind turbines, primary frequency regulation power constraints of energy storage devices, and primary frequency regulation power constraints of photovoltaic stations.
[0189] In an exemplary embodiment, the safety constraints include a frequency change rate constraint and a maximum frequency deviation constraint of the target power system at the moment of a fault; accordingly, the constraint acquisition module 20 is further used to:
[0190] Determine the system transient frequency change process according to the system equivalent inertia of the target power system, the system power shortage, the system damping, the active power provided by various power equipment, and the grid frequency deviation of the target power grid; based on the system transient frequency change process, determine the frequency change rate constraint of the target power system at the moment of fault according to the maximum frequency change rate allowed by the target power system, the grid reference frequency and the grid frequency deviation of the target power grid; determine the maximum frequency deviation constraint of the target power system at the moment of fault according to the safety deviation limit of the target power system and the time when the target power system reaches the minimum frequency.
[0191] In an exemplary embodiment, the solution determination module 30 is specifically configured to:
[0192] According to the historical operation information of the target power grid, the scenario weights of the target power grid under various typical scenarios are determined; with the minimum function value of the objective function as the goal, the objective function is solved according to the scenario weights under various typical scenarios, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system, to obtain the resource planning configuration plan of the target power system.
[0193] Each module in the above configuration scheme determination device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0194] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store historical operating data of the target power system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a configuration scheme determination method is implemented.
[0195] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0196] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0197] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0198] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0199] It should be noted that the data involved in this application (including but not limited to the historical operation data of the target power system, etc.) are all data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0200] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0201] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0202] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining a configuration scheme, characterized in that: The method comprises: Obtaining an objective function of the configuration plan cost based on the target power system; Obtaining resource flexibility constraints of a target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and safety constraints of the target power system; With the goal of minimizing the function value of the objective function, the objective function is solved according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain a resource planning configuration plan for the target power system.
2. The method according to claim 1, characterized in that The obtaining of the objective function of the configuration scheme cost based on the target power system includes: The investment, construction and transformation cost of the target power system is used as a first variable, the production and operation cost of the target power system is used as a second variable, and the resource regulation cost of the target power system is used as a third variable; The sum of the first variable, the second variable and the third variable is used as the objective function of the target power system.
3. The method according to claim 2, characterized in that The first variable is determined based on the transformation information of various types of power equipment in the target power system; the second variable is determined based on the operating cost and equipment action cost coefficient of various types of power equipment in the target power system; the third variable is determined based on the correction cost of various types of power equipment in the target power system under overload operation.
4. The method according to claim 1, characterized in that: The obtaining of the resource flexibility constraint of the target power grid corresponding to the target power system includes: Determining the flexible power supply capability of the target power system according to the configuration information of various types of power equipment in the target power system; Determining the flexible power supply demand of the target power system according to the net load power, supplyable load and new energy output information of the target power system; According to the difference between the flexible power supply capability and the flexible power supply demand, the resource flexibility constraint of the target power grid corresponding to the target power system is determined.
5. The method according to claim 1, characterized in that The operation constraints include the operation constraints of the thermal power unit, the operation constraints of the energy storage device and the power balance constraints of the target power system; The frequency regulation power constraints include the primary frequency regulation power constraints of synchronous units, the primary frequency regulation power constraints of wind turbines, the primary frequency regulation power constraints of energy storage devices and the primary frequency regulation power constraints of photovoltaic stations.
6. The method according to claim 1, characterized in that The safety constraints include a frequency change rate constraint and a maximum frequency deviation constraint of the target power system at the moment of a fault; accordingly, obtaining the safety constraints of the target power system includes: Determine the system transient frequency change process according to the system equivalent inertia, system power shortage, system damping, active power provided by various types of power equipment, and the grid frequency deviation of the target power grid; Based on the system transient frequency change process, according to the maximum frequency change rate allowed by the target power system, and the grid reference frequency and grid frequency deviation of the target power grid, determine the frequency change rate constraint of the target power system at the moment of fault; The maximum frequency deviation constraint of the target power system at the moment of fault is determined according to the safety deviation limit of the target power system and the time when the target power system reaches the lowest frequency.
7. The method according to claim 1, characterized in that The objective function is solved with the minimum function value as the goal, according to the historical operation information of the target power grid, the resource flexibility constraint of the target power grid, and the operation constraint, frequency modulation power constraint and safety constraint of the target power system, to obtain the resource planning configuration scheme of the target power system, including: Determining the scenario weights of the target power grid in various typical scenarios according to the historical operation information of the target power grid; With the goal of minimizing the function value of the objective function, the objective function is solved according to the scenario weights under various typical scenarios, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system to obtain a resource planning configuration plan for the target power system.
8. A configuration scheme determination device, characterized in that: The device comprises: A function acquisition module, used for acquiring an objective function based on a configuration scheme cost of a target power system; A constraint acquisition module, used to acquire resource flexibility constraints of a target power grid corresponding to the target power system, as well as operation constraints, frequency regulation power constraints and safety constraints of the target power system; A scheme determination module is used to solve the objective function with the goal of minimizing the function value of the objective function according to the historical operation information of the target power grid, the resource flexibility constraints of the target power grid, and the operation constraints, frequency regulation power constraints and safety constraints of the target power system, so as to obtain a resource planning configuration scheme for the target power system.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.