A frequency regulation and peak regulation control method and system for thermal power generation units

By building an environment-load coupling prediction model and adjusting the operating mode, selecting appropriate energy storage and discharge methods, the problem of power waste caused by wrong selection of energy storage methods in the existing technology is solved, and the stable power supply and operation efficiency of the power grid is achieved. .

CN118801480BActive Publication Date: 2025-01-03HUANENG LANZHOU THERMAL POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411266577.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-01-03
Estimated Expiration
2044-09-11

AI Technical Summary

Technical Problem

The wrong energy storage method in the prior art leads to waste of electricity and cannot effectively match power generation and electricity consumption needs, resulting in fluctuations in the power grid and increased operating costs.

Method used

By obtaining environmental impact data and real-time power generation data of thermal power units, we build an environmental-load coupled prediction model, predict the comprehensive power demand, and adjust the operating mode according to energy storage and discharge requirements, select appropriate energy storage and discharge methods, and use virtual The synchronous generator performs frequency and peak regulation control to ensure effective storage and replenishment of electrical energy.

Benefits of technology

The operation efficiency of thermal power units is optimized, the waste of electricity is reduced, the stability and flexibility of the power grid is improved, the operating costs are reduced, and the stability and economical power supply are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118801480B_ABST
    Figure CN118801480B_ABST
Patent Text Reader

Abstract

The present invention discloses a frequency regulation and peak regulation control method and system for a thermal power unit, which relates to the field of power transmission and power supply technology, including obtaining environmental impact data; predicting predicted power demand according to environmental impact data; obtaining real-time power generation data of the thermal power unit; in energy storage mode, determining the energy storage power difference between the real-time power generation data and the predicted power demand and the energy storage duration, and then selecting a corresponding energy storage method, and using the selected energy storage method to store the electric energy output by the thermal power unit; in discharge mode, determining the discharge power difference between the real-time power generation data and the predicted power demand and the discharge duration, and then selecting a corresponding discharge method, and using the selected discharge method to supplement the electric energy output by the thermal power unit. The present invention sets a variety of energy storage methods and discharge methods, selects the corresponding method according to the actual needs of energy storage and discharge, and reduces the waste of electric energy as much as possible while meeting the energy storage and discharge needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power transmission and supply, and in particular to a frequency and peak regulation control method and system for a thermal power unit. Background Art

[0002] There is a great deal of uncertainty in the power system, especially the power generation system. Power plants need to determine the power generation capacity according to the real-time power demand, and try not to waste electricity while meeting the power demand. Therefore, power plants need to know the power demand in the future in advance. Predicting power demand based on external environmental factors such as weather and time period is currently a more common and effective method.

[0003] For example, CN117913857A discloses a method and system for frequency and peak regulation of thermal power units. The patent predicts the power load in the future through a power load prediction model to control the frequency and peak regulation of the thermal power units in advance.

[0004] However, no matter what kind of prediction model is used, it is impossible to guarantee that the predicted power load is completely consistent with the actual power load, that is, there will be differences between the power output of the power plant and the actual power consumption. In order to ensure that people's lives are not affected as much as possible, the power plant will make the actual power generation slightly greater than the actual power consumption. At this time, there will be some excess electricity, which can be stored in a variety of energy storage methods to supply power to the power grid during peak power consumption and reduce the load of thermal power units. However, there are many ways to store energy, and the characteristics of each energy storage method are not exactly the same. Choosing the wrong energy storage method under different power generation conditions will cause a waste of electricity. Summary of the invention

[0005] In view of the above existing problems, the present invention provides a frequency regulation and peak regulation control method and system for a thermal power unit, so as to solve the problem in the prior art that selecting an incorrect energy storage method will cause waste of electric energy.

[0006] In order to solve the above technical problems, a frequency regulation and peak regulation control method for thermal power units is proposed, including:

[0007] Acquire environmental impact data and real-time power generation data of thermal power units, and monitor the operating status of thermal power units in real time to obtain key parameters such as generator speed, grid frequency and load demand; input the environmental impact data into the power demand prediction model to obtain the predicted power demand, input the key parameters into the constructed load prediction algorithm to obtain the load demand of the unit, and comprehensively construct an environment-load coupling prediction model based on the predicted power demand change and the predicted load demand of the thermal power unit to predict the comprehensive power demand power; adjust the operating mode of the unit in combination with the comprehensive prediction results, and when the actual storage capacity of the energy storage device and the discharge device is equal to the actual storage capacity of the energy storage device and the discharge device, the power demand of the unit is predicted. When the maximum storage capacity of the device is reached, the unit is adjusted to operation mode one, and the energy storage and discharge methods are determined according to the difference threshold; when the actual storage capacity of the energy storage device and the discharge device is less than the maximum storage capacity of the energy storage device and the discharge device, the unit is adjusted to operation mode two; when operation mode one and operation mode two do not meet the energy storage and discharge requirements of the thermal power unit, a multi-mode combination mode is adopted; after the operation mode is selected, a virtual synchronous generator is installed, the parameters of the virtual synchronous machine are adjusted and the prediction results are updated to detect whether the energy storage and discharge requirements of the thermal power unit are met, and the frequency and peak regulation control of the thermal power unit is performed according to the simulation results and detection results of the virtual synchronous machine.

[0008] As a preferred solution of the frequency and peak regulation control method for a thermal power unit described in the present invention, the environmental impact data includes meteorological data, environmental quality data and water temperature cooling data.

[0009] The meteorological data includes the ambient temperature, ambient humidity and atmospheric pressure within the planned time period.

[0010] The environmental quality data include the levels of pollutants emitted by thermal power units.

[0011] The water temperature cooling data includes the heat exchange efficiency of the cooling system.

[0012] The real-time power generation data includes the current power generation of the thermal power unit, and the collected power generation data is corrected and preprocessed to remove measurement errors:

[0013] ;

[0014] in, is the real-time power generation, is the power generation efficiency, It is the real-time power generation of the nth thermal power unit after preprocessing.

[0015] As a preferred solution of the frequency and peak regulation control method of a thermal power unit described in the present invention, the environment-load coupling prediction model includes inputting the environmental impact data into a power demand prediction model to obtain a predicted power demand:

[0016] ,

[0017] in, is the predicted change in electricity demand, is the initial time point, To predict the time point, is the influence coefficient of meteorological data on electricity demand, is the temperature sensitivity coefficient, is the real-time ambient temperature, is the reference ambient temperature, is the influence coefficient of power generation data on electricity demand, is the real-time power generation of the nth thermal power unit after preprocessing, is the variance of the power generation of the nth thermal power unit, is the actual value of the power generated by the nth thermal power unit, is the expected value of the power generation of the nth thermal power unit, is the influence coefficient of grid frequency on electricity demand, is the real-time grid frequency, Variance of grid frequency, is the expected value of the grid frequency, is the actual load demand of the entire power grid, is the base load demand, is the number of thermal power units, n is the number of thermal power units The variable index of , representing the 1st to nth thermal power units.

[0018] The key parameters are input into the constructed load forecasting algorithm to obtain the unit load demand:

[0019] ,

[0020] in, For the predicted load demand of thermal power units, To perform the time derivative operator, is the probability density standard deviation of load demand distribution, It is an unstable variable that causes the load demand to change with user behavior. is the average value of load demand, is the regulation coefficient of the nth thermal power unit, is the real-time speed of the nth thermal power unit, is the reference speed, is the real-time power generation of the nth thermal power unit, is the benchmark power generation, is the power generation impact index of the nth thermal power unit, is the influence coefficient of load demand change rate.

[0021] According to the predicted change in electricity demand and the predicted load demand of thermal power units, an environment-load coupling prediction model is constructed to predict the comprehensive electricity demand power. :

[0022]

[0023] in, is the predicted comprehensive power demand. is the environmental factor influence coefficient, is the predicted change in electricity demand, is the load demand coefficient of thermal power units, is the load demand of the nth thermal power unit, is the filter coefficient of the load demand of the nth thermal power unit, is the actual load of the nth thermal power unit, is the average load of thermal power units, is the power change caused by environmental changes, is the basic power, and N is the number of thermal power units.

[0024] As a preferred solution of the frequency and peak regulation control method of a thermal power unit described in the present invention, wherein: the operation mode of the adjustment unit includes, when the actual storage capacity of the energy storage device and the discharge device is equal to the maximum storage capacity of the energy storage device and the discharge device, the adjustment unit is in operation mode one.

[0025] When the real-time power generation data is greater than the predicted comprehensive power demand When the energy storage mode is entered, the energy storage mode is selected, including capacitor energy storage, battery energy storage and hydrogen energy storage. The selected energy storage mode is used to store the electric energy output by the thermal power unit to determine the energy storage power difference. And storage duration ,in, Indicates the electrical energy that needs to be stored:

[0026]

[0027]

[0028] when ≤ the first difference, and ≤ the first duration, select capacitor energy storage. ≤ the third difference, while the first duration < ≤ the third duration, select battery energy storage. ≤ the fifth difference, while the third duration < ≤5th duration, select hydrogen energy storage. >When the fifth difference is reached, a multi-mode combination mode is adopted.

[0029] When the real-time power generation data is less than the predicted comprehensive power demand When the discharge mode is entered, the discharge mode is selected, including capacitor discharge, battery discharge and hydrogen energy discharge. The selected discharge mode is used to supplement the electric energy output by the thermal power unit to determine the discharge power difference. and discharge duration ,in, Indicates the amount of electrical energy that needs to be replenished:

[0030]

[0031]

[0032] when ≤ the second difference, and ≤ the second duration, the selected discharge mode is the capacitor discharge. ≤ the fourth difference, while the second duration < ≤ the fourth duration, select battery discharge. ≤ the sixth difference, while the fourth duration < ≤6th duration, select hydrogen energy discharge. >When the sixth difference value is reached, a multi-mode combination mode is adopted.

[0033] The operation mode of the adjustment unit also includes, when the actual storage capacity of the energy storage device and the discharge device is less than the maximum storage capacity of the energy storage device and the discharge device, adjusting the unit to operation mode two.

[0034] Before selecting an energy storage method, detect the real-time energy storage capacity of each energy storage device in each energy storage method, determine the energy storage capacity based on the energy storage power difference and the energy storage duration, and select the energy storage method and determine the number of energy storage devices with the goal of ensuring that the real-time energy storage capacity of multiple energy storage devices is greater than or equal to the energy storage capacity and that the difference between the real-time energy storage capacity and the energy storage capacity of multiple energy storage devices is minimized.

[0035] Before selecting a discharge mode, the real-time remaining capacity of the discharge device in each discharge mode is detected, and the discharge amount is determined according to the discharge power difference and the discharge duration. With the goal that the real-time remaining capacity of multiple discharge devices is greater than or equal to the discharge amount and the difference between the real-time remaining capacity and the discharge amount of multiple discharge devices is minimized, the discharge mode is selected and the number of discharge devices is determined.

[0036] As a preferred solution of the frequency regulation and peak regulation control method of a thermal power unit described in the present invention, the multi-mode combination mode includes: when the energy storage and discharge requirements of the thermal power unit are met according to a single energy storage and discharge mode, the selected energy storage mode is followed to maintain operation; when > The fifth difference, the multi-storage mode is used. If Energy storage power greater than any other energy storage method, including capacitor energy storage power , Battery energy storage power And hydrogen energy storage power ,calculate The difference between the sum of the powers of different energy storage combinations .

[0037] choose and ≥ Energy storage combination:

[0038]

[0039] in, It is the sum of the energy storage powers of different energy storage modes.

[0040] Each energy storage method is a multi-parallel energy storage device. The sum of the energy storage power of the multi-parallel energy storage devices must be equal to the energy storage power of the corresponding energy storage method. After selecting the energy storage method, select and ≥ As the goal, determine the number of energy storage devices connected in the selected energy storage mode combination.

[0041]

[0042] in, is the sum of the energy storage powers of multiple parallel energy storage devices, It is the difference between the energy storage power difference and the sum of the energy storage powers of multiple energy storage devices in multiple energy storage modes.

[0043] when > When the sixth difference is reached, a multi-discharge mode is used. If > The discharge power of any discharge method includes the capacitor discharge power , Battery discharge power And hydrogen discharge power ,calculate The difference between the sum of the powers of different discharge modes .

[0044] choose and ≥ Poor discharge mode combination:

[0045]

[0046] in, It is the sum of the discharge powers of different discharge mode combinations.

[0047] Each discharge mode is a multi-discharge device connected in parallel. The sum of the discharge powers of the multiple discharge devices needs to be equal to the discharge power of the corresponding discharge mode. After selecting the discharge mode combination, the difference between the discharge power difference and the sum of the discharge powers of the multiple discharge devices in different discharge modes and discharge mode combinations is the smallest, and the sum of the discharge powers of the multiple discharge devices in the discharge mode exceeds the discharge power difference. and ≥ As the goal, determine the number of discharge devices connected in each discharge mode:

[0048]

[0049] in, is the sum of the discharge powers of multiple parallel discharge devices, It is the difference between the discharge power difference and the sum of the discharge powers of multiple discharge devices in multiple discharge modes.

[0050] As a preferred solution of the frequency regulation and peak regulation control method of a thermal power unit described in the present invention, the detection of whether the energy storage demand and discharge demand of the thermal power unit are met includes: after the operation mode selection is completed, detecting whether the energy storage demand of the thermal power unit is met and discharge requirements :

[0051]

[0052]

[0053] in, is the energy storage power value, is the current energy storage capacity, is the rated energy storage capacity, t is the time variable, is the discharge power, m is the time series length of the discharge demand, i is the variable index, is the required discharge power, is the standard deviation of the discharge demand power.

[0054] Among them, when ≥0 means that the energy storage demand is met. <0 means that the energy storage demand is not met. When ≥0.72, it means that the discharge demand is met. When <0.72, it means that the discharge requirement is not met.

[0055] As a preferred solution of the frequency regulation and peak regulation control method of a thermal power unit described in the present invention, the updating prediction result includes installing a virtual synchronous machine on the thermal power unit, setting the inertia coefficient of the synchronous generator to 0.2 and the damping coefficient to 0.3, simulating the inertia of the virtual synchronous generator and damping characteristics , adjust the parameters of the virtual synchronous machine to match the characteristics of the actual synchronous generator to meet:

[0056] Actual synchronous generator inertia = 0.2 ;

[0057] Actual synchronous generator damping = 0.3 ;

[0058] When the energy storage demand and discharge demand are not met, the virtual synchronous machine installed on the thermal power unit is triggered to send a request to the user to reduce the load and set the user response threshold. (0< <1), when the response ratio of users to reduce load reaches When , the demand side response is considered successful:

[0059] Response ratio = ;

[0060] According to the simulation results of the virtual synchronous machine and the response of the demand side, the output power of the thermal power unit is adjusted to achieve frequency and peak regulation. To actually reduce the load for users, Reduce the load for requests.

[0061] Another object of the present invention is to provide a frequency and peak regulation control system for thermal power units, which optimizes the operating efficiency of thermal power units and realizes stable power supply of the power grid. The system of the present invention obtains environmental data in real time, predicts electricity demand, monitors power generation data, and adopts corresponding energy storage and discharge control strategies, thereby solving the problems of power waste and power grid fluctuations caused by the mismatch between power generation and demand during the frequency and peak regulation process of thermal power units, improving the flexibility and reliability of the power system, reducing operating costs, and ensuring the stability and economy of power supply.

[0062] As a preferred solution of the frequency and peak regulation control system of a thermal power unit described in the present invention, it is characterized by including an environmental data acquisition module, a demand prediction module, a power generation data acquisition module, an energy storage control module and a discharge control module.

[0063] The environmental data acquisition module is used to acquire environmental impact data.

[0064] The demand forecasting module is used to input the environmental impact data into the electricity demand forecasting model to obtain the predicted electricity demand, where the predicted electricity demand is the electricity demand for a period of time in the future.

[0065] The power generation data acquisition module is used to acquire real-time power generation data of the thermal power unit.

[0066] The energy storage control module is used to enter the energy storage mode when the real-time power generation data is greater than the predicted power demand. In the energy storage mode, the energy storage power difference and the energy storage duration between the real-time power generation data and the predicted power demand are determined, and the energy storage method is selected according to the energy storage power difference and the energy storage duration, and the selected energy storage method is used to store the electric energy output by the thermal power unit.

[0067] The discharge control module is used to enter the discharge mode when the real-time power generation data is less than the predicted power demand. In the discharge mode, the discharge power difference and the discharge duration between the real-time power generation data and the predicted power demand are determined, and a discharge mode is selected according to the discharge power difference and the discharge duration. The selected discharge mode is used to supplement the electric energy output by the thermal power unit.

[0068] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, the steps of a method for frequency and peak regulation control of a thermal power unit are implemented.

[0069] A computer-readable storage medium stores a computer program thereon, wherein when the computer program is executed by a processor, the steps of a method described in the frequency and peak regulation control of a thermal power unit are implemented.

[0070] Beneficial effects of the present invention: The present invention sets a variety of different energy storage modes and discharge modes, and selects the corresponding mode according to the actual needs of energy storage and discharge, thereby reducing the waste of electric energy as much as possible while meeting the energy storage and discharge needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0072] Figure 1 An overall flow chart of a frequency and peak regulation control method for a thermal power unit provided by an embodiment of the present invention.

[0073] Figure 2A power demand prediction curve, real-time power generation data and a schematic diagram of energy storage device selection for a frequency and peak regulation control method of a thermal power unit provided in one embodiment of the present invention.

[0074] Figure 3 A system functional architecture diagram of a frequency and peak regulation control system for a thermal power unit provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION

[0075] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0076] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0077] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it an embodiment that is mutually exclusive with other embodiments, either individually or selectively.

[0078] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0079] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0080] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0081] Example 1, reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, provides a frequency and peak regulation control method for a thermal power unit, comprising:

[0082] like Figure 1 : S1: Obtain environmental impact data and real-time power generation data of thermal power units, and monitor the operating status of thermal power units in real time to obtain key parameters such as generator speed, grid frequency and load demand.

[0083] Environmental impact data refers to a variety of data that affects electricity demand, including temperature and time period. For example, when the temperature is high, the time people use the air conditioner will increase accordingly, resulting in increased electricity demand. The time period is mainly divided into daytime and nighttime. Since people's production and life are mainly during the daytime, the electricity demand during the daytime is greater than at night.

[0084] Furthermore, the environmental impact data includes meteorological data, environmental quality data and water temperature cooling data.

[0085] The meteorological data includes the ambient temperature, ambient humidity and atmospheric pressure within the planned time period.

[0086] The environmental quality data include the levels of pollutants emitted by thermal power units.

[0087] The water temperature cooling data includes the heat exchange efficiency of the cooling system.

[0088] The real-time power generation data includes the current power generation of the thermal power unit, and the collected power generation data is corrected and preprocessed to remove measurement errors:

[0089] ;

[0090] in, is the real-time power generation, is the power generation efficiency, It is the real-time power generation of the nth thermal power unit after preprocessing.

[0091] The real-time power generation data is the current power generation of the thermal power unit. The power demand is expressed in the rectangular coordinate system of the forecast curve. The power generation can be drawn as a horizontal line. There are multiple intersections between the horizontal line and the power demand forecast curve. The intersection is the position where the predicted power demand and the real-time power generation data of the thermal power unit are the same. The power generation of the thermal power unit just meets the power demand. At this time, there is no need to perform peak-shaving and frequency-regulating processing on the output power of the thermal power unit. At different locations, the real-time power generation data will be greater than or less than the predicted power demand. At different locations, the power output of the thermal power unit is subjected to peak-shaving and frequency-regulating processing to store excess power when the real-time power generation data of the thermal power unit is large, and to supplement energy when the real-time power generation data of the thermal power unit is small, so as to ensure that the power demand is met without a significant change in the real-time power generation data of the thermal power unit.

[0092] S2: Input the environmental impact data into the electricity demand prediction model to obtain the predicted electricity demand, input the key parameters into the constructed load prediction algorithm to obtain the unit load demand, and comprehensively construct the environment-load coupling prediction model based on the predicted change in electricity demand and the predicted load demand of the thermal power unit to predict the comprehensive electricity demand power.

[0093] S3: Based on the comprehensive prediction results, adjust the operating mode of the unit. When the actual storage capacity of the energy storage device and the discharge device is equal to the maximum storage capacity of the energy storage device and the discharge device, adjust the unit to operating mode one, and determine the energy storage and discharge methods according to the difference threshold; when the actual storage capacity of the energy storage device and the discharge device is less than the maximum storage capacity of the energy storage device and the discharge device, adjust the unit to operating mode two; when operating mode one and operating mode two do not meet the energy storage and discharge needs of the thermal power unit, adopt a multi-mode combination mode.

[0094] Furthermore, the environmental impact data is input into the electricity demand prediction model to obtain the predicted electricity demand:

[0095] ,

[0096] in, is the predicted change in electricity demand, is the initial time point, To predict the time point, is the influence coefficient of meteorological data on electricity demand, is the temperature sensitivity coefficient, is the real-time ambient temperature, is the reference ambient temperature, is the influence coefficient of power generation data on electricity demand, is the real-time power generation of the nth thermal power unit after preprocessing, is the variance of the power generation of the nth thermal power unit, is the actual value of the power generated by the nth thermal power unit, is the expected value of the power generation of the nth thermal power unit, is the influence coefficient of grid frequency on electricity demand, is the real-time grid frequency, Variance of grid frequency, is the expected value of the grid frequency, is the actual load demand of the entire power grid, is the base load demand, is the number of thermal power units, n is the number of thermal power units The variable index of , representing the 1st to nth thermal power units.

[0097] The key parameters are input into the constructed load forecasting algorithm to obtain the unit load demand:

[0098] ,

[0099] in, For the predicted load demand of thermal power units, To perform the time derivative operator, is the probability density standard deviation of load demand distribution, It is an unstable variable that causes the load demand to change with user behavior. is the average value of load demand, is the regulation coefficient of the nth thermal power unit, is the real-time speed of the nth thermal power unit, is the reference speed, is the real-time power generation of the nth thermal power unit, is the benchmark power generation, is the power generation impact index of the nth thermal power unit, is the influence coefficient of load demand change rate.

[0100] According to the predicted change in electricity demand and the predicted load demand of thermal power units, an environment-load coupling prediction model is constructed to predict the comprehensive electricity demand power. :

[0101]

[0102] in, is the predicted comprehensive power demand. is the environmental factor influence coefficient, is the predicted change in electricity demand, is the load demand coefficient of thermal power units, is the load demand of the nth thermal power unit, is the filter coefficient of the load demand of the nth thermal power unit, is the actual load of the nth thermal power unit, is the average load of thermal power units, is the power change caused by environmental changes, is the basic power, and N is the number of thermal power units.

[0103] In an embodiment of the present application, the comprehensive electricity demand is the electricity demand in a fixed time period in the future, such as the next week or half a month. The obtained comprehensive electricity demand can be expressed as the instantaneous comprehensive electricity power demand in multiple moments or small time periods. In a coordinate system with time as the horizontal axis and power as the vertical axis, the comprehensive electricity demand can be expressed as a curve formed by connecting multiple comprehensive electricity power demand data points. This curve can be called a comprehensive electricity demand prediction curve.

[0104] It should be noted that when the actual storage capacity of the energy storage device and the discharge device is equal to the maximum storage capacity of the energy storage device and the discharge device, the unit is adjusted to operation mode one.

[0105] When the real-time power generation data is greater than the predicted comprehensive power demand When the energy storage mode is entered, the energy storage mode is selected, including capacitor energy storage, battery energy storage and hydrogen energy storage. The selected energy storage mode is used to store the electric energy output by the thermal power unit to determine the energy storage power difference. And storage duration ,in, Indicates the electrical energy that needs to be stored:

[0106]

[0107]

[0108] when ≤ the first difference, and ≤ the first duration, select capacitor energy storage. ≤ the third difference, while the first duration < ≤ the third duration, select battery energy storage. ≤ the fifth difference, while the third duration < ≤5th duration, select hydrogen energy storage. >When the fifth difference is reached, a multi-mode combination mode is adopted.

[0109] When the real-time power generation data is less than the predicted comprehensive power demand When the discharge mode is entered, the discharge mode is selected, including capacitor discharge, battery discharge and hydrogen energy discharge. The selected discharge mode is used to supplement the electric energy output by the thermal power unit to determine the discharge power difference. and discharge duration ,in, Indicates the amount of electrical energy that needs to be replenished:

[0110]

[0111]

[0112] when ≤ the second difference, and ≤ the second duration, the selected discharge mode is the capacitor discharge. ≤ the fourth difference, while the second duration < ≤ the fourth duration, select battery discharge. ≤ the sixth difference, while the fourth duration < ≤6th duration, select hydrogen energy discharge. >When the sixth difference value is reached, a multi-mode combination mode is adopted.

[0113] Among them, the first difference can be 10KW, the third difference can be 1MW, the fifth difference can be 100MW, and the second difference, the fourth difference and the sixth difference can be set to values ​​of ±10 around the first difference, the third difference and the fifth difference respectively.

[0114] The operation mode of the adjustment unit also includes, when the actual storage capacity of the energy storage device and the discharge device is less than the maximum storage capacity of the energy storage device and the discharge device, adjusting the unit to operation mode two.

[0115] Before selecting an energy storage method, detect the real-time energy storage capacity of each energy storage device in each energy storage method, determine the energy storage capacity based on the energy storage power difference and the energy storage duration, and select the energy storage method and determine the number of energy storage devices with the goal of ensuring that the real-time energy storage capacity of multiple energy storage devices is greater than or equal to the energy storage capacity and that the difference between the real-time energy storage capacity and the energy storage capacity of multiple energy storage devices is minimized.

[0116] For example, with Figure 2 In a consistent manner, for each specific energy storage device, a rectangular bar corresponding to the area and real-time energy storage capacity is drawn in the rectangular coordinate system. The length of the rectangular bar is less than the length of the rectangular bar corresponding to the energy storage device in a completely empty state, but the height of the rectangular bar remains unchanged. Therefore, when the real-time energy storage capacity is different, the length of the rectangular bar is also different. After drawing the rectangular bars according to the real-time energy storage capacity, the rectangular bars are combined again according to the principle that the energy storage area is completely covered by the combination of the rectangular bars, and the area exceeding the energy storage area is minimized, to obtain the final selection result of the energy storage method and the number of energy storage devices;

[0117] Among them, in the rectangular coordinate system, after drawing the electricity demand forecast curve and the horizontal line with the real-time power generation data of the thermal power unit as the vertical coordinate, the area below the horizontal line and between the electricity demand forecast curve is the area that needs energy storage. When selecting the energy storage method and energy storage device, draw horizontal rectangular bars with the energy storage power of the energy storage device as the vertical coordinate length and the response time as the horizontal coordinate length, and fill multiple rectangular bars in the energy storage area. When filling the energy storage area, the response time starting point of the electricity demand forecast curve is the left end point of each rectangular bar, and the rectangular bars are arranged from top to bottom below the horizontal line represented by the real-time power generation data until the area where all the rectangular bars are located covers the energy storage area.

[0118] The left end of the rectangular bar is flush with the left end of the curve, and the position of the left end of the curve is the starting point of the left end of the rectangular bar. The rectangular bars are arranged downward from the bottom of the horizontal line and end at the lowest point of the curve. The position of the lowest point of the curve is the stop position of the rectangular bar. If a combination of rectangular bars can completely cover the energy storage area and the area exceeding the energy storage area is also the smallest, then the energy storage method and the number of energy storage devices corresponding to this combination of rectangular bars are the selected energy storage method and the number of energy storage devices.

[0119] like Figure 2 As shown, the longest rectangular bar represents hydrogen energy storage, the rectangular bar in the middle represents battery energy storage, and the shortest rectangular bar represents capacitor energy storage. Figure 2 When choosing a combination, 5 hydrogen energy storage devices, 3 battery energy storage devices and 2 capacitor energy storage devices will be selected.

[0120] Before selecting a discharge mode, the real-time remaining capacity of the discharge device in each discharge mode is detected, and the discharge amount is determined according to the discharge power difference and the discharge duration. With the goal that the real-time remaining capacity of multiple discharge devices is greater than or equal to the discharge amount and the difference between the real-time remaining capacity and the discharge amount of multiple discharge devices is minimized, the discharge mode is selected and the number of discharge devices is determined.

[0121] S4: After the operation mode is selected, the virtual synchronous generator is installed, the parameters of the virtual synchronous machine are adjusted and the prediction results are updated to detect whether the energy storage demand and discharge demand of the thermal power unit are met. According to the simulation results and detection results of the virtual synchronous machine, the frequency and peak regulation control of the thermal power unit is performed.

[0122] Furthermore, in the adjusted operation mode, when the energy storage and discharge requirements of the thermal power unit are met according to a single energy storage and discharge method, the selected energy storage method is followed to maintain operation. > The fifth difference, the multi-storage mode is used. If Energy storage power greater than any other energy storage method, including capacitor energy storage power , Battery energy storage power And hydrogen energy storage power ,calculate The difference between the sum of the powers of different energy storage combinations ;

[0123] choose and ≥ Energy storage combination:

[0124]

[0125] in, is the sum of the energy storage powers of different energy storage modes. for , , , The sum of the powers of any combination thereof;

[0126] Each energy storage method is a multi-parallel energy storage device. The sum of the energy storage power of the multi-parallel energy storage devices must be equal to the energy storage power of the corresponding energy storage method. After selecting the energy storage method, select and ≥ As a goal, determine the number of energy storage devices connected in the selected energy storage mode combination;

[0127]

[0128] in, is the sum of the energy storage powers of multiple parallel energy storage devices, One of the values, It is the difference between the energy storage power difference and the sum of the energy storage powers of multiple energy storage devices in multiple energy storage modes.

[0129] When selecting energy storage methods and energy storage devices, draw horizontal rectangular strips with the energy storage power of the energy storage device as the vertical axis length and the response time as the horizontal axis length, and fill multiple rectangular strips in the energy storage area. If a combination of rectangular strips can completely cover the energy storage area and the area beyond the energy storage area is also the smallest, then the energy storage method and the number of energy storage devices corresponding to this combination of rectangular strips are the selected energy storage method and the number of energy storage devices. Figure 2 As shown, in Figure 2 In the figure, the longest rectangle represents hydrogen energy storage, the middle rectangle represents battery energy storage, and the shortest rectangle represents capacitor energy storage. Figure 2 When choosing a combination, 5 hydrogen energy storage devices, 3 battery energy storage devices and 2 capacitor energy storage devices will be selected.

[0130] when > When the sixth difference is reached, a multi-discharge mode is used. If > The discharge power of any discharge method includes the capacitor discharge power , Battery discharge power And hydrogen discharge power ,calculate The difference between the sum of the powers of different discharge modes ;

[0131] choose and ≥ Poor discharge mode combination:

[0132]

[0133] in, is the sum of the discharge powers of different discharge mode combinations, , , , The sum of the powers of any combination thereof;

[0134] Each discharge mode is a multi-discharge device connected in parallel. The sum of the discharge powers of the multiple discharge devices needs to be equal to the discharge power of the corresponding discharge mode. After selecting the discharge mode combination, the difference between the discharge power difference and the sum of the discharge powers of the multiple discharge devices in different discharge modes and discharge mode combinations is the smallest, and the sum of the discharge powers of the multiple discharge devices in the discharge mode exceeds the discharge power difference. and ≥ As the goal, determine the number of discharge devices connected in each discharge mode:

[0135]

[0136] in, is the sum of the discharge powers of multiple parallel discharge devices, One of the values, It is the difference between the discharge power difference and the sum of the discharge powers of multiple discharge devices in multiple discharge modes.

[0137] Consistent with the energy storage method, when selecting the discharge method and the discharge device, the discharge power of the discharge device is used as the vertical axis length, and the response time is used as the horizontal axis length. Horizontal rectangular bars are drawn, and multiple rectangular bars are filled in the discharge area. If a combination of rectangular bars can completely cover the discharge area and the area exceeding the discharge area is also minimized, then the discharge method and the number of discharge devices corresponding to this combination of rectangular bars are the selected discharge method and the number of discharge devices.

[0138] It should be noted that after the operation mode is selected, it is necessary to check whether the energy storage requirements of the thermal power unit are met. and discharge requirements :

[0139]

[0140]

[0141] in, is the energy storage power value, is the current energy storage capacity, is the rated energy storage capacity, t is the time variable, is the discharge power, m is the time series length of the discharge demand, i is the variable index, is the required discharge power, is the standard deviation of the discharge demand power.

[0142] Among them, when ≥0 means that the energy storage demand is met. <0 means that the energy storage demand is not met. When ≥0.72, it means that the discharge demand is met. When <0.72, it means that the discharge requirement is not met.

[0143] It should also be noted that a virtual synchronous machine is installed on the thermal power unit, and the inertia coefficient of the synchronous generator is set to 0.2 and the damping coefficient is 0.3 to simulate the inertia of the virtual synchronous generator. and damping characteristics , adjust the parameters of the virtual synchronous machine to match the characteristics of the actual synchronous generator to meet:

[0144] Actual synchronous generator inertia = 0.2 ;

[0145] Actual synchronous generator damping = 0.3 ;

[0146] When the energy storage demand and discharge demand are not met, the virtual synchronous machine installed on the thermal power unit is triggered to send a request to the user to reduce the load and set the user response threshold. (0< <1), when the response ratio of users to reduce load reaches When , the demand side response is considered successful:

[0147] Response ratio = ;

[0148] According to the simulation results of the virtual synchronous machine and the response of the demand side, the output power of the thermal power unit is adjusted to achieve frequency and peak regulation. To actually reduce the load for users, Reduce the load for requests.

[0149] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

[0150] Embodiment 2, the third embodiment of the present invention, is different from the first two embodiments in that:

[0151] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0152] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied 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 conjunction with such 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 conjunction with such instruction execution systems, devices or apparatuses.

[0153] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (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 a 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, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0154] 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.

[0155] Example 3, reference Figure 3 , which is the fourth embodiment of the present invention, provides a frequency and peak regulation control system for a thermal power unit, including an environmental data acquisition module, a demand forecasting module, a power generation data acquisition module, an energy storage control module and a discharge control module.

[0156] The environmental data acquisition module is used to obtain environmental impact data.

[0157] The demand forecasting module is used to input the environmental impact data into the electricity demand forecasting model to obtain the predicted electricity demand, and the predicted electricity demand is the electricity demand for a period of time in the future.

[0158] The power generation data acquisition module is used to obtain the real-time power generation data of the thermal power unit.

[0159] The energy storage control module is used to enter the energy storage mode when the real-time power generation data is greater than the predicted power demand. In the energy storage mode, the energy storage power difference and the energy storage duration between the real-time power generation data and the predicted power demand are determined, and the energy storage method is selected according to the energy storage power difference and the energy storage duration. The selected energy storage method is used to store the electric energy output by the thermal power unit.

[0160] The discharge control module is used to enter the discharge mode when the real-time power generation data is less than the predicted power demand. In the discharge mode, the discharge power difference and the discharge duration between the real-time power generation data and the predicted power demand are determined, and the discharge mode is selected according to the discharge power difference and the discharge duration. The selected discharge mode is used to supplement the electric energy output by the thermal power unit.

[0161] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for frequency and peak regulation control of a thermal power unit, characterized in that: include, Obtain environmental impact data and real-time power generation data of thermal power units, and monitor the operating status of thermal power units in real time to obtain key parameters such as generator speed, grid frequency, and load demand; Input the environmental impact data into the electricity demand prediction model to obtain the predicted electricity demand, input the key parameters into the constructed load prediction algorithm to obtain the unit load demand, and comprehensively construct the environment-load coupling prediction model according to the predicted electricity demand change and the predicted load demand of the thermal power unit to predict the comprehensive electricity demand power; Combined with the comprehensive prediction results, the operating mode of the unit is adjusted. When the actual storage capacity of the energy storage device and the discharge device is equal to the maximum storage capacity of the energy storage device and the discharge device, the unit is adjusted to operating mode one, and the energy storage and discharge mode is determined according to the difference threshold; when the actual storage capacity of the energy storage device and the discharge device is less than the maximum storage capacity of the energy storage device and the discharge device, the unit is adjusted to operating mode two; when operating mode one and operating mode two do not meet the energy storage and discharge requirements of the thermal power unit, a multi-mode combination mode is adopted; After the operation mode is selected, the virtual synchronous generator is installed, the parameters of the virtual synchronous generator are adjusted and the prediction results are updated to detect whether the energy storage and discharge requirements of the thermal power unit are met. According to the simulation results and detection results of the virtual synchronous generator, the frequency and peak regulation control of the thermal power unit is carried out; The environment-load coupling prediction model includes inputting the environmental impact data into a power demand prediction model to obtain a predicted power demand: Among them, ΔPt is the predicted change in electricity demand, t0 is the initial time point, t p is the forecast time point, α is the influence coefficient of meteorological data on electricity demand, β is the temperature sensitivity coefficient, T t is the real-time ambient temperature, T ben is the reference ambient temperature, γ is the influence coefficient of power generation data on power demand, P n t is the real-time power generation of the nth thermal power unit after preprocessing, is the variance of the power generation of the nth thermal power unit, P RE,n t is the actual value of the power generated by the nth thermal power unit, μ n is the expected value of the power generation of the nth thermal power unit, δ is the influence coefficient of the grid frequency on the power demand, f g t is the real-time grid frequency, Variance of grid frequency, μ g is the expected value of the grid frequency, F ref is the actual load demand of the entire power grid, F ben is the benchmark load demand, N is the number of thermal power units, and n is the variable index of the number of thermal power units N, which represents the 1st to nth thermal power units; The key parameters are input into the constructed load forecasting algorithm to obtain the unit load demand: Where L(t) is the predicted load demand of thermal power units, is the time derivative operator, σL is the probability density standard deviation of the load demand distribution, l is the unstable variable that causes the load demand to change with user behavior, μ L is the average value of load demand, k n is the regulation coefficient of the nth thermal power unit, R n is the real-time speed of the nth thermal power unit, R ben is the reference speed, P t,n is the real-time power generation of the nth thermal power unit, G ben is the benchmark power generation, h n is the power generation impact index of the nth thermal power unit, ζ is the impact coefficient of the load demand change rate; According to the predicted change in electricity demand and the predicted load demand of thermal power units, an environment-load coupling prediction model is constructed to predict the comprehensive electricity demand power P pred (t): Among them, P pred (t) is the predicted comprehensive power demand, θ env is the environmental factor influence coefficient, ΔP(t) is the predicted change in electricity demand, θ load is the load demand coefficient of thermal power units, L n (t) is the load demand of the nth thermal power unit, ε n is the filter coefficient of the load demand of the nth thermal power unit, F n is the actual load of the nth thermal power unit, is the average load of thermal power units, ΔP env (t) is the power change caused by environmental changes, P base (t) is the basic power, N is the number of thermal power units; The adjusting unit operation mode includes adjusting the unit to operation mode 1 when the actual storage capacity of the energy storage device and the discharge device is equal to the maximum storage capacity of the energy storage device and the discharge device; When the real-time power generation data is greater than the predicted comprehensive power demand H(t), the energy storage mode is entered, and the energy storage methods include capacitor energy storage, battery energy storage and hydrogen energy storage. The selected energy storage method is used to store the electric energy output by the thermal power unit to determine the energy storage power difference ΔP e (t) and energy storage duration t e , where ΔE e Indicates the electrical energy that needs to be stored: ΔP e (t)=P n (t)-P pred (t) t e =ΔE e / ΔP e (t) When ΔP e (t)≤first difference, and t e ≤ the first duration, select capacitor energy storage; when the first difference < ΔP e (t)≤the third difference, and the first duration <t e ≤ the third duration, select battery energy storage; when the third difference < ΔP e (t)≤5th difference, while the third duration <t e ≤5th duration, select hydrogen energy storage; when ΔP e (t)>5th difference, the multi-mode combination mode is adopted; When the real-time power generation data is less than the predicted comprehensive power demand H(t), the discharge mode is entered, and the discharge mode is selected, including capacitor discharge, battery discharge and hydrogen energy discharge. The selected discharge mode is used to supplement the power output of the thermal power unit to determine the discharge power difference ΔP dis (t) and discharge duration t dis , where ΔE dis Indicates the amount of electrical energy that needs to be replenished: ΔP dis (t)=P pred (t)-P n (t) t dis =ΔE dis / ΔP dis (t) When ΔP dis (t)≤the second difference, and t dis ≤ the second duration, the selected discharge mode is the capacitor discharge; when the second difference <ΔP dis (t)≤the fourth difference, and the second duration <t dis ≤ the fourth duration, select battery discharge; when the fourth difference < ΔP dis (t)≤sixth difference, and fourth duration <t dis ≤ the sixth duration, select hydrogen energy discharge; when ΔP dis (t)>6th difference, the multi-mode combination mode is adopted; The adjusting operation mode of the unit also includes, when the actual storage capacity of the energy storage device and the discharge device is less than the maximum storage capacity of the energy storage device and the discharge device, adjusting the unit to the operation mode 2; Before selecting an energy storage mode, detect the real-time energy storage capacity of each energy storage device in each energy storage mode, determine the energy storage capacity according to the energy storage power difference and the energy storage duration, and select the energy storage mode and determine the number of energy storage devices with the goal that the real-time energy storage capacity of multiple energy storage devices is greater than or equal to the energy storage capacity and the difference between the real-time energy storage capacity and the energy storage capacity of multiple energy storage devices is minimized; Before selecting a discharge mode, detect the real-time remaining capacity of the discharge device in each discharge mode, determine the discharge amount according to the discharge power difference and the discharge duration, and select the discharge mode and determine the number of discharge devices with the goal that the real-time remaining capacity of multiple discharge devices is greater than or equal to the discharge amount and the difference between the real-time remaining capacity and the discharge amount of multiple discharge devices is minimized; The multi-mode combination mode includes: when the energy storage and discharge requirements of the thermal power unit are met according to a single energy storage and discharge mode, the selected energy storage mode is followed to maintain operation; when ΔP e (t)>5th difference, adopt multiple energy storage mode combination mode, if ΔP e (t) greater than the energy storage power of any other energy storage method, including capacitor energy storage power Battery storage power And hydrogen energy storage power Calculation of ΔP e (t) and the difference ΔP between the sum of the powers of different energy storage combinations combination,e (t); Select min(ΔP combinanon,e (t)) and Energy storage combination: in, It is the sum of the energy storage power of different energy storage modes; Each energy storage method is a multi-parallel energy storage device. The sum of the energy storage power of the multi-parallel energy storage devices needs to be equal to the energy storage power of the corresponding energy storage method. After selecting the energy storage method, select min(ΔP Mult,e (t)) and As a goal, determine the number of energy storage devices connected in the selected energy storage mode combination; in, The sum of the energy storage powers of multiple parallel energy storage devices, ΔP Mult,e (t) is the difference between the energy storage power difference and the sum of the energy storage powers of multiple energy storage devices in multiple energy storage modes; When ΔP dis (t)>6th difference, adopt multi-discharge mode combined mode, if ΔP dis (t)>The discharge power of any discharge mode includes the capacitor discharge power Battery discharge power And hydrogen discharge power Calculation of ΔP dis (t) and the difference ΔP between the sum of the powers of different discharge modes combination,dis (t); Select min(ΔP combination,dis (t)) and Poor discharge mode combination: in, It is the sum of the discharge powers of different discharge mode combinations; Each discharge mode is a multi-discharge device connected in parallel. The sum of the discharge powers of the multiple discharge devices needs to be equal to the discharge power of the corresponding discharge mode. After selecting the discharge mode combination, the difference between the discharge power difference and the sum of the discharge powers of the multiple discharge devices in different discharge modes and discharge mode combinations is the smallest, and the sum of the discharge powers of the multiple discharge devices in the discharge mode exceeds the discharge power difference min (ΔP Mult,dis (t)) and As the goal, determine the number of discharge devices connected in each discharge mode: in, The sum of the discharge powers of multiple parallel discharge devices, ΔP Mult,dis (t) is the difference between the discharge power difference and the sum of the discharge powers of multiple discharge devices in multiple discharge modes; The detection of whether the energy storage demand and discharge demand of the thermal power unit are met includes, after the operation mode selection is completed, detecting whether the energy storage demand Q of the thermal power unit is met. e and discharge demand Q dis : Among them, P e (t) is the energy storage power value, Capc u r is the current energy storage capacity, Caprate d is the rated energy storage capacity, t is the time variable, is the discharge power, m is the time series length of the discharge demand, i is the variable index, P dis,i is the required discharge power, σ dis is the standard deviation of the discharge demand power; Among them, when Q e ≥0 means that the energy storage demand is met. e <0 means that the energy storage demand is not met; when Q dis ≥0.72 means that the discharge requirement is met, Q dis When <0.72, it means that the discharge demand is not met; The updating prediction result includes installing a virtual synchronous machine on the thermal power unit, setting the inertia coefficient of the synchronous generator to 0.2 and the damping coefficient to 0.3, simulating the inertia ω and damping characteristics ρ of the virtual synchronous generator, and adjusting the parameters of the virtual synchronous machine to match the characteristics of the actual synchronous generator to meet: Actual synchronous generator inertia = 0.2ω; Actual synchronous generator damping = 0.3ρ; When the energy storage demand and discharge demand are not met, the virtual synchronous machine installed on the thermal power unit is triggered to send a request to the user to reduce the load. The user response threshold η (0<η<1) is set. When the user's load reduction response ratio reaches η, the demand side response is considered successful: According to the simulation results of the virtual synchronous machine and the response of the demand side, the output power of the thermal power unit is adjusted to achieve frequency and peak regulation. To actually reduce the load for users, Reduce the load for requests.

2. A method for controlling frequency and peak regulation of a thermal power unit according to claim 1, characterized in that: The environmental impact data include meteorological data, environmental quality data and water temperature cooling data; The meteorological data include ambient temperature, ambient humidity and atmospheric pressure within the planned time period; The environmental quality data include the levels of pollutants emitted by thermal power units; The water temperature cooling data includes the heat exchange efficiency of the cooling system.

3. A system using a frequency and peak regulation control method for a thermal power unit as claimed in any one of claims 1 to 2, characterized in that: It includes an environmental data acquisition module, a demand forecasting module, a power generation data acquisition module, an energy storage control module and a discharge control module; The environmental data acquisition module is used to acquire environmental impact data; The demand forecasting module is used to input the environmental impact data into the electricity demand forecasting model to obtain the predicted electricity demand, where the predicted electricity demand is the electricity demand for a period of time in the future; The power generation data acquisition module is used to acquire real-time power generation data of the thermal power unit; The energy storage control module is used to enter the energy storage mode when the real-time power generation data is greater than the predicted power demand. In the energy storage mode, the energy storage power difference between the real-time power generation data and the predicted power demand and the energy storage duration are determined, and the energy storage mode is selected according to the energy storage power difference and the energy storage duration, and the electric energy output by the thermal power unit is stored using the selected energy storage mode; The discharge control module is used to enter the discharge mode when the real-time power generation data is less than the predicted power demand. In the discharge mode, the discharge power difference and the discharge duration between the real-time power generation data and the predicted power demand are determined, and a discharge mode is selected according to the discharge power difference and the discharge duration. The selected discharge mode is used to supplement the electric energy output by the thermal power unit.

4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of a frequency and peak regulation control method for a thermal power unit as described in any one of claims 1 to 2 are implemented.

5. 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 a frequency and peak regulation control method for a thermal power unit according to any one of claims 1 to 2 are implemented.