Grid-connected power stabilizing method and device, computer program product and electronic equipment

通过在光伏电站中每隔预设时间窗计算和修正输出功率波动值,解决了光伏发电波动性导致的储能系统追踪能力差的问题,实现了在并网功率中保留原始特征信息和减少运行 The effect of burden.

CN118889533APending Publication Date: 2024-11-01GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411015988.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the prior art, the power fluctuations caused by photovoltaic power generation fluctuations are difficult to effectively suppress, resulting in poor output power tracking capabilities of the energy storage system, loss of original data characteristic information, resulting in success rate distortion and increased burden on the energy storage system.

Method used

By obtaining the output power of the photovoltaic power station, calculate the power fluctuation value every time the preset time window, determine whether it is greater than the threshold, and use the preset correction coefficient to correct the output power, calculate the difference between the corrected output power and the fluctuation value, and use it to input and match Grid-connected power of the power grid.

Benefits of technology

The original power characteristic information is retained in the grid-connected power, reducing the amount of power redundancy, reducing the operating burden of the energy storage system, and improving control performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118889533A_ABST
    Figure CN118889533A_ABST
Patent Text Reader

Abstract

The invention discloses a grid-connected power stabilizing method and device, a computer program product and electronic equipment. The method comprises the following steps: acquiring the output power of a photovoltaic power station, and calculating the power fluctuation value of the output power in a preset time window every preset time window; for each preset time window, judging whether the power fluctuation value is greater than a power fluctuation value threshold value or not; under the condition that the power fluctuation value is greater than the power fluctuation value threshold value, correcting the output power of the photovoltaic power station through a preset correction coefficient to obtain the corrected output power; and calculating the difference value between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting the power distribution network. Through application of the method and the device, the problem of power distortion caused by loss of original data feature information due to poor tracking capability during output power stabilizing fluctuation of the photovoltaic power station in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of photovoltaic power generation fluctuation smoothing, and specifically, to a grid-connected power smoothing method, device, computer program product and electronic equipment. Background Art

[0002] Photovoltaic power generation is an important part of clean energy. However, the random fluctuation of photovoltaic power generation has threatened the safety and stability of the power system. In order to cope with the impact of the volatility of photovoltaic power generation, energy storage technology is used to cope with the volatility of photovoltaic power generation. With the excellent performance of energy storage technology such as charging and discharging flexibility and rapid response, it has gradually become a method used to smooth photovoltaic power fluctuations.

[0003] In the related art, the energy storage system is used to smooth the photovoltaic fluctuations and the signal filtering method is often adopted. For example, the SG (Savitzky-Golay filter, a commonly used signal processing filtering method) filtering is used to extract the high-frequency components of the fluctuations as the reference method of the configured energy storage power; and the method of obtaining the optimal cutoff frequency of the first-order low-pass filter by solving the optimization problem of the grid-connected power fluctuation rate, the energy storage charging and discharging efficiency and the state of charge, and obtaining the energy storage charging and discharging compensation power through filtering; in addition, there is a method of using the fluctuations filtered out by the improved weighted sliding average filter as the energy storage power, performing a set empirical mode decomposition based on the Hilbert transform on it, reconstructing the modal components by determining the optimal stratification frequency, and obtaining the output power of the energy storage system; and a method of obtaining the grid-connected curve with high-frequency fluctuations filtered out by improved wavelet packet decomposition and reconstruction, and then using these high-frequency fluctuations as the energy storage power to obtain the wavelet packet component frequency stratification nodes that consider the energy storage characteristics and the energy distribution ratio, and further obtaining the output power of the energy storage system after power reconstruction.

[0004] However, the above methods generally have phase deviation problems, and the signal decomposition method is difficult to overcome the aliasing phenomenon of modal components. These two defects may cause distortion of the filtered signal. Since the degree of fluctuation smoothing affects the final output power of the energy storage system, the grid-connected power smoothing method in the relevant technology has the problem of excessive smoothing and poor photovoltaic power tracking ability, resulting in the loss of original data feature information, causing power distortion and increased power burden of the energy storage system.

[0005] Currently, no effective solution has been proposed to address the problem of power distortion caused by loss of original data feature information due to poor tracking capability when smoothing output power fluctuations of photovoltaic power stations in related technologies. Summary of the invention

[0006] The main purpose of the present application is to provide a method, device, computer program product and electronic device for smoothing grid-connected power, so as to solve the problem in the related art that when smoothing the output power fluctuation of photovoltaic power stations, the original data characteristic information is lost due to poor tracking ability, resulting in power distortion.

[0007] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for smoothing grid-connected power is provided. The method includes: obtaining the output power of a photovoltaic power station, calculating the power fluctuation value of the output power within a preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows; for each preset time window, determining whether the power fluctuation value is greater than a power fluctuation value threshold; when the power fluctuation value is greater than the power fluctuation value threshold, correcting the output power of the photovoltaic power station by a preset correction coefficient to obtain the corrected output power; calculating the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network.

[0008] Optionally, calculating the power fluctuation value of the output power within the preset time window every preset time window includes: determining the maximum value and the minimum value of the output power within the first time window every first time window; calculating the difference between the maximum value and the minimum value of the output power within the first time window to obtain the first power fluctuation value within the first time window; after calculating the power fluctuation values ​​within a preset number of first time windows each time, determining the maximum value and the minimum value of the output power within a second time window containing a preset number of first time windows; calculating the difference between the maximum value and the minimum value of the output power in the second time window to obtain the second power fluctuation value within the second time window; when the preset time window is the first time window, determining the first power fluctuation value as the power fluctuation value within the preset time window; when the preset time window is the first time window and the second time window, determining the first power fluctuation value and the second power fluctuation value as the power fluctuation values ​​within the preset time window.

[0009] Optionally, for each preset time window, determining whether the power fluctuation value is greater than a power fluctuation value threshold includes: determining the power fluctuation value within the preset time window, wherein the power fluctuation value includes at least one of the following: a first power fluctuation value within a first time window and a second power fluctuation value within a second time window; in a case where the power fluctuation value within the preset time window only includes the first power fluctuation value, determining whether the first power fluctuation value is greater than the first power fluctuation value threshold; in a case where the first power fluctuation value is greater than the first power fluctuation value threshold, determining that the power fluctuation value is greater than the power fluctuation value threshold; and in a case where the first power fluctuation value is less than or equal to the first power fluctuation value threshold, determining that the power fluctuation value is less than or equal to the first power fluctuation value threshold. is equal to the power fluctuation value threshold; in the case that the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, determine whether the first power fluctuation value is greater than the first power fluctuation value threshold, and determine whether the second power fluctuation value is greater than the second power fluctuation value threshold; in the case that the first power fluctuation value is greater than the first power fluctuation value threshold, or the second power fluctuation value is greater than the second power fluctuation value threshold, determine that the power fluctuation value is greater than the power fluctuation value threshold; in the case that the first power fluctuation value is less than or equal to the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold, determine that the power fluctuation value is less than or equal to the power fluctuation value threshold.

[0010] Optionally, the output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power, including: when the power fluctuation value within the preset time window only includes the first power fluctuation value, and the first power fluctuation value is greater than the first power fluctuation value threshold, or when the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, the first power fluctuation value is greater than the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold, the partial derivative of the first power fluctuation value with respect to time is calculated to obtain the first gradient of the first power fluctuation value; when the first gradient is a positive number, the first power fluctuation value threshold is determined as the preset correction coefficient, and the sum of the output power and the preset correction coefficient is calculated to obtain the corrected output power; when the first gradient is a negative number, the first power fluctuation value threshold is determined as the preset correction coefficient, and the difference between the output power and the preset correction coefficient is calculated to obtain the corrected output power.

[0011] Optionally, the output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power, including: when the power fluctuation value within the preset time window includes a first power fluctuation value and a second power fluctuation value, and the first power fluctuation value is less than or equal to a first power fluctuation value threshold, and the second power fluctuation value is greater than the second power fluctuation value threshold, the partial derivative of the second power fluctuation value with respect to time is calculated to obtain a second gradient of the second power fluctuation value; when the second gradient is a positive number, the second power fluctuation value threshold is determined as the preset correction coefficient, and the sum of the output power and the preset correction coefficient is calculated to obtain the corrected output power; when the second gradient is a negative number, the second power fluctuation value threshold is determined as the preset correction coefficient, and the difference between the output power and the preset correction coefficient is calculated to obtain the corrected output power.

[0012] Optionally, the output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power, including: when the power fluctuation value within the preset time window includes a first power fluctuation value and a second power fluctuation value, and the first power fluctuation value is greater than the first power fluctuation value threshold, and at the same time the second power fluctuation value is greater than the second power fluctuation value threshold, determining a third gradient of the first power fluctuation value and a fourth gradient of the second power fluctuation value; calculating the sum of the third gradient and the fourth gradient to obtain a total gradient, and judging whether the total gradient is greater than the gradient threshold; when the total gradient is greater than the gradient threshold, determining a first corrected power of the first power fluctuation value and a second corrected power of the second power fluctuation value, wherein the first corrected power is the sum of the output power and the first power fluctuation value threshold, and the second corrected power is the sum of the output power and the second power fluctuation value threshold; and determining the maximum value of the first corrected power and the second corrected power as the corrected output power.

[0013] Optionally, after determining whether the total gradient is greater than the gradient threshold, the method also includes: when the total gradient is less than the gradient threshold, determining a third corrected power of the first power fluctuation value and a fourth corrected power of the second power fluctuation value, wherein the third corrected power is the difference between the output power and the first power fluctuation value threshold, and the fourth corrected power is the difference between the output power and the second power fluctuation value threshold; and determining the minimum value of the third corrected power and the fourth corrected power as the corrected output power.

[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a grid-connected power smoothing device is provided. The device includes: an acquisition unit, which is used to acquire the output power of the photovoltaic power station, and calculate the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows; a judgment unit, which is used to judge whether the power fluctuation value is greater than the power fluctuation value threshold for each preset time window; a correction unit, which is used to correct the output power of the photovoltaic power station by a preset correction coefficient when the power fluctuation value is greater than the power fluctuation value threshold, and obtain the corrected output power; a calculation unit, which is used to calculate the difference between the corrected output power and the power fluctuation value, and obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network.

[0015] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the grid-connected power smoothing method described in each embodiment of the present application.

[0016] Through this application, the following steps are adopted: obtaining the output power of the photovoltaic power station, calculating the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows; for each preset time window, judging whether the power fluctuation value is greater than the power fluctuation value threshold; in the case where the power fluctuation value is greater than the power fluctuation value threshold, correcting the output power of the photovoltaic power station by a preset correction coefficient to obtain the corrected output power; calculating the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network, solving the problem of the loss of original data characteristic information and power distortion caused by poor tracking ability when smoothing the output power fluctuation of the photovoltaic power station in the related technology. The output power with a power fluctuation value greater than the power fluctuation value threshold is corrected by the preset time window to obtain the corrected grid-connected power, thereby achieving the effect of retaining the characteristic information of the original power in the grid-connected power, reducing power redundancy, alleviating the operating burden of the energy storage system of the photovoltaic power station, and improving the control performance of the energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 is a flow chart of a method for smoothing grid-connected power provided in accordance with an embodiment of the present application;

[0019] Figure 2It is a structural schematic diagram of a photovoltaic and energy storage combined power generation system provided according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of an optional grid-connected power smoothing method provided according to an embodiment of the present application;

[0021] Figure 4 It is a schematic diagram comparing the effects of different grid-connected power leveling methods provided in the embodiments of the present application;

[0022] Figure 5 It is a schematic diagram of 1-minute scale power fluctuation under different grid-connected power smoothing methods provided in the embodiments of the present application;

[0023] Figure 6 It is a schematic diagram of 10-minute scale power fluctuation under different grid-connected power smoothing methods provided in the embodiments of the present application;

[0024] Figure 7 is a schematic diagram of a grid-connected power leveling device provided according to an embodiment of the present application;

[0025] Figure 8 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0030] It should be noted that the information collected is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0031] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a method for smoothing grid-connected power according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0032] Step S101, obtaining the output power of the photovoltaic power station, and calculating the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows.

[0033] Specifically, the grid-connected power smoothing method provided in the embodiment of the present application can be applied to a photovoltaic and energy storage combined power generation system, where the energy storage system serves as a smoothing module for high-energy photovoltaic fluctuations in the photovoltaic and energy storage combined power generation system. Figure 2 is a schematic diagram of the structure of a photovoltaic and energy storage combined power generation system provided according to an embodiment of the present application, such as Figure 2 As shown, the system is based on a common AC bus structure, and the module to which the photovoltaic array belongs is also a photovoltaic power station. Photovoltaic power generation is carried out through the photovoltaic array, and the output power of the photovoltaic power station is output after being adjusted by the DC / AC (direct current / alternating current) and AC / DC (alternating current / direct current) regulators. The output power is input into the energy storage module for storage. In the energy storage module including the battery, it is considered that it is connected to the AC bus through an energy storage converter, and the output power of the photovoltaic power station is tracked in real time. The charging and discharging instructions of the energy storage module are adjusted through the DC / AC bidirectional converter to smooth the fluctuation of the photovoltaic power, thereby eliminating the randomness and volatility of the output and obtaining the output grid-connected power. Among them, the method of adjusting the charging and discharging instructions of the energy storage module adopts the grid-connected power smoothing method provided in the embodiment of the present application.

[0034] Furthermore, the calculation formula of the power fluctuation value within the preset time window is as follows:

[0035]

[0036] Among them, 1min, also known as the first time window, is a time window with a time span of 1 minute, and 10min, also known as the second time window, is a time window with a time span of 10 minutes. is the power fluctuation value within the preset time window, ΣΔ 1min ,ΣΔ 10min They are the photovoltaic fluctuation levels in the time windows of 1 minute and 10 minutes, that is, the power fluctuation value in the preset time window, which is obtained by summing the power limit values ​​of each scale. is the maximum value of the output power in the first time window, is the minimum value of the output power in the first time window, is the maximum value of the output power in the second time window, is the minimum value of the output power in the second time window.

[0037] Step S102: for each preset time window, determine whether the power fluctuation value is greater than a power fluctuation value threshold.

[0038] Specifically, the grid-connected power smoothing method provided in the embodiment of the present application is to monitor the output power of the photovoltaic power station in real time, that is, to monitor the power fluctuation value of the output power in real time according to the preset time window. For example, the power fluctuation value in the first time window is monitored once every one minute, and at the same time, the power fluctuation value in the first and second time windows is monitored every ten minutes. The power fluctuation value threshold can be determined according to the standard grid-connected requirement criteria. For the power fluctuation value in each preset time window monitored, it is determined whether the power fluctuation exceeds the limit, that is, whether the output power needs to be smoothed, by comparing whether the power fluctuation value is greater than the power fluctuation value threshold. If the power fluctuation value is less than or equal to the power fluctuation value threshold, it is not necessary to smooth the output power, and the power fluctuation value in the next time window is continuously monitored.

[0039] For example, the window position n=t=1 of the 1min time window sequence is initialized, and the power fluctuation discriminant of the 1min time window is used to determine whether the power fluctuation value in the current preset time window exceeds the limit. If it exceeds the limit, the correction formula of the lower limit of the synchronization time step is performed to shift to the next moment in unit step. If it does not exceed the limit, the correction condition is not met, and the preset time window continues to perform shift detection. Among them, the calculation formula for initializing the 1min time window is as follows:

[0040]

[0041] in, Represents the sampling data of the output power in a 1-minute time window. n is the time window position, which is a positive value greater than 0. n=t, P n (t) represents the output power at the start time of the current first time window, P n(t+1) represents the output power at the end time of the current first time window. The power fluctuation discriminant of the 1-min time window is as follows:

[0042]

[0043] Among them, Δ 1min,n represents the power fluctuation value in the first time window, is the maximum value of the output power in the first time window, is the minimum value of the output power in the first time window, k 1min is the first power fluctuation value threshold.

[0044] Furthermore, when t=8, that is, the 1min time window is about to shift to the position n=9, the 10min time window start command will be sent simultaneously at the moment of the shift. Initialize the window position m=t=1 of the 10min time window series, and use the power fluctuation discriminant of the 10min time window to determine whether the power fluctuation value in the current second time window exceeds the limit. Since the 10min scale time window needs to wait for the 1min time window to shift to the 9th data as the current moment value, the 10min time window starts the first shift detection after receiving the start command to meet the synchronization of the time step. At this time, m=n-8, which is the current position of the 10min time window, and the synchronization of the time steps of the 1min and 10min time windows is completed. The calculation formula for initializing the 10min time window is as follows:

[0045]

[0046] in, Represents the sampling data of the output power in a 10-minute time window. m is the time window position, which is a positive value greater than 0. m = t, P m (t-8) represents the output power at the start time of the current second time window, P m (t+1) represents the output power at the end time of the current second time window. The power fluctuation discriminant of the 10-minute time window is as follows:

[0047]

[0048] Among them, Δ 10min,m represents the power fluctuation value in the second time window, is the maximum value of the output power in the second time window, is the minimum value of the output power in the second time window, k 10min is the second power fluctuation value threshold.

[0049] Step S103, when the power fluctuation value is greater than the power fluctuation value threshold, the output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain a corrected output power.

[0050] Specifically, if the power fluctuation value within the preset time window is greater than the power fluctuation value threshold, the output power needs to be corrected at this time. According to different over-limit situations of the preset time window, the output power of the photovoltaic power station is corrected with the corresponding preset correction coefficient. The preset correction coefficient can be the first power fluctuation value threshold or the second power fluctuation value threshold. For example, the over-limit correction formula for the first time window is as follows:

[0051]

[0052] in, It represents the output power of the next first time window after the over-limit correction of the first time window, P 1min,n (t+1) represents the output power at the start of the next first time window without correction, K 1min is a preset correction coefficient, that is, a first power fluctuation value threshold; It represents the gradient of the power fluctuation value in the first time window, that is, the value after the power fluctuation value is derived with respect to time. If the gradient is greater than 0, it means that the power fluctuation value is increasing with time. By increasing the first power fluctuation threshold value for the output power at the start time of the next time window, the power fluctuation value in the next time window will no longer exceed the first power fluctuation threshold value. If the gradient is less than 0, it means that the power fluctuation value is less with time. By reducing the first power fluctuation threshold value for the output power at the start time of the next time window, the power fluctuation value in the next time window will no longer exceed the first power fluctuation threshold value. The over-limit correction formula for the second time window is as follows:

[0053]

[0054] in, It indicates the output power of the next time window after the over-limit correction of the second time window. Indicates the minimum output power of the next second time window without correction, Indicates the maximum output power of the next second time window without correction, K 10min is a preset correction coefficient, that is, a second power fluctuation value threshold; It represents the gradient of the power fluctuation value in the second time window. If the gradient is greater than 0, it means that the power fluctuation value increases with time. By increasing the second power fluctuation threshold for the minimum output power of the next second time window, the power fluctuation value in the next second time window will not exceed the second power fluctuation threshold. If the gradient is less than 0, it means that the power fluctuation value is smaller with time. By reducing the second power fluctuation threshold for the maximum output power of the next second time window, the power fluctuation value in the next second time window will not exceed the second power fluctuation threshold.

[0055] Step S104, calculating the difference between the corrected output power and the power fluctuation value, and obtaining the grid-connected power of the photovoltaic power station for inputting into the distribution network.

[0056] Specifically, the grid-connected power stabilization method of the embodiment of the present application acts on a large-scale photovoltaic and energy storage combined power generation system, wherein the relationship between the power fluctuation value and the grid-connected power is as follows:

[0057] P ces (t) = Δ pv (t) = P v (t)-P gc (t);

[0058] Among them, P ces (t) is the output power of the complementary energy storage system in the photovoltaic and energy storage combined power generation system, Δ pv (t) is also the power fluctuation value, P v (t) is the corrected output power, i.e., the grid-connected power. It can be concluded from the above relationship that by calculating the difference between the corrected output power and the power fluctuation value, the grid-connected power of the photovoltaic power station for inputting into the distribution network can be obtained.

[0059] The grid-connected power smoothing method provided in the embodiment of the present application obtains the output power of the photovoltaic power station, calculates the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows; for each preset time window, judge whether the power fluctuation value is greater than the power fluctuation value threshold; when the power fluctuation value is greater than the power fluctuation value threshold, correct the output power of the photovoltaic power station by a preset correction coefficient to obtain the corrected output power; calculate the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network, which solves the problem of the loss of original data characteristic information and power distortion caused by poor tracking ability when smoothing the output power fluctuation of the photovoltaic power station in the related technology. The output power with a power fluctuation value greater than the power fluctuation value threshold is corrected by the preset time window to obtain the corrected grid-connected power, thereby achieving the effect of retaining the characteristic information of the original power in the grid-connected power, reducing power redundancy, alleviating the operating burden of the energy storage system of the photovoltaic power station, and improving the control performance of the energy storage system.

[0060] The power fluctuation value is calculated by the maximum and minimum values ​​of the output power within a preset time window. Optionally, in the grid-connected power smoothing method provided in an embodiment of the present application, the power fluctuation value of the output power within a preset time window is calculated every preset time window, including: determining the maximum and minimum values ​​of the output power within the first time window every first time window; calculating the difference between the maximum and minimum values ​​of the output power within the first time window to obtain the first power fluctuation value within the first time window; after calculating the power fluctuation values ​​within a preset number of first time windows each time, determining the maximum and minimum values ​​of the output power within a second time window containing a preset number of first time windows; calculating the difference between the maximum and minimum values ​​of the output power within the second time window to obtain the second power fluctuation value within the second time window; when the preset time window is the first time window, determining the first power fluctuation value as the power fluctuation value within the preset time window; when the preset time window is the first time window and the second time window, determining the first power fluctuation value and the second power fluctuation value as the power fluctuation values ​​within the preset time windows.

[0061] Specifically, the output power of the photovoltaic power station is monitored in real time, and the difference between the maximum and minimum output power in the current first time window is calculated every one minute, that is, the first power fluctuation value is used as the power fluctuation value in the current first time window, and the difference between the maximum and minimum output power in the current second time window is calculated every ten minutes, that is, the second power fluctuation value is used as the power fluctuation value in the current second time window. Each second time window contains nine first time windows. If only the data in the first time window is collected at the current moment, the first power fluctuation value is determined as the power fluctuation value in the preset time window. If the data in the first time window and the second time window are collected at the same time at the current moment, the first power fluctuation value and the second power fluctuation value are determined as the power fluctuation values ​​in the preset time window.

[0062] For example, the current time is set to t, and the output power is monitored from t = 1, [P n (1),P n (1+1)] as the sampling data of the output power in the first time window, [P n (2),P n (2+1)] as the sampling data of the output power in the second first time window, [P n (3),P n (3+1)] as the sampling data of the output power in the third first time window, ..., [P n (8),P n(8+1)] is used as the sampling data of the output power in the eighth first time window. When the eighth first time window shifts to the ninth first time window, the monitoring of the second time window is started. After the data is collected in the ninth first time window, the first second time window and the ninth first time window complete the synchronous collection, that is, [P n (9),P n (9+1)] as the sampling data of the output power in the ninth first time window, [P m (9-8),P m (9-7),…,P m (9+1)] is collected synchronously as the sampling data of the output power in the first second time window.

[0063] The embodiment of the present application counts the power fluctuation value within a preset time window, and thus determines whether the output power needs to be corrected based on the magnitude relationship between the power fluctuation value and the power fluctuation value threshold.

[0064] After determining the power fluctuation value, it is determined whether the output power exceeds the limit based on the relationship between the power fluctuation value and the power fluctuation value threshold. Optionally, in the grid-connected power smoothing method provided in the embodiment of the present application, for each preset time window, judging whether the power fluctuation value is greater than the power fluctuation value threshold includes: determining the power fluctuation value within the preset time window, wherein the power fluctuation value includes at least one of the following: a first power fluctuation value within a first time window and a second power fluctuation value within a second time window; in a case where the power fluctuation value within the preset time window only includes the first power fluctuation value, judging whether the first power fluctuation value is greater than the first power fluctuation value threshold; in a case where the first power fluctuation value is greater than the first power fluctuation value threshold, determining that the power fluctuation value is greater than the power fluctuation value threshold, and in the first When the power fluctuation value is less than or equal to the first power fluctuation value threshold, it is determined that the power fluctuation value is less than or equal to the power fluctuation value threshold; when the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, it is determined whether the first power fluctuation value is greater than the first power fluctuation value threshold, and whether the second power fluctuation value is greater than the second power fluctuation value threshold; when the first power fluctuation value is greater than the first power fluctuation value threshold, or the second power fluctuation value is greater than the second power fluctuation value threshold, it is determined that the power fluctuation value is greater than the power fluctuation value threshold; when the first power fluctuation value is less than or equal to the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold, it is determined that the power fluctuation value is less than or equal to the power fluctuation value threshold.

[0065] Specifically, the first power fluctuation threshold, i.e., k 1min , the second power fluctuation value threshold is k 10minWhen the preset time window only includes the first time window, determine whether the first power fluctuation value in the first time window is greater than the first power fluctuation threshold value. If the first power fluctuation value is greater than the first power fluctuation threshold value, it means that the power fluctuation value in the preset time window is greater than the power fluctuation threshold value, and the output power in the preset time window needs to be corrected. If the first power fluctuation value is less than or equal to the first power fluctuation threshold value, it means that the power fluctuation value in the preset time window is less than or equal to the power fluctuation threshold value, and the output power in the preset time window does not need to be corrected, and the judgment is shifted to the next preset time window.

[0066] When the preset time window includes both the first time window and the second time window, it is determined whether the first power fluctuation value in the first time window is greater than the first power fluctuation threshold, and whether the second power fluctuation value in the second time window is greater than the second power fluctuation threshold. If the first power fluctuation value is greater than the first power fluctuation threshold, or the second power fluctuation value is greater than the second power fluctuation threshold, it means that the power fluctuation value in the preset time window is greater than the power fluctuation threshold, and the output power in the preset time window needs to be corrected; if the first power fluctuation value is less than or equal to the first power fluctuation threshold, and the second power fluctuation value is less than or equal to the second power fluctuation threshold, it means that the power fluctuation value in the preset time window is less than or equal to the power fluctuation threshold, and the output power in the preset time window does not need to be corrected, and the judgment is shifted to the next preset time window.

[0067] The embodiment of the present application determines whether the output power needs to be corrected by comparing the magnitude relationship between the power fluctuation value and the power fluctuation value threshold.

[0068] The output power is corrected by a preset correction coefficient. Optionally, in the grid-connected power smoothing method provided in an embodiment of the present application, the output power of the photovoltaic power station is corrected by a preset correction coefficient, and the corrected output power includes: when the power fluctuation value within the preset time window only includes the first power fluctuation value, and the first power fluctuation value is greater than the first power fluctuation value threshold, or when the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, the first power fluctuation value is greater than the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold, the partial derivative of the first power fluctuation value with respect to time is calculated to obtain the first gradient of the first power fluctuation value; when the first gradient is a positive number, the first power fluctuation value threshold is determined as the preset correction coefficient, and the sum of the output power and the preset correction coefficient is calculated to obtain the corrected output power; when the first gradient is a negative number, the first power fluctuation value threshold is determined as the preset correction coefficient, and the difference between the output power and the preset correction coefficient is calculated to obtain the corrected output power.

[0069] Specifically, for the case where the preset time window only includes the first time window, when the first power fluctuation value is greater than the first power fluctuation value threshold, it means that the power in the first time window is over-limit, and the output power is corrected according to the over-limit correction formula of the first time window. In addition, for the case where the preset time window includes both the first time window and the second time window, when the first power fluctuation value is greater than the first power fluctuation value threshold and the second power fluctuation value is less than or equal to the second power fluctuation value threshold, it means that the power in the first time window is over-limit, and the power in the second time window is not over-limit, and the output power is also corrected according to the over-limit correction formula of the first time window.

[0070] The embodiment of the present application proposes a method for correcting photovoltaic fluctuations in 1min and 10min time windows with synchronized time steps to minimize the output burden of energy storage, to smooth photovoltaic point fluctuations, and to perform point-to-point correction of fluctuations on the basis of meeting grid-connected requirements for output power data that exceeds the limit through real-time tracking and detection of preset time windows, thereby maximally reducing the output burden of energy storage and reducing its internal operating losses to extend the life of energy storage elements.

[0071] Optionally, in the grid-connected power smoothing method provided in the embodiment of the present application, the output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power, including: when the power fluctuation value within the preset time window includes a first power fluctuation value and a second power fluctuation value, and the first power fluctuation value is less than or equal to a first power fluctuation value threshold, and the second power fluctuation value is greater than the second power fluctuation value threshold, the partial derivative of the second power fluctuation value with respect to time is calculated to obtain a second gradient of the second power fluctuation value; when the second gradient is a positive number, the second power fluctuation value threshold is determined as the preset correction coefficient, and the sum of the output power and the preset correction coefficient is calculated to obtain the corrected output power; when the second gradient is a negative number, the second power fluctuation value threshold is determined as the preset correction coefficient, and the difference between the output power and the preset correction coefficient is calculated to obtain the corrected output power.

[0072] Specifically, for the case where the preset time window includes both the first time window and the second time window, when the first power fluctuation value is less than or equal to the first power fluctuation value threshold, and the second power fluctuation value is greater than the second power fluctuation value threshold, it means that the power in the first time window is within the limit, but the power in the second time window is beyond the limit. The output power needs to be corrected according to the over-limit correction formula of the second time window.

[0073] The embodiment of the present application corrects the out-of-limit power fluctuation data through a preset time window, retains the characteristic information of the original power in the grid-connected power, reduces power redundancy, alleviates the operating burden of the energy storage system of the photovoltaic power station, and improves the control performance of the energy storage system.

[0074] Optionally, in the grid-connected power smoothing method provided in the embodiment of the present application, the output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power, including: when the power fluctuation value within the preset time window includes a first power fluctuation value and a second power fluctuation value, and the first power fluctuation value is greater than the first power fluctuation value threshold, and at the same time the second power fluctuation value is greater than the second power fluctuation value threshold, determining a third gradient of the first power fluctuation value and a fourth gradient of the second power fluctuation value; calculating the sum of the third gradient and the fourth gradient to obtain a total gradient, and judging whether the total gradient is greater than the gradient threshold; when the total gradient is greater than the gradient threshold, determining a first corrected power of the first power fluctuation value and a second corrected power of the second power fluctuation value, wherein the first corrected power is the sum of the output power and the first power fluctuation value threshold, and the second corrected power is the sum of the output power and the second power fluctuation value threshold; and determining the maximum value of the first corrected power and the second corrected power as the corrected output power.

[0075] Specifically, for the case where the preset time window includes both the first time window and the second time window, when the first power fluctuation value is greater than the first power fluctuation value threshold, and at the same time the second power fluctuation value is greater than the second power fluctuation value threshold, it means that the power in the first time window and the power in the second time window are both out of limit, and the output power needs to be corrected by combining the over-limit correction formula of the first time window and the over-limit correction formula of the second time window.

[0076] At this time, it is necessary to determine the direction of the consistent gradient of the time window fluctuation at the two scales, as well as the magnitude of the time window correction power at the two scales. Due to the synchronization of the time step, there will always be a situation where data points need to be corrected for the 1min and 10min time windows at the same time. For this situation, the choice of the over-limit correction formula is closely related to the fluctuation gradient and correction value of the two time windows. The gradient and direction consistency discriminant are set to determine the problem of the two-scale trade-off correction value in this case. The calculation formula for the 1min scale fluctuation gradient of the current first time window is as follows:

[0077]

[0078] in, That is the third gradient, is the maximum output power in the first time window, is the minimum output power in the first time window. is the time corresponding to the maximum output power in the first time window, is the time corresponding to the minimum output power in the first time window. The calculation formula for the 10-min scale fluctuation gradient in the second time window is as follows:

[0079]

[0080] in, That is the fourth gradient, is the maximum output power in the second time window, is the minimum output power in the second time window. is the time corresponding to the maximum output power in the second time window, is the time corresponding to the minimum output power in the second time window.

[0081] Therefore, the discriminant formula used to determine whether the fluctuation gradients of the two scales are in the same positive direction (taking the positive value as the positive direction) is as follows:

[0082] ▽ 1min,n +▽ 10min,m >0;

[0083] It should be noted that the gradients of the two time windows will not have inconsistent directions, that is, they are always the same sign. Based on this, the gradient threshold can be 0. If the total gradient is greater than the gradient threshold, the first corrected power of the first time window and the second corrected power of the second time window are calculated respectively, and the maximum value of the first corrected power and the second corrected power is determined as the corrected output power. If the first corrected power and the second corrected power are the same, either one of them is selected as the corrected output power.

[0084] The embodiment of the present application corrects the out-of-limit power fluctuation data through a preset time window, retains the characteristic information of the original power in the grid-connected power, reduces power redundancy, alleviates the operating burden of the energy storage system of the photovoltaic power station, and improves the control performance of the energy storage system.

[0085] Optionally, in the grid-connected power smoothing method provided in an embodiment of the present application, after determining whether the total gradient is greater than the gradient threshold, the method further includes: when the total gradient is less than the gradient threshold, determining a third corrected power of the first power fluctuation value and a fourth corrected power of the second power fluctuation value, wherein the third corrected power is the difference between the output power and the first power fluctuation value threshold, and the fourth corrected power is the difference between the output power and the second power fluctuation value threshold; and determining the minimum value of the third corrected power and the fourth corrected power as the corrected output power.

[0086] Specifically, if the total gradient is less than the gradient threshold, the third corrected power of the first time window and the fourth corrected power of the second time window are calculated respectively, and the minimum value of the third corrected power and the fourth corrected power is determined as the corrected output power. If the first corrected power and the second corrected power are the same, one of them is selected as the corrected output power.

[0087] The embodiment of the present application corrects the out-of-limit power fluctuation data through a preset time window, retains the characteristic information of the original power in the grid-connected power, reduces power redundancy, alleviates the operating burden of the energy storage system of the photovoltaic power station, and improves the control performance of the energy storage system.

[0088] According to another embodiment of the present application, an optional grid-connected power smoothing method is also provided. Figure 3 is a schematic diagram of an optional grid-connected power smoothing method provided according to an embodiment of the present application. Figure 3 As shown, the method includes: constructing a digital simulation model of a photovoltaic energy storage grid-connected combined system. Shifting according to a 1-min time window time step and a 10-min time window time step. Determine whether the two current time windows do not satisfy the power fluctuation discriminant formula. If not, the two time windows continue to shift synchronously. If at least one of the formulas does not satisfy it, the energy storage power correction value is screened and controlled. The grid-connected power after outputting the smoothed fluctuation is the target power input to the power grid. When the next smoothing cycle arrives, determine whether the smoothing power instruction is fully responded to. If not completed, repeat the above steps.

[0089] The embodiment of the present application builds a framework and control model for a photovoltaic energy storage combined grid-connected system, proposes a method for correcting photovoltaic fluctuations in 1-minute and 10-minute time windows with synchronized time steps to minimize the output burden of energy storage, smoothes photovoltaic point fluctuations, and performs point-to-point correction of fluctuations on the out-of-limit window data based on the criterion of meeting the two-scale national grid-connected requirements, thereby reducing the output burden of energy storage to the greatest extent, reducing its internal operating losses and extending the life of energy storage components.

[0090] In order to verify the feasibility of the embodiments of the present application, the typical daily photovoltaic output of a photovoltaic power station with an installed capacity of Si=150MW in the southwest region is analyzed as an example. The typical daily photovoltaic power data is corrected for the time step exceeding the limit in the 1min and 10min time windows, and the fluctuation of the window data exceeding the limit is smoothed. In addition, traditional methods with different smoothing properties are compared, and the widely used wavelet packet decomposition and SG filtering methods are selected as typical examples of signal decomposition smoothing methods and signal filtering smoothing methods, respectively. The smoothing parameters that just meet the grid-connected requirements of the two scales are set, and the output curves are compared. Figure 4 1 is a schematic diagram comparing the effects of different grid-connected power leveling methods provided in the embodiments of the present application. Figure 4As shown, the analysis of the curve shows that the traditional smoothing method has poor tracking performance for photovoltaic power, that is, the characteristic difference between the curve and the original photovoltaic power is obvious, which to a certain extent causes excessive smoothing of fluctuations, increases the output burden of energy storage and operating losses. In contrast, the method of the embodiment of the present application sets 1min and 10min scale time windows equivalent to the standard fluctuation requirements, detects the over-limit value of photovoltaic power in real time by synchronous translation of unit time step, and then corrects the amplitude of the narrow fluctuation amount of the over-limit window in the form of point-to-point numerical processing. It can smooth photovoltaic fluctuations on the premise of tracking the characteristic trend of photovoltaic power well without causing signal distortion.

[0091] At the same time, the embodiment of the present application obtains evaluation indicators under various filtering methods as data support for analysis to obtain Table 1, which is the evaluation indicators of the smoothing methods of different grid-connected powers.

[0092] Table 1

[0093]

[0094] Figure 5 It is a schematic diagram of 1-minute scale power fluctuation under different grid-connected power smoothing methods provided in the embodiments of the present application. Figure 6 1 is a schematic diagram of 10-minute scale power fluctuations under different grid-connected power smoothing methods provided in the embodiments of the present application. Figure 5 and Figure 6 As shown, the traditional signal decomposition method and signal filtering method can make the 1min and 10min scale fluctuations significantly lower than the fluctuation limit, but because they cannot track the power curve well and control the degree of smoothing, they cannot follow the fluctuation amplitudes of different sizes to adaptively control the reduction amount during operation. They only use the same level of smoothing to smooth the curve as a whole, resulting in the smoothed fluctuations overflowing the required value. In contrast, the method of the embodiment of the present application can retain the fluctuations of the original photovoltaic data that do not exceed the limit while meeting the grid connection requirements, and the fluctuations that exceed the limit are stably and evenly corrected to this limit without causing excessive smoothing.

[0095] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0096] The embodiment of the present application also provides a grid-connected power stabilization device. It should be noted that the grid-connected power stabilization device of the embodiment of the present application can be used to execute the grid-connected power stabilization method provided in the embodiment of the present application. The grid-connected power stabilization device provided in the embodiment of the present application is introduced below.

[0097] Figure 7 Schematic diagram of a grid-connected power leveling device provided according to an embodiment of the present application. Figure 7 As shown, the device comprises:

[0098] An acquisition unit 701 is used to acquire the output power of the photovoltaic power station, and calculate the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window includes a preset number of first time windows;

[0099] A judging unit 702, configured to judge, for each preset time window, whether the power fluctuation value is greater than a power fluctuation value threshold;

[0100] The correction unit 703 is used to correct the output power of the photovoltaic power station by a preset correction coefficient to obtain the corrected output power when the power fluctuation value is greater than the power fluctuation value threshold;

[0101] The calculation unit 704 is used to calculate the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network.

[0102] The grid-connected power smoothing device provided in the embodiment of the present application obtains the output power of the photovoltaic power station through an acquisition unit 701, and calculates the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows; a judgment unit 702 judges, for each preset time window, whether the power fluctuation value is greater than a power fluctuation value threshold; a correction unit 703 corrects the output power of the photovoltaic power station by a preset correction coefficient when the power fluctuation value is greater than the power fluctuation value threshold, to obtain the corrected output power; and a calculation unit 704 calculates the output power of the photovoltaic power station, and calculates the power fluctuation value of the photovoltaic power station. The calculation unit 704 calculates the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network, which solves the problem of losing original data characteristic information and causing power distortion due to poor tracking ability when smoothing the output power fluctuation of the photovoltaic power station in the related technology. The output power with a power fluctuation value greater than the power fluctuation value threshold is corrected through a preset time window to obtain the corrected grid-connected power, thereby achieving the effect of retaining the characteristic information of the original power in the grid-connected power, reducing power redundancy, alleviating the operating burden of the energy storage system of the photovoltaic power station, and improving the control performance of the energy storage system.

[0103] Optionally, in the grid-connected power smoothing device provided in the embodiment of the present application, the acquisition unit 701 includes: a first determination module, used to determine the maximum value and the minimum value of the output power in the first time window every first time window; a first calculation module, used to calculate the difference between the maximum value and the minimum value of the output power in the first time window, and obtain the first power fluctuation value in the first time window; a second determination module, used to determine the maximum value and the minimum value of the output power in a second time window containing a preset number of first time windows after calculating the power fluctuation values ​​in a preset number of first time windows each time; a second calculation module, used to calculate the difference between the maximum value and the minimum value of the output power in the second time window, and obtain the second power fluctuation value in the second time window; a third determination module, used to determine the first power fluctuation value as the power fluctuation value in the preset time window when the preset time window is the first time window; a fourth determination module, used to determine the first power fluctuation value and the second power fluctuation value as the power fluctuation values ​​in the preset time window when the preset time window is the first time window and the second time window.

[0104] Optionally, in the grid-connected power stabilization device provided in the embodiment of the present application, the judgment unit 702 includes: a fifth determination module, used to determine the power fluctuation value within a preset time window, wherein the power fluctuation value includes at least one of the following: a first power fluctuation value within a first time window and a second power fluctuation value within a second time window; a first judgment module, used to determine whether the first power fluctuation value is greater than a first power fluctuation value threshold when the power fluctuation value within the preset time window only includes the first power fluctuation value; a sixth determination module, used to determine that the power fluctuation value is greater than the power fluctuation value threshold when the first power fluctuation value is greater than the first power fluctuation value threshold, and to determine that the power fluctuation value is less than or equal to the first power fluctuation value threshold when the first power fluctuation value is less than or equal to the first power fluctuation value threshold. is equal to the power fluctuation value threshold; a second judging module, used to judge whether the first power fluctuation value is greater than the first power fluctuation value threshold, and judge whether the second power fluctuation value is greater than the second power fluctuation value threshold when the power fluctuation value within the preset time window contains the first power fluctuation value and the second power fluctuation value; a seventh determining module, used to determine that the power fluctuation value is greater than the power fluctuation value threshold when the first power fluctuation value is greater than the first power fluctuation value threshold, or the second power fluctuation value is greater than the second power fluctuation value threshold; an eighth determining module, used to determine that the power fluctuation value is less than or equal to the power fluctuation value threshold when the first power fluctuation value is less than or equal to the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold.

[0105] Optionally, in the grid-connected power smoothing device provided in the embodiment of the present application, the correction unit 703 includes: a third calculation module, which is used to calculate the partial derivative of the first power fluctuation value with respect to time to obtain the first gradient of the first power fluctuation value when the power fluctuation value within the preset time window only includes the first power fluctuation value and the first power fluctuation value is greater than the first power fluctuation value threshold, or when the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, the first power fluctuation value is greater than the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold; a fourth calculation module, which is used to determine the first power fluctuation value threshold as a preset correction coefficient when the first gradient is a positive number, calculate the sum of the output power and the preset correction coefficient, and obtain the corrected output power; and a fifth calculation module, which is used to determine the first power fluctuation value threshold as the preset correction coefficient when the first gradient is a negative number, calculate the difference between the output power and the preset correction coefficient, and obtain the corrected output power.

[0106] Optionally, in the grid-connected power smoothing device provided in the embodiment of the present application, the correction unit 703 includes: a sixth calculation module, which is used to calculate the partial derivative of the second power fluctuation value with respect to time to obtain the second gradient of the second power fluctuation value when the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, the first power fluctuation value is less than or equal to the first power fluctuation value threshold, and the second power fluctuation value is greater than the second power fluctuation value threshold; a ninth determination module, which is used to determine the second power fluctuation value threshold as a preset correction coefficient when the second gradient is a positive number, calculate the sum of the output power and the preset correction coefficient, and obtain the corrected output power; and a tenth determination module, which is used to determine the second power fluctuation value threshold as the preset correction coefficient when the second gradient is a negative number, calculate the difference between the output power and the preset correction coefficient, and obtain the corrected output power.

[0107] Optionally, in the grid-connected power smoothing device provided in the embodiment of the present application, the correction unit 703 includes: an eleventh determination module, which is used to determine the third gradient of the first power fluctuation value and the fourth gradient of the second power fluctuation value when the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, the first power fluctuation value is greater than the first power fluctuation value threshold, and at the same time the second power fluctuation value is greater than the second power fluctuation value threshold; a seventh calculation module, which is used to calculate the sum of the third gradient and the fourth gradient to obtain the total gradient, and to determine whether the total gradient is greater than the gradient threshold; a twelfth determination module, which is used to determine the first corrected power of the first power fluctuation value and the second corrected power of the second power fluctuation value when the total gradient is greater than the gradient threshold, wherein the first corrected power is the sum of the output power and the first power fluctuation value threshold, and the second corrected power is the sum of the output power and the second power fluctuation value threshold; a thirteenth determination module, which is used to determine the maximum value of the first corrected power and the second corrected power as the corrected output power.

[0108] Optionally, in the grid-connected power smoothing device provided in the embodiment of the present application, the correction unit 703 also includes: a fourteenth determination module, used to determine the third corrected power of the first power fluctuation value and the fourth corrected power of the second power fluctuation value when the total gradient is less than the gradient threshold, wherein the third corrected power is the difference between the output power and the first power fluctuation value threshold, and the fourth corrected power is the difference between the output power and the second power fluctuation value threshold; a fifteenth determination module, used to determine the minimum value of the third corrected power and the fourth corrected power as the corrected output power.

[0109] The grid-connected power stabilization device includes a processor and a memory. The acquisition unit 701, the judgment unit 702, the correction unit 703 and the calculation unit 704 are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.

[0110] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to retain the characteristic information of the original power in the grid-connected power, reduce power redundancy, reduce the operating burden of the energy storage system of the photovoltaic power station, and improve the control performance of the energy storage system.

[0111] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0112] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a method for smoothing grid-connected power is implemented.

[0113] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the program executes a method for smoothing grid-connected power when running.

[0114] Figure 8 is a schematic diagram of an electronic device provided according to an embodiment of the present application. Figure 8 As shown, the electronic device 801 includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: obtaining the output power of the photovoltaic power station, calculating the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows; for each preset time window, determining whether the power fluctuation value is greater than the power fluctuation value threshold; when the power fluctuation value is greater than the power fluctuation value threshold, correcting the output power of the photovoltaic power station by a preset correction coefficient to obtain the corrected output power; calculating the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network. The device in this article may be a server, a PC, a PAD, a mobile phone, etc.

[0115] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: obtaining the output power of the photovoltaic power station, calculating the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of first time windows; for each preset time window, determining whether the power fluctuation value is greater than a power fluctuation value threshold; when the power fluctuation value is greater than the power fluctuation value threshold, correcting the output power of the photovoltaic power station by a preset correction coefficient to obtain the corrected output power; calculating the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the distribution network.

[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0117] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0118] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0119] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0120] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0121] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0122] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0123] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0124] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0125] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for stabilizing grid-connected power, characterized in that: include: Obtaining the output power of the photovoltaic power station, and calculating the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window contains a preset number of the first time windows; For each preset time window, determining whether the power fluctuation value is greater than a power fluctuation value threshold; When the power fluctuation value is greater than the power fluctuation value threshold, the output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain a corrected output power; The difference between the corrected output power and the power fluctuation value is calculated to obtain the grid-connected power of the photovoltaic power station for inputting into the power distribution network.

2. The method according to claim 1, characterized in that Calculating the power fluctuation value of the output power within the preset time window every preset time window includes: Determine a maximum value and a minimum value of the output power within the first time window every first time window; Calculating a difference between a maximum value and a minimum value of the output power in the first time window to obtain a first power fluctuation value in the first time window; After calculating the power fluctuation value within a preset number of first time windows each time, determining the maximum value and the minimum value of the output power within a second time window including the preset number of first time windows; Calculating a difference between a maximum value and a minimum value of the output power in the second time window to obtain a second power fluctuation value in the second time window; In a case where the preset time window is the first time window, determining the first power fluctuation value as a power fluctuation value within the preset time window; In a case where the preset time window is the first time window and the second time window, the first power fluctuation value and the second power fluctuation value are determined as power fluctuation values ​​within the preset time window.

3. The method according to claim 1, characterized in that For each preset time window, determining whether the power fluctuation value is greater than a power fluctuation value threshold includes: Determine a power fluctuation value within the preset time window, wherein the power fluctuation value includes at least one of the following: a first power fluctuation value within the first time window and a second power fluctuation value within the second time window; In a case where the power fluctuation value within the preset time window only includes the first power fluctuation value, determining whether the first power fluctuation value is greater than a first power fluctuation value threshold; In the case where the first power fluctuation value is greater than the first power fluctuation value threshold, determining that the power fluctuation value is greater than the power fluctuation value threshold, and in the case where the first power fluctuation value is less than or equal to the first power fluctuation value threshold, determining that the power fluctuation value is less than or equal to the power fluctuation value threshold; In a case where the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, determining whether the first power fluctuation value is greater than a first power fluctuation value threshold, and determining whether the second power fluctuation value is greater than a second power fluctuation value threshold; In a case where the first power fluctuation value is greater than the first power fluctuation value threshold, or the second power fluctuation value is greater than the second power fluctuation value threshold, determining that the power fluctuation value is greater than the power fluctuation value threshold; When the first power fluctuation value is less than or equal to the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold, it is determined that the power fluctuation value is less than or equal to the power fluctuation value threshold.

4. The method according to claim 3, characterized in that The output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power including: In a case where the power fluctuation values ​​within the preset time window only include the first power fluctuation value, and the first power fluctuation value is greater than the first power fluctuation value threshold, or in a case where the power fluctuation values ​​within the preset time window include the first power fluctuation value and the second power fluctuation value, the first power fluctuation value is greater than the first power fluctuation value threshold, and the second power fluctuation value is less than or equal to the second power fluctuation value threshold, the partial derivative of the first power fluctuation value with respect to time is calculated to obtain a first gradient of the first power fluctuation value; When the first gradient is a positive number, the first power fluctuation value threshold is determined as the preset correction coefficient, and the sum of the output power and the preset correction coefficient is calculated to obtain the corrected output power; When the first gradient is a negative number, the first power fluctuation value threshold is determined as the preset correction coefficient, and the difference between the output power and the preset correction coefficient is calculated to obtain the corrected output power.

5. The method according to claim 3, characterized in that: The output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power including: When the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, and the first power fluctuation value is less than or equal to the first power fluctuation value threshold, and the second power fluctuation value is greater than the second power fluctuation value threshold, calculating the partial derivative of the second power fluctuation value with respect to time to obtain a second gradient of the second power fluctuation value; When the second gradient is a positive number, the second power fluctuation value threshold is determined as the preset correction coefficient, and the sum of the output power and the preset correction coefficient is calculated to obtain the corrected output power; When the second gradient is a negative number, the second power fluctuation value threshold is determined as the preset correction coefficient, and the difference between the output power and the preset correction coefficient is calculated to obtain the corrected output power.

6. The method according to claim 3, characterized in that The output power of the photovoltaic power station is corrected by a preset correction coefficient to obtain the corrected output power including: When the power fluctuation value within the preset time window includes the first power fluctuation value and the second power fluctuation value, and the first power fluctuation value is greater than the first power fluctuation value threshold, and at the same time, the second power fluctuation value is greater than the second power fluctuation value threshold, determining a third gradient of the first power fluctuation value and a fourth gradient of the second power fluctuation value; Calculating the sum of the third gradient and the fourth gradient to obtain a total gradient, and determining whether the total gradient is greater than a gradient threshold; In the case where the total gradient is greater than the gradient threshold, determining a first corrected power of the first power fluctuation value and a second corrected power of the second power fluctuation value, wherein the first corrected power is the sum of the output power and the first power fluctuation value threshold, and the second corrected power is the sum of the output power and the second power fluctuation value threshold; The maximum value of the first corrected power and the second corrected power is determined as the corrected output power.

7. The method according to claim 6, characterized in that After determining whether the total gradient is greater than a gradient threshold, the method further includes: When the total gradient is less than the gradient threshold, determining a third corrected power of the first power fluctuation value and a fourth corrected power of the second power fluctuation value, wherein the third corrected power is a difference between the output power and the first power fluctuation value threshold, and the fourth corrected power is a difference between the output power and the second power fluctuation value threshold; The minimum value between the third corrected power and the fourth corrected power is determined as the corrected output power.

8. A grid-connected power leveling device, characterized in that: include: an acquisition unit, configured to acquire the output power of the photovoltaic power station, and calculate the power fluctuation value of the output power within the preset time window every preset time window, wherein the preset time window includes a first time window and a second time window, and each second time window includes a preset number of the first time windows; A judging unit, configured to judge, for each preset time window, whether the power fluctuation value is greater than a power fluctuation value threshold; a correction unit, configured to correct the output power of the photovoltaic power station by a preset correction coefficient to obtain a corrected output power when the power fluctuation value is greater than the power fluctuation value threshold; The calculation unit is used to calculate the difference between the corrected output power and the power fluctuation value to obtain the grid-connected power of the photovoltaic power station for inputting into the power distribution network.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the grid-connected power smoothing method described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the grid-connected power smoothing method described in any one of claims 1 to 7.