Method and related apparatus for generating control strategies
By detecting access signals in the energy management system, acquiring device information, identifying associated devices, and configuring target control strategies, the problem of excessive system load caused by an increase in devices is solved, and the accuracy of control strategies and energy efficiency are improved.
Patent Information
- Application Number
- CN202311786946.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-12-22
AI Technical Summary
In energy management systems, as the number of devices increases, the existing control strategies become less intelligent, leading to excessive system load and an inability to effectively optimize energy efficiency.
By detecting access signals, device information is obtained, the target associated device with the greatest correlation to the newly accessed device is identified, and its associated control strategy is obtained. The target control strategy is then configured to optimize device operation.
It reduces the computational burden on the energy management system and improves the accuracy of control strategies and energy efficiency.
Smart Images

Figure CN117762108B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy management technology, specifically to a method for generating control strategies and related apparatus. Background Technology
[0002] With the advancement of science and technology, energy, as an indispensable basic necessity for human society, has become a crucial issue concerning human survival and sustainable development. Currently, to help industrial production enterprises reduce energy consumption per unit of product and improve economic efficiency while expanding production, energy management systems (EMS) are commonly used for unified management. However, during building expansion or renovation, equipment upgrades or replacements, and the introduction of new equipment, the number of devices connected to the energy management system increases. Currently, there are two main methods for regulating and optimizing the energy management system when the number of devices increases. One is for relevant personnel to manually configure the control strategy for the newly connected device; the other is for the energy management system to uniformly re-plan all connected devices after the new device is connected. However, both methods suffer from problems such as weak intelligence and excessive load on the energy management system. Summary of the Invention
[0003] This application provides a method and related apparatus for generating control strategies, which can reduce the complexity of generating control strategies adapted to newly added access devices in the energy management system, thereby reducing the computational burden of the energy management system.
[0004] In a first aspect, embodiments of this application provide a method for generating a control strategy, applied to an energy management system in an energy system, the energy system including an energy management system and access devices, the method comprising:
[0005] The access signal is detected when the energy management system connects to the first device;
[0006] Obtain the equipment information of the first device. The equipment information is used to characterize the equipment type and equipment operating condition information of the device. The equipment type includes power generation equipment, energy storage equipment, and power consumption equipment. The equipment operating condition information is used to characterize the working environment and working status of the device.
[0007] Based on the device information of the first device, a target associated device with the greatest correlation to the first device is determined from a plurality of second devices. The second device is a device in the energy management system that stores the corresponding control strategy. The correlation refers to the similarity between the contents of the device information corresponding to different devices.
[0008] Obtain the associated control strategy corresponding to the target associated device;
[0009] Configure a target control strategy corresponding to the first device according to the associated control strategy. The target control strategy is a strategy used to adjust and control the working state of the first device at different working periods.
[0010] In an optional implementation of the first aspect, configuring the target control strategy corresponding to the first device according to the associated control strategy includes:
[0011] Configure the associated control strategy as the initial control strategy corresponding to the first device;
[0012] Obtain the operating status data of the first device running the initial control strategy;
[0013] The initial control strategy is updated based on the operating status data to obtain the target control strategy;
[0014] Update the configuration of the target control strategy for the first device.
[0015] In an optional implementation of the first aspect, acquiring the operating status data of the first device running the initial control strategy includes:
[0016] The access time of the first device and the peak and off-peak prediction periods are obtained, wherein the peak and off-peak prediction periods include at least one peak prediction period and at least one off-peak prediction period.
[0017] The at least one peak prediction period and the at least one low peak prediction period are sorted in chronological order to obtain N prediction periods;
[0018] Based on the access time, determine the target prediction period corresponding to the access time and the interval between the access time and the end time of the target prediction period, wherein the target prediction period is the Sth prediction period.
[0019] The comparison result is obtained by comparing the interval duration with the first preset duration;
[0020] If the comparison result is that the interval duration is greater than or equal to the first preset duration, then the first operation feedback data of the first device running in the target prediction period and the second operation feedback data of the first device running for a second preset duration in the S+1 prediction period are obtained, and the first operation feedback data and the second operation feedback data are the operation status data.
[0021] If the comparison result is that the interval duration is less than the first preset duration, then the second operation feedback data of the first device running for a second preset duration in the (S+1)th prediction period and the third operation feedback data of the first device running for a first preset duration in the (S+2)th prediction period are obtained, and the second operation feedback data and the third operation feedback data are the operation status data.
[0022] In an optional implementation of the first aspect, determining the target associated device with the greatest correlation to the first device from a plurality of second devices based on the device information of the first device includes:
[0023] Based on the device information of the first device, determine whether the first device is being connected for the first time;
[0024] If so, the target associated device is determined from multiple second devices based on the device information of the first device;
[0025] If not, the first device is identified as the target associated device, and the associated control strategy is the historical control strategy corresponding to the first device.
[0026] In an optional implementation of the first aspect, determining the target associated device from a plurality of second devices based on the device information of the first device includes:
[0027] Extract the equipment type and equipment operating condition information of the first device from the equipment information of the first device;
[0028] Based on the device type of the first device, select multiple pre-selected devices with the same device type as the first device from the plurality of second devices;
[0029] Based on the equipment operating status information of the first device, determine the target similarity between each of the plurality of pre-selected devices and the first device;
[0030] The second device with the highest similarity to the target is identified as the target-associated device.
[0031] In an optional implementation of the first aspect, obtaining the device information of the first device includes:
[0032] Obtain the target system data corresponding to the target time period;
[0033] Based on the target system data, determine the data association relationship between equipment type, equipment operating condition information, and system data impact value. The data association relationship refers to the correspondence between the equipment type, the equipment operating condition information, and the system data impact value.
[0034] Obtain the system data change information corresponding to the access signal;
[0035] Based on the system data change information, the data association relationship is queried to determine the device type corresponding to the first device and the device operating condition information corresponding to the first device. The device type corresponding to the first device and the device operating condition information corresponding to the first device constitute the device information of the first device.
[0036] In an alternative implementation of the first aspect, the method further includes:
[0037] A plurality of fourth devices are determined, and a first control strategy is defined for each of the fourth devices, wherein the fourth devices are devices that were running before the energy management system was connected to the first devices;
[0038] Perform the following operations for a single fourth device:
[0039] The first device is operated according to the target control strategy, and the fourth device is operated according to the first control strategy;
[0040] Obtain feedback data from the fourth device, wherein the feedback data is the feedback data generated by the operation of the fourth device after the energy management system operates the first device;
[0041] Based on the feedback data, the configuration of the first control strategy corresponding to the fourth device is updated to the second control strategy.
[0042] Secondly, embodiments of this application provide a control strategy generation device, applied to an energy management system in an energy system, wherein the energy system includes an energy management system and an access device, and the device includes:
[0043] The detection unit is used to detect the access signal, which is the signal detected when the energy management system connects to the first device;
[0044] The first acquisition unit is used to acquire the equipment information of the first device. The equipment information is used to characterize the equipment type and equipment operating condition information of the device. The equipment type includes power generation equipment, energy storage equipment, and electrical equipment. The equipment operating condition information is used to characterize the working environment and working status of the device.
[0045] The determining unit is configured to determine, based on the device information of the first device, a target associated device that has the greatest correlation with the first device from a plurality of second devices, wherein the second device is a device in the energy management system that stores a corresponding control strategy, and the correlation refers to the similarity between the contents of the device information corresponding to different devices.
[0046] The second acquisition unit is used to acquire the associated control strategy corresponding to the target associated device;
[0047] The configuration unit is configured to configure a target control strategy corresponding to the first device according to the associated control strategy, wherein the target control strategy is a strategy for adjusting and controlling the working state of the first device at different working periods.
[0048] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the first aspect of embodiments of this application.
[0049] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed on at least one processor, implements the method described in the first aspect or any of the optional solutions of the first aspect.
[0050] Fifthly, this application provides a computer program product comprising a computer program that, when run on at least one processor, implements the method described in the first aspect or any of the optional solutions of the first aspect.
[0051] As can be seen, in this application, the access signal is detected when the energy management system connects to the first device; the device information of the first device is obtained, which is used to characterize the device type and operating condition information of the device. The device type includes power generation equipment, energy storage equipment, and electrical equipment; the operating condition information characterizes the device's working environment and status. Based on the device information of the first device, a target associated device with the highest correlation to the first device is determined from multiple second devices. The second device is the device in the energy management system that stores the corresponding control strategy. The associated control strategy corresponding to the target associated device is obtained; and the target control strategy corresponding to the first device is configured according to the associated control strategy. This application configures the target control strategy corresponding to the first device based on the associated control strategy corresponding to the second device with the highest correlation to the newly connected first device. This allows for advance configuration of the control strategy time point for the first device, thereby ensuring the accuracy of the control strategy corresponding to the first device while improving the efficiency of energy use and reducing energy consumption. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is a schematic diagram of the architecture of an energy system provided in an embodiment of this application;
[0054] Figure 2 This is a component example diagram of an electronic device provided in an embodiment of this application;
[0055] Figure 3 This is a schematic diagram illustrating an application scenario of an energy storage system provided in an embodiment of this application;
[0056] Figure 4 This is a flowchart illustrating a method for generating a control strategy according to an embodiment of this application;
[0057] Figure 5 This is a flowchart illustrating a method for determining a target associated device according to an embodiment of this application;
[0058] Figure 6 This is a flowchart illustrating another method for generating control strategies provided in an embodiment of this application;
[0059] Figure 7 This is a flowchart illustrating a method for obtaining operational status data of an initial control strategy for a first device, as provided in an embodiment of this application.
[0060] Figure 8 This is a functional unit block diagram of a first regulation strategy generation device provided in an embodiment of this application;
[0061] Figure 9 This is a functional unit block diagram of a second control strategy generation device provided in an embodiment of this application. Detailed Implementation
[0062] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0063] The terms "first," "second," etc., 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.
[0064] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0065] Because the energy we need is highly time- and space-dependent, in order to utilize energy rationally and improve energy efficiency, it is necessary 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 based on future application needs. Currently, the main way to generate green electricity is to develop green energy sources such as photovoltaics and wind power to replace fossil fuels.
[0066] 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.
[0067] 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.
[0068] 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:
[0069] (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.
[0070] (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.
[0071] (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.
[0072] The embodiments of this application will now be described with reference to the accompanying drawings.
[0073] The technical solution of this application can be applied to, for example... Figure 1The energy system 100 shown includes an energy management system 101 and access devices, including a power generation device 102, an energy storage device 103, and an electrical consumption device 104. At least one of the power generation device 102, the energy storage device 103, and the electrical consumption device 104 is connected to the energy management system 101.
[0074] The energy management system 101 includes a control server for implementing any of the following methods. The main server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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, CDN, and big data and artificial intelligence platforms.
[0075] Specifically, the control server can take the form of, but is not limited to, energy management system controllers, energy management system control panels, and energy management system cloud platforms. The control server can be responsible for data acquisition, monitoring, processing, analysis, control, regulation, user interface visualization, energy dispatch optimization, and risk diagnosis and maintenance of the energy system.
[0076] The electronic device in this application can be structured as follows: Figure 2 As shown, the electronic device can be an energy management system 101 or any access device. The energy management system 101 or any access device can include a processor 210, a memory 220, a communication interface 230, and one or more programs 221. The one or more programs 221 are stored in the memory 220 and configured to be executed by the processor 210. The one or more programs 221 include instructions for performing any step in the above method embodiments.
[0077] The communication interface 230 is used to support communication between the energy management system 101 or any access device and other devices. The processor 210 may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, units, and circuits described in conjunction with the embodiments of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0078] The memory 220 can be volatile memory or non-volatile memory, or it can include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0079] In a specific implementation, the processor 210 is used to execute any step performed by the energy management system 101 or any access device in the following method embodiments, and when performing data transmission such as sending, it may selectively call the communication interface 230 to complete the corresponding operation.
[0080] It should be noted that the above schematic diagram of the electronic device is only an example, and the actual number of components included may be more or less, and no single limitation is made here.
[0081] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating an application scenario of an energy storage system provided in an embodiment of this application, and this application... Figure 3 The embodiments are illustrated using a home energy storage scenario in user-side energy storage as an example. The energy storage device in this application is not limited to the home energy storage scenario.
[0082] This application provides an energy storage system, which includes a power conversion device 302 (photovoltaic panel), a first user load 303 (streetlight), a second user load 304 (e.g., household appliances such as air conditioners), and an energy storage device 301. The energy storage device 301 is a small energy storage box that can be wall-mounted to an outdoor wall. The power conversion device 302 is the power generation equipment mentioned above, the energy storage device 301 is the energy storage equipment mentioned above, and the first user load 303 and second user load 304 are the electrical appliances mentioned above. Specifically, the photovoltaic panel can convert solar energy into electrical energy during periods of low electricity prices, and the energy storage device 301 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.
[0083] Please see Figure 4 , Figure 4 This is a flowchart illustrating a method for generating a control strategy according to an embodiment of this application. This method can be based on, for example... Figure 1 The energy management system 101 in the energy system shown is implemented, but it can also be implemented based on other architectures. The method includes, but is not limited to, the following steps:
[0084] Step S401: Detect the access signal.
[0085] The access signal is the signal detected by the energy management system when the first device is newly connected. The first device is the device newly connected to the energy management system; the newly connected first device can be... Figure 1 Any one of the electrical equipment, energy storage equipment, and power generation equipment shown.
[0086] In practice, when the first device connects, it sends an access signal to the energy management system via a communication link to inform the system that a new device has connected. At this point, the energy management system receiving the access signal from the first device constitutes a detection of the access signal.
[0087] Alternatively, in a specific implementation, when the communication link between the first device and the energy management system is not open, the energy management system can detect whether there are any new devices connected to the energy management system by analyzing abnormal changes in the operating data of the energy management system and its multiple connected devices in real time.
[0088] Step S402: Obtain the device information of the first device.
[0089] The equipment information is used to characterize the equipment type and equipment operating condition information corresponding to the equipment. The equipment type includes power generation equipment, energy storage equipment, and electrical equipment. The equipment type corresponding to the first equipment is any one of the power generation equipment, the energy storage equipment, and the electrical equipment. The equipment operating condition information is used to characterize the working environment and working status of the equipment.
[0090] Specifically, the operating environment includes temperature range, humidity level, pressure variation, and flow trend. Temperature range refers to the temperature range of the equipment itself and the temperature range of the surrounding environment. Humidity variation refers to the relative humidity of the air in the environment where the equipment is located. Pressure variation refers to the pressure changes inside and outside the equipment. Flow trend refers to the flow rate and velocity of the substance processed by the equipment. Operating status includes the equipment's operating mode (e.g., manual control, automatic control, remote control), the load on the equipment (e.g., electrical load, mechanical load), energy consumption (e.g., electricity, gas, water), and fault information (e.g., fault type, fault time, fault cause). The above equipment operating condition information can be obtained through sensors or monitoring instruments.
[0091] In a specific implementation, the information acquisition device of the first device can communicate with the first device to send the acquired device information to the first device, which then sends it to the energy management system, thereby reducing the processing load on the energy management system. Alternatively, the information acquisition device can communicate directly with the energy management system to directly feed data back to the energy management system, avoiding information loss due to a communication link failure between the first device and the energy management system. Or, the information acquisition device can communicate with both the first device and the energy management system simultaneously. When the energy management system detects a communication link failure with the first device, it can obtain the device information from the information acquisition device, ensuring information completeness. After obtaining the device information from the first device, the energy management system can store it in a database for subsequent querying and application.
[0092] In one possible example, obtaining the device information of the first device includes: obtaining target system data corresponding to a target time period; determining the data association relationship between device type, device operating condition information, and system data impact value based on the target system data, wherein the data association relationship refers to the correspondence between the device type, the device operating condition information, and the system data impact value; obtaining system data change information corresponding to the access signal; querying the data association relationship based on the system data change information to determine the device type corresponding to the first device and the device operating condition information corresponding to the first device, wherein the device type corresponding to the first device and the device operating condition information corresponding to the first device constitute the device information of the first device.
[0093] The target time period refers to a specific time period prior to the detection of an access signal. The specific time and duration of the target time period can be set by relevant personnel using terminal devices configured with the corresponding functions of the energy management system. To ensure a sufficiently large data volume, the time span of the target time period can be measured in months, quarters, years, etc. Multiple access devices may connect within different or the same time points within the target time period. Target system data refers to the system operation data of the energy management system during the target time period.
[0094] The system operation data includes device data corresponding to the access devices acquired from the device side (access devices or information acquisition devices) during operation, as well as system data detected by the energy management system itself. System data includes: energy consumption data (consumption of various energy sources such as electricity, gas, and water), energy supply data (supply status of various energy sources such as electricity, gas, and water, including information on suppliers, supply capacity, and supply stability), and system monitoring data (operational status of the energy management system itself, status of connected devices, etc.).
[0095] Among them, the system data change information is used to characterize the changes in system data before and after the access signal of the first device is detected.
[0096] In practice, the energy management system analyzes the changes in system operation data for each connected device before and after connection within a target time period. This analysis determines the patterns of system data changes when different device types, models, and specifications are connected, thus revealing the data correlation between device type, device operating condition information, and the impact value of system data. Then, it acquires the system data change information when the connection signal of the first device is detected, and uses this information to establish the data correlation relationship to obtain the device type and operating condition information of the first device.
[0097] Specifically, the process of determining the data association can occur before the access signal of the first device is detected, in order to improve the efficiency of obtaining the device information of the first device. Alternatively, the process of determining the data association can occur after the access signal of the first device is detected. In this case, the target time period can be set to a period of time before the event of detecting the access signal of the first device occurs, in order to improve the real-time performance of the target system data, thereby improving the accuracy of the determined device information of the first device.
[0098] As can be seen in this example, by substituting the system data change information corresponding to the access into the data correlation between the device type, device operating condition information, and system data impact value determined based on the system operation data corresponding to the target time period when the first device is connected, the device information of the first device can be determined. This allows for timely acquisition of the first device's device information when its communication connection with the energy management system is abnormal, resulting in the loss of the first device's device information after access, thereby improving the efficiency of generating the target control strategy configured for the first device.
[0099] Step S403: Based on the device information of the first device, determine the target associated device that has the greatest correlation with the first device from among multiple second devices.
[0100] The second device is the device in the energy management system that stores the control strategy, and the correlation refers to the similarity between the contents of the device information corresponding to different devices.
[0101] In one possible example, determining the target associated device with the greatest correlation to the first device from multiple second devices based on the device information of the first device includes: determining whether the first device is accessing for the first time based on the device information of the first device; if so, determining the target associated device from multiple second devices based on the device information of the first device; if not, determining the first device as the target associated device, and the association control strategy is the historical control strategy corresponding to the first device.
[0102] Specifically, when the communication link between the first device and the energy management system is established, the device information of the first device obtained by the energy management system from the first device may also include the device identification code, network information, and other content of the first device.
[0103] In practice, when the energy management system determines the target associated device with the greatest correlation to the first device, it can first obtain the device identification code of the first device from the device information of the first device, and then query the database according to the device identification code to confirm whether there is a device with the same device identification code as the first device among the historical access devices in the energy management system (which also stores historical access devices with control strategies). If it exists, it indicates that the first device is not accessing for the first time, and the historical access device with the same device identification code can be directly identified as the target associated device. If it does not exist, the target associated device is then determined from multiple second devices according to the device type and device operating condition information in the device information of the first device.
[0104] As can be seen in this example, by first determining whether the first device is accessing for the first time based on its device information, the target associated device with the greatest correlation to the first device can be quickly and accurately identified for the first device that has accessed multiple times, thereby improving the configuration efficiency of the target control strategy for the first device.
[0105] See Figure 5 In one possible example, determining the target associated device from a plurality of second devices based on the device information of the first device includes:
[0106] Step S501: Extract the equipment type and equipment operating condition information of the first device from the equipment information of the first device.
[0107] The equipment information of the first device refers to the equipment information corresponding to the first device newly connected to the energy management system. The equipment type and equipment operating condition information of the first device can be obtained in the manner described above, and will not be further elaborated here.
[0108] Step S502: Based on the device type of the first device, select a plurality of pre-selected devices from the plurality of second devices that have the same device type as the first device.
[0109] In practical implementation, the energy management device can retrieve the device type from the database corresponding to each second device's device information, and then compare it with the device type of the first device to identify the second devices with the same device type as the first device as pre-selected devices. Alternatively, in practical implementation, when performing data storage management, the energy management device can store the information corresponding to second devices of the same device type in the same location. This way, when filtering pre-selected devices, devices in the set of devices with the same device type as the first device are identified as pre-selected devices, thereby improving the orderliness of management and the efficiency of pre-selected device identification.
[0110] Step S503: Based on the equipment operating information of the first device, determine the target similarity between each of the plurality of pre-selected devices and the first device.
[0111] Specifically, the equipment condition information center includes multiple features. The features used to determine the similarity of the target can be some or all of the features in the equipment condition information, without further restrictions.
[0112] In practical implementation, when determining the target similarity for a single pre-selected device, the similarity of each feature corresponding to the working environment in the device's operating condition information can be calculated first. Then, based on the first weight ratio of each feature corresponding to the working environment, the first similarity corresponding to the working environment can be calculated. Similarly, the second similarity can be calculated based on the similarity of each feature corresponding to the working state in the operating condition information, and then based on the second weight ratio of each feature corresponding to the working state. Finally, the target similarity is calculated based on the third weight ratio of the working environment and the working state.
[0113] For example, in the equipment operating condition information corresponding to the pre-selected equipment, if the similarity of temperature range is 90%, humidity level is 85%, pressure change is 85%, and flow trend is 82%, and the first weight ratio is 2:1:3:4, then the first similarity corresponding to the working environment can be determined to be 84.8%. If the similarity of equipment operating mode is 94%, the similarity of equipment load is 97%, the similarity of equipment energy consumption is 93%, and the similarity of equipment fault information is 35%, and the second weight ratio is 3:4:2.5:0.5, then the second similarity corresponding to the working state can be determined to be 92%. Further, the target similarity of the pre-selected equipment can be determined to be 92.286% based on the first similarity, the second similarity, and the third weight ratio (e.g., the third weight ratio is 2:5).
[0114] Furthermore, in this embodiment of the application, a weight deviation value is set. The significance of setting the first weight ratio is to accurately measure the importance of each working environment feature data. The significance of setting the second weight ratio is to accurately measure the importance of each working state feature data. The significance of setting the third weight ratio is to accurately measure the importance of the working environment and working state. Therefore, the first weight ratio, the second weight ratio, and the third weight ratio are set for the feature data respectively.
[0115] Step S504: The pre-selected device with the highest target similarity is determined as the target associated device.
[0116] Specifically, the target similarity scores of multiple pre-selected devices can be sorted in descending order, and the pre-selected device corresponding to the highest target similarity score can be identified as the target-associated device.
[0117] As can be seen, in this example, filtering multiple pre-selected devices based on the device type of the first device enables initial screening of multiple second devices. This prevents significant deviations between the final target control strategy configured for the first device and the actual content to be controlled by the first device, thus improving the targeting and accuracy of the strategy configuration for the first device. Furthermore, this example further filters out the device with the highest similarity to the first device's operating condition information as the target associated device, further enhancing the accuracy of the strategy configuration for the first device and ensuring that the target control strategy configured for the first device better matches its actual operating conditions.
[0118] Step S404: Obtain the associated control strategy corresponding to the target associated device.
[0119] Specifically, energy management equipment can directly query the database to obtain the associated control strategies for the target associated equipment. These associated control strategies can be the latest control strategies for the target associated equipment to ensure the real-time nature of the data.
[0120] Step S405: Configure the target control strategy corresponding to the first device according to the associated control strategy.
[0121] The target control strategy is a strategy used to regulate and control the operating state of the first device during different working periods. Different working periods can refer to peak and off-peak periods corresponding to the performance of the device type. For example, when the first device is an electrical appliance, different working periods can refer to peak electricity consumption periods (times with more electrical appliances) and off-peak electricity consumption periods. When the first device is a power generation device, different working periods can refer to peak power generation periods (such as during periods of abundant sunlight in solar power generation) and off-peak power generation periods. When the first device is an energy storage device, different working periods can refer to peak energy storage periods (i.e., times when a large amount of energy needs to be stored) and off-peak energy storage periods. These peak and off-peak periods can be predicted based on historical data and will not be further described here.
[0122] See Figure 6 In one possible example, configuring the target control strategy corresponding to the first device according to the associated control strategy includes:
[0123] Step S601: Configure the associated control strategy as the initial control strategy corresponding to the first device.
[0124] Specifically, after identifying the target associated device with the greatest correlation to the first device, the associated control strategy corresponding to the target associated device can be configured as the initial control strategy of the first device, so that the energy control system can quickly configure the strategy for the first device, thereby adjusting and controlling the operation of the first device according to the initial control strategy and optimizing the operation mode of the first device.
[0125] Step S602: Obtain the operating status data of the first device running the initial control strategy.
[0126] The operational status data refers to the equipment condition information of the first device during the process of the first device being regulated and operated based on the initial control strategy. The specific content of the equipment condition information can be found in the above description and will not be further elaborated here.
[0127] See Figure 7 In one possible example, obtaining the operational status data of the first device running the initial control strategy includes:
[0128] Step S701: Obtain the access time and peak / off-peak prediction periods of the first device.
[0129] The access time is the system time at which the energy management system detects the access signal. The peak and off-peak prediction period refers to the peak and off-peak prediction period corresponding to the performance of the device type of the first device. The peak and off-peak prediction period includes at least one peak prediction period and at least one off-peak prediction period.
[0130] In one alternative implementation, pre-defined algorithms, such as the ARIMA model or exponential smoothing, can be used to process and predict the operational status data of different device types over a historical period. These models or methods can identify patterns in the operational status data of different device types over different time periods, thereby predicting peak and off-peak periods for different device types within a target timeframe (e.g., a day, a month, a quarter, etc.).
[0131] When obtaining peak and off-peak prediction periods, the corresponding peak and off-peak prediction periods can be matched according to the device type of the first device.
[0132] Step S702: Sort the at least one peak prediction period and the at least one low peak prediction period in chronological order to obtain N prediction periods.
[0133] Specifically, based on the above method, at least one peak prediction period and at least one low prediction period for at least one device type of the first device can be predicted. Multiple time periods can be sorted according to the chronological order of each period to obtain a prediction period sequence, which includes N prediction periods. For example, the (N-1)th to (N+1)th time periods can be: peak prediction period, low prediction period, and peak prediction period.
[0134] Specifically, the sorting process can be completed before or after the first device is connected; there is no restriction on this.
[0135] Step S703: Based on the access time, determine the target prediction period corresponding to the access time and the interval between the access time and the end time of the target prediction period, wherein the target prediction period is the Sth prediction period.
[0136] Specifically, the energy management system can query the position of the access time in the predicted time period sequence, and then determine the target predicted time period to which the access time belongs based on that position. The energy management system can also obtain the end time of the target predicted time period, thereby calculating the time interval between the access time and the end time of the target predicted time period.
[0137] For example, if the predicted time period sequence is in days, the predicted time period sequence includes five predicted time periods: 00:00–08:00, 08:00–12:00, 12:00–18:00, 18:00–22:00, and 22:00–00:00. If the access time of the first device is 15:00, then the access time belongs to the predicted time period of 12:00–18:00, and the time interval is three hours.
[0138] Step S704: Compare the interval duration with the first preset duration to obtain the comparison result.
[0139] The first preset duration can be any length of time, and it represents the shortest possible time to collect operational feedback data from the first device within the target prediction period. To ensure data integrity and accuracy, the first preset duration is set to be greater than one hour.
[0140] Step S705: If the comparison result is that the interval duration is greater than or equal to the first preset duration, then obtain the first operation feedback data of the first device running in the target prediction period and the second operation feedback data of the first device running for a second preset duration in the S+1 prediction period, wherein the first operation feedback data and the second operation feedback data are the operation status data.
[0141] The second preset duration can be any length of time, and it represents the shortest duration for collecting operational feedback data from the first device within the next prediction period adjacent to the target prediction period. The second preset duration can be the same as or different from the first preset duration, and no further restrictions are imposed here.
[0142] Specifically, if the interval length is greater than or equal to the first preset duration, it indicates that sufficient operational feedback data can be collected within the target prediction period. In this case, the operational feedback data collected by the first device during the remaining time of the target prediction period can be marked as first feedback data, and the operational feedback data collected by the first device during the second preset duration of the next adjacent prediction period can be marked as second operational feedback data. It can be understood that two adjacent prediction periods are respectively a peak prediction period and a low-peak prediction period (the order is not fixed). By collecting the first operational feedback data corresponding to the target prediction period and the second operational feedback data corresponding to the next adjacent prediction period, operational feedback data corresponding to prediction periods of different natures can be obtained.
[0143] Step S706: If the comparison result is that the interval duration is less than the first preset duration, then obtain the second operation feedback data of the first device running for a second preset duration in the (S+1)th prediction period and the third operation feedback data of the first device running for a first preset duration in the (S+2)th prediction period, wherein the second operation feedback data and the third operation feedback data are the operation status data.
[0144] Specifically, if the interval is shorter than the first preset time period, it indicates that insufficient operational feedback data cannot be collected within the target prediction time period. Since two adjacent prediction time periods are respectively a peak prediction period and a low-peak prediction period (the order is not fixed), the operational feedback data collected by the first device within the second preset time period of the next prediction time period adjacent to the target prediction time period (i.e., the S+1th prediction time period) can be marked as the second operational feedback data, and the operational feedback data collected by the first device within the first preset time period of the second prediction time period after the target prediction time period (i.e., the S+2th prediction time period) can be marked as the third feedback data. Since the S+1th and S+2th prediction time periods are also two adjacent prediction time periods, the second and third operational feedback data are operational feedback data corresponding to prediction time periods of different natures.
[0145] As can be seen, in this example, by collecting first and second operational feedback data, or second and third operational feedback data, from adjacent time periods after the first device is connected, not only can the timeliness of subsequent updates to the initial control strategy be guaranteed, but also the control strategies can be specifically updated and configured for peak and off-peak prediction periods when updating the initial control strategy, thereby ensuring the accuracy of the obtained target control strategy.
[0146] Step S603: Update the initial control strategy based on the operating status data to obtain the target control strategy.
[0147] Specifically, in this example, a preset algorithm, such as the ARIMA model or exponential smoothing, can be used to process and predict the target control strategy corresponding to the first device. These models or methods can identify control strategies based on different operating state data, thereby predicting the target control strategy of the first device based on the operating state data of the first device running its initial control strategy.
[0148] Step S604: Update the configuration of the target control strategy for the first device.
[0149] As can be seen in this example, after configuring the associated control strategy corresponding to the target associated device as the initial control strategy of the first device, the initial control strategy can be further updated to the target control strategy based on the operating status information of the first device as needed. The first device can then be re-controlled according to the target control strategy, thereby further optimizing the control strategy of the first device and improving the effectiveness of optimizing energy use efficiency and reducing energy consumption. Furthermore, compared to directly configuring the target control strategy based on operating status data, configuring the associated control strategy corresponding to the most correlated access device as the initial control strategy of the first device allows for earlier configuration of the control strategy for the first device, thus improving the effectiveness of optimizing energy use efficiency and reducing energy consumption while ensuring relative accuracy.
[0150] As can be seen, in this application, the access signal is detected when the energy management system connects to the first device; the device information of the first device is obtained, which is used to characterize the device type and operating condition information of the device. The device type includes power generation equipment, energy storage equipment, and electrical equipment; the operating condition information characterizes the device's working environment and status. Based on the device information of the first device, a target associated device with the highest correlation to the first device is determined from multiple second devices. The second device is the device in the energy management system that stores the corresponding control strategy. The associated control strategy corresponding to the target associated device is obtained; and the target control strategy corresponding to the first device is configured according to the associated control strategy. This application configures the target control strategy corresponding to the first device based on the associated control strategy corresponding to the second device with the highest correlation to the newly connected first device. This allows for advance configuration of the control strategy time point for the first device, thereby ensuring the accuracy of the control strategy corresponding to the first device while improving the efficiency of energy use and reducing energy consumption.
[0151] In one possible example, the method further includes: determining a plurality of fourth devices and a first control strategy corresponding to each fourth device, wherein the fourth device is a device that was running before the energy management system connected to the first device; performing the following operations for a single fourth device: running the first device according to the target control strategy, and running the fourth device according to the first control strategy; obtaining feedback data of the fourth device, wherein the feedback data is feedback data generated by the fourth device running after the energy management system runs the first device; and updating the configuration of the first control strategy corresponding to the fourth device to a second control strategy according to the feedback data.
[0152] The fourth device refers to all devices connected to the energy management system after the first device is connected, excluding the first device. The first control strategy refers to the control strategy configured by the energy management system for the fourth device before configuring the target control strategy for the first device. Feedback data refers to the device operating status information obtained by the fourth device after the first device operates based on the target control strategy and the fourth device operates according to the first control strategy.
[0153] Specifically, after the energy management equipment controls the operation of the first device according to the target control strategy, it can acquire feedback data on the operation of the fourth device based on the first control strategy. Then, it updates the first control strategy based on the feedback data to obtain the second control strategy, and then controls the operation of the fourth device according to the second control strategy. The method of updating the first control strategy based on the feedback data can refer to the method of updating the initial control strategy described above, and will not be elaborated further here.
[0154] Furthermore, if the first access device is a temporary access device, for example, a device that is temporarily connected to the energy management system based on a paid service restriction, then the first device will be removed from the energy management system after its paid service period is over. In this case, when updating the first control strategy based on feedback data, a third control strategy for the fourth device after the removal of the first device can also be predicted based on the feedback data. This allows the third control strategy to be directly configured for the fourth device after the removal of the first device, enabling the fourth device to quickly adapt to changes in the energy management device access environment.
[0155] As can be seen in this example, by updating the control strategies of each other device (the fourth device) connected to the energy management system after the first device is connected, the control strategies of each connected device can be further optimized, thereby improving energy efficiency and reducing energy consumption.
[0156] This application can divide the energy management system into functional units based on the above method examples. For example, each function can be divided into its own functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0157] Figure 8 This is a functional unit block diagram of a first regulation strategy generation device provided in an embodiment of this application. The first regulation strategy generation device 80 can be applied to, for example... Figure 1 The first control strategy generation device 80 on the energy management system 101 in the energy system shown includes:
[0158] The detection unit 810 is used to detect the access signal, which is the signal detected when the energy management system connects to the first device;
[0159] The first acquisition unit 820 is used to acquire the equipment information of the first device. The equipment information is used to characterize the equipment type and equipment operating condition information of the device. The equipment type includes power generation equipment, energy storage equipment, and electrical equipment. The equipment operating condition information is used to characterize the working environment and working status of the device.
[0160] The determining unit 830 is used to determine, from a plurality of second devices, the target associated device that has the greatest correlation with the first device based on the device information of the first device. The second device is a device in the energy management system that stores a corresponding control strategy. The correlation refers to the similarity between the contents of the device information corresponding to different devices.
[0161] The second acquisition unit 840 is used to acquire the associated control strategy corresponding to the target associated device;
[0162] The configuration unit 850 is configured to configure a target control strategy corresponding to the first device according to the associated control strategy, wherein the target control strategy is a strategy for adjusting and controlling the working state of the first device at different working periods.
[0163] In one possible example, regarding configuring the target control strategy corresponding to the first device according to the associated control strategy, the configuration unit is used for:
[0164] Configure the associated control strategy as the initial control strategy corresponding to the first device;
[0165] Obtain the operating status data of the first device running the initial control strategy;
[0166] The initial control strategy is updated based on the operating status data to obtain the target control strategy;
[0167] Update the configuration of the target control strategy for the first device.
[0168] In one possible example, regarding the acquisition of operational status data of the first device running the initial control strategy, the configuration unit is used to:
[0169] The access time of the first device and the peak and off-peak prediction periods are obtained, wherein the peak and off-peak prediction periods include at least one peak prediction period and at least one off-peak prediction period.
[0170] The at least one peak prediction period and the at least one low peak prediction period are sorted in chronological order to obtain N prediction periods;
[0171] Based on the access time, determine the target prediction period corresponding to the access time and the interval between the access time and the end time of the target prediction period, wherein the target prediction period is the Sth prediction period.
[0172] The comparison result is obtained by comparing the interval duration with the first preset duration;
[0173] If the comparison result is that the interval duration is greater than or equal to the first preset duration, then the first operation feedback data of the first device running in the target prediction period and the second operation feedback data of the first device running for a second preset duration in the S+1 prediction period are obtained, and the first operation feedback data and the second operation feedback data are the operation status data.
[0174] If the comparison result is that the interval duration is less than the first preset duration, then the second operation feedback data of the first device running for a second preset duration in the (S+1)th prediction period and the third operation feedback data of the first device running for a first preset duration in the (S+2)th prediction period are obtained, and the second operation feedback data and the third operation feedback data are the operation status data.
[0175] In one possible example, regarding the determination of the target associated device most closely related to the first device from among a plurality of second devices based on the device information of the first device, the determining unit is configured to:
[0176] Based on the device information of the first device, determine whether the first device is being connected for the first time;
[0177] If so, the target associated device is determined from multiple second devices based on the device information of the first device;
[0178] If not, the first device is identified as the target associated device, and the associated control strategy is the historical control strategy corresponding to the first device.
[0179] In one possible example, regarding the determination of the target associated device from a plurality of second devices based on the device information of the first device, the determining unit is configured to:
[0180] Extract the equipment type and equipment operating condition information of the first device from the equipment information of the first device;
[0181] Based on the device type of the first device, select multiple pre-selected devices with the same device type as the first device from the plurality of second devices;
[0182] Based on the equipment operating status information of the first device, determine the target similarity between each of the plurality of pre-selected devices and the first device;
[0183] The second device with the highest similarity to the target is identified as the target-associated device.
[0184] In one possible example, regarding the acquisition of device information of the first device, the first acquisition unit is used to:
[0185] Obtain the target system data corresponding to the target time period;
[0186] Based on the target system data, determine the data association relationship between equipment type, equipment operating condition information, and system data impact value. The data association relationship refers to the correspondence between the equipment type, the equipment operating condition information, and the system data impact value.
[0187] Obtain the system data change information corresponding to the access signal;
[0188] Based on the system data change information, the data association relationship is queried to determine the device type corresponding to the first device and the device operating condition information corresponding to the first device. The device type corresponding to the first device and the device operating condition information corresponding to the first device constitute the device information of the first device.
[0189] In one possible example, the control strategy production device further includes an update unit, which is used for:
[0190] A plurality of fourth devices are determined, and a first control strategy is defined for each of the fourth devices, wherein the fourth devices are devices that were running before the energy management system was connected to the first devices;
[0191] Perform the following operations for a single fourth device:
[0192] The first device is operated according to the target control strategy, and the fourth device is operated according to the first control strategy;
[0193] Obtain feedback data from the fourth device, wherein the feedback data is the feedback data generated by the operation of the fourth device after the energy management system operates the first device;
[0194] Based on the feedback data, the configuration of the first control strategy corresponding to the fourth device is updated to the second control strategy.
[0195] When using integrated units, the functional unit composition block diagram of the second control strategy generation device provided in this application embodiment is as follows: Figure 9 As shown. In Figure 9In this document, the second control strategy generation device 90 includes a processing module 920 and a communication module 910. The processing module 920 controls and manages the actions of the first control strategy generation device, for example, the steps executed by the detection unit 810, the first acquisition unit 820, the determination unit 830, the second acquisition unit 840, and the configuration unit 850, and / or other processes for executing the techniques described herein. The communication module 910 supports interaction between the second control strategy generation device 90 and other devices. Figure 9 As shown, the second control strategy generation device 90 may further include a storage module 930, which is used to store the program code and data of the second control strategy generation device 90.
[0196] The processing module 920 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 910 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 930 can be a memory.
[0197] All relevant content in each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. Both the first and second control strategy generation devices described above can execute the above... Figures 4 to 7 The steps performed by the energy management system in the regulation strategy generation method shown are illustrated.
[0198] This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes a server.
[0199] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all 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 according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0200] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0201] 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 the units described above 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.
[0202] The units described above 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 according to actual needs.
[0203] 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 functional unit.
[0204] If the integrated units described above are implemented as software functional units and sold or used as independent products, they 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.
[0205] 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 medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0206] 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 description of the above 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 generating a control strategy, characterized in that, An energy management system applied in an energy system, the energy system including the energy management system and access devices, the method comprising: The access signal is detected when the energy management system connects to the first device; Obtain the equipment information of the first device. The equipment information is used to characterize the equipment type and equipment operating condition information of the device. The equipment type includes power generation equipment, energy storage equipment, and power consumption equipment. The equipment operating condition information is used to characterize the working environment and working status of the device. Based on the device information of the first device, a target associated device with the highest correlation to the first device is determined from a plurality of second devices. The second devices are those in the energy management system that store corresponding control strategies. The correlation refers to the similarity between the content of the device information corresponding to different devices, including: Based on the device information of the first device, determine whether the first device is being connected for the first time; If so, the target associated device is determined from multiple second devices based on the device information of the first device; If not, the first device is identified as the target associated device, and the associated control strategy is the historical control strategy corresponding to the first device. Obtain the associated control strategy corresponding to the target associated device; Configure a target control strategy corresponding to the first device according to the associated control strategy. The target control strategy is a strategy for adjusting and controlling the working state of the first device at different working periods. The step of configuring the target control strategy corresponding to the first device according to the associated control strategy includes: Configure the associated control strategy as the initial control strategy corresponding to the first device; Acquire the operating status data of the first device running the initial control strategy; including: The access time of the first device and the peak and off-peak prediction periods are obtained, wherein the peak and off-peak prediction periods include at least one peak prediction period and at least one off-peak prediction period. The at least one peak prediction period and the at least one low peak prediction period are sorted in chronological order to obtain N prediction periods; Based on the access time, determine the target prediction period corresponding to the access time and the interval between the access time and the end time of the target prediction period, wherein the target prediction period is the Sth prediction period. The comparison result is obtained by comparing the interval duration with the first preset duration; If the comparison result is that the interval duration is greater than or equal to the first preset duration, then the first operation feedback data of the first device running in the target prediction period and the second operation feedback data of the first device running for a second preset duration in the S+1 prediction period are obtained, and the first operation feedback data and the second operation feedback data are the operation status data. If the comparison result is that the interval duration is less than the first preset duration, then the second operation feedback data of the first device running for a second preset duration in the S+1 prediction period and the third operation feedback data of the first device running for a first preset duration in the S+2 prediction period are obtained, and the second operation feedback data and the third operation feedback data are the operation status data. The initial control strategy is updated based on the operating status data to obtain the target control strategy; Update the configuration of the target control strategy for the first device.
2. The method of claim 1, wherein, The step of determining the target associated device from a plurality of second devices based on the device information of the first device includes: Extract the equipment type and equipment operating condition information of the first device from the equipment information of the first device; Based on the device type of the first device, select multiple pre-selected devices with the same device type as the first device from the plurality of second devices; Based on the equipment operating status information of the first device, determine the target similarity between each of the plurality of pre-selected devices and the first device; The second device with the highest similarity to the target is identified as the target-associated device.
3. The method of claim 1, wherein, The step of obtaining the device information of the first device includes: Obtain the target system data corresponding to the target time period; Based on the target system data, determine the data association relationship between equipment type, equipment operating condition information, and system data impact value. The data association relationship refers to the correspondence between the equipment type, the equipment operating condition information, and the system data impact value. Obtain the system data change information corresponding to the access signal; Based on the system data change information, the data association relationship is queried to determine the device type corresponding to the first device and the device operating condition information corresponding to the first device. The device type corresponding to the first device and the device operating condition information corresponding to the first device constitute the device information of the first device.
4. The method as described in claim 1, characterized in that, The method further includes: A plurality of fourth devices are determined, and a first control strategy is defined for each of the fourth devices, wherein the fourth devices are devices that were running before the energy management system was connected to the first devices; Perform the following operations for a single fourth device: The first device is operated according to the target control strategy, and the fourth device is operated according to the first control strategy; Obtain feedback data from the fourth device, wherein the feedback data is the feedback data generated by the operation of the fourth device after the energy management system operates the first device; Based on the feedback data, the configuration of the first control strategy corresponding to the fourth device is updated to the second control strategy.
5. A control strategy generation device, characterized in that, An energy management system applied in an energy system, the energy system including an energy management system and access equipment, the device comprising: The detection unit is used to detect the access signal, which is the signal detected when the energy management system connects to the first device; The first acquisition unit is used to acquire the equipment information of the first device. The equipment information is used to characterize the equipment type and equipment operating condition information of the device. The equipment type includes power generation equipment, energy storage equipment, and electrical equipment. The equipment operating condition information is used to characterize the working environment and working status of the device. The determining unit is configured to determine, based on the device information of the first device, a target associated device with the highest correlation to the first device from a plurality of second devices, wherein the second devices are devices in the energy management system that store corresponding control strategies, and the correlation refers to the similarity between the content of the device information corresponding to different devices, including: Based on the device information of the first device, determine whether the first device is being connected for the first time; If so, the target associated device is determined from multiple second devices based on the device information of the first device; If not, the first device is identified as the target associated device, and the associated control strategy is the historical control strategy corresponding to the first device. The second acquisition unit is used to acquire the associated control strategy corresponding to the target associated device; A configuration unit is configured to configure a target control strategy corresponding to the first device according to the associated control strategy, wherein the target control strategy is a strategy for adjusting and controlling the working state of the first device at different working periods; The step of configuring the target control strategy corresponding to the first device according to the associated control strategy includes: Configure the associated control strategy as the initial control strategy corresponding to the first device; Acquire the operating status data of the first device running the initial control strategy; including: The access time of the first device and the peak and off-peak prediction periods are obtained, wherein the peak and off-peak prediction periods include at least one peak prediction period and at least one off-peak prediction period. The at least one peak prediction period and the at least one low peak prediction period are sorted in chronological order to obtain N prediction periods; Based on the access time, determine the target prediction period corresponding to the access time and the interval between the access time and the end time of the target prediction period, wherein the target prediction period is the Sth prediction period. The comparison result is obtained by comparing the interval duration with the first preset duration; If the comparison result is that the interval duration is greater than or equal to the first preset duration, then the first operation feedback data of the first device running in the target prediction period and the second operation feedback data of the first device running for a second preset duration in the S+1 prediction period are obtained, and the first operation feedback data and the second operation feedback data are the operation status data. If the comparison result is that the interval duration is less than the first preset duration, then the second operation feedback data of the first device running for a second preset duration in the S+1 prediction period and the third operation feedback data of the first device running for a first preset duration in the S+2 prediction period are obtained, and the second operation feedback data and the third operation feedback data are the operation status data. The initial control strategy is updated based on the operating status data to obtain the target control strategy; Update the configuration of the target control strategy for the first device.
6. An electronic device, characterized in that, The method includes a processor, a memory, a communication interface, and one or more programs, said one or more programs being stored in the memory and configured to be executed by the processor, said programs including instructions for performing the steps of the method as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, A computer program for storing electronic data interchange is provided, wherein the computer program causes a computer to perform the steps of the method as described in any one of claims 1-4.
Citation Information
Patent Citations
Device configuration parameter determination
US11240104B1
