Battery management method and system based on peak load shifting technology

By constructing a battery working model and adjusting the battery status, the problem of insufficient power consumption in the battery management system during peak periods is solved, and the stability and cost optimization of the grid load are achieved.

CN119010151AActive Publication Date: 2024-11-22FANSHI TECHNOLOGY DEVELOPMENT CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411487191.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2024-11-22
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

When the existing battery management system uses peak-cutting and valley filling technology, charging only during the trough period is not enough to meet the electricity demand during the peak period of the day, resulting in the power grid still being overloaded during peak periods.

Method used

By obtaining battery historical data, grid real-time load and grid load history data, using BP neural network to build a battery working model, predict the battery status, and adjust the battery charging and discharge status based on the predicted data and real-time data to meet the whole day Electricity demand during peak periods.

Benefits of technology

It has achieved meeting the power demand for the power grid during peak periods, avoiding the overload of the power grid, and reducing the overall power cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010151A_ABST
    Figure CN119010151A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of battery management, and particularly discloses a battery management method and system based on a peak load shifting technology, and the method comprises the steps: obtaining the historical data of a battery, the real-time data of the battery, the real-time load of a power grid, and the historical data of the load of the power grid; the battery historical data comprises battery charging time, battery charging duration, battery discharging time and battery discharging duration; constructing a battery working model according to the battery historical data, the power grid load historical data and the BP neural network; obtaining battery prediction data by using the battery working model and the power grid real-time load; and comparing the battery prediction data with the battery real-time data, and adjusting the battery state according to a comparison result. According to the method, the battery historical data, the battery real-time data, the power grid real-time load and the power grid load historical data are acquired, then the model is constructed, and finally the working state of the battery is adjusted in real time, so that the power utilization demand of the peak period all day long can be met, and the power grid in the peak period is ensured not to be overloaded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery management, and in particular to a battery management method and system based on peak shaving and valley filling technology. Background Art

[0002] With the development of industry and the improvement of people's living standards, the load on electricity is getting bigger and bigger. In order to ensure people's electricity consumption for production and life and reduce the overall cost, the power system will use peak shaving and valley filling technology to adjust the power load. Peak shaving and valley filling technology is to reduce the power demand of users during the peak load period of the power grid and increase the power demand of users during the low period of the power grid, so as to reduce the peak load capacity of power generation equipment and improve the utilization rate of power generation equipment. However, the power system using peak shaving and valley filling technology will still operate overloaded.

[0003] Since the power plants are working as a whole, the electricity generated during off-peak hours cannot be used up, and the electricity generated during peak hours is not enough. Managers will store the excess electricity during off-peak hours in batteries, and release the stored electricity during peak hours, thereby further adjusting the load of the power system so that the power system will not be overloaded.

[0004] Existing batteries are usually only charged during the off-peak period. Although this can reduce the cost of use, when there are several peak periods of electricity consumption in a day, relying solely on charging during the off-peak period cannot meet the electricity demand, and the grid load during peak periods is still very large. Summary of the invention

[0005] The object of the present invention is to provide a battery management method and system based on peak shaving and valley filling technology to solve the problems raised in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions: A battery management method based on peak shaving and valley filling technology, the method comprising: Obtain battery historical data, battery real-time data, grid real-time load and grid load historical data. Battery historical data includes battery charging time, battery charging duration, battery discharge time and battery discharge duration; Construct a battery working model based on battery historical data, grid load historical data and BP neural network; Use battery operating model and real-time grid load to obtain battery prediction data; Compare the battery prediction data with the battery real-time data and adjust the battery status based on the comparison results.

[0007] As a further solution of the present invention: the step of constructing a battery working model based on battery historical data, grid load historical data and BP neural network includes: Randomly select part of the battery historical data and part of the grid load historical data as the training set, and the rest of the data as the test set; Substitute the training set into the BP neural network to obtain the initial battery working model; The test set is substituted into the initial battery working model. If the performance of the battery working model reaches the specified threshold, the initial battery working model is the battery working model. If the performance of the battery working model does not reach the specified threshold, the training set and the test set are re-divided until a battery working model that meets the requirements is obtained.

[0008] As a further solution of the present invention: the step of substituting the training set into the BP neural network to obtain the initial battery working model includes: Standardize the data of the training set to obtain standardized data; The standardized data is derived to obtain the transition edge signal, which is then substituted into the BP neural network for training to obtain the initial battery working model.

[0009] As a further solution of the present invention: the step of comparing the battery prediction data with the battery real-time data and adjusting the battery state according to the comparison result includes: Compare the battery prediction data with the battery real-time data to find the difference; The difference is substituted into the preset difference model for verification. If the verification result is passed, the battery state is not adjusted; if the verification result is not passed, the battery state is adjusted.

[0010] The technical solution of the present invention also provides a battery management system based on peak shaving and valley filling technology, the system comprising: A data acquisition module, used to acquire battery historical data, battery real-time data, grid real-time load and grid load historical data. The battery historical data includes battery charging time, battery charging duration, battery discharging time and battery discharging duration; Model building module, used to build a battery working model based on battery historical data, grid load historical data and BP neural network; A generation module for obtaining battery prediction data using a battery operating model and real-time grid load; The adjustment module is used to compare the battery prediction data with the battery real-time data and adjust the battery status according to the comparison result.

[0011] As a further solution of the present invention: the model building module includes: An allocation unit, used for randomly selecting part of the battery historical data and part of the grid load historical data as a training set, and the rest of the data as a test set; The initial generation unit is used to substitute the training set into the BP neural network to obtain the initial battery working model; The final generation unit is used to substitute the test set into the initial battery working model. If the performance of the battery working model reaches a specified threshold, the initial battery working model is the battery working model. If the performance of the battery working model does not reach the specified threshold, the training set and the test set are re-divided until a battery working model that meets the requirements is obtained.

[0012] As a further solution of the present invention: the initial generation unit includes: A standardization unit is used to standardize the data of the training set to obtain standardized data; The first generating unit is used to derive the standardized data to obtain a jump edge signal, substitute the jump edge signal into the BP neural network for training, and obtain an initial battery working model.

[0013] As a further solution of the present invention: the adjustment module includes: A comparison unit is used to compare the battery prediction data with the battery real-time data to obtain the difference; The adjustment unit is used to substitute the difference into a preset difference model for verification. If the verification result is passed, the battery state is not adjusted; if the verification result is not passed, the battery state is adjusted.

[0014] Compared with the prior art, the beneficial effects of the present invention are: the present invention obtains battery historical data, battery real-time data, power grid real-time load and power grid load historical data, and then constructs a model, and finally adjusts the working status of the battery in real time, which can meet the peak power demand throughout the day and ensure that the power grid will not be overloaded during the peak period. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.

[0016] Figure 1 The figure is a flowchart of a battery management method based on peak shaving and valley filling technology.

[0017] Figure 2 This is a second sub-process flowchart of the battery management method based on the peak shaving and valley filling technology.

[0018] Figure 3 This is a fourth sub-process flowchart of the battery management method based on the peak shaving and valley filling technology.

[0019] Figure 4 This is a structural block diagram of a battery management system based on peak shaving and valley filling technology.

[0020] Figure 5 This is a structural block diagram of the model building modules in the battery management system based on peak shaving and valley filling technology.

[0021] Figure 6 This is a structural block diagram of the composition of the adjustment module in the battery management system based on peak shaving and valley filling technology. DETAILED DESCRIPTION

[0022] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0023] Embodiment 1: Figure 1 The flowchart of the battery management method based on the peak shaving and valley filling technology is as follows. In an embodiment of the present invention, a battery management method based on the peak shaving and valley filling technology includes: Obtain battery historical data, battery real-time data, grid real-time load and grid load historical data. Battery historical data includes battery charging time, battery charging duration, battery discharge time and battery discharge duration; The grid load usually includes peak period, flat period and trough period. The flat period means that the power generated by the grid is similar to the grid load. The peak period means that the grid load is very large. At this time, the battery needs to discharge to reduce the grid load. The trough period means that the grid load is very small and the power generated by the grid is much more than the grid load. At this time, the remaining power can be used to charge the battery. The battery charging time indicates the time when the battery starts to charge. At this time, the grid load is usually small and the grid has excess power to charge the battery. The battery charging time is the time from the beginning of charging to the end of charging. During this period, the power generated by the grid is more than the grid load. The grid discharge time indicates the time when the battery starts to discharge. At this time, the grid load is usually large and the battery needs to discharge to reduce the grid load. The battery discharge time is the time from the beginning of discharging to the end of discharging. During this period, the power generated by the grid is less than the grid load. The real-time battery data is the working status of the battery at this time, whether it is charging, discharging, or neither charging nor discharging. The historical data of the grid load is the curve composed of the time and load of the grid, which can clearly show the working status of the grid at any time, and is convenient for summarizing the start time and duration of the peak and trough periods.

[0024] Construct a battery working model based on battery historical data, grid load historical data and BP neural network; BP neural network is one of the most successful neural networks at present. It performs error analysis based on the obtained results and the expected results each time, and then modifies the weights and thresholds, so as to obtain a model whose output results are consistent with the expected results step by step. It is usually divided into an input layer, a hidden layer and an output layer. The battery historical data and the grid load historical data are the input layer, and the battery working model finally obtained is the output layer. The BP neural network is used in the present invention because the technology is mature, and it will not be listed here one by one.

[0025] Use battery operating model and real-time grid load to obtain battery prediction data; This step usually involves inputting the real-time load of the power grid into the battery working model, training the real-time load of the power grid based on the battery working model, and obtaining an idealized battery working state, that is, battery prediction data.

[0026] Compare the battery prediction data with the battery real-time data and adjust the battery status based on the comparison results.

[0027] By comparing the idealized battery working state with the actual battery working state, and adding some constraints, such as the current electricity price, minimization of comprehensive cost and other constraints, we can make a decision on whether the current battery working state needs to be adjusted and execute it according to the decision. For example, charging the battery during the trough period is when the electricity price is the lowest, but there may be several peak periods in a day. Charging only during the trough period may not necessarily meet the usage demand. It is preferred to charge the battery during all trough periods, and the battery also needs to be charged during the flat period. This can meet the usage demand of several peak periods and ensure the stability of the power system. At this time, the comprehensive electricity cost is the lowest.

[0028] Figure 2 The second sub-flow chart of the battery management method based on the peak shaving and valley filling technology, wherein the steps of constructing a battery working model based on battery historical data, grid load historical data and BP neural network include: Randomly select part of the battery historical data and part of the grid load historical data as the training set, and the rest of the data as the test set; The training set is used for model training, and the test set is used for model verification. Randomly dividing the two can make the generated model closer to the commonality of all data.

[0029] Substitute the training set into the BP neural network to obtain the initial battery working model.

[0030] The training set data is substituted into the BP neural network, and a model is obtained through iteration. Then the model is corrected with the data, and then the model is corrected according to the correction results. After continuous iteration and correction, until the performance meets the requirements, the initial battery working model can be obtained. For example, the entire training process is as follows: / / AnnClassifier.java package com.jingchen.ann; import java.util.ArrayList; import java.util.List; / ** * Artificial neural network classifier * * @author chenjing * * / public class AnnClassifier { private int mInputCount; private int mHiddenCount; private int mOutputCount; private List <networknode>mInputNodes; private List <networknode>mHiddenNodes; private List <networknode>mOutputNodes; private float[][] mInputHiddenWeight; private float[][] mHiddenOutputWeight; private List <datanode>trainNodes; public void setTrainNodes(List <datanode>trainNodes) { this.trainNodes = trainNodes; } public AnnClassifier(int inputCount, int hiddenCount, intoutputCount) { trainNodes = new ArrayList <datanode>(); mInputCount = inputCount; mHiddenCount = hiddenCount; mOutputCount = outputCount; mInputNodes = new ArrayList <networknode>(); mHiddenNodes = new ArrayList <networknode>(); mOutputNodes = new ArrayList <networknode>(); mInputHiddenWeight = new float[inputCount][hiddenCount]; mHiddenOutputWeight = new float[mHiddenCount][mOutputCount]; } / ** * Update the weights. The gradient of each weight is equal to the output of the previous layer node connected to it multiplied by the output of the back propagation of the next layer connected to it. * / private void updateWeights(float eta) { / / Update the weight matrix from input layer to hidden layer for (int i = 0; i < mInputCount; i++) for (int j = 0; j < mHiddenCount; j++) mInputHiddenWeight[i][j] -= eta * mInputNodes.get(i).getForwardOutputValue() * mHiddenNodes.get(j).getBackwardOutputValue(); / / Update the weight matrix from hidden layer to output layer for (int i = 0; i < mHiddenCount; i++) for (int j = 0; j < mOutputCount; j++) mHiddenOutputWeight[i][j] -= eta * mHiddenNodes.get(i).getForwardOutputValue() * mOutputNodes.get(j).getBackwardOutputValue(); } / ** * Forward propagation * / private void forward(List <float>list) { / / Input layer for (int k = 0; k < list.size(); k++) mInputNodes.get(k).setForwardInputValue(list.get(k)); / / Hidden layer for (int j = 0; j < mHiddenCount; j++) { float temp = 0; for (int k = 0; k < mInputCount; k++) temp += mInputHiddenWeight[k][j] * mInputNodes.get(k).getForwardOutputValue(); mHiddenNodes.get(j).setForwardInputValue(temp); } / / Output layer for (int j = 0; j < mOutputCount; j++) { float temp = 0; for (int k = 0; k < mHiddenCount; k++) temp += mHiddenOutputWeight[k][j] * mHiddenNodes.get(k).getForwardOutputValue(); mOutputNodes.get(j).setForwardInputValue(temp); } } / ** * Backpropagation * / private void backward(int type) { / / Output layer for (int j = 0; j < mOutputCount; j++) { / / The output layer calculates the error and propagates the error backwards. Here, -1 means it does not belong to the class, and 1 means it belongs to the class. float result = -1; if (j == type) result = 1; mOutputNodes.get(j).setBackwardInputValue( mOutputNodes.get(j).getForwardOutputValue() -result); } / / Hidden layer for (int j = 0; j < mHiddenCount; j++) { float temp = 0; for (int k = 0; k < mOutputCount; k++) temp += mHiddenOutputWeight[j][k] * mOutputNodes.get(k).getBackwardOutputValue(); } } public void train(float eta, int n) { reset(); for (int i = 0; i < n; i++) { for (int j = 0; j < trainNodes.size(); j++) { forward(trainNodes.get(j).getAttribList()); backward(trainNodes.get(j).getType()); updateWeights(eta); } } } / ** * Initialize * / private void reset() { mInputNodes.clear(); mHiddenNodes.clear(); mOutputNodes.clear(); for (int i = 0; i < mInputCount; i++) mInputNodes.add(new NetworkNode(NetworkNode.TYPE_INPUT)); for (int i = 0; i < mHiddenCount; i++) mHiddenNodes.add(new NetworkNode(NetworkNode.TYPE_HIDDEN)); for (int i = 0; i < mOutputCount; i++) mOutputNodes.add(new NetworkNode(NetworkNode.TYPE_OUTPUT)); for (int i = 0; i < mInputCount; i++) for (int j = 0; j < mHiddenCount; j++) mInputHiddenWeight[i][j] = (float) (Math.random() * 0.1); for (int i = 0; i < mHiddenCount; i++) for (int j = 0; j < mOutputCount; j++) mHiddenOutputWeight[i][j] = (float) (Math.random() * 0.1); } public int test(DataNode dn) { forward(dn.getAttribList()); float result = 2; int type = 0; / / Take the one closest to 1 for (int i = 0; i < mOutputCount; i++) if ((1 - mOutputNodes.get(i).getForwardOutputValue()) <result) { result = 1 - mOutputNodes.get(i).getForwardOutputValue(); type = i; } return type; } }.

[0031] Substitute the test set into the initial battery working model. If the performance of the battery working model reaches the specified threshold, the initial battery working model is the battery working model. If the performance of the battery working model does not reach the specified threshold, the training set and the test set are re-divided until a battery working model that meets the requirements is obtained. This step is to verify the generated initial battery working model. The data of the test set is substituted into the initial battery working model to obtain the verification result, and then the verification result is compared with the preset rules. If the verification result meets the requirements of the preset rules, it indicates that the model performance reaches the specified threshold. The initial battery working model obtained at this time can be used as the battery working model. If the verification result does not meet the requirements of the preset rules, it means that the performance of the model has not met the requirements, that is, this model is unqualified, and it is necessary to randomly re-divide the training set and test set, and then generate a new initial battery working model, and then verify it again, and repeat the cycle until a model that meets the performance requirements is obtained.

[0032] The step of substituting the training set into the BP neural network to obtain the initial battery working model includes: Standardize the data of the training set to obtain standardized data; Standardization processing usually involves converting the original data in a certain proportion through certain mathematical transformations, so that it falls into a small specific interval, eliminating the differences in characteristic attributes such as properties, dimensions, and orders of magnitude between different variables, and converting it into a dimensionless relative value, that is, a standardized value, so that the values ​​of each indicator are at the same order of magnitude, thereby facilitating comprehensive analysis and comparison of indicators of different units or orders of magnitude. It is preferred here to use the range standardization method for dimensionless processing in order to eliminate the influence of dimensions, variable variation itself, and numerical size, and to compare the relative effects of different variables. The specific steps are as follows: First, you need to find the maximum value (Xmax) and minimum value (Xmin) of the indicator, and calculate the range (R = Xmax - Xmin), then subtract the minimum value (Xmin) from each observed value (X) of the variable, and then divide it by the range (R), that is: X' = (X-Xmin) / (Xmax-Xmin); after the range standardization method is used, regardless of whether the original data is positive or negative, the numerical variation range of each observed value of the variable satisfies 0≤X'≤1, and both the positive and negative indicators can be converted into positive indicators with the same direction of action. However, if new data is added, it may cause the maximum value (Xmax) and the minimum value (Xmin) to change, so it is necessary to redefine and recalculate the range (R). After the range standardization of the training set data, it is convenient for subsequent training, reducing the workload and error rate.

[0033] The standardized data is derived to obtain the transition edge signal, which is then substituted into the BP neural network for training to obtain the initial battery working model.

[0034] By deriving the standardized data and obtaining the transition edge signal, the change of the standardized data can be determined, that is, the slope of the curve formed by the standardized data, thereby further verifying that the change of the standardized data is not large. Then, the transition edge signal is substituted into the BP neural network for training to obtain the initial battery working model.

[0035] Figure 3 The fourth sub-flow chart of the battery management method based on the peak shaving and valley filling technology, wherein the step of comparing the battery prediction data with the battery real-time data and adjusting the battery state according to the comparison result includes: Compare the battery prediction data with the battery real-time data to find the difference; The battery prediction data is only the working state that the battery should have under ideal conditions. The actual working state of the battery is compared with the working state of the battery under ideal conditions to obtain the difference, which is a function of the battery charging state, the battery discharging state and the corresponding weights. The difference is P, P={a1x1, a2x2, a3x3}, where a1 is the probability of the battery charging state, x1 is the weight coefficient of the battery charging state, a2 is the probability of the battery discharging state, x2 is the weight coefficient of the battery discharging state, a3 is the probability of the state of neither charging nor discharging, and x3 is the weight coefficient of the state of neither charging nor discharging. These together form the difference P, which ranges from 0 to 1. The closer to 0, the smaller the difference between the two, especially when P is 0, it indicates complete consistency.

[0036] The difference is substituted into the preset difference model for verification. If the verification result is passed, the battery state is not adjusted; if the verification result is not passed, the battery state is adjusted.

[0037] The difference model is pre-set. This difference model is established by considering factors such as the battery life, the cost of battery charging, the grid load that meets the whole day, and the battery capacity. The difference is substituted into the difference model to obtain the verification result. For example, the real-time state of the battery in the flat period is neither charging nor discharging, but when the sum of the load of the grid in all peak periods is greater than the power of the battery charging in all valley periods and the sum of the power generated by the grid in all peak periods, the difference at this time cannot meet the difference model, and the verification result is failure, and the battery needs to be adjusted to the charging state. When the sum of the load of the grid in all peak periods is less than or equal to the power of the battery charging in all valley periods and the sum of the power generated by the grid in all peak periods, the difference at this time can meet the difference model, the verification is passed, and the battery maintains the current working state. Moreover, when the difference is substituted into the difference model, if the verification fails and the state that needs to be adjusted exceeds a certain degree (an adjustment coefficient is preset, and different failure degrees correspond to different adjustment coefficients), such as the battery in the discharge state needs to be adjusted to the charging state or the battery in the charging state needs to be adjusted to the discharge state, this adjustment coefficient is very large, and a warning message will be generated, so that the manager can check the entire process to see if there is a major equipment failure. When a battery in a charging state is adjusted to a non-charging and non-discharging state, or a battery in a discharging state is adjusted to a non-charging and non-discharging state, the adjustment coefficient is relatively small.

[0038] Embodiment 2: Figure 4 The structure block diagram of a battery management system based on peak shaving and valley filling technology is shown in the figure. In an embodiment of the present invention, a battery management system based on peak shaving and valley filling technology includes: A data acquisition module, used to acquire battery historical data, battery real-time data, grid real-time load and grid load historical data. The battery historical data includes battery charging time, battery charging duration, battery discharging time and battery discharging duration; Model building module, used to build a battery working model based on battery historical data, grid load historical data and BP neural network; A generation module for obtaining battery prediction data using a battery operating model and real-time grid load; The adjustment module is used to compare the battery prediction data with the battery real-time data and adjust the battery status according to the comparison result.

[0039] The model building module includes: An allocation unit, used for randomly selecting part of the battery historical data and part of the grid load historical data as a training set, and the rest of the data as a test set; The initial generation unit is used to substitute the training set into the BP neural network to obtain the initial battery working model; The final generation unit is used to substitute the test set into the initial battery working model. If the performance of the battery working model reaches a specified threshold, the initial battery working model is the battery working model. If the performance of the battery working model does not reach the specified threshold, the training set and the test set are re-divided until a battery working model that meets the requirements is obtained.

[0040] The initial generation unit comprises: A standardization unit is used to standardize the data of the training set to obtain standardized data; The first generating unit is used to derive the standardized data to obtain a jump edge signal, substitute the jump edge signal into the BP neural network for training, and obtain an initial battery working model.

[0041] The adjustment module comprises: A comparison unit is used to compare the battery prediction data with the battery real-time data to obtain the difference; The adjustment unit is used to substitute the difference into a preset difference model for verification. If the verification result is passed, the battery state is not adjusted; if the verification result is not passed, the battery state is adjusted.

[0042] The functions that can be achieved by the battery management method based on peak shaving and valley filling technology are all completed by a computer device, and the computer device includes one or more processors and one or more memories, and at least one program code is stored in the one or more memories. The program code is loaded and executed by the one or more processors to achieve the functions of the user behavior prediction method based on big data.

[0043] The processor takes out instructions from the memory one by one, analyzes the instructions, and then completes the corresponding operations according to the instruction requirements, generating a series of control commands, so that the various parts of the computer can automatically, continuously and coordinately move to become an organic whole, realize the input of programs, the input of data, and the calculation and output of results. The arithmetic operations or logical operations generated in this process are all completed by the operator; the memory includes a read-only memory (ROM), which is used to store computer programs, and a protection device is provided outside the memory.

[0044] Exemplarily, the computer program may be divided into one or more modules, one or more modules are stored in a memory and executed by a processor to implement the present invention. One or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in a terminal device.

[0045] Those skilled in the art will understand that the description of the above service equipment is merely an example and does not constitute a limitation on the terminal equipment. It may include more or fewer components than described above, or a combination of certain components, or different components, for example, it may include input and output devices, network access equipment, buses, etc.

[0046] The processor may be a central processing unit (CPU), 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. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire user terminal.

[0047] The above-mentioned memory can be used to store computer programs and / or modules. The above-mentioned processor realizes various functions of the above-mentioned terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as an information collection template display function, a product information release function, etc.), etc.; the data storage area can store data created according to the use of the berth status display system (such as product information collection templates corresponding to different product types, product information that different product providers need to release, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0048] If the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the modules / units in the above-mentioned embodiment system, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can realize the functions of the above-mentioned various system embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media can include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0049] It should be noted that, in this article, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0050] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.< / float> < / networknode> < / networknode> < / networknode> < / datanode> < / datanode> < / datanode> < / networknode> < / networknode> < / networknode>

Claims

1. A battery management method based on peak shaving and valley filling technology, It is characterized in that The method comprises: Obtain battery historical data, battery real-time data, grid real-time load and grid load historical data. Battery historical data includes battery charging time, battery charging duration, battery discharge time and battery discharge duration; Construct a battery working model based on battery historical data, grid load historical data and BP neural network; Use battery operating model and real-time grid load to obtain battery prediction data; Compare the battery prediction data with the battery real-time data and adjust the battery status based on the comparison results.

2. The battery management method based on peak shaving and valley filling technology according to claim 1, It is characterized in that The steps of constructing a battery working model based on battery historical data, grid load historical data and BP neural network include: Randomly select part of the battery historical data and part of the grid load historical data as the training set, and the rest of the data as the test set; Substitute the training set into the BP neural network to obtain the initial battery working model; The test set is substituted into the initial battery working model. If the performance of the battery working model reaches the specified threshold, the initial battery working model is the battery working model. If the performance of the battery working model does not reach the specified threshold, the training set and the test set are re-divided until a battery working model that meets the requirements is obtained.

3. The battery management method based on peak shaving and valley filling technology according to claim 2, It is characterized in that The step of substituting the training set into the BP neural network to obtain the initial battery working model includes: Standardize the data of the training set to obtain standardized data; The standardized data is derived to obtain the transition edge signal, which is then substituted into the BP neural network for training to obtain the initial battery working model.

4. The battery management method based on peak shaving and valley filling technology according to claim 1, It is characterized in that The step of comparing the battery prediction data with the battery real-time data and adjusting the battery state according to the comparison result includes: Compare the battery prediction data with the battery real-time data to find the difference; The difference is substituted into the preset difference model for verification. If the verification result is passed, the battery state is not adjusted; if the verification result is not passed, the battery state is adjusted.

5. A battery management system based on peak load shaving and valley filling technology, It is characterized in that The system comprises: A data acquisition module, used to acquire battery historical data, battery real-time data, grid real-time load and grid load historical data. The battery historical data includes battery charging time, battery charging duration, battery discharging time and battery discharging duration; Model building module, used to build a battery working model based on battery historical data, grid load historical data and BP neural network; A generation module for obtaining battery prediction data using a battery operating model and real-time grid load; The adjustment module is used to compare the battery prediction data with the battery real-time data and adjust the battery status according to the comparison result.

6. The battery management system based on peak shaving and valley filling technology according to claim 5, It is characterized in that The model building module includes: An allocation unit, used for randomly selecting part of the battery historical data and part of the grid load historical data as a training set, and the rest of the data as a test set; The initial generation unit is used to substitute the training set into the BP neural network to obtain the initial battery working model; The final generation unit is used to substitute the test set into the initial battery working model. If the performance of the battery working model reaches a specified threshold, the initial battery working model is the battery working model. If the performance of the battery working model does not reach the specified threshold, the training set and the test set are re-divided until a battery working model that meets the requirements is obtained.

7. The battery management system based on peak shaving and valley filling technology according to claim 6, It is characterized in that The initial generation unit comprises: A standardization unit is used to standardize the data of the training set to obtain standardized data; The first generating unit is used to derive the standardized data to obtain a jump edge signal, substitute the jump edge signal into the BP neural network for training, and obtain an initial battery working model.

8. The battery management system based on peak shaving and valley filling technology according to claim 5, It is characterized in that The adjustment module comprises: A comparison unit is used to compare the battery prediction data with the battery real-time data to obtain the difference; The adjustment unit is used to substitute the difference into a preset difference model for verification. If the verification result is passed, the battery state is not adjusted; if the verification result is not passed, the battery state is adjusted.

Citation Information

Patent Citations

  • Energy storage station scheduling control method for realizing peak-clipping and valley-filling of load power of power distribution network

    CN107248751A

  • Power grid peak clipping and valley filling method based on industrial power utilization database and distribution transformer heavy load and overload prediction

    CN107784455A

  • Source-load-storage resource aggregation control gateway device and load and output prediction method

    CN115314343A

  • Battery safety management method based on neural network algorithm

    CN117590266A

  • Steam energy storage equipment group regulation and control method and equipment

    CN117977646A