A method for online scheduling of compressed air energy storage system during the day
Through the use of the random dynamic programming model, the problem of unstable power supply in the wind farm is solved, and the stable power generation of the compressed air energy storage system is achieved. By adjusting the energy storage data in real time, tracking the changes in the wind power environment, ensuring the stable power generation in each period.
Patent Information
- Application Number
- CN202311812379.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-25
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-12-25
AI Technical Summary
The uncertainty of wind energy obtained by wind farms with weather changes leads to unstable power supply of compressed air energy storage systems, and a scheduling method is needed to improve the stability of the system.
A random dynamic programming model is adopted to generate constraints based on the initial state and historical state parameters, and the model is adjusted to determine the target energy storage data, and the wind power environment changes are tracked in real time to ensure the stable power generation in each period.
By adjusting the energy storage data in real time, the power generation capacity is maintained at a stable level in different time periods, avoiding power supply instability caused by wind energy fluctuations, and improving the overall power generation performance of the system.
Smart Images

Figure CN118040712B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technologies, and in particular to an intraday online scheduling method for a compressed air energy storage system. Background Art
[0002] In the new energy power system, wind power is one of the most important sources of clean electricity. The compressed air energy storage system is a system that generates wind power. The system obtains and stores compressed air through wind farms to accumulate wind energy. When power generation is needed, the stored compressed air is expanded to drive the turbine to generate power.
[0003] In actual environments, since the wind energy obtained by wind farms is uncertain as the weather changes, more wind energy is obtained in some time periods, and more electricity is generated, while less wind energy is obtained in other time periods, and less electricity is generated, which will cause unstable power supply.
[0004] Therefore, a method for scheduling the energy storage of a compressed air energy storage system is needed to improve the stability of the power supply of the compressed air energy storage system. Summary of the invention
[0005] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to propose a method for online scheduling of a compressed air energy storage system during the day to reduce resource consumption during the energy storage process.
[0006] According to a first aspect of an embodiment of the present invention, a method for intraday online scheduling of a compressed air energy storage system is provided, the method comprising:
[0007] Determine a stochastic dynamic programming model for a reference period to which the current sub-period to be scheduled belongs; wherein the stochastic dynamic programming model takes the electricity sales revenue of the compressed air energy storage system as a planning target, and generates a first constraint condition for energy storage data based on the initial state parameters of the compressed air energy storage system in the reference period and the historical state parameters of the compressed air energy storage system before the reference period;
[0008] Acquire initial energy storage data and available power generation of the compressed air energy storage system in the sub-period to be scheduled, and obtain a second constraint condition of the reference power generation for the sub-period to be scheduled based on the initial energy storage data and the available power generation;
[0009] Adjusting the stochastic dynamic programming model based on the second constraint condition, and obtaining the target energy storage data output by the stochastic dynamic programming model and corresponding to the sub-period to be scheduled;
[0010] The compressed air energy storage system is controlled to store energy based on the target energy storage data.
[0011] According to a second aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned intraday online scheduling method of a compressed air energy storage system is implemented.
[0012] According to a third aspect of an embodiment of the present invention, an electronic device is provided, comprising: a memory, a processor; a computer program is stored on the memory, and when the computer program is executed by the processor, the above-mentioned compressed air energy storage system intraday online scheduling method is implemented.
[0013] The solution of the embodiment of the present invention is based on a random dynamic programming model that corrects the first constraint of the reference period based on the second constraint obtained in the current sub-period to be scheduled, thereby realizing the coupling of long-time scale and short-time scale constraints, so that the target energy storage data obtained by the random dynamic programming model can be adjusted in real time by tracking the actual environmental changes of wind power, thereby determining the corresponding storage amount in different time periods, and ensuring that the power generation in each time period remains stable through energy storage.
[0014] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a schematic diagram of a compressed air energy storage system provided by an embodiment of the present invention;
[0016] Figure 2 It is a flow chart of a method for online scheduling of a compressed air energy storage system during the day provided by an embodiment of the present invention;
[0017] Figure 3 is a timing diagram of dynamic programming provided by an embodiment of the present invention;
[0018] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0020] Figure 1The figure shows the application scenario of an embodiment of the present invention, in which remote areas / offshore wind farms provide wind energy to a compressed air energy storage system, and the compressed air energy storage system includes a compressor, a charging device represented by M / G, and a power generation device. The charging device is used to store excess wind energy generated by the compressor, and the power generation device is used to receive work from the turbine and generate electricity; the current passes through a transformer and a long-distance transmission line, enters a large power grid and supplies power.
[0021] In one embodiment of the present invention, see Figure 1 , provides a method for daily online scheduling of a compressed air energy storage system, the method comprising steps S201-S204.
[0022] S201: Determine a random dynamic programming model of a reference period to which the current sub-period to be scheduled belongs;
[0023] The stochastic dynamic programming model takes the electricity sales revenue of the compressed air energy storage system as the planning target, and generates the first constraint condition for the energy storage data based on the initial state parameters of the compressed air energy storage system in the reference period and the historical state parameters of the compressed air energy storage system before the reference period;
[0024] Since the sub-period to be scheduled is a period in which energy storage has not yet started, the state parameters of the compressed air energy storage system during the power generation process cannot be obtained. Therefore, historical state parameters are used for simulation to achieve a random dynamic programming model that is set as a benchmark in the absence of information.
[0025] The random dynamic programming model can be subsequently updated through the second constraint condition to make the energy storage data output by the model more accurate.
[0026] Step S202: obtaining initial energy storage data and available power generation of the compressed air energy storage system in the sub-period to be scheduled, and obtaining a second constraint condition of the reference power generation for the sub-period to be scheduled based on the initial energy storage data and the available power generation;
[0027] like Figure 3 As shown, a benchmark power generation plan, i.e., a power generation plan under the first constraint condition, is determined, including energy storage data, wherein the slow time scale corresponds to the benchmark period, and each sub-period in the fast time scale is a period to be scheduled.
[0028] Compressed air energy storage can be expressed by stored air pressure, and wind power output can be expressed by power generation efficiency.
[0029] Step S203: adjusting the random dynamic programming model based on the second constraint condition, and obtaining the target energy storage data corresponding to the sub-period to be scheduled output by the random dynamic programming model;
[0030] The second constraint condition is used to adjust the random dynamic programming model, that is, the constraint condition of the random dynamic programming model is updated to the joint condition of the second constraint condition and the first constraint condition, and in this case, the solution of the model is obtained as the target energy storage data.
[0031] Step S204: Controlling the compressed air energy storage system to store energy based on the target energy storage data.
[0032] In this way, the air energy storage system stores energy according to the air pressure recorded in the target energy storage data, and generates electricity according to the benchmark power generation power. The second constraint condition constrains the above processes to be met at the same time, ensuring that the compressed air energy storage system can both store energy and generate electricity according to the benchmark plan.
[0033] By storing energy in the above manner, excess wind energy can be saved for use in subsequent sub-periods, so that in the sub-periods with insufficient wind energy, energy from the sub-periods with sufficient wind energy can be used to compensate for it, thereby ensuring the stability of the power station.
[0034] The solution of the embodiment of the present invention is based on a random dynamic programming model that corrects the first constraint of the reference period based on the second constraint obtained in the current sub-period to be scheduled, thereby realizing the coupling of long-time scale and short-time scale constraints, so that the target energy storage data obtained by the random dynamic programming model can be adjusted in real time by tracking the actual environmental changes of wind power, thereby determining the corresponding storage amount in different time periods, and ensuring that the power generation in each time period remains stable through energy storage.
[0035] In one embodiment of the present invention, the planning target is determined in the following manner:
[0036]
[0037] The first constraints include:
[0038]
[0039]
[0040]
[0041]
[0042] 0
[0043]
[0044]
[0045] in, Indicates the planning objectives; and They are the energy storage data representing the gas storage pressure in the t period and the t+1 period respectively; the t period represents the reference period to which the sub-period to be scheduled belongs; the t+1 period represents the next period of the reference period; and Respectively represent the energy storage parameters and power generation parameters included in the historical state parameters; and are the charging power and generating power of compressed air energy storage during period t respectively; and They represent the charging efficiency and power generation efficiency of the compressed air energy storage system respectively; is the duration of the sub-period to be scheduled; and They represent the lower and upper charging limits of the compressed air energy storage system respectively; and They represent the lower and upper limits of power generation of the compressed air energy storage system respectively; and They respectively represent the lower limit and upper limit of the gas storage pressure of the compressed air energy storage system; is the actual wind power generation power in period t; is the available wind power during period t; is the electricity price during period t, is the benchmark power generation; Penalize for deviation from expectation; is the planning target for the next period relative to period t; The capacity of the transmission line for the compressed air energy storage system.
[0046] is the electricity price during period t, To report the reference power, correspondingly, is the system electricity sales revenue planned for time period t; the second is the power deviation penalty at a fast time scale within the hour. Since the wind power fluctuation within the hour cannot be determined at the beginning of the t hour, the expected deviation penalty is used for estimation.
[0047] In this way, the planning objectives of each sub-period to be scheduled and the next adjacent period are coordinated through constraints to ensure the overall power generation performance of the reference period.
[0048] The reference power generation may be preset according to the state parameters, or may be calculated according to the method provided in the following embodiment.
[0049] In one embodiment of the present invention, the expected deviation penalty is calculated as follows:
[0050] Based on the sampling average approximation SAA (Sample average approximation) method, the scene parameters of the reference period are sampled to obtain a preset number of prediction scenarios; the average value of the deviation penalty generated by the compressed air energy storage system under the prediction scenario is determined as the expected deviation penalty.
[0051] Specifically, the expected deviation penalty can be determined as follows:
[0052]
[0053] in, is the total number of random scenes; is the total dispatching time; is the penalty for expected deviation; s The probability of a wind power fluctuation scenario occurring is ; For the s Expected deviation penalty in each scenario; is the preset penalty value of electricity selling price; is the benchmark power generation; is the system in the sth scenario The actual power of each sub-period.
[0054] In the above embodiment, the first constraint condition also includes:
[0055]
[0056]
[0057]
[0058]
[0059] 0
[0060] =
[0061]
[0062] Where s represents the scene number; For the The duration of each sub-session; and Respectively represent the sth scene in the prediction scene The gas storage pressure of the compressed air energy storage system in the sth sub-period and the gas storage pressure of the sth scenario The gas storage pressure of the compressed air energy storage system during the time period; and The sth scene Charging power and generating power of compressed air energy storage system in each sub-period; For the sth scene Actual wind power generation in each sub-period; For the sth scene The actual power of compressed air energy storage in each sub-period; For the sth scene The available wind power in each sub-period; and is the preset coefficient.
[0063] In the above embodiment, the first constraint condition also includes:
[0064]
[0065]
[0066] in, Represents the initial sub-period in the s-th prediction scenario Internal energy storage, Indicates the last sub-period in the sth prediction scenario The energy storage within; s represents the number of prediction scenarios.
[0067] The benchmark power generation is determined as follows:
[0068]
[0069] The second constraint includes:
[0070]
[0071]
[0072]
[0073]
[0074] 0
[0075] =
[0076]
[0077] in, Indicates sub-period The terminal function below; and Sub-periods Compressed air energy storage pressure; and Sub-periods Compressed air energy storage charging power and discharging power; Sub-period The actual wind power generation capacity; Sub-period The available wind power; Sub-period The actual power of compressed air energy storage.
[0078] In one embodiment of the present invention, the second constraint condition further includes: a constraint condition indicating that the final energy storage data of the sub-period to be scheduled is equal to the initial energy storage data of the next period of the sub-period to be scheduled.
[0079] In the formulas of the above embodiments, the parameters represented by the same letters have the same meaning in each formula. In all formulas where it appears, it represents the energy storage parameters included in the historical state parameters.
[0080] In one embodiment of the present invention, a computer-readable storage medium is further provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, any of the aforementioned intraday online scheduling methods for a compressed air energy storage system is implemented.
[0081] In one embodiment of the present invention, an electronic device is also provided, including: a memory and a processor; a computer program is stored in the memory, and when the computer program is executed by the processor, any of the aforementioned methods for online scheduling of compressed air energy storage systems during the day is implemented.
[0082] Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present invention.
[0083] like Figure 4 As shown, the electronic device 400 includes: a processor 401 and a memory 403. The processor 401 and the memory 403 are connected, such as through a bus 402. Optionally, the electronic device 400 may further include a transceiver 404. It should be noted that in actual applications, the transceiver 404 is not limited to one, and the structure of the electronic device 400 does not constitute a limitation on the embodiments of the present invention.
[0084] Processor 401 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present invention. Processor 401 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0085] The bus 402 may include a path to transmit information between the above components. The bus 402 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 402 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0086] The memory 403 is used to store a computer program corresponding to the asynchronous serial communication method of the above embodiment of the present invention, and the computer program is controlled and executed by the processor 401. The processor 401 is used to execute the computer program stored in the memory 403 to implement the contents shown in the above method embodiment.
[0087] Among them, the electronic device 400 includes but is not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device 400 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0088] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0089] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0090] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0091] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0092] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0093] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0094] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0095] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for daily online scheduling of a compressed air energy storage system, characterized in that: The method comprises: Determine a stochastic dynamic programming model for a reference period to which the current sub-period to be scheduled belongs; wherein the stochastic dynamic programming model takes the electricity sales revenue of the compressed air energy storage system as a planning target, and generates a first constraint condition for energy storage data based on the initial state parameters of the compressed air energy storage system in the reference period and the historical state parameters of the compressed air energy storage system before the reference period; Acquire initial energy storage data and available power generation of the compressed air energy storage system in the sub-period to be scheduled, and obtain a second constraint condition of the reference power generation for the sub-period to be scheduled based on the initial energy storage data and the available power generation; Adjusting the stochastic dynamic programming model based on the second constraint condition, and obtaining the target energy storage data output by the stochastic dynamic programming model and corresponding to the sub-period to be scheduled; Controlling the compressed air energy storage system to store energy based on the target energy storage data; The planning objectives are determined in the following manner: The first constraint condition includes: 0 in, represents the planning objective; and are respectively energy storage data representing the gas storage pressure in time period t and time period t+1; time period t represents the reference time period to which the sub-time period to be scheduled belongs; time period t+1 represents the next time period of the reference time period; and Respectively represent the energy storage parameters and power generation parameters included in the historical state parameters; and are respectively the compressed air energy storage charging power and the generating power during the period t; and Respectively represent the charging efficiency and power generation efficiency of the compressed air energy storage system; is the duration of the sub-period to be scheduled; and Respectively represent the lower charging limit and the upper charging limit of the compressed air energy storage system; and Respectively represent the lower power generation limit and the upper power generation limit of the compressed air energy storage system; and Respectively represent the lower limit and upper limit of the gas storage pressure of the compressed air energy storage system; is the actual wind power generation power during the period t; is the available wind power generation power during the period t; is the electricity price during the period t, is the benchmark power generation; Penalize for deviation from expectation; is the planning target for the next period relative to period t; The capacity of the transmission line of the compressed air energy storage system; The reference power generation is determined in the following manner: The second constraint condition includes: 0 = in, Indicates sub-period The terminal function below; and Sub-periods Compressed air energy storage pressure; and Sub-periods Compressed air energy storage charging power and discharging power; Sub-period The actual wind power generation capacity; Sub-period The available wind power; Sub-period The actual power of compressed air energy storage.
2. The method according to claim 1, characterized in that: The expected deviation penalty is calculated as follows: Based on the sampling average approximation (SAA) method, the scene parameters of the reference time period are sampled to obtain a preset number of prediction scenes; An average value of the deviation penalty generated by the compressed air energy storage system under the prediction scenario is determined as the expected deviation penalty.
3. The method according to claim 2, characterized in that The step of determining an average value of the deviation penalty generated by the compressed air energy storage system in the prediction scenario as an expected deviation penalty includes: The expected deviation penalty is determined as follows: in, is the total number of random scenes; is the total dispatching time; is the penalty for expected deviation; s The probability of a wind power fluctuation scenario occurring is ; For the s Expected deviation penalty in each scenario; is the preset penalty value of electricity selling price; is the benchmark power generation; is the system in the sth scenario The actual power of each sub-period.
4. The method according to claim 3, characterized in that The first constraint condition also includes: 0 = Where s represents the scene number; For the The duration of each sub-session; and Respectively represent the sth scene in the prediction scene The gas storage pressure of the compressed air energy storage system in the sth sub-period and the gas storage pressure of the sth scene The gas storage pressure of the compressed air energy storage system during a time period; and The sth scene the charging power and generating power of the compressed air energy storage system in each sub-period; For the sth scene Actual wind power generation in each sub-period; For the sth scene The actual power of compressed air energy storage in each sub-period; For the sth scene The available wind power in each sub-period; and is the preset coefficient.
5. The method according to claim 4, wherein: The first constraint condition also includes: Among them, the Represents the initial sub-period in the s-th prediction scenario Internal energy storage, Indicates the last sub-period in the sth prediction scenario The energy storage within; s represents the number of the predicted scenarios.
6. The method according to claim 1, characterized in that The second constraint condition also includes: a constraint condition indicating that the final energy storage data of the sub-period to be scheduled is equal to the initial energy storage data of the next period of the sub-period to be scheduled.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
8. An electronic device, characterized in that: include: Memory, processor; The memory stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Multi-timescale energy optimization scheduling method for microgrids in stand-alone operation mode
CN102289566A
Wind power integration unit combination method and device considering compressed air energy storage
CN107742901A
