Optimal power control method based on peak-valley expectation and load
By adopting the optimal power regulation method based on peak and valley expectations and load in the microgrid, and using the power consumption curve and the power supply and demand difference to calculate the distribution weight coefficient, the adaptive allocation of power storage is realized, and the instability of power supply in the microgrid is solved Problem, reducing costs and improving power supply stability.
Patent Information
- Application Number
- CN202410989085.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-07-23
AI Technical Summary
The power supply energy storage configuration plan in the microgrid is difficult to adjust in a timely manner, resulting in surplus and insufficient power supply capacity and instability.
The optimal power regulation method based on peak and valley expectations and load is adopted. By constructing the power consumption curve of the microgrid, the allocation weight coefficient is calculated, and the power is optimally regulated according to the supply and demand power difference, so as to realize the adaptive distribution of power storage.
It reduces the instability of internal power supply of microgrids, reduces unnecessary investment in energy storage equipment, reduces costs, and ensures the stability of power supply.
Smart Images

Figure CN118523396B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power storage configuration, and in particular to an optimal power control method based on peak-valley expectations and load. Background Art
[0002] Peak-valley expectation and dynamic electricity price refers to a mechanism in the electricity market that adjusts electricity demand and supply by setting electricity prices at different times. The purpose of this mechanism is to more effectively utilize electricity resources, reduce the fluctuation of grid load, and thus reduce the operating cost of the entire power system.
[0003] Microgrid refers to a small power system composed of distributed power sources, power loads, power distribution facilities, monitoring and protection devices, etc. For example, the application document with application publication number CN104283308A discloses a microgrid intelligent central strategy control system, including: a microgrid electrical system and a microgrid strategy control system, the microgrid electrical system includes: a distributed power generation unit, an energy storage unit, an environmental monitoring unit, a simulated load unit, an actual load unit, a communication network unit, and a central strategy control unit; the microgrid strategy control system includes: an information collection unit and a central control processing unit.
[0004] The energy storage unit in the microgrid is set as a battery. When there is an excess supply of electricity, the excess electricity can be stored in the battery. When the electricity demand increases, these batteries can release the stored energy to meet user needs.
[0005] In the prior art, during the process of power interaction between multiple power sources in a microgrid, the configuration scheme of power storage needs to be regularly evaluated and adjusted according to the actual situation due to various reasons such as changes in user power consumption. If the evaluation and adjustment are not timely, the power supply capacity of the microgrid will be in surplus or shortage, resulting in unstable power supply within the microgrid. Summary of the invention
[0006] In order to solve the problem that the power supply and energy storage configuration scheme in the microgrid cannot be adjusted in time, the present application provides an optimal power control method based on peak and valley expectations and load.
[0007] In the first aspect, the present application provides an optimal power control method based on peak and valley expectations and load, which adopts the following technical solutions:
[0008] The optimal power control method based on peak-valley expectation and load includes the following steps:
[0009] Construct the power consumption curve of the microgrid and divide each day into multiple time intervals. Within the time interval, calculate the allocation weight coefficient of the microgrid, take the product of the allocation weight coefficient and the difference between supply and demand as the storage capacity of the microgrid, and perform optimal control and allocation of power in each microgrid based on the storage capacity; wherein, the calculation method of the allocation weight coefficient is: take the quotient of the integral value of any microgrid power consumption curve and the cumulative sum of the integral values of all microgrid power consumption curves as the allocation weight coefficient.
[0010] The beneficial effects are: adaptively obtaining the weight coefficient of the battery energy storage allocation in the microgrid, allocating electric energy storage according to the actual power consumption of the microgrid, reducing the unstable power supply inside the microgrid, making the power storage configuration plan more in line with reality, ensuring the stability of power supply, and reducing the occurrence of power outages. Reasonable energy storage allocation can also reduce unnecessary investment in energy storage equipment and reduce costs.
[0011] Optionally, constructing a power consumption curve of a microgrid includes the steps of: constructing a straight line formula: ,in, Represents the first parameter, Represents the second parameter, Represents the third parameter, Indicates power consumption. Indicates the time corresponding to the power consumption; substitutes the power consumption at any two times into the straight line formula to obtain the value of the parameter group, the parameter group includes the first parameter, the second parameter and the third parameter in the straight line formula; calculates the linear correlation coefficient corresponding to the parameter group, takes the parameter group corresponding to the minimum value of the linear correlation coefficient as the optimal parameter group, substitutes the optimal parameter group into the straight line formula to obtain the power consumption curve of the microgrid.
[0012] The beneficial effect is that the use of the straight-line formula can not only complete the statistics of the overall power consumption of each power user in the entire microgrid, but also facilitate the subsequent division of time intervals. The above technical solution fits the power consumption curve based on the actual power consumption and time, which is more in line with the actual application scenario.
[0013] Optionally, the linear correlation coefficient is calculated as follows:
[0014] , represents the linear correlation coefficient, Represents the first parameter, Represents the second parameter, Represents the third parameter, express The electricity consumption at each moment, express The corresponding time value, Indicates the total number of moments, represents the natural exponential function.
[0015] The beneficial effects are: When is 0, the linear correlation coefficient is 1. When it approaches infinity, the linear correlation coefficient approaches 0. The purpose of normalization is to limit the result of the linear correlation coefficient to a certain range to facilitate data processing and calculation.
[0016] Optionally, constructing the power consumption curve of the microgrid includes: constructing the power consumption curve of the microgrid according to a least squares method.
[0017] Optionally, the calculation formula for the difference between supply and demand is: ,in, Indicates the power difference within the time interval. express The total power supply at the moment, Indicates the power consumption curve User The electricity consumption at each moment, Indicates the total number of users. is the starting point of the time interval, The end point of the time interval.
[0018] The beneficial effect is: the gap between power supply and demand can be obtained through The power consumption difference within the time interval is calculated, and the power consumption in the fitted power consumption curve is used instead of the actual power consumption for calculation, so as to avoid the problem of noise value in the real value. There is no need to denoise the real value, with fewer processing steps and smaller errors, which facilitates the subsequent calculation of power allocation weights.
[0019] Optionally, the calculation formula for the difference between supply and demand is: ,in, Indicates the power difference within the time interval. express The total power supply at the moment, express The actual power consumption after denoising at each moment, is the starting point of the time interval, The end point of the time interval.
[0020] The beneficial effect is that the actual power consumption is used to calculate the power difference, which is more in line with the actual situation.
[0021] Optionally, the time interval setting method is: dividing the initial time interval to obtain an initial time interval set; calculating the prediction index of the initial time interval set, the calculation formula is:
[0022] ,in, Indicates The prediction index of the initial interval set, Indicates The first An initial time interval, Indicates The first time interval, Indicates the preset number of days. Indicates the total number of times the electricity consumption is collected every day. Indicates the number of initial intervals in the initial time set; the initial time interval set with the largest prediction index is taken as the prediction time interval set, and the intersection of the prediction time interval sets is taken as the time interval.
[0023] This application has the following technical effects:
[0024] 1. Adaptively obtain the weight coefficient of battery energy storage allocation in the microgrid, and adjust the allocation of power storage in time according to the actual power consumption of the microgrid to reduce the instability of power supply within the microgrid.
[0025] 2. The use of the straight-line formula can not only complete the statistics of the overall electricity consumption habits of each electricity user in the entire microgrid, but also facilitate the subsequent division of time intervals. The electricity consumption of a certain interval on the previous day is used as the basis for the allocation of power storage in the corresponding interval on the next day, making the energy storage allocation more in line with the actual electricity consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-restrictive manner, and the same or corresponding numbers represent the same or corresponding parts.
[0027] Figure 1 This is a method flow chart of the optimal power control method based on peak-valley expectations and load in this application.
[0028] Figure 2 It is a flow chart of a method for constructing a power consumption curve of a microgrid in the optimal power control method based on peak-valley expectations and load in this application.
[0029] Figure 3 This is a flow chart of a method for setting time intervals in the optimal power control method based on peak-valley expectations and load in this application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0031] It should be understood that when the terms "first", "second", etc. are used in the claims, specification and drawings of the present application, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present application indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.
[0032] The embodiment of the present application discloses an optimal power control method based on peak-valley expectation and load, which is used to solve the energy storage allocation problem of multiple batteries in a microgrid, and the purpose is to adaptively obtain the weight coefficient of energy storage allocation, referring to Figure 1 , including steps S1-S2, which are as follows:
[0033] S1: Construct the power consumption curve of the microgrid and divide each day into multiple time intervals.
[0034] In one embodiment, referring to Figure 2 The method for constructing a power consumption curve of a microgrid includes steps S10 to S12:
[0035] S10: Construct a straight line formula.
[0036] Construct the straight line formula: ,in, Represents the first parameter, Represents the second parameter, Represents the third parameter, Indicates power consumption. Indicates the time corresponding to the power consumption.
[0037] S11: Substitute the power consumption at any two moments into the linear formula to obtain the value of the parameter group, where the parameter group includes the first parameter, the second parameter and the third parameter in the linear formula.
[0038] Specifically, the microgrid contains a regional collection of several electricity users, obtains the electricity consumption of multiple electricity users within a certain period of time, records the real-time electricity consumption of electricity users and the corresponding electricity consumption time, and obtains the electricity consumption curve. The electricity consumption at any time in the electricity consumption curve is taken as , the time corresponding to the power consumption is , substitute , and obtain multiple groups of parameter groups.
[0039] S12: Calculate the linear correlation coefficient corresponding to the parameter group, take the parameter group corresponding to the minimum value of the linear correlation coefficient as the optimal parameter group, substitute the optimal parameter group into the straight line formula, and obtain the power consumption curve of the microgrid.
[0040] The use of the straight-line formula can not only complete the statistics of the overall electricity consumption habits of each electricity user in the entire microgrid, but also facilitate the subsequent division of time intervals. The electricity consumption of a certain interval on the previous day is used as the basis for the allocation of power storage to the corresponding interval on the next day, making the energy storage allocation more in line with the actual electricity consumption.
[0041] In one embodiment, the linear coefficient is calculated as follows:
[0042] , represents the linear correlation coefficient, Represents the first parameter, Represents the second parameter, Represents the third parameter, express The electricity consumption at each moment, express The corresponding time value, Indicates the total number of moments, represents the natural exponential function.
[0043] When is 0, the linear correlation coefficient is 1. When it approaches infinity, the linear correlation coefficient approaches 0. The purpose of normalization is to limit the result of the linear correlation coefficient to a certain range to facilitate data processing and calculation.
[0044] In other embodiments, the power consumption curve for constructing the microgrid can also be obtained according to the least square method. The least square method seeks the best function matching of the data by minimizing the sum of squares of the errors. The least square method is an existing technology and will not be described in detail here.
[0045] In one embodiment, referring to Figure 3 The time interval setting method includes steps S13 to S15, which are as follows:
[0046] S13: Divide the initial time interval to obtain an initial time interval set.
[0047] S14: Calculate the prediction index of the initial time interval set.
[0048] The calculation formula of the prediction index is:
[0049] ,in, Indicates The prediction index of the initial interval set, Indicates The first An initial time interval, Indicates The first time interval, Indicates the preset number of days. Indicates the total number of times the electricity consumption is collected every day. Indicates the number of initial intervals in the initial time set.
[0050] S15: taking the initial time interval set with the largest prediction index as the prediction time interval set, and taking the intersection of the prediction time interval sets as the time interval.
[0051] In other embodiments, a fixed time period may also be set as the time interval, for example, every two hours is set as a time interval, and each day is divided into 12 time intervals.
[0052] S2: Within the time interval, the allocation weight coefficient of the microgrid is calculated, and the product of the allocation weight coefficient and the difference between supply and demand electricity is used as the storage capacity of the microgrid. The electricity of each microgrid is optimally regulated and allocated according to the storage capacity.
[0053] The calculation method of the allocation weight coefficient is: the quotient of the integral value of any microgrid power consumption curve and the cumulative sum of the integral values of all microgrid power consumption curves is used as the allocation weight coefficient.
[0054] The allocation weight coefficient is expressed as: ,in, is the allocation weight coefficient of any microgrid, is the starting point of the time interval, is the end point of the time interval, is the power consumption curve of the microgrid in the time interval, For the The power consumption curve of a microgrid in the time interval, is the total number of microgrids.
[0055] In one embodiment, the calculation formula for the difference between supply and demand electricity is:
[0056] ,in, Indicates the power difference within the time interval. express The total power supply at the moment, Indicates the power consumption curve User The electricity consumption at each moment, Indicates the total number of users. is the starting point of the time interval, The end point of the time interval.
[0057] In other embodiments, the calculation formula for the difference between power supply and power demand may also be:
[0058] ,in, Indicates the power difference within the time interval. express The total power supply at the moment, express The actual power consumption after denoising at each moment, is the starting point of the time interval, The purpose of denoising is to remove abnormal data in the actual power consumption and reduce the impact on the accuracy of the calculation results of the power supply and demand difference. Data denoising is an existing technology and will not be described in detail here.
[0059] The difference between supply and demand is the amount of electricity remaining after supplying electricity. The product of the distribution weight coefficient of any microgrid and the difference between supply and demand is taken as the storage capacity of the microgrid. The storage capacity of each microgrid is traversed and the electricity is distributed according to the storage capacity. In order to distribute the electric energy storage according to the actual power consumption of the microgrid, the unstable power supply inside the microgrid is reduced, making the power storage configuration plan more practical.
[0060] Although this specification has shown and described a plurality of embodiments of the present application, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein may be adopted.
[0061] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. The optimal power control method based on peak and valley expectations and load is characterized by: Includes steps: Construct the power consumption curve of the microgrid and divide each day into multiple time intervals, and use the power consumption of a certain time interval of the previous day as the basis for the power storage allocation of the corresponding interval of the next day; In the time interval, the allocation weight coefficient of the microgrid is calculated, and the product of the allocation weight coefficient and the difference between supply and demand is used as the storage capacity of the microgrid, where the difference between supply and demand is the remaining power after supplying electricity; the optimal control and allocation of power in each microgrid is performed according to the storage capacity; The calculation method of the allocation weight coefficient is as follows: the quotient of the integral value of any microgrid power consumption curve and the cumulative sum of the integral values of all microgrid power consumption curves is used as the allocation weight coefficient.
2. The method for optimal power control based on peak and valley expectations and load according to claim 1 is characterized in that: Constructing the power consumption curve of the microgrid includes the following steps: Construct the straight line formula: ,in, Represents the first parameter, Represents the second parameter, Represents the third parameter, Indicates power consumption. Indicates the time corresponding to the power consumption; Substitute the power consumption at any two moments into the linear formula to obtain the value of the parameter group, which includes the first parameter, the second parameter and the third parameter in the linear formula; The linear correlation coefficient corresponding to the parameter group is calculated, the parameter group corresponding to the minimum value of the linear correlation coefficient is taken as the optimal parameter group, and the optimal parameter group is substituted into the straight line formula to obtain the power consumption curve of the microgrid.
3. The method for optimal power control based on peak-valley expectations and load according to claim 2 is characterized in that: The calculation formula of the linear correlation coefficient is: , represents the linear correlation coefficient, Represents the first parameter, Represents the second parameter, Represents the third parameter, express The electricity consumption at each moment, express The corresponding time value, Indicates the total number of moments, represents the natural exponential function.
4. The method for optimal power control based on peak-valley expectations and load according to claim 1 is characterized in that: Constructing a power consumption curve of a microgrid, including: constructing a power consumption curve of a microgrid according to a least square method.
5. The method for optimal power control based on peak-valley expectation and load according to any one of claims 1 to 4, characterized in that: The calculation formula for the difference between supply and demand is: ,in, Indicates the power difference within the time interval. express The total power supply at the moment, Indicates the power consumption curve User The electricity consumption at each moment, Indicates the total number of users. is the starting point of the time interval, The end point of the time interval.
6. The method for optimal power control based on peak-valley expectation and load according to any one of claims 1 to 4, characterized in that: The calculation formula for the difference between supply and demand is: ,in, Indicates the power difference within the time interval. express The total power supply at the moment, express The actual power consumption after denoising at each moment, is the starting point of the time interval, The end point of the time interval.
7. The method for optimal power control based on peak-valley expectations and load according to claim 1 is characterized in that: The method for setting the time interval is: set a fixed period of time as the time interval.
