Photovoltaic primary frequency modulation allocation method, device, computer equipment and storage medium
By obtaining the real-time frequency and line loss of the photovoltaic site, allocating the primary target power value based on the active power ratio, and correcting the total target power value through the frequency difference when the frequency is abnormal, the problem of large frequency regulation deviation of traditional photovoltaic primary frequency modulation devices under complex weather conditions is solved, and more accurate photovoltaic array power distribution and grid frequency stability are achieved.
Patent Information
- Application Number
- CN202510687436.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2045-05-27
AI Technical Summary
Traditional photovoltaic primary frequency modulation devices cannot accurately collect the inverter status under complex weather conditions, resulting in large frequency modulation deviations and affecting the stability of the power grid.
By obtaining the real-time frequency and line loss of the photovoltaic field station, the initial target power value is allocated based on the active power ratio, and the total target power value is corrected by the frequency difference when the frequency is abnormal, so as to achieve accurate photovoltaic matrix power distribution.
The accuracy and response speed of photovoltaic primary frequency modulation are improved, the grid frequency stability is ensured, the actual power generation state of different photovoltaic arrays is adapted to the frequency of different photovoltaic arrays, and the frequency modulation deviation is reduced.
Smart Images

Figure CN120200278B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clean energy, and particularly relates to a photovoltaic primary frequency regulation allocation method, device, computer device, and storage medium. Background Art
[0002] Primary frequency regulation means that when the grid frequency deviates from the rated value, the wind farm actively adjusts the output power to suppress frequency fluctuations; with the continuous increase of photovoltaic power stations, the role of primary frequency regulation in grid stability becomes more and more important, and the response speed and accuracy of primary frequency regulation are also becoming more and more important.
[0003] However, traditional primary frequency regulation devices allocate commands to inverters in a capacity or margin manner; when the weather is bad or the lighting conditions are poor, the primary frequency regulation device cannot truly collect the inverter status, resulting in a large deviation in primary frequency regulation.
[0004] Therefore, there is an urgent need to propose a photovoltaic primary frequency regulation allocation method to solve the problem of large deviation in primary frequency regulation. Summary of the Invention
[0005] In view of this, the present invention provides a photovoltaic primary frequency regulation allocation 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 regulation allocation method, which is applied to a target photovoltaic power station including a plurality of photovoltaic arrays. The photovoltaic primary frequency regulation 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 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; 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 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 power; 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 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 power; 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, 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 distribute 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 between the second real-time frequency and the first real-time frequency when the adjustment in-place state is not 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 distribute 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. 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 allocation method, which is applied to a target photovoltaic power station including multiple photovoltaic arrays. The photovoltaic primary frequency regulation 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 regulation cycle, obtaining the second real-time frequency and the first outgoing 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 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 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 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 use in 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, other drawings can be obtained based on these drawings without creative efforts.
[0018] Figure 1 is a flowchart of the photovoltaic primary frequency regulation allocation method according to an embodiment of the present invention;
[0019] Figure 2 is a structural block diagram of the photovoltaic primary frequency regulation allocation device according to an embodiment of the present invention;
[0020] Figure 3 is a hardware structure diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0021] 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.
[0022] According to an embodiment of the present invention, an embodiment of a photovoltaic primary frequency regulation distribution 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.
[0023] Primary frequency regulation means 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.
[0024] Traditional primary frequency regulation devices use the capacity or margin method to allocate instructions to inverters; 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 generated power is roughly the same. Using the same capacity or the same margin method to allocate instructions to inverters to achieve frequency regulation control 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, resulting in 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 bad, the power generation states of each photovoltaic array are different, affecting the margin calculation and thus affecting the accuracy of primary frequency regulation.
[0025] Therefore, there is a problem of large frequency regulation deviation in the primary frequency regulation method in the related art.
[0026] To solve the above problems, in this embodiment, a photovoltaic primary frequency regulation distribution method is provided. The photovoltaic primary frequency regulation distribution 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 distribution method according to an embodiment of the present invention. As Figure 1 shown, the process includes the following steps:
[0027] Step S101, obtain the first real-time frequency of the target photovoltaic power station.
[0028] 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.
[0029] 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.
[0030] In one embodiment, the dead zone can be [49.95Hz, 50.05Hz].
[0031] 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.
[0032] 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;
[0033] 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.
[0034] 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.
[0035] Exemplarily, the line loss can be obtained by taking the difference between the active power output of the outgoing line of the target photovoltaic power station and the sum of the active powers of each photovoltaic array.
[0036] Specifically, obtain the sum of the active power output of the outgoing line and the active powers of each photovoltaic array corresponding to the time stamp of the first real-time frequency, calculate the difference between the active power output of the outgoing line and the sum of the active powers of the photovoltaic arrays to obtain the line loss.
[0037] Step S103, allocate the first total target power value to each of the photovoltaic arrays according to the active power ratio.
[0038] 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 margins are inaccurate, resulting in a large frequency modulation deviation.
[0039] 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.
[0040] Exemplarily, when allocating 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.
[0041] By using the method of allocating 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 status or power generation capacity of each photovoltaic array affected by the installation environment, meteorological conditions, etc. alone or jointly. Furthermore, a larger target power value can be assigned to the photovoltaic array with a better power generation status or stronger power generation capacity through the active power ratio, and a smaller target power value can be assigned to the photovoltaic array with a relatively poor power generation status or weaker power generation capacity, so as to adaptively control each photovoltaic array during frequency regulation and make the frequency regulation more accurate.
[0042] 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.
[0043] After collecting the second real-time frequency, compare the second real-time frequency with the dead zone.
[0044] If the second real-time frequency does not exceed the dead zone, only monitor the frequency and do not perform other operations until the frequency exceeds the dead zone, and at this time, process it according to the first time of exceeding.
[0045] 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.
[0046] If the second real-time frequency still exceeds the dead zone, enter step S105.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] Step S106, calculate the frequency difference of the second real-time frequency relative to the first real-time frequency.
[0052] After obtaining the frequency difference of the second real-time frequency relative to the first real-time frequency, proceed to step S107.
[0053] Step S107, 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, and obtain a corrected total target power value.
[0054] When the adjustment in place state is not in place, there may be a problem that the target photovoltaic power station fails to adjust properly due to inaccurate line loss when applying the line loss determined when the first real-time frequency first exits the dead zone to the current frequency modulation cycle, or a problem that the first total target power value is determined inaccurately resulting in improper frequency modulation; to solve this problem, when the adjustment in place state is not in place, 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, and obtain a corrected total target power value.
[0055] 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; determine the corrected total target power value based on the corrected line loss and the first total target power value.
[0056] In one embodiment, after obtaining the frequency difference, 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.
[0057] The above implementation 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.
[0058] Step S108, distribute the corrected total target power value to each of the photovoltaic arrays according to the active power ratio.
[0059] After obtaining the corrected target power value, distribute the corrected total target power value to each of the photovoltaic arrays according to the active power ratio, so as to perform secondary distribution on each photovoltaic array according to the corrected target power value.
[0060] The method of 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 state where the adjustment is in place, 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.
[0061] The photovoltaic primary frequency modulation allocation method of the present invention is applied to a target photovoltaic power station including multiple 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 that the adjustment 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, 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 that the adjustment 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 modulation control according to the corrected total target power value can timely and accurately adjust the power when the frequency is abnormal, making the frequency regulation more accurate.
[0062] 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.
[0063] In this embodiment, when the frequency difference is less than the preset frequency difference, the line loss is corrected to obtain the corrected line loss.
[0064] As a possible implementation, the line loss is corrected considering the power difference between the active power of the first outgoing line and the first total target power value.
[0065] In one embodiment, when correcting the line loss 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.
[0066] In one embodiment, when correcting the line loss 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.
[0067] As a possible implementation, the line loss is corrected 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.
[0068] Exemplarily, after obtaining the corrected line loss, the corrected line loss can be directly summed with the first total target power value to obtain the 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.
[0069] 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, the determination of 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 correction duration of the total target power value, the first total target power value is corrected multiple times based on the corrected line loss; during the process of each round of correction, a power correction coefficient is determined based on the frequency difference; the corrected line loss is multiplied by the power correction coefficient and then summed with the first total target power value to obtain the corrected total target power value; the corrected total target power value is distributed to each of the photovoltaic arrays according to the active power ratio until the frequency adjustment is in place or the preset correction duration of the total target power value is reached.
[0070] As an exemplary embodiment, the correction of 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, the corrected total target power value is determined based on the second real-time frequency and the line loss.
[0071] 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.
[0072] 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.
[0073] As an exemplary embodiment, the distribution of 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, the first array active power corresponding to each of the photovoltaic arrays is obtained; the first active power ratio corresponding to each of the photovoltaic arrays is calculated based on the first array active powers; the first power distribution coefficient corresponding to each of the photovoltaic arrays is determined based on the first active power ratio; wherein, the first active power ratio is positively correlated with the first power distribution coefficient; the first total target power value is distributed to each of the photovoltaic arrays based on the first power distribution coefficient.
[0074] 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.
[0075] 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.
[0076] As an exemplary embodiment, the step of 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 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 power of each; determining the second power distribution coefficient corresponding to each of the photovoltaic arrays based on the second active power ratio; where the second active power ratio is positively correlated with the second power distribution coefficient; and distributing the corrected total target power value to each of the photovoltaic arrays based on the second power distribution coefficient.
[0077] 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 distributed to each of the photovoltaic arrays according to the power distribution coefficient.
[0078] 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.
[0079] As a specific embodiment of the present invention, this embodiment provides a photovoltaic primary frequency modulation distribution method, and the photovoltaic primary frequency modulation distribution method includes:
[0080] Obtaining the first real-time frequency of the target photovoltaic power station;
[0081] 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;
[0082] 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 power of each; determining the first power distribution coefficient corresponding to each of the photovoltaic arrays based on the first active power ratio; where 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.
[0083] 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;
[0084] 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 active power and the first total target power value;
[0085] If the adjustment in-place state is not in place, calculate the frequency difference between the second real-time frequency and the first real-time frequency;
[0086] If the frequency difference is less than the 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 adjustment in-place state is not in place, obtain the second array active power corresponding to each photovoltaic array; calculate the second active power ratio corresponding to each photovoltaic array based on the second array active power of each; determine the second power distribution coefficient corresponding to each photovoltaic array 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 photovoltaic array based on the second power distribution coefficient.
[0087] 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 adjustment in-place state is not in place, obtain the second array active power corresponding to each photovoltaic array; calculate the second active power ratio corresponding to each photovoltaic array based on the second array active power of each; determine the second power distribution coefficient corresponding to each photovoltaic array 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 photovoltaic array based on the second power distribution coefficient.
[0088] If the adjustment in-place state is in place, obtain the real-time frequency at a preset time interval as the first real-time frequency.
[0089] 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.
[0090] 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, and includes:
[0091] A first acquisition module 501, configured to acquire the first real-time frequency and the line loss of the target photovoltaic power station.
[0092] The first total target power value determination module 502 is 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.
[0093] 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.
[0094] The second acquisition module 504 is 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 modulation period.
[0095] 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 line active power and the first total target power value when the second real-time frequency still exceeds the dead zone.
[0096] 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 in place.
[0097] 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.
[0098] 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.
[0099] 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.
[0100] It should be noted that the above modules, as part of the device, can be implemented by software or hardware, where the hardware environment includes a network environment.
[0101] 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. The processor, the communication interface, and the memory complete communication with each other through the communication bus. The memory is used to store a computer program; the processor is configured to execute the method in any one of the above embodiments by running the computer program stored on the memory.
[0102] Figure 3 is a structural block diagram of an optional computer device according to an embodiment of the present application, as Figure 3As shown, it includes a processor 10, a communication interface 20, a memory 30 and a communication bus 40, wherein the processor 10, the communication interface 20 and the memory 30 communicate with each other through the communication bus 40, wherein,
[0103] Memory 30, for storing computer programs;
[0104] The processor 10 is configured to implement the method of any of the above embodiments when executing the computer program stored in the memory 30 .
[0105] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0106] The communication interface is used for communication between the above-mentioned computer device and other devices.
[0107] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the aforementioned processor.
[0108] The above-mentioned processor can be a general-purpose processor, which can include but is not limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0109] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0110] It can be understood by those skilled in the art that Figure 3The structure shown is only schematic. 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 personal digital assistant, and mobile Internet devices (MID), a PAD, and 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 or fewer components (such as a network interface, a display device, etc.) than those shown in Figure 3 or have a different configuration from that shown in Figure 3 shown.
[0111] 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.
[0112] In a fourth aspect, 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 embodiments when running.
[0113] 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.
[0114] 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.
[0115] Optionally, in this embodiment, the storage medium is configured to store the method for executing the above embodiments.
[0116] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and details are not described herein again.
[0117] Optionally, in this embodiment, the above storage medium may include, but is not limited to: a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disc, and other media that can store program code.
[0118] The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages or disadvantages of the embodiments.
[0119] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable one or more computer devices (such as personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods in the above embodiments.
[0120] 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 only 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 couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of units or modules can be in electrical or other forms.
[0121] The units described as separate components may or may not be physically separated. The components shown 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.
[0122] In addition, the functional units in each embodiment of this application 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 integrated units can be implemented in the form of hardware or in the form of software functional units.
[0123] 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.
[0124] The above are only the preferred embodiments 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 modifications can be made, and these improvements and modifications should also be regarded as the protection scope of this application.
Claims
1. A photovoltaic primary frequency modulation distribution method, characterized in that: The photovoltaic primary frequency modulation allocation method is applied to a target photovoltaic station including multiple photovoltaic arrays, and the photovoltaic primary frequency modulation allocation method includes: Obtain the first real-time frequency of the target photovoltaic station; If the first real-time frequency exceeds the dead zone for the first time, determining a first total target power value based on the line loss of the target photovoltaic 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 active power of the target photovoltaic station; If the second real-time frequency still exceeds the dead zone, determining the regulation status of the target photovoltaic station based on the first outgoing active power and the first total target power value; If the adjustment is in place, calculating a 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 a frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value; The modified total target power value is distributed to each photovoltaic array according to the active power ratio.
2. The photovoltaic primary frequency modulation distribution method according to claim 1, characterized in that: 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, the line loss is corrected to obtain a corrected line loss; The corrected total target power value is determined based on the corrected line loss and the first total target power value.
3. The photovoltaic primary frequency modulation distribution method according to claim 2, characterized in that: The correcting the line loss to obtain the corrected line loss includes: A power difference between the first outgoing line active power and the first total target power value is calculated as the corrected line loss.
4. The photovoltaic primary frequency modulation 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: The corrected line loss and the first total target power value are summed to obtain the corrected total target power value.
5. The photovoltaic primary frequency modulation distribution method according to claim 1, characterized in that: 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 a preset frequency difference, the modified total target power value is determined based on the second real-time frequency and the line loss.
6. The photovoltaic primary frequency modulation distribution method according to claim 1, characterized in that: The allocating the first total target power value to each photovoltaic array according to the active power ratio includes: When the first real-time frequency exceeds the dead zone for the first time, obtaining the first array active power corresponding to each of the photovoltaic arrays; Calculating a first active power ratio corresponding to each of the photovoltaic arrays based on the active power of each of the first arrays; Determining a first power allocation 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 allocation coefficient; The first total target power value is distributed to each of the photovoltaic arrays based on the first power distribution coefficient.
7. The photovoltaic primary frequency modulation distribution method according to claim 1, characterized in that: The step of distributing the modified total target power value to each photovoltaic array according to the active power ratio includes: When the second real-time frequency still exceeds the dead zone and the adjustment status is not adjusted, obtaining the second array active power corresponding to each photovoltaic array; Calculating a second active power ratio corresponding to each of the photovoltaic arrays based on the active power of each of the second arrays; Determining a second power allocation coefficient corresponding to each photovoltaic array based on the second active power ratio; wherein the second active power ratio is positively correlated with the second power allocation coefficient; The modified total target power value is distributed to each of the photovoltaic arrays based on the second power distribution coefficient.
8. A photovoltaic primary frequency modulation distribution device, characterized in that: The photovoltaic primary frequency modulation distribution device is applied to a target photovoltaic station including a plurality of photovoltaic arrays, and the photovoltaic primary frequency modulation distribution device includes: A first acquisition module is used to obtain a first real-time frequency and line loss of a target photovoltaic station; a first total target power value determining module, configured to determine a first total target power value based on the line loss of the target photovoltaic station and the first real-time frequency when the first real-time frequency exceeds the dead zone for the first time; a first power distribution module, configured to distribute the first total target power value to each of the photovoltaic arrays according to an active power ratio; A second acquisition module is used to acquire the second real-time frequency and the first outgoing active power of the target photovoltaic station when entering the next frequency modulation cycle; an adjustment-in-place state determining module, configured to determine the adjustment-in-place state of the target photovoltaic 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; A frequency difference calculation module, configured to calculate a frequency difference between the second real-time frequency and the first real-time frequency when the adjustment is in place state. a first total target power value correction module, configured to correct the line loss or the first total target power value based on a frequency difference between the second real-time frequency and the first real-time frequency to obtain a corrected total target power value; The second power distribution module is configured to distribute the modified total target power value to each photovoltaic array according to an active power ratio.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the photovoltaic primary frequency modulation distribution method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the photovoltaic primary frequency modulation distribution method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method for photovoltaic power station to participate in regional power grid frequency adjustment
CN111555308A
Frequency active support control method and device applied to photovoltaic station
CN116470531A