Microgrid energy storage capacity configuration method, device, electronic device and storage medium

By predicting the load and output curves of the microgrids in the microgrid group, the energy storage demand and distribution coefficient are determined, which solves the problem of unreasonable energy storage capacity allocation in the microgrid group and improves the stability and reliability of the power grid.

CN118100233BActive Publication Date: 2024-08-30SHAOGUAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410501709.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-30
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

The energy storage capacity configuration of microgrids within the microgrid group is unreasonable, resulting in an imbalance between supply and demand and affecting the stability and reliability of the power grid.

Method used

By predicting the load curve and output curve of each microgrid in the microgrid group, the source-to-load adaptability is determined. If it is less than the preset value, the total energy storage demand capacity and energy storage distribution coefficient are calculated, and the target storage capacity of each microgrid is calculated. Energy capacity and reasonable allocation of energy storage capacity.

Benefits of technology

It achieves reasonable energy storage configuration, avoids ineffective energy storage, and improves the stability and reliability of the grid when the microgrid group is connected to the grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118100233B
    Figure CN118100233B
Patent Text Reader

Abstract

The present invention discloses a method, device, electronic device and storage medium for configuring energy storage capacity of a microgrid group, including: determining the source-load adaptability of the microgrid group according to the predicted load curve and output curve of the microgrid, judging whether the source-load adaptability is greater than or equal to a preset value; if so, determining that the microgrid group does not need energy storage, if not, obtaining the average fault repair time of the upper power grid of the microgrid group, determining the total energy storage demand capacity of the microgrid group according to the average fault repair time, the load curve and the output curve, determining the energy storage allocation coefficient of each microgrid according to the load curve and the output curve, calculating the product of the total energy storage demand capacity and the energy storage allocation coefficient, and obtaining the target energy storage capacity of each microgrid. Energy storage is achieved when the source-load adaptability of the microgrid group is less than the preset value, avoiding invalid energy storage, and determining the energy storage allocation coefficient by the output and load of the microgrid, making the microgrid energy storage allocation more complete and reasonable, and improving the stability and reliability of the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy storage technology for distribution networks, and in particular to a method, device, electronic equipment and storage medium for configuring energy storage capacity of a microgrid group. Background Art

[0002] With the development of microgrids such as wind power, photovoltaic power and small hydropower, microgrids are connected to the grid to form microgrid clusters. Due to the intermittent and uncertain characteristics of microgrids, effective energy storage systems are needed to balance supply and demand and improve the stability and reliability of the power grid. Therefore, the energy storage configuration and distribution strategy of the microgrid cluster is crucial to achieve efficient and stable operation of the power grid.

[0003] At present, the research on the energy storage capacity configuration of microgrids within a microgrid group is still imperfect in view of the overall safety benefits of the microgrid group. Some technologies simply add up the energy storage capacity of a single microgrid as the total energy storage capacity of the microgrid group, and there is no research on the energy storage allocation principles of each microgrid in the microgrid group, resulting in unreasonable energy storage capacity configuration of each microgrid in the microgrid group. Summary of the invention

[0004] The present invention provides a method, device, electronic device and storage medium for configuring energy storage capacity of a microgrid group, so as to solve the problem of unreasonable configuration of energy storage capacity of microgrids within a microgrid group.

[0005] In a first aspect, the present invention provides a method for configuring energy storage capacity of a microgrid group, comprising:

[0006] Predict the load curve and output curve of each microgrid in the microgrid group within a preset time period;

[0007] Determining the source-load adaptability of the microgrid group according to the load curve and the output curve, wherein the source-load adaptability is used to measure the power supply capacity of the microgrid group;

[0008] Determining whether the source-load adaptability is greater than or equal to a preset value;

[0009] If so, it is determined that the microgrid group does not require energy storage;

[0010] If not, obtain the average fault repair time of the upper-level power grid of the microgrid group;

[0011] Determine the total energy storage capacity required by the microgrid group according to the average fault repair time, the load curve and the output curve;

[0012] Determine the energy storage allocation coefficient of each microgrid according to the load curve and the output curve;

[0013] The product of the total energy storage demand capacity and the energy storage allocation coefficient is calculated to obtain the target energy storage capacity of each microgrid.

[0014] In a second aspect, the present invention provides a microgrid energy storage capacity configuration device, comprising:

[0015] The curve prediction module is used to predict the load curve and output curve of each microgrid in the microgrid group within a preset time period;

[0016] A source-load adaptability determination module, used to determine the source-load adaptability of the microgrid group according to the load curve and the output curve, wherein the source-load adaptability is used to measure the power supply capacity of the microgrid group;

[0017] A judging module, used to judge whether the source-load adaptability is greater than or equal to a preset value, and if so, execute a determining module, and if not, execute a duration obtaining module;

[0018] A determination module, used for determining that the microgrid group does not need energy storage;

[0019] A duration acquisition module, used to obtain the average fault repair time of the upper-level power grid of the microgrid group;

[0020] A total energy storage capacity determination module is used to determine the total energy storage capacity required by the microgrid group according to the average fault repair time, the load curve and the output curve;

[0021] An energy storage allocation coefficient determination module, used to determine the energy storage allocation coefficient of each microgrid according to the load curve and the output curve;

[0022] The target energy storage capacity calculation module is used to calculate the product of the total energy storage demand capacity and the energy storage allocation coefficient to obtain the target energy storage capacity of each microgrid.

[0023] In a third aspect, the present invention provides an electronic device, the electronic device comprising:

[0024] at least one processor; and

[0025] a memory communicatively connected to the at least one processor; wherein,

[0026] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the microgrid energy storage capacity configuration method described in the first aspect of the present invention.

[0027] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the microgrid energy storage capacity configuration method described in the first aspect of the present invention when executed.

[0028] The embodiment of the present invention predicts the load curve and output curve of each microgrid in the microgrid group, determines the source-load adaptability of the microgrid group according to the load curves and output curves of multiple microgrids, and determines the power supply capacity of the microgrid group through the source-load adaptability. When the source-load adaptability is greater than or equal to a preset value, it is determined that the power supply capacity of the microgrid group is good and the microgrid group does not need energy storage. When the source-load adaptability is less than the preset value, the total energy storage demand capacity of the microgrid group is determined through the average fault repair time of the upper power grid, the predicted load curve and output curve, and the load curve and output curve of the microgrid are used to determine the total energy storage demand capacity of the microgrid group. The energy storage allocation coefficient of each microgrid is determined, and the target energy storage capacity of each microgrid is calculated by multiplying the total energy storage demand capacity and the energy storage allocation coefficient. On the one hand, the power supply capacity of the microgrid group is measured by the source-load adaptation degree, so that energy storage is configured when the source-load adaptation degree is less than the preset value, avoiding invalid energy storage. On the other hand, the energy storage allocation coefficient is determined by the output and load of the microgrid, and the energy storage capacity can be allocated by considering the output and load of each microgrid, making the microgrid energy storage more reasonable and complete, and improving the stability and reliability of the entire power grid when the microgrid group is connected to the grid.

[0029] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 It is a flow chart of a method for configuring energy storage capacity of a microgrid group provided in Embodiment 1 of the present invention;

[0032] Figure 2 It is a flow chart of a method for configuring energy storage capacity of a microgrid group provided in Embodiment 2 of the present invention;

[0033] Figure 3 It is a structural schematic diagram of a microgrid energy storage capacity configuration device provided by Embodiment 3 of the present invention;

[0034] Figure 4 It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 should fall within the scope of protection of the present invention.

[0036] Embodiment 1

[0037] Figure 1 This is a flow chart of a method for configuring energy storage capacity of a microgrid group provided in the first embodiment of the present invention. This embodiment is applicable to the case of allocating energy storage capacity of each microgrid in a microgrid group. The method can be executed by a microgrid group energy storage capacity configuration device. The microgrid group energy storage capacity configuration device can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the microgrid energy storage capacity configuration method includes:

[0038] S101. Predicting the load curve and output curve of each microgrid in the microgrid group within a preset time period.

[0039] The microgrid group of this embodiment may include multiple microgrids, which may be wind power, photovoltaic power or small hydropower, etc. The load curve may be a curve with time as the horizontal axis and load as the vertical axis, and the load curve represents the load change of the microgrid within a preset time period. The output curve may be a curve with time as the horizontal axis and output value as the vertical axis, and the output curve represents the change of the output electric energy of the microgrid within a preset time period.

[0040] The preset time period can be a year. For example, the load curve and output curve of the microgrid in the next year can be predicted before entering the new year, wherein the minimum time unit of the horizontal axis of the load curve and the output curve can be one hour, that is, the load curve and the output curve represent the load and output changes of the microgrid in one hour within a year, that is, the load and output changes for 8760 hours in a year.

[0041] In one embodiment, the historical load curve and output curve may be used as the predicted load curve and output curve. For example, the load curve and output curve of the microgrid in the previous year may be used as the load curve and output curve of the next year.

[0042] In another embodiment, the historical load curve of the microgrid can be input into a pre-trained load curve prediction model to obtain the load curve of the microgrid within a preset time period. For example, the load curve of the microgrid in the previous year is input into the load curve prediction model to obtain the load curve of the microgrid in the next year. Similarly, the historical meteorological data of the microgrid can be input into a pre-trained output curve prediction model to obtain the output curve of the microgrid within a preset time period. For example, the meteorological data of the microgrid in the previous year is input into the output curve prediction model to obtain the output curve of the microgrid in the next year.

[0043] This embodiment predicts the load curve and output curve of the microgrid through a machine learning model, has high adaptability, and can continuously learn and update the machine learning model, thereby improving the accuracy of the predicted load curve and output curve.

[0044] S102. Determine the source-load adaptability of the microgrid group according to the load curve and the output curve. The source-load adaptability is used to measure the power supply capacity of the microgrid group.

[0045] In this embodiment, the source-load adaptation degree can be the ratio of the total output value of the microgrid group to the total load. The source-load adaptation degree is used to measure the power supply capacity of the microgrid group. The larger the source-load adaptation degree, the higher the power supply capacity of the microgrid group. The total output value and total load of the microgrid group at each time point can be calculated through the load curve and output curve of each microgrid in the microgrid group. The ratio is calculated through the total output value and total load at each time point, and the minimum value of the ratio is taken as the source-load adaptation degree of the microgrid group.

[0046] In another embodiment, the load curves and output curves of each microgrid may be superimposed to generate the load curve and output curve of the microgrid group, and then the ratio of the output value and the load at the same time point in the load curve and output curve of the microgrid group may be calculated, and the minimum value of the ratios at multiple time points may be determined as the source-load adaptation degree of the microgrid group.

[0047] S103: Determine whether the source-load adaptability is greater than or equal to a preset value.

[0048] The preset value may be a threshold for determining whether the microgrid group needs energy storage. In one embodiment, the preset value may be a value of 1. When the source-load adaptation degree is greater than or equal to the preset value 1, it indicates that the output of the microgrid group is greater than or equal to the load, and the power supply capacity of the microgrid group is sufficient. S104 is executed, and the microgrid group does not need energy storage. When the source-load adaptation degree is less than the preset value 1, it indicates that the output of the microgrid group is less than the load, and the power supply capacity of the microgrid group is insufficient. Energy storage is required to release electric energy when the output is insufficient, and S105 is executed.

[0049] Of course, the preset value may also be set to a value greater than 1, such as 1.2, 1.5, etc., to improve the reliability of the power grid after the microgrid is connected to the grid.

[0050] S104. Determine that the microgrid group does not need energy storage.

[0051] When the source-load adaptation degree is greater than or equal to the preset value, it is determined that the output of the microgrid group is greater than the load, and no energy storage is required. The individual microgrids in the microgrid group do not need to charge batteries, capacitors and other energy storage devices.

[0052] S105. Obtain an average fault repair time of the upper-level power grid of the microgrid group.

[0053] The superior power grid can be the superior power grid to which the microgrid group is directly connected. The superior power grid and the microgrid group jointly supply power to the directly connected power grid. The number of faults of the superior power grid of the microgrid group in a historical time period and the repair time of each fault can be obtained from the power grid system. The sum of multiple repair times is calculated to obtain the total repair time, and the ratio of the total repair time to the number of faults is calculated to obtain the average fault repair time.

[0054] S106. Determine the total energy storage capacity required for the microgrid group according to the average fault repair time, load curve, and output curve.

[0055] When the upper power grid fails, the power grid is powered by the microgrid group. The maximum power shortage of the microgrid group can be calculated. The product of the maximum power shortage and the average fault repair time is the total energy storage demand capacity of the microgrid group. Specifically, the total load and total output of the microgrid group at multiple time points can be calculated through the load curves and output curves of multiple microgrids in the microgrid group. The difference between the total load and total output of the microgrid group at multiple time points is calculated to obtain multiple differences, and the maximum value of the multiple differences is determined as the maximum power shortage of the microgrid group.

[0056] S107. Determine the energy storage allocation coefficient of each microgrid according to the load curve and the output curve.

[0057] The energy storage allocation coefficient is used to determine whether each microgrid in the microgrid group needs energy storage and the proportion of energy storage. In one embodiment, the load at each time point can be determined from the load curve of each microgrid, and the output value at each time point can be determined from the output curve. Then, for each microgrid, the difference between the load and the output value at each time point is calculated to obtain the difference between multiple time points and determine the maximum difference. If the maximum difference is greater than or equal to the value 0, the mark value of the microgrid is set to the value 1. If the maximum difference is less than the value 0, the mark value of the microgrid is set to the value 0. The sum of the mark values ​​of all microgrids is calculated, and the ratio of the mark value of each microgrid to the sum is calculated to obtain the energy storage allocation coefficient of each microgrid.

[0058] In another embodiment, the average load and average output of the microgrid can also be calculated based on the load curve and output curve of each microgrid, and the target microgrid whose average load is greater than the average output is determined as the microgrid that needs energy storage. For each target microgrid, the difference between the average load and the average output is calculated, and the sum of the differences is calculated, and the ratio of the difference to the sum is calculated as the energy storage allocation coefficient of the target microgrid.

[0059] In another embodiment, the allocation weight can also be determined according to the output curve or load curve of each microgrid as the energy storage allocation coefficient of the microgrid. For example, the output curve of each microgrid calculates the average output value of the microgrid, the sum of all average output values ​​is calculated to obtain the total output value, and the ratio of the average output value of each microgrid to the total output value is calculated as the allocation weight, that is, the energy storage allocation coefficient.

[0060] S108. Calculate the product of the total energy storage demand capacity and the energy storage allocation coefficient to obtain the target energy storage capacity of each microgrid.

[0061] After determining the energy storage allocation coefficient of each microgrid, the product of the total energy storage demand capacity and the energy storage allocation coefficient can be calculated to obtain the target energy storage capacity of each microgrid, and the energy storage equipment of the microgrid can be controlled to store energy according to the target energy storage capacity.

[0062] The embodiment of the present invention predicts the load curve and output curve of each microgrid in the microgrid group, determines the source-load adaptability of the microgrid group according to the load curves and output curves of multiple microgrids, and determines the power supply capacity of the microgrid group through the source-load adaptability. When the source-load adaptability is greater than or equal to a preset value, it is determined that the power supply capacity of the microgrid group is good and the microgrid group does not need energy storage. When the source-load adaptability is less than the preset value, the total energy storage demand capacity of the microgrid group is determined through the average fault repair time of the upper power grid, the predicted load curve and output curve, and the load curve and output curve of the microgrid are used to determine the total energy storage demand capacity of the microgrid group. The energy storage allocation coefficient of each microgrid is determined, and the target energy storage capacity of each microgrid is calculated by multiplying the total energy storage demand capacity and the energy storage allocation coefficient. On the one hand, the power supply capacity of the microgrid group is measured by the source-load adaptation degree, so that energy storage is configured when the source-load adaptation degree is less than the preset value, avoiding invalid energy storage. On the other hand, the energy storage allocation coefficient is determined by the output and load of the microgrid, and the energy storage capacity can be allocated by considering the output and load of each microgrid, making the microgrid energy storage more reasonable and complete, and improving the stability and reliability of the entire power grid when the microgrid group is connected to the grid.

[0063] Embodiment 2

[0064] Figure 2 This is a flow chart of a method for configuring energy storage capacity of a microgrid group provided in the second embodiment of the present invention. The embodiment of the present invention is optimized on the basis of the above-mentioned first embodiment. Figure 2As shown, the microgrid energy storage capacity configuration method includes:

[0065] S201. Predicting the load curve and output curve of each microgrid in the microgrid group within a preset time period.

[0066] In this embodiment, the historical load curve of each microgrid in the historical time period can be obtained, the meteorological data of the geographical location of each microgrid in the historical time period can be obtained, the historical load curve is input into the load curve generation model to obtain the load curve of the microgrid in the preset time period, and the meteorological data is input into the output curve generation model to obtain the output curve of the microgrid in the preset time period.

[0067] Exemplarily, the historical load curve of the microgrid in the previous year can be obtained, and the historical load curve includes the load sampled for 8760 hours in the previous year. The historical load curve is input into the load curve generation model to obtain the load curve of the microgrid in the current year, and the load curve includes the load for 8760 hours in the current year. Similarly, the historical meteorological data sampled for 8760 hours in the previous year of the microgrid can be obtained, and the historical meteorological data include light intensity, temperature, wind level, precipitation, etc. The historical meteorological data is input into the output curve generation model to obtain the output curve of the microgrid in the current year, and the output curve includes the output value for 8760 hours in the current year.

[0068] Among them, the load curve generation model can be trained in the following way: obtain the first load curve of the first year of multiple microgrids, and obtain the second load curve of the second year, the second year is the year after the first year and adjacent to the first year, after initializing the load curve generation model, input the first load curve into the load curve generation model to obtain a predicted load curve, calculate the loss rate through the predicted load curve and the second load curve, and judge whether the training conditions are met (for example, the number of training times reaches the preset number of times, the loss rate is less than the preset value, etc.), if so, determine that the load curve generation model has completed the training, if not, adjust the parameters of the load curve generation model through the loss rate combined with various gradient descent algorithms, and return to the step of inputting the first load curve into the load curve generation model to obtain the predicted load curve, so as to continue to train the load curve generation model.

[0069] Among them, when calculating the loss rate, the similarity between the second load curve and the predicted load curve can be calculated first, and then the difference in load at the same time point is calculated, and then the mean square error of the differences at multiple time points is calculated, and the weighted sum of the similarity and mean square error of the load curve is calculated (the weights of the similarity and mean square error can be pre-set) as the loss rate.

[0070] The output curve generation model can be trained in the following way: obtain meteorological data and a first output curve of multiple microgrids for one year, and after initializing the output curve generation model, input the meteorological data into the output curve generation model to obtain a predicted second output curve, calculate the loss rate through the second output curve and the first output curve, and judge whether the training conditions are met (for example, the number of training times reaches a preset number of times, the loss rate is less than a preset value, etc.), if so, determine that the output curve generation model has completed training, if not, adjust the parameters of the output curve generation model through the loss rate combined with various gradient descent algorithms, and return to the step of inputting the meteorological data into the output curve generation model to obtain the predicted second output curve, so as to continue to train the output curve generation model, wherein the calculation method of the loss rate can refer to the calculation of the loss rate during the training of the load curve generation model, which will not be described in detail here.

[0071] Of course, those skilled in the art can also refer to various machine learning algorithms in the prior art to train load curve generation models and output curve generation models, such as models based on adversarial generative networks, etc. This embodiment does not limit the training method of the load curve generation model and the output curve generation model.

[0072] S202, calculating the sum of the loads at the same time point in the load curve of each microgrid in the microgrid group, and obtaining the total load of the microgrid group at multiple time points.

[0073] In this embodiment, the load curve includes the load of the microgrid at multiple time points within a preset time period. For example, the load curve within a year includes the load of the microgrid at each hour in 8760 hours within a year. The sum of the loads at the same time point in the load curve of each microgrid in the microgrid group can be calculated to obtain the total load of the microgrid group at multiple time points. For example, the microgrid group includes microgrid 1, microgrid 2 and microgrid 3, and the load of the first hour in the load curve of microgrid 1 is W. L,11 The load in the second hour is W L,12 , the load in the first hour of the load curve of microgrid 2 is W L,21 The load in the second hour is W L,22 , the load in the first hour of the load curve of microgrid 3 is W L,31 The load in the second hour is W L,32 , the total load W of the microgrid in the first hour can be calculated L,1 =W L,11 + W L,21 + W L,31 , the total load W in the second hour L,2 =W L,12 + W L,22 + W L,32 , and so on to obtain the total load of the microgrid group at multiple time points.

[0074] S203, calculating the sum of the output values ​​at the same time point in the output curve of each microgrid in the microgrid group, and obtaining the total output value of the microgrid group at multiple time points.

[0075] In this embodiment, the output curve includes the output values ​​of the microgrid at multiple time points within a preset time period. For example, the output curve within a year includes the output value of the microgrid for each hour in 8760 hours within a year. The sum of the output values ​​at the same time point in the output curve of each microgrid in the microgrid group can be calculated to obtain the total output value of the microgrid group at multiple time points. For example, the microgrid group includes microgrid 1, microgrid 2 and microgrid 3, and the output value of the first hour in the output curve of microgrid 1 is W N,11 , the output value in the second hour is W N,12 , the output value of the first hour in the output curve of microgrid 2 is W N,21 The output value in the second hour is W N,22 , the output value of the first hour in the output curve of microgrid 3 is W N,31 The output value in the second hour is W N,32 , the total output value W of the microgrid in the first hour can be calculated N,1 =W N,11 +W N,21 + W N,31 , the total output value W in the second hour N,2 =W N,12 + W N,22 + W N,32 , and so on to obtain the total output value of the microgrid group at multiple time points.

[0076] S204, calculating the ratio of the total output value to the total load at each time point to obtain multiple ratios.

[0077] S205. Determine the minimum value among the multiple ratios as the source-load adaptability of the microgrid group.

[0078] Specifically, the source-load adaptability of the microgrid is calculated as shown in the following formula:

[0079] ;

[0080] In the formula, W Nt is the total output value of the microgrid at time t, W Ltis the total load of the microgrid group at time t. When the source-load adaptation degree η≥1, it indicates that the electric energy output by the microgrid in the microgrid group can meet the load power supply demand in the microgrid group, and there is no need to consider increasing the configuration of energy storage; when the source-load adaptation degree η<1, the electric energy output by the microgrid in the microgrid group cannot meet the load power supply demand. At this time, energy storage needs to be configured to meet the power balance of the microgrid group. This embodiment directly calculates the source-load adaptation degree of the microgrid group through the load curve and output curve of the microgrid. The calculation method is simple and efficient.

[0081] In another embodiment, the load curve of the microgrid in the microgrid group can also be used to generate the load curve of the microgrid group, and the output curve of the microgrid in the microgrid group can be used to generate the output curve of the microgrid group. The ratio of the output value and the load at the same time point in the load curve and the output curve of the microgrid group is calculated to obtain multiple ratios, and the minimum value of the multiple ratios is determined as the source-load adaptation degree of the microgrid group, that is, the load curve and the output curve of the microgrid group are first generated, and then the source-load adaptation degree of the microgrid group is determined through the load curve and the output curve of the microgrid group. In this embodiment, the load curve and the output curve of the microgrid group are generated through the load curve and the output curve of the microgrid, and the source-load adaptation degree of the microgrid group is calculated through the load curve and the output curve of the microgrid group. On the one hand, the supply and demand relationship of the microgrid group in electric energy can be reflected through the load curve and the output curve of the microgrid group, and on the other hand, the accuracy of the source-load adaptation degree can be improved.

[0082] S206: Determine whether the source-load adaptation degree is greater than or equal to a preset value.

[0083] The preset value may be a threshold for determining whether the microgrid group needs energy storage. In one embodiment, the preset value may be a value of 1. When the source-load adaptation degree is greater than or equal to the preset value 1, it indicates that the output of the microgrid group is greater than or equal to the load, and the power supply capacity of the microgrid group is sufficient. S207 is executed, and the microgrid group does not need energy storage. When the source-load adaptation degree is less than the preset value 1, it indicates that the output of the microgrid group is less than the load, and the power supply capacity of the microgrid group is insufficient. Energy storage is required to release electric energy when the output is insufficient, and S208 is executed.

[0084] S207. Determine that the microgrid group does not need energy storage.

[0085] When the source-load adaptation degree is greater than or equal to the preset value, it is determined that the output of the microgrid group is greater than the load, and no energy storage is required. The individual microgrids in the microgrid group do not need to charge batteries, capacitors and other energy storage devices.

[0086] S208. Obtain an average fault repair time of the upper-level power grid of the microgrid group.

[0087] In one embodiment, the number of faults of the upper-level power grid of the microgrid group in a historical time period and the repair time of each fault can be obtained, the sum of multiple repair times can be calculated to obtain the total repair time, and the ratio of the total repair time to the number of faults can be calculated to obtain the average fault repair time.

[0088] In another embodiment, the mean time to repair faults of the upper-level power grid may be recorded in the power grid system, and the mean time to repair faults of the upper-level power grid may be read from the power grid system.

[0089] S209: Calculate the difference between the total output value and the total load of the microgrid group at multiple time points to obtain multiple differences.

[0090] S210. Calculate the product of the maximum value of the multiple differences and the average fault repair time to obtain the total energy storage capacity required by the microgrid group.

[0091] Specifically, S209 and S210 can be expressed by the following formula:

[0092] ;

[0093] In the formula, Q N is the total energy storage capacity required by the microgrid group, T is the average fault repair time, W Nt is the total output value of the microgrid at time t, W Lt is the total load of the microgrid at time t.

[0094] S211, determining the load at each time point from the load curve of each microgrid, and determining the output value at each time point from the output curve;

[0095] S212, for each microgrid, calculating the difference between the load and the output value at each time point, obtaining the differences at multiple time points, and determining the maximum difference;

[0096] S213, if the maximum difference is greater than or equal to the value 0, set the mark value of the microgrid to the value 1; if the maximum difference is less than the value 0, set the mark value of the microgrid to the value 0;

[0097] S214. Calculate the sum of the marking values ​​of all microgrids, and calculate the ratio of the marking value of each microgrid to the sum, to obtain the energy storage allocation coefficient of each microgrid.

[0098] Specifically, S211-S214 can be expressed by the following formula:

[0099] ;

[0100] ;

[0101] Where i represents the i-th microgrid, t represents the time point, μ i represents the energy storage allocation coefficient of the i-th microgrid, W EL,i,t is the load of the i-th microgrid at time point t, W N,i,t is the output value of the i-th microgrid at time point t, n is the number of microgrids in the microgrid group, ε( ) is a step function, and the step function is used to set the mark value of the microgrid.

[0102] S215. Calculate the product of the total energy storage demand capacity and the energy storage allocation coefficient to obtain the target energy storage capacity of each microgrid.

[0103] Specifically, the target energy storage capacity Q of the i-th microgrid can be calculated by the following formula: s,i :

[0104] ;

[0105] After predicting the load curve and output curve of the microgrid in the microgrid group, this embodiment calculates the total load and total output of the microgrid group at the same time point through the load curve and output curve of the microgrid, and calculates the ratio of the total output value to the total load at each time point to obtain multiple ratios, and determines the minimum value of the multiple ratios as the source-load adaptation degree of the microgrid group. When the source-load adaptation degree is less than the preset value, the difference between the total output value and the total load of the microgrid group at multiple time points is calculated to obtain multiple differences, and the maximum value of the multiple differences is calculated and multiplied by the average fault repair time to obtain the total energy storage demand capacity of the microgrid group. For each microgrid, the difference between the load and the output value at each time point is calculated to obtain the differences at multiple time points, and the maximum difference is determined. If the maximum difference is greater than or equal to the value 0, set The mark value of the microgrid is 1. If the maximum difference is less than 0, the mark value of the microgrid is set to 0. The sum of the mark values ​​of all microgrids is calculated, and the ratio of the mark value to the sum of each microgrid is calculated to obtain the energy storage allocation coefficient of each microgrid. Finally, the product of the total energy storage demand capacity and the energy storage allocation coefficient is calculated to obtain the target energy storage capacity of each microgrid. On the one hand, the power supply capacity of the microgrid group is measured by the source-load adaptation degree, so that energy is stored when the source-load adaptation degree is less than the preset value, avoiding invalid energy storage. On the other hand, the energy storage allocation coefficient is determined by the output and load of the microgrid, and the energy storage capacity can be allocated considering the output and load of each microgrid, making the microgrid energy storage more reasonable and improving the stability and reliability of the entire power grid when the microgrid group is connected to the grid.

[0106] Furthermore, when calculating the energy storage allocation coefficient, the difference between the load and the output value at each time point is calculated, that is, the load shortage of the microgrid is taken into account to determine the energy storage capacity, making the energy storage capacity allocation of the microgrid within the microgrid group more complete and reasonable.

[0107] Embodiment 3

[0108] Figure 3 This is a schematic diagram of the structure of a microgrid energy storage capacity configuration device provided in Embodiment 3 of the present invention. Figure 3 As shown, the microgrid energy storage capacity configuration device includes:

[0109] The curve prediction module 301 is used to predict the load curve and output curve of each microgrid in the microgrid group within a preset time period;

[0110] A source-load adaptability determination module 302 is used to determine the source-load adaptability of the microgrid group according to the load curve and the output curve, and the source-load adaptability is used to measure the power supply capacity of the microgrid group;

[0111] A judging module 303 is used to judge whether the source-load adaptability is greater than or equal to a preset value, if so, to execute a determining module 304, if not, to execute a duration obtaining module 305;

[0112] A determination module 304 is used to determine that the microgrid group does not need energy storage;

[0113] The duration acquisition module 305 is used to obtain the average fault repair time of the upper-level power grid of the microgrid group;

[0114] The total energy storage capacity required determination module 306 is used to determine the total energy storage capacity required by the microgrid group according to the average fault repair time, the load curve and the output curve;

[0115] An energy storage allocation coefficient determination module 307, used to determine the energy storage allocation coefficient of each microgrid according to the load curve and the output curve;

[0116] The target energy storage capacity calculation module 308 is used to calculate the product of the total energy storage demand capacity and the energy storage allocation coefficient to obtain the target energy storage capacity of each microgrid.

[0117] Optionally, the curve prediction module 301 includes:

[0118] A historical load curve acquisition unit, used to acquire the historical load curve of each microgrid within a historical time period;

[0119] A historical meteorological data acquisition unit, used to acquire meteorological data of the geographical location of each microgrid within a historical time period;

[0120] A load curve prediction unit, used for inputting the historical load curve into a load curve generation model to obtain a load curve of the microgrid within a preset time period;

[0121] The output curve prediction unit is used to input the meteorological data into the output curve generation model to obtain the output curve of the microgrid within a preset time period.

[0122] Optionally, the source-load adaptability determination module 302 includes:

[0123] A total load calculation unit, used to calculate the sum of the loads at the same time point in the load curve of each microgrid in the microgrid group, and obtain the total load of the microgrid group at multiple time points;

[0124] A total output value calculation unit is used to calculate the sum of the output values ​​at the same time point in the output curve of each microgrid in the microgrid group to obtain the total output value of the microgrid group at multiple time points;

[0125] A first ratio calculation unit, used to calculate the ratio of the total output value to the total load at each time point to obtain multiple ratios;

[0126] The first source-load adaptability determination unit is used to determine the minimum value of multiple ratios as the source-load adaptability of the microgrid group.

[0127] Optionally, the source-load adaptability determination module 302 includes:

[0128] A load curve generating unit, configured to generate a load curve of the microgrid group by using a load curve of a microgrid in the microgrid group;

[0129] An output curve generating unit, configured to generate an output curve of the microgrid group by using an output curve of a microgrid in the microgrid group;

[0130] A second ratio calculation unit is used to calculate the ratio of the output value to the load at the same time point in the load curve and the output curve of the microgrid group to obtain multiple ratios;

[0131] The second source-load adaptability determination unit is used to determine the minimum value of multiple ratios as the source-load adaptability of the microgrid group.

[0132] Optionally, the duration acquisition module 305 includes:

[0133] A historical fault data acquisition unit, used to acquire the number of faults of the upper-level power grid of the microgrid group within a historical time period and the repair time of each fault;

[0134] The average repair time calculation unit is used to calculate the sum of multiple repair time to obtain a total repair time, and calculate the ratio of the total repair time to the number of failures to obtain an average repair time for the failure.

[0135] Optionally, the energy storage demand total capacity determination module 306 includes:

[0136] A difference calculation unit, used to calculate the difference between the total output value and the total load of the microgrid group at multiple time points to obtain multiple differences;

[0137] The total required capacity calculation unit is used to calculate the product of the maximum value of multiple differences and the average fault repair time to obtain the total energy storage capacity required by the microgrid group.

[0138] Optionally, the energy storage allocation coefficient determination module 307 includes:

[0139] A load and output value determination unit, used to determine the load at each time point from the load curve of each microgrid, and to determine the output value at each time point from the output curve;

[0140] A maximum difference determination unit is used to calculate the difference between the load and the output value at each time point for each microgrid, obtain the differences at multiple time points, and determine the maximum difference;

[0141] a tag value setting unit, configured to set the tag value of the microgrid to a value of 1 if the maximum difference is greater than or equal to a value of 0, and to set the tag value of the microgrid to a value of 0 if the maximum difference is less than a value of 0;

[0142] The energy storage allocation coefficient calculation unit is used to calculate the sum of the marking values ​​of all microgrids, calculate the ratio of the marking value of each microgrid to the sum, and obtain the energy storage allocation coefficient of each microgrid.

[0143] The microgrid energy storage capacity configuration device provided in the embodiment of the present invention can execute the microgrid energy storage capacity configuration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0144] Embodiment 4

[0145] Figure 4 A schematic diagram of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0146] like Figure 4As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0147] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0148] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a microgrid group energy storage capacity configuration method.

[0149] In some embodiments, the microgrid group energy storage capacity configuration method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the microgrid group energy storage capacity configuration method described above can be performed. Alternatively, in other embodiments, the processor 41 can be configured to execute the microgrid group energy storage capacity configuration method in any other appropriate manner (for example, by means of firmware).

[0150] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0151] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0152] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0153] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0154] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0155] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0156] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0157] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for configuring energy storage capacity of a microgrid group, characterized in that: include: Predict the load curve and output curve of each microgrid in the microgrid group within a preset time period; Determining the source-load adaptability of the microgrid group according to the load curve and the output curve, wherein the source-load adaptability is used to measure the power supply capacity of the microgrid group; Determining whether the source-load adaptability is greater than or equal to a preset value; If so, it is determined that the microgrid group does not require energy storage; If not, obtain the average fault repair time of the upper-level power grid of the microgrid group; Determine the total energy storage capacity required by the microgrid group according to the average fault repair time, the load curve and the output curve; Determine the energy storage allocation coefficient of each microgrid according to the load curve and the output curve; Calculate the product of the total energy storage demand capacity and the energy storage allocation coefficient to obtain the target energy storage capacity of each microgrid; Determining the source-load adaptability of the microgrid group according to the load curve and the output curve includes: Calculating the sum of the loads at the same time point in the load curve of each microgrid in the microgrid group to obtain the total load of the microgrid group at multiple time points; Calculate the sum of the output values ​​at the same time point in the output curve of each microgrid in the microgrid group to obtain the total output value of the microgrid group at multiple time points; Calculate the ratio of the total output value to the total load at each time point to obtain multiple ratios; Determine the minimum value among the multiple ratios as the source-load adaptability of the microgrid group; Determining the energy storage allocation coefficient of each microgrid according to the load curve and the output curve includes: Determine the load at each time point from the load curve of each microgrid, and determine the output value at each time point from the output curve; For each microgrid, calculate the difference between the load and the output value at each time point, obtain the difference at multiple time points, and determine the maximum difference; If the maximum difference is greater than or equal to the value 0, the mark value of the microgrid is set to the value 1; if the maximum difference is less than the value 0, the mark value of the microgrid is set to the value 0; The sum of the marking values ​​of all microgrids is calculated, and the ratio of the marking value of each microgrid to the sum of the marking values ​​of all microgrids is calculated to obtain the energy storage allocation coefficient of each microgrid.

2. The microgrid energy storage capacity configuration method according to claim 1, characterized in that: Predict the load curve and output curve of each microgrid in the microgrid group within the preset time period, including: Obtain the historical load curve of each microgrid in the historical time period; Obtain meteorological data for each microgrid’s geographical location over a historical period of time; Inputting the historical load curve into a load curve generation model to obtain a load curve of the microgrid within a preset time period; The meteorological data is input into an output curve generation model to obtain an output curve of the microgrid within a preset time period.

3. The method for configuring energy storage capacity of a microgrid group according to claim 1, characterized in that: Obtaining the average fault repair time of the upper power grid of the microgrid group, including: Obtain the number of faults of the upper-level power grid of the microgrid group in a historical time period and the repair time of each fault; The sum of multiple repair time periods is calculated to obtain a total repair time period, and the ratio of the total repair time period to the number of failures is calculated to obtain an average repair time period for the failures.

4. The method for configuring energy storage capacity of a microgrid group according to claim 1, characterized in that: Determining the total energy storage capacity required by the microgrid group according to the mean fault repair time, the load curve and the output curve includes: Calculating the difference between the total output value and the total load of the microgrid group at multiple time points to obtain multiple difference values; The product of the maximum value of the multiple differences and the average fault repair time is calculated to obtain the total energy storage capacity required by the microgrid group.

5. A device for configuring energy storage capacity of a microgrid group, characterized in that: include: The curve prediction module is used to predict the load curve and output curve of each microgrid in the microgrid group within a preset time period; A source-load adaptability determination module, used to determine the source-load adaptability of the microgrid group according to the load curve and the output curve, wherein the source-load adaptability is used to measure the power supply capacity of the microgrid group; A judging module, used to judge whether the source-load adaptability is greater than or equal to a preset value, if so, execute a determining module, if not, execute a duration obtaining module; A determination module, used for determining that the microgrid group does not need energy storage; A duration acquisition module, used to obtain the average fault repair time of the upper-level power grid of the microgrid group; A total energy storage capacity determination module is used to determine the total energy storage capacity required by the microgrid group according to the average fault repair time, the load curve and the output curve; An energy storage allocation coefficient determination module, used to determine the energy storage allocation coefficient of each microgrid according to the load curve and the output curve; A target energy storage capacity calculation module is used to calculate the product of the total energy storage demand capacity and the energy storage allocation coefficient to obtain the target energy storage capacity of each microgrid; The source-load adaptability determination module includes: A total load calculation unit, used to calculate the sum of the loads at the same time point in the load curve of each microgrid in the microgrid group, and obtain the total load of the microgrid group at multiple time points; A total output value calculation unit is used to calculate the sum of the output values ​​at the same time point in the output curve of each microgrid in the microgrid group to obtain the total output value of the microgrid group at multiple time points; A first ratio calculation unit, used to calculate the ratio of the total output value to the total load at each time point to obtain multiple ratios; A first source-load adaptability determination unit, configured to determine a minimum value among a plurality of ratios as the source-load adaptability of the microgrid group; The energy storage allocation coefficient determination module includes: A load and output value determination unit, used to determine the load at each time point from the load curve of each microgrid, and to determine the output value at each time point from the output curve; A maximum difference determination unit is used to calculate the difference between the load and the output value at each time point for each microgrid, obtain the differences at multiple time points, and determine the maximum difference; a tag value setting unit, configured to set the tag value of the microgrid to a value of 1 if the maximum difference is greater than or equal to a value of 0, and to set the tag value of the microgrid to a value of 0 if the maximum difference is less than a value of 0; The energy storage allocation coefficient calculation unit is used to calculate the sum of the marking values ​​of all microgrids, calculate the ratio of the marking value of each microgrid to the sum of the marking values ​​of all microgrids, and obtain the energy storage allocation coefficient of each microgrid.

6. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the microgrid energy storage capacity configuration method described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the microgrid energy storage capacity configuration method according to any one of claims 1 to 4 when executed.

Citation Information

Patent Citations

  • Method for dynamically dividing and operating multiple islands of city micro power grid with photovoltaic power supplies

    CN102738834A

  • Intelligent direct-current micro-grid system supporting plug and play

    CN112821374A