Method and device for regulating and controlling impedance coefficient of optical storage power station and medium

By selecting the main control logic and adjusting the impedance coefficient based on historical control information in the photovoltaic-storage power station, the problem of low voltage control accuracy caused by fixed impedance coefficient is solved, achieving flexible and efficient voltage regulation and ensuring voltage stability and reliability.

CN121238579APending Publication Date: 2025-12-30SHANGHAI CHINT AUTOMATION SOFTWARE SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511424830.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-30
Publication Date
2025-12-30

AI Technical Summary

Technical Problem

In existing photovoltaic-storage power station voltage regulation methods, the use of a fixed impedance coefficient leads to low reactive power regulation accuracy, affecting the voltage regulation effect, especially under different time periods and scenarios.

Method used

When the photovoltaic-storage power station meets the voltage regulation conditions, the regulation capability information of each candidate regulation logic is determined based on historical regulation information. The main regulation logic is selected and the first impedance coefficient is determined based on its historical impedance coefficient set. If the voltage does not reach the target voltage, it is adjusted to the second impedance coefficient through a correction formula to adapt to the actual power transmission scenario and time period.

Benefits of technology

It improves the accuracy and efficiency of voltage regulation, ensures the stability and reliability of power voltage, and adapts to the voltage regulation needs in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121238579A_ABST
    Figure CN121238579A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for regulating and controlling an impedance coefficient of an optical storage power station and a medium. According to the method, when it is detected that the optical storage power station meets a voltage regulation and control condition, regulation and control capability information of each candidate regulation and control logic is determined according to historical regulation and control information, and a main regulation and control logic is determined from the candidate regulation and control logic based on the regulation and control capability information; determining a first impedance coefficient according to a historical impedance coefficient set corresponding to the main regulation and control logic; and if it is determined that the regulated voltage does not reach the target voltage, adjusting the first impedance coefficient according to a correction formula to obtain a second impedance coefficient. By means of the method, the main regulation and control logic with the strongest regulation and control capacity in the current power transmission scene and the voltage regulation and control time period can be determined, the effectiveness of the first impedance coefficient is improved based on the impedance coefficient empirical value set corresponding to the main regulation and control logic, and the first impedance coefficient is adjusted according to the correction formula. And the adaptability and accuracy of the impedance coefficient are further improved, so that the regulation and control effect of voltage regulation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power technology, and in particular to a method, device and medium for controlling the impedance coefficient of a photovoltaic-storage power station. Background Technology

[0002] With the rapid development of renewable energy, photovoltaic and energy storage power stations, as an important energy supply system, are being used more and more widely in the power grid.

[0003] In existing methods, when using the impedance coefficient of a photovoltaic-storage power station for voltage regulation, a preset fixed impedance coefficient is typically used to regulate reactive power. However, in actual regulation, the impedance coefficient used for voltage regulation varies at different times and under different scenarios. Therefore, using a fixed impedance coefficient will affect the accuracy of reactive power regulation, and thus affect the voltage regulation effect. Summary of the Invention

[0004] This invention provides a method, device, and medium for regulating the impedance coefficient of a photovoltaic-storage power station, enabling flexible and real-time determination of the impedance coefficient, improving the accuracy, effectiveness, and adaptability of the impedance coefficient, thereby enhancing the voltage regulation effect of the photovoltaic-storage power station.

[0005] In a first aspect, embodiments of the present invention provide a method for adjusting the impedance coefficient of a photovoltaic-storage power station, the method comprising:

[0006] When the photovoltaic-storage power station is detected to meet the voltage regulation conditions, the regulation capability information of each candidate regulation logic is determined based on historical regulation information, and the main regulation logic is determined from the candidate regulation logics based on the regulation capability information.

[0007] Based on the historical impedance coefficient set corresponding to the main control logic, a first impedance coefficient is determined, and the first impedance coefficient is used for voltage regulation of the photovoltaic-storage power station.

[0008] If it is determined that the adjusted voltage does not reach the target voltage, the first impedance coefficient is adjusted according to the correction formula to obtain the second impedance coefficient. The second impedance coefficient is the impedance coefficient corresponding to the voltage of the photovoltaic energy storage station when it meets the target voltage. The correction formula is related to the adjusted voltage, the target voltage, and the impedance coefficient.

[0009] In a second aspect, embodiments of the present invention provide a control device, the device comprising:

[0010] The logic determination module is used to determine the control capability information of each candidate control logic based on historical control information when the photovoltaic-storage power station meets the voltage control conditions, and to determine the main control logic from the candidate control logic based on the control capability information.

[0011] The first execution module is used to determine a first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic. The first impedance coefficient is used for voltage regulation of the photovoltaic-storage power station.

[0012] The second execution module is used to adjust the first impedance coefficient according to the correction formula to obtain a second impedance coefficient if it is determined that the voltage after regulation has not reached the target voltage. The second impedance coefficient is the impedance coefficient corresponding to the voltage of the photovoltaic energy storage station when it meets the target voltage. The correction formula is related to the voltage after regulation, the target voltage and the impedance coefficient.

[0013] Thirdly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute and implement the impedance coefficient control method of the photovoltaic-storage power station according to any embodiment of the present invention.

[0014] The technical solution of this invention involves determining the control capability information of each candidate control logic based on historical control information when the photovoltaic-storage power station meets the voltage control conditions, and determining the main control logic from the candidate control logics based on the control capability information; determining a first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic, and using the first impedance coefficient for voltage control of the photovoltaic-storage power station; if it is determined that the controlled voltage does not reach the target voltage, adjusting the first impedance coefficient according to the correction formula to obtain a second impedance coefficient, which is the impedance coefficient corresponding to the voltage of the photovoltaic-storage power station when it meets the target voltage, and the correction formula is related to the controlled voltage, the target voltage, and the impedance coefficient. Using this method, when the photovoltaic-storage power station meets the voltage regulation conditions, the main regulation logic with the strongest regulation capability under the current transmission scenario and voltage regulation time period is determined from various candidate regulation logics based on historical regulation information. Based on the empirical value set of impedance coefficients corresponding to the main regulation logic, a more accurate and effective first impedance coefficient is determined, thereby improving the efficiency of voltage regulation. If the regulated voltage does not reach the target voltage, the first impedance coefficient is adjusted according to the correction formula to obtain the second impedance coefficient. This allows for flexible and efficient determination of impedance coefficients that are more suitable for the actual transmission scenario and time period when voltage regulation is carried out, further improving the accuracy, efficiency and regulation effect of voltage regulation, thereby ensuring the stability and reliability of the power supply voltage.

[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 A flowchart illustrating a method for controlling the impedance coefficient of a photovoltaic energy storage power station provided in an embodiment of the present invention;

[0018] Figure 2 This is a schematic diagram illustrating the principle of voltage regulation in a method for regulating the impedance coefficient of a photovoltaic energy storage power station provided in an embodiment of the present invention.

[0019] Figure 3 This is a schematic diagram of the structure of a control device provided in an embodiment of the present invention;

[0020] Figure 4 A schematic diagram of an electronic device that can be used to implement embodiments of the present invention is shown. Detailed Implementation

[0021] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0023] It is important to note that the power grid is a crucial component of the power system. Its primary function is to transmit electrical energy from power plants through high-voltage substations, cascading down through voltage levels (e.g., 110 kV, 220 kV, 500 V, etc.), and finally converting it into lower voltages (e.g., 380 V, 220 V, etc.) suitable for user consumption. To ensure voltage stability during grid operation, the grid connection voltage of each photovoltaic-storage power station connected to each level should meet the voltage required for transmitting energy to the next level. For example, the grid connection voltage of a 110 kV photovoltaic-storage power station should be close to 110 kV. Voltage that is too low or too high will increase energy losses when transmitting energy to the next level of photovoltaic-storage power station, reducing grid efficiency and security, and affecting user voltage.

[0024] To achieve automated voltage regulation of photovoltaic-storage power stations and ensure user power safety, existing methods utilize the impedance coefficient of the power station to regulate its reactive power. However, the impedance coefficient is typically preset to a fixed value. In actual regulation, the impedance coefficient used for voltage regulation varies at different times and under different transmission scenarios. Therefore, using a fixed impedance coefficient will affect the accuracy of reactive power regulation, thereby affecting the voltage regulation effect and posing potential risks to power safety.

[0025] Based on this, embodiments of the present invention provide a method for adjusting the impedance coefficient of a photovoltaic energy storage power station. Figure 1 This is a flowchart of a method for controlling the impedance coefficient of a photovoltaic-storage power station according to an embodiment of the present invention. The embodiment of the present invention is applicable to scenarios where the impedance coefficient of a photovoltaic-storage power station can be flexibly determined. The method can be executed by a control device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, preferably a mobile terminal, desktop computer, laptop computer, or server.

[0026] like Figure 1 As shown, the method for adjusting the impedance coefficient of a photovoltaic-storage power station provided in this embodiment of the invention may specifically include:

[0027] S101. When the photovoltaic-storage power station is detected to meet the voltage regulation conditions, the regulation capability information of each candidate regulation logic is determined based on historical regulation information, and the main regulation logic is determined from the candidate regulation logics based on the regulation capability information.

[0028] Historical control information can be understood as the information generated during the execution of each candidate control logic in all historical executions of voltage regulation of the photovoltaic-storage power station from the start of the power station's deployment to the current iteration. For example, historical control information may include the total number of historical executions corresponding to each candidate control logic, as well as the historical execution iteration speed and corresponding historical execution accuracy for each historical execution. Optionally, the historical execution iteration speed can be determined based on the number of logic iterations and / or logic execution time of the candidate control logic. Historical execution accuracy can be determined based on the voltage data and / or reactive power feedback from the grid connection point of the photovoltaic-storage power station during logic execution. Control capability information can be understood as information reflecting the impedance coefficient control capability of the candidate control logic, and this control capability information can be in numerical form.

[0029] Candidate control logic can be considered as pre-set impedance coefficient control logics as candidates. In an optional embodiment, candidate control logic may include all-time control logic and phased control logic. All-time control logic can be understood as a unified impedance coefficient control logic used for each reactive power output condition of the photovoltaic-storage power station. Phased control logic can be understood as impedance coefficient control logic set for different current reactive power output conditions (phases) of the photovoltaic-storage power station. Main control logic can be considered as the control logic selected and executed for controlling the impedance coefficient.

[0030] In this embodiment, it can be determined whether the photovoltaic-storage power station meets the voltage regulation conditions by detecting and feeding back the current real-time voltage output from the grid connection point of the photovoltaic-storage power station. For example, the voltage regulation condition can be: the current real-time voltage exceeds a preset voltage threshold range, such as being greater than a maximum voltage threshold or less than a minimum voltage threshold. The voltage threshold range can be set based on the reference voltage required for power transmission at the grid connection point of the photovoltaic-storage power station. For example, the voltage regulation condition can also be: the difference between the current voltage and the corresponding reference voltage is greater than a preset difference threshold.

[0031] In this embodiment, the method for determining the control capability information of each candidate control logic based on historical control information can be as follows: obtain the historical execution iteration speed of each historical execution corresponding to the candidate control logic from the historical control information, and use the mean or variance of each historical execution iteration speed as the control capability information of the candidate control logic. Alternatively, the method for determining the control capability information of each candidate control logic based on historical control information can be as follows: obtain the historical execution precision of each historical execution corresponding to the candidate control logic from the historical control information, and use the mean or variance of each historical execution precision as the control capability information of the candidate control logic.

[0032] Another way to determine the control capability information of each candidate control logic based on historical control information is as follows: obtain the historical execution iteration speed and historical execution accuracy of each historical execution corresponding to the candidate control logic from the historical control information, normalize each historical execution iteration speed and each historical execution accuracy, and perform a weighted summation on the normalization results. The summation result is determined as the control capability information of the candidate control logic. Another way to determine the control capability information of each candidate control logic based on historical control information is as follows: obtain the total number of historical executions, the historical execution iteration speed and historical execution accuracy of each historical execution corresponding to the candidate control logic from the historical control information, and determine the control capability information of the candidate control logic based on the proportion of the number of historical executions in which both the historical execution iteration speed and historical execution accuracy meet the corresponding conditions to the total number of historical executions.

[0033] In an optional embodiment, a preset number of historical execution iteration speeds and / or historical execution accuracies corresponding to candidate control logics can also be obtained from historical control information based on a preset time range.

[0034] In this embodiment, the method for determining the main control logic from the candidate control logics based on the control capability information can be as follows: determine the impedance coefficient control capability of each candidate control logic based on the control capability information, and determine the candidate control logic with the strongest impedance coefficient control capability as the main control logic.

[0035] S102. Determine the first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic. The first impedance coefficient is used for voltage regulation of the photovoltaic-storage power station.

[0036] The historical impedance coefficient set can be understood as the set of historical impedance coefficients that meet preset conditions generated each time the candidate control logic is executed from the start of the photovoltaic-storage power station deployment to the current iteration. The candidate control logic corresponds one-to-one with the historical impedance coefficient set. The first impedance coefficient can be understood as the impedance coefficient selected from the corresponding historical impedance coefficient set for regulating the voltage of the photovoltaic-storage power station.

[0037] It should be noted that the voltage change at the grid connection point of the photovoltaic-storage power station is closely related to the reactive power and dynamically changing impedance coefficient at the grid connection point. For example, a typical calculation logic is as follows: when the photovoltaic-storage power station supplies active power to the grid... and reactive power At that time, the voltage change at the grid connection point of the photovoltaic-storage power station can be approximately expressed as:

[0038] ;

[0039] in, This represents the voltage change at the grid connection point of the photovoltaic-storage power station (unit: kV). The equivalent resistance as seen from the grid connection point of the photovoltaic-storage power station; The reactance seen from the grid connection point of the photovoltaic-storage power station; The reference voltage (unit: kV) is the voltage at the grid connection point of the photovoltaic-storage power station.

[0040] As can be seen from the above expression, reactive power The weighting of the impact of the change in grid connection voltage of the photovoltaic-storage power station is determined by the reactance. Dominantly, in 35kV and above high-voltage power grids, reactance value Much greater than the resistance value Increase sensory reactive power ( It can raise the grid connection point voltage; absorb capacitive reactive power ( This can reduce the grid connection voltage. Therefore, if the voltage level of the photovoltaic-storage power station remains constant, the voltage change at the grid connection point of the power station can be further simplified as follows:

[0041] ;

[0042] in, The dynamic impedance coefficient of the photovoltaic-storage power station; The reactive power change at the grid connection point of the photovoltaic-storage power station (unit: Mvar).

[0043] As can be seen from the above expression, the impedance coefficient changes dynamically. Therefore, in reactive power voltage regulation and control, using a fixed impedance coefficient for voltage regulation will affect the accuracy of reactive power voltage regulation, and thus affect the voltage control effect.

[0044] Therefore, in this embodiment, the impedance coefficient can be flexibly determined based on the historical impedance coefficient set corresponding to the main control logic, so that the determined impedance coefficient can better match the actual power transmission scenario and voltage regulation period, thereby improving the accuracy and effect of voltage regulation.

[0045] In this embodiment, the method for determining the first impedance coefficient based on the set of historical impedance coefficients corresponding to the main control logic can be as follows: obtain each historical impedance coefficient included in the set of historical impedance coefficients corresponding to the main control logic, and determine the average, mode, or variance of each historical impedance coefficient as the first impedance coefficient.

[0046] It should be noted that the power transmission process of a photovoltaic-storage power station relies on some transmission-related equipment, and the reactive power consumed by this equipment will affect the voltage at the grid connection point of the photovoltaic-storage power station. Therefore, in one optional embodiment, after determining the first impedance coefficient, the reactive power of the photovoltaic-storage power station can be adjusted based on the first impedance coefficient, combined with the current voltage of the photovoltaic-storage power station and the expected target voltage. A corresponding instruction is generated based on the adjusted reactive power, and this instruction is used to control the transmission-related equipment at the grid connection point of the photovoltaic-storage power station, so that the grid connection point of the photovoltaic-storage power station can output a current voltage that matches the target voltage as closely as possible.

[0047] S103. If it is determined that the voltage after regulation has not reached the target voltage, the first impedance coefficient is adjusted according to the correction formula to obtain the second impedance coefficient. The second impedance coefficient is the impedance coefficient corresponding to the voltage of the photovoltaic-storage power station when it meets the target voltage. The correction formula is related to the voltage after regulation, the target voltage and the impedance coefficient.

[0048] The correction formula can be understood as a formula used to adjust the first impedance coefficient when the deviation is large. This makes the first impedance coefficient more compatible with the actual power transmission scenario and voltage regulation period. Therefore, based on the adjusted first impedance coefficient, the voltage of the photovoltaic-storage power station can be controlled to meet (reach or approach) the target voltage. The first impedance coefficient corresponding to the photovoltaic-storage power station meeting the target voltage can be considered as the second impedance coefficient. The target voltage can be understood as the voltage that meets the power transmission requirements of the grid connection point of the corresponding level of photovoltaic-storage power station.

[0049] In this embodiment, the method for determining whether the voltage after adjustment based on the first impedance coefficient has not reached the target voltage can be as follows: determine the voltage difference between the adjusted voltage and the target voltage, and determine the voltage ratio between the voltage difference and the target voltage; if the voltage ratio is within a preset deviation range, it can be considered that the voltage after adjustment based on the first impedance coefficient has reached the target voltage; if the voltage ratio is not within the preset deviation range, it can be considered that the voltage after adjustment based on the first impedance coefficient has not reached the target voltage.

[0050] For example, the preset deviation range can be [-S, S], where S is a preset value, such as S=0.002.

[0051] In this embodiment, if it is determined that the voltage adjusted based on the first impedance coefficient reaches the target voltage, the first impedance coefficient can be considered accurate, and the current first impedance coefficient can be kept unchanged. If it is determined that the voltage adjusted based on the first impedance coefficient does not reach the target voltage, it indicates that the current first impedance coefficient has a large deviation, and the first impedance coefficient can be adjusted according to the correction formula.

[0052] In an alternative embodiment, the first impedance coefficient can be adjusted according to the correction formula by determining the new first impedance coefficient as the sum of half of the voltage ratio and the current first impedance coefficient.

[0053] The impedance coefficient control method for a photovoltaic-storage power station provided in this invention involves determining the control capability information of each candidate control logic based on historical control information when the photovoltaic-storage power station meets the voltage control conditions, and determining the main control logic from the candidate control logics based on the control capability information; determining a first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic, which is used for voltage control of the photovoltaic-storage power station; if it is determined that the controlled voltage does not reach the target voltage, adjusting the first impedance coefficient according to a correction formula to obtain a second impedance coefficient, which is the impedance coefficient corresponding to when the voltage of the photovoltaic-storage power station meets the target voltage, and the correction formula is related to the controlled voltage, the target voltage, and the impedance coefficient. Using this method, when the photovoltaic-storage power station meets the voltage regulation conditions, the main regulation logic with the strongest regulation capability under the current transmission scenario and voltage regulation time period is determined from various candidate regulation logics based on historical regulation information. Based on the empirical value set of impedance coefficients corresponding to the main regulation logic, a more accurate and effective first impedance coefficient is determined, thereby improving the efficiency of voltage regulation. If the regulated voltage does not reach the target voltage, the first impedance coefficient is adjusted according to the correction formula to obtain the second impedance coefficient. This allows for flexible and efficient determination of impedance coefficients that are more suitable for the actual transmission scenario and time period when voltage regulation is carried out, further improving the accuracy, efficiency and regulation effect of voltage regulation, thereby ensuring the stability and reliability of the power supply voltage.

[0054] As a first optional embodiment of the present invention, based on the above embodiments, the historical control information includes the total number of historical executions corresponding to each candidate control logic, the historical execution iteration speed corresponding to each historical execution, and the corresponding historical execution precision. The candidate control logic, the total number of historical executions, the historical execution iteration speed of each historical execution, and the historical execution precision of each historical execution are in one-to-one correspondence.

[0055] The total number of historical executions can be understood as the total number of times the candidate control logic has been executed. It should be noted that, in one optional embodiment, to ensure the accuracy and reliability of historical control information, the main control logic can be run in a closed-loop state, while the other control logics among the candidate control logics (excluding the main control logic) can be run in an open-loop state. In this case, the total number of historical executions for each candidate control logic is the same.

[0056] Historical execution iteration speed can be considered as the speed at which each historical execution proceeds from the start of candidate control logic to its completion, and can be measured by logic execution time and / or the number of logic iterations. For example, the number of logic iterations can be determined based on the number of loops used to adjust the impedance coefficient using the correction formula. Historical execution accuracy can be understood as the accuracy of the execution result after the candidate control logic has finished executing, and can be determined based on the accuracy of the obtained second impedance coefficient.

[0057] Accordingly, the process of determining the control capability information of each candidate control logic based on historical control information, and determining the main control logic from the candidate control logics based on the control capability information, can be specified as the following steps:

[0058] a1) For each candidate control logic, obtain the corresponding total number of historical executions, the corresponding historical execution iteration speed and the corresponding historical execution accuracy from the historical control information.

[0059] It is understood that for each candidate control logic, there is corresponding stored control information such as the total number of historical executions, the historical execution iteration speed and historical execution accuracy for each historical execution in the historical control information. Therefore, in this embodiment, the above-mentioned control information of each candidate control logic can be obtained from the historical control information.

[0060] b1) Based on the corresponding total number of historical executions, the corresponding historical execution iteration speed under each historical execution, and the corresponding historical execution precision, determine the number of historical executions in which the candidate control logic satisfies the requirement that the historical execution iteration speed is greater than the speed threshold and the historical execution precision is greater than the precision threshold; determine the ratio of the number of historical executions to the total number of historical executions as the control capability information of the candidate control logic.

[0061] Among them, the number of historical executions can be understood as the number of times that the execution results of the candidate control logic in the history of execution were of high quality.

[0062] In this embodiment, a preset speed threshold and a speed threshold are used to filter the number of historical executions of candidate control logics that have fast historical execution iteration speed and high historical execution accuracy during the historical execution process. By determining the ratio of the number of historical executions to the total number of historical executions, the probability of obtaining high-quality execution results in the total number of historical executions is measured. This ratio is determined as the control capability information of the corresponding candidate control logic, which accurately reflects the effectiveness, reliability and stability of the candidate control logic in controlling the impedance coefficient of the corresponding photovoltaic-storage power station.

[0063] c1) Compare the ratios of the candidate control logics and determine the candidate control logic with the highest ratio as the main control logic.

[0064] In this embodiment, each candidate control logic has a corresponding ratio. The ratios of each candidate control logic can be compared, and the candidate control logic with the highest ratio can be selected. This candidate control logic can be considered as the control logic with the best current control effect, and it is determined as the main control logic to determine the impedance coefficient of the photovoltaic-storage power station.

[0065] The above-described technical solution in this embodiment determines the number of historical executions of candidate control logics that satisfy both historical execution iteration speed and historical execution accuracy as based on real historical data. The ratio of the number of historical executions to the total number of historical executions is then used as the control capability information of the candidate control logic. This provides a reliable basis for accurately measuring the control capability of the candidate control logic. By determining the candidate control logic with the highest ratio among all candidate control logics as the main control logic, the flexibility, accuracy, and reliability of the main control logic selection are improved, providing strong support for accurately determining the first impedance coefficient.

[0066] As a second optional embodiment of the present invention, when the candidate control logic includes all-time control logic and phased control logic, the all-time control logic corresponds to a first impedance coefficient set, the phased control logic corresponds to at least one second impedance coefficient set, and one second impedance coefficient set corresponds to a reactive power output range of the photovoltaic-storage power station.

[0067] The first impedance coefficient set can be understood as the set of historical impedance coefficients that meet preset conditions, generated during each execution of the full-time control logic from the start of the photovoltaic-storage power station deployment to the current iteration. The second impedance coefficient set can be understood as the set of historical impedance coefficients that meet preset conditions, generated during each execution of the phased control logic from the start of the photovoltaic-storage power station deployment to the current iteration. It should be noted that the corresponding control logic can be determined for different reactive power output ranges of the photovoltaic-storage power station within the phased control logic, thus allowing for the construction of separate independent second impedance coefficient sets for each reactive power output range.

[0068] Accordingly, the determination of the first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic can be optimized as follows:

[0069] a2) When the main control logic is a full-time control logic, the first impedance coefficient set is determined as the historical impedance coefficient set; or when the main control logic is a phased control logic, the current reactive power output of the photovoltaic-storage power station is determined, the target reactive power output range of the current reactive power output is determined, the target reactive power output range is one of the reactive power output ranges corresponding to the second impedance coefficient set, and the second impedance coefficient set corresponding to the target reactive power output range is determined as the historical impedance coefficient set.

[0070] The target reactive power output range can be understood as the reactive power output range into which the current reactive power output falls. Each reactive power output range can be preset based on experience, algorithms or rules. Each reactive power output range can correspond to a control logic and a second impedance coefficient set corresponding to the control logic.

[0071] For example, the reactive power output range can be determined based on the rated power of the photovoltaic-storage power station, with each reactive power output range corresponding to a second impedance coefficient set. The method for determining the reactive power output range based on the rated power of the photovoltaic-storage power station can be as follows: the range where the reactive power output of the photovoltaic-storage power station is greater than or equal to 60% of the rated power and less than or equal to 100% of the rated power is determined as the first reactive power output range; the range where the reactive power output of the photovoltaic-storage power station is greater than or equal to 30% of the rated power and less than 60% of the rated power is determined as the second reactive power output range; and the range where the reactive power output of the photovoltaic-storage power station is greater than 0% of the rated power and less than 30% of the rated power is determined as the third reactive power output range.

[0072] In this embodiment, when the main control logic is a phased control logic, the current reactive power output of the photovoltaic-storage power station can be obtained from the grid connection point of the photovoltaic-storage power station. The reactive power output range into which the current reactive power output falls is determined as the target reactive power output range of the current reactive power output. The second impedance coefficient corresponding to the target reactive power output range is determined as the set of historical impedance coefficients.

[0073] b2) Obtain each historical impedance coefficient included in the historical impedance coefficient set, determine the average value of each historical impedance coefficient, and determine the average value as the first impedance coefficient.

[0074] For example, taking the main control logic as a full-time control logic, the first impedance coefficient set is the historical impedance coefficient set. The method of determining the average value of all historical impedance coefficients included in the historical impedance coefficient set as the first impedance coefficient can be specifically expressed as follows:

[0075] ;

[0076] in, This represents the number of historical impedance coefficients in the first impedance coefficient set. This refers to the i-th historical impedance coefficient in the first impedance coefficient set. This is the first impedance coefficient under the all-time control logic.

[0077] It should be noted that the first impedance coefficient set was constructed by collecting historical impedance coefficients starting from the deployment of the photovoltaic-storage power station. Therefore, The impedance coefficients can be generated and recorded during the first iteration of the full-time control logic after the deployment of the photovoltaic-storage power station. However, not every impedance coefficient generated in each iteration can be added to the corresponding impedance coefficient set. Preset conditions must be met to ensure the validity of the impedance coefficient set.

[0078] For example, taking the phased control logic as an example, the target reactive power output range is the first reactive power output range in the example above. The second impedance coefficient set corresponding to the first reactive power output range is determined as the historical impedance coefficient set. The method of determining the average value of each historical impedance coefficient included in the historical impedance coefficient set as the first impedance coefficient can be specifically expressed as follows:

[0079] ;

[0080] in, The first impedance coefficient corresponding to the target reactive power output range being the first reactive power output range; The number of historical impedance coefficients in the second impedance coefficient set corresponding to the first reactive power output range when the target reactive power output range is the first reactive power output range; The j-th historical impedance coefficient in the second impedance coefficient set corresponding to the first reactive power output range when the target reactive power output range is the first reactive power output range.

[0081] For example, taking the phased control logic as an example, the target reactive power output range is the second reactive power output range in the example above. The second impedance coefficient set corresponding to the second reactive power output range is determined as the historical impedance coefficient set. The method of determining the average value of each historical impedance coefficient included in the historical impedance coefficient set as the first impedance coefficient can be specifically expressed as follows:

[0082] ;

[0083] in, The first impedance coefficient corresponding to the target reactive power output range being the second reactive power output range; The number of historical impedance coefficients in the second impedance coefficient set corresponding to the target reactive power output range being the second reactive power output range; The second impedance coefficient set corresponding to the second reactive power output range when the target reactive power output range is the second reactive power output range. Historical impedance coefficient.

[0084] The above-described technical solution in this embodiment determines the historical impedance coefficient set based on the impedance coefficient set corresponding to different main control logics. At the same time, it subdivides multiple reactive power output intervals under the phased control logic and determines the impedance coefficient set for each reactive power output interval, thereby improving the pertinence and accuracy of the historical impedance coefficient set. On this basis, the average value of each historical impedance coefficient in the historical impedance coefficient set is determined as the first impedance coefficient, which improves the flexibility, effectiveness and accuracy of determining the first impedance coefficient and enhances the efficiency and effect of voltage control.

[0085] As a third optional embodiment of the present invention, after determining the first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic, and before determining that the controlled voltage has not reached the target voltage, the method further includes:

[0086] a3) Obtain the current voltage, target voltage, and current reactive power of the photovoltaic-storage power station.

[0087] Here, the current voltage can be understood as the real-time voltage output and feedback from the grid connection point of the photovoltaic-storage power station. The current reactive power can be considered as the power related to the operation of the power transmission equipment at the grid connection point of the photovoltaic-storage power station. A reasonable distribution of reactive power from the photovoltaic-storage power station can maintain voltage stability in the power grid. Therefore, by compensating for the reactive power of the photovoltaic-storage power station, voltage fluctuations can be reduced, ensuring that the power transmission equipment at the grid connection point of the photovoltaic-storage power station operates within the normal voltage range.

[0088] In this embodiment, the current voltage and current reactive power of the photovoltaic-storage power station can be obtained in real time from the grid connection point of the photovoltaic-storage power station. The target voltage of the photovoltaic-storage power station can be obtained from a database at the corresponding storage location or storage path, such as a local or cloud database, relative to a preset target voltage of the photovoltaic-storage power station; or the target voltage can be determined based on a reference voltage and preset rules.

[0089] b3) Based on the first impedance coefficient, the current voltage, and the target voltage, the current reactive power is adjusted to obtain the adjusted reactive power.

[0090] In an optional embodiment, the method of regulating the current reactive power based on the first impedance coefficient, the current voltage, and the target voltage to obtain the regulated reactive power can be as follows: determining a first voltage change between the current voltage and the target voltage; determining the ratio of the first voltage change to the first impedance coefficient as the reactive power change; and determining the sum of the current reactive power and the reactive power change as the regulated reactive power.

[0091] The first voltage change can be understood as the deviation between the target voltage and the current voltage; the reactive power change can be understood as the change used to adjust the current reactive power.

[0092] For example, taking the main control logic as a full-time control logic, the implementation method of obtaining the controlled reactive power can be expressed as follows:

[0093] ;

[0094] in, The reactive power after regulation; This represents the current reactive power. This represents the change in reactive power. This is the first voltage change; The target voltage; This is the current voltage.

[0095] The above-described technical solution in this embodiment flexibly determines a more accurate and realistic reactive power change based on the first impedance coefficient and the deviation of the current voltage from the target voltage. The reactive power is then adjusted based on the reactive power change, thereby improving the accuracy and effectiveness of reactive power control.

[0096] c3) Generate a voltage regulation command based on the regulated reactive power.

[0097] Among them, the voltage regulation command can be understood as a command used to regulate the current voltage of the photovoltaic-storage power station.

[0098] It is understandable that the power transmission process of a photovoltaic-storage power station relies on transmission-related equipment at the grid connection point. The reactive power consumed by this equipment affects the reactive power of the photovoltaic-storage power station, and consequently, its voltage. Therefore, in this embodiment, the voltage regulation command generated based on the regulated reactive power may include instructions for regulating the reactive power of the transmission-related equipment at the grid connection point of the photovoltaic-storage power station. By regulating the reactive power of these devices, the reactive power of the photovoltaic-storage power station is regulated, thereby achieving voltage regulation of the photovoltaic-storage power station.

[0099] The above-described technical solution in this embodiment improves the accuracy of the current reactive power by regulating the current reactive power of the photovoltaic-storage power station based on the determined first impedance coefficient, the current voltage of the photovoltaic-storage power station, and the target voltage. Based on the regulated reactive power, a voltage regulation command is generated, thereby achieving precise and efficient regulation of the current voltage of the photovoltaic-storage power station.

[0100] As a fourth optional embodiment of the present invention, the process of adjusting the first impedance coefficient according to the correction formula to obtain the second impedance coefficient can be optimized as follows:

[0101] a4) Determine the second voltage change between the regulated voltage and the target voltage, and determine the voltage ratio of the second voltage change to the target voltage.

[0102] The second voltage change can be understood as the deviation between the regulated voltage and the target voltage.

[0103] In this embodiment, by determining the voltage ratio between the second voltage change and the target voltage, the deviation of the regulated voltage from the target voltage can be reflected.

[0104] b4) The sum of half of the voltage ratio and the first impedance coefficient is determined as the third impedance coefficient; the voltage of the photovoltaic-storage power station is adjusted based on the third impedance coefficient.

[0105] The third impedance coefficient can be understood as a new impedance coefficient obtained after adjusting the first impedance coefficient, which is used to further regulate the voltage of the photovoltaic-storage power station.

[0106] Under normal operating conditions, the voltage of a photovoltaic-storage power station will increase as the reactive power of the station increases and decrease as the reactive power decreases.

[0107] Therefore, in this embodiment, the sum of half the voltage ratio and the first impedance coefficient can be determined as the third impedance coefficient. The rationale is as follows: If the voltage after regulation by the photovoltaic-storage power station is much lower than the target voltage, the voltage ratio will be negative, and consequently, half of the voltage ratio will also be negative. Determining the sum of half the voltage ratio and the first impedance coefficient as the new impedance coefficient allows for a suitable reduction in the first impedance coefficient. Since the determined third impedance coefficient is smaller than the first impedance coefficient, the reactive power of the photovoltaic-storage power station will increase, and consequently, the voltage of the photovoltaic-storage power station will also increase with the increase in reactive power, thus gradually bringing the voltage closer to the target voltage. If the voltage after regulation by the photovoltaic-storage power station is much higher than the target voltage, determining the sum of half the voltage ratio and the first impedance coefficient as the third impedance coefficient increases the impedance coefficient, reducing the reactive power of the photovoltaic-storage power station. Consequently, the voltage of the photovoltaic-storage power station will decrease with the decrease in reactive power, thus gradually bringing the voltage closer to the target voltage.

[0108] c4) If the adjusted voltage meets the target voltage, then the third impedance coefficient is determined as the second impedance coefficient.

[0109] In this embodiment, determining whether the regulated voltage meets the target voltage can be done as follows: if the regulated voltage is the target voltage, then the regulated voltage meets the target voltage; otherwise, it does not meet the target voltage. Alternatively, determining whether the regulated voltage meets the target voltage can be done as follows: if the difference between the regulated voltage and the target voltage is within a preset difference range, then the regulated voltage meets the target voltage; otherwise, it does not meet the target voltage. Another possible method is to calculate the difference between the regulated voltage and the target voltage, and determine whether the ratio of this difference to the target voltage is within a preset ratio range. If the ratio is within the preset ratio range, then the regulated voltage meets the target voltage; otherwise, it does not meet the target voltage.

[0110] d4) If the adjusted voltage does not meet the target voltage, the third impedance coefficient is adjusted according to the correction formula to obtain the fourth impedance coefficient. The voltage of the photovoltaic-storage power station is adjusted based on the fourth impedance coefficient. If the adjusted voltage meets the target voltage, the fourth impedance coefficient is determined as the second impedance coefficient.

[0111] The fourth impedance coefficient can be understood as a new impedance coefficient obtained after adjusting the third impedance coefficient.

[0112] In this embodiment, if the voltage after adjustment based on the third impedance coefficient still does not meet the target voltage, the third impedance coefficient is adjusted according to the correction formula to obtain the fourth impedance coefficient. The voltage of the photovoltaic-storage power station is then adjusted based on the fourth impedance coefficient, and it is re-evaluated whether the voltage after adjustment based on the fourth impedance coefficient meets the target voltage. This determines whether to execute the step of determining the fourth impedance coefficient as the second impedance coefficient or the step of adjusting the fourth impedance coefficient according to the correction formula to obtain a new impedance coefficient. It is understood that the above process will be executed cyclically until the cycle termination condition is met, such as the adjusted voltage meeting the target voltage or reaching the maximum number of cycles.

[0113] The above-described technical solution in this embodiment determines the voltage ratio based on the second voltage change between the regulated voltage and the target voltage, thus measuring the relative deviation of the regulated voltage. By summing half of the voltage ratio with the first impedance coefficient to determine the new impedance coefficient, the accuracy, scientific nature, and efficiency of impedance coefficient adjustment are improved. The voltage of the photovoltaic-storage power station is regulated based on the new impedance coefficient, enabling the voltage of the photovoltaic-storage power station to gradually approach the target voltage. By judging whether the regulated voltage meets the target voltage, if not, the new impedance coefficient is further adjusted based on the correction formula, and the voltage of the photovoltaic-storage power station is regulated again based on the adjusted impedance coefficient. This ensures the accuracy and effectiveness of determining the impedance coefficient, thereby improving the voltage regulation effect.

[0114] As a fifth optional embodiment of the present invention, after determining the first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic, the method further includes:

[0115] a5) Determine the target impedance coefficient, which is the median value of each historical impedance coefficient in the set of historical impedance coefficients.

[0116] Understandably, the median value can well reflect the overall level of each historical impedance coefficient set. It can be used to quickly determine whether the first impedance coefficient is close to or within the normal range of historical impedance coefficients in the historical impedance coefficient set, and can avoid the influence of relatively extreme historical impedance coefficients in the historical impedance coefficient set on the judgment.

[0117] b5) Determine the absolute value of the difference between the target impedance coefficient and the first impedance coefficient; if the absolute value of the difference is within a preset impedance coefficient deviation range, then add the first impedance coefficient to the historical impedance coefficient set.

[0118] The impedance coefficient deviation range can be understood as a preset deviation range used to determine whether the impedance coefficient is close to each historical impedance coefficient in the historical impedance coefficient set, or whether it is within the normal historical impedance coefficient range of the historical impedance coefficient set.

[0119] It is understood that if the absolute value of the difference exceeds the preset impedance coefficient deviation range, the first impedance coefficient may be uncertain. If an incorrect or abruptly changed first impedance coefficient is added to the historical impedance coefficient set, it may affect the accuracy of the subsequent determination of the first impedance coefficient. Therefore, in an optional embodiment, the first impedance coefficient corresponding to the absolute value of the difference that exceeds the preset impedance coefficient deviation range can be removed. For example, the impedance coefficient deviation range can be [0, 0.2].

[0120] The above-described technical solution in this embodiment obtains the target impedance coefficient, determines the reliability of the first impedance coefficient based on the absolute value of the difference between the target impedance coefficient and the first impedance coefficient, adds the more reliable first impedance coefficient to the historical impedance coefficient set, thereby improving the quality of the historical impedance coefficient set and providing strong support for the subsequent determination of the first impedance coefficient.

[0121] As a sixth optional embodiment of the present invention, after adjusting the first impedance coefficient according to the set correction formula to obtain the second impedance coefficient, the method further includes:

[0122] a6) Obtain the first execution iteration speed and the first execution accuracy corresponding to the end of the main control logic.

[0123] The first execution iteration speed can be considered as the speed from the start of the main control logic execution to the end of execution, and can be measured by the logic execution time and / or the number of logic iterations. The first execution accuracy can be understood as the accuracy of the execution result determined after the main control logic execution is completed, and can be determined based on the accuracy of the obtained second impedance coefficient. The accuracy of the second impedance coefficient can be measured based on the accuracy of the voltage after regulation of the photovoltaic-storage power station, and the accuracy of the voltage after regulation can be determined based on the target voltage of the photovoltaic-storage power station.

[0124] In this embodiment, the first execution iteration speed corresponding to the end of the main control logic can be obtained by: determining the logic execution time used in obtaining the second impedance coefficient through the execution of the main control logic as the first execution iteration speed, or determining the number of logic iterations used in obtaining the second impedance coefficient through the execution of the main control logic as the first execution iteration speed.

[0125] b6) Add the first execution iteration speed, the first execution accuracy, and the main control logic to the historical control information.

[0126] Understandably, in order to provide an accurate and reliable basis for determining the main control logic from the candidate control logics, in this embodiment, the first execution iteration speed and the first execution precision after the main control logic finishes execution can be added to the historical control information in correspondence with the main control logic, so as to update the historical control information in real time and ensure the reliability and effectiveness of the historical control information.

[0127] As a seventh optional embodiment of the present invention, after determining the main control logic from the candidate control logics based on the control capability information, the method further includes:

[0128] a7) Execution target control logic.

[0129] The target control logic is the control logic other than the main control logic among the candidate control logics, that is, the candidate control logic that was not selected as the main control logic.

[0130] In this embodiment, to ensure that each candidate control logic can be continuously optimized and has a reasonable and effective basis for being selected as the main control logic, the main control logic can run in a closed-loop state, while the target control logic runs in an open-loop state. It should be noted that in the open-loop state, the target control logic only executes iteratively and does not participate in the regulation of the photovoltaic-storage power station voltage.

[0131] b7) Obtain the second execution iteration speed and the second execution accuracy corresponding to the end of the execution of the target control logic.

[0132] The second execution iteration speed can be considered as the speed from the start of executing the target control logic to the end of execution, and can be measured by the logic execution time and / or the number of logic iterations. The second execution accuracy can be understood as the accuracy of the execution result determined after the target control logic has finished executing, and can be measured by the accuracy of the determined impedance coefficient.

[0133] Understandably, since the target control logic operates only in an open-loop state and does not participate in the voltage control of the photovoltaic-storage power station, determining whether the target candidate control logic has finished executing, such as achieving the desired second impedance coefficient or reactive power, depends on the execution result of the main control logic. Simultaneously, determining the second execution accuracy also needs to be measured based on the execution result (such as the second impedance coefficient) determined after the main control logic has finished executing. Therefore, the execution time of the target control logic is preferably later than the execution time of the main control logic.

[0134] c7) Add the second execution iteration speed, the second execution accuracy, and the corresponding target candidate control logic to the historical control information.

[0135] In this embodiment, the second execution iteration speed and second execution precision corresponding to the target candidate control logic can be associated and added to the historical control information. This not only realizes the continuous optimization of each target candidate control logic, but also provides strong data support and judgment basis for the subsequent reasonable selection of a more suitable and stronger control logic from all candidate control logics.

[0136] To better understand the impedance coefficient control method of a photovoltaic-storage power station provided in the embodiments of the present invention, a specific example is given here. Figure 2 This is a schematic diagram illustrating the principle of voltage regulation in a method for regulating the impedance coefficient of a photovoltaic energy storage power station provided in an embodiment of the present invention.

[0137] like Figure 2 As shown, the startup module is used to determine the control capability information of each candidate control logic based on historical control information when the photovoltaic-storage power station meets the voltage control conditions, and to determine the main control logic based on the control capability information. In addition, the startup module can also be used to obtain the target voltage of the photovoltaic-storage power station and the current voltage and current reactive power fed back from the grid connection point. After determining the main control logic, controller 1 executes the main control logic. Controller 1 can determine the first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic, and regulate the current reactive power based on the first impedance coefficient, the current voltage, and the target voltage to obtain the regulated reactive power. It then generates a voltage control command based on the regulated reactive power and sends the voltage control command to the grid side, enabling the grid side to adjust the current voltage of the photovoltaic-storage power station based on the voltage control command. The grid connection point of the photovoltaic-storage power station can then feed back the regulated voltage and reactive power.

[0138] Next, a comparator compares the deviation between the regulated voltage and the target voltage to determine whether the regulated voltage has reached the target voltage. If it is determined that the regulated voltage has not reached the target voltage, the controller 1 can adjust the first impedance coefficient according to the correction formula, and use the adjusted first impedance coefficient as the first impedance coefficient for the next logic iteration. The process of determining the regulated reactive power based on the first impedance coefficient and generating the corresponding voltage regulation command to regulate the current voltage of the photovoltaic-storage power station is repeated.

[0139] Figure 3 This is a schematic diagram of a control device provided in an embodiment of the present invention. Figure 3 As shown, the device includes: a logic determination module 31, a first execution module 32, and a second execution module 33, wherein,

[0140] The logic determination module 31 is used to determine the control capability information of each candidate control logic based on historical control information when the photovoltaic-storage power station meets the voltage control conditions, and to determine the main control logic from the candidate control logic based on the control capability information.

[0141] The first execution module 32 is used to determine a first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic. The first impedance coefficient is used for voltage regulation of the photovoltaic-storage power station.

[0142] The second execution module 33 is used to adjust the first impedance coefficient according to the correction formula to obtain a second impedance coefficient if it is determined that the voltage after regulation has not reached the target voltage. The second impedance coefficient is the impedance coefficient corresponding to the voltage of the photovoltaic energy storage station when it meets the target voltage. The correction formula is related to the voltage after regulation, the target voltage and the impedance coefficient.

[0143] The control device provided in this embodiment of the invention determines the control capability information of each candidate control logic based on historical control information when the photovoltaic-storage power station meets the voltage control conditions, and determines the main control logic from the candidate control logic based on the control capability information; determines a first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic, and the first impedance coefficient is used for voltage control of the photovoltaic-storage power station; if it is determined that the controlled voltage does not reach the target voltage, the first impedance coefficient is adjusted according to the correction formula to obtain a second impedance coefficient, the second impedance coefficient being the impedance coefficient corresponding to the voltage of the photovoltaic-storage power station meeting the target voltage, and the correction formula is related to the controlled voltage, the target voltage, and the impedance coefficient. Using this device, when the photovoltaic-storage power station meets the voltage regulation conditions, the main regulation logic with the strongest regulation capability under the current transmission scenario and voltage regulation time period is determined from various candidate regulation logics based on historical regulation information. Based on the empirical value set of impedance coefficients corresponding to the main regulation logic, a more accurate and effective first impedance coefficient is determined, thereby improving the efficiency of voltage regulation. If the regulated voltage does not reach the target voltage, the first impedance coefficient is adjusted according to the correction formula to obtain the second impedance coefficient. This allows for flexible and efficient determination of impedance coefficients that are more suitable for the actual transmission scenario and time period when voltage regulation is carried out, further improving the accuracy, efficiency and regulation effect of voltage regulation, thereby ensuring the stability and reliability of the power supply voltage.

[0144] Furthermore, the historical control information includes the total number of historical executions corresponding to each candidate control logic, as well as the historical execution iteration speed and the corresponding historical execution precision for each historical execution. The candidate control logic, the total number of historical executions, the historical execution iteration speed for each historical execution, and the historical execution precision for each historical execution are in one-to-one correspondence.

[0145] The logic determination module 31 can be specifically used for:

[0146] For each candidate control logic, the corresponding total number of historical executions, the corresponding historical execution iteration speed and the corresponding historical execution precision are obtained from the historical control information;

[0147] Based on the corresponding total number of historical executions, the corresponding historical execution iteration speed for each historical execution, and the corresponding historical execution precision, determine the number of historical executions for which the candidate control logic satisfies the condition that the historical execution iteration speed is greater than the speed threshold and the historical execution precision is greater than the precision threshold.

[0148] The ratio of the historical execution count to the total historical execution count is determined as the control capability information of the candidate control logic;

[0149] By comparing the ratios of the candidate control logics, the candidate control logic with the highest ratio is determined as the main control logic.

[0150] Furthermore, when the candidate control logic includes full-time control logic and phased control logic, the full-time control logic corresponds to a first impedance coefficient set, and the phased control logic corresponds to at least one second impedance coefficient set, with one second impedance coefficient set corresponding to a reactive power output range of the photovoltaic-storage power station.

[0151] The first execution module 32 can be specifically used for:

[0152] When the main control logic is a full-time control logic, the first impedance coefficient set is determined as the historical impedance coefficient set; or when the main control logic is a phased control logic, the current reactive power output of the photovoltaic-storage power station is determined, and the target reactive power output range of the current reactive power output is determined. The target reactive power output range is one of the reactive power output ranges corresponding to the second impedance coefficient set, and the second impedance coefficient set corresponding to the target reactive power output range is determined as the historical impedance coefficient set.

[0153] Obtain each historical impedance coefficient included in the historical impedance coefficient set, determine the average value of each historical impedance coefficient, and determine the average value as the first impedance coefficient.

[0154] Furthermore, the device also includes a voltage regulation module, which specifically may include:

[0155] The acquisition unit is used to acquire the current voltage, target voltage, and current reactive power of the photovoltaic-storage power station after the first impedance coefficient is determined according to the historical impedance coefficient set corresponding to the main control logic and before the controlled voltage reaches the target voltage.

[0156] A reactive power regulation unit is used to regulate the current reactive power according to the first impedance coefficient, the current voltage, and the target voltage to obtain the regulated reactive power.

[0157] The instruction generation unit is used to generate a voltage regulation instruction based on the regulated reactive power, and the voltage regulation instruction is used to regulate the current voltage of the photovoltaic-storage power station.

[0158] Furthermore, the reactive power regulation unit can specifically be used for:

[0159] Determine the first voltage change between the current voltage and the target voltage, and determine the ratio of the first voltage change to the first impedance coefficient as the reactive power change.

[0160] The sum of the current reactive power and the change in reactive power is determined as the adjusted reactive power.

[0161] Furthermore, the second execution module 33 can specifically be used for:

[0162] Determine a second voltage change between the regulated voltage and the target voltage, and determine the voltage ratio of the second voltage change to the target voltage;

[0163] The third impedance coefficient is determined by summing half of the voltage ratio with the first impedance coefficient.

[0164] The voltage of the photovoltaic-storage power station is adjusted based on the third impedance coefficient.

[0165] If the adjusted voltage meets the target voltage, then the third impedance coefficient is determined as the second impedance coefficient;

[0166] If the regulated voltage does not meet the target voltage, the third impedance coefficient is adjusted according to the correction formula to obtain the fourth impedance coefficient. The voltage of the photovoltaic-storage power station is regulated based on the fourth impedance coefficient. If the regulated voltage meets the target voltage, the fourth impedance coefficient is determined as the second impedance coefficient.

[0167] Furthermore, the device also includes a first adding module, which can be specifically used for:

[0168] After determining the first impedance coefficient based on the historical impedance coefficient set corresponding to the main control logic, a target impedance coefficient is determined, wherein the target impedance coefficient is the median value of each historical impedance coefficient in the historical impedance coefficient set.

[0169] Determine the absolute value of the difference between the target impedance coefficient and the first impedance coefficient;

[0170] If the absolute value of the difference is within a preset impedance coefficient deviation range, then the first impedance coefficient is added to the set of historical impedance coefficients.

[0171] Furthermore, the device also includes a second adding module, which can be specifically used for:

[0172] After adjusting the first impedance coefficient according to the set correction formula to obtain the second impedance coefficient, the first execution iteration speed and the first execution accuracy corresponding to the end of the main control logic are obtained.

[0173] The first execution iteration speed, the first execution accuracy, and the main control logic are added to the historical control information.

[0174] Furthermore, the device also includes a third adding module, which can be specifically used for:

[0175] After determining the main control logic from the candidate control logics based on the control capability information, the target control logic is run. The target control logic is the control logic other than the main control logic among the candidate control logics.

[0176] Obtain the second execution iteration speed and the second execution accuracy corresponding to the completion of the target control logic;

[0177] The second execution iteration speed, the second execution accuracy, and the corresponding target candidate control logic are added to the historical control information.

[0178] The control device provided in this embodiment of the invention can execute the impedance coefficient control method of the photovoltaic-storage power station provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0179] Figure 4 A schematic diagram of an electronic device 40 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0180] like Figure 4 As shown, the electronic device 40 includes at least one processor 41 and a memory, such as a read-only memory (ROM) 42 or a random access memory (RAM) 43, communicatively connected to the at least one processor 41. The memory stores computer programs executable by the at least one processor. The processor 41 can perform various appropriate actions and processes based on the computer program stored in the ROM 42 or loaded from storage unit 48 into the RAM 43. The RAM 43 may also store various programs and data required for the operation of the electronic device 40. The processor 41, ROM 42, and RAM 43 are interconnected via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0181] Multiple components in electronic device 40 are connected to I / O interface 45, including: input unit 46, such as keyboard, mouse, etc.; output unit 47, such as various types of monitors, speakers, etc.; storage unit 48, such as disk, optical disk, etc.; and communication unit 49, such as network card, modem, wireless transceiver, etc. Communication unit 49 allows electronic device 40 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0182] Processor 41 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, central processing unit (CPU), graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 41 performs the various methods and processes described above, such as the impedance coefficient regulation method of a photovoltaic energy storage power station.

[0183] In some embodiments, the method for controlling the impedance coefficient of a photovoltaic-storage power station can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 40 via ROM 42 and / or communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the method for controlling the impedance coefficient of a photovoltaic-storage power station described above can be performed. Alternatively, in other embodiments, processor 41 can be configured to perform the method for controlling the impedance coefficient of a photovoltaic-storage power station by any other suitable means (e.g., by means of firmware).

[0184] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0185] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0186] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0187] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0188] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0189] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0190] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0191] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for regulating the impedance coefficient of a light storage power station, characterized in that, The method comprises: When it is detected that the light storage power station meets the voltage regulation condition, determining regulation capability information of each candidate regulation logic according to historical regulation information, and determining a main regulation logic from the candidate regulation logics based on the regulation capability information; According to the historical impedance coefficient set corresponding to the main regulation logic, determining a first impedance coefficient, the first impedance coefficient being used for the light storage power station to perform voltage regulation; If it is determined that the regulated voltage does not reach a target voltage, adjusting the first impedance coefficient according to a correction formula to obtain a second impedance coefficient, the second impedance coefficient being an impedance coefficient corresponding to the light storage power station when the voltage of the light storage power station meets the target voltage, the correction formula being related to the regulated voltage, the target voltage and the impedance coefficient.

2. The method of claim 1, wherein, The historical regulation information comprises historical total execution times corresponding to each candidate regulation logic, and historical execution iteration speed and historical execution accuracy corresponding to each historical execution, and the four are one-to-one corresponding; The method comprises: For each candidate regulation logic, the corresponding historical total execution times, historical execution iteration speed and historical execution accuracy corresponding to each historical execution are obtained from the historical regulation information; According to the corresponding historical total execution times, historical execution iteration speed and historical execution accuracy, the historical execution times of the candidate regulation logic meeting the condition that the historical execution iteration speed is greater than a speed threshold and the historical execution accuracy is higher than an accuracy threshold are determined; The ratio of the historical execution times to the historical total execution times is determined as the regulation capability information of the candidate regulation logic; The candidate regulation logic with the highest ratio is determined as the main regulation logic by comparing the ratios of the candidate regulation logics.

3. The method of claim 1, wherein, When the candidate regulation logic comprises a full-period regulation logic and a staged regulation logic, the full-period regulation logic corresponds to a first impedance coefficient set, and the staged regulation logic corresponds to at least one second impedance coefficient set, one second impedance coefficient set corresponding to one reactive power output interval of the light storage power station; The method comprises: When the main regulation logic is the full-period regulation logic, the first impedance coefficient set is determined as the historical impedance coefficient set; or when the main regulation logic is the staged regulation logic, the current reactive power output of the light storage power station is determined, the target reactive power output interval of the current reactive power output is determined, the target reactive power output interval being one of the reactive power output intervals corresponding to the second impedance coefficient set, and the second impedance coefficient set corresponding to the target reactive power output interval is determined as the historical impedance coefficient set; Each historical impedance coefficient included in the historical impedance coefficient set is obtained, the average value of the historical impedance coefficients is determined, and the average value is determined as the first impedance coefficient.

4. The method of claim 1, wherein, After the first impedance coefficient is determined according to the historical impedance coefficient set corresponding to the main control logic, before the regulated voltage reaches the target voltage, the method further comprises: obtaining the current voltage, the target voltage and the current reactive power of the optical storage power station; regulating the current reactive power according to the first impedance coefficient and the current voltage and the target voltage to obtain the regulated reactive power; generating a voltage regulation instruction according to the regulated reactive power, the voltage regulation instruction being used to regulate the current voltage of the optical storage power station.

5. The method of claim 4, wherein, The regulating the current reactive power according to the first impedance coefficient and the current voltage and the target voltage to obtain the regulated reactive power comprises: determining a first voltage variation of the current voltage and the target voltage, and determining a reactive power variation as a ratio of the first voltage variation to the first impedance coefficient; determining the regulated reactive power as a sum of the current reactive power and the reactive power variation.

6. The method of claim 1, wherein, The adjusting the first impedance coefficient according to the correction formula to obtain the second impedance coefficient comprises: determining a second voltage variation of the regulated voltage and the target voltage, and determining a voltage ratio of the second voltage variation to the target voltage; determining a third impedance coefficient as a sum of half of the voltage ratio and the first impedance coefficient; regulating the voltage of the optical storage power station based on the third impedance coefficient; if the regulated voltage meets the target voltage, determining the third impedance coefficient as the second impedance coefficient; if the regulated voltage does not meet the target voltage, adjusting the third impedance coefficient according to the correction formula to obtain a fourth impedance coefficient, regulating the voltage of the optical storage power station based on the fourth impedance coefficient, and if the regulated voltage meets the target voltage, determining the fourth impedance coefficient as the second impedance coefficient.

7. The method of claim 1, wherein, After the first impedance coefficient is determined according to the historical impedance coefficient set corresponding to the main control logic, the method further comprises: determining a target impedance coefficient, the target impedance coefficient being a middle value of each historical impedance coefficient in the historical impedance coefficient set; determining an absolute value of a difference between the target impedance coefficient and the first impedance coefficient; if the absolute value of the difference is within a preset impedance coefficient deviation range, adding the first impedance coefficient to the historical impedance coefficient set.

8. The method of claim 1, wherein, After the first impedance coefficient is adjusted according to the set correction formula to obtain the second impedance coefficient, the method further comprises: obtaining a first execution iteration speed and a first execution accuracy corresponding to the end of execution of the main control logic; adding the first execution iteration speed, the first execution accuracy and the main control logic to the historical control information.

9. The method of claim 1, wherein, After the main control logic is determined from the candidate control logics based on the regulation capability information, the method further comprises: running a target control logic, the target control logic being a control logic other than the main control logic in the candidate control logics; obtaining a second execution iteration speed and a second execution accuracy corresponding to the end of execution of the target control logic; The second execution iteration speed, the second execution precision, and the corresponding target candidate regulation logic are added to the historical regulation information.

10. A regulating device, characterized in that Comprise: The logic determination module is used for determining the regulation capability information of each candidate regulation logic according to the historical regulation information when it is detected that the optical storage power station satisfies the voltage regulation condition, and determining the main regulation logic from the candidate regulation logic based on the regulation capability information; The first execution module is used for determining the first impedance coefficient according to the historical impedance coefficient set corresponding to the main regulation logic, and the first impedance coefficient is used for the optical storage power station to perform voltage regulation; The second execution module is used for adjusting the first impedance coefficient according to a correction formula to obtain a second impedance coefficient if it is determined that the regulated voltage does not reach the target voltage, the second impedance coefficient is the impedance coefficient corresponding to the optical storage power station when the voltage satisfies the target voltage, and the correction formula is related to the regulated voltage, the target voltage, and the impedance coefficient.

11. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, and the computer instructions are used for making the processor execute to realize the regulation method of the impedance coefficient of the optical storage power station in any one of claims 1-9.