Energy storage configuration method, system, device, apparatus and storage medium
By acquiring electricity forecast data and electricity consumption strategies, the energy storage capacity range of the energy storage system is calculated, and the target energy storage capacity with the lowest cost per kilowatt-hour is determined. This solves the efficiency and economic issues in the configuration of energy storage systems and realizes efficient regulation and capacity support of the smart grid.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
- Filing Date
- 2025-11-28
- Publication Date
- 2026-04-17
AI Technical Summary
How to configure energy storage systems reasonably to improve the regulation and capacity support capabilities of smart grids, reduce ineffective processing and waste of computing resources, and improve the efficiency and economy of determining target energy storage capacity.
By acquiring the electricity forecast data and electricity consumption strategies of the objects to be allocated storage, the range of storage capacity is calculated, and the target storage capacity with the lowest cost per kilowatt-hour is determined while meeting the electricity demand. The target storage capacity is determined by combining the cost per kilowatt-hour and the electricity demand.
It improves the efficiency and effectiveness of determining target energy storage capacity, reduces invalid processing, saves calculation time, and optimizes the economics of energy storage configuration.
Smart Images

Figure CN121216562B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy storage technology, and in particular to an energy storage configuration method, system, device, equipment and storage medium. Background Technology
[0002] Energy storage technology is crucial for ensuring the large-scale development of clean energy and the economical operation of the power grid, and it is also an important component of the smart grid. As one of the key technologies and basic equipment for building a smart grid, energy storage systems can significantly improve the regulation and capacity support capabilities of the smart grid through proper configuration. How to configure energy storage systems appropriately is an increasingly important focus for energy storage service participants and providers. Summary of the Invention
[0003] In view of the above problems, this application provides an energy storage configuration method, system, device, equipment and storage medium to achieve effective energy storage configuration.
[0004] In a first aspect, this application provides an energy storage configuration method, the method comprising: acquiring power forecast data and power consumption strategy of the object to be configured with energy storage; the power consumption strategy includes power supply mode priority and green electricity usage mode priority; calculating the energy storage capacity range based on the power forecast data and power consumption strategy, and acquiring the first energy storage capacity within the energy storage capacity range; if it is determined that the first energy storage capacity meets the power consumption demand of the object to be configured with energy storage, calculating the first cost per kilowatt-hour corresponding to the first energy storage capacity, and calculating the second cost per kilowatt-hour corresponding to the second energy storage capacity associated with the first energy storage capacity; the power consumption demand includes load demand and green electricity usage ratio demand; determining the target energy storage capacity of the object to be configured with energy storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; the target energy storage capacity is the energy storage capacity with the lowest corresponding cost per kilowatt-hour in the energy storage capacity range.
[0005] Optionally, the distribution and storage capacity range is calculated based on power forecast data and power consumption strategy, including: calculating the load deficit and green energy discard based on the predicted load and predicted green energy generation in the power forecast data, and determining intermediate parameters in the load deficit and green energy discard; obtaining the energy storage cycle number and distribution and storage cycle in the power consumption strategy, and calculating the maximum distribution and storage capacity based on the intermediate parameters, energy storage cycle number and distribution and storage cycle; and constructing the distribution and storage capacity range based on the preset values and the maximum distribution and storage capacity.
[0006] Optionally, the load deficit is calculated based on the predicted load and predicted green electricity generation in the power forecast data, including: calculating the initial load deficit for each forecast time interval based on the predicted load and predicted green electricity generation in each forecast time interval in the power forecast data; determining the interval load deficit for each forecast time interval from the initial load deficit and preset values; and calculating the load deficit based on the interval load deficit.
[0007] Optionally, after calculating the allocation and storage capacity range based on electricity forecast data and electricity consumption strategy, and obtaining the first allocation and storage capacity within the allocation and storage capacity range, the method further includes: obtaining the allocation and storage parameters corresponding to the first allocation and storage capacity, and obtaining the constraints and indicator calculation methods corresponding to the green electricity usage mode of the object to be allocated and stored; calculating the dynamic adjustment parameters of the object to be allocated and stored under the first allocation and storage capacity based on the electricity forecast data, electricity consumption strategy, constraints, and allocation and storage parameters; calculating the allocation and storage indicators of the object to be allocated and stored under the first allocation and storage capacity based on the indicator calculation method and dynamic adjustment parameters; detecting whether the allocation and storage indicators meet the electricity demand; if so, determining that the first allocation and storage capacity meets the electricity demand.
[0008] Optionally, the power supply and storage indicators include the amount of power shortage and / or the proportion of green electricity usage; if the amount of power shortage is equal to the preset value and / or the proportion of green electricity usage is greater than or equal to the preset proportion of green electricity usage, the power supply and storage indicators are determined to meet the electricity demand.
[0009] Optionally, the calculation of the first unit cost of electricity corresponding to the first allocation of storage includes: obtaining the benchmark cost of the storage target and the electricity transaction cost corresponding to the first allocation of storage based on the green electricity usage mode of the storage target; and calculating the first unit cost of electricity based on the electricity transaction cost, the benchmark cost and the predicted load of the storage target.
[0010] Optionally, calculating the second cost per kilowatt-hour corresponding to the second allocation storage quantity associated with the first allocation storage quantity includes: updating the first allocation storage quantity according to a first preset step size to obtain the second allocation storage quantity; and calculating the second cost per kilowatt-hour when the second allocation storage quantity meets the electricity demand.
[0011] Optionally, the target storage quantity for the object to be allocated is determined based on the first cost per kilowatt-hour and the second cost per kilowatt-hour, including: determining a first cost change trend based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; if the first cost change trend is the first trend, constructing an intermediate storage quantity range based on the first and second storage quantities, and obtaining a second preset step size; detecting whether the second preset step size is less than or equal to a step size threshold; if so, determining the first storage quantity as the target storage quantity.
[0012] Optionally, if the execution result after checking whether the second preset step size is less than or equal to the step size threshold is negative, the following operations are performed: within the intermediate allocation range, the first allocation quantity is updated according to the second preset step size to obtain the third allocation quantity, and the third cost per kilowatt-hour corresponding to the third allocation quantity is calculated; if the second cost change trend determined based on the first cost per kilowatt-hour and the third cost per kilowatt-hour is the first trend, the third preset step size is obtained; if the third preset step size is less than or equal to the step size threshold, the first allocation quantity is determined as the target allocation quantity.
[0013] Optionally, the method further includes: if the first cost change trend is the second trend, determining the second allocation quantity as the first allocation quantity and returning to execute the update processing of the first allocation quantity according to the first preset step size to obtain the second allocation quantity operation; if the second cost change trend is the second trend, determining the third allocation quantity as the first allocation quantity and returning to execute the update processing of the first allocation quantity according to the second preset step size to obtain the third allocation quantity, and calculating the third kilowatt-hour cost corresponding to the third allocation quantity operation.
[0014] Optionally, obtaining the first allocation quantity within the allocation quantity range includes: obtaining the midpoint value of the allocation quantity range as the first allocation quantity.
[0015] Optionally, calculating the second cost per kilowatt-hour corresponding to the second allocation storage quantity associated with the first allocation storage quantity includes: obtaining the association distance, and obtaining the allocation storage quantity in the first direction of the first allocation storage quantity in the allocation storage quantity interval according to the association distance as the second allocation storage quantity; and calculating the second cost per kilowatt-hour when the second allocation storage quantity meets the electricity demand.
[0016] Optionally, the target storage quantity for the object to be allocated is determined based on the first and second kilowatt-hour costs, including: determining the third cost change trend based on the first and second kilowatt-hour costs; determining the interval direction based on the third cost change trend, and obtaining the interval boundary value of the storage quantity interval based on the interval direction; constructing an intermediate storage quantity interval based on the interval boundary value and the first storage quantity; if the interval length of the intermediate storage quantity interval is less than the interval length threshold, the first interval boundary of the intermediate storage quantity interval is determined as the target storage quantity.
[0017] Optionally, the method further includes: if the interval length is greater than or equal to the interval length threshold, determining the intermediate allocation interval as the allocation interval and returning to execute the operation of obtaining the first allocation interval within the allocation interval.
[0018] Optionally, the method also includes: obtaining the object's electricity consumption profile and electricity prediction data, as well as obtaining electricity price data; and generating an electricity consumption strategy based on the object's electricity consumption profile, electricity prediction data, and electricity price data.
[0019] Secondly, this application also provides an energy storage configuration system, which includes: a storage capacity calculator, a cost calculation module, and a target storage capacity determination module;
[0020] The storage capacity calculator is used to calculate the storage capacity range based on the electricity forecast data and electricity consumption strategy of the storage target, and to obtain the first storage capacity within the storage capacity range; the electricity consumption strategy includes the priority of power supply mode and the priority of green electricity use mode.
[0021] The cost calculation module is used to calculate the first unit cost of electricity corresponding to the first unit of storage, and to calculate the second unit cost of electricity corresponding to the second unit of storage associated with the first unit of storage, provided that the first unit of storage meets the electricity demand of the storage target. The electricity demand includes load demand and green electricity usage ratio demand.
[0022] The target storage allocation quantity determination module is used to determine the target storage allocation quantity for the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; the target storage allocation quantity is the storage allocation quantity with the lowest corresponding cost per kilowatt-hour in the storage allocation quantity range.
[0023] Thirdly, this application also provides an energy storage configuration device, the device comprising:
[0024] The data acquisition module is used to acquire the electricity prediction data and electricity consumption strategy of the objects to be allocated and stored; the electricity consumption strategy includes the priority of power supply mode and the priority of green electricity use mode;
[0025] The interval calculation module is used to calculate the distribution and storage volume interval based on power forecast data and power consumption strategy, and to obtain the first distribution and storage volume within the distribution and storage volume interval.
[0026] Assuming that the first allocation of storage capacity meets the electricity demand of the storage recipients, the operating cost calculation module and the cost calculation module are used to calculate the first kilowatt-hour cost corresponding to the first allocation of storage capacity, and to calculate the second kilowatt-hour cost corresponding to the second allocation of storage capacity associated with the first allocation of storage capacity; the electricity demand includes load demand and green electricity usage ratio demand.
[0027] The storage allocation determination module is used to determine the target storage allocation amount for the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; the target storage allocation amount is the storage allocation amount with the lowest corresponding cost per kilowatt-hour in the storage allocation amount range.
[0028] Fourthly, this application also provides an electronic device comprising: a memory for storing a computer program; and a processor for implementing the method of any one of the first aspects above when executing the computer program.
[0029] Fifthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method of any one of the first aspects above.
[0030] Sixthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the method of any one of the first aspects above.
[0031] The energy storage configuration method provided in this application, after obtaining the electricity forecast data and electricity consumption strategy of the target storage object, first calculates the storage allocation range based on the electricity forecast data and electricity consumption strategy. By determining the storage allocation range, the target storage allocation for the target storage object is determined starting from the storage allocation range, improving the efficiency of target storage allocation determination, reducing invalid processing in the process of determining storage allocation, and saving time in determining the target storage allocation. On this basis, if the first storage allocation within the storage allocation range meets the electricity demand of the target storage object, the first cost per kilowatt-hour corresponding to the first storage allocation and the second cost per kilowatt-hour corresponding to the second storage allocation associated with the first storage allocation are calculated. Then, based on the first cost per kilowatt-hour and the second cost per kilowatt-hour, the target storage allocation with the minimum cost per kilowatt-hour is determined. In this way, while improving the efficiency of target storage allocation determination, the target storage allocation is determined by combining the cost per kilowatt-hour and the electricity demand, making the determined target storage allocation economically optimal and improving the effectiveness of the determined target storage allocation. Attached Figure Description
[0032] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0033] Figure 1 This is a schematic flowchart of an energy storage configuration method provided in an embodiment of this application;
[0034] Figure 2 This is a schematic flowchart of an energy storage configuration method for a green electricity generation mode, provided in an embodiment of this application.
[0035] Figure 3 This is a schematic flowchart of an energy storage configuration method for an energy storage configuration scenario applied under the green electricity purchase model, provided in an embodiment of this application.
[0036] Figure 4 This is a schematic structural diagram of an energy storage configuration system provided in an embodiment of this application;
[0037] Figure 5 This is a schematic structural diagram of an energy storage configuration device provided in an embodiment of this application;
[0038] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0039] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.
[0040] In practical applications, during the calculation of power storage capacity, the minimum value of the difference between the load and the power supply during the charging and discharging process is directly taken as the optimal power storage capacity. This results in a large amount of power storage capacity not being able to meet the load's electricity demand, requiring an increase in the power supply. In this case, purchasing power supply capacity requires a huge cost.
[0041] The energy storage configuration method provided in this embodiment calculates the energy storage quantity range for the target energy storage object. Within the energy storage quantity range, the energy storage quantity with the lowest level of electricity cost corresponding to each energy storage quantity is determined as the target energy storage quantity for the target energy storage object. In this way, by calculating the energy storage quantity range, the target energy storage quantity is determined within the energy storage quantity range, reducing the calculation of the level of electricity cost of invalid energy storage quantities when there are no upper and lower limits for energy storage quantities, saving calculation time, and improving the efficiency of determining the target energy storage quantity. On this basis, by determining the energy storage quantity with the lowest level of electricity cost in the energy storage quantity range that meets the electricity demand of the target energy storage object, the target energy storage quantity for the target energy storage object is determined. This makes the determination of the target energy storage quantity take into account both the level of electricity cost and the electricity demand of the target energy storage object, improving the effectiveness of the determined target energy storage quantity, and thus improving the target energy storage object's awareness of energy storage configuration.
[0042] like Figure 1 As shown, Figure 1 This is a schematic flowchart illustrating an energy storage configuration method provided in an embodiment of this application. The method includes:
[0043] Step S101: Obtain the power prediction data and power consumption strategy of the storage target.
[0044] The entities to be allocated energy storage in this embodiment include institutions or users with energy storage needs, such as mines, factories, logistics parks, industrial parks, data centers, and other institutions with significant electricity demand, green electricity generation capabilities, and / or green electricity purchase needs. Green electricity in this embodiment includes electricity generated with zero or near-zero carbon dioxide emissions during the power production process. Compared to other methods of power generation, green electricity production has a lower environmental impact. Green electricity generation in this embodiment includes photovoltaic power generation, wind power generation, biomass power generation, and / or geothermal power generation. Green electricity in this embodiment can be obtained through clean energy power generation.
[0045] In practical applications, storage devices require a certain load to support normal operation within a specific time period. Furthermore, for storage devices with green electricity generation capabilities, a certain amount of green electricity is generated within a specific time period. The load required and the green electricity generated by the storage device within this time period can be used as its electricity data. In this embodiment, the electricity prediction data includes the load and green electricity generation required by the storage device in subsequent periods, predicted based on its historical electricity data. This embodiment uses photovoltaic and wind power generation as examples of green electricity generation. Optionally, the electricity prediction data includes the predicted load, predicted wind power generation, and / or predicted photovoltaic power generation. The predicted wind power generation and / or predicted photovoltaic power generation are considered as predicted green electricity generation.
[0046] In practice, to make the power generation forecast data more accurate and thus improve the accuracy of subsequent processing, this embodiment can obtain the power generation forecast data at the granularity of the forecast time interval. For example, the forecast time interval can be 15 minutes. In this case, the power generation forecast data includes the predicted load, predicted wind power generation, and / or predicted photovoltaic power generation obtained every 15 minutes.
[0047] In practice, electricity forecast data can be obtained through forecasting models. For example, the historical load of the target storage device within a historical time period can be obtained, input into a load forecasting model, and the predicted load output by the model can be obtained. Similarly, the historical wind power generation of the target storage device within a historical time period can be obtained, input into a wind power generation forecasting model, and the predicted wind power output can be obtained. Likewise, the historical photovoltaic power generation of the target storage device within a historical time period can be obtained, input into a photovoltaic power generation forecasting model, and the predicted photovoltaic power output can be obtained. Alternatively, the historical green electricity generation of the target storage device within a historical time period can be obtained, input into a green electricity generation forecasting model, and the predicted green electricity output can be obtained; where historical green electricity generation may include historical wind power generation and / or historical photovoltaic power generation.
[0048] The load forecasting model, green electricity generation forecasting model, wind power generation forecasting model, and / or photovoltaic power generation forecasting model in this embodiment can be obtained through model training. For example, a load forecasting model can be obtained by training the model to be trained using load samples. Similarly, a wind power generation forecasting model can be obtained by training the model to be trained using wind power generation samples, a photovoltaic power generation forecasting model can be obtained by training the model to be trained using photovoltaic power generation samples, or a green electricity generation forecasting model can be obtained by training the model to be trained using green electricity generation samples.
[0049] It should be noted that the model to be trained in this embodiment can be LSTM (Long Short-Term Memory), GRU (Gated Recurrent Unit), XGBOOST (eXtremeGradient Boosting), Transformer (a self-attention-based architecture), Informer (a temporal prediction model), and / or BERT (a Transformer-based bidirectional encoder); or it can be a variant model of the above structures. The specific model can be determined according to actual needs, and this embodiment does not impose any limitations. It should also be noted that the above-mentioned different prediction models to be trained can be models with the same structure or models with different structures, and this embodiment does not impose any limitations.
[0050] In practice, green electricity generation is also affected by region and season. For example, photovoltaic (PV) power generation is higher in summer than in winter, or wind power generation is higher in areas with strong winds than in areas with weak winds. Therefore, to improve the accuracy of predicted green electricity generation, historical green electricity generation, the region identifier of the area to be allocated storage, and / or the season for allocation storage can be input into the green electricity generation prediction model, and the green electricity generation output by the model can be obtained. Specifically, the green electricity generation prediction model may include a wind power generation prediction model and / or a PV power generation prediction model. For example, historical wind power generation, the season for allocation storage, and / or the region identifier of the area to be allocated storage can be input into the wind power generation prediction model, and the predicted wind power generation output by the model can be obtained; or, historical PV power generation, the season for allocation storage, and / or the region identifier of the area to be allocated storage can be input into the PV power generation prediction model, and the predicted PV power generation output by the model can be obtained.
[0051] The above describes in detail the electricity forecast data and the method for obtaining the electricity forecast data for the storage target in this embodiment. Optionally, the electricity forecast data for the storage target is obtained based on historical electricity data, the region of storage, and / or the season of storage. The electricity consumption strategy of the storage target is described in detail below.
[0052] The electricity consumption strategy in this embodiment includes the electricity consumption strategy of the storage device; for example, prioritizing the use of green electricity generation, using energy storage to discharge when green electricity generation cannot meet the demand, purchasing electricity from the grid when energy storage discharge still cannot meet the demand, using the excess green electricity generation to charge the energy storage when green electricity generation meets the demand, and selling electricity to the grid after green electricity generation meets both the demand and energy storage charging is completed.
[0053] In practice, to improve the effectiveness of the generated electricity consumption strategy, it can be generated based on the electricity consumption profile, electricity forecast data, and / or electricity price data of the target storage recipients. During this process, the electricity consumption profile is introduced to make the generated electricity consumption strategy more aligned with the electricity consumption habits of the target storage recipients; electricity forecast data is introduced to determine the use of green electricity; and electricity price data is introduced to make the generated electricity consumption strategy more economical, thus reducing the electricity purchase cost for the target storage recipients.
[0054] In this embodiment, the object's electricity consumption profile is used to characterize the electricity consumption habits of the object to be allocated electricity storage. Specifically, the object's electricity consumption profile can be generated based on the historical electricity consumption distribution of the object to be allocated electricity storage; for example, if a factory's production period is 8:00-20:00, with 8:00-20:00 being the peak electricity consumption period and 20:00-8:00 being the off-peak electricity consumption period, then 8:00-20:00, 8:00-20:00 being the peak electricity consumption period, and 20:00-8:00 being the off-peak electricity consumption period are determined as the object's electricity consumption profile for the factory.
[0055] In the specific process of generating electricity consumption strategies, the electricity consumption profile and electricity prediction data of the objects to be allocated and stored can be obtained first, as well as the electricity price data. Then, the electricity consumption strategy can be generated based on the object's electricity consumption profile, electricity prediction data, and electricity price data.
[0056] Specifically, in the process of generating an electricity consumption strategy based on the target's electricity consumption profile, electricity forecast data, and electricity price data, the electricity consumption cycle can be divided into time periods, and an electricity consumption strategy for each time period can be generated based on the target's electricity consumption profile, electricity forecast data, and / or electricity price data. The electricity consumption strategy in this embodiment may include a power supply strategy, a power sales strategy, and / or an energy storage sub-strategy. The power supply strategy includes the priority of power supply methods for supplying power to the target energy storage device; the power sales strategy includes the priority of usage methods for using the green electricity generated by the target energy storage device; and the energy storage sub-strategy includes the charging and discharging strategy for energy storage devices.
[0057] Specifically, in the process of dividing the electricity consumption cycle into time periods, the time periods can be divided based on the electricity consumption profile of the target and the generation time corresponding to each type of green electricity generation determined by electricity forecast data. Specifically, the electricity consumption cycle can be divided into time periods according to the intersection of the target's electricity consumption profile and the generation time corresponding to each type of green electricity generation, thus obtaining at least one time period.
[0058] For example, if the electricity consumption cycle is 24 hours a day, and the electricity consumption profile of the target is that 8:00-20:00 is the peak electricity consumption period and 20:00-8:00 is the low electricity consumption period, and based on the predicted wind power generation and predicted photovoltaic power generation data, the photovoltaic power generation time is determined to be 7:00-17:00, and the wind power generation time is determined to be 20:00-7:00. Wind power generation will also occur at other times, and the specific wind power generation is affected by wind force. Therefore, based on 7:00-17:00, 8:00-20:00, 20:00-8:00, and 20:00-7:00, the electricity consumption cycle is divided into: 7:00-8:00, 8:00-17:00, 17:00-20:00, and 20:00-7:00 the next day.
[0059] Based on obtaining at least one period of the electricity consumption cycle, specifically in the process of generating the power supply strategy for each period according to the object's electricity consumption profile, electricity forecast data and / or electricity price data, the power supply priority for each period can be generated according to the electricity forecast data. Specifically, the power supply priority for each period can be generated according to the generation time corresponding to each type of green electricity generation.
[0060] Continuing with the previous example, from 7:00 to 8:00, since this is the time for photovoltaic (PV) power generation, PV power generation can be prioritized. Because green electricity requires no payment or its price is lower than the purchase price in the electricity price data, green electricity generation will be prioritized. The second priority is wind power generation, the third priority is energy storage discharge, and the fourth priority is grid-purchased electricity. Specifically, wind power generation is used to supplement insufficient PV power generation, energy storage discharge is used to supplement insufficient green electricity generation, and grid-purchased electricity is used to supplement insufficient energy storage.
[0061] The power supply priority for 7:00-8:00 has been explained above. The power supply priority for other time periods can be determined in a similar way, as detailed above. This embodiment will not repeat the details here. The power supply priority for each time period of the above power consumption cycle is shown in Table 1.
[0062]
[0063] Table 1
[0064] Furthermore, based on electricity price data, priority can be given to purchasing electricity from the grid when prices are low, and charging energy storage devices based on green electricity generation, so that electricity can be sold back to the grid when prices are high. For example, if the electricity price is low between 7:00 and 8:00, the priority for power supply during this period can be: purchasing electricity from the grid. The energy storage devices can be charged based on the green electricity generated during this period. Between 8:00 and 17:00, due to higher electricity prices and the presence of photovoltaic and wind power generation, the priority for power supply can be: 1. Photovoltaic power generation; 2. Wind power generation; 3. Energy storage discharge. In this case, if the predicted photovoltaic power generation plus the predicted wind power generation exceeds the predicted load, the predicted green electricity generation exceeding the predicted load will be used to charge the energy storage devices, and the energy storage devices will be sold back to the grid after they are fully charged. This achieves "purchasing at a low price and selling at a high price," further reducing the cost per kilowatt-hour.
[0065] Specifically, in the process of generating electricity sales strategies for each time period based on the target electricity consumption profile, electricity forecast data, and / or electricity price data, the electricity sales strategy for each time period can be determined by prioritizing energy storage charging as the first priority and selling electricity to the grid as the second priority. Among them, the amount of electricity sold to the grid in different time periods can be determined based on the electricity price data; for example, the amount of electricity sold to the grid can be increased when the electricity price is high, and the amount of electricity sold to the grid can be reduced when the electricity price is low.
[0066] In the specific implementation process, the energy storage sub-strategy for each time period can be as follows: if the predicted green electricity generation is less than the predicted load, the energy storage sub-strategy can be discharge; if the predicted green electricity generation is greater than the predicted load, the energy storage sub-strategy can be charging; if the predicted green electricity generation is equal to the predicted load, the energy storage sub-strategy can be empty.
[0067] The above describes the process of generating electricity consumption strategies. It should be noted that the above process is merely exemplary, and strategies can be generated according to actual scenarios. This embodiment does not limit the specific implementation.
[0068] Step S102: Calculate the distribution and storage range based on the electricity forecast data and electricity consumption strategy, and obtain the first distribution and storage amount within the distribution and storage range.
[0069] In practice, after obtaining the electricity forecast data and electricity consumption strategy of the target storage object, the storage allocation range is calculated based on the electricity forecast data and electricity consumption strategy. Then, by calculating the upper and lower limits of the storage allocation, subsequent processing is carried out within this range, improving processing efficiency. Once the storage allocation range is calculated, the first storage allocation within that range is obtained.
[0070] The following sections describe the process of calculating the allocation and storage capacity range based on electricity forecast data and electricity consumption strategies, and the specific execution process of obtaining the first allocation and storage capacity within the allocation and storage capacity range.
[0071] Step S102-1: Calculate the storage range based on electricity forecast data and electricity consumption strategy.
[0072] In this embodiment, the energy storage capacity includes the total energy storage capacity configured for the target energy storage recipients. By providing the target energy storage recipients with the corresponding energy storage system or energy storage device, the energy storage device can be used to store electricity obtained from green electricity generation and / or electricity purchased from the grid, so that when green electricity generation cannot meet the load demand, the energy stored in the energy storage device can be used to supply electricity.
[0073] Specifically, in the process of calculating the energy storage and distribution range based on electricity forecast data and electricity consumption strategies, intermediate parameters can be determined according to the load deficit and green energy discard. Then, the maximum energy storage and distribution range is calculated based on the intermediate parameters, the number of energy storage cycles, and the energy storage and distribution cycle. Finally, the energy storage and distribution range is constructed based on the preset values and the maximum energy storage and distribution range. In an optional implementation method provided in this embodiment, the process of calculating the energy storage and distribution range based on electricity forecast data and electricity consumption strategies is performed in the following manner:
[0074] (1) Calculate the load deficit and green electricity discard based on the predicted load and predicted green electricity generation in the power forecast data.
[0075] In this embodiment, the load deficit represents the amount of power supply shortage when there is no energy storage. During execution, if the predicted load is greater than the predicted green electricity generation, the difference between the predicted load and the predicted green electricity generation is determined as the load deficit. If the predicted load is less than or equal to the predicted green electricity generation, it indicates that there is no supply shortage, and a preset value can be determined as the load deficit. In this embodiment, the preset value can be 0. Based on this, the load deficit in this embodiment can be calculated based on the electricity forecast data; specifically, the load deficit can be calculated based on the predicted load and predicted green electricity generation in the electricity forecast data.
[0076] In the case where the power forecast data is in the form of forecast time interval t, the load deficit for each forecast time interval can be calculated; then the load deficit for each forecast time interval is summed to obtain the load deficit. In an optional implementation of this embodiment, in the process of calculating the load deficit based on the forecast load and forecast green electricity generation in the power forecast data, the initial load deficit for each forecast time interval is first calculated based on the forecast load and forecast green electricity generation in each forecast time interval of the power forecast data. Then, the load deficit for each forecast time interval is determined from the initial load deficit and a preset value. Finally, the load deficit is calculated based on the load deficit for each interval.
[0077] For example, the interval load shortfall corresponding to any prediction time interval t ;in, To predict load, To predict photovoltaic power generation, To predict wind power generation; after obtaining the load deficit for each prediction time interval t according to the above method, the load deficit... .
[0078] In this embodiment, the green electricity discard amount represents the amount discarded when green electricity supply exceeds the predicted load during the absence of energy storage. Specifically, if the predicted green electricity generation is greater than the predicted load, the difference between the predicted green electricity generation and the predicted load is determined as the green electricity discard amount; if the predicted green electricity generation is less than or equal to the predicted load, it indicates that there is no green electricity discard, and a preset value can be determined as the green electricity discard amount. That is, the green electricity discard amount in this embodiment can also be calculated based on the predicted load and predicted green electricity generation in the electricity forecast data.
[0079] Similar to the above calculation process for load deficit, when the power forecast data is in the form of forecast time intervals t, the green electricity discard amount for each forecast time interval can be calculated; then, the green electricity discard amounts for each forecast time interval are summed to obtain the green electricity discard amount. In an optional implementation of this embodiment, in the process of calculating the green electricity discard amount based on the forecast load and forecast green electricity generation in the power forecast data, firstly, the initial green electricity discard amount for each forecast time interval is calculated based on the forecast load and forecast green electricity generation in each forecast time interval of the power forecast data; then, the interval green electricity discard amount for each forecast time interval is determined from the initial green electricity discard amount and the preset value; finally, the green electricity discard amount is calculated based on the interval green electricity discard amount.
[0080] For example, the amount of green electricity discarded in any predicted time interval t. After obtaining the green electricity discard amount corresponding to each predicted time interval t in the above manner, the green electricity discard amount... .
[0081] (2) Determine intermediate parameters between load loss and green electricity discard.
[0082] The intermediate parameters in this embodiment include the maximum value of the load loss and the green electricity discard.
[0083] In practice, when the load deficit exceeds the green electricity discard amount, the discarded green electricity can be stored by energy storage devices for energy storage discharge during supply shortages. Simultaneously, when electricity prices are low, electricity can be purchased from the grid and stored in energy storage devices for energy storage discharge during supply shortages. When the load deficit is less than the green electricity discard amount, the energy storage devices are charged within the green electricity discard range. The stored electricity is preferentially used for energy storage discharge during supply shortages; any remaining electricity can be sold to the grid. Based on this, the maximum value between the load deficit and the green electricity discard amount is determined as an intermediate parameter.
[0084] For example, the intermediate parameter is , .
[0085] (3) Obtain the number of energy storage cycles and the energy storage allocation cycle in the power consumption strategy, and calculate the maximum energy storage allocation based on the intermediate parameters, the number of energy storage cycles and the energy storage allocation cycle.
[0086] In practice, the number of energy storage cycles and the distribution and storage cycle in the power consumption strategy are obtained. Then, based on the number of energy storage cycles, the distribution and storage cycle, and the intermediate parameters determined by the predicted load and predicted green electricity generation in the power forecast data, the maximum distribution and storage capacity is calculated.
[0087] In this embodiment, the storage allocation period includes the duration for which the object to be allocated storage needs to be allocated, for example, the storage allocation period is T; each day in the storage allocation period can be considered as one electricity consumption cycle; in addition, the electricity consumption cycle can also be divided according to hours, half days, weeks and / or months, which are not limited in this embodiment.
[0088] In this embodiment, one energy storage cycle includes one charging and discharging process; that is, the number of charging and discharging processes included in the power consumption strategy is the number of energy storage cycles. For example, in the power consumption strategy, photovoltaic power generation is used from 7:00 to 17:00, and the excess electricity is used to charge the energy storage device; from 17:00 to 20:00, the energy storage is discharged, completing one cycle; from 20:00 to 7:00 the next day, wind power is used, and the excess electricity is used to charge the energy storage device; if the energy storage is charged from 20:00 to 7:00 the next day but not discharged, it does not constitute one cycle. Therefore, the number of energy storage cycles in this power consumption strategy is 1.
[0089] Specifically, in the process of calculating the maximum storage capacity based on intermediate parameters, energy storage cycle count, and storage allocation cycle, the product of energy storage cycle count and storage allocation cycle can be calculated, and then the ratio of intermediate parameters to the product can be used as the maximum storage capacity.
[0090] For example, the intermediate parameter is Let Cn be the number of energy storage cycles and T be the energy storage allocation cycle. Calculate the maximum energy storage allocation. .
[0091] (4) Construct a range of allocation quantities based on preset values and maximum allocation quantities.
[0092] In practice, after calculating the maximum allocation amount, an allocation range is constructed based on a preset value and the maximum allocation amount. For example, the constructed allocation range is [0, ...]. ].
[0093] Step S102-2: Obtain the first allocation of reserves within the allocation range.
[0094] In practice, after calculating the distribution and storage capacity range based on electricity forecast data and electricity consumption strategy, the first distribution and storage capacity within the distribution and storage capacity range is obtained.
[0095] In this embodiment, the first allocation quantity can be any allocation quantity within the allocation quantity range. During execution, a skip list method or a binary search method can be used to determine the target allocation quantity within the allocation quantity range. Based on this, the first allocation quantity can be an allocation quantity whose distance from the boundary of the allocation quantity is a first distance. For example, if the first distance is m, m or... As the first allocation quantity, the first distance can also be 0, and 0 can be used as the first allocation quantity.
[0096] Furthermore, the first allocated reserve can also be the midpoint of the allocated reserve interval. Optionally, in the process of obtaining the first allocated reserve within the allocated reserve interval, the midpoint of the allocated reserve interval can be obtained as the first allocated reserve. For example, determining... As the first allocation of reserves.
[0097] The above describes in detail the process of calculating the allocation and storage range based on electricity forecast data and electricity consumption strategy, and obtaining the first allocation and storage volume within the allocation and storage range.
[0098] In practice, to improve processing efficiency and avoid wasting computing resources and processing time by calculating the cost per kilowatt-hour when the first allocation quantity does not meet the electricity demand of the target storage object, this embodiment checks whether the first allocation quantity meets the electricity demand of the target storage object after obtaining it. If it is determined that the first allocation quantity meets the electricity demand of the target storage object, the target allocation quantity can be determined by calculating the first cost per kilowatt-hour corresponding to the first allocation quantity and the second cost per kilowatt-hour corresponding to the second allocation quantity associated with the first allocation quantity.
[0099] In the specific implementation process, to improve the effectiveness and accuracy of detecting whether the first allocation of storage capacity meets the electricity demand of the target storage recipient, this embodiment can perform a strategy simulation of the electricity consumption strategy based on the first allocation of storage capacity and electricity prediction data, and detect whether the first allocation of storage capacity meets the electricity demand of the target storage recipient based on the simulation results. In an optional implementation method provided in this embodiment, after obtaining the first allocation of storage capacity, a strategy simulation of the electricity consumption strategy is first performed based on the first allocation of storage capacity and electricity prediction data to obtain the simulation results. Then, if the simulation results meet the electricity demand, it is determined that the first allocation of storage capacity meets the electricity demand of the target storage recipient. The electricity demand in this embodiment includes load demand and / or the green electricity usage ratio demand.
[0100] In the specific implementation process, the allocation index of the target energy storage object under the first allocation amount can be calculated to complete the strategy simulation, and the allocation index is used as the simulation result. The allocation index may include the power supply shortage and / or the proportion of green electricity usage. In an optional implementation provided in this embodiment, after obtaining the first allocation amount, whether the first allocation amount meets the electricity demand can be detected in the following way:
[0101] (1) Obtain the allocation parameters corresponding to the first allocation amount, and obtain the constraints and index calculation methods corresponding to the green electricity usage mode of the object to be allocated.
[0102] In practice, during the process of determining whether the first allocation and storage capacity meets the electricity demand, the allocation and storage parameters corresponding to the first allocation and storage capacity, as well as the constraints and indicator calculation methods, are first obtained. To improve the accuracy of the obtained constraints and indicator calculation methods, the constraints and indicator calculation methods corresponding to the green electricity usage mode of the object to be allocated and stored can be obtained during the process of obtaining the constraints and indicator calculation methods.
[0103] In this embodiment, the allocation parameters corresponding to the first allocation quantity include allocating storage products based on the first allocation quantity, obtaining the storage products, and then obtaining the allocation parameters based on the storage products. Optionally, the allocation parameters may include the theoretical multiplier r and the upper limit of energy storage charging. Upper limit of discharge Charging efficiency Discharge efficiency The SOC (State of Charge) at time T. The lower limit of SOC and upper limit Total cost of energy storage investment and / or total maintenance costs .
[0104] In this embodiment, the green electricity usage mode is used to characterize the source of green electricity used by the storage device. Specifically, if the storage device has green electricity generation capability, its green electricity usage mode is the green electricity generation mode, and the green electricity used by the storage device under the green electricity generation mode can be obtained through green electricity generation capability. Alternatively, if the storage device does not have green electricity generation capability, it can obtain green electricity by purchasing green electricity from a green electricity provider. In this case, its green electricity usage mode is the green electricity purchase mode, and the green electricity used by the storage device under the green electricity purchase mode can be obtained through green electricity purchase.
[0105] The constraints in this embodiment may include energy storage constraints and / or power constraints; the calculation methods for the indicators may include load deficit calculation methods and / or green electricity usage ratio calculation methods; it should be noted that the load deficit calculation method and the power constraint can be the same.
[0106] The following sections explain the constraints and indicator calculation methods for the green electricity generation mode and the green electricity purchase mode, respectively.
[0107] The first type: Green electricity generation mode.
[0108] In practice, under the green electricity generation mode, the constraints may include energy storage constraints and power balance constraints.
[0109] Among them, the energy storage constraints can be:
[0110]
[0111] The power balance constraint can be:
[0112]
[0113] Correspondingly, the calculation method for the proportion of green electricity use is as follows:
[0114]
[0115] In the above formula, To predict load, , You can specify the length of the predicted time interval, such as 15 minutes or 0.25 hours. To predict photovoltaic power generation, For the curtailment of photovoltaic power generation, To predict wind power generation, For wind power curtailment, Power purchased for the power grid The percentage of electricity sold to the power grid and the percentage of green electricity used are: , C represents the power of the energy storage system, and C represents the first energy storage capacity.
[0116] The second option is the green electricity purchase model.
[0117] In practice, the energy storage constraints under the green electricity purchase model can be the same as those under the green electricity generation model.
[0118] The power balance constraint can be:
[0119]
[0120] Correspondingly, the calculation method for the proportion of green electricity use is as follows:
[0121]
[0122] In the above formula, M represents the amount of green electricity purchased from the i-th green electricity provider, where M is the number of green electricity providers from which green electricity is purchased. Electricity sold as green electricity.
[0123] (2) Calculate the dynamic adjustment parameters of the object to be allocated storage under the first allocation amount based on the electricity forecast data, electricity consumption strategy, constraints and storage parameters.
[0124] In this embodiment, the dynamic adjustment parameters of the energy storage target under the green electricity generation mode at the first energy storage allocation amount include at least one of the following: energy storage system power, photovoltaic power curtailment, wind power curtailment, grid-purchased power, and grid-sold power. The dynamic adjustment parameters of the energy storage target under the green electricity purchase mode at the first energy storage allocation amount include at least one of the following: green electricity sales volume, green electricity sales power, grid-purchased power, and grid-sold power.
[0125] In practical implementation, during the process of calculating the dynamic adjustment parameters of the energy storage target under the first energy storage quantity based on electricity forecast data, electricity consumption strategy, constraints, and energy storage allocation parameters, the power range of the energy storage system can be calculated first based on the energy storage parameters and energy storage constraints; among which, it can be based on Calculate the lower limit of the power range of the energy storage system, based on Calculate the upper limit of the power range of the energy storage system.
[0126] in, According to the previous pass Calculated. If it's the first time, Can be Or other values set by the user, which are not limited in this embodiment.
[0127] Based on the calculated power range of the energy storage system, the power direction and green electricity curtailment of the energy storage system can be calculated based on the power consumption strategy and power forecast data. In specific implementation, when the power consumption strategy prioritizes the use of green electricity for power supply, the energy storage system adapts to green electricity surplus and / or load shortage, and the grid purchases electricity as a backup, the difference between the predicted green electricity generation and the predicted load can be calculated. If the difference is greater than 0, the corresponding power consumption strategy is: use green electricity to cover the load, and use the remaining green electricity to charge the energy storage system. In this case, the power direction of the energy storage system is the charging direction, and the power of the energy storage system is greater than 0. The green electricity curtailment can be tentatively set as the green electricity surplus (the difference between the predicted green electricity generation and the predicted load) minus the maximum rechargeable capacity of the energy storage system. If the difference is less than or equal to 0, the corresponding power consumption strategy is: green electricity to cover the load, the load gap is supplemented by the discharge of the energy storage system, and the grid purchases electricity when the discharge of the energy storage system is insufficient. In this case, the power direction of the energy storage system is the discharging direction, the power of the energy storage system is less than 0, and the green electricity curtailment can be tentatively set as 0.
[0128] Based on the power direction of the energy storage system and the amount of green electricity curtailed, initial dynamic adjustment parameters can be calculated according to the electricity consumption strategy and the power direction of the energy storage system. In the specific implementation process, the benchmark parameters can be obtained based on the difference between the predicted green electricity generation and the predicted load. The initial dynamic adjustment parameters are then calculated based on the difference and the benchmark parameters.
[0129] Specifically, if the difference is greater than 0, the benchmark parameter can be the maximum charging power of the energy storage system. In the process of calculating the initial dynamic adjustment parameters based on the difference and the benchmark parameter, if the difference is less than or equal to the maximum charging power of the energy storage system, the difference can be determined as the power of the energy storage system, and the green electricity curtailment can be determined as 0. If the difference is greater than the maximum charging power of the energy storage system, the maximum charging power of the energy storage system can be used as the power of the energy storage system, and the green electricity curtailment can be the difference minus the power of the energy storage system.
[0130] If the difference is less than or equal to 0, the benchmark parameter can be the maximum discharge power of the energy storage system. First, calculate the load deficit (the load deficit can be equal to the predicted load minus the predicted green electricity generation). If the load deficit is less than or equal to the maximum discharge power of the energy storage system, the absolute value of the load deficit can be determined as the power of the energy storage system, the grid power purchase can be 0, and the green electricity curtailment can also be 0. If the load deficit is greater than the maximum discharge power of the energy storage system, the absolute value of the maximum discharge power of the energy storage system can be used as the power of the energy storage system, the grid power purchase can be the absolute value of the difference between the load deficit and the power of the energy storage system, and the green electricity curtailment can be 0.
[0131] It should be noted that the amount of green electricity curtailed includes curtailed photovoltaic power generation and / or curtailed wind power generation.
[0132] To further improve the accuracy and effectiveness of the obtained dynamic adjustment parameters, based on the initial dynamic adjustment parameters, the initial dynamic adjustment parameters can be corrected by combining power prediction data and power balance constraints to obtain the final dynamic adjustment parameters.
[0133] In the specific implementation process, the initial dynamic adjustment parameters and power prediction data are substituted into the power balance constraint conditions. If both sides of the power balance constraint conditions are equal, the initial dynamic adjustment parameters are determined as the dynamic adjustment parameters. If the left side of the power balance constraint conditions is greater than the right side, the initial energy storage system power or the grid power purchase can be increased within the power range of the energy storage system until both sides are equal. If the right side is greater than the left side, the energy storage system power can be decreased or the green electricity curtailment can be increased within the power range of the energy storage system until both sides are equal, and finally the dynamic adjustment parameters are obtained.
[0134] (3) Calculate the allocation index of the target to be allocated under the first allocation amount according to the index calculation method and dynamic adjustment parameters.
[0135] In practice, after obtaining the index calculation method and dynamic adjustment parameters of the target to be allocated, the allocation index of the target to be allocated under the first allocation amount is calculated according to the index calculation method and dynamic adjustment parameters.
[0136] The power supply shortage can be calculated using the corresponding power balance constraints. That is, it is necessary to verify whether the first formula in the power balance constraints is valid. If it is, the power supply shortage is determined to be 0, which meets the load demand of the storage device to be allocated. If the left side is greater than the right side, the power supply shortage is determined to be non-zero, which does not meet the load demand of the storage device to be allocated.
[0137] It should be noted that the power balance constraints differ under different green electricity usage modes.
[0138] The percentage of green electricity used can be calculated using the formulas mentioned above.
[0139] (4) Check whether the power supply and storage indicators meet the power demand; if so, determine that the first power supply and storage quantity meets the power demand.
[0140] In practice, after calculating the power supply and energy storage indicators, it can be checked whether the indicators meet the electricity demand. If so, the first power supply and energy storage quantity is determined to meet the electricity demand; otherwise, the first power supply and energy storage quantity is determined not to meet the electricity demand. Optionally, if the power supply shortage is equal to a preset threshold and / or the green electricity usage ratio is greater than or equal to a preset green electricity usage ratio, the power supply and energy storage indicators are determined to meet the electricity demand; otherwise, the power supply and energy storage indicators do not meet the electricity demand.
[0141] That is: if the power supply shortage corresponding to the first distribution reserve is equal to the preset threshold and / or the green electricity usage ratio corresponding to the first distribution reserve is greater than or equal to the preset green electricity usage ratio, the first distribution reserve is determined to meet the power demand.
[0142] In the specific implementation process, if the proportion of green electricity used is greater than or equal to the preset proportion of green electricity used, it means that the proportion of green electricity used meets the green electricity used ratio requirements of the storage recipients; otherwise, the proportion of green electricity used does not meet the green electricity used ratio requirements of the storage recipients.
[0143] In practice, if the first allocation of storage capacity does not meet the electricity demand of the target storage recipient, the first allocation of storage capacity shall be updated. In the process of updating the first allocation of storage capacity, the update can be carried out according to the relevant contents in steps S103 and S104 below. Please refer to the following contents for details.
[0144] Step S103: If it is determined that the first allocation of storage capacity meets the electricity demand of the storage target, calculate the first cost per kilowatt-hour corresponding to the first allocation of storage capacity, and calculate the second cost per kilowatt-hour corresponding to the second allocation of storage capacity associated with the first allocation of storage capacity.
[0145] In this embodiment, the cost per kilowatt-hour includes the cost incurred by the storage object during the process of allocating storage according to the corresponding storage amount.
[0146] Step S103-1: Calculate the first unit cost of electricity corresponding to the first distribution storage quantity.
[0147] In one optional implementation of this embodiment, in calculating the first kilowatt-hour cost corresponding to the first allocation of storage capacity, firstly, based on the green electricity usage pattern of the storage target, the baseline cost of the storage target and the electricity transaction cost corresponding to the first allocation of storage capacity are obtained. Then, based on the electricity transaction cost, the baseline cost, and the predicted load of the storage target, the first kilowatt-hour of electricity is calculated. The electricity transaction cost corresponding to the first allocation of storage capacity can be obtained from dynamic adjustment parameters.
[0148] (1) Corresponding to the above green power generation mode, in order to generate green power, it is necessary to carry out the operation and maintenance of photovoltaic power generation and / or wind power generation equipment, which requires a certain cost; the benchmark cost corresponding to the green power generation mode can be the green power generation cost, which can be calculated based on the total investment cost of photovoltaic, photovoltaic operation and maintenance cost, total investment cost of wind power, wind power operation and maintenance cost and / or capacity electricity fee.
[0149] Specifically, the cost of green electricity generation can be obtained by calculating the sum of the total investment cost of photovoltaic power, the operation and maintenance cost of photovoltaic power, the total investment cost of wind power, the operation and maintenance cost of wind power, and / or the capacity charge.
[0150] For example, the cost of green electricity generation is ;
[0151]
[0152] in, The total cost of photovoltaic investment, For photovoltaic operation and maintenance costs, This represents the total investment cost of wind power. For wind power operation and maintenance costs, This is for capacity-based electricity charges.
[0153] In this embodiment, purchasing electricity from the grid incurs certain costs, while selling electricity to the grid recovers certain costs. Purchasing and maintaining energy storage devices also incur costs. Based on this, under the green electricity generation model, the electricity transaction cost corresponding to the first energy storage capacity can be calculated based on the grid purchase cost, the grid sales recovery cost, and the energy storage device cost. Since the grid purchase cost and energy storage device cost are expenditures, while the grid sales recovery cost is a recovered cost, the electricity transaction cost of the first energy storage capacity under the green electricity generation model can be obtained by calculating the difference between the grid purchase cost and the grid sales recovery cost, and then summing the difference with the energy storage device cost.
[0154] For example, the electricity trading cost under the green electricity generation model is ;
[0155]
[0156] in, Power purchased for the power grid The unit price of electricity purchased from the power grid. The power sold to the power grid, This refers to the unit price of electricity sold by the power grid. The total cost of energy storage investment, This is for energy storage operation and maintenance costs.
[0157] (2) Corresponding to the above green electricity purchase mode, in order to purchase green electricity, a certain cost is also required; the benchmark cost corresponding to the green electricity purchase mode can be the green electricity purchase cost, which can be calculated based on the amount of green electricity purchased, the unit price of green electricity purchase and / or the capacity charge.
[0158] Specifically, the cost of purchasing green electricity can be obtained by multiplying the amount of green electricity purchased by the unit price of green electricity, and then summing the product with the capacity charge.
[0159] For example, the cost of purchasing green electricity is ;
[0160]
[0161] in, To purchase green electricity from the i-th green electricity provider, M represents the unit price of green electricity purchase, and M represents the number of green electricity providers.
[0162] In this embodiment, purchasing electricity from the grid incurs a certain cost, while selling electricity to the grid recovers a certain cost. Any green electricity purchased exceeding demand can be sold to recover some costs. Therefore, under the green electricity purchase model, the electricity transaction cost corresponding to the first distribution and storage unit can be calculated based on the grid purchase cost, the grid sales recovery cost, and the green electricity sales recovery cost. Since the grid purchase cost is an expenditure, and the grid sales recovery cost and the green electricity sales recovery cost are recovered costs, the electricity transaction cost of the first distribution and storage unit under the green electricity purchase model can be obtained by calculating the sum of the grid sales recovery cost and the green electricity sales recovery cost, and then calculating the difference between the grid purchase cost and the sales recovery cost as the electricity transaction cost.
[0163] For example, the electricity transaction cost under the green electricity purchase model is ;
[0164]
[0165] in, Electricity sold as green electricity.
[0166] After obtaining the benchmark cost and electricity transaction cost of the storage target, the first cost per kilowatt-hour can be calculated based on the electricity transaction cost, benchmark cost, and the predicted load of the storage target. In the process of calculating the first cost per kilowatt-hour based on the electricity transaction cost, benchmark cost, and the predicted load of the storage target, the total cost can be calculated first based on the benchmark cost and electricity transaction cost, and then the first cost per kilowatt-hour can be calculated based on the total cost and the predicted load.
[0167] For example, under the green electricity generation model, the total cost
[0168]
[0169] After calculating the total cost, calculate the cost of the first kilowatt-hour. .
[0170] For example, under the green electricity purchase model, the total cost
[0171]
[0172] After calculating the total cost, calculate the cost of the first kilowatt-hour. .
[0173] The calculation process of the first unit cost of electricity corresponding to the first distribution storage quantity has been explained in detail above. In this embodiment, the calculation process of the unit cost of electricity corresponding to other distribution storage quantities, such as the second unit cost of electricity corresponding to the second distribution storage quantity, is similar to the calculation process of the first unit cost of electricity. Please refer to the relevant content above. This embodiment will not repeat it here.
[0174] Step S103-2: Calculate the second kilowatt-hour cost corresponding to the second allocation of electricity associated with the first allocation of electricity.
[0175] In practice, if it is determined that the first allocation of storage capacity meets the electricity demand of the storage target, in addition to calculating the first cost per kilowatt-hour corresponding to the first allocation of storage capacity, the second cost per kilowatt-hour corresponding to the second allocation of storage capacity associated with the first allocation of storage capacity is also calculated.
[0176] In this embodiment, the target allocation quantity can be determined in the allocation quantity range using a skip list method or a binary search method. Corresponding to the above-mentioned acquisition of the allocation quantity with a first distance from the boundary of the allocation quantity as the first allocation quantity, in an optional implementation of this embodiment, in the process of calculating the second electricity cost corresponding to the second allocation quantity associated with the first allocation quantity, the first allocation quantity is updated according to a first preset step size to obtain the second allocation quantity. If the second allocation quantity meets the electricity demand, the second electricity cost is calculated.
[0177] For example, the first preset step size is S1. After calculating the first kilowatt-hour cost of the first distribution storage quantity m, the second distribution storage quantity m+S1 is obtained according to the first preset step size. And if the second distribution storage quantity meets the electricity demand, the second kilowatt-hour cost corresponding to the second distribution storage quantity is calculated.
[0178] It should be noted that the detection process for whether the second power supply meets the electricity demand is similar to the detection process for whether the first power supply meets the electricity demand. Please refer to the above content. This embodiment will not repeat the details here.
[0179] Corresponding to the midpoint value of the above-mentioned storage range as the first storage quantity, in an optional implementation of this embodiment, in the process of calculating the second cost per kilowatt-hour corresponding to the second storage quantity associated with the first storage quantity, the association distance is obtained, and the storage quantity in the first direction of the first storage quantity in the storage range is obtained as the second storage quantity according to the association distance. When the second storage quantity meets the electricity demand, the second cost per kilowatt-hour is calculated.
[0180] For example, if the pre-configured association distance is n, the first allocation of storage volume is calculated. After calculating the cost of the first unit of electricity, the first distribution storage will be shifted to the right by n. As the second allocation of electricity reserves, and assuming that the second allocation of electricity reserves meets the electricity demand, the second cost per kilowatt-hour corresponding to the second allocation of electricity reserves is calculated.
[0181] Step S104: Determine the target storage quantity for the target storage object based on the first and second kilowatt-hour costs.
[0182] In practice, after calculating the first kilowatt-hour cost corresponding to the first storage allocation and the second kilowatt-hour cost corresponding to the second storage allocation, the target storage allocation amount for the object to be allocated is determined based on the first and second kilowatt-hour costs. Optionally, the target storage allocation amount is the storage allocation amount with the lowest corresponding kilowatt-hour cost within the storage allocation amount range.
[0183] In practical applications, tests have shown that the cost per kilowatt-hour (kWh) decreases monotonically before the optimal storage allocation is determined, reaches an inflection point at the optimal allocation, and then increases monotonically. Based on this, in this embodiment, the storage allocation range can be updated by analyzing the cost change trends of the first and second kWh until the target storage allocation is calculated within a smaller range.
[0184] The above provides two methods for determining the first and second allocation quantities of storage. The following sections will specifically explain the process of determining the target allocation quantity of the storage object based on the first and second kilowatt-hour costs, corresponding to the two methods described above.
[0185] (1) The first type
[0186] Corresponding to the above-mentioned acquisition of the first allocation quantity at a distance of a first distance from the boundary of the allocation quantity as the first allocation quantity, and updating the first allocation quantity according to a first preset step size to obtain the second allocation quantity, in an optional implementation of this embodiment, the following operations are performed in the process of determining the target allocation quantity of the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour:
[0187] Determine the trend of change in the first cost based on the cost of the first unit of electricity and the cost of the second unit of electricity;
[0188] If the first cost change trend is the first trend, construct an intermediate allocation range based on the first allocation and the second allocation, and obtain the second preset step size;
[0189] Check whether the second preset step size is less than or equal to the step size threshold; if so, determine the first allocation quantity as the target allocation quantity.
[0190] Furthermore, in an optional implementation provided in this embodiment, if the second preset step size is detected to be greater than the step size threshold, the following operation is performed:
[0191] Within the intermediate storage range, the first storage is updated according to the second preset step size to obtain the third storage, and the third cost per kilowatt-hour corresponding to the third storage is calculated.
[0192] If the second cost change trend determined based on the first and third kilowatt-hour costs is the first trend, then obtain the third preset step size.
[0193] If the third preset step size is less than or equal to the step size threshold, the first allocation quantity will be determined as the target allocation quantity.
[0194] Optionally, if the first cost change trend is the second trend, the second allocation quantity is determined as the first allocation quantity, and the process of updating the first allocation quantity according to the first preset step size is returned to obtain the second allocation quantity operation; if the second cost change trend is the second trend, the third allocation quantity is determined as the first allocation quantity, and the process of updating the first allocation quantity according to the second preset step size is returned to obtain the third allocation quantity, and the third kilowatt-hour cost corresponding to the third allocation quantity is calculated.
[0195] Optionally, the first trend is a monotonically increasing trend, and the second trend is a monotonically decreasing trend.
[0196] In the specific implementation process, if the cost change trends of the first and second kilowatt-hours are monotonically increasing (i.e., if the second kilowatt-hour cost is greater than the first kilowatt-hour cost), it indicates that the process is already monotonically increasing and the target storage capacity has been reached. Then, a second preset step size is obtained, and it is checked whether the second preset step size is less than or equal to a step size threshold. If so, it indicates that the difference between the first and second storage capacity is sufficiently small, and the first storage capacity can be determined as the target storage capacity. Even if the first storage capacity is not a true inflection point, it is a storage capacity close to an inflection point, and the first storage capacity is determined as the target storage capacity. The second preset step size can be less than the first preset step size.
[0197] If the second preset step size is greater than the step size threshold, it indicates that there is a large difference between the first and second allocation quantities. In order to improve the accuracy of the obtained target allocation quantity, the first allocation quantity is updated within the intermediate allocation quantity range according to the second preset step size to obtain the third allocation quantity. If the third allocation quantity meets the electricity demand, the third cost per kilowatt-hour corresponding to the third allocation quantity is calculated. If the second cost change trend of the first and third cost per kilowatt-hours is a monotonically increasing trend, a third preset step size smaller than the second preset step size is obtained. If the third preset step size is less than or equal to the step size threshold, the first allocation quantity is determined as the target allocation quantity. Otherwise, an allocation quantity range is constructed based on the first and third allocation quantities, and the above process is repeated until the cost change trend is the first trend and the preset step size is less than or equal to the step size threshold.
[0198] In the specific implementation process, if the cost change trend of the first kilowatt-hour cost and the second kilowatt-hour cost is a monotonically decreasing trend, that is, if the second kilowatt-hour cost is less than the first kilowatt-hour cost, it means that the inflection point has not yet been reached, that is, the target storage capacity has not yet been reached. Therefore, the second kilowatt-hour cost can be updated according to the first preset step size, and the above process can be repeated until the cost change trend is the first trend and the preset step size is less than or equal to the step size threshold.
[0199] For example, the power storage range is [0, 10], in MWh; the first preset step size is 10 / 5 = 2 MWh, and the first power storage is 0 MWh. Since 0 does not meet the electricity demand, the first power storage is updated to 0 + 2 = 2, which meets the electricity demand. ;
[0200] Second update: 2 + 2 = 4, 4 meets the electricity demand. ; < ;
[0201] Third update: 4 + 2 = 6, 6 meets the electricity demand. ; < ;
[0202] Fourth update: 6 + 2 = 8, 8 meets the electricity demand. ;
[0203] because > The second preset step size is determined to be 10 / 20=0.5MWh, and the jump is within the interval [6, 8].
[0204] Fifth update: 6 + 0.5 = 6.5, 6.5 meets the electricity demand. ; ;
[0205] Sixth update: 6.5 + 0.5 = 7, 7 meets the electricity demand. ;because > The range of allocated reserves is narrowed to [6.5, 7]. The third preset step size is 10 / 50 = 0.2MWh. The third preset step size is equal to the preset step size of 0.2MWh. Therefore, 6.5 is determined as the target allocated reserve size.
[0206] Furthermore, if the cost of the second unit of electricity is equal to the cost of the first unit of electricity, the average of the first and second allocation quantities can be used as the target allocation quantity.
[0207] It should be noted that if the updated allocation quantity is detected to be greater than the upper limit of the interval, the allocation quantity before the update can be determined as the target allocation quantity.
[0208] (2) The second type
[0209] Corresponding to the above-mentioned midpoint value of the storage allocation interval as the first storage allocation, and the storage allocation in the first direction of the first storage allocation interval obtained according to the pre-configured association distance as the second storage allocation, in an optional implementation of this embodiment, in the process of determining the target storage allocation of the storage object based on the first and second kilowatt-hour costs, a third cost change trend is determined based on the first and second kilowatt-hour costs, the interval direction is determined based on the third cost change trend, and the interval boundary value of the storage allocation interval is obtained based on the interval direction. An intermediate storage allocation interval is constructed based on the interval boundary value and the first storage allocation. If the interval length of the intermediate storage allocation interval is less than the interval length threshold, the first interval boundary of the intermediate storage allocation interval is determined as the target storage allocation.
[0210] In addition, in an optional implementation of this embodiment, if the interval length is greater than or equal to the interval length threshold, the intermediate allocation interval is determined as the allocation interval and the operation of obtaining the first allocation amount within the allocation interval is returned.
[0211] Continuing with the example of a power storage range of [0, 10], the first power storage is 5, which meets the electricity demand. Calculate the second storage capacity of 5.5 at a distance of 0.5 to the right of 5, which meets the electricity demand. ,because The optimal interval is determined to be on the right, and an intermediate storage interval [5, 10] is constructed. The interval length of the intermediate storage interval is 5, which is greater than the interval length threshold of 1. Therefore, a new first storage capacity of 7.5 is obtained to meet the electricity demand. ; Calculate the second distribution storage capacity of 8 with a distance of 0.5 on the right side of 7.5, which meets the electricity demand. ,because Then, the incremental stage begins, and the new intermediate reserve range is [5, 7.5]. This process continues until the length of the new intermediate reserve range is less than 1. The first boundary of the intermediate reserve range, i.e. the lower limit of the range, is then determined as the target reserve.
[0212] Corresponding to the two methods for determining the target storage capacity mentioned above, in an optional implementation of this embodiment, in the process of determining the target storage capacity of the storage object based on the first and second kilowatt-hour costs, the cost change trend is first determined based on the first and second kilowatt-hour costs, and the interval boundary value is determined based on the cost change trend and the method of obtaining the first storage capacity; then, an intermediate storage capacity interval is constructed based on the first storage capacity and the interval boundary value; if the intermediate storage capacity interval does not meet the preset conditions, the intermediate storage capacity interval is determined as the storage capacity interval and the operation of obtaining the first storage capacity within the storage capacity interval is returned; if the intermediate storage capacity interval meets the preset conditions, the first interval boundary of the intermediate storage capacity interval is determined as the target storage capacity. The preset conditions include a preset step size less than or equal to a step size threshold, and / or an interval length less than an interval length threshold.
[0213] The following example illustrates the application of an energy storage configuration method provided in this embodiment within a green electricity generation mode. Figure 2 As shown, the energy storage configuration method applied to the energy storage configuration scenario under the green electricity generation mode specifically includes the following steps.
[0214] Step S201: Obtain the power prediction data and power consumption strategy of the storage target.
[0215] Step S202: Calculate the distribution and storage range based on the electricity forecast data and electricity consumption strategy, and obtain the first distribution and storage volume within the distribution and storage range.
[0216] Step S203: Calculate the storage allocation index of the target storage object under the first storage allocation amount based on the first storage allocation amount, power forecast data, power consumption strategy, constraints and index calculation methods corresponding to the green power generation mode of the target storage object.
[0217] Step S204: If the first allocation of storage capacity is determined to meet the load demand and green electricity usage ratio requirements of the storage target based on the allocation and storage indicators, calculate the first cost per kilowatt-hour corresponding to the first allocation of storage capacity.
[0218] Step S205: Update the first distribution storage quantity according to the first preset step size to obtain the second distribution storage quantity, and calculate the second kilowatt-hour cost of the second distribution storage quantity.
[0219] Step S206: Detect whether the first cost trend determined based on the first cost per kilowatt-hour and the second cost per kilowatt-hour is a monotonically increasing trend;
[0220] If not, use the second allocation quantity as the first allocation quantity and return to steps S205 to S206;
[0221] If so, proceed to step S207.
[0222] Step S207: Update the first preset step size and check whether the second preset step size obtained by the update process is less than or equal to the step size threshold.
[0223] If so, proceed to step S211;
[0224] If not, proceed to steps S208 to S210.
[0225] Step S208: Obtain the intermediate allocation range constructed based on the first allocation and the second allocation.
[0226] Step S209: Within the intermediate storage range, update the first storage according to the preset second step length to obtain the third storage and calculate the third electricity cost corresponding to the third storage.
[0227] Step S210: Detect whether the second cost trend determined based on the first and third kilowatt-hour costs is a monotonically increasing trend;
[0228] If not, use the third allocation quantity as the first allocation quantity and return to steps S209 to S210;
[0229] If so, use the second preset step size as the first preset step size, use the third allocation quantity as the second allocation quantity, and return to the execution step S207.
[0230] Step S211: Determine the first allocation quantity as the target allocation quantity for the object to be allocated.
[0231] It should be noted that any one or more steps from S201 to S211 can be combined with any one or more steps from S101 to S104 to form a new implementation method according to the needs of implementation and deployment. In addition, any one or more technical features can be selected in steps S201 to S211 and combined with any one or more technical features provided in steps S101 to S104 to form a new implementation method according to the actual deployment needs. Alternatively, any one or more technical features in steps S201 to S211 can be replaced with any one or more technical features provided in steps S101 to S104 to form a new implementation method according to the actual deployment needs. These will not be elaborated on here.
[0232] The following example illustrates the application of an energy storage configuration method provided in this embodiment within a green electricity purchase model, further demonstrating the energy storage configuration method provided in this embodiment. Figure 3 As shown, the energy storage configuration method applied to the energy storage configuration scenario under the green electricity purchase model includes the following steps.
[0233] Step S301: Obtain the power forecast data and power consumption strategy of the object to be allocated storage, and calculate the storage allocation range based on the power forecast data and power consumption strategy.
[0234] Step S302: Obtain the midpoint value of the allocation range as the first allocation range.
[0235] Step S303: Based on the first allocation of storage capacity, power forecast data, power consumption strategy, and the constraints and indicator calculation methods corresponding to the green electricity purchase mode of the storage target, calculate the power supply shortage and green electricity usage ratio of the storage target under the first allocation of storage capacity.
[0236] Step S304: When the power supply shortage is 0 and the green electricity usage ratio is greater than or equal to the preset green electricity usage ratio, calculate the first unit cost of electricity corresponding to the first distribution storage.
[0237] Step S305: Based on the associated distance, obtain the second allocation quantity in the first direction of the first allocation quantity in the allocation quantity interval.
[0238] Step S306: If the second distribution storage capacity meets the electricity demand, calculate the second electricity cost corresponding to the second distribution storage capacity.
[0239] Step S307: Determine the cost change trend based on the first and second kilowatt-hour costs.
[0240] Step S308: Determine the interval direction based on the cost change trend, and obtain the interval boundary value of the reserve allocation interval based on the interval direction.
[0241] Optionally, if the first cost change trend is a monotonically increasing interval, the interval direction is determined to be to the left; if the first cost change trend is a monotonically decreasing interval, the interval direction is determined to be to the right.
[0242] Step S309: Construct an intermediate reserve interval based on the first allocation reserve and the interval boundary value.
[0243] Step S310: Detect whether the interval length of the intermediate storage interval is less than the interval length threshold.
[0244] If so, proceed to step S311.
[0245] If not, use the intermediate allocation range as the allocation range and return to steps S302 to S310.
[0246] Step S311: Determine the lower limit of the intermediate allocation range as the target allocation range.
[0247] It should be noted that any one or more steps from S301 to S311 can be combined with any one or more steps from S101 to S104 to form a new implementation method according to the needs of implementation and deployment. In addition, any one or more technical features can be selected in steps S301 to S311 and combined with any one or more technical features provided in steps S101 to S104 to form a new implementation method according to the actual deployment needs. Alternatively, any one or more technical features in steps S301 to S311 can be replaced with any one or more technical features provided in steps S101 to S104 to form a new implementation method according to the actual deployment needs. These will not be elaborated on here.
[0248] like Figure 4 As shown, Figure 4 A schematic structural diagram of an energy storage configuration system provided for an embodiment of this application is provided. The system includes: a storage capacity calculator 401, a cost calculation module 402, and a target storage capacity determination module 403.
[0249] Among them, the storage capacity calculator 401 is used to calculate the storage capacity range based on the power prediction data and power consumption strategy of the storage target, and to obtain the first storage capacity within the storage capacity range.
[0250] The cost calculation module 402 is used to calculate the first unit cost of electricity corresponding to the first unit cost of electricity, and to calculate the second unit cost of electricity corresponding to the second unit cost of electricity associated with the first unit cost of electricity, provided that the first unit cost of electricity meets the electricity demand of the object to be supplied with electricity.
[0251] The target storage quantity determination module 403 is used to determine the target storage quantity of the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; the target storage quantity is the storage quantity with the lowest corresponding cost per kilowatt-hour in the storage quantity range.
[0252] In addition, the energy storage configuration system may also include a historical database 404 for storing historical data of the objects to be configured.
[0253] The energy storage configuration system may also include a data prediction module 405 for predicting power generation data. Specifically, the data prediction module 405 may include a photovoltaic power generation prediction module 405-1 for predicting photovoltaic power generation, a wind power generation prediction module 405-2 for predicting wind power generation, and a load prediction module 405-3 for predicting load. The input to the photovoltaic power generation prediction module 405-1 is historical photovoltaic power generation data from the historical database 404; the input to the wind power generation prediction module 405-2 is historical wind power generation data from the historical database 404; and the input to the load prediction module 405-3 is historical load data from the historical database 404.
[0254] The energy storage configuration system may also include a data analysis module 406 for generating an electricity consumption profile of the target; wherein, the input of the data analysis module 406 includes the electricity price data output by the data processing module 407 and the historical data in the historical database 404.
[0255] The energy storage configuration system may also include a strategy generator 408, which generates an electricity consumption strategy based on the electricity prediction data output by the data prediction module 405 and the object electricity consumption profile and electricity price data output by the data analysis module 406.
[0256] The energy storage configuration system may also include a simulation calculator 409, which is used to perform strategy simulation on the power consumption strategy generated by the strategy generator 408 based on the power prediction data output by the data prediction module 405 and the first allocation quantity output by the allocation quantity calculator 401, and obtain simulation results. That is, based on the first allocation quantity, power prediction data, power consumption strategy, constraints and index calculation methods corresponding to the green electricity usage mode, the allocation quantity index of the object to be allocated is calculated under the first allocation quantity. In addition, the simulation calculator 409 is also used to detect whether the simulation results meet the load demand and green electricity usage ratio requirements. If they meet the requirements, the cost calculation module 402 performs cost calculation. If they do not meet the requirements, the system returns to the allocation quantity calculator 401 to update the allocation quantity. That is, it detects whether the allocation quantity index meets the load demand and green electricity usage ratio requirements. If it does, the cost calculation module 402 performs cost calculation. If it does not meet the requirements, the system returns to the allocation quantity calculator 401 to update the allocation quantity.
[0257] The energy storage configuration system may also include an energy storage product parameter database 410 for storing energy storage product parameters.
[0258] The energy storage configuration system may also include a configuration and storage system parameter module 411, which is used to calculate key information such as the available power that the entire energy storage system can provide under the current configuration and storage capacity, based on the matched product parameters, and to provide data input for the simulation process of the subsequent simulation calculator.
[0259] In addition, the energy storage configuration system may also include a photovoltaic cost calculation module 412 for calculating photovoltaic costs, a wind power cost calculation module 413 for calculating wind power costs, and an energy storage cost calculation module 414 for calculating energy storage costs; used in conjunction with the cost calculation module to perform cost calculations.
[0260] It should be noted that the energy storage configuration system provided in this embodiment is similar to the energy storage configuration method provided in the above embodiments. When reading this embodiment, you can refer to the embodiments of the above energy storage configuration method, and when reading the embodiments of the above energy storage configuration method, you can also refer to the relevant content in this embodiment.
[0261] like Figure 5 As shown, Figure 5 A schematic structural diagram of an energy storage configuration device provided for embodiments of this application, the device comprising:
[0262] Data acquisition module 501 is used to acquire the power prediction data and power consumption strategy of the storage object to be allocated;
[0263] The interval calculation module 502 is used to calculate the distribution and storage interval based on the power forecast data and power consumption strategy, and to obtain the first distribution and storage within the distribution and storage interval.
[0264] When it is determined that the first allocation of storage capacity meets the electricity demand of the storage target, the operating cost calculation module 503 and the cost calculation module 503 are used to calculate the first unit cost of electricity corresponding to the first allocation of storage capacity, and to calculate the second unit cost of electricity corresponding to the second allocation of storage capacity associated with the first allocation of storage capacity.
[0265] The storage allocation determination module 504 is used to determine the target storage allocation amount for the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; the target storage allocation amount is the storage allocation amount with the lowest corresponding cost per kilowatt-hour in the storage allocation amount range.
[0266] In some embodiments, when calculating the distribution and storage capacity interval based on electricity forecast data and electricity consumption strategy, the interval calculation module 502 is specifically used for:
[0267] Based on the predicted load and predicted green electricity generation in the power forecast data, calculate the load deficit and green electricity discard, and determine intermediate parameters in the load deficit and green electricity discard.
[0268] Obtain the number of energy storage cycles and the energy storage allocation cycle in the power consumption strategy, and calculate the maximum energy storage allocation based on intermediate parameters, the number of energy storage cycles, and the energy storage allocation cycle;
[0269] The allocation range is constructed based on preset values and the maximum allocation amount.
[0270] In some embodiments, when the interval calculation module 502 calculates the load shortfall based on the predicted load and predicted green electricity generation in the power forecast data, it is specifically used for:
[0271] Based on the predicted load and predicted green electricity generation for each prediction time interval in the electricity forecast data, calculate the initial load shortfall for each prediction time interval.
[0272] Determine the interval load deficit for each forecast time interval from the initial load deficit and the preset value;
[0273] Calculate the load loss based on the load loss in the interval.
[0274] In some embodiments, the energy storage configuration device is further configured to:
[0275] Obtain the allocation parameters corresponding to the first allocation amount, and obtain the constraints and indicator calculation methods corresponding to the green electricity usage mode of the object to be allocated;
[0276] Based on electricity forecast data, electricity consumption strategy, constraints and storage allocation parameters, calculate the dynamic adjustment parameters of the storage target under the first storage allocation amount;
[0277] The allocation index of the target storage object under the first allocation amount is calculated based on the index calculation method and dynamic adjustment parameters.
[0278] Check whether the power supply and storage indicators meet the electricity demand;
[0279] If so, ensure that the initial power storage capacity meets the electricity demand.
[0280] In some embodiments, the power supply and storage indicators include the amount of power shortage and / or the proportion of green electricity used;
[0281] If the power supply shortage is equal to the preset value and / or the proportion of green electricity use is greater than or equal to the preset proportion of green electricity use, the power allocation and storage indicators are determined to meet the power demand.
[0282] In some embodiments, when calculating the first unit electricity cost corresponding to the first distribution storage capacity, the cost calculation module 503 is specifically used for:
[0283] Based on the green electricity usage pattern of the target storage object, obtain the benchmark cost of the target storage object and the electricity transaction cost corresponding to the first storage quantity;
[0284] The cost per kilowatt-hour is calculated based on the electricity transaction cost, the benchmark cost, and the predicted load of the storage target.
[0285] In some embodiments, when calculating the second kilowatt-hour cost corresponding to the second distribution storage quantity associated with the first distribution storage quantity, the cost calculation module 503 is specifically used for:
[0286] The first allocation quantity is updated according to the first preset step size to obtain the second allocation quantity;
[0287] Calculate the cost of the second unit of electricity, assuming the second storage capacity meets the electricity demand.
[0288] In some embodiments, when determining the target storage quantity for the storage object based on the first cost per kilowatt-hour and the second cost per kilowatt-hour, the storage quantity determination module 504 is specifically used for:
[0289] Determine the trend of change in the first cost based on the cost of the first unit of electricity and the cost of the second unit of electricity;
[0290] If the first cost change trend is the first trend, construct an intermediate allocation range based on the first allocation and the second allocation, and obtain the second preset step size;
[0291] Detect whether the second preset step size is less than or equal to the step size threshold;
[0292] If so, the first allocation quantity shall be determined as the target allocation quantity.
[0293] In some embodiments, the storage quantity determination module 504 determines the execution result as "no" after the operation of detecting whether the second preset step size is less than or equal to the step size threshold is performed. Specifically, this is used for:
[0294] Within the intermediate storage range, the first storage is updated according to the second preset step size to obtain the third storage, and the third cost per kilowatt-hour corresponding to the third storage is calculated.
[0295] If the second cost change trend determined based on the first and third kilowatt-hour costs is the first trend, then obtain the third preset step size.
[0296] If the third preset step size is less than or equal to the step size threshold, the first allocation quantity will be determined as the target allocation quantity.
[0297] In some embodiments, the energy storage configuration device is further configured to:
[0298] If the first cost change trend is the second trend, the second allocation quantity is determined as the first allocation quantity, and the process of updating the first allocation quantity according to the first preset step size is returned to obtain the second allocation quantity.
[0299] If the second cost change trend is the second trend, the third allocation quantity is determined as the first allocation quantity, and the process of updating the first allocation quantity according to the second preset step size is returned to obtain the third allocation quantity, and the third kilowatt-hour cost corresponding to the third allocation quantity is calculated.
[0300] In some embodiments, when the interval calculation module 502 obtains the first allocation amount within the allocation amount interval, it is specifically used for:
[0301] The midpoint value of the allocation range is taken as the first allocation.
[0302] In some embodiments, when calculating the second kilowatt-hour cost corresponding to the second distribution storage quantity associated with the first distribution storage quantity, the cost calculation module 503 is specifically used for:
[0303] Obtain the correlation distance, and use the first direction of the first allocation quantity in the allocation quantity interval as the second allocation quantity according to the correlation distance;
[0304] Calculate the cost of the second unit of electricity, assuming the second storage capacity meets the electricity demand.
[0305] In some embodiments, when determining the target storage quantity for the storage object based on the first cost per kilowatt-hour and the second cost per kilowatt-hour, the storage quantity determination module 504 is specifically used for:
[0306] Determine the trend of the third cost based on the cost of the first and second kilowatt-hours;
[0307] The direction of the interval is determined based on the trend of third cost changes, and the boundary value of the interval for allocating reserves is obtained based on the direction of the interval.
[0308] Construct an intermediate reserve allocation interval based on the interval boundary values and the first allocation reserve;
[0309] If the length of the intermediate allocation range is less than the range length threshold, the first boundary of the intermediate allocation range is determined as the target allocation range.
[0310] In some embodiments, the energy storage configuration device is further configured to: if the interval length is greater than or equal to the interval length threshold, determine the intermediate energy storage interval as the energy storage interval and return to execute the operation of obtaining the first energy storage within the energy storage interval.
[0311] In some embodiments, the energy storage configuration device is further configured to:
[0312] Obtain the electricity consumption profile and electricity consumption forecast data of the objects to be allocated and stored, as well as obtain electricity price data;
[0313] Electricity consumption strategies are generated based on the target's electricity consumption profile, electricity consumption forecast data, and electricity price data.
[0314] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0315] The following is an example of an electronic device provided in this specification:
[0316] Corresponding to the energy storage configuration method described above, based on the same technical concept, one or more embodiments of this specification also provide an electronic device for executing the energy storage configuration method provided above. Figure 6 This is a schematic diagram of the structure of an electronic device provided for one or more embodiments of this specification.
[0317] This embodiment provides an electronic device, including:
[0318] like Figure 6 As shown, electronic devices can vary significantly due to differences in configuration or performance. They may include one or more processors 601 and memories 602, with the memory 602 storing one or more application programs or data. The memory 602 can be temporary or persistent storage. The application programs stored in the memory 602 may include one or more modules (not shown), each module including a series of computer-executable instructions within the electronic device. Furthermore, the processor 601 may be configured to communicate with the memory 602, executing the series of computer-executable instructions stored in the memory 602 on the electronic device. The electronic device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input / output interfaces 605, one or more keyboards 606, etc.
[0319] In one specific embodiment, the electronic device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the electronic device, and is configured to be executed by one or more processors. The one or more programs include steps for performing any of the above-described energy storage configuration method embodiments.
[0320] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described energy storage configuration method embodiments when it is run.
[0321] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0322] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described energy storage configuration method embodiments.
[0323] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described energy storage configuration method embodiments.
[0324] The beneficial effects of the above embodiments can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0325] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0326] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0327] In the description of this application, it should be understood that if the terms "upper", "lower", "front", "rear", "left" and "right" are used to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the position or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.
[0328] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0329] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method of energy storage configuration, the method comprising: receiving a request for a storage configuration; and providing a storage configuration based on the request. The method includes: Obtain the electricity prediction data and electricity consumption strategy of the target storage object; the electricity consumption strategy includes the priority of power supply mode and the priority of green electricity use mode. Calculate the allocation and storage range based on the electricity prediction data and the electricity consumption strategy, and obtain the first allocation and storage amount within the allocation and storage range; Based on the first storage allocation amount, the electricity forecast data, the electricity consumption strategy, the constraints and index calculation methods corresponding to the green electricity usage mode of the storage target, the storage allocation index of the storage target under the first storage allocation amount is calculated; the green electricity usage mode is used to characterize the source of green electricity used by the storage target. If the first allocation of storage capacity is determined to meet the electricity demand of the object to be allocated storage capacity based on the allocation and storage indicators, the first cost per kilowatt-hour corresponding to the first allocation of storage capacity is calculated, and the second cost per kilowatt-hour corresponding to the second allocation of storage capacity associated with the first allocation of storage capacity is calculated; the electricity demand includes load demand and green electricity usage ratio demand. Based on the first cost per kilowatt-hour and the second cost per kilowatt-hour, the target storage quantity for the object to be allocated is determined; the target storage quantity is the storage quantity with the lowest corresponding cost per kilowatt-hour in the storage quantity range.
2. The method of claim 1, wherein, The calculation of the energy storage range based on the electricity forecast data and the electricity consumption strategy includes: Based on the predicted load and predicted green electricity generation in the power forecast data, calculate the load deficit and green electricity discard, and determine intermediate parameters from the load deficit and green electricity discard. Obtain the number of energy storage cycles and the energy storage allocation cycle in the power consumption strategy, and calculate the maximum energy storage allocation amount based on the intermediate parameters, the number of energy storage cycles, and the energy storage allocation cycle; The allocation range is constructed based on the preset value and the maximum allocation amount.
3. The method of claim 2, wherein, The step of calculating the load shortfall based on the predicted load and predicted green electricity generation from the electricity forecast data includes: Based on the predicted load and predicted green electricity generation for each predicted time interval in the electricity prediction data, calculate the initial load gap for each predicted time interval. The interval load deficit for each predicted time interval is determined from the initial load deficit and the preset value. The load loss is calculated based on the load loss in the specified interval.
4. The method according to claim 1, characterized in that, The step of calculating the energy storage allocation index of the target energy storage object under the first energy storage allocation amount, based on the first energy storage allocation amount, the electricity forecast data, the electricity consumption strategy, the constraints and index calculation methods corresponding to the green electricity usage mode of the target energy storage object, includes: Obtain the allocation parameters corresponding to the first allocation amount, and obtain the constraints and indicator calculation methods corresponding to the green electricity usage mode of the object to be allocated; Based on the electricity forecast data, the electricity consumption strategy, the constraints, and the storage allocation parameters, calculate the dynamic adjustment parameters of the object to be allocated storage under the first storage allocation amount; The allocation index of the object to be allocated storage is calculated based on the index calculation method and the dynamic adjustment parameters under the first allocation amount.
5. The method of claim 4, wherein, The power supply and energy storage indicators include the amount of power shortage and / or the proportion of green energy used; If the power supply shortage is equal to a preset value and / or the green electricity usage ratio is greater than or equal to the preset green electricity usage ratio, then the power allocation and storage index is determined to meet the power demand.
6. The method of claim 1, wherein, The calculation of the first unit cost of electricity corresponding to the first storage capacity includes: Based on the green electricity usage pattern of the storage target, obtain the baseline cost of the storage target and the electricity transaction cost corresponding to the first storage quantity; The first electricity cost is calculated based on the electricity transaction cost, the benchmark cost, and the predicted load of the storage target.
7. The method according to any one of claims 1 to 6, characterized in that, The calculation of the second electricity cost per kilowatt-hour corresponding to the second allocation and storage quantity associated with the first allocation and storage quantity includes: The first allocation quantity is updated according to the first preset step size to obtain the second allocation quantity; Calculate the second cost per kilowatt-hour if the second power storage capacity meets the power demand.
8. The method of claim 7, wherein, Determining the target storage quantity for the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour includes: Based on the first cost per kilowatt-hour and the second cost per kilowatt-hour, determine the trend of the first cost change; If the first cost change trend is the first trend, construct an intermediate allocation range based on the first allocation and the second allocation, and obtain a second preset step size; Detect whether the second preset step size is less than or equal to the step size threshold; If so, the first allocation quantity is determined as the target allocation quantity.
9. The method of claim 8, wherein, If the result of the operation to detect whether the second preset step size is less than or equal to the step size threshold is negative, the following operation is performed: Within the intermediate storage range, the first storage is updated according to the second preset step size to obtain the third storage, and the third cost per kilowatt-hour corresponding to the third storage is calculated. If the second cost change trend determined based on the first cost per kilowatt-hour and the third cost per kilowatt-hour is the first trend, then obtain a third preset step size; If the third preset step size is less than or equal to the step size threshold, the first allocation quantity is determined as the target allocation quantity.
10. The method according to claim 9, characterized in that, The method further includes: If the first cost change trend is the second trend, the second allocation quantity is determined as the first allocation quantity, and the process of updating the first allocation quantity according to the first preset step size is returned to obtain the second allocation quantity. If the second cost change trend is the second trend, the third allocation quantity is determined as the first allocation quantity, and the process of updating the first allocation quantity according to the second preset step size is returned to obtain the third allocation quantity, and the third electricity cost corresponding to the third allocation quantity is calculated.
11. The method according to any one of claims 1 to 6, characterized in that, Obtaining the first allocation quantity within the allocation quantity range includes: The midpoint value of the allocated storage range is obtained as the first allocated storage amount.
12. The method of claim 11, wherein, The calculation of the second electricity cost per kilowatt-hour corresponding to the second allocation and storage quantity associated with the first allocation and storage quantity includes: Obtain the correlation distance, and obtain the first direction of the first allocation amount in the allocation amount interval as the second allocation amount according to the correlation distance; Calculate the second cost per kilowatt-hour if the second power storage capacity meets the power demand.
13. The method of claim 12, wherein, Determining the target storage quantity for the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour includes: Based on the first cost per kilowatt-hour and the second cost per kilowatt-hour, determine the third cost change trend; The interval direction is determined based on the third cost change trend, and the interval boundary value of the allocation interval is obtained based on the interval direction. Construct an intermediate allocation range based on the interval boundary values and the first allocation amount; If the length of the intermediate allocation range is less than the range length threshold, the first boundary of the intermediate allocation range is determined as the target allocation range.
14. The method of claim 13, wherein, The method further includes: If the interval length is greater than or equal to the interval length threshold, the intermediate allocation interval is determined as the allocation interval and the operation of obtaining the first allocation amount within the allocation interval is returned.
15. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Obtain the electricity consumption profile of the target storage object and the electricity prediction data, as well as the electricity price data; The electricity consumption strategy is generated based on the object's electricity consumption profile, the electricity consumption forecast data, and the electricity price data.
16. An energy storage configuration system, characterized by, The system includes: a reserve allocation calculator, a cost calculation module, and a target reserve allocation determination module; The storage capacity calculator is used to calculate the storage capacity range based on the electricity prediction data and electricity consumption strategy of the storage target, and to obtain the first storage capacity within the storage capacity range; the electricity consumption strategy includes the priority of power supply mode and the priority of green electricity use mode. The cost calculation module is used to calculate the allocation index of the target storage object under the first allocation amount based on the first allocation amount, the electricity forecast data, the electricity consumption strategy, the constraints and index calculation methods corresponding to the green electricity usage mode of the target storage object; the green electricity usage mode is used to characterize the source of green electricity used by the target storage object; when it is determined that the first allocation amount meets the electricity demand of the target storage object based on the allocation index, the module calculates the first cost per kilowatt-hour corresponding to the first allocation amount, and calculates the second cost per kilowatt-hour corresponding to the second allocation amount associated with the first allocation amount; the electricity demand includes load demand and green electricity usage ratio demand. The target storage quantity determination module is used to determine the target storage quantity of the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; the target storage quantity is the storage quantity with the lowest corresponding cost per kilowatt-hour in the storage quantity range.
17. An energy storage configuration apparatus, characterized by, The device includes: The data acquisition module is used to acquire the power prediction data and power consumption strategy of the storage target; the power consumption strategy includes the priority of power supply mode and the priority of green electricity use mode; The interval calculation module is used to calculate the allocation and storage volume interval based on the power forecast data and the power consumption strategy, and obtain the first allocation and storage volume within the allocation and storage volume interval; according to the first allocation and storage volume, the power forecast data, the power consumption strategy, the constraints and index calculation methods corresponding to the green electricity usage mode of the object to be allocated and stored, the allocation and storage index of the object to be allocated and stored is calculated under the first allocation and storage volume; the green electricity usage mode is used to characterize the source of green electricity used by the object to be allocated and stored. When the first allocation of storage capacity is determined to meet the electricity demand of the object to be allocated storage according to the allocation and storage indicators, the operating cost calculation module is used to calculate the first cost per kilowatt-hour corresponding to the first allocation of storage capacity, and to calculate the second cost per kilowatt-hour corresponding to the second allocation of storage capacity associated with the first allocation of storage capacity; the electricity demand includes load demand and green electricity usage ratio demand. The storage allocation determination module is used to determine the target storage allocation amount for the object to be allocated storage based on the first cost per kilowatt-hour and the second cost per kilowatt-hour; the target storage allocation amount is the storage allocation amount with the lowest corresponding cost per kilowatt-hour in the storage allocation amount range.
18. An electronic device, comprising: include: Memory, used to store computer programs; A processor, configured to implement the steps of the energy storage configuration method according to any one of claims 1 to 15 when executing the computer program.
19. A computer readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the energy storage configuration method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Energy storage capacity decision-making method
CN116683511A
Central air conditioner green power consumption optimization control system based on carbon footprint tracing
CN120410243A
Energy storage configuration optimization method
CN120930872A