Charging and discharging method and device of energy storage system and storage medium
By obtaining and analyzing electricity price data and influencing factors, dynamically adjusting the charging and discharging threshold of the energy storage system, solving the problem that traditional systems cannot flexibly adjust the charging and discharging behavior, and achieving more efficient energy management and economic benefits.
Patent Information
- Application Number
- CN202411995673.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-25
AI Technical Summary
The traditional energy storage system charge and discharge management system cannot flexibly adjust the charge and discharge behavior according to changes in electricity prices and electricity demand, resulting in limited ability to charge during high electricity prices and release electricity during low electricity prices.
By obtaining the electricity price data of the day, historical electricity price data and data of the factors affecting the electricity price, the initial charging and discharging threshold is determined, and the charging and discharging threshold is dynamically adjusted according to factors such as seasonal changes, weather conditions and holidays to achieve more flexible charging and discharging control.
It realizes that the energy storage system is charged when the electricity price is low and discharge when the electricity price is high, optimizes energy management, reduces electricity bill costs, and improves the overall economic benefits of the energy storage system.
Smart Images

Figure CN119891285A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of charging and discharging of energy storage systems, and in particular to a charging and discharging method, device and storage medium for an energy storage system. Background Art
[0002] With the adjustment of energy structure and the development of smart grid, charging and discharging management system based on electricity price has emerged. However, the traditional charging and discharging management system mainly relies on fixed charging and discharging strategies, and cannot flexibly adjust the charging and discharging behavior of energy storage system according to the change of electricity price and power demand, which limits its ability to charge in high electricity price period and release electricity in low electricity price period. Summary of the invention
[0003] A technical problem to be solved by the present disclosure is: how to flexibly adjust the charging and discharging behavior of the energy storage system according to changes in electricity prices and electricity demand.
[0004] To solve the above technical problems, an embodiment of the present disclosure provides a charging and discharging method for an energy storage system, comprising: obtaining current day electricity price data, historical electricity price data, and current day electricity price factor data; determining a first charging threshold and a first discharging threshold based on the historical electricity price data; in response to the current day electricity price factor data satisfying a preset condition, adjusting the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold; and controlling the charging and discharging of the energy storage system based on the current day electricity price data, the second charging threshold and the second discharging threshold.
[0005] In some embodiments, based on historical electricity price data, a first charging threshold and a first discharging threshold are determined, including: analyzing historical electricity price data to determine daily peak electricity price periods and valley electricity price periods, wherein the historical electricity price data includes at least one year's tiered electricity price demarcation points, tiered electricity price prices, peak electricity prices, valley electricity prices, and off-peak electricity prices; determining a first discharging threshold based on the average electricity price during the peak electricity price period; determining a first charging threshold based on the average electricity price during the valley electricity price period.
[0006] In some embodiments, the data of factors affecting electricity prices on that day include a first factor affecting electricity prices, a second factor affecting electricity prices, and a third factor affecting electricity prices; in response to the data of factors affecting electricity prices on that day satisfying a preset condition, adjusting the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold, including: in response to the data of factors affecting electricity prices on that day satisfying a first preset condition, increasing the first charging threshold by 0% to 5% as the second charging threshold, and decreasing the first discharging threshold by 0% to 5% as the second discharging threshold, wherein the first preset condition is one of the factors affecting electricity prices; In response to the data of the factors affecting electricity prices on that day satisfying the second preset condition, the first charging threshold is increased by 5% to 10% as the second charging threshold, and the first discharging threshold is decreased by 5% to 8% as the second discharging threshold, wherein the second preset condition is that two of the factors affecting electricity prices are true; in response to the data of the factors affecting electricity prices on that day satisfying the third preset condition, the first charging threshold is increased by 10% to 35% as the second charging threshold, and the first discharging threshold is decreased by 8% to 15% as the second discharging threshold, wherein the third preset condition is that all the factors affecting electricity prices are true.
[0007] In some embodiments, the first factor affecting electricity prices is the season, and when the day is winter or summer, the first factor affecting electricity prices is confirmed to be true; the second factor affecting electricity prices is holidays, and when the day is a holiday, the second factor affecting electricity prices is confirmed to be true; the third factor affecting electricity prices is weather, and when the day is extreme weather, the third factor affecting electricity prices is confirmed to be true.
[0008] In some embodiments, based on the daily electricity price data, the second charging threshold and the second discharging threshold, the energy storage system is controlled to be charged and discharged, including: based on the daily electricity price data, determining the time-of-use electricity price at each time point; in response to the time-of-use electricity price being less than or equal to the second charging threshold, controlling the energy storage system to charge at a first power; in response to the time-of-use electricity price being greater than or equal to the second discharging threshold, controlling the energy storage system to discharge at a second power; wherein the second charging threshold is less than the second discharging threshold.
[0009] In some embodiments, it also includes: obtaining the total accumulated power of the energy storage system for the day; in response to the total accumulated power for the day being greater than a preset power threshold, adjusting the second charging threshold and the second discharging threshold to a third charging threshold and a third discharging threshold; and controlling the charging and discharging of the energy storage system based on the electricity price data of the day, the third charging threshold and the third discharging threshold.
[0010] In a second aspect, an embodiment of the present disclosure provides a charging and discharging device for an energy storage system, including: an energy storage unit for storing and releasing electric energy; an electricity price monitoring unit for acquiring current day electricity price data, historical electricity price data, and data of factors affecting electricity prices on the current day; and for determining a first charging threshold and a first discharging threshold based on the historical electricity price data; a dynamic adjustment unit for adjusting the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold in response to the current day electricity price factor data satisfying a preset condition; and a control unit for controlling the charging and discharging of the energy storage system based on the current day electricity price data, the second charging threshold and the second discharging threshold.
[0011] In some embodiments, the data of factors affecting electricity prices on that day include a first factor affecting electricity prices, a second factor affecting electricity prices, and a third factor affecting electricity prices; in response to the data of factors affecting electricity prices on that day satisfying a preset condition, adjusting the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold, including: in response to the data of factors affecting electricity prices on that day satisfying a first preset condition, increasing the first charging threshold by 0% to 5% as the second charging threshold, and decreasing the first discharging threshold by 0% to 5% as the second discharging threshold, wherein the first preset condition is one of the factors affecting electricity prices; In response to the data of the factors affecting electricity prices on that day satisfying the second preset condition, the first charging threshold is increased by 5% to 10% as the second charging threshold, and the first discharging threshold is decreased by 5% to 8% as the second discharging threshold, wherein the second preset condition is that two of the factors affecting electricity prices are true; in response to the data of the factors affecting electricity prices on that day satisfying the third preset condition, the first charging threshold is increased by 10% to 35% as the second charging threshold, and the first discharging threshold is decreased by 8% to 15% as the second discharging threshold, wherein the third preset condition is that all the factors affecting electricity prices are true.
[0012] In some embodiments, the first factor affecting electricity prices is the season, and when the day is winter or summer, the first factor affecting electricity prices is confirmed to be true; the second factor affecting electricity prices is holidays, and when the day is a holiday, the second factor affecting electricity prices is confirmed to be true; the third factor affecting electricity prices is weather, and when the day is extreme weather, the third factor affecting electricity prices is confirmed to be true.
[0013] In a third aspect, an embodiment of the present disclosure provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the method for charging and discharging an energy storage system provided in the first aspect or any embodiment of the first aspect.
[0014] Through the above technical solution, the embodiment of the present disclosure provides a more intelligent and flexible energy storage system charging and discharging method, which sets the initial charging and discharging thresholds by analyzing historical electricity price data, and can dynamically adjust the charging and discharging thresholds according to real-time influencing factors such as seasonal changes, weather conditions, and holidays. This flexible adjustment mechanism allows the energy storage system to charge when the electricity price is low and discharge when the electricity price is high, optimizes energy management, reduces electricity costs, and improves the overall economic benefits of the energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 is a structural block diagram of a charging and discharging device of an energy storage system disclosed in an embodiment of the present disclosure;
[0017] Figure 2 It is a structural schematic diagram of a charging and discharging device of an energy storage system disclosed in an embodiment of the present disclosure;
[0018] Figure 3 It is a flow chart of a charging and discharging method of an energy storage system disclosed in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] The following is a further detailed description of the embodiments of the present disclosure in conjunction with the accompanying drawings and examples. The detailed description of the following embodiments and the accompanying drawings are used to exemplarily illustrate the principles of the present disclosure, but cannot be used to limit the scope of the present disclosure. The present disclosure can be implemented in many different forms and is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.
[0020] The present disclosure provides these embodiments to make the present disclosure thorough and complete, and to fully express the scope of the present disclosure to those skilled in the art. It should be noted that unless otherwise specifically stated, the relative arrangement of the parts and steps, the composition of the materials, the numerical expressions and the numerical values set forth in these embodiments should be interpreted as being merely exemplary, and not as limiting.
[0021] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution disclosed herein are in compliance with the relevant provisions of laws and regulations. In the embodiments disclosed herein, some existing solutions in the industry such as certain software, components, and models may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of implementing the technical solution disclosed herein, but it does not mean that the applicant has or will necessarily use the solution.
[0022] In the description of the present disclosure, unless otherwise specified, the meaning of "multiple" is greater than or equal to two; the terms "upper", "lower", "left", "right", "inner", "outer", etc., indicating the orientation or positional relationship, are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. When the absolute position of the object being described changes, the relative positional relationship may also change accordingly.
[0023] In addition, the words "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different parts. "Vertical" does not mean vertical in the strict sense, but is within the tolerance range. "Parallel" does not mean parallel in the strict sense, but is within the tolerance range. "Include" or "comprising" and similar words mean that the elements before the word include the elements listed after the word, and do not exclude the possibility of including other elements.
[0024] It should also be noted that in the description of the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to the specific circumstances. When a specific device is described as being located between a first device and a second device, there may or may not be an intermediate device between the specific device and the first device or the second device.
[0025] All terms used in the present disclosure have the same meanings as those understood by those of ordinary skill in the art to which the present disclosure belongs, unless otherwise specifically defined. It should also be understood that terms defined in general dictionaries, for example, should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.
[0026] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0027] Existing energy storage systems fail to fully integrate real-time electricity price information with changes in electricity demand, resulting in limited improvement in the economic benefits of energy storage system charging and discharging strategies when electricity prices fluctuate greatly. In particular, during peak grid demand periods, low electricity price periods are not effectively utilized for charging, and conversely, discharging strategies are not implemented in a timely manner during high electricity price periods, thus limiting the potential of energy storage systems in optimizing grid resource allocation.
[0028] Based on this, the present disclosure proposes a charging and discharging method, device and storage medium for an energy storage system. By real-time monitoring of the real-time electricity price information and historical electricity price data of the power grid, and dynamic optimization based on various factors affecting power demand and electricity prices, the charging and discharging behavior of the energy storage system can be adjusted more flexibly, maximizing the use of low electricity price periods for charging and releasing electricity during high electricity price periods, so as to improve economic benefits and the overall grid resource utilization efficiency.
[0029] Figure 1 It is a structural schematic diagram of a charging and discharging device of an energy storage system disclosed in an embodiment of the present disclosure.
[0030] like Figure 1 As shown, the charging and discharging device of the energy storage system includes an energy storage unit 1, an electricity price monitoring unit 2, a dynamic adjustment unit 3 and a control unit 4. The electricity price monitoring unit 2 is connected to the power grid.
[0031] The energy storage unit 1 may include a battery pack and a matching battery management module, which is used to store and release electrical energy under the control of the control unit 4 .
[0032] The electricity price monitoring unit 2 may include an API interface, a server, and a local communication module. It is used to establish a connection with the power grid to obtain accurate electricity price data for the day, historical electricity price data, and data on factors affecting electricity prices for the day. It is also used to determine the first charging threshold and the first discharging threshold based on the historical electricity price data, that is, to determine the initial charging and discharging thresholds by mining and analyzing the historical electricity price data.
[0033] The dynamic adjustment unit 3 is connected to the control unit 4 and is used to adjust the first charging threshold and the first discharging threshold to the second charging threshold and the second discharging threshold in response to the data of the factors affecting the electricity price on that day meeting the preset conditions. That is, the charging and discharging thresholds are adjusted in time according to the influence of seasonal changes, holidays and other factors on the electricity price and electricity demand.
[0034] In some embodiments, the data of factors affecting electricity prices on the day may include a first factor affecting electricity prices, a second factor affecting electricity prices, and a third factor affecting electricity prices, such as seasons, holidays, and weather. It is understandable that, taking seasonal factors as an example, if the day is winter or summer, due to the increased demand for electricity for heating and air conditioning, in order to alleviate the pressure of electricity consumption and encourage users to stagger electricity consumption, the peak electricity price of the day will usually be raised, and the peak electricity price period will increase. Therefore, for the energy storage system, since the amount of electricity stored in the energy storage system is limited and the power output is limited every day, it is necessary to adaptively increase the charging threshold in response to this situation, so as to intelligently supply the electricity stored in the energy storage system to users or the power grid at the highest possible price during the peak electricity price period, so as to maximize the benefits brought by the price difference.
[0035] When the preset conditions include that the day is winter or summer, the day is a holiday, and the day is extreme weather, and one of the preset conditions is true, the first charging threshold is increased by 0% to 5% as the second charging threshold, and the first discharging threshold is lowered by 0% to 5% as the second discharging threshold. It should be noted that when one of the preset conditions is true, it indicates that the current electricity price is only affected by one factor, and the adjustment range of the electricity price is small, so the adjustment range of the corresponding charging and discharging threshold is also relatively small, and the specific adjustment range depends on demand.
[0036] When the preset conditions include that the day is winter or summer, the day is a holiday, and the day is extreme weather, and two of the preset conditions are true, the first charging threshold is increased by 5% to 10% as the second charging threshold, and the first discharging threshold is lowered by 5% to 8% as the second discharging threshold. It should be noted that when two of the preset conditions are true, indicating that the current electricity price is affected by two factors, the adjustment range of the electricity price is medium, so the adjustment range of the corresponding charging and discharging thresholds is also medium, and the specific adjustment range depends on demand.
[0037] When the preset conditions include that the day is winter or summer, the day is a holiday, the day is extreme weather, and all the preset conditions are true, the first charging threshold is increased by 10% to 35% as the second charging threshold, and the first discharging threshold is lowered by 8% to 15% as the second discharging threshold. It should be noted that when all the preset conditions are true, it indicates that the current electricity price is greatly affected, and the adjustment range of the electricity price is large, so the adjustment range of the corresponding charging and discharging thresholds is also relatively large, and the specific adjustment range depends on demand.
[0038] The control unit 4 may include a local controller and an inverter, and is used to control the charging and discharging of the energy storage system based on the current day's electricity price data, the second charging threshold, and the second discharging threshold. That is, the energy storage system is controlled to charge and discharge according to the current day's electricity price and the adjusted charging and discharging thresholds.
[0039] For ease of understanding, the following combination Figure 2 The charging and discharging device of the energy storage system provided in the above embodiment is described by way of example.
[0040] like Figure 2 As shown, in some specific implementations, the charging and discharging device of the energy storage system may include an API interface, a server, a communication module, a local controller, a matching battery management system, a battery pack, an inverter, and a power grid. Among them, the API interface, the server, and the communication module constitute an electricity price monitoring unit, the inverter and the local controller constitute a control unit, and the matching battery management system and the battery pack constitute an energy storage unit.
[0041] In the charging and discharging device of the energy storage system, the API interface can be the rate interface of the local power grid, or it can be a data interface provided by a professional third party, which is used to establish a data connection with the power supplier to obtain accurate and timely electricity price data (such as the demarcation point of the tiered electricity price, the tiered electricity price, the peak electricity price, the valley electricity price, and the flat peak electricity price). The server can have a built-in storage module and a data analysis tool for storing historical electricity price data, and running the data analysis tool to mine and analyze the historical electricity price data to obtain the law and trend of electricity price fluctuations, so as to determine the initial charge and discharge threshold. The communication module can be a DTU or an Ethernet gateway, which is used to transmit the electricity price data obtained by the electricity price monitoring unit to other units to realize the interaction between data. The local controller can be a control hardware with data processing and data storage functions such as a PLC or a control board. The supporting battery management system is mainly used to collect battery pack status information and exchange battery pack status information with the local controller. The collected battery pack status information may include battery pack voltage, temperature, battery cycle number, battery pack charging current, battery pack discharge current, battery pack current capacity, battery pack current power, and total power accumulated on the day.
[0042] During the operation of the charging and discharging device of the energy storage system: the current day electricity price data and the current day electricity price factor data are obtained through the API interface, and the historical electricity price data is mined and analyzed using the data analysis tool in the server to find out the law and trend of electricity price fluctuations, and then determine the initial charge and discharge threshold (i.e., the first charge threshold and the first discharge threshold). The current day electricity price signal and the initial charge and discharge threshold signal are converted into a format readable by the local controller through the communication module and transmitted back to the local controller. The local controller can control the charge and discharge behavior of the battery pack based on the current day electricity price signal, the initial charge and discharge threshold, and the battery pack status information collected by the supporting battery management system. In this control process, a dynamic adjustment unit is also provided, which can adjust the initial charge and discharge threshold in real time according to the factors affecting the electricity price, and then the local controller controls the charge and discharge behavior of the battery according to the adjusted charge and discharge threshold (i.e., the second charge threshold and the second discharge threshold). For example, during the low electricity price period, such as at night or on weekends, when the electricity price is lower than the set charge threshold, the battery energy storage system is controlled to charge at a higher power to store the electric energy. During peak electricity price periods, such as peak electricity consumption during the day, when the electricity price is higher than the set discharge threshold, the battery discharge is controlled to supply the stored electricity to users or the grid to obtain profits from the price difference.
[0043] In addition, the local controller can also adjust the charge and discharge thresholds for the day based on the total accumulated power of the day and the tiered electricity charges implemented by the local electricity charges. At the same time, the current battery life can be judged in combination with the current battery power, temperature, and number of battery cycle times, and the charge and discharge current can be set according to the current battery life, that is, the efficiency of charge and discharge can be adjusted. Considering the battery life characteristics, the charge and discharge voltage thresholds can also be set according to the battery life to control the depth of charge and discharge. This avoids excessive deep charge and discharge and balances the electricity price benefits and battery life loss.
[0044] The energy storage system charging and discharging device provided in the disclosed embodiment of the present invention can intelligently and efficiently control the charging and discharging behavior of the battery, mainly by acquiring real-time electricity price data and data on factors affecting electricity prices through an API interface, and combining with historical electricity price data analysis tools to explore the historical electricity price fluctuation pattern and determine the initial charging and discharging threshold value, so as to actively charge and store electric energy during the low electricity price period, and discharge for profit during the peak electricity price period; at the same time, a dynamic adjustment unit is used to dynamically adjust the initial charging and discharging threshold value in real time according to the factors affecting electricity prices, so that the charging and discharging strategy is more flexible and accurate; in addition, the charging and discharging current and voltage threshold values are flexibly adjusted according to factors such as the cumulative total power of the day, the battery pack status and the battery life, so as to maximize the electricity price benefits while extending the battery life.
[0045] Figure 3 It is a flow chart of a charging and discharging method of an energy storage system disclosed in an embodiment of the present disclosure.
[0046] like Figure 3 As shown, the charging and discharging method of the energy storage system may include steps S11 to S14.
[0047] Step S11, obtaining the current day's electricity price data, historical electricity price data, and data on factors affecting the current day's electricity price.
[0048] In the disclosed embodiments, the electricity price data for the day refers to the real-time or soon-to-be-effective electricity price information for the day. Including but not limited to the tiered electricity price demarcation points (i.e., the electricity usage limits corresponding to different electricity price segments), tiered electricity price prices (prices corresponding to different demarcation points), peak electricity prices (prices during peak electricity consumption periods), valley electricity prices (prices during low electricity consumption periods), and flat-peak electricity prices (prices during neither peak nor low periods). Historical electricity price data refers to electricity price records over a period of time in the past, which can be used to compare the current trend of electricity price changes and identify cyclical patterns. In addition to direct electricity price information, it is also necessary to obtain data on factors that affect electricity prices on the day, such as weather conditions (high temperatures may lead to increased use of air conditioners and thus increase electricity prices), holiday arrangements, etc.
[0049] By comprehensively analyzing the above three types of data, namely the electricity price data of the day, the historical electricity price data and the data of factors affecting the electricity price of the day, the initial charge and discharge thresholds can be determined more accurately and adjusted in time according to the actual situation. This helps the energy storage system to achieve a more economical and efficient operation mode while meeting the electricity needs of users, ultimately achieving the goal of saving electricity bills and optimizing resource allocation.
[0050] Step S12: Determine a first charging threshold and a first discharging threshold based on historical electricity price data.
[0051] In some embodiments, step S12 may include steps S121 to S123.
[0052] Step S121, analyzing historical electricity price data to determine the daily peak electricity price period and the low electricity price period, wherein the historical electricity price data includes at least one year's tiered electricity price demarcation point, tiered electricity price, peak electricity price, valley electricity price and off-peak electricity price.
[0053] For example, historical electricity price data covering at least one year's cycle is collected, including but not limited to the demarcation points of tiered electricity charges, tiered electricity prices, peak electricity prices, valley electricity prices, and flat-peak electricity prices. These data should be as detailed as possible to accurately reflect the changing patterns of electricity prices in different seasons and months. Next, an in-depth analysis of the above data is conducted to identify the peak electricity price periods (i.e., the time periods with the highest electricity prices) and valley electricity price periods (i.e., the time periods with the lowest electricity prices) on each weekday and weekend. This process may also need to consider differences in electricity prices caused by factors such as different seasons and different weather.
[0054] Step S122: Determine a first discharge threshold based on an average electricity price during a peak electricity price period.
[0055] For example, for the peak electricity price period determined in step S121, the average electricity price of all sample days in the period is calculated. According to the calculated average electricity price during the peak period, a reasonable discharge threshold is set. When the real-time electricity price is equal to or exceeds this threshold, the system will trigger the energy storage system to start discharging to the grid, instead of purchasing electricity at a high price or selling excess electricity for profit.
[0056] Step S123: Determine a first charging threshold based on an average electricity price during a low electricity price period.
[0057] For example, for the low electricity price period determined in step S121, the average electricity price of all sample days in the period is calculated. A charging threshold is set based on the average electricity price during the low electricity price period. When the real-time electricity price is lower than or equal to this threshold, the system will start the charging function of the energy storage system, use cheap electricity to charge the battery, and prepare for discharge for use or sale during the future high electricity price period.
[0058] By determining the first charging threshold and the first discharging threshold, it is possible to trigger the charging behavior of the energy storage system during off-peak hours and the discharging behavior of the energy storage system during peak hours. However, daily electricity price fluctuations may also be affected by factors such as weather, seasons, and holidays. Therefore, the initial charging and discharging thresholds are too uniform and cannot be adjusted in real time, and the economic benefits of the energy storage system cannot be maximized.
[0059] Step S13: In response to the data of factors affecting electricity prices on that day satisfying preset conditions, the first charging threshold and the first discharging threshold are adjusted to the second charging threshold and the second discharging threshold.
[0060] In some embodiments, the data of factors affecting electricity prices on the day include a first factor affecting electricity prices, a second factor affecting electricity prices, and a third factor affecting electricity prices. The first factor affecting electricity prices may be a season, and when the day is winter or summer, the first factor affecting electricity prices is confirmed to be true. The second factor affecting electricity prices may be a holiday, and when the day is a holiday, the second factor affecting electricity prices is confirmed to be true. The third factor affecting electricity prices may be weather, and when the day is extreme weather, the third factor affecting electricity prices is confirmed to be true.
[0061] The preset conditions may include: one, two or all of the following: the current day is winter or summer, the current day is a holiday, and the current day is extreme weather. In response to the data of the factors affecting the electricity price on the current day satisfying the preset conditions, the first charging threshold and the first discharging threshold are adjusted to the second charging threshold and the second discharging threshold, which may include the following three situations.
[0062] The first scenario: in response to the data of the factors affecting the electricity price on that day satisfying the first preset condition, the first charging threshold is increased by 0% to 5% as the second charging threshold, and the first discharging threshold is decreased by 0% to 5% as the second discharging threshold, wherein the first preset condition is that one of the factors affecting the electricity price is true;
[0063] The second scenario: in response to the data of the factors affecting the electricity price on that day satisfying the second preset condition, the first charging threshold is increased by 5% to 10% as the second charging threshold, and the first discharging threshold is decreased by 5% to 8% as the second discharging threshold, wherein the second preset condition is that two of the factors affecting the electricity price are true;
[0064] The third situation: in response to the data of factors affecting electricity prices on that day meeting the third preset condition, the first charging threshold is adjusted up by 10% to 35% as the second charging threshold, and the first discharging threshold is adjusted down by 8% to 15% as the second discharging threshold, wherein the third preset condition is that all factors affecting electricity prices are true.
[0065] By dynamically adjusting the charging and discharging thresholds of the energy storage system based on factors that affect electricity prices, such as the season of the day, holidays, and weather, the energy storage system can be charged and discharged at economically favorable times, thereby maximizing the economic benefits of the energy storage system.
[0066] Step S14: Based on the electricity price data of the day, the second charging threshold and the second discharging threshold, the energy storage system is controlled to charge and discharge.
[0067] In some embodiments, step S14 may further include steps S141 to S142.
[0068] Step S141: Determine the time-of-use electricity price at each time point based on the electricity price data of the day.
[0069] Based on the electricity price data obtained on the day (such as the demarcation point of the tiered electricity price, peak electricity price, valley electricity price and off-peak electricity price), the specific electricity price at each time point is accurately determined. This step ensures that the system can respond to changes in electricity prices in a timely manner and provide a basis for subsequent charging and discharging decisions.
[0070] Step S142: In response to the time-of-use electricity price being less than or equal to a second charging threshold, controlling the energy storage system to charge at a first power.
[0071] In step S142, the time-of-use electricity price is continuously monitored and compared with the preset second charging threshold. When it is detected that the current electricity price is lower than or equal to the second charging threshold, it is considered that this is a favorable time for charging. At this time, the energy storage system is controlled to start charging at the preset first power. The selection of the first power should take into account factors such as the capacity of the energy storage device, the stability of the power grid, and the needs of users to ensure that the charging process is safe and efficient.
[0072] Step S143: In response to the time-of-use electricity price being greater than or equal to a second discharge threshold, controlling the energy storage system to discharge at a second power.
[0073] In step S143, similarly, the time-of-use electricity price is continuously monitored and compared with the second discharge threshold. If it is detected that the current electricity price is higher than or equal to the second discharge threshold, it is considered to be the best time to discharge. In this case, the energy storage system is controlled to discharge to the grid at a preset second power. The setting of the second power needs to comprehensively consider factors such as the state of the energy storage equipment, power demand forecasts, and market electricity price fluctuations to ensure that the discharge behavior can bring both economic benefits and meet actual electricity demand.
[0074] In this process, it is necessary to ensure that the second charging threshold is less than the second discharging threshold to avoid unnecessary losses caused by frequent charging and discharging switching. Reasonable threshold settings not only help to improve the service life of the energy storage system, but also optimize the overall operating costs. Considering that electricity prices and influencing factors may change over time and environmental changes, the second charging threshold and the second discharging threshold can be regularly evaluated and adjusted in a timely manner to maintain the effectiveness and adaptability of the strategy.
[0075] In some embodiments, in order to further optimize the operating efficiency and economy of the energy storage system, the charging and discharging method of the energy storage system may include steps S15 to S17 in addition to steps S11 to S14. The description of steps S11 to S14 can refer to the above description and will not be repeated here.
[0076] Step S15: Obtain the total accumulated work of the energy storage system for the day.
[0077] In step S15, the total power generated by all charging and discharging activities of the energy storage system on that day is continuously monitored and accumulated for subsequent analysis and decision-making.
[0078] Step S16: In response to the accumulated total power for the day being greater than the preset power threshold, the second charging threshold and the second discharging threshold are adjusted to a third charging threshold and a third discharging threshold.
[0079] When it is detected that the total accumulated power for the day exceeds the pre-set power threshold, it can automatically evaluate whether the current charging and discharging strategy needs to be adjusted. If it is confirmed that adjustment is needed, the second charging threshold and the second discharging threshold are adjusted to the more conservative or aggressive third charging threshold and third discharging threshold, respectively. This step is designed to cope with power demand under high load conditions, avoid excessive use or waste of energy storage systems, and protect equipment from potential damage. The adjusted thresholds should be set flexibly according to actual conditions, taking into account factors such as the remaining capacity of the energy storage system, grid conditions, and future electricity price forecasts.
[0080] Step S17: Based on the electricity price data of the day, the third charging threshold and the third discharging threshold, the energy storage system is controlled to be charged and discharged.
[0081] Based on the latest electricity price information and the adjusted third charging threshold and third discharging threshold, the current optimal charging and discharging time is evaluated again. According to the newly set thresholds, intelligent charging and discharging control will continue to be performed to ensure that economic benefits and resource utilization efficiency are maximized while meeting user needs.
[0082] The charging and discharging method of the energy storage system provided in the embodiment of the present disclosure can more comprehensively consider various variables in daily operations and realize the transition from static thresholds to dynamic adjustments. This method not only improves the flexibility and adaptability of the energy storage system, but also effectively copes with the complex and changing electricity market environment and provides users with more stable and reliable energy services. At the same time, by continuously optimizing the charging and discharging strategy, the method helps to extend the service life of the energy storage system, reduce maintenance costs, and promote the effective integration of renewable energy.
[0083] So far, various embodiments of the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.
[0084] Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified or some technical features may be replaced by equivalents without departing from the scope and spirit of the present disclosure. In particular, the various technical features mentioned in the various embodiments may be combined in any manner as long as there is no structural conflict.
Claims
1. A charging and discharging method for an energy storage system, characterized in that: include: Obtain the current day electricity price data, historical electricity price data and current day electricity price impact factor data; Based on the historical electricity price data, determining a first charging threshold and a first discharging threshold; In response to the data of the factors affecting the electricity price on that day satisfying a preset condition, adjusting the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold; Based on the electricity price data of the day, the second charging threshold and the second discharging threshold, charging and discharging of the energy storage system are controlled.
2. The charging and discharging method of the energy storage system according to claim 1, characterized in that: The determining, based on the historical electricity price data, a first charging threshold and a first discharging threshold, comprises: Analyze the historical electricity price data to determine the daily peak electricity price period and the low electricity price period, wherein the historical electricity price data includes at least one year of tiered electricity price demarcation points, tiered electricity price, peak electricity price, valley electricity price and flat peak electricity price; Determining a first discharge threshold based on an average electricity price during the peak electricity price period; A first charging threshold is determined based on an average electricity price during the electricity price valley period.
3. The charging and discharging method of the energy storage system according to claim 1, characterized in that: The data of factors affecting electricity prices on the day include a first factor affecting electricity prices, a second factor affecting electricity prices, and a third factor affecting electricity prices; in response to the data of factors affecting electricity prices on the day satisfying a preset condition, adjusting the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold includes: In response to the data of the factors affecting the electricity price on that day satisfying a first preset condition, the first charging threshold is increased by 0% to 5% as a second charging threshold, and the first discharging threshold is decreased by 0% to 5% as the second discharging threshold, wherein the first preset condition is that one of the factors affecting the electricity price is true; In response to the data of the factors affecting the electricity price on that day satisfying a second preset condition, the first charging threshold is increased by 5% to 10% as a second charging threshold, and the first discharging threshold is decreased by 5% to 8% as the second discharging threshold, wherein the second preset condition is that two of the factors affecting the electricity price are true; In response to the data of the factors affecting electricity prices on that day satisfying a third preset condition, the first charging threshold is increased by 10% to 35% as a second charging threshold, and the first discharging threshold is decreased by 8% to 15% as the second discharging threshold, wherein the third preset condition is that all factors affecting electricity prices are true.
4. The charging and discharging method of the energy storage system according to claim 3, characterized in that: The first factor affecting electricity prices is the season. When the current day is winter or summer, the first factor affecting electricity prices is confirmed to be true; the second factor affecting electricity prices is holidays. When the current day is a holiday, the second factor affecting electricity prices is confirmed to be true; the third factor affecting electricity prices is the weather. When the current day is extreme weather, the third factor affecting electricity prices is confirmed to be true.
5. The charging and discharging method of the energy storage system according to claim 1, characterized in that: The controlling the charging and discharging of the energy storage system based on the current day electricity price data, the second charging threshold and the second discharging threshold includes: Based on the electricity price data of the day, determining the time-of-use electricity price at each time point; In response to the time-of-use electricity price being less than or equal to the second charging threshold, controlling the energy storage system to charge at a first power; In response to the time-of-use electricity price being greater than or equal to the second discharge threshold, controlling the energy storage system to discharge at a second power; The second charging threshold is less than the second discharging threshold.
6. The charging and discharging method of the energy storage system according to claim 1, characterized in that: Also includes: Get the total accumulated power of the energy storage system for the day; In response to the accumulated total power for the day being greater than a preset power threshold, adjusting the second charging threshold and the second discharging threshold to a third charging threshold and a third discharging threshold; Based on the electricity price data of the day, the third charging threshold and the third discharging threshold, the energy storage system is controlled to charge and discharge.
7. A charging and discharging device for an energy storage system, characterized in that: include: Energy storage unit, used to store and release electrical energy; The electricity price monitoring unit is used to obtain the electricity price data of the day, historical electricity price data and the data of factors affecting the electricity price of the day; and for determining a first charging threshold and a first discharging threshold based on the historical electricity price data; a dynamic adjustment unit, configured to adjust the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold in response to the data of the factors affecting the electricity price on the day meeting a preset condition; A control unit is used to control the charging and discharging of the energy storage system based on the current day electricity price data, the second charging threshold and the second discharging threshold.
8. The charging and discharging device of the energy storage system according to claim 7, characterized in that: The data of factors affecting electricity prices on the day include a first factor affecting electricity prices, a second factor affecting electricity prices, and a third factor affecting electricity prices; in response to the data of factors affecting electricity prices on the day satisfying a preset condition, adjusting the first charging threshold and the first discharging threshold to a second charging threshold and a second discharging threshold includes: In response to the data of the factors affecting the electricity price on that day satisfying a first preset condition, the first charging threshold is increased by 0% to 5% as a second charging threshold, and the first discharging threshold is decreased by 0% to 5% as the second discharging threshold, wherein the first preset condition is that one of the factors affecting the electricity price is true; In response to the data of the factors affecting the electricity price on that day satisfying a second preset condition, the first charging threshold is increased by 5% to 10% as a second charging threshold, and the first discharging threshold is decreased by 5% to 8% as the second discharging threshold, wherein the second preset condition is that two of the factors affecting the electricity price are true; In response to the data of the factors affecting electricity prices on that day satisfying a third preset condition, the first charging threshold is increased by 10% to 35% as a second charging threshold, and the first discharging threshold is decreased by 8% to 15% as the second discharging threshold, wherein the third preset condition is that all factors affecting electricity prices are true.
9. The charging and discharging device of the energy storage system according to claim 8, characterized in that: The first factor affecting electricity prices is the season. When the current day is winter or summer, the first factor affecting electricity prices is confirmed to be true; the second factor affecting electricity prices is holidays. When the current day is a holiday, the second factor affecting electricity prices is confirmed to be true; the third factor affecting electricity prices is the weather. When the current day is extreme weather, the third factor affecting electricity prices is confirmed to be true.
10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions for causing a machine to execute the method for charging and discharging an energy storage system according to any one of claims 1 to 6.