Peak shaving method and related products
Patent Information
- Application Number
- CN202311790591.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2043-12-22
AI Technical Summary
但是,在EMS所接入的设备较多的情况下,当这些接入设备上传负荷数据,以便EMS进行削峰填谷时,EMS的数据管理和通信系统可能会面临巨大的负荷压力,存在通信时延问题,如果数据传输速度太慢或通信中断,可能会导致数据延迟或丢失,从而影响EMS进行削峰填谷的准确性和决策效果
[0038]In this embodiment, devices with large or relatively stable power consumption are grouped based on their power consumption type, reflecting the degree of fluctuation in their power consumption. Different communication rules and bandwidth requirements are assigned to different groups. Then, the load information of the devices is reported to the decision node using the corresponding communication rules and bandwidth requirements. Finally, the decision node performs peak shaving and valley filling on the electricity connected to the energy storage system based on the reported load information. Thus, by grouping devices with different degrees of power consumption fluctuation and using different communication rules and bandwidth requirements for data upload, devices with stable power consumption can have their bandwidth usage appropriately reduced by configuring suitable communication rules. Compared to existing communication methods, this approach allows for more devices to communicate concurrently with limited communication resources, thereby solving the latency problem of concurrent communication and effectively improving the efficiency and effectiveness of peak shaving and valley filling.
Smart Images

Figure CN117767368B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, specifically to a peak shaving and valley filling method and related products. Background Technology
[0002] An Energy Management System (EMS) is a comprehensive, efficient, and intelligent solution for equipment and engineering management, suitable for the equipment and engineering management needs of various manufacturing enterprises. However, when a large number of devices are connected to the EMS, and these devices upload load data for peak shaving and valley filling, the EMS's data management and communication systems may face enormous load pressure and communication latency issues. If the data transmission speed is too slow or communication is interrupted, data delays or loss may occur, thereby affecting the accuracy and effectiveness of the EMS's peak shaving and valley filling decisions. Summary of the Invention
[0003] To address the aforementioned problems in the prior art, this application provides a peak shaving and valley filling method and related products, which can simultaneously obtain load information of all devices under limited communication resources, thereby solving the latency problem of concurrent communication and effectively improving the efficiency and effect of peak shaving and valley filling.
[0004] In a first aspect, embodiments of this application provide a peak shaving and valley filling method, which is applied to a communication node in an energy management system. The method includes:
[0005] Determine the type of electricity used by the electrical equipment;
[0006] The communication rules and bandwidth requirements are determined based on the type of electricity use, where the bandwidth requirements are used to identify the available bandwidth range for communication.
[0007] According to communication rules, load information is reported to the decision node within the bandwidth requirements, so that the decision node can perform peak shaving and valley filling of the electrical energy connected to the energy storage system based on the load information.
[0008] In one possible implementation, determining the power consumption type of the electrical equipment includes:
[0009] Determine the degree of fluctuation in the power consumption of electrical equipment based on historical power consumption data;
[0010] When the fluctuation level is less than or equal to the first threshold, each communication node determines the power consumption type of the electrical equipment as stable.
[0011] When the fluctuation level exceeds the first threshold, each communication node determines the power consumption type of the electrical equipment as fluctuating.
[0012] In one possible implementation, the degree of fluctuation can be expressed by formula ①:
[0013]
[0014] Where z represents the fluctuation degree of the power consumption amplitude of the electrical equipment, x represents the average wavelength of the power consumption waveform of the electrical equipment, y represents the maximum wave height of the power consumption waveform of the electrical equipment, a represents the weight of the average wavelength of the power consumption waveform of the electrical equipment, b represents the weight of the maximum wave height of the power consumption waveform of the electrical equipment, and t represents the preset time length.
[0015] In one possible implementation, when the power consumption type of the electrical equipment is stable, the communication rules and bandwidth requirements are determined according to the power consumption type, including:
[0016] When the load information does not change, the communication rule is determined to be that the load information reported to the decision node is 0, and the maximum value of the bandwidth requirement is determined to be the preset second threshold, where the second threshold is the maximum value of the bandwidth when transmitting a single bit.
[0017] When the load information changes, the communication rule is determined to be that the load information reported to the decision node is 1, and the maximum value of the bandwidth requirement is determined to be the second threshold.
[0018] In one possible implementation, when the power consumption type of the electrical equipment is fluctuating, the communication rules and bandwidth requirements are determined according to the power consumption type, including:
[0019] Report the actual values of load information to the decision-making node;
[0020] The maximum bandwidth requirement is set to a preset third threshold, which is determined based on the maximum load information of the electrical equipment.
[0021] In one possible implementation, after determining the communication rules and bandwidth requirements based on the power consumption type, the method further includes:
[0022] Obtain power consumption task information from electrical equipment;
[0023] The priority of electrical equipment is determined based on the electricity consumption task information, where the priority is used to identify the importance of the electrical equipment;
[0024] The communication rules are adjusted according to priority to obtain the adjustment rules;
[0025] Based on priority, the bandwidth requirements are adjusted to obtain the adjustment requirements;
[0026] According to communication rules, load information is reported to the decision node within the bandwidth requirements, including:
[0027] According to the adjustment rules, load information is reported to the decision-making node under the adjustment requirements.
[0028] In one possible implementation, the priority can be expressed by formula ②:
[0029]
[0030] Where n represents the total number of electrical devices, p m c represents the priority of the m-th electrical device. m d represents the stage weight of the task execution stage of the m-th device. m This indicates the importance of the power consumption task of the m-th device, where i and m are integers greater than or equal to 1 and less than or equal to n.
[0031] Secondly, embodiments of this application provide a peak shaving and valley filling device, comprising:
[0032] The analysis module is used to determine the power consumption type of the electrical equipment, and to determine the communication rules and bandwidth requirements based on the power consumption type. The bandwidth requirements are used to identify the available bandwidth range when communicating.
[0033] The reporting module is used to report load information to the decision node according to communication rules and bandwidth requirements, so that the decision node can perform peak shaving and valley filling of the electrical energy connected to the energy storage system based on the load information.
[0034] Thirdly, embodiments of this application provide an electronic device, including: a processor connected to a memory for storing a computer program, and the processor for executing the computer program stored in the memory to cause the electronic device to perform the method as described in the first aspect.
[0035] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that causes a computer to perform the method as described in the first aspect.
[0036] Fifthly, embodiments of this application provide a computer program product, the computer program product including a non-transitory computer-readable storage medium storing a computer program, and a computer operable to perform the method as described in the first aspect.
[0037] Implementing the embodiments of this application has the following beneficial effects:
[0038] In this embodiment, devices with large or relatively stable power consumption are grouped based on their power consumption type, reflecting the degree of fluctuation in their power consumption. Different communication rules and bandwidth requirements are assigned to different groups. Then, the load information of the devices is reported to the decision node using the corresponding communication rules and bandwidth requirements. Finally, the decision node performs peak shaving and valley filling on the electricity connected to the energy storage system based on the reported load information. Thus, by grouping devices with different degrees of power consumption fluctuation and using different communication rules and bandwidth requirements for data upload, devices with stable power consumption can have their bandwidth usage appropriately reduced by configuring suitable communication rules. Compared to existing communication methods, this approach allows for more devices to communicate concurrently with limited communication resources, thereby solving the latency problem of concurrent communication and effectively improving the efficiency and effectiveness of peak shaving and valley filling. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0040] Figure 1 A schematic diagram of the hardware structure of a peak shaving and valley filling device based on distributed communication provided for the implementation of this application;
[0041] Figure 2 A schematic diagram of a residential energy storage system provided for the implementation of this application;
[0042] Figure 3 A flowchart illustrating a peak shaving and valley filling method based on distributed communication provided for the implementation of this application;
[0043] Figure 4 A functional module block diagram of a peak shaving and valley filling device based on distributed communication provided for the embodiments of this application;
[0044] Figure 5 This is a schematic diagram of the structure of an electronic device provided for an embodiment of this application. Detailed Implementation
[0045] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0046] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0047] In this document, the term "implementation" means that a specific feature, result, or characteristic described in connection with an implementation may be included in at least one implementation of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same implementation, nor is it a separate or alternative implementation mutually exclusive with other implementations. It will be explicitly and implicitly understood by those skilled in the art that the implementations described herein can be combined with other implementations.
[0048] See Figure 1 , Figure 1 This is a schematic diagram of the hardware structure of a peak shaving and valley filling device based on distributed communication, provided for an embodiment of this application. The peak shaving and valley filling device 100 based on distributed communication includes at least one processor 101, a communication line 102, a memory 103, and at least one communication interface 104.
[0049] In this embodiment, the processor 101 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.
[0050] Communication line 102 may include a path for transmitting information between the aforementioned components.
[0051] The communication interface 104 can be any transceiver-like device (such as an antenna) used to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc.
[0052] The memory 103 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0053] In this embodiment, the memory 103 can exist independently and be connected to the processor 101 via the communication line 102. Alternatively, the memory 103 can be integrated with the processor 101. The memory 103 provided in this embodiment is typically non-volatile. The memory 103 stores computer execution instructions for implementing the scheme of this application, and its execution is controlled by the processor 101. The processor 101 executes the computer execution instructions stored in the memory 103 to implement the method provided in the following embodiments of this application.
[0054] In an optional implementation, the computer execution instructions may also be referred to as application code, and this application does not specifically limit this.
[0055] In an optional implementation, processor 101 may include one or more CPUs, for example... Figure 1 CPU0 and CPU1 in the CPU.
[0056] In an optional implementation, the peak shaving and valley filling device 100 based on distributed communication may include multiple processors, such as... Figure 1 Processors 101 and 107 are shown in the diagram. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0057] In optional implementations, if the peak shaving and valley filling device 100 based on distributed communication is a server, for example, it can be a standalone server or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Then, the peak shaving and valley filling device 100 based on distributed communication may further include an output device 105 and an input device 106. The output device 105 communicates with the processor 101 and can display information in various ways. For example, the output device 105 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 106 communicates with the processor 101 and can receive user input in various ways. For example, the input device 106 can be a mouse, keyboard, touch screen device, or sensing device, etc.
[0058] The peak shaving and valley filling device 100 based on distributed communication described above can be a general-purpose device or a special-purpose device. The embodiments of this application do not limit the type of peak shaving and valley filling device 100 based on distributed communication.
[0059] Secondly, it's important to note that because the energy we need is highly time- and space-dependent, to utilize energy rationally and improve efficiency, we need a medium or device to store one form of energy in the same way or by converting it into another, and then release it in a specific energy form for future applications. Currently, the main way to generate green electricity is by developing green energy sources such as photovoltaics and wind power to replace fossil fuels.
[0060] Currently, the generation of green electricity generally relies on solar, wind, and hydropower. However, wind and solar power are generally characterized by strong intermittency and large fluctuations, which can cause grid instability, insufficient power during peak demand periods, and excessive power during off-peak periods. Unstable voltage can also damage the power grid. Therefore, insufficient electricity demand or insufficient grid capacity may lead to the problem of "wind and solar curtailment." Solving these problems requires energy storage. This involves converting electrical energy into other forms of energy through physical or chemical means and storing it. When needed, this energy can be converted back into electrical energy and released. Simply put, energy storage is like a large "power bank," storing electrical energy when solar and wind power are abundant and releasing the stored electricity when needed.
[0061] Taking electrochemical energy storage as an example, this solution provides an energy storage device. The energy storage device is equipped with a set of chemical batteries, which mainly use the chemical elements in the batteries as energy storage medium. The charging and discharging process is accompanied by the chemical reaction or change of the energy storage medium. Simply put, the electrical energy generated by wind and solar energy is stored in the chemical batteries. When the use of external electrical energy reaches its peak, the stored electrical energy is released for use, or transferred to places with a shortage of electricity for use.
[0062] Current energy storage applications are quite widespread, including generation-side energy storage, grid-side energy storage, and consumption-side energy storage. The corresponding types of energy storage devices include:
[0063] (1) Large-scale energy storage power stations applied to wind power and photovoltaic power stations can assist renewable energy power generation in meeting grid connection requirements and improve the utilization rate of renewable energy. As a high-quality active / reactive power regulation power source on the power supply side, energy storage power stations can achieve load matching of power in time and space, enhance the absorption capacity of renewable energy, reduce instantaneous power changes, reduce the impact on the power grid, improve the absorption of new energy power generation, and are of great significance in power grid system backup, alleviating peak load power supply pressure and peak regulation and frequency regulation.
[0064] (2) Energy storage containers applied on the grid side mainly function as peak shaving, frequency regulation and grid congestion relief. In terms of peak shaving, they can realize peak shaving and valley filling of electricity load, that is, charging the energy storage battery when the electricity load is low and releasing the stored electricity during the peak electricity load period, thereby achieving a balance between power production and consumption.
[0065] (3) Small energy storage cabinets applied to the electricity consumption side mainly function as self-consumption of electricity, peak-valley price arbitrage, capacity cost management, and improvement of power supply reliability. Depending on the application scenario, electricity consumption side energy storage can be divided into industrial and commercial energy storage cabinets, household energy storage devices, energy storage charging piles, etc., which are generally used in conjunction with distributed photovoltaics. Industrial and commercial users can use energy storage for peak-valley price arbitrage and capacity cost management. In the electricity market implementing peak-valley pricing, by charging the energy storage system when the electricity price is low and discharging the energy storage system when the electricity price is high, peak-valley price arbitrage can be achieved, reducing electricity costs. In addition, industrial enterprises subject to two-part tariffs can use energy storage systems to store energy during off-peak hours and discharge during peak loads, thereby reducing peak power and the maximum demand declared, achieving the goal of reducing capacity charges. Household photovoltaics with energy storage can improve the level of self-consumption of electricity. Due to high electricity prices and poor power supply stability, the demand for household photovoltaic installations is driven. Given that photovoltaic power generation occurs during the day, while user load is generally higher at night, configuring energy storage can better utilize photovoltaic power, improve self-consumption levels, and reduce electricity costs. Furthermore, energy storage is needed in areas such as communication base stations and data centers for backup power.
[0066] For example, such as Figure 2 As shown, Figure 2 This is a schematic diagram of a residential energy storage system provided for an embodiment of this application. The residential energy storage system includes a power conversion device 2 (photovoltaic panel), a first user load 3 (streetlight), a second user load 4 (e.g., household appliances such as air conditioners), and an energy storage device 1. The energy storage device 1 is a small energy storage box that can be wall-mounted to an outdoor wall. Specifically, the photovoltaic panel can convert solar energy into electrical energy during periods of low electricity prices, and the energy storage device 1 is used to store this electrical energy and supply it to streetlights and household appliances during peak electricity prices, or to provide power during power outages / power interruptions.
[0067] The energy storage devices described above can be multiple, connected in series or in parallel, and can be supported and electrically connected using isolation plates. In this embodiment, "multiple" refers to two or more. An energy storage box can also be provided externally to house the energy storage devices.
[0068] Optionally, the energy storage device may include, but is not limited to, a single battery cell, a battery module, a battery pack, or a battery system. The actual application form of the energy storage device provided in this application embodiment may be, but is not limited to, the listed products, and may also be other application forms. This application embodiment does not strictly limit the application form of the energy storage device. This application embodiment only uses a multi-cell battery as an example for illustration. When the energy storage device is a single battery cell, the energy storage device may be at least one of cylindrical batteries, prismatic batteries, etc.
[0069] Based on the above description of the energy storage system, it is evident that the energy storage device 1 plays a role in power distribution. During the distribution process, to further improve the effective utilization of power, it is necessary to rationally distribute power based on the load information of electrical equipment, such as the first user load 3 and the second user load 4, to achieve peak shaving and valley filling. Therefore, the peak shaving and valley filling method provided in this application can be applied to the power distribution scenarios brought about by the aforementioned energy storage device.
[0070] also, Figure 2 The embodiments shown are merely examples of residential energy storage scenarios in user-side energy storage, illustrating the applicable scenarios for the peak shaving and valley filling method provided in this application. The peak shaving and valley filling method of this application can also be applied to other scenarios requiring electricity distribution, and is not limited to residential energy storage scenarios.
[0071] The following will describe a peak shaving and valley filling method disclosed in this application.
[0072] See Figure 3 , Figure 3 A flowchart illustrating a peak shaving and valley filling method provided for an embodiment of this application is applicable to... Figure 2The communication node in the energy storage system (EMS) shown. The method includes the following steps:
[0073] 301: Determine the type of electricity used by the electrical equipment.
[0074] In this embodiment, multiple communication nodes can be set up in the EMS to manage various electrical devices. When load reporting is required, the power consumption type of the electrical devices managed by the communication node can be determined. This embodiment and the following embodiments use a single communication node to determine the power consumption type of the electrical devices managed by that node. Specifically, the power consumption type of the electrical device is determined by the degree of fluctuation in its power consumption. Specifically, the degree of fluctuation in the power consumption can be determined based on the historical power consumption data of the electrical device. For example, a first threshold can be set. When the fluctuation is less than or equal to the first threshold, the power consumption type of the device to be communicated is determined to be stable; when the fluctuation is greater than the first threshold, the power consumption type of the device to be communicated is determined to be fluctuating.
[0075] In this embodiment, the degree of fluctuation in the power consumption of the communication devices can be determined by analyzing the power consumption waveform of each device. For example, the degree of fluctuation in the power consumption of each communication device can be expressed by formula ③:
[0076]
[0077] Where z represents the fluctuation degree of the power consumption amplitude of the electrical equipment, x represents the average wavelength of the power consumption waveform of the electrical equipment, y represents the maximum wave height of the power consumption waveform of the electrical equipment, a represents the weight of the average wavelength of the power consumption waveform of the electrical equipment, b represents the weight of the maximum wave height of the power consumption waveform of the electrical equipment, and t represents the preset time length.
[0078] Therefore, based on the actual power consumption scenario, a reasonable first threshold can be predefined, and then all devices managed by the power management system can be divided into stable and fluctuating types.
[0079] 302: Determine communication rules and bandwidth requirements based on the type of electricity used.
[0080] In this embodiment, stable power-consuming equipment is characterized by relatively stable power consumption that remains largely unchanged. Because of its stable power consumption, this type of equipment reports consistent load information with a low frequency of changes. Therefore, for this type of equipment, the communication rules can be set as follows: when the load information remains unchanged, the communication rule is set to report a load information of 0 to the decision node, and the maximum bandwidth requirement is set as a second threshold, which is the maximum bandwidth required for single-bit transmission. When the load information changes, the communication rule is set to report a load information of 1 to the decision node, and similarly, the maximum bandwidth requirement is set as the second threshold. In short, a single bit of 0 or 1 is used to represent the specific load information; 0 indicates no change in load information compared to the previous report, and 1 indicates a change in load information compared to the previous report. Thus, only a bandwidth sufficient for single-bit data transmission needs to be allocated to this equipment to meet its load information reporting requirements.
[0081] In this implementation, after receiving the reported load information, the decision node can process it accordingly based on the specific value of the information. Specifically, when the load information is 0, the historical load information previously reported by the device can be directly used as the device's load information. If the previously reported information was also 0, the search continues up to the previous time frame until a specific load information value is found, which is then used as the device's load information. When the load information is 1, the communication rule restrictions on the device can be lifted, and a reporting request can be sent to the device again, receiving the specific load information reported by the device as the device's load information.
[0082] In this embodiment, since the device corresponding to this rule is a stable device, the probability of its load information changing is low. Therefore, the probability of receiving zero reported information is relatively high, and the need to remove communication rule restrictions and increase bandwidth is rare. Consequently, load information reporting can be completed with less communication data, requiring only a small allocation of communication resources to meet the reporting requirements.
[0083] In this embodiment, fluctuating power-consuming devices are characterized by unstable and frequently changing power consumption. To address this, the device can directly report its specific load information, and the maximum bandwidth requirement of the device can be set as a preset third threshold. This third threshold is determined based on the device's maximum load information; specifically, the bandwidth sufficient to transmit that number of bits of the device's maximum load information is used as the third threshold. In short, for fluctuating devices, communication resources can be allocated as usual, allowing them to directly report their current actual load information.
[0084] 303: Report load information to the decision node according to communication rules and bandwidth requirements.
[0085] In this embodiment, before confirming the communication rules and bandwidth requirements of the power-consuming equipment, the priority of the power-consuming equipment can be determined, and the communication rules and bandwidth requirements of the power-consuming equipment can be adjusted according to the priority. Specifically, the priority is used to identify the importance of the power-consuming equipment. This priority is not a fixed priority, but is updated in real time according to the power consumption situation in each time period. For example, current power consumption task information can be obtained, and then the current priority of the equipment can be determined according to the importance of the power consumption task, the task execution stage, and other information.
[0086] For example, in this embodiment, the priority can be represented by formula ④:
[0087]
[0088] Where n represents the total number of electrical devices, p m c represents the priority of the m-th electrical device. m d represents the stage weight determined by the task execution stage of the m-th electrical device. m Represents the fraction determined by the importance of the power consumption task of the m-th electrical device, where i and m are integers greater than or equal to 1 and less than or equal to n.
[0089] Furthermore, for equipment that has been de-energized, its stage weight is fixed at 0, while for equipment that has been continuously powered, its stage weight is fixed at 1.
[0090] After determining the priority of each device, the communication rules for each device can be adjusted according to the priority to obtain adjustment rules, and the bandwidth requirements can be adjusted to obtain adjustment requirements. In short, the priority can be converted into a corresponding priority coefficient according to preset rules, and then this priority coefficient is multiplied by the fluctuation level of the power consumption of each device to be communicated in step 201 to obtain a new fluctuation level. Then, the type of each device is determined based on the new fluctuation level and a first threshold, and the original communication rules and bandwidth requirements are adjusted accordingly to obtain adjustment rules and adjustment requirements. The load information of the power-consuming equipment is then reported to the decision node based on the adjustment rules and adjustment requirements, enabling the decision node to perform peak shaving and valley filling of power consumption based on the received load information.
[0091] In summary, the peak shaving and valley filling method provided by this invention groups devices with large and relatively stable power consumption based on their power consumption type, reflecting the degree of fluctuation in power consumption amplitude. Different communication rules and bandwidth requirements are then assigned to different groups of devices. The load information of the devices is then reported to the decision node according to the corresponding communication rules and bandwidth requirements. Finally, the decision node performs peak shaving and valley filling processing on the electricity connected to the energy storage system based on the reported load information. Thus, by grouping devices with different degrees of power consumption fluctuation and using different communication rules and bandwidth requirements for data uploading, devices with stable power consumption can have their bandwidth usage appropriately reduced by configuring suitable communication rules. Compared to existing communication methods, this method can accommodate more devices communicating concurrently with limited communication resources, thereby solving the latency problem of concurrent communication and effectively improving the efficiency and effectiveness of peak shaving and valley filling.
[0092] See Figure 4 , Figure 4 A functional module block diagram of a peak shaving and valley filling device provided for embodiments of this application, the device 400 includes:
[0093] The first determining module 401 is used to determine the power consumption type of the electrical equipment;
[0094] The second determining module 402 is used to determine communication rules and bandwidth requirements according to the power consumption type, wherein the bandwidth requirements are used to identify the available bandwidth range when communicating.
[0095] The reporting module 403 is used to report load information to the decision node according to the communication rules and bandwidth requirements, so that the decision node can perform peak shaving and valley filling processing on the electrical energy connected to the energy storage system based on the load information.
[0096] In an embodiment of the present invention, the first determining module 401, in determining the power consumption type of electrical equipment, is specifically used for:
[0097] Determine the degree of fluctuation in the power consumption of electrical equipment based on historical power consumption data;
[0098] When the fluctuation level is less than or equal to the first threshold, each communication node determines the power consumption type of the electrical equipment as stable.
[0099] When the fluctuation level exceeds the first threshold, each communication node determines the power consumption type of the electrical equipment as fluctuating.
[0100] In an embodiment of the present invention, the degree of fluctuation can be expressed by formula ⑤:
[0101]
[0102] Where z represents the fluctuation degree of the power consumption amplitude of the electrical equipment, x represents the average wavelength of the power consumption waveform of the electrical equipment, y represents the maximum wave height of the power consumption waveform of the electrical equipment, a represents the weight of the average wavelength of the power consumption waveform of the electrical equipment, b represents the weight of the maximum wave height of the power consumption waveform of the electrical equipment, and t represents the preset time length.
[0103] In an embodiment of the present invention, when the power consumption type of the electrical equipment is fluctuating, the second determining module 402 is specifically used for determining communication rules and bandwidth requirements based on the power consumption type:
[0104] When the load information does not change, the communication rule is determined to be that the load information reported to the decision node is 0, and the maximum value of the bandwidth requirement is determined to be the preset second threshold, where the second threshold is the maximum value of the bandwidth when transmitting a single bit.
[0105] When the load information changes, the communication rule is determined to be that the load information reported to the decision node is 1, and the maximum value of the bandwidth requirement is determined to be the second threshold.
[0106] In an embodiment of the present invention, when the power consumption type of the electrical equipment is fluctuating, the second determining module 402 is specifically used for determining the communication rules and communication resources of the device to be communicated.
[0107] Report the actual values of load information to the decision-making node;
[0108] The maximum bandwidth requirement is set to a preset third threshold, which is determined based on the maximum load information of the electrical equipment.
[0109] In an embodiment of the present invention, after determining the communication rules and bandwidth requirements based on the power consumption type, the second determining module 402 is further configured to:
[0110] Obtain power consumption task information from electrical equipment;
[0111] The priority of electrical equipment is determined based on the electricity consumption task information, where the priority is used to identify the importance of the electrical equipment;
[0112] The communication rules are adjusted according to priority to obtain the adjustment rules;
[0113] Based on priority, the bandwidth requirements are adjusted to obtain the adjustment requirements;
[0114] Based on this, in terms of reporting load information to the decision node according to communication rules and bandwidth requirements, the reporting module 403 is specifically used for:
[0115] According to the adjustment rules, load information is reported to the decision-making node under the adjustment requirements.
[0116] In an embodiment of the present invention, priority can be expressed by formula ⑥:
[0117]
[0118] Where n represents the total number of electrical devices, p m c represents the priority of the m-th electrical device. m d represents the stage weight of the task execution stage of the m-th device. m This indicates the importance of the power consumption task of the m-th device, where i and m are integers greater than or equal to 1 and less than or equal to n.
[0119] See Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided for an embodiment of this application. For example... Figure 5 As shown, the electronic device 500 includes a transceiver 501, a processor 502, and a memory 503. These are connected via a bus 504. The memory 503 stores computer programs and data, and can transfer data stored in the memory 503 to the processor 502.
[0120] Processor 502 is used to read the computer program in memory 503 and perform the following operations:
[0121] Determine the type of electricity used by the electrical equipment;
[0122] The communication rules and bandwidth requirements are determined based on the type of electricity use, where the bandwidth requirements are used to identify the available bandwidth range for communication.
[0123] According to communication rules, load information is reported to the decision node within the bandwidth requirements, so that the decision node can perform peak shaving and valley filling of the electrical energy connected to the energy storage system based on the load information.
[0124] In an embodiment of the present invention, in determining the power consumption type of an electrical device, the processor 502 is specifically configured to perform the following operations:
[0125] Determine the degree of fluctuation in the power consumption of electrical equipment based on historical power consumption data;
[0126] When the fluctuation level is less than or equal to the first threshold, each communication node determines the power consumption type of the electrical equipment as stable.
[0127] When the fluctuation level exceeds the first threshold, each communication node determines the power consumption type of the electrical equipment as fluctuating.
[0128] In an embodiment of the present invention, the degree of fluctuation can be expressed by formula ⑦:
[0129]
[0130] Where z represents the fluctuation degree of the power consumption amplitude of the electrical equipment, x represents the average wavelength of the power consumption waveform of the electrical equipment, y represents the maximum wave height of the power consumption waveform of the electrical equipment, a represents the weight of the average wavelength of the power consumption waveform of the electrical equipment, b represents the weight of the maximum wave height of the power consumption waveform of the electrical equipment, and t represents the preset time length.
[0131] In an embodiment of the present invention, when the power consumption type of the electrical device is fluctuating, the processor 502 is specifically configured to perform the following operations in determining communication rules and bandwidth requirements based on the power consumption type:
[0132] When the load information does not change, the communication rule is determined to be that the load information reported to the decision node is 0, and the maximum value of the bandwidth requirement is determined to be the preset second threshold, where the second threshold is the maximum value of the bandwidth when transmitting a single bit.
[0133] When the load information changes, the communication rule is determined to be that the load information reported to the decision node is 1, and the maximum value of the bandwidth requirement is determined to be the second threshold.
[0134] In an embodiment of the present invention, when the power consumption type of the electrical device is fluctuating, the processor 502 is specifically configured to perform the following operations in determining the communication rules and communication resources of the device to be communicated:
[0135] Report the actual values of load information to the decision-making node;
[0136] The maximum bandwidth requirement is set to a preset third threshold, which is determined based on the maximum load information of the electrical equipment.
[0137] In an embodiment of the present invention, after determining the communication rules and bandwidth requirements based on the power consumption type, the processor 502 is specifically configured to perform the following operations:
[0138] Obtain power consumption task information from electrical equipment;
[0139] The priority of electrical equipment is determined based on the electricity consumption task information, where the priority is used to identify the importance of the electrical equipment;
[0140] The communication rules are adjusted according to priority to obtain the adjustment rules;
[0141] Based on priority, the bandwidth requirements are adjusted to obtain the adjustment requirements;
[0142] Based on this, in reporting load information to the decision node according to communication rules and bandwidth requirements, processor 502 is specifically used to perform the following operations:
[0143] According to the adjustment rules, load information is reported to the decision-making node under the adjustment requirements.
[0144] In embodiments of the present invention, priority can be expressed by formula ⑧:
[0145]
[0146] Where n represents the total number of electrical devices, p m c represents the priority of the m-th electrical device. m d represents the stage weight of the task execution stage of the m-th device. m This indicates the importance of the power consumption task of the m-th device, where i and m are integers greater than or equal to 1 and less than or equal to n.
[0147] It should be understood that the peak shaving and valley filling devices in this application may include smartphones (such as Android phones, iOS phones, Windows Phones, etc.), tablet computers, PDAs, laptops, mobile internet devices (MIDs), robots, or wearable devices, etc. The above-mentioned peak shaving and valley filling devices are merely examples and not exhaustive, and include, but are not limited to, the aforementioned peak shaving and valley filling devices. In practical applications, the above-mentioned peak shaving and valley filling devices may also include: intelligent vehicle terminals, computer equipment, etc.
[0148] Through the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software combined with a hardware platform. Based on this understanding, all or part of the technical solution of the present invention that contributes to the background art can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
[0149] Therefore, embodiments of this application also provide a computer-readable storage medium storing a computer program that is executed by a processor to implement some or all of the steps of any of the peak shaving and valley filling methods described in the above method embodiments. For example, the storage medium may include a hard disk, floppy disk, optical disk, magnetic tape, magnetic disk, USB flash drive, flash memory, etc.
[0150] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the peak shaving and valley filling methods described in the above method embodiments.
[0151] It should be noted that, for the sake of simplicity, the aforementioned methods are described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are optional, and the actions and modules involved are not necessarily essential to this application.
[0152] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0153] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of 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 system, 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 or other forms.
[0154] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0155] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software program module.
[0156] If the integrated unit is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0157] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0158] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The above description of the embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for peak shaving and valley filling, characterized in that, The method is applied to a communication node in an energy management system, and the method includes: Determine the power consumption type of the electrical equipment, wherein the power consumption type is used to indicate the degree of fluctuation in the power consumption of the electrical equipment; Communication rules and bandwidth requirements are determined based on the electricity consumption type, wherein the bandwidth requirements are used to identify the available bandwidth range when communicating; According to the communication rules, load information is reported to the decision node under the bandwidth requirements, so that the decision node can perform peak shaving and valley filling processing on the electrical energy connected to the energy storage system based on the load information. Wherein, when the fluctuation level is less than or equal to the first threshold, the power consumption type of the electrical equipment is determined to be stable; When the power consumption type of the electrical equipment is stable, the step of determining the communication rules and bandwidth requirements based on the power consumption type includes: When the load information does not change, the communication rule is determined to be that the load information reported to the decision node is 0, and the maximum value of the bandwidth requirement is determined to be a preset second threshold, wherein the second threshold is the maximum value of the bandwidth when transmitting a single bit. When the load information changes, the communication rule is determined to be that the load information reported to the decision node is 1, and the maximum value of the bandwidth requirement is determined to be the second threshold.
2. The method according to claim 1, characterized in that, When the degree of fluctuation is greater than the first threshold, the power consumption type of the electrical equipment is determined to be fluctuating.
3. The method according to claim 2, characterized in that, The degree of fluctuation satisfies the following formula: Where z represents the fluctuation degree of the power consumption amplitude of the electrical equipment, x represents the average wavelength of the power consumption waveform of the electrical equipment, y represents the maximum wave height of the power consumption waveform of the electrical equipment, a represents the weight of the average wavelength of the power consumption waveform of the electrical equipment, b represents the weight of the maximum wave height of the power consumption waveform of the electrical equipment, and t represents the preset time length.
4. The method according to claim 2 or 3, characterized in that, When the power consumption type of the electrical equipment is fluctuating, determining the communication rules and bandwidth requirements based on the power consumption type includes: The communication rule is determined to be that the load information reported to the decision node is the actual value; The maximum value of the bandwidth requirement is determined to be a preset third threshold, wherein the third threshold is determined based on the maximum load information of the electrical equipment.
5. The method according to claim 1, characterized in that, After determining the communication rules and bandwidth requirements based on the power consumption type, the method further includes: Obtain the power consumption task information of the electrical equipment; The priority of the electrical equipment is determined based on the power consumption task information, wherein the priority is used to identify the importance of the electrical equipment; The communication rules are adjusted according to the priority to obtain the adjustment rules; Based on the priority, the bandwidth requirement is adjusted to obtain the adjustment requirement; The step of reporting load information to the decision node according to the communication rules under the bandwidth requirement includes: The load information is reported to the decision node according to the adjustment rules and the adjustment requirements.
6. The method according to claim 5, characterized in that, The priority satisfies the following formula: Where n represents the total number of electrical devices, p m c represents the priority of the m-th electrical device. m d represents the stage weight of the task execution stage of the m-th electrical device. m This indicates the importance of the power consumption task of the m-th electrical device, where i and m are integers greater than or equal to 1 and less than or equal to n.
7. A peak shaving and valley filling device, characterized in that, The device includes: The first determining module is used to determine the power consumption type of the electrical equipment, wherein the power consumption type is used to indicate the degree of fluctuation in the power consumption amplitude of the electrical equipment; The second determining module is used to determine communication rules and bandwidth requirements based on the power consumption type, wherein the bandwidth requirements are used to identify the available bandwidth range when communicating; The reporting module is used to report load information to the decision node according to the bandwidth requirements based on the communication rules, so that the decision node can perform peak shaving and valley filling processing on the electrical energy connected to the energy storage system based on the load information. Wherein, when the fluctuation level is less than or equal to the first threshold, the power consumption type of the electrical equipment is determined to be stable; When the power consumption type of the electrical equipment is stable, the second determining module, in determining the communication rules and bandwidth requirements based on the power consumption type, is specifically used for: When the load information does not change, the communication rule is determined to be that the load information reported to the decision node is 0, and the maximum value of the bandwidth requirement is determined to be a preset second threshold, wherein the second threshold is the maximum value of the bandwidth when transmitting a single bit. When the load information changes, the communication rule is determined to be that the load information reported to the decision node is 1, and the maximum value of the bandwidth requirement is determined to be the second threshold.
8. An electronic device, characterized in that, The method includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for performing the steps of the method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Energy storage strategy configuration method based on load demand orientation
CN112583032A
Resource allocation method and device based on deep reinforcement learning algorithm
CN115396955A