Intelligent power distribution method and device, equipment and storage medium
By obtaining the maximum output power and real-time requirements of the power consumption equipment, combining priority and user instructions, intelligently adjusting the power distribution of the home energy storage system, the instability problem of multi-equipment power management in the existing technology is solved and more reasonable Energy utilization and equipment stability.
Patent Information
- Application Number
- CN202411308678.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-13
AI Technical Summary
The existing home energy storage systems lack intelligent automatic identification and adjustment mechanisms when managing power of multi-equipment, resulting in the inability to effectively allocate power according to real-time needs, resulting in waste of energy and unstable equipment operation.
By obtaining the maximum output power of all power-using equipment, real-time power supply requirements and real-time available power of the home energy storage system, determine the allocated power of each device, and adjust the allocated power of the target device according to priority and user instructions to achieve intelligent power distribute.
It realizes reasonable power allocation, improves resource utilization efficiency, ensures the stable operation of power equipment, and avoids energy waste.
Smart Images

Figure CN119134325A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power, and in particular to a method, device, equipment and storage medium for intelligent power distribution. Background Art
[0002] Nowadays, in some areas, multiple devices are powered by home energy storage systems. When allocating power, the allocation ratio is usually set based on manual experience, or the home energy storage system automatically determines the allocation order based on the order of access. Therefore, when facing the power management of multiple devices, the existing home energy storage system lacks an intelligent automatic identification and adjustment mechanism, resulting in the system being unable to effectively allocate power according to real-time needs, which in turn causes energy waste or unstable equipment operation. Summary of the invention
[0003] The embodiments of the present application provide a method, device, equipment and storage medium for intelligent power allocation to solve at least one problem existing in the related art. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a method for intelligent power allocation, including:
[0005] Obtain the maximum output power of all electrical devices, real-time power supply demand, and real-time available power of home energy storage systems;
[0006] Determine the allocated power of each of the electrical devices according to each of the maximum output powers and the real-time available power;
[0007] When the real-time power demand is greater than the real-time available power, determining the priority of the power-consuming device, determining the target power-consuming device according to the priority, or prompting the user and responding to the user's selection instruction to determine the target power-consuming device;
[0008] The allocated power of the target electrical device is reduced.
[0009] In one embodiment, determining the allocated power of each of the electrical devices according to each of the maximum output powers and the real-time available power includes:
[0010] Calculating the sum of the maximum output powers according to each of the maximum output powers;
[0011] respectively determining a power ratio of each of the maximum output powers to the sum of the maximum output powers;
[0012] The allocated power of each of the electrical devices is determined according to the product of the power ratio and the real-time available power.
[0013] In one implementation, determining the priority of the electric device and determining the target electric device according to the priority includes:
[0014] Find the priority of each of the electric users from the preset list, and use the electric user with the lowest priority as the target electric user, or use all the electric users except the electric user with the highest priority as the target electric users;
[0015] or,
[0016] The user is prompted and, in response to a setting instruction from the user, a priority level of each of the electric devices is set, and the electric device with the lowest priority level is used as a target electric device.
[0017] In one implementation, reducing the allocated power of the target electrical equipment includes:
[0018] When the number of the target electrical equipment is one, reducing the allocated power of the target electrical equipment;
[0019] When there are multiple target power-consuming devices, the allocated power of all target power-consuming devices is reduced by a preset value or at least one target power-consuming device is turned off.
[0020] In one embodiment, the method further comprises:
[0021] When the number of the target power-consuming devices is one and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and according to the new target power-consuming device, the step of reducing the allocated power of the target power-consuming device is returned to until the real-time power demand is less than or equal to the real-time available power;
[0022] When there are multiple target power-consuming devices and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, the current allocated power is used as the new allocated power, and the step of reducing the allocated power of all target power-consuming devices by the preset value is returned until the real-time power demand is less than or equal to the real-time available power, or until the allocated power of all target power-consuming devices is 0. If the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and according to the new target power-consuming device, the step of reducing the allocated power of all target power-consuming devices by the preset value or shutting down at least one target power-consuming device is returned until the real-time power demand is less than or equal to the real-time available power.
[0023] In one implementation, reducing the allocated power of the target electrical equipment includes:
[0024] Determining a power difference between the real-time power demand and the real-time available power;
[0025] When the target power-consuming devices are all power-consuming devices except the power-consuming device with the highest priority, determining the actual number of the target power-consuming devices;
[0026] Calculating a ratio of the power difference to the actual number to determine a power mean;
[0027] The allocated power of each of the target electrical equipment is reduced by the power average value.
[0028] In one embodiment, the method further comprises:
[0029] Real-time detection of the equipment status of each of the electrical equipment;
[0030] When the device status is abnormal, the electrical device with abnormal device status is isolated, and the maximum output power of all normal electrical devices is reacquired, and based on the reacquired maximum output power of all normal electrical devices, the step of determining the allocated power of each electrical device based on each maximum output power and the real-time available power is returned.
[0031] In a second aspect, an embodiment of the present application provides a power intelligent distribution device, including:
[0032] An acquisition module is used to obtain the maximum output power of all electrical devices, real-time power supply requirements, and real-time available power of the home energy storage system;
[0033] A first determining module, configured to determine the allocated power of each of the electrical devices according to each of the maximum output powers and the real-time available power;
[0034] A second determination module is used to determine the priority of the power-consuming device when the real-time power demand is greater than the real-time available power, determine the target power-consuming device according to the priority, or prompt the user and determine the target power-consuming device in response to the user's selection instruction;
[0035] The reduction module is used to reduce the allocated power of the target electrical equipment.
[0036] In one embodiment, the reducing module is further configured to:
[0037] When the number of the target power-consuming devices is one and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and according to the new target power-consuming device, the step of reducing the allocated power of the target power-consuming device is returned to until the real-time power demand is less than or equal to the real-time available power;
[0038] When there are multiple target power-consuming devices and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, the current allocated power is used as the new allocated power, and the step of reducing the allocated power of all target power-consuming devices by the preset value is returned until the real-time power demand is less than or equal to the real-time available power, or until the allocated power of all target power-consuming devices is 0. If the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and according to the new target power-consuming device, the step of reducing the allocated power of all target power-consuming devices by the preset value or shutting down at least one target power-consuming device is returned until the real-time power demand is less than or equal to the real-time available power.
[0039] In one embodiment, the reducing module is further configured to:
[0040] Real-time detection of the equipment status of each of the electrical equipment;
[0041] When the device status is abnormal, the electrical device with abnormal device status is isolated, and the maximum output power of all normal electrical devices is reacquired, and based on the reacquired maximum output power of all normal electrical devices, the step of determining the allocated power of each electrical device based on each maximum output power and the real-time available power is returned.
[0042] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.
[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method in any one of the above-mentioned embodiments is implemented.
[0044] The beneficial effects of the above technical solution include at least:
[0045] By obtaining the maximum output power of all electrical devices, the real-time power supply demand and the real-time available power of the home energy storage system, the allocated power of each electrical device is determined according to each maximum output power and the real-time available power, so that the power can be initially reasonably allocated; when the real-time power supply demand is greater than the real-time available power, the priority of the electrical device is determined, and the target electrical device is determined according to the priority, or the user is prompted and responded to the user's selection instruction to determine the target electrical device, reduce the allocated power of the target electrical device, and realize intelligent power allocation, which is conducive to more rational utilization of resources and ensuring the stability of the operation of electrical equipment.
[0046] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0048] Figure 1 This is a schematic diagram of the steps of the power intelligent allocation method according to an embodiment of the present application;
[0049] Figure 2 This is a structural block diagram of a power intelligent distribution device according to an embodiment of the present application;
[0050] Figure 3 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0051] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0052] Reference Figure 1 , a flow chart of a power intelligent allocation method according to an embodiment of the present application is shown, and the power intelligent allocation method may at least include steps S100-S400:
[0053] S100, obtaining the maximum output power, real-time power supply demand and real-time available power of the home energy storage system of all electrical devices.
[0054] S200: Determine the allocated power of each electrical device according to each maximum output power and the real-time available power.
[0055] S300. When the real-time power demand is greater than the real-time available power, determine the priority of the power-consuming device, determine the target power-consuming device according to the priority, or prompt the user and determine the target power-consuming device in response to the user's selection instruction.
[0056] S400: Reduce the allocated power of the target electrical equipment.
[0057] The technical solution of the embodiment of the present application can initially perform reasonable power allocation by obtaining the maximum output power, real-time power supply demand and real-time available power of all electrical devices, and determining the allocated power of each electrical device according to each maximum output power and real-time available power; when the real-time power supply demand is greater than the real-time available power, determining the priority of the electrical device, and determining the target electrical device according to the priority, or prompting the user and responding to the user's selection instruction to determine the target electrical device, reducing the allocated power of the target electrical device, and realizing intelligent power allocation, which is conducive to more reasonable utilization of resources and ensuring the stability of the operation of electrical equipment.
[0058] In one embodiment, the processor of the home energy storage system can poll each connected electrical device through a bus or communication protocol (such as Modbus, CAN, etc.), confirm the online status of the electrical device, and simulate the operation of the electrical device by applying a standard load, so as to detect the maximum output power of each electrical device. Optionally, the processor can initialize a list of electrical devices, and the maximum output power of each electrical device and the identity corresponding to each electrical device are recorded in the electrical device list for subsequent processing.
[0059] In addition, by setting up sensors or external data sources (such as smart meters), etc., the real-time power demand and the real-time available power of the home energy storage system can be read in real time, and the processor can use these data for subsequent calculations. It should be noted that the real-time power demand refers to the total power required by the home energy storage system at the current moment, including the total power required when all electrical devices in the home are running at the same time; the real-time available power refers to the total power that the current home energy storage system can provide, which is calculated based on the energy storage device (such as a battery), the external power grid power supply, and other available energy sources (such as solar panels, wind power, etc.).
[0060] In one embodiment, step S200 includes steps S210-S230:
[0061] S210: Calculate the sum of the maximum output powers according to each maximum output power.
[0062] Optionally, the sum of the maximum output powers is: Among them, P max , i is the maximum output power of the i-th electrical device, and n is the number of electrical devices.
[0063] S220: respectively determine a power ratio of each maximum output power to the sum of the maximum output powers.
[0064] Optionally, the power ratio value is:
[0065] S230: Determine the allocated power of each electrical device according to the product of the power ratio and the real-time available power.
[0066] Optionally, the calculation formula is:
[0067]
[0068] Among them, P_final,i is the allocated power of the i-th power-consuming device, and P_avail is the real-time available power.
[0069] In one embodiment, in step S300, the real-time power demand is compared with the real-time available power. When the real-time power demand is greater than the real-time available power, it means that the power of the current energy storage system is insufficient to meet the current power demand. At this time, a solution strategy needs to be adopted to determine the priority of the power-consuming equipment, and the target power-consuming equipment is determined according to the priority. Optionally, step S310 or S320 is included:
[0070] S310: Find the priority of each electric device from the preset list, and use the electric device with the lowest priority as the target electric device, or use all electric devices except the electric device with the highest priority as the target electric device.
[0071] Optionally, the user can communicate with the home energy storage system through the terminal in advance, configure the priority of an electrical device in advance, and then the home energy storage system will save the configured content in the preset list. Therefore, the processor can find the priority of each electrical device from the preset list; and the priority level can be set based on user needs, each level can have one or more electrical devices, and the processor can use the electrical device with the lowest priority level as the target electrical device, so the number of target electrical devices can be one or more; or, all electrical devices except the electrical device with the highest priority level are used as target electrical devices.
[0072] S320, prompting the user and responding to the user's setting instruction to set the priority of each electric device, and taking the electric device with the lowest priority as the target electric device.
[0073] Optionally, the home energy storage system provides a display interface for the user to operate on the terminal. When the user has not set the priority and there is no preset list, the user can be prompted to generate a setting instruction to set the priority of each electrical device; then, the electrical device with the lowest priority level is similarly used as the target electrical device.
[0074] In one embodiment, in step S300, when the real-time power demand is greater than the real-time available power, the user can be prompted directly on the display interface to select, for example, an electrical device that needs to reduce power, specifically by selecting an instruction to select, thereby determining the target electrical device. Optionally, the display interface can also display the operating status and power distribution of each electrical device in real time.
[0075] In one implementation, step S400 includes steps S410-S420:
[0076] S410: When the number of the target electric device is one, reduce the allocated power of the target electric device.
[0077] Optionally, when the number of target power-consuming devices is one, the allocated power of the target power-consuming device can be reduced to a certain extent, or the target power-consuming device can be directly turned off to reduce the allocated power to 0. It should be noted that whether to reduce to a certain extent or to turn off directly can be selected by the user in the display page.
[0078] S420: When there are multiple target power-consuming devices, reduce the allocated power of all target power-consuming devices by a preset value or shut down at least one target power-consuming device.
[0079] Optionally, when there are multiple target power-consuming devices at the lowest level, a preset value can be set in advance, and the size of the preset value is not specifically limited. The allocated power of all target power-consuming devices can be reduced by the preset value, or any one or more target power-consuming devices can be directly shut down to reduce the allocated power.
[0080] In one implementation, S400 may include steps S430-S460:
[0081] S430: Determine the power difference between the real-time power supply demand and the real-time available power.
[0082] S440: When the target power-consuming devices are all power-consuming devices except the power-consuming device with the highest priority level, determine the actual number of the target power-consuming devices.
[0083] Optionally, the difference between the real-time power demand and the real-time available power is calculated to obtain the power difference; when the target power-consuming devices are all power-consuming devices except the power-consuming devices with the highest priority level, the actual number of the target power-consuming devices is determined.
[0084] S450: Calculate the ratio of the power difference to the actual number, and determine the power average.
[0085] S460: Reduce the allocated power of each target electrical device by the average power value.
[0086] Optionally, the power average is determined based on the ratio of the power difference to the actual number, and then the allocated power of each target power-consuming device is reduced by the power average, so that the real-time power demand is equal to the real-time available power, ensuring that the real-time available power is sufficient for power supply.
[0087] In one implementation, the power intelligent allocation method of the embodiment of the present application may further include steps S510-S520:
[0088] S510. When the number of target power-consuming devices is one and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and based on the new target power-consuming device, the step of reducing the allocated power of the target power-consuming device is returned until the real-time power demand is less than or equal to the real-time available power.
[0089] Optionally, when the number of target power-consuming devices is one and the allocated power of the target power-consuming devices is reduced, if the real-time power demand is still greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is further determined; similarly, the new target power-consuming device may be one or more, and according to the new target power-consuming device, the step of reducing the allocated power of the target power-consuming device is returned, that is, returning to step S400, until the real-time power demand is less than or equal to the real-time available power.
[0090] S520. When there are multiple target power-consuming devices and the allocated powers of the target power-consuming devices are reduced, the real-time power demand is greater than the real-time available power, the current allocated power is used as the new allocated power, and the step of reducing the allocated powers of all target power-consuming devices by a preset value is returned until the real-time power demand is less than or equal to the real-time available power, or until the allocated powers of all target power-consuming devices are 0. If the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and based on the new target power-consuming device, the step of reducing the allocated powers of all target power-consuming devices by a preset value or shutting down at least one target power-consuming device is returned until the real-time power demand is less than or equal to the real-time available power.
[0091] Optionally, when there are multiple target power-consuming devices and the allocated power of the target power-consuming devices is reduced, if the real-time power demand is still greater than the real-time available power, the current allocated power is used as the new allocated power, and the process of reducing the allocated power of all target power-consuming devices by a preset value is returned, i.e., returning to step S420, until the real-time power demand is less than or equal to the real-time available power. Alternatively, in one embodiment, the process returns to step S420 until the allocated power of all target power-consuming devices is 0, and if the real-time power demand is still greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and based on the new target power-consuming device, the process of reducing the allocated power of all target power-consuming devices by a preset value or shutting down at least one target power-consuming device is returned, i.e., returning to step S420, until the real-time power demand is less than or equal to the real-time available power.
[0092] In one implementation, the power intelligent allocation method of the embodiment of the present application may further include steps S610-S620:
[0093] S610: Detect the device status of each electrical device in real time.
[0094] S620. When the device status is abnormal, isolate the electrical devices with abnormal device status, and reacquire the maximum output power of all normal electrical devices. Based on the reacquired maximum output power of all normal electrical devices, return to the step of determining the allocated power of each electrical device based on each maximum output power and the real-time available power.
[0095] Optionally, the processor of the home energy storage system detects the device status of each electrical device in real time to understand whether the electrical device has any abnormal situation. If one or more device statuses are abnormal, the electrical devices with abnormal device statuses are isolated to avoid affecting other electrical devices. At the same time, the maximum output power of all normal electrical devices is re-acquired, and based on the re-acquired maximum output power of all normal electrical devices, the process returns to the step of determining the allocated power of each electrical device based on each maximum output power and the real-time available power, i.e., returns to step S200, thereby redetermining the allocated power, releasing the allocation efficiency occupied by the abnormal electrical devices, and ensuring that other electrical devices are allocated power to the greatest extent.
[0096] Through the method of the embodiment of the present application, it is possible to ensure that the energy management of the entire home reaches the optimal power distribution state as much as possible, automatically detects and adjusts, and is more intelligent.
[0097] Reference Figure 2 , shows a structural block diagram of a power intelligent distribution device according to an embodiment of the present application, the device may include:
[0098] An acquisition module is used to obtain the maximum output power of all electrical devices, real-time power supply requirements, and real-time available power of the home energy storage system;
[0099] A first determination module is used to determine the allocated power of each electrical device according to each maximum output power and the real-time available power;
[0100] A second determination module is used to determine the priority of the power-consuming device when the real-time power demand is greater than the real-time available power, determine the target power-consuming device according to the priority, or prompt the user and determine the target power-consuming device in response to the user's selection instruction;
[0101] The reduction module is used to reduce the allocated power of the target electrical equipment.
[0102] In one embodiment, the reducing module is further configured to:
[0103] When the number of target power-consuming devices is one and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and according to the new target power-consuming device, the step of reducing the allocated power of the target power-consuming device is returned until the real-time power demand is less than or equal to the real-time available power;
[0104] When there are multiple target power-consuming devices and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, the current allocated power is used as the new allocated power, and the step of reducing the allocated power of all target power-consuming devices by a preset value is returned until the real-time power demand is less than or equal to the real-time available power, or until the allocated power of all target power-consuming devices is 0. If the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and based on the new target power-consuming device, the step of reducing the allocated power of all target power-consuming devices by a preset value or shutting down at least one target power-consuming device is returned until the real-time power demand is less than or equal to the real-time available power.
[0105] In one embodiment, the reducing module is further configured to:
[0106] Real-time detection of the equipment status of each electrical device;
[0107] When the device status is abnormal, the electrical devices with abnormal device status are isolated, and the maximum output power of all normal electrical devices is re-obtained. Based on the re-obtained maximum output power of all normal electrical devices, the step of determining the allocated power of each electrical device based on each maximum output power and the real-time available power is returned.
[0108] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.
[0109] Reference Figure 3 , shows a structural block diagram of an electronic device according to an embodiment of the present application, the electronic device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the power intelligent allocation method in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.
[0110] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0111] Optionally, in a specific implementation, if the memory 310, the processor 320, and the communication interface 330 are integrated on a chip, the memory 310, the processor 320, and the communication interface 330 can communicate with each other through an internal interface.
[0112] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the power intelligent allocation method provided in the above embodiment.
[0113] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0114] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
[0115] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0116] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0117] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0118] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0119] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0120] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0121] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0122] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0123] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0124] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for intelligent power distribution, characterized in that: include: Obtain the maximum output power of all electrical devices, real-time power demand, and real-time available power of the home energy storage system; Determine the allocated power of each of the electrical devices according to each of the maximum output powers and the real-time available power; When the real-time power demand is greater than the real-time available power, determining the priority of the power-consuming device, determining the target power-consuming device according to the priority, or prompting the user and responding to the user's selection instruction to determine the target power-consuming device; The allocated power of the target electrical device is reduced.
2. The method for intelligent power distribution according to claim 1, characterized in that: The determining the allocated power of each of the electrical devices according to each of the maximum output powers and the real-time available power comprises: Calculating the sum of the maximum output powers according to each of the maximum output powers; respectively determining a power ratio of each of the maximum output powers to the sum of the maximum output powers; The allocated power of each of the electrical devices is determined according to the product of the power ratio and the real-time available power.
3. The intelligent power distribution method according to claim 1 or 2, characterized in that: Determining the priority of the electric device and determining the target electric device according to the priority includes: Find the priority of each of the electric users from the preset list, and use the electric user with the lowest priority as the target electric user, or use all the electric users except the electric user with the highest priority as the target electric users; or, The user is prompted and, in response to a setting instruction from the user, a priority level of each of the electric devices is set, and the electric device with the lowest priority level is used as a target electric device.
4. The intelligent power distribution method according to claim 3, characterized in that: The step of reducing the allocated power of the target electrical equipment comprises: When the number of the target electrical equipment is one, reducing the allocated power of the target electrical equipment; When there are multiple target power-consuming devices, the allocated power of all target power-consuming devices is reduced by a preset value or at least one target power-consuming device is turned off.
5. The intelligent power distribution method according to claim 4, characterized in that: The method further comprises: When the number of the target power-consuming devices is one and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and according to the new target power-consuming device, the step of reducing the allocated power of the target power-consuming device is returned to until the real-time power demand is less than or equal to the real-time available power; When there are multiple target power-consuming devices and the allocated power of the target power-consuming devices is reduced, the real-time power demand is greater than the real-time available power, the current allocated power is used as the new allocated power, and the step of reducing the allocated power of all target power-consuming devices by the preset value is returned until the real-time power demand is less than or equal to the real-time available power, or until the allocated power of all target power-consuming devices is 0. If the real-time power demand is greater than the real-time available power, a new target power-consuming device of the previous level corresponding to the priority of the target power-consuming device is determined, and according to the new target power-consuming device, the step of reducing the allocated power of all target power-consuming devices by the preset value or shutting down at least one target power-consuming device is returned until the real-time power demand is less than or equal to the real-time available power.
6. The method for intelligent power distribution according to claim 1, characterized in that: The reducing the allocated power of the target electrical equipment comprises: Determining a power difference between the real-time power demand and the real-time available power; When the target power-consuming devices are all power-consuming devices except the power-consuming device with the highest priority, determining the actual number of the target power-consuming devices; Calculating a ratio of the power difference to the actual number to determine a power mean; The allocated power of each of the target electrical equipment is reduced by the power average value.
7. The intelligent power distribution method according to claim 1, characterized in that: The method further comprises: Real-time detection of the equipment status of each of the electrical equipment; When the device status is abnormal, the electrical device with abnormal device status is isolated, and the maximum output power of all normal electrical devices is reacquired, and based on the reacquired maximum output power of all normal electrical devices, the step of determining the allocated power of each electrical device based on each maximum output power and the real-time available power is returned.
8. A power intelligent distribution device, characterized in that: include: An acquisition module is used to obtain the maximum output power of all electrical devices, real-time power supply requirements, and real-time available power of the home energy storage system; A first determining module, configured to determine the allocated power of each of the electrical devices according to each of the maximum output powers and the real-time available power; A second determination module is used to determine the priority of the power-consuming device when the real-time power demand is greater than the real-time available power, determine the target power-consuming device according to the priority, or prompt the user and determine the target power-consuming device in response to the user's selection instruction; The reduction module is used to reduce the allocated power of the target electrical equipment.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
