A method and apparatus for power matching collaborative optimization of flywheel arrays based on power loss

By constructing a flywheel unit command output power prediction model and using the Black Widow algorithm to allocate the actual required output power, the power loss and lifespan loss problems of flywheel energy storage arrays are solved, the optimized scheduling of flywheel arrays is realized, and the stability and scheduling efficiency of the power grid are improved.

CN117875603BActive Publication Date: 2026-11-17NORTH CHINA ELECTRIC POWER UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311676739.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2026-11-17
Estimated Expiration
2043-12-07

AI Technical Summary

Technical Problem

How to reduce the power loss and lifespan loss of flywheel energy storage arrays during operation in order to improve the stability and dispatch efficiency of the power grid.

Method used

By constructing a predictive model for the command output power of individual flywheel units, using a multinomial regression algorithm to fit the actual output power-command output power curve, and combining it with the Black Widow algorithm to allocate the actual required output power to each flywheel unit, the power matching of the flywheel array is optimized, reducing total power loss and service life loss.

Benefits of technology

It realizes power matching and collaborative optimization scheduling of flywheel arrays, reduces power loss and lifespan loss, and improves grid stability and scheduling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117875603B_ABST
    Figure CN117875603B_ABST
Patent Text Reader

Abstract

This disclosure provides a method and apparatus for collaborative optimization of flywheel array power matching based on power loss, applicable to the field of physical energy storage technology. The method includes: constructing a commanded output power prediction model for each flywheel unit based on its commanded output power and actual output power; obtaining the flywheel array power matching demand value through power flow calculation; allocating actual demanded output power to each flywheel unit based on the Black Widow algorithm according to the flywheel array power matching demand value; inputting the actual demanded output power of each flywheel unit into the commanded output power prediction model to obtain the predicted commanded output power of each flywheel unit; and obtaining the actual output power of each flywheel unit based on the predicted commanded output power. In this way, power loss and lifespan loss of the flywheel array can be reduced, enabling collaborative optimization scheduling of flywheel array power matching, effectively improving grid stability and scheduling efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of physical energy storage technology, and further to the field of flywheel array energy storage, and particularly to a method and apparatus for power matching and collaborative optimization of flywheel arrays based on power loss. Background Technology

[0002] As the proportion of renewable energy generation in the power system gradually increases, higher demands are placed on the ability of the new power system to quickly and slightly adjust frequencies. Simultaneously, large-scale grid connection and use of renewable energy will affect the stability and reliability of the main grid to varying degrees. The application of large-capacity energy storage devices plays a crucial role in the safe and stable operation of the power grid and the improvement of power quality. Flywheel energy storage technology, as a novel physical energy storage technology, has advantages over traditional chemical batteries, including being pollution-free, having a long service life, and high energy density. Therefore, flywheel energy storage technology, with its rapid response and high power density, has been widely researched and applied in areas such as assisting thermal power unit frequency regulation and improving renewable energy consumption. However, the problem of reducing power loss and lifespan degradation during the operation of flywheel energy storage arrays has not yet been effectively solved. Summary of the Invention

[0003] This disclosure provides a method and apparatus for collaborative optimization of flywheel array power matching based on power loss.

[0004] According to a first aspect of this disclosure, a collaborative optimization method for power matching of flywheel arrays based on power loss is provided. The method includes:

[0005] Based on the commanded output power and actual output power of each flywheel unit, a commanded output power prediction model for each flywheel unit is constructed.

[0006] The power matching requirement value of the flywheel array is obtained through power flow calculation;

[0007] Based on the power matching requirement value of the flywheel array, the actual required output power is allocated to each flywheel unit according to the Black Widow algorithm;

[0008] The actual required output power of each flywheel unit is input into the command output power prediction model of each flywheel unit to obtain the predicted command output power of each flywheel unit.

[0009] The actual output power of each flywheel unit is obtained based on the predicted output power of each flywheel unit.

[0010] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein the step of constructing a command output power prediction model for each flywheel unit based on the commanded output power and actual output power of each flywheel unit includes:

[0011] Based on the dataset composed of the command output power and actual output power of each flywheel unit, the curves of actual output power and command output power are fitted using a multinomial regression algorithm.

[0012] Based on the actual output power-command output power curves, a command output power prediction model for each flywheel unit is constructed.

[0013] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein allocating the actual required output power to each flywheel unit based on the Black Widow algorithm according to the flywheel array power matching requirement value includes:

[0014] Based on the power matching requirement value of the flywheel array, obtain the total power loss of the flywheel array during operation;

[0015] The number of flywheels that receive power during flywheel array operation is taken as the flywheel array's lifespan loss.

[0016] With the optimization objectives of minimizing the total power loss and service life loss of the flywheel array during operation, a mathematical model for optimizing the power loss and service life loss of the flywheel array is established.

[0017] The Black Widow algorithm is used to solve the mathematical model for optimizing the power loss and lifespan loss of the flywheel array, and to allocate the actual required output power to each flywheel unit.

[0018] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein obtaining the total power loss of the flywheel array during operation based on the flywheel array power matching requirement value includes:

[0019] Calculate the command output power of the flywheel array based on the command output power of each individual flywheel;

[0020] Based on the command output power of the flywheel array and the power matching requirement value of the flywheel array, the total power loss of the flywheel array during operation is obtained.

[0021] As described above and in any possible implementation, a further implementation is provided, wherein the objective function f of the mathematical model for optimizing the power loss and lifespan loss of the flywheel array is:

[0022] min f=c1P loss_array +c2M

[0023] Among them, P loss_array is the total power loss during array operation, M is the number of flywheels in the flywheel array for power allocation, and c1 and c2 are weighting coefficients.

[0024] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein the optimization mathematical model for power loss and lifespan loss of the flywheel array based on the Black Widow algorithm, and the actual required output power is allocated to each flywheel unit, includes:

[0025] The optimal black widow position is obtained by solving the mathematical model for optimizing the power loss and lifespan loss of the flywheel array based on the black widow algorithm.

[0026] Based on the response flywheel corresponding to the optimal Black Widow position and the actual output power of the response flywheel, the actual required output power is allocated to each flywheel unit.

[0027] In addition to the aspects described above and any possible implementation, a further implementation is provided in which, if the difference between the actual output power and the actual required output power of a flywheel unit is not within a preset difference range, the command output power prediction model is modified.

[0028] According to a second aspect of this disclosure, a flywheel array power matching collaborative optimization device based on power loss is provided. The device includes:

[0029] The modeling module is used to construct a predictive model for the command output power of each flywheel unit based on the commanded output power and the actual output power of each flywheel unit.

[0030] The acquisition module is used to obtain the power matching requirement value of the flywheel array through power flow calculation;

[0031] The allocation module is used to allocate the actual required output power to each flywheel unit based on the power matching demand value of the flywheel array and the Black Widow algorithm.

[0032] The acquisition module is also used to input the actual required output power of each flywheel unit into the command output power prediction model of each flywheel unit to obtain the predicted command output power of each flywheel unit.

[0033] The output module is used to obtain the actual output power of each flywheel unit based on the predicted output power of each flywheel unit.

[0034] According to a third aspect of this disclosure, an electronic device is provided. The electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described above.

[0035] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the methods as described in the first and / or second aspects of this disclosure.

[0036] This disclosure first constructs a flywheel individual command output power prediction model using a dataset composed of commanded output power and actual output power. Secondly, by establishing flywheel energy storage access to the distribution network power flow matching model under different operating conditions, the power matching demand value of the flywheel array is obtained. Based on the flywheel array power matching demand value, the actual required output power is allocated to each flywheel individual unit using the Black Widow algorithm. This reduces the power loss and lifespan loss of the flywheel array, achieving collaborative optimization scheduling of flywheel array power matching, which can effectively improve grid stability and scheduling efficiency.

[0037] It should be understood that the description in the Summary of the Invention is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0038] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. The drawings are provided for a better understanding of the invention and are not intended to limit the scope of this disclosure. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0039] Figure 1 A flowchart of a flywheel array power matching collaborative optimization method based on power loss according to an embodiment of the present disclosure is shown;

[0040] Figure 2 A flowchart illustrating the collaborative scheduling process of a flywheel array according to an embodiment of the present disclosure is shown;

[0041] Figure 3 A flowchart illustrating a power allocation process based on the Black Widow algorithm according to an embodiment of the present disclosure is shown.

[0042] Figure 4 A block diagram of a flywheel array power matching cooperative optimization device based on power loss according to an embodiment of the present disclosure is shown;

[0043] Figure 5 A block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0045] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0046] In this disclosure, to reduce the power loss and lifespan loss of flywheel energy storage arrays during operation, a flywheel array power matching collaborative optimization method based on power loss is provided. This method utilizes a dataset composed of the commanded output power and actual output power of each flywheel unit, constructs a commanded output power prediction model based on multinomial regression theory, obtains the flywheel array power matching demand value through power flow calculation, and allocates power demand to each flywheel unit based on the Black Widow algorithm. This reduces the power loss and lifespan loss of the flywheel array, achieves collaborative optimization scheduling of flywheel array power matching, and effectively improves grid stability and scheduling efficiency.

[0047] Figure 1 A flowchart of a flywheel array power matching collaborative optimization method 100 based on power loss according to an embodiment of this disclosure is shown. Figure 1 As shown, method 100 includes:

[0048] S110, construct a prediction model for the commanded output power of each flywheel unit based on the commanded output power and the actual output power of each flywheel unit.

[0049] In some embodiments, based on the dataset consisting of the commanded output power and the actual output power of each flywheel unit, a multinomial regression algorithm can be used to fit the actual output power-command output power curves, and then command output power prediction models for each flywheel unit can be constructed based on the actual output power-command output power curves.

[0050] Specifically, constructing the command output power prediction model includes the following steps:

[0051] S111: Data collection: Collect the commanded output power and actual output power of the flywheel unit, with the actual output power of the flywheel unit as the independent variable x and the commanded output power as the dependent variable y;

[0052] The commanded output power and actual output power of the flywheel unit can be obtained in real time through an Internet of Things (IoT) monitoring system.

[0053] S112: Data Preparation: Preprocess the commanded output power and actual output power of the flywheel unit, divide the preprocessed data into training dataset and test dataset, and make it suitable for the requirements of the multinomial regression algorithm.

[0054] The preprocessing of the commanded output power and actual output power of the flywheel unit includes cleaning, processing and transforming the data. The purpose is to remove irrelevant data, duplicate data or smooth noise data in the commanded output power and actual output power, improve data quality, and standardize the data to transform it into a form suitable for multinomial regression algorithms.

[0055] S113: Model Selection: Select the hypothesis function h(x), which can be set as a polynomial:

[0056] h θ (x)=θ0+θ1x 1 +θ2x 2 +···+θ n x n

[0057] Where θ0,…,θ n These are the parameters to be estimated, i.e., the regression coefficients.

[0058] S114: Training the model: Fit the above polynomial function using the training dataset to determine the values ​​of the regression coefficients.

[0059] To avoid overfitting, regularization can be used to improve the model's performance and stability. Specifically, this includes the following steps:

[0060] S114.1: Constructing the cost function J

[0061]

[0062] Where m is the number of data pairs in the training dataset, x (i) y (i) Let be the actual output power and the command output power of the i-th data pair in the training dataset, respectively, and λ be the regularization parameter, which can control the choice between two different objectives.

[0063] S114.2: Gradient descent to determine the regression coefficients θ j

[0064]

[0065] Where α is the learning rate; θ j It is the (j+1)th regression coefficient.

[0066] S115: Test Model: Verify the accuracy of the above command output power prediction model based on the test dataset, and adjust the model parameters based on the verification results to improve the model's accuracy.

[0067] According to embodiments of this disclosure, this disclosure utilizes a dataset composed of the commanded output power and actual output power of each flywheel unit to construct a commanded output power prediction model for each flywheel unit based on multinomial regression theory. This model can not only fit complex nonlinear data, but also makes modeling simpler, faster, and more flexible. Furthermore, regularization is used to avoid model overfitting, which can effectively improve the performance and stability of the model.

[0068] S120 obtains the power matching requirement value of the flywheel array through power flow calculation.

[0069] In some embodiments, in order to obtain the power matching requirement value of the flywheel array, the historical data and real-time operation data of the power source, grid, load and storage included in the power grid of the region can be obtained by monitoring the Internet of Things monitoring system first. Then, the power matching situation of the flywheel array under typical scenarios can be analyzed based on the historical data and real-time operation data of the power source, grid, load and storage. Finally, the power matching requirement value of the flywheel array can be obtained by MATpower power flow calculation.

[0070] S130, based on the power matching requirement value of the flywheel array, allocate the actual required output power to each flywheel unit according to the Black Widow algorithm.

[0071] In some embodiments, in order to reduce the power loss and lifespan loss of the flywheel array, the total power loss during flywheel array operation can be obtained based on the power matching demand value of the flywheel array, and the number of flywheels that respond to the power allocation during flywheel array operation can be used as the lifespan loss of the flywheel array. With the minimum total power loss and minimum lifespan loss during flywheel array operation as the optimization objectives, a mathematical model for optimizing the power loss and lifespan loss of the flywheel array is established. The model is solved based on the Black Widow algorithm to obtain the actual power demand of each flywheel unit.

[0072] In constructing the mathematical model for optimizing the power loss and service life loss of a flywheel array, it is assumed that there are k flywheel units in the flywheel array. Given the power matching requirement of the flywheel array, the model considers the rated power limitation of each flywheel unit, and uses whether and how much power each flywheel unit outputs as decision variables. The optimization objectives are to minimize the total power loss and service life loss of the flywheel array. Specifically, the objective function f of the above model is:

[0073] min f=c1P loss_array +c2M;

[0074] Among them, P loss_array is the total power loss during array operation, M is the number of flywheels in the flywheel array for power allocation, and c1 and c2 are weighting coefficients.

[0075] Furthermore, P can be calculated based on the power loss of each individual flywheel unit. loss_array ,Right now:

[0076]

[0077] Among them, P loss_i The power loss of the i-th flywheel motor is:

[0078] P loss_i =P c_i -P a_i ;

[0079] Among them, P c_i P is the output power of the i-th flywheel. a_i Let be the actual output power of the i-th flywheel.

[0080]

[0081]

[0082] P c_i =h(P a_i );

[0083] in, P is the rated output power of the i-th flywheel; array The power demand value of the flywheel array is obtained from power flow calculation.

[0084] In some embodiments, the mathematical model for optimizing the power loss and lifespan loss of the flywheel array can be solved using a heuristic optimization algorithm—the Black Widow algorithm—to obtain the optimal position of the Black Widow spider. The response flywheel corresponding to the optimal position of the Black Widow spider and the actual output power of the response flywheel are then used as the actual required output power of each flywheel unit.

[0085] According to embodiments of this disclosure, by establishing a mathematical model to optimize the power loss and lifespan loss of the flywheel array, and by using the Black Widow algorithm to solve the model to allocate power requirements to each flywheel unit, the power loss and lifespan loss of the flywheel array are reduced, and the power matching and collaborative optimization scheduling of the flywheel array can be achieved.

[0086] S140: Input the actual required output power of each flywheel unit into the corresponding flywheel unit command output power prediction model to obtain the predicted command output power of each flywheel unit.

[0087] S150 obtains the actual output power of each flywheel unit based on the predicted output power of each flywheel unit.

[0088] In some embodiments, in order to ensure that the flywheel operates as planned and further reduce errors, the flywheel unit command output power prediction model can be corrected by the difference between the actual power output by each flywheel unit based on the predicted command output power and the allocated actual demand output power.

[0089] Specifically, such as Figure 2 As shown, if the difference between the actual output power of each flywheel unit and the actual required output power it is allocated to is within the preset range (-P to P), the flywheel can work according to the current predicted command output power. Otherwise, the flywheel unit command output power prediction model is corrected according to the difference.

[0090] According to the embodiments of this disclosure, the following technical effects are achieved:

[0091] (1) This disclosure utilizes a dataset consisting of the command output power and actual output power of each flywheel unit to construct a command output power prediction model based on multinomial regression theory. This model can not only fit complex nonlinear data, but also make modeling simpler, faster, and more flexible. Furthermore, regularization is used to avoid model overfitting, which can effectively improve the performance and stability of the model.

[0092] (2) By establishing a mathematical model for optimizing the power loss and lifespan loss of the flywheel array, and using the Black Widow algorithm to solve the model to allocate power requirements to each flywheel unit, the power loss and lifespan loss of the flywheel array are reduced, and the power matching and collaborative optimization scheduling of the flywheel array can be realized.

[0093] (3) The flywheel unit command output power prediction model is corrected based on the difference between the actual power output by each flywheel unit according to the predicted command output power and the actual demand output power allocated, which further reduces the error and improves the accuracy of the model.

[0094] The following is combined with Figure 3 This paper provides a detailed explanation of the process of solving the mathematical model for optimizing the power loss and lifespan loss of a flywheel array based on the Black Widow algorithm.

[0095] like Figure 3 As shown, the population is first initialized using the actual power allocated to each flywheel unit as the decision variable, and then the positions of each black widow spider are updated according to the position update formula:

[0096]

[0097] Among them, X i (t+1) represents the updated position of Black Widow, X best is the current optimal position for Black Widow; m is a random number between [0.4, 0.9]; β is a random number between [-1, 1]; X r1(t) represents the position of the r1th randomly selected Black Widow, X i (t) represents Black Widow's current position;

[0098] Furthermore, the pheromone rate values ​​for each black widow spider were calculated:

[0099]

[0100] Among them, fitness max and fitness min Let be the worst and best fitness function values, and fitness(i) be the fitness value obtained by the i-th Black Widow.

[0101] Furthermore, when the low pheromone rate value is equal to or less than 0.3, update the position of the black widow spider corresponding to the low pheromone rate value:

[0102]

[0103] Among them, X i (t) represents the location of a black widow with low pheromone levels within the female; r1 and r2 are the population sizes in the range [1, N]; X r1 and X r2 Let r1 and r2 be the positions of the r1th and r2th Black Widows, where r1 ≠ r2; σ is a random binary number {0, 1}.

[0104] With the optimization objectives of minimizing flywheel array power loss and lifespan loss, multiple iterations are performed to obtain the optimal position of the Black Widow Spider. The response flywheel corresponding to the optimal position of the Black Widow Spider and the actual output power of the response flywheel are taken as the actual required output power of each flywheel unit.

[0105] According to the embodiments of this disclosure, the following technical effects are achieved:

[0106] By establishing a mathematical model to optimize the power loss and lifespan loss of the flywheel array, and using the Black Widow algorithm to solve the model to allocate power requirements to each flywheel unit, the power loss and lifespan loss of the flywheel array are reduced, enabling power matching and collaborative optimization scheduling of the flywheel array.

[0107] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this disclosure.

[0108] The above is an introduction to the method embodiments. The following describes the solution described in this disclosure further through device embodiments.

[0109] Figure 4 A block diagram of a flywheel array power matching collaborative optimization device 400 based on power loss according to an embodiment of the present disclosure is shown. Figure 4 As shown, the device 400 includes:

[0110] Modeling module 410 is used to construct a predictive model of the command output power of each flywheel unit based on the commanded output power and the actual output power of each flywheel unit.

[0111] The acquisition module 420 is used to obtain the power matching requirement value of the flywheel array through power flow calculation;

[0112] The allocation module 430 is used to allocate the actual required output power to each flywheel unit based on the black widow algorithm according to the power matching requirement value of the flywheel array.

[0113] The acquisition module 420 is also used to input the actual required output power of each flywheel unit into the command output power prediction model of each flywheel unit to obtain the predicted command output power of each flywheel unit.

[0114] Output module 440 is used to obtain the actual output power of each flywheel unit based on the predicted output power of each flywheel unit.

[0115] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the described module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0116] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0117] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0118] Figure 5A schematic block diagram of an electronic device 500 that can be used to implement embodiments of the present disclosure 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 may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, 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 present disclosure described and / or claimed herein.

[0119] Electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in ROM 502 or a computer program loaded into RAM 503 from storage unit 508. RAM 503 can also store various programs and data required for the operation of electronic device 500. The computing unit 501, ROM 502, and RAM 503 are interconnected via bus 504. I / O interface 505 is also connected to bus 504.

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

[0121] The computing unit 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as method 100. For example, in some embodiments, method 100 may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform method 100 by any other suitable means (e.g., by means of firmware).

[0122] 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.

[0123] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0124] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. 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 fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0125] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device 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 computer. 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 voice input, speech input, or tactile input).

[0126] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments 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., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0127] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0128] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0129] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. 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 disclosure should be included within the scope of protection of this disclosure.

Claims

1. A flywheel array power matching collaborative optimization method based on power loss, characterized in that, include: Based on the commanded output power and actual output power of each flywheel unit, a commanded output power prediction model for each flywheel unit is constructed. The power matching requirement value of the flywheel array is obtained through power flow calculation; Based on the power matching requirement value of the flywheel array, the actual required output power is allocated to each flywheel unit according to the Black Widow algorithm; The actual required output power of each flywheel unit is input into the command output power prediction model of each flywheel unit to obtain the predicted command output power of each flywheel unit. The actual output power of each flywheel unit is obtained based on the predicted output power of each flywheel unit; The step of allocating the actual required output power to each flywheel unit based on the flywheel array power matching requirement value and the Black Widow algorithm includes: Based on the power matching requirement value of the flywheel array, obtain the total power loss of the flywheel array during operation; The number of flywheels that receive power during flywheel array operation is taken as the flywheel array's lifespan loss. With the optimization objectives of minimizing the total power loss and service life loss of the flywheel array during operation, a mathematical model for optimizing the power loss and service life loss of the flywheel array is established. The Black Widow algorithm is used to solve the optimization mathematical model of power loss and service life loss of the flywheel array, and to allocate the actual required output power to each flywheel unit. The step of obtaining the total power loss of the flywheel array during operation based on the power matching requirement value of the flywheel array includes: Calculate the command output power of the flywheel array based on the command output power of each individual flywheel; Based on the command output power of the flywheel array and the power matching requirement value of the flywheel array, the total power loss of the flywheel array during operation is obtained; The objective function f of the mathematical model for optimizing the power loss and lifespan loss of the flywheel array is: min f=c1 P loss_array +c2 M Among them, P loss_array is the total power loss during array operation, M is the number of flywheels in the flywheel array allocated to the response power, and c1 and c2 are weighting coefficients.

2. The method according to claim 1, characterized in that, The step of constructing a command output power prediction model for each flywheel unit based on the commanded output power and actual output power of each flywheel unit includes: Based on the dataset composed of the commanded output power and the actual output power of each flywheel unit, the curves of each actual output power and commanded output power are fitted using a multinomial regression algorithm. Based on the actual output power-command output power curves, a command output power prediction model for each flywheel unit is constructed.

3. The method according to claim 1, characterized in that, The mathematical model for optimizing flywheel array power loss and lifespan loss based on the Black Widow algorithm allocates the actual required output power to each flywheel unit, including: The optimal black widow position is obtained by solving the mathematical model for optimizing the power loss and lifespan loss of the flywheel array based on the black widow algorithm. Based on the response flywheel corresponding to the optimal Black Widow position and the actual output power of the response flywheel, the actual required output power is allocated to each flywheel unit.

4. The method according to claim 1, characterized in that, The method further includes: If the difference between the actual output power of a flywheel unit and the actual required output power is outside the preset difference range, then the command output power prediction model is corrected.

5. A flywheel array power matching collaborative optimization device based on power loss, characterized in that, include: The modeling module is used to construct a predictive model for the command output power of each flywheel unit based on the commanded output power and the actual output power of each flywheel unit. The acquisition module is used to obtain the power matching requirement value of the flywheel array through power flow calculation; The allocation module is used to allocate the actual required output power to each flywheel unit based on the power matching demand value of the flywheel array and the Black Widow algorithm. The acquisition module is also used to input the actual required output power of each flywheel unit into the command output power prediction model of each flywheel unit to obtain the predicted command output power of each flywheel unit. The output module is used to obtain the actual output power of each flywheel unit based on the predicted output power command of each flywheel unit; The step of allocating the actual required output power to each flywheel unit based on the flywheel array power matching requirement value and the Black Widow algorithm includes: Based on the power matching requirement value of the flywheel array, obtain the total power loss of the flywheel array during operation; The number of flywheels that receive power during flywheel array operation is taken as the flywheel array's lifespan loss. With the optimization objectives of minimizing the total power loss and service life loss of the flywheel array during operation, a mathematical model for optimizing the power loss and service life loss of the flywheel array is established. The Black Widow algorithm is used to solve the optimization mathematical model of power loss and service life loss of the flywheel array, and to allocate the actual required output power to each flywheel unit. The step of obtaining the total power loss of the flywheel array during operation based on the power matching requirement value of the flywheel array includes: Calculate the command output power of the flywheel array based on the command output power of each individual flywheel; Based on the command output power of the flywheel array and the power matching requirement value of the flywheel array, the total power loss of the flywheel array during operation is obtained; The objective function f of the mathematical model for optimizing the power loss and lifespan loss of the flywheel array is: min f=c1 P loss_array +c2 M Among them, P loss_array is the total power loss during array operation, M is the number of flywheels in the flywheel array allocated to the response power, and c1 and c2 are weighting coefficients.

6. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Power distribution strategy and system applied to flywheel energy storage array, terminal and medium

    CN115085231A