Power regulation method and device, equipment and storage medium
By building a power consumption prediction model, using historical weather and power consumption data to predict the future power consumption of the subgrid, and adjusting the energy storage system according to the threshold, the problem of inaccurate power regulation in the distributed energy storage system is solved and the power grid is improved. personalized adjustment capabilities.
Patent Information
- Application Number
- CN202410738296.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Existing distributed energy storage systems cannot perform voltage regulation and peak shaving on the subgrid in a personalized manner, resulting in insufficient precision in power regulation and inability to adapt to the individual needs of the subgrid.
By building a power consumption prediction model, using historical weather data and historical power consumption data, we can obtain future weather data of the subgrid to predict power consumption, and adjust the power of the energy storage subsystem based on the predicted power consumption and power consumption thresholds. .
It improves the accuracy of power regulation of the subgrid, meets the individual needs of the subgrid, and enhances the flexibility and adjustment capabilities of the power grid.
Smart Images

Figure CN118739362A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of power systems, and in particular to a power regulation method, apparatus, device, and storage medium. Background Art
[0002] The distributed energy storage system consists of multiple energy storage subsystems distributed in different geographical locations and a cloud server. Each energy storage subsystem includes an on-site controller and energy storage modules, and the on-site controller communicates with the cloud server through a wireless network. The cloud server issues control instructions based on the information collected by the data acquisition module provided by each energy storage subsystem. The on-site controller receives these instructions and controls the energy storage module through an industrial computer to store and output electrical energy. The distributed energy storage system realizes remote control of the energy storage module, gets rid of the limitations of site and access conditions, and improves the flexibility and regulation ability of the power grid through the unified scheduling of the cloud server and the rapid response of the on-site controller. However, the above-mentioned distributed energy storage systems are all for the entire power grid, and cannot perform voltage regulation and peak regulation on a certain sub-grid in a personalized manner. That is, when controlling the energy storage subsystem for power regulation, the data correlation with the sub-grid is low, resulting in insufficient accuracy of power regulation, and thus cannot adapt to the personalized needs of the sub-grid. Summary of the invention
[0003] The embodiments of the present invention provide a power regulation method, apparatus, device and storage medium, which are intended to solve the problem of inaccurate power regulation in existing distributed energy storage systems.
[0004] In a first aspect, an embodiment of the present invention provides a power regulation method, which is applied to a cloud server in a distributed energy storage system, wherein the distributed energy storage system includes the cloud server and a plurality of energy storage subsystems, each of which corresponds to a subgrid, and the method includes:
[0005] For each of the subgrids, obtaining future weather data of the area where the subgrid is located, inputting the future weather data into a power consumption prediction model to perform power consumption prediction to obtain predicted power consumption, wherein the power consumption prediction model is constructed based on historical weather data and historical power consumption data corresponding to the historical weather data;
[0006] The energy storage subsystem of the subgrid is powered by electricity according to the predicted power consumption and a power consumption threshold corresponding to the subgrid.
[0007] In a second aspect, an embodiment of the present invention further provides a power regulation device, which is applied to a cloud server in a distributed energy storage system, wherein the distributed energy storage system includes the cloud server and a plurality of energy storage subsystems, each of which corresponds to a subgrid, and the device includes:
[0008] A prediction unit, for obtaining, for each of the subgrids, future weather data of the area where the subgrid is located, and inputting the future weather data into a power consumption prediction model to perform power consumption prediction to obtain predicted power consumption, wherein the power consumption prediction model is constructed based on historical weather data and historical power consumption data corresponding to the historical weather data;
[0009] A regulating unit is used to regulate power of the energy storage subsystem of the subgrid according to the predicted power consumption and a power consumption threshold corresponding to the subgrid.
[0010] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0011] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.
[0012] The embodiment of the present invention provides a method, device, equipment and storage medium for power regulation. The method includes: for each sub-grid, obtaining future weather data of the area where the sub-grid is located, inputting the future weather data into a power consumption prediction model to predict power consumption and obtain predicted power consumption, wherein the power consumption prediction model is constructed based on historical weather data and historical power consumption data corresponding to the historical weather data; and regulating power of the energy storage subsystem of the sub-grid according to the predicted power consumption and the power consumption threshold corresponding to the sub-grid. The technical solution of the embodiment of the present invention first constructs a power consumption prediction model based on historical power consumption data and historical weather data, then obtains future weather data of the area where the sub-grid is located and inputs the future weather data into the power consumption prediction model to obtain predicted power consumption, and then regulates power of the energy storage subsystem according to the predicted power consumption and the power consumption threshold, and comprehensively considers the weather conditions that affect power consumption when regulating power, thereby improving the accuracy of power regulation of the sub-grid and further meeting the personalized needs of the sub-grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0014] Figure 1A schematic diagram of the structure of a distributed energy storage system provided by an embodiment of the present invention;
[0015] Figure 2 A schematic diagram of a flow chart of a power regulation method provided by an embodiment of the present invention;
[0016] Figure 3 A schematic diagram of a sub-process of a power regulation method provided by an embodiment of the present invention;
[0017] Figure 4 A schematic diagram of a sub-process of a power regulation method provided by an embodiment of the present invention;
[0018] Figure 5 is a flow chart of a power regulation method provided by another embodiment of the present invention;
[0019] Figure 6 A schematic block diagram of a power regulation device provided in an embodiment of the present invention;
[0020] Figure 7 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0023] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0024] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0025] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0026] For ease of understanding, the distributed energy storage system is first explained. Figure 1 The distributed energy storage system is composed of n energy storage subsystems distributed in different geographical locations and a cloud server, where n>2 and is an integer. The cloud server includes a scheduling module, one energy storage subsystem corresponds to one subgrid, and the energy storage subsystems are interconnected. Each of the energy storage subsystems includes a control module and an energy storage module. The control module communicates with the cloud server via a wireless network. The cloud server issues control instructions based on data provided by each of the energy storage subsystems. The control module receives the control instructions and controls the energy storage module to store and output electric energy.
[0027] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a power regulation method provided by an embodiment of the present invention. The power regulation method is described in detail below. Figure 2 As shown, the method includes the following steps S110-S120.
[0028] S110. For each of the subgrids, obtain future weather data for the area where the subgrid is located, input the future weather data into a power consumption prediction model to perform power consumption prediction to obtain predicted power consumption, wherein the power consumption prediction model is constructed based on historical weather data and historical power consumption data corresponding to the historical weather data.
[0029] In an embodiment of the present invention, the historical weather data of the area where the subgrid is located collected by the Internet of Things weather station is obtained, and the historical power consumption data corresponding to the historical weather data is obtained. The power consumption prediction model is constructed according to the historical weather data and the historical power consumption data. After the power consumption prediction model is constructed, for each subgrid, the future weather data of the area where the subgrid is located predicted by the Internet of Things weather station is obtained, and the future weather data is input into the power consumption prediction model for power prediction to obtain the predicted power consumption. The predicted power consumption is closely related to the weather conditions in the area where the subgrid is located, and is more in line with the personalized needs of the subgrid. It should be noted that in an embodiment of the present invention, the historical weather data and the historical power consumption data can be determined according to demand. For example, the historical weather data can be the weather data of each hour in the past day, or the weather data of each day in the past month; if the historical weather data is the weather data of each hour, the historical power consumption data is the power consumption of each hour under the weather data, and if the historical weather data is the weather data of each day, the historical power consumption data is the power consumption of each day under the weather data.
[0030] See also Figure 3 , Figure 3 Schematic diagram of a sub-process of the power regulation method provided by an embodiment of the present invention. Figure 3 As shown, the construction of the power consumption prediction model based on the historical weather data and the historical power consumption data corresponding to the historical weather data specifically includes steps S111-S112: S111, calculating the power consumption threshold and the target historical power consumption based on the historical power consumption data; S112, constructing the power consumption prediction model based on the historical weather data and the target historical power consumption.
[0031] Furthermore, if Figure 4 As shown, step S111 includes steps S1111-S1113:
[0032] S1111. Clean and reduce the dimension of the historical electricity usage data to obtain cleaned historical electricity usage data.
[0033] In an embodiment of the present invention, outliers, missing values and duplicate values in the historical electricity usage data are removed to ensure the quality of the historical electricity usage data, and then deep learning technology, such as an autoencoder, is used to perform dimensionality reduction processing on the cleaned historical electricity usage data to obtain the cleaned historical electricity usage data to improve the accuracy and efficiency of cluster analysis.
[0034] S1112: Use a clustering algorithm to perform cluster analysis on the historical cleaning power consumption data and calculate the power consumption threshold.
[0035] Furthermore, step S1112 is specifically as follows: using the K-means algorithm to determine two data points from the historical cleaning power consumption data as the first cluster center and the second cluster center, wherein the values of the first cluster center and the second cluster center represent the high power consumption mean and the low power consumption mean, respectively; and calculating the power consumption threshold based on the high power consumption mean and the low power consumption mean. Specifically, in an embodiment of the present invention, K=2, that is, the number of cluster centers is 2, that is, two data points are randomly determined as the first initial cluster center and the second initial cluster center according to the cleaning historical power consumption data, and then the algorithm is iterated with the first initial cluster center and the second initial cluster center until the cluster center no longer changes significantly or the number of iterations of the algorithm is reached, and finally the first cluster center and the second cluster center are determined, wherein the value of the first cluster center represents the high power consumption mean, and the value of the second cluster center represents the low power consumption mean; the middle value of the high power consumption mean and the low power consumption mean is calculated, and the middle value is used as the power consumption threshold. It can be understood that all power consumption greater than the power consumption threshold is judged as high power consumption, and all power consumption not greater than the power consumption threshold is judged as low power consumption.
[0036] S1113. Calculate the target historical power consumption using a preset formula according to the historical power consumption data of cleaning and the power consumption threshold. i The power consumption threshold is represented by L, and the target historical power consumption is represented by MA t Indicates, where Yi represents the power consumption at the i-th time point, MA t represents the power consumption at the t-th time point, i and t are both positive integers. Specifically, the preset formula is used to obtain the historical cleaning power consumption data Y i Calculate multiple target historical power consumption MAs t , wherein the preset formula is a moving average formula, and the moving average formula is shown in formula (1), where n represents the window size of the moving average, and n is a positive integer. In particular, if the absolute value of the difference between the power consumption at two consecutive time points in the cleaning history power consumption data is greater than two-thirds of the power consumption threshold L, then the power consumption at the tth time point is equal to the power consumption at the ith time point, that is, if Then t=1, at this time t≤n, MA t =Y i It should be noted that if the time point is in hours, that is, the cleaning history power consumption data Y i represents the power consumption in the ith hour of a certain day in the past, then the target historical power consumption MA tThe changing trend of is the changing trend of electricity consumption on this day; if the time point is in days, that is, the cleaning historical electricity consumption data Y i represents the electricity consumption on the i-th day in a certain month in the past, then the target historical electricity consumption MA t The changing trend of is the changing trend of electricity consumption in this month; similarly, the changing trend of electricity consumption in the past year can be obtained.
[0037]
[0038] In an embodiment of the present invention, the historical weather data includes different weather variables, such as temperature, humidity and wind speed. Step S112 is specifically as follows: solving the regression coefficients corresponding to the temperature, humidity and wind speed according to the historical weather data and the target historical power consumption; constructing the power consumption prediction model according to the temperature, humidity, wind speed and regression coefficients. For the convenience of description, the temperature, humidity and wind speed are represented as X1, X2 and X3 respectively. It should be noted that in this embodiment, only the influence of the temperature X1, humidity X2 and wind speed X3 on the power consumption is considered. In other embodiments of the present invention, the weather data may also include other weather variables that affect the power consumption. Specifically, according to the target historical power consumption MA t , the temperature X1, the humidity X2 and the wind speed X3, and the regression coefficient corresponding to the temperature X1, the humidity X2 and the wind speed X3 is calculated using formula (2), where X1, X2, X3...X n are different weather variables, β0, β1, β2, β3, ... β n is the regression coefficient corresponding to different weather variables, n is a positive integer, and ∈ is the error term. Solve for X n The corresponding β n Afterwards, the power consumption prediction model is constructed. The power consumption prediction model is shown in formula (3), where Y′ is the predicted power consumption.
[0039] MAt= β0+β1X1+β2X2+……+β n X n +∈ (2)
[0040] Y′= β0+β1X1+β2X2+β3X3+∈ (3)
[0041] S120. Regulate power of the energy storage subsystem of the subgrid according to the predicted power consumption and a power consumption threshold corresponding to the subgrid.
[0042] In an embodiment of the present invention, after obtaining the predicted power consumption and the power consumption threshold of the subgrid, the predicted power consumption and the power consumption threshold are compared. If the predicted power consumption is greater than the power consumption threshold, the energy storage subsystem of the subgrid is controlled to charge so that the energy storage subsystem stores electric energy, thereby improving the accuracy of power regulation. Specifically, the energy storage subsystem includes the control module and the energy storage module. For each of the subgrids, if the predicted power consumption is greater than the power consumption threshold, indicating that the predicted power consumption is the high power consumption, that is, the subgrid is about to usher in a peak period of power consumption at a certain moment in the future, a control instruction is sent to the energy storage subsystem of the subgrid. The control module in the energy storage subsystem receives the control instruction and controls the energy storage module to charge so that the energy storage module stores electric energy. When the peak period of power consumption comes, the energy storage module of the energy storage subsystem can be controlled to discharge quickly to provide additional power for the subgrid, thereby reducing the burden of traditional power plants and preventing voltage fluctuations. It should be noted that, in the embodiment of the present invention, the energy storage module may be charged by a traditional power plant, by an external power grid, or by other means that can provide electricity.
[0043] See also Figure 5 , Figure 5 FIG. 1 is a flow chart of a power regulation method provided by another embodiment of the present invention. Figure 5 As shown, the method includes the following steps S110-S140, and further includes steps S130-S140 after step S120.
[0044] S130, if the predicted power consumption is greater than the energy storage capacity of the energy storage subsystem, determining that the subgrid corresponding to the predicted power consumption is the target subgrid;
[0045] S140. Determine a scheduling subgrid from all the subgrids using a global optimization algorithm based on the predicted power consumption of each subgrid, the preset power transmission loss, and the energy storage capacity of the energy storage subsystem, and send a scheduling instruction to the scheduling subgrid so that the scheduling subgrid transmits power to the target subgrid.
[0046] In an embodiment of the present invention, if the predicted power consumption of a certain subgrid is greater than the energy storage capacity of the energy storage subsystem of the subgrid, indicating that the total electric energy that can be provided by the traditional power plant and the energy storage subsystem can no longer meet the power consumption of the subgrid at a certain moment in the future, the subgrid corresponding to the predicted power consumption is determined to be the target subgrid, and then a global optimization algorithm is used to determine the scheduling subgrid from all the subgrids based on the predicted power consumption of each subgrid, the preset power transmission loss and the energy storage capacity of the energy storage subsystem, and a scheduling instruction is sent to the scheduling subgrid so that the scheduling subgrid transmits electric energy to the target subgrid. Taking a certain subgrid as an example, the scheduling process is described in detail: Figure 1 As shown, the No. 1 energy storage subsystem of the No. 1 subgrid will monitor its own energy storage capacity and voltage fluctuation in real time. When the predicted power consumption of the No. 1 subgrid is greater than the energy storage capacity of the No. 1 energy storage subsystem, the No. 1 energy storage subsystem triggers the demand sending mechanism, and the control module of the No. 1 energy storage subsystem encapsulates the current voltage, current, the energy storage capacity and the predicted voltage fluctuation range into a power grid demand data packet, and encrypts the power grid demand data packet and sends it to the scheduling module of the cloud server. The scheduling module receives and parses the power grid demand data packet to obtain the power regulation demand, and then the cloud server uses a global optimization algorithm to minimize the voltage fluctuation and operating cost of the entire power grid according to the predicted power consumption of each subgrid, the preset power transmission loss and the energy storage capacity of the energy storage subsystem to generate a scheduling plan, that is, determine the scheduling subgrid from the No. 2 subgrid to the No. n subgrid. The scheduling module sends scheduling instructions and the power regulation requirements to the energy storage subsystem of the scheduling subgrid, and the control module in the energy storage subsystem of the scheduling subgrid receives the scheduling instructions and the power regulation requirements and controls the energy storage module to deliver electric energy to the target subgrid.
[0047] In summary, in an embodiment of the present invention, the power consumption prediction model is pre-constructed based on historical weather data and historical power consumption data corresponding to the historical weather data. For each of the sub-grids, the future weather data of the area where the sub-grid is located predicted by the IoT weather station is obtained, and the future weather data is input into the power consumption prediction model to predict the power consumption to obtain the predicted power consumption, and then the energy storage subsystem of the sub-grid is power-regulated according to the predicted power consumption and the power consumption threshold corresponding to the sub-grid. If the predicted power consumption of the target sub-grid is greater than the energy storage capacity of the energy storage subsystem of the target sub-grid, a global optimization algorithm is used to determine the dispatching sub-grid from all sub-grids based on the predicted power consumption of each sub-grid, the preset power transmission loss and the energy storage capacity of the energy storage subsystem, and a dispatching instruction is sent to the energy storage subsystem of the dispatching sub-grid. After receiving the dispatching instruction, the energy storage subsystem of the dispatching sub-grid transmits power to the target sub-grid. When predicting electricity consumption, the weather conditions that affect electricity consumption in each sub-grid are taken into account. For example, if the temperature in the future weather data of a sub-grid is high, especially when the temperature exceeds a certain value (such as 30 degrees Celsius), the predicted electricity consumption will increase significantly due to the large-scale use of refrigeration equipment such as air conditioners. At the same time, if the humidity is also at a high level, high humidity will reduce the thermal comfort of the human body, causing people to be more inclined to use refrigeration equipment, further exacerbating the increase in predicted electricity consumption. In addition, if the wind speed is low and the natural heat dissipation effect is not good, it will also increase the frequency and duration of use of refrigeration equipment, thereby increasing the predicted electricity consumption. Power regulation based on predicted power consumption improves the accuracy of power regulation and further meets the personalized needs of sub-grids.
[0048] Figure 6 is a schematic block diagram of a power conditioning device 200 provided in an embodiment of the present invention. Figure 6 As shown, corresponding to the above power regulation method, the present invention also provides a power regulation device 200. The power regulation device 200 includes a unit for executing the above power regulation method, and the device can be configured in a computer device. Figure 6 The power regulation device 200 includes a prediction unit 201 and a regulation unit 202 .
[0049] The prediction unit 201 is used to obtain future weather data of the area where each subgrid is located, and input the future weather data into a power consumption prediction model to predict power consumption and obtain predicted power consumption, wherein the power consumption prediction model is constructed based on historical weather data and historical power consumption data corresponding to the historical weather data; the regulation unit 202 is used to regulate power of the energy storage subsystem of the subgrid according to the predicted power consumption and the power consumption threshold corresponding to the subgrid.
[0050] In some embodiments, such as this embodiment, the prediction unit 201 includes a calculation unit and a model building unit.
[0051] Among them, the calculation unit is used to calculate the power consumption threshold and the target historical power consumption according to the historical power consumption data; the model construction unit is used to construct a power consumption prediction model according to the historical weather data and the target historical power consumption.
[0052] In some embodiments, such as this embodiment, the computing unit includes a cleaning unit, a clustering unit, and a first computing subunit.
[0053] Among them, the cleaning unit is used to clean and reduce the dimension of the historical power consumption data to obtain the cleaned historical power consumption data; the clustering unit is used to use a clustering algorithm to perform cluster analysis on the cleaned historical power consumption data and calculate the power consumption threshold; the first calculation subunit is used to calculate the target historical power consumption according to the cleaned historical power consumption data and the power consumption threshold using a preset formula.
[0054] In some embodiments, such as this embodiment, the clustering includes a clustering subunit and a second calculation subunit.
[0055] Among them, the clustering subunit is used to use the K-means algorithm to determine two data points as the first cluster center and the second cluster center from the historical cleaning power consumption data, wherein the values of the first cluster center and the second cluster center represent the high power consumption mean and the low power consumption mean, respectively; the second calculation subunit is used to calculate the power consumption threshold based on the high power consumption mean and the low power consumption mean.
[0056] In some embodiments, such as the present embodiment, the model building unit includes a solving unit and a model building sub-unit.
[0057] Among them, the solution unit is used to solve the regression coefficient corresponding to the temperature, the humidity and the wind speed according to the historical weather data and the target historical power consumption; the model construction subunit is used to construct the power consumption prediction model according to the temperature, the humidity, the wind speed and the regression coefficient.
[0058] In some embodiments, such as this embodiment, the adjustment unit 202 includes a comparison unit and a control unit.
[0059] Among them, the comparison unit is used to compare the predicted power consumption and the power consumption threshold; the control unit is used to control the energy storage subsystem of the subgrid to charge so that the energy storage subsystem stores electrical energy if the predicted power consumption is greater than the power consumption threshold.
[0060] In some embodiments, for example, in another embodiment, the power conditioning device 200 further includes a determination unit and a scheduling unit.
[0061] Among them, the determination unit is used to determine that the subgrid corresponding to the predicted power consumption is the target subgrid if the predicted power consumption is greater than the energy storage capacity of the energy storage subsystem; the scheduling unit is used to determine the scheduling subgrid from all the subgrids using a global optimization algorithm based on the predicted power consumption of each subgrid, the preset power transmission loss and the energy storage capacity of the energy storage subsystem, and send a scheduling instruction to the scheduling subgrid so that the scheduling subgrid transmits power to the target subgrid.
[0062] The above-mentioned power regulation device can be implemented in the form of a computer program. The computer program can be Figure 7 Runs on the computer device shown.
[0063] See also Figure 7 , Figure 7 300 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device 300 is a device with a power regulation function.
[0064] See also Figure 7 The computer device 300 includes a processor 302 , a memory and a network interface 305 connected via a system bus 301 , wherein the memory may include a non-volatile storage medium 303 and an internal memory 304 .
[0065] The non-volatile storage medium 303 may store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, the processor 302 may execute a power regulation method.
[0066] The processor 302 is used to provide computing and control capabilities to support the operation of the entire remote controller 300 .
[0067] The internal memory 304 provides an environment for the operation of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute a power regulation method.
[0068] The network interface 305 is used to communicate with other devices over the network. Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present invention, and does not constitute a limitation of the remote control 300 to which the scheme of the present invention is applied. The specific computer device 300 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0069] The processor 302 is used to run a computer program 3032 stored in the memory to implement any embodiment of the above power regulation method.
[0070] It should be understood that in the embodiment of the present invention, the processor 302 may be a central processing unit (CPU), and the processor 302 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0071] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0072] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor executes any embodiment of the above-mentioned power regulation method.
[0073] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0074] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0075] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0076] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0077] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a remote controller to execute all or part of the steps of the method described in each embodiment of the present invention.
[0078] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0079] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0080] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A power regulation method, applied to a cloud server in a distributed energy storage system, wherein the distributed energy storage system comprises the cloud server and a plurality of energy storage subsystems, each of which corresponds to a subgrid, characterized in that: include: For each of the subgrids, obtaining future weather data of the area where the subgrid is located, inputting the future weather data into a power consumption prediction model to perform power consumption prediction to obtain predicted power consumption, wherein the power consumption prediction model is constructed based on historical weather data and historical power consumption data corresponding to the historical weather data; The energy storage subsystem of the subgrid is powered by electricity according to the predicted power consumption and a power consumption threshold corresponding to the subgrid.
2. The method according to claim 1, characterized in that Constructing the power consumption prediction model according to historical weather data and historical power consumption data corresponding to the historical weather data includes: Calculate the power consumption threshold and the target historical power consumption according to the historical power consumption data; A power consumption prediction model is constructed based on the historical weather data and the target historical power consumption.
3. The method according to claim 2, characterized in that The calculating the power consumption threshold and the target historical power consumption according to the historical power consumption data includes: Cleaning and reducing the dimension of the historical electricity consumption data to obtain cleaned historical electricity consumption data; Using a clustering algorithm to perform cluster analysis on the historical cleaning power consumption data and calculate the power consumption threshold; The target historical power consumption is calculated using a preset formula according to the historical cleaning power consumption data and the power consumption threshold.
4. The method according to claim 3, characterized in that The adopting of a clustering algorithm to perform cluster analysis on the historical cleaning power consumption data and calculate the power consumption threshold includes: Using the K-means algorithm to determine two data points from the cleaning history power consumption data as a first cluster center and a second cluster center, wherein the values of the first cluster center and the second cluster center represent a high power consumption mean and a low power consumption mean, respectively; The power consumption threshold is calculated according to the high power consumption average and the low power consumption average.
5. The method according to claim 2, characterized in that: The historical weather data includes temperature, humidity and wind speed; and constructing a power consumption prediction model according to the historical weather data and the target historical power consumption includes: Solving the regression coefficients corresponding to the temperature, the humidity, and the wind speed according to the historical weather data and the target historical power consumption; The power consumption prediction model is constructed according to the temperature, the humidity, the wind speed and the regression coefficient.
6. The method according to claim 1, characterized in that The step of regulating the power of the energy storage subsystem of the subgrid according to the predicted power consumption and the power consumption threshold corresponding to the subgrid includes: Comparing the predicted power consumption with the power consumption threshold; If the predicted power consumption is greater than the power consumption threshold, the energy storage subsystem of the subgrid is controlled to be charged so that the energy storage subsystem stores electric energy.
7. The method according to claim 1, characterized in that After the power storage subsystem of the subgrid is adjusted according to the predicted power consumption and the power consumption threshold corresponding to the subgrid, the method further includes: If the predicted power consumption is greater than the energy storage capacity of the energy storage subsystem, determining that the subgrid corresponding to the predicted power consumption is the target subgrid; A scheduling subgrid is determined from all the subgrids using a global optimization algorithm based on the predicted power consumption of each subgrid, the preset power transmission loss, and the energy storage capacity of the energy storage subsystem, and a scheduling instruction is sent to the scheduling subgrid so that the scheduling subgrid transmits power to the target subgrid.
8. A power regulation device, applied to a cloud server in a distributed energy storage system, wherein the distributed energy storage system comprises the cloud server and a plurality of energy storage subsystems, each of which corresponds to a subgrid, characterized in that: include: A prediction unit, for obtaining, for each of the subgrids, future weather data of the area where the subgrid is located, and inputting the future weather data into a power consumption prediction model to perform power consumption prediction to obtain predicted power consumption, wherein the power consumption prediction model is constructed based on historical weather data and historical power consumption data corresponding to the historical weather data; A regulating unit is used to regulate power of the energy storage subsystem of the subgrid according to the predicted power consumption and a power consumption threshold corresponding to the subgrid.
9. A computer device, characterized in that: The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.
Citation Information
Patent Citations
Power regulation method and device based on big data, storage medium and electronic equipment
CN113222403A
Residential electricity consumption prediction method and system, and storage medium
CN113780660A
Real-time monitoring method and device for enterprise production state
CN116307886A
Power distribution method and system based on photovoltaic power generation, terminal and storage medium
CN116826714A
Intelligent power utilization method and system based on power internet of things
CN117036104A
