Photovoltaic primary frequency modulation distribution method and device, computer equipment and storage medium
By obtaining the real-time frequency and line loss of the photovoltaic station, combined with the active power proportional allocation and frequency difference correction technology, the problem of large frequency regulation deviation of traditional photovoltaic primary frequency regulation devices in complex weather conditions is solved, and more accurate frequency regulation and grid stability are achieved.
Patent Information
- Application Number
- CN202510687436.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2045-05-27
AI Technical Summary
Traditional photovoltaic primary frequency modulation devices cannot truly collect the inverter state when the weather is poor or the lighting conditions are poor, resulting in a large deviation of primary frequency modulation.
By obtaining the real-time frequency and line loss of the target photovoltaic site, the total target power value is determined and allocated to each photovoltaic matrix according to the active power ratio. When the adjustment is not in place, the total target power value is corrected based on the frequency difference to ensure the accuracy of frequency adjustment.
More accurate frequency adjustment under complex weather conditions is achieved, frequency modulation deviation is reduced, and grid stability is improved.
Smart Images

Figure CN120200278A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clean energy, and particularly to a photovoltaic primary frequency modulation distribution method, device, computer device and storage medium. Background Art
[0002] Primary frequency modulation means that when the grid frequency deviates from the rated value, the wind farm actively adjusts the output power to suppress the frequency fluctuation; with the continuous increase of photovoltaic power stations, the role of primary frequency modulation in grid stability is becoming more and more important, and the response speed and accuracy of primary frequency modulation are also becoming more and more important.
[0003] However, traditional primary frequency modulation devices allocate commands to inverters in a capacity or margin manner; when the weather is bad or the light condition is poor, the primary frequency modulation device cannot truly collect the inverter state, resulting in a large deviation in primary frequency modulation.
[0004] Therefore, there is an urgent need to propose a photovoltaic primary frequency modulation distribution method to solve the problem of large deviation in primary frequency modulation. Summary of the Invention
[0005] In view of this, the present invention provides a photovoltaic primary frequency modulation distribution method, device, computer device and storage medium to solve the problems existing in the prediction of complex weather samples in related technologies.
[0006] In a first aspect, the present invention provides a photovoltaic primary frequency modulation distribution method, which is applied to a target photovoltaic power station including a plurality of photovoltaic arrays. The photovoltaic primary frequency modulation distribution method includes: obtaining the first real-time frequency of the target photovoltaic power station; if the first real-time frequency first exceeds the dead zone, determining a first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency; allocating the first total target power value to each of the photovoltaic arrays according to the active power ratio; when entering the next frequency modulation cycle, obtaining the second real-time frequency and the first outgoing line active power of the target photovoltaic power station; if the second real-time frequency still exceeds the dead zone, determining the adjustment in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value; if the adjustment in-place state is not in place, calculating the frequency difference between the second real-time frequency and the first real-time frequency; correcting the line loss or the first total target power value based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value; and allocating the corrected total target power value to each of the photovoltaic arrays according to the active power ratio.
[0007] As an exemplary embodiment, correcting the line loss based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value includes: if the frequency difference is less than a preset frequency difference, correcting the line loss to obtain a corrected line loss; determining the corrected total target power value based on the corrected line loss and the first total target power value.
[0008] As an exemplary embodiment, correcting the line loss to obtain a corrected line loss includes: calculating the power difference between the first outgoing active power and the first total target power value as the corrected line loss.
[0009] As an exemplary embodiment, determining the corrected total target power value based on the corrected line loss and the first total target power value includes: summing the corrected line loss and the first total target power value to obtain the corrected total target power value.
[0010] As an exemplary embodiment, correcting the line loss based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value further includes: if the frequency difference is not less than the preset frequency difference, determining the corrected total target power value based on the second real-time frequency and the line loss.
[0011] As an exemplary embodiment, distributing the first total target power value to each of the photovoltaic arrays according to the active power ratio includes: when the first real-time frequency first goes out of the dead zone, obtaining the first array active power corresponding to each of the photovoltaic arrays; calculating the first active power ratio corresponding to each of the photovoltaic arrays based on the first array active power of each; determining the first power distribution coefficient corresponding to each of the photovoltaic arrays based on the first active power ratio; wherein, the first active power ratio is positively correlated with the first power distribution coefficient; distributing the first total target power value to each of the photovoltaic arrays based on the first power distribution coefficient.
[0012] As an exemplary embodiment, distributing the corrected total target power value to each of the photovoltaic arrays according to the active power ratio includes: when the second real-time frequency still goes out of the dead zone and the adjustment in-place state is not in-place, obtaining the second array active power corresponding to each of the photovoltaic arrays; calculating the second active power ratio corresponding to each of the photovoltaic arrays based on the second array active power of each; determining the second power distribution coefficient corresponding to each of the photovoltaic arrays based on the second active power ratio; wherein, the second active power ratio is positively correlated with the second power distribution coefficient; distributing the corrected total target power value to each of the photovoltaic arrays based on the second power distribution coefficient.
[0013] Second aspect, the present invention provides a photovoltaic primary frequency regulation distribution device, which is applied to a target photovoltaic power station including a plurality of photovoltaic arrays. The photovoltaic primary frequency regulation distribution device includes: a first acquisition module for acquiring the first real-time frequency and line loss of the target photovoltaic power station; a first total target power value determination module for determining a first total target power value based on the line loss and the first real-time frequency of the target photovoltaic power station when the first real-time frequency first exceeds the dead zone; a first power distribution module for distributing the first total target power value to each of the photovoltaic arrays according to the active power ratio; a second acquisition module for acquiring the second real-time frequency and the first outgoing line active power of the target photovoltaic power station when entering the next frequency regulation cycle; an adjustment in-place state determination module for determining the adjustment in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value when the second real-time frequency still exceeds the dead zone; a frequency difference calculation module for calculating the frequency difference of the second real-time frequency relative to the first real-time frequency when the adjustment in-place state is not in place; a first total target power value correction module for correcting the line loss or the first total target power value based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value; a second power distribution module for distributing the corrected total target power value to each of the photovoltaic arrays according to the active power ratio.
[0014] Third aspect, the present invention provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the method of the first aspect or any corresponding embodiment thereof.
[0015] Fourth aspect, the present invention provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the method of the first aspect or any corresponding embodiment thereof.
[0016] The present invention provides a photovoltaic primary frequency regulation distribution method, which is applied to a target photovoltaic power station including a plurality of photovoltaic arrays. The photovoltaic primary frequency regulation distribution method includes: obtaining the first real-time frequency of the target photovoltaic power station; if the first real-time frequency first exceeds the dead zone, determining a first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency; distributing the first total target power value to each of the photovoltaic arrays according to the active power ratio; when entering the next frequency regulation cycle, obtaining the second real-time frequency and the first outgoing line active power of the target photovoltaic power station; if the second real-time frequency still exceeds the dead zone, determining the adjustment in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value; if the adjustment in-place state is not in place, calculating the frequency difference between the second real-time frequency and the first real-time frequency; correcting the line loss or the first total target power value based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value; distributing the corrected total target power value to each of the photovoltaic arrays according to the active power ratio; in the above embodiments, on the one hand, distributing the first total target power value to each of the photovoltaic arrays according to the active power ratio can adaptively control each photovoltaic array based on the active power ratio, making the frequency regulation more accurate; on the other hand, when it is recognized in the next frequency regulation cycle that the frequency still exceeds the dead zone and the adjustment in-place state is not in place, determining the adjustment direction of the total target power value based on the frequency difference to correct the first total target power value, obtaining a more reasonable corrected total target power value, and further performing frequency regulation control according to the corrected total target power value, which can timely and accurately adjust the power when the frequency is abnormal, making the frequency regulation more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0018] Figure 1 is a flowchart of a photovoltaic primary frequency regulation distribution method according to an embodiment of the present invention; Figure 2 is a structural block diagram of a photovoltaic primary frequency regulation distribution device according to an embodiment of the present invention; Figure 3 is a hardware structure diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0020] According to an embodiment of the present invention, an embodiment of a photovoltaic primary frequency regulation allocation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0021] Primary frequency regulation refers to actively adjusting the output power to suppress frequency fluctuations when the grid frequency deviates from the rated value; with the continuous increase of photovoltaic power stations, the role of primary frequency regulation in grid stability is becoming more and more important, and the response speed and accuracy of primary frequency regulation are also becoming more and more important.
[0022] Traditional primary frequency regulation devices allocate instructions to inverters in a capacity or margin manner; for a target photovoltaic power station containing multiple photovoltaic arrays, for photovoltaic arrays with roughly the same installation environment and meteorological conditions (such as a target photovoltaic power station installed in a plain area), the received light intensity is roughly the same, and the power generation is roughly the same. Implementing frequency regulation control by allocating instructions to inverters in the same capacity or the same margin manner can usually be achieved; however, in actual applications, affected by the installation environment, meteorological conditions, etc. of each photovoltaic array in the target photovoltaic power station alone or jointly, the actual power generation states of the inverters of each photovoltaic array are different, and the margin is inaccurate, which in turn leads to a large frequency regulation deviation; for example, for a target photovoltaic power station installed in a mountainous environment, on the one hand, the power generation states of the photovoltaic arrays are different due to the influence of the slope of the installation position, resulting in inaccurate margin calculation; on the other hand, the photovoltaic arrays are affected by the weather. When the weather is bad or the light conditions are poor, the power generation states of each photovoltaic array are different, affecting the margin calculation and thus the accuracy of primary frequency regulation.
[0023] Therefore, there is a problem of large frequency regulation deviation in the primary frequency regulation method in the related art.
[0024] To solve the above problems, in this embodiment, a photovoltaic primary frequency regulation allocation method is provided. The photovoltaic primary frequency regulation allocation method is applied to a target photovoltaic power station including multiple photovoltaic arrays; Figure 1 It is a flowchart of the photovoltaic primary frequency regulation allocation method according to an embodiment of the present invention. As Figure 1 shown, this process includes the following steps: Step S101, obtain the first real-time frequency of the target photovoltaic power station.
[0025] In this embodiment, the first real-time frequency can be obtained by collecting the frequency at the grid connection end of the target photovoltaic power station.
[0026] Exemplarily, after collecting the first real-time frequency, compare the first real-time frequency with the dead zone; if the first real-time frequency first exceeds the dead zone, enter step S102.
[0027] In one embodiment, the dead zone can be [49.95Hz, 50.05Hz].
[0028] Step S102, determine the first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency.
[0029] If the first real-time frequency first exceeds the dead zone, the target photovoltaic power station needs to perform frequency modulation control so that the frequency of the target photovoltaic power station can meet the requirements. At this time, determine the first total target power value based on the first real-time frequency and the line loss; Exemplarily, the corresponding relationship between the frequency and the calibrated target power value can be pre-calibrated in the laboratory, and further determine the calibrated target power value according to the first real-time frequency and the corresponding relationship.
[0030] Exemplarily, after obtaining the calibrated target power value, sum the calibrated target power value and the line loss to obtain the first total target power value.
[0031] Exemplarily, the line loss can be obtained by taking the difference between the outgoing active power of the target photovoltaic power station and the sum of the active powers of each photovoltaic array.
[0032] Specifically, obtain the sum of the outgoing active power and the active powers of each photovoltaic array corresponding to the time stamp of the first real-time frequency, calculate the difference between the outgoing active power and the sum of the active powers of the arrays to obtain the line loss.
[0033] Step S103, allocate the first total target power value to each of the photovoltaic arrays according to the active power ratio.
[0034] As described above, in practical applications, affected by the installation environment, meteorological conditions, etc. of each photovoltaic array in the target photovoltaic power station alone or jointly, the actual power generation states of the inverters of each photovoltaic array are different, and the margin is inaccurate, resulting in a large frequency modulation deviation.
[0035] To solve this problem, in this embodiment, allocate the first total target power value to each of the photovoltaic arrays according to the active power ratio, so as to perform an initial allocation of each photovoltaic array based on the first total target power value.
[0036] Exemplarily, when distributing the first total target power value to each of the photovoltaic arrays according to the active power ratio, the first sub-target power value of each of the photovoltaic arrays can be determined based on the active power ratio of each of the photovoltaic arrays in the target photovoltaic power station and the first total target power value; wherein, each of the first sub-target power values is positively correlated with the active power ratio.
[0037] By using the method of distributing the first total target power value to each of the photovoltaic arrays according to the active power ratio, the active power ratio can reflect the actual power generation state or power generation capacity of each photovoltaic array affected by the installation environment, meteorological conditions, etc. alone or in combination. Furthermore, a larger target power value is assigned to the photovoltaic array with a better power generation state or stronger power generation capacity through the active power ratio, and a smaller target power value is assigned to the photovoltaic array with a relatively poor power generation state or relatively weak power generation capacity, so as to adaptively control each photovoltaic array during frequency regulation, making the frequency regulation more accurate.
[0038] Step S104, when entering the next frequency modulation cycle, obtain the second real-time frequency and the first outgoing line active power of the target photovoltaic power station.
[0039] After collecting the second real-time frequency, compare the second real-time frequency with the dead zone.
[0040] If the second real-time frequency does not exceed the dead zone, only monitor the frequency without performing other operations until the frequency exceeds the dead zone, and at this time, process it according to the first time it exceeds.
[0041] Exemplarily, if the second real-time frequency does not exceed the dead zone, obtain the frequency of the target photovoltaic power station at a preset time interval as the first real-time frequency.
[0042] If the second real-time frequency still exceeds the dead zone, enter step S105.
[0043] Step S105, determine the adjustment in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value.
[0044] Specifically, if the deviation between the first outgoing line active power and the total target power value is within the rated range, confirm that the outgoing line active power can meet the total target power value, and at this time, confirm that the adjustment in-place state is in-place.
[0045] If the deviation between the first outgoing line active power and the total target power value is not within the rated range, confirm that the adjustment in-place state is not in-place, and at this time, enter step S106.
[0046] Exemplarily, the interval can be a percentage interval [-0.01, 0.01]; that is, if the ratio of the active power of the first outgoing line to the total target power value is between [99.99, 100.01], it is confirmed that the adjustment in-place state is in-place; if the ratio of the active power of the first outgoing line to the total target power value is not between [99.99, 100.01], it is confirmed that the adjustment in-place state is not in-place.
[0047] Step S106, calculate the frequency difference between the second real-time frequency and the first real-time frequency.
[0048] After obtaining the frequency difference between the second real-time frequency and the first real-time frequency, proceed to step S107.
[0049] Step S107, based on the frequency difference between the second real-time frequency and the first real-time frequency, correct the line loss or the first total target power value to obtain a corrected total target power value.
[0050] When the adjustment in-place state is not in-place, there may be a problem of inaccurate frequency modulation in the target photovoltaic power station due to inaccurate line loss when applying the line loss determined when the first real-time frequency first exceeds the dead zone to the current frequency modulation period, or a problem of inaccurate frequency modulation caused by inaccurate determination of the first total target power value; to solve this problem, when the adjustment in-place state is not in-place, based on the frequency difference between the second real-time frequency and the first real-time frequency, correct the line loss or the first total target power value to obtain a corrected total target power value.
[0051] In one embodiment, after obtaining the frequency difference, if the frequency difference is less than a preset frequency difference, correct the line loss to obtain a corrected line loss; based on the corrected line loss and the first total target power value, determine the corrected total target power value.
[0052] In one embodiment, after obtaining the frequency difference, if the frequency difference is not less than the preset frequency difference, based on the second real-time frequency and the line loss, determine the corrected total target power value.
[0053] The above embodiments can determine the adjustment direction of the total target power value based on the frequency difference when the adjustment in-place state is not in-place. Step S108, allocate the corrected total target power value to each of the photovoltaic arrays according to the active power ratio.
[0054] After obtaining the corrected target power value, allocate the corrected total target power value to each of the photovoltaic arrays according to the active power ratio, so as to perform secondary allocation for each photovoltaic array according to the corrected target power value.
[0055] A method for allocating the corrected total target power value to each of the photovoltaic arrays according to the active power ratio. On the one hand, the corrected total target power value is determined by the adjustment direction of the total target power value based on the frequency difference when the adjustment is not in place in the in-place adjustment state, and the adjustment direction can be determined based on the frequency difference when the adjustment is not in place. On the other hand, for the method of allocating the corrected total target power value to each of the photovoltaic arrays according to the active power ratio, the active power ratio can reflect the actual power generation state or power generation capacity of each photovoltaic array affected by the installation environment, meteorological conditions, etc. alone or jointly, so as to adaptively control each photovoltaic array during frequency regulation, making the frequency regulation more accurate.
[0056] The photovoltaic primary frequency modulation allocation method of the present invention is applied to a target photovoltaic power station including a plurality of photovoltaic arrays. The photovoltaic primary frequency modulation allocation method includes: obtaining the first real-time frequency of the target photovoltaic power station; if the first real-time frequency first exceeds the dead zone, determining a first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency; allocating the first total target power value to each of the photovoltaic arrays according to the active power ratio; when entering the next frequency modulation cycle, obtaining the second real-time frequency and the first outgoing line active power of the target photovoltaic power station; if the second real-time frequency still exceeds the dead zone, determining the adjustment in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value; if the adjustment in-place state is not in place, calculating the frequency difference between the second real-time frequency and the first real-time frequency; correcting the line loss or the first total target power value based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value; allocating the corrected total target power value to each of the photovoltaic arrays according to the active power ratio. In the above implementation manner, on the one hand, allocating the first total target power value to each of the photovoltaic arrays according to the active power ratio can adaptively control each photovoltaic array based on the active power ratio, making the frequency regulation more accurate. On the other hand, when it is recognized in the next frequency modulation cycle that the frequency still exceeds the dead zone and the adjustment in-place state is not in place, the adjustment direction of the total target power value is determined based on the frequency difference to correct the first total target power value, obtaining a more reasonable corrected total target power value, and further performing frequency modulation control according to the corrected total target power value, which can timely and accurately adjust the power when the frequency is abnormal, making the frequency regulation more accurate.
[0057] As an exemplary embodiment, the correcting the line loss based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value includes: if the frequency difference is less than a preset frequency difference, correcting the line loss to obtain a corrected line loss; determining the corrected total target power value based on the corrected line loss and the first total target power value.
[0058] In this embodiment, when the frequency difference is less than a preset frequency difference, the line loss is corrected to obtain a corrected line loss.
[0059] As a possible implementation, the line loss is corrected by considering the power difference between the active power of the first outgoing line and the first total target power value.
[0060] In one embodiment, when correcting the line loss by considering the power difference between the active power of the first outgoing line and the first total target power value, the correction of the line loss is achieved by directly calculating the power difference between the active power of the first outgoing line and the first total target power value as the corrected line loss; specifically, as an exemplary embodiment, the correction of the line loss to obtain the corrected line loss includes: calculating the power difference between the active power of the first outgoing line and the first total target power value as the corrected line loss.
[0061] In one embodiment, when correcting the line loss by considering the power difference between the active power of the first outgoing line and the first total target power value, the correction of the line loss value is achieved by a correction method of increasing a correction coefficient; specifically, as an exemplary embodiment, the correction of the line loss to obtain the corrected line loss includes: determining a line loss correction coefficient based on the frequency difference; calculating the power difference between the active power of the first outgoing line and the first total target power value; multiplying the power difference by the line loss correction coefficient to obtain the corrected line loss.
[0062] As a possible implementation, the line loss is corrected by considering the frequency modulation result in the current frequency modulation period after the initial allocation; specifically, as an exemplary embodiment, if the adjustment in-place state is not in place, the active power of the outgoing line at the current moment and the active power of each photovoltaic array are obtained; calculating the difference between the active power of the outgoing line and the sum of the active powers of the arrays as the corrected line loss.
[0063] Exemplarily, after obtaining the corrected line loss, the corrected line loss can be directly summed with the first total target power value to obtain a corrected total target power value; based on this, as an exemplary embodiment, determining the corrected total target power value based on the corrected line loss and the first total target power value includes: summing the corrected line loss and the first total target power value to obtain the corrected total target power value.
[0064] Exemplarily, after obtaining the corrected line loss, the corrected total target power value can be corrected by means of multiple rounds of correction; specifically, as an exemplary embodiment, determining the corrected total target power value based on the corrected line loss and the first total target power value includes: when the frequency difference is less than the preset frequency difference, within the preset duration for correcting the total target power value, performing multiple rounds of correction on the first total target power value based on the corrected line loss; during the process of each round of correction, determining a power correction coefficient based on the frequency difference; summing the product of the corrected line loss and the power correction coefficient and the first total target power value to obtain the corrected total target power value; and distributing the corrected total target power value to each of the photovoltaic arrays according to the active power ratio until the frequency adjustment is in place or the preset duration for correcting the total target power value is reached.
[0065] As an exemplary embodiment, correcting the line loss based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain the corrected total target power value further includes: if the frequency difference is not less than the preset frequency difference, determining the corrected total target power value based on the second real-time frequency and the line loss.
[0066] In this embodiment, when the frequency difference is not less than the preset frequency difference, the corrected total target power value is re-determined based on the second real-time frequency.
[0067] Among them, exemplarily, when re-determining the corrected total target power value based on the second real-time frequency, the calibrated target power value can be first determined based on the second real-time frequency and the corresponding relationship between the frequency and the calibrated target power value calibrated in the laboratory in advance, and further, the sum of the calibrated target power value and the line loss obtained when the first real-time frequency first exceeds the dead zone is used as the corrected total target power value.
[0068] As an exemplary embodiment, distributing the first total target power value to each of the photovoltaic arrays according to the active power ratio includes: when the first real-time frequency first exceeds the dead zone, obtaining the first array active power corresponding to each of the photovoltaic arrays; calculating the first active power ratio corresponding to each of the photovoltaic arrays based on the first array active powers; determining the first power distribution coefficient corresponding to each of the photovoltaic arrays based on the first active power ratio; wherein, the first active power ratio is positively correlated with the first power distribution coefficient; and distributing the first total target power value to each of the photovoltaic arrays based on the first power distribution coefficient.
[0069] In this embodiment, the power distribution coefficient is determined based on the active power ratio of each photovoltaic array when the first real-time frequency first exceeds the dead zone, and further, the first total target power value is distributed to each of the photovoltaic arrays according to the power distribution coefficient.
[0070] Among them, exemplarily, the power distribution coefficient is positively correlated with the active power ratio, and the sum of all the power distribution coefficients is 1.
[0071] As an exemplary embodiment, the step of allocating the corrected total target power value to each of the photovoltaic arrays according to the active power ratio includes: when the second real-time frequency still exceeds the dead zone and the adjustment in-place state is not in place, obtaining the second array active power corresponding to each of the photovoltaic arrays; calculating the second active power ratio corresponding to each of the photovoltaic arrays based on the second array active powers; determining the second power distribution coefficient corresponding to each of the photovoltaic arrays based on the second active power ratio; wherein, the second active power ratio is positively correlated with the second power distribution coefficient; and allocating the corrected total target power value to each of the photovoltaic arrays based on the second power distribution coefficient.
[0072] In this embodiment, the power distribution coefficient is determined based on the active power ratio of each photovoltaic array when the second real-time frequency first exceeds the dead zone and the adjustment in-place state is not in place, and further, the first total target power value is allocated to each of the photovoltaic arrays according to the power distribution coefficient.
[0073] Among them, exemplarily, the power distribution coefficient is positively correlated with the active power ratio, and the sum of all the power distribution coefficients is 1.
[0074] As a specific embodiment of the present invention, this embodiment provides a photovoltaic primary frequency modulation allocation method, and the photovoltaic primary frequency modulation allocation method includes: Obtaining the first real-time frequency of a target photovoltaic power station; If the first real-time frequency first exceeds the dead zone, determining a first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency; When the first real-time frequency first exceeds the dead zone, obtaining the first array active power corresponding to each of the photovoltaic arrays; calculating the first active power ratio corresponding to each of the photovoltaic arrays based on the first array active powers; determining the first power distribution coefficient corresponding to each of the photovoltaic arrays based on the first active power ratio; wherein, the first active power ratio is positively correlated with the first power distribution coefficient; and allocating the first total target power value to each of the photovoltaic arrays based on the first power distribution coefficient.
[0075] When entering the next frequency modulation cycle, obtaining the second real-time frequency and the first outgoing line active power of the target photovoltaic power station; If the second real-time frequency still exceeds the dead zone, determining the adjustment in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value; If the adjusted-in-place state is not adjusted in place, calculate the frequency difference between the second real-time frequency and the first real-time frequency. If the frequency difference is less than a preset frequency difference, calculate the power difference between the first outgoing active power and the first total target power value as the corrected line loss; obtain the corrected line loss; sum the corrected line loss and the first total target power value to obtain the corrected total target power value; when the second real-time frequency still exceeds the dead zone and the adjusted-in-place state is not adjusted in place, obtain the second array active power corresponding to each of the photovoltaic arrays; calculate the second active power ratio corresponding to each of the photovoltaic arrays based on the second array active power of each; determine the second power distribution coefficient corresponding to each of the photovoltaic arrays based on the second active power ratio; wherein, the second active power ratio is positively correlated with the second power distribution coefficient; distribute the corrected total target power value to each of the photovoltaic arrays based on the second power distribution coefficient.
[0076] If the frequency difference is not less than the preset frequency difference, determine the corrected total target power value based on the second real-time frequency and the line loss; when the second real-time frequency still exceeds the dead zone and the adjusted-in-place state is not adjusted in place, obtain the second array active power corresponding to each of the photovoltaic arrays; calculate the second active power ratio corresponding to each of the photovoltaic arrays based on the second array active power of each; determine the second power distribution coefficient corresponding to each of the photovoltaic arrays based on the second active power ratio; wherein, the second active power ratio is positively correlated with the second power distribution coefficient; distribute the corrected total target power value to each of the photovoltaic arrays based on the second power distribution coefficient.
[0077] If the adjusted-in-place state is adjusted in place, obtain the real-time frequency at a preset time interval as the first real-time frequency.
[0078] If the second real-time frequency does not exceed the dead zone, obtain the real-time frequency at a preset time interval as the first real-time frequency.
[0079] In a second aspect, the present embodiment provides a photovoltaic primary frequency modulation distribution device, and the photovoltaic primary frequency modulation distribution device is applied to a target photovoltaic power station including a plurality of photovoltaic arrays, as Figure 2 shown, including: A first acquisition module 501, configured to acquire the first real-time frequency and the line loss of the target photovoltaic power station.
[0080] A first total target power value determination module 502, configured to, when the first real-time frequency first exceeds the dead zone, determine a first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency.
[0081] The first power distribution module 503 is configured to distribute the first total target power value to each of the photovoltaic arrays according to the active power ratio.
[0082] The second acquisition module 504 is configured to acquire the second real-time frequency and the first outgoing active power of the target photovoltaic power station when entering the next frequency modulation period.
[0083] The adjustment-in-place state determination module 505 is configured to determine the adjustment-in-place state of the target photovoltaic power station based on the first outgoing active power and the first total target power value when the second real-time frequency still exceeds the dead zone.
[0084] The frequency difference calculation module 506 is configured to calculate the frequency difference between the second real-time frequency and the first real-time frequency when the adjustment-in-place state is not adjusted in place.
[0085] The first total target power value correction module 507 is configured to correct the line loss or the first total target power value based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value.
[0086] The second power distribution module 508 is configured to distribute the corrected total target power value to each of the photovoltaic arrays according to the active power ratio. It should be noted here that the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiments.
[0087] It should be noted that the above modules, as part of the device, can be implemented by software or by hardware, where the hardware environment includes a network environment.
[0088] In a third aspect, an embodiment of the present invention further provides a computer device, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus. The memory is used to store a computer program; the processor is configured to execute the method in any of the above embodiments by running the computer program stored on the memory.
[0089] Figure 3 It is a structural block diagram of an optional computer device according to an embodiment of the present application. As Figure 3 shown, it includes a processor 10, a communication interface 20, a memory 30, and a communication bus 40. Among them, the processor 10, the communication interface 20, and the memory 30 complete mutual communication through the communication bus 40. Among them, The memory 30 is used to store a computer program; The processor 10 is configured to implement the method in any of the above embodiments when executing the computer program stored on the memory 30.
[0090] Optionally, in this embodiment, the above communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0091] The communication interface is used for communication between the above computer device and other devices.
[0092] The memory may include a RAM, and may also include a non-volatile memory, for example, at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.
[0093] The above processor may be a general-purpose processor, which may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), etc.; it may also be a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0094] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and will not be elaborated herein.
[0095] Those of ordinary skill in the art can understand that Figure 3 the structure shown is only schematic, and the device for implementing the method of any one of the above embodiments may be a terminal device, which may be a smart phone (such as an Android phone, an IOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (MID), a PAD, or other terminal devices. Figure 3 It does not limit the structure of the above electronic device. For example, the terminal device may further include more Figure 3more or fewer components (such as network interfaces, display devices, etc.) shown in the figure, or having a configuration different from that Figure 3 shown in the figure.
[0096] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware of the terminal device through a program, and the program can be stored in a computer-readable storage medium. The storage medium may include: a flash drive, a ROM, a RAM, a magnetic disk, or an optical disc, etc.
[0097] Fourthly, the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program is configured to execute the method steps of any one of the above embodiments when running.
[0098] Optionally, in this embodiment, the above storage medium may be used to execute the program code of the method steps of the embodiments of the present application.
[0099] Optionally, in this embodiment, the above storage medium may be located on at least one of the multiple network devices in the network shown in the above embodiments.
[0100] Optionally, in this embodiment, the storage medium is configured to store the method for executing the above embodiments.
[0101] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and details are not described herein again.
[0102] Optionally, in this embodiment, the above storage medium may include but is not limited to: various media such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disc that can store program code.
[0103] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0104] If the integrated unit in the above embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in the above computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in the storage medium and includes several instructions for causing one or more computer devices (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method in the above embodiments.
[0105] In several embodiments provided by this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.
[0106] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
[0107] In addition, in each embodiment of this application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0108] In the above embodiments of this application, the descriptions of each embodiment have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0109] The above is only the preferred embodiment of this application. It should be noted that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and refinements can still be made, and these improvements and refinements should also be regarded as the protection scope of this application.
Claims
1. A photovoltaic primary frequency regulation distribution method, characterized in that The photovoltaic primary frequency regulation distribution method is applied to a target photovoltaic power station including multiple photovoltaic arrays, and the photovoltaic primary frequency regulation distribution method includes: Obtain the first real-time frequency of the target photovoltaic power station; If the first real-time frequency first exceeds the dead zone, determine the first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency; Allocate the first total target power value to each of the photovoltaic arrays according to the active power ratio; When entering the next frequency regulation period, obtain the second real-time frequency and the first outgoing line active power of the target photovoltaic power station; If the second real-time frequency still exceeds the dead zone, determine the adjustment in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value; If the adjustment in-place state is not adjusted in place, calculate the frequency difference between the second real-time frequency and the first real-time frequency; Based on the frequency difference between the second real-time frequency and the first real-time frequency, correct the line loss or the first total target power value to obtain a corrected total target power value; Allocate the corrected total target power value to each of the photovoltaic arrays according to the active power ratio.
2. The photovoltaic primary frequency regulation distribution method according to claim 1, wherein The correcting the line loss based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value includes: If the frequency difference is less than a preset frequency difference, correct the line loss to obtain a corrected line loss; Determine the corrected total target power value based on the corrected line loss and the first total target power value.
3. The photovoltaic primary frequency regulation allocation method according to claim 2, characterized in that The correcting the line loss to obtain a corrected line loss includes: Calculate the power difference between the first outgoing line active power and the first total target power value as the corrected line loss.
4. The photovoltaic primary frequency regulation distribution method according to claim 2, characterized in that The determining the corrected total target power value based on the corrected line loss and the first total target power value includes: Sum the corrected line loss and the first total target power value to obtain the corrected total target power value.
5. The photovoltaic primary frequency regulation distribution method according to claim 1, wherein The correcting the line loss based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value further includes: If the frequency difference is not less than the preset frequency difference, determine the corrected total target power value based on the second real-time frequency and the line loss.
6. The photovoltaic primary frequency regulation distribution method according to claim 1, wherein The allocating the first total target power value to each of the photovoltaic arrays according to the active power ratio includes: When the first real-time frequency first exceeds the dead zone, obtain the first array active power corresponding to each of the photovoltaic arrays; Calculate the first active power ratio corresponding to each of the photovoltaic arrays based on the first array active power of each; Determine the first power distribution coefficient corresponding to each of the photovoltaic arrays based on the first active power ratio; wherein, the first active power ratio is positively correlated with the first power distribution coefficient; Allocate the first total target power value to each of the photovoltaic arrays based on the first power distribution coefficient.
7. The photovoltaic primary frequency regulation distribution method according to claim 1, wherein The allocating the corrected total target power value to each of the photovoltaic arrays according to the active power ratio includes: When the second real-time frequency still exceeds the dead zone and the adjustment in-place state is not adjusted in place, obtain the second array active power corresponding to each of the photovoltaic arrays; Calculate the second active power ratio corresponding to each of the photovoltaic arrays based on the active power of each of the second phalanxes; Determine the second power distribution coefficient corresponding to each of the photovoltaic arrays based on the second active power ratio; wherein, the second active power ratio is positively correlated with the second power distribution coefficient; Allocate the corrected total target power value to each of the photovoltaic arrays based on the second power distribution coefficient.
8. A photovoltaic primary frequency regulation distribution device, characterized in that, The photovoltaic primary frequency regulation distribution device is applied to a target photovoltaic power station including a plurality of photovoltaic arrays, and the photovoltaic primary frequency regulation distribution device includes: A first acquisition module, configured to acquire the first real-time frequency and line loss of the target photovoltaic power station; A first total target power value determination module, configured to determine a first total target power value based on the line loss of the target photovoltaic power station and the first real-time frequency when the first real-time frequency first exceeds the dead zone; A first power distribution module, configured to allocate the first total target power value to each of the photovoltaic arrays according to the active power ratio; A second acquisition module, configured to acquire the second real-time frequency and the first outgoing line active power of the target photovoltaic power station when entering the next frequency regulation cycle; An adjustment-in-place state determination module, configured to determine the adjustment-in-place state of the target photovoltaic power station based on the first outgoing line active power and the first total target power value when the second real-time frequency still exceeds the dead zone; A frequency difference calculation module, configured to calculate the frequency difference of the second real-time frequency relative to the first real-time frequency when the adjustment-in-place state is not adjusted in place; A first total target power value correction module, configured to correct the line loss or the first total target power value based on the frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value; A second power distribution module, configured to allocate the corrected total target power value to each of the photovoltaic arrays according to the active power ratio.
9. A computer device, characterized in that, Including: A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the photovoltaic primary frequency regulation distribution method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the photovoltaic primary frequency regulation distribution method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Control system and implementation method for photovoltaic power station to participate in primary frequency modulation
CN108039740A
Method for photovoltaic power station to participate in regional power grid frequency adjustment
CN111555308A
Primary frequency modulation method and system for new energy station with energy management function
CN113824132A
Active power target distribution method and system suitable for mountain photovoltaic power station
CN115642651A
Frequency active support control method and device applied to photovoltaic station
CN116470531A