Active loss compensation method, computer equipment, storage medium and program product

By constructing the active loss coefficient matrix and using energy storage power stations for power compensation, the problem of inaccurate prediction of power loss information in new energy stations is solved, the accuracy and speed of power control are improved, and the calculation deviation of power loss and positive feedback are solved. The phenomenon has achieved more precise power plant control.

CN119298147APending Publication Date: 2025-01-10CHINA THREE GORGES CORPORATION +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411453636.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

Due to the existence of inverter devices in new energy stations, the active loss between the power generation unit and the network connection point is inaccurate, which affects the active power control effect of the entire station. Especially when the GOOSE fast communication protocol is applied, the number of procurement cycles and control cycles are caused. The difference leads to inaccurate prediction of the power loss information, resulting in power control deviation and positive feedback.

Method used

By obtaining historical data, a coefficient matrix between the active and active loss of the entire station is constructed, and the scheduling instructions and matrix at the current moment are used to predict the active loss of the next moment, and power compensation is used by the energy storage power station, and energy storage power stations are preferred for use by the energy storage power stations for Compensation, when it cannot be met, is compensated by other power generation units.

Benefits of technology

It improves the accuracy and speed of active power control, reduces the active fluctuations caused by inaccurate state of charge calculation, realizes rapid power compensation, and improves the control accuracy of the power generation station.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119298147A_ABST
    Figure CN119298147A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power system control, and discloses an active loss compensation method, computer equipment, a storage medium and a program product, and the active loss compensation method comprises the steps: obtaining historical data which comprises historical total-station active actual transmission and historical total-station active loss of a grid-connected point; constructing a coefficient matrix between total-station active actual transmission and total-station active loss based on historical data; predicting the total-station active loss at the next moment based on the total-station scheduling active instruction at the current moment and the coefficient matrix; and performing power compensation on the total station active loss at the next moment by utilizing the energy storage power station based on the total station active loss at the next moment. According to the invention, the problem of inaccurate active loss information prediction can be solved, and rapid power compensation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system control, and in particular to a method for compensating active power loss, a computer device, a storage medium and a program product. Background Art

[0002] In new energy stations, due to the presence of various inverter devices, there is a certain electrical distance between each power generation unit and the grid connection point, which results in active power loss between each power generation unit and the grid connection point, and the magnitude of active power loss fluctuates with the actual power generation of the grid connection point. At present, the calculation method of the active power loss of the whole station of new energy stations uses the difference between the actual power generation of the grid connection point in the previous cycle and the actual power generation of each power generation unit as the total station loss of this cycle.

[0003] With the application of GOOSE fast communication protocol in station energy storage systems, there are obvious differences between the data acquisition cycle of each analog quantity in the new energy station and the control cycle of the energy storage system. Usually in new energy stations, most equipment data acquisition uses traditional common protocols (such as serial port, 104 protocol and modbus TCP / IP protocol, etc.). The hardware equipment has a fast computing rate, and the energy storage system communicates quickly through GOOSE (generic object oriented substation event), with a fast adjustment speed, while the digital uses traditional communication protocols, which makes the analog data refresh slow. If the traditional active loss calculation method is used, the active loss at the current moment may be the active loss calculated by digital acquisition multiple cycles ago, which makes the active power control have a certain deviation, and even positive feedback occurs, affecting the control effect of the active power of the entire station. Summary of the invention

[0004] In view of this, the present invention provides a method for compensating active power loss, a computer device, a storage medium and a program product to solve the problem of inaccurate prediction of active power loss information and realize rapid power compensation.

[0005] In a first aspect, the present invention provides a method for compensating for active power loss, which includes: acquiring historical data, the historical data including the historical actual active power generation of the entire station and the historical active power loss of the entire station of the grid-connected point; constructing a coefficient matrix between the actual active power generation of the entire station and the active power loss of the entire station based on the historical data; predicting the active power loss of the entire station at the next moment based on the active power instruction of the entire station scheduling at the current moment and the coefficient matrix; based on the active power loss of the entire station at the next moment, using an energy storage power station to perform power compensation for the active power loss of the entire station at the next moment.

[0006] In this implementation, historical data include the historical actual active power generation of the entire station and the historical active power loss of the entire station at the grid-connected point. A coefficient matrix between the actual active power generation of the entire station and the active power loss of the entire station is constructed based on the historical data. The coefficient matrix contains long-term active power loss information of the entire station, which can reduce the active power loss of energy storage caused by inaccurate calculation of the state of charge, thereby causing active power fluctuations at the grid-connected point. At the same time, the current station-wide scheduling active power instructions and the coefficient matrix are used to predict subsequent active power losses, which can solve the problem of inaccurate prediction of active power loss information, achieve rapid power compensation, and improve the control accuracy of power generation stations.

[0007] In an optional implementation, the historical total station active power generation includes the total station active power generation at the current moment, the total station active power generation at the previous moment, and the total station active power generation at the previous moment, and the historical total station active power loss includes the total station active power generation at the previous moment and the total station active power generation at the previous moment; constructing a coefficient matrix between the total station active power generation and the total station active power loss based on historical data includes: constructing a relationship function between the total station active power loss at the current moment and the historical total station active power generation and the historical total station active power loss; recursively deducing the coefficients of the historical total station active power generation and the historical total station active power loss based on the least squares method to obtain a coefficient matrix; the coefficient matrix includes a first coefficient of the total station active power generation at the previous moment, a second coefficient of the total station active power generation at the previous moment, a third coefficient of the total station active power generation at the current moment, a fourth coefficient of the total station active power generation at the previous moment, and a fifth coefficient of the total station active power generation at the previous moment.

[0008] In an optional implementation, predicting the total station active power loss at the next moment based on the total station scheduling active power instruction and the coefficient matrix at the current moment includes: obtaining the total station scheduling active power instruction at the current moment and the total station active power loss at the current moment; multiplying the total station active power loss at the current moment, the total station active power loss at the previous moment, the total station scheduling active power instruction at the current moment, the total station active power actual transmission at the current moment and the total station active power actual transmission at the previous moment by the coefficient matrix to obtain the total station active power loss at the next moment.

[0009] In an optional embodiment, based on the target total station active loss at the next moment, using the energy storage power station to perform power compensation for the total station active loss at the next moment includes: determining the output setting value of the energy storage power station based on the total station active loss at the next moment and the output characteristics of the energy storage power station; and allocating unit active power instructions to multiple energy storage units in the energy storage power station based on the output setting value, so that the energy storage units perform power compensation according to the unit active power instructions.

[0010] In an optional implementation, based on the total station active power loss at the next moment and the output characteristics of the energy storage power station, determining the output setting value of the energy storage power station includes: obtaining the output characteristics of the energy storage power station, the output characteristics including the maximum discharge active power of the power station and the maximum charging active power of the power station; obtaining the energy storage active power instruction of the energy storage power station; when the sum of the energy storage active power instruction and the total station active power loss at the next moment is greater than the maximum charging active power of the power station, and less than the maximum discharge active power of the power station, the sum of the energy storage active power instruction and the total station active power loss at the next moment; when the sum of the energy storage active power instruction and the total station active power loss at the next moment is greater than or equal to the maximum discharge active power of the power station, then determining the output setting value of the energy storage power station to be the maximum discharge active power of the power station; when the sum of the energy storage active power instruction and the total station active power loss at the next moment is less than or equal to the maximum charging active power of the power station, then determining the output setting value of the energy storage power station to be the maximum charging active power of the power station.

[0011] In an optional embodiment, allocating unit active power instructions to multiple energy storage units in an energy storage power station based on the output setting value includes: when the output setting value is negative, determining the charging ratio of the energy storage unit based on the ratio of the unit maximum charging power of the energy storage unit and the maximum charging active power of the power station, and allocating unit active power instructions to the energy storage units according to the charging ratio and the output setting value; when the output setting value is positive, determining the discharge ratio of the energy storage unit based on the ratio of the unit maximum discharge power of the energy storage unit and the maximum discharge active power of the power station, and allocating unit active power instructions to the energy storage units according to the discharge ratio and the output setting value.

[0012] In an optional embodiment, the active power loss compensation method also includes: when the absolute value of the output setting value is less than the absolute value of the active power loss of the entire station at the next moment, generating a residual active power instruction based on the difference between the two absolute values, so that the power generation unit performs power compensation according to the residual active power instruction.

[0013] In this implementation, energy storage power stations are used preferentially for power compensation. Based on the actual power status of the energy storage power stations, the power loss value that the energy storage power stations can compensate is determined. The energy storage power stations can be reasonably arranged for power compensation in combination with actual usage conditions. When the energy storage power stations cannot meet the loss compensation requirements, other power generation units are used to make up for it, thereby improving the power compensation efficiency.

[0014] In a second aspect, the present invention provides an active power loss compensation device, which includes: an acquisition module for acquiring historical data, the historical data including the historical actual active power generation of the entire station and the historical active power loss of the entire station; a construction model for constructing a coefficient matrix between the actual active power generation of the entire station and the active power loss of the entire station based on the historical data; a prediction module for predicting the active power loss of the entire station at the next moment based on the active power instruction of the entire station scheduling at the current moment and the coefficient matrix; a compensation module for performing power compensation for the active power loss of the entire station at the next moment based on the active power loss of the entire station at the next moment using an energy storage power station.

[0015] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the active power loss compensation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0016] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the active power loss compensation method of the first aspect or any corresponding embodiment thereof.

[0017] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, wherein the computer instructions are used to enable a computer to execute the active power loss compensation method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 is a flow chart of a method for compensating active power loss according to an embodiment of the present invention;

[0020] Figure 2 is a flow chart of another active power loss compensation method according to an embodiment of the present invention;

[0021] Figure 3 is a structural block diagram of a device for compensating active power loss according to an embodiment of the present invention;

[0022] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0024] At present, it has become an inevitable trend to develop new energy on a large scale, build wind, solar and storage combined power generation systems with grid-connected characteristics, improve grid-connected characteristics, and pursue high-quality development. In recent years, with the development of communication technology, the fast communication protocol GOOSE (generic object oriented substation event), represented by the generic object oriented variable point station time transmission, has been more and more widely used in new energy stations, especially for primary frequency regulation. The application of GOOSE protocol has greatly improved the ability of primary frequency regulation. Usually in new energy stations, most equipment data acquisition uses traditional communication protocols (such as serial ports, 104 protocols and modbus TCP / IP protocols, etc.). This results in the hardware equipment having a fast computing rate, the energy storage system communicating quickly through GOOSE, and the adjustment speed is fast, while the data uses traditional communication protocols, which makes the analog data refresh slow. The traditional active power loss calculation method causes a certain deviation in active power control, and even positive feedback, which affects the control effect of the active power of the entire station, especially the impact on primary frequency regulation. Therefore, this application proposes a method for compensating for active power loss, which can effectively suppress the active power control deviation caused by data acquisition delay, improve the control effect of primary frequency regulation of new energy stations, and at the same time improve the speed and accuracy of active power control, providing technical support for primary frequency regulation.

[0025] According to an embodiment of the present invention, an embodiment of a method for compensating for active power loss is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] In this embodiment, a method for compensating active power loss is provided, which is applicable to a new energy power station with energy storage and fast communication. Figure 1 is a flow chart of a method for compensating active power loss according to an embodiment of the present invention. It should be noted that if there are substantially the same results, this embodiment is not limited to Figure 1 The process sequence shown is limited. Figure 1 As shown, the process includes the following steps:

[0027] Step S101, obtaining historical data.

[0028] In one implementation, the historical data includes the historical total station active power generation and the historical total station active power loss of the grid-connected point. The historical total station active power generation is obtained according to the corresponding sensor, and the historical total station active power loss is calculated according to the historical total station active power generation.

[0029] It can be understood that the new energy power station includes one or more power stations and energy storage stations of the same or different types. Among them, the total active power generation of the station is the active power generation of all power stations in the new energy power station. There is power loss in the process of active power generation of all power stations in the new energy power station, that is, the total active power loss of the station.

[0030] In one implementation, the historical data also includes historical power station active power. The historical total station active power generation and historical power station active power are obtained according to the corresponding sensors, and the historical total station active power loss is calculated according to the historical total station active power generation and historical power station active power.

[0031] Exemplarily, when the new energy power station is a photovoltaic power station, the active power of the photovoltaic power station is obtained by using a photovoltaic sensor, and when the new energy power station is a hydropower station, the active power of the hydropower station is obtained by using a hydropower sensor.

[0032] Specifically, the active power loss of the entire station at a certain moment is calculated based on the actual active power generation of the entire station and the active power of each power station. The calculation method of the active power loss of the entire station is different depending on the type of energy site.

[0033] Exemplarily, when the new energy power station is a wind, solar and energy storage station. The wind, solar and energy storage station includes a wind farm, a photovoltaic power station and an energy storage station. The active power loss of the whole station at a certain moment is calculated according to the active power of the whole station at that moment, the active power of the wind farm, the active power of the photovoltaic power station and the active power of the energy storage station.

[0034] Specifically, the calculation formula for calculating the active power loss of the entire station is:

[0035] P loss (k) = P inv (k)+P tur (k)+P ess (k)-P act (k).

[0036] P loss (k) where is the total station active power loss at time k, P inv (k) is the active power of the photovoltaic power station collection line at time k, P tur (k) is the active power of the wind farm collection line at time k, P ess (k) is the active power of the energy storage power station collection line at time k, P act(k) is the total work done by the station at time k.

[0037] The above method is used to calculate the actual historical work of the entire station at each historical moment.

[0038] Step S102: construct a coefficient matrix between the total station active power generation and the total station active power loss based on historical data.

[0039] Specifically, the relationship between the actual active power generation of the entire station and the active power loss of the entire station is found according to the historical actual active power generation of the entire station at each historical moment and the historical active power loss of the entire station at the corresponding moment, and a coefficient matrix is ​​constructed based on the relationship.

[0040] In one implementation, a relationship between the historical total station active power generation at multiple moments and the corresponding historical total station active power loss at multiple moments is constructed, and the coefficients of the multiple data are extracted to obtain a coefficient matrix.

[0041] Exemplarily, the functional relationship between the historical active power loss of the entire station at the first moment, the historical active power loss of the entire station at the second moment, the historical active power generation of the entire station at the first moment and the historical active power generation of the entire station at the second moment is constructed as: x1=ax2+bx3+cx4.

[0042] Among them, x1 is the historical active power loss of the whole station at the first moment, x2 is the historical active power loss of the whole station at the second moment, x3 is the historical active power generation of the whole station at the first moment, and x4 is the historical active power generation of the whole station at the second moment. The coefficient matrix is ​​[abc].

[0043] Step S103, predicting the active power loss of the entire station at the next moment based on the active power instruction of the entire station scheduling at the current moment and the coefficient matrix.

[0044] Among them, the dispatching active power instruction is determined according to the actual active power output. Therefore, the dispatching active power instruction of the whole station at the current moment replaces the actual active power output of the whole station at the next moment to predict the active power loss of the whole station at the next moment.

[0045] Specifically, the active power command of the whole station dispatching at the current moment is obtained. According to the parameters corresponding to each coefficient in the coefficient matrix, the corresponding historical actual active power of the whole station and the historical active power loss of the whole station are selected from the historical data. Combining the active power command of the whole station dispatching, the historical actual active power of the whole station and the historical active power loss of the whole station, the active power loss of the whole station at the next moment is calculated according to the corresponding coefficient matrix.

[0046] Step S104: Based on the active power loss of the entire station at the next moment, the energy storage power station is used to perform power compensation for the active power loss of the entire station at the next moment.

[0047] Considering the processing characteristics and status of each power station in the renewable energy power station, the energy storage power station is used to compensate for the active power loss of the entire station at the next moment.

[0048] Specifically, the power station active power instruction of the energy storage power station is determined in combination with consideration of the power state of the energy storage power station, so that the energy storage power station performs power compensation according to the power station active power instruction.

[0049] More specifically, the unit active power instruction of the energy storage unit is determined by taking into consideration the power state of each energy storage unit in the energy storage power station, so that the energy storage unit performs power compensation according to the unit active power instruction.

[0050] The active power loss compensation method provided in this embodiment comprises historical data including the historical actual active power generation of the entire station and the historical active power loss of the entire station at the grid-connected point. A coefficient matrix between the actual active power generation of the entire station and the active power loss of the entire station is constructed based on the historical data. The coefficient matrix contains the active power loss information of the entire station for a long time, which can reduce the active power loss of energy storage caused by inaccurate calculation of the state of charge, thereby causing active power fluctuations at the grid-connected point. At the same time, the active power instructions of the entire station at the current moment are used to schedule the subsequent active power loss, which can solve the problem of inaccurate prediction of active power loss information, realize rapid power compensation, and improve the control accuracy of the power generation station.

[0051] In this embodiment, a method for compensating active power loss is provided, which is applicable to a new energy power station with energy storage and fast communication. Figure 2 FIG. 1 is a flow chart of another method for compensating active power loss according to an embodiment of the present invention. It should be noted that if there are substantially the same results, this embodiment is not limited to Figure 2 The process sequence shown is limited. Figure 2 As shown, the process includes the following steps:

[0052] Step S201, obtaining historical data.

[0053] In one implementation, the historical data includes the historical total station active power generation and the historical total station active power loss of the grid-connected point. The historical total station active power generation is obtained according to the corresponding sensor, and the historical total station active power loss is calculated according to the historical total station active power generation.

[0054] In one implementation, the historical data also includes historical power station active power. The historical total station active power generation and historical power station active power are obtained according to the corresponding sensors, and the historical total station active power loss is calculated according to the historical total station active power generation and historical power station active power.

[0055] For more details, see Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0056] Step S202: construct a coefficient matrix between the total station active power generation and the total station active power loss based on historical data.

[0057] Specifically, the above step S202 includes:

[0058] Step S2021: construct a relationship function between the current total station active power loss and the historical total station active power generation and the historical total station active power loss.

[0059] In one implementation, the historical station-wide active power generation includes the station-wide active power generation at the current moment, the station-wide active power generation at the previous moment, and the station-wide active power generation at the previous moment, and the historical station-wide active power loss includes the station-wide active power loss at the previous moment and the station-wide active power loss at the previous moment.

[0060] Construct a relationship function between the current station active power loss and the current station active power generation, the previous station active power generation, the previous station active power generation, the previous station active power loss, and the previous station active power loss. The specific relationship function is:

[0061]

[0062]

[0063] Among them, e(k,θ) is the vector equation error, P loss (k) is the active power loss of the whole station at the current moment, P act (k) is the total active power generated by the station at the current moment, P act (k-1) is the total active power generated by the station at the previous moment, P act (k-2) is the total station active power generated at the previous moment, P loss (k-1) is the total active power loss of the station at the previous moment, P loss (k-2) is the total station active power loss at the previous moment.

[0064] Step S2022: recursively derive the coefficients of the historical total station active power generation and the historical total station active power loss based on the least squares method to obtain a coefficient matrix.

[0065] Among them, the coefficient matrix includes the first coefficient of the active power loss of the whole station at the previous moment, the second coefficient of the active power loss of the whole station at the previous moment, the third coefficient of the active power generation of the whole station at the current moment, the fourth coefficient of the active power generation of the whole station at the previous moment and the fifth coefficient of the active power generation of the whole station at the previous moment.

[0066] Specifically, in order to make the formula in step S2021 The calculated value is close to the actual active power loss, which minimizes the sum of squares of the errors. The least squares method is used to recursively obtain:

[0067]

[0068] Further calculations yield the coefficient matrix θ T =[a1a2b1b2b3].

[0069] Among them, a1 is the first coefficient, a2 is the second coefficient, b1 is the third coefficient, b2 is the fourth coefficient, b3 is the fifth coefficient, and μ is the forgetting factor.

[0070] Step S203, predicting the active power loss of the entire station at the next moment based on the active power instruction of the entire station scheduling at the current moment and the coefficient matrix.

[0071] Specifically, the above step S203 includes:

[0072] Step S2031: Obtain the current station-wide dispatching active power instruction and the current station-wide active power loss.

[0073] Step S2032: multiply the total station active power loss at the current moment, the total station active power loss at the previous moment, the total station scheduling active power instruction at the current moment, the total station active power output at the current moment and the total station active power output at the previous moment by the coefficient matrix to obtain the total station active power loss at the next moment.

[0074] According to the parameters corresponding to each coefficient in the coefficient matrix, the corresponding historical station-wide active power generation and historical station-wide active power loss are selected from the historical data, and the current station-wide active power dispatching instruction is used to replace the next station-wide active power generation. The current station-wide active power loss, the previous station-wide active power loss, the current station-wide active power dispatching instruction, the current station-wide active power generation, and the previous station-wide active power generation are multiplied by the coefficient matrix to obtain the next station-wide active power loss. The specific calculation formula is:

[0075] P loss (k+1)=a1*P loss (k)+a2*P loss (k-1)+b1P ref (k)+b2P act (k)+b3P act (k-1).

[0076] Among them, P loss (k+1) is the active power loss of the whole station at the next moment, P loss (k) is the active power loss of the whole station at the current moment, P loss (k-1) is the total station active power loss at the previous moment, P ref (k) is the active power instruction of the whole station at the current moment, P act (k) is the total active power of the station at the current moment, P act (k-1) is the total work done by the station at the previous moment.

[0077] Step S204: Based on the active power loss of the entire station at the next moment, the energy storage power station is used to perform power compensation for the active power loss of the entire station at the next moment.

[0078] The predicted active power loss of the entire station at the next moment is sent to the coordination controller. Taking into account the output characteristics and status of the wind farm, photovoltaic power station and energy storage power station, only the energy storage power station is used to compensate for the active power loss of the entire station at the next moment.

[0079] Specifically, the above step S204 includes:

[0080] Step S2041: Determine the output setting value of the energy storage power station based on the active power loss of the entire station at the next moment and the output characteristics of the energy storage power station.

[0081] The output characteristics of the energy storage power station are obtained, and the output characteristics include the maximum discharge active power of the power station and the maximum charging active power of the power station.

[0082] The active energy storage command of the energy storage power station is obtained, wherein the active energy storage command of the energy storage power station is the active energy command allocated to the energy storage power station in the current allocation mode. It can be understood that the current allocation mode is the allocation command of all power stations in the new energy power station.

[0083] Based on the active power loss of the entire station at the next moment and the output characteristics of the energy storage power station, the calculation formula for determining the output setting value of the energy storage power station is:

[0084]

[0085] Among them, P ESS_set is the output setting value of the energy storage power station, P loss is the active power loss of the whole station, P ESS_ref is the energy storage active power instruction of the energy storage power station, P ESS_max is the maximum discharge active power of the power station, P ESS_min It is the maximum charging active power of the power station. It can be understood that the maximum discharge active power of the power station is a positive value, and the maximum charging active power of the power station is a negative value.

[0086] As shown in the above formula, there may be three situations.

[0087] Case 1: When the sum of the energy storage active power instruction and the total station active power loss at the next moment is greater than the maximum charging active power of the power station and less than the maximum discharging active power of the power station, the sum of the energy storage active power instruction and the total station active power loss at the next moment.

[0088] Case 2: When the sum of the energy storage active power instruction and the total station active power loss at the next moment is greater than or equal to the maximum discharge active power of the power station, the output setting value of the energy storage power station is determined to be the maximum discharge active power of the power station.

[0089] Case 3: When the sum of the energy storage active power instruction and the total station active power loss at the next moment is less than or equal to the maximum charging active power of the power station, the output setting value of the energy storage power station is determined to be the maximum charging active power of the power station.

[0090] Among them, for situations 2 and 3, it is possible that the maximum power of the energy storage power station cannot fully compensate for the active power loss of the entire station, and other power stations will be needed to continue to compensate.

[0091] Specifically, when the absolute value of the output setting value is less than the absolute value of the total station active power loss at the next moment, a residual active power instruction is generated based on the difference between the two absolute values, so that the power station performs power compensation according to the residual active power instruction.

[0092] It can be understood that for the second situation, when the sum of the energy storage active power instruction and the total station active power loss at the next moment is greater than the maximum discharge active power of the power station, there is an uncompensated part that uses other power stations for subsequent compensation; for the third situation, when the sum of the energy storage active power instruction and the total station active power loss at the next moment is less than the maximum charging active power of the power station, there is an uncompensated part that uses other power stations for subsequent compensation.

[0093] Exemplarily, when the new energy power station is a wind, solar and storage station, the response characteristics of the wind, solar and storage station continue to be considered, and power compensation is performed by the photovoltaic power station and the wind farm in turn.

[0094] Step S2042: allocating unit active power instructions to multiple energy storage units in the energy storage power station based on the output setting value, so that the energy storage units perform power compensation according to the unit active power instructions.

[0095] Specifically, power is allocated according to the maximum charging power or the maximum discharging power of each energy storage unit. The specific allocation formula is:

[0096]

[0097] Among them, P ESS_set (i) is the unit active power instruction assigned to energy storage unit i, P ESS_min (i) is the maximum charging power of energy storage unit i, P ESS_max (i) is the maximum discharge power of energy storage unit i.

[0098] As shown in the above formula, when the output setting value is negative, that is, when there is charging compensation, the charging ratio of the energy storage unit is determined based on the ratio of the maximum charging power of the energy storage unit and the maximum charging active power of the power station, and the charging ratio is multiplied by the output setting value to obtain the energy storage unit allocation unit active power instruction.

[0099] When the output setting value is positive, that is, when there is discharge compensation, the discharge ratio of the energy storage unit is determined based on the ratio of the maximum discharge power of the energy storage unit and the maximum discharge active power of the power station, and the discharge ratio multiplied by the output setting value is the energy storage unit allocation unit active power instruction.

[0100] The energy storage unit is used to perform power compensation according to the unit active power instruction.

[0101] Furthermore, the coefficient matrix is ​​corrected and updated according to the active power loss of the entire station at the current moment and the actual active power generation of the entire station at the current moment to perform subsequent active power loss prediction and compensation.

[0102] The active power loss compensation method provided in this embodiment comprises historical data including the historical actual active power generation of the entire station and the historical active power loss of the entire station of the grid-connected point. A coefficient matrix between the actual active power generation of the entire station and the active power loss of the entire station is constructed based on the historical data. The coefficient matrix contains the active power loss information of the entire station for a long time, which can reduce the active power loss of energy storage caused by inaccurate calculation of the state of charge, thereby causing the active power fluctuation of the grid-connected point. At the same time, the active power instruction of the entire station dispatching at the current moment and the coefficient matrix are used to predict the subsequent active power loss, which can solve the problem of inaccurate prediction of active power loss information, give priority to using energy storage power stations for power compensation, determine the power loss value that can be compensated by the energy storage power station based on the actual power state of the energy storage power station, and reasonably arrange the energy storage power station for power compensation in combination with the actual use situation. When the energy storage power station cannot meet the loss compensation, other power generation units are used to make up for it, so as to realize rapid power compensation and improve the control accuracy of the power generation station.

[0103] In this embodiment, a device for compensating active power loss is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are omitted. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0104] This embodiment provides a device for compensating active power loss. Figure 3 is a structural block diagram of a power loss compensation device according to an embodiment of the present invention, such as Figure 3 As shown, including:

[0105] An acquisition module 301 is used to acquire historical data, where the historical data includes the historical total station active power generation and the historical total station active power loss of the grid-connected point;

[0106] Constructing a model 302 for constructing a coefficient matrix between the total station active power generation and the total station active power loss based on historical data;

[0107] Prediction module 303, used for predicting the active power loss of the whole station at the next moment based on the active power instruction and coefficient matrix of the whole station scheduling at the current moment;

[0108] The compensation module 304 is used to use the energy storage power station to perform power compensation for the active power loss of the entire station at the next moment based on the active power loss of the entire station at the next moment.

[0109] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.

[0110] The active loss compensation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0111] The embodiment of the present invention also provides a computer device having the above Figure 4 The active power loss compensation device shown.

[0112] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 4 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.

[0113] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0114] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0115] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0116] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0117] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0118] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0119] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0120] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0121] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for compensating active power loss, characterized in that: The method comprises: Acquiring historical data, wherein the historical data includes historical total station active power generation and historical total station active power loss of the grid-connected point; Constructing a coefficient matrix between the total station active power generation and the total station active power loss based on the historical data; Predicting the active power loss of the entire station at the next moment based on the active power instruction of the entire station dispatching at the current moment and the coefficient matrix; Based on the active power loss of the entire station at the next moment, the energy storage power station is used to perform power compensation for the active power loss of the entire station at the next moment.

2. The active power loss compensation method according to claim 1, characterized in that: The historical total station active power generation includes the total station active power generation at the current moment, the total station active power generation at the previous moment, and the total station active power generation at the previous moment, and the historical total station active power loss includes the total station active power generation at the previous moment and the total station active power generation at the previous moment; The step of constructing a coefficient matrix between the total station active power generation and the total station active power loss based on the historical data includes: Constructing a relationship function between the current total station active power loss and the historical total station active power generation and the historical total station active power loss; Recursively derive the coefficients of the historical total station active power generation and the historical total station active power loss based on the least square method to obtain the coefficient matrix; The coefficient matrix includes the first coefficient of the total active power generation of the station at the previous moment, the second coefficient of the total active power generation of the station at the previous moment, the third coefficient of the total active power generation of the station at the current moment, the fourth coefficient of the total active power generation of the station at the previous moment and the fifth coefficient of the total active power generation of the station at the previous moment.

3. The active power loss compensation method according to claim 2, characterized in that: The method of predicting the active power loss of the entire station at the next moment based on the active power instruction of the entire station dispatching at the current moment and the coefficient matrix includes: Obtaining the current station-wide dispatching active power instruction and the current station-wide active power loss; The total station active loss at the current moment, the total station active loss at the previous moment, the total station scheduling active power instruction at the current moment, the total station active power output at the current moment and the total station active power output at the previous moment are multiplied by the coefficient matrix to obtain the total station active loss at the next moment.

4. The active power loss compensation method according to claim 1, characterized in that: The using the energy storage power station to perform power compensation for the total station active power loss at the next moment based on the target total station active power loss at the next moment includes: Determining an output setting value of the energy storage power station based on the total station active power loss at the next moment and the output characteristics of the energy storage power station; Based on the output setting value, unit active power instructions are allocated to a plurality of energy storage units in the energy storage power station, so that the energy storage units perform power compensation according to the unit active power instructions.

5. The active power loss compensation method according to claim 4, characterized in that: The determining of the output setting value of the energy storage power station based on the active power loss of the entire station at the next moment and the output characteristics of the energy storage power station includes: Obtaining output characteristics of the energy storage power station, the output characteristics including the maximum discharge active power of the power station and the maximum charging active power of the power station; obtaining an energy storage active power instruction of the energy storage power station; When the sum of the energy storage active power instruction and the total station active power loss at the next moment is greater than the maximum charging active power of the power station and less than the maximum discharging active power of the power station, the sum of the energy storage active power instruction and the total station active power loss at the next moment; When the sum of the energy storage active power instruction and the total station active power loss at the next moment is greater than or equal to the maximum discharge active power of the power station, the output setting value of the energy storage power station is determined to be the maximum discharge active power of the power station; When the sum of the energy storage active power instruction and the whole station active power loss at the next moment is less than or equal to the maximum charging active power of the power station, the output setting value of the energy storage power station is determined to be the maximum charging active power of the power station.

6. The active power loss compensation method according to claim 4, characterized in that: The active power instruction for allocating units to multiple energy storage units in the energy storage power station based on the output setting value includes: When the output setting value is negative, the charging ratio of the energy storage unit is determined based on the ratio of the unit maximum charging power of the energy storage unit to the maximum charging active power of the power station, and the unit active power instruction is allocated to the energy storage unit according to the charging ratio and the output setting value; When the output setting value is positive, the discharge ratio of the energy storage unit is determined based on the ratio of the unit maximum discharge power of the energy storage unit to the maximum discharge active power of the power station, and the unit active power instruction is allocated to the energy storage unit according to the discharge ratio and the output setting value.

7. The active power loss compensation method according to claim 4, characterized in that: The method further comprises: When the absolute value of the output setting value is less than the absolute value of the total station active power loss at the next moment, a residual active power instruction is generated based on the difference between the two absolute values, so that the power station performs power compensation according to the residual active power instruction.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the active power loss compensation method according to any one of claims 1 to 7 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the active power loss compensation method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to cause a computer to execute the active power loss compensation method according to any one of claims 1 to 7.