Energy management method and device, electronic equipment and computer readable storage medium
The energy management system addresses the challenge of managing multiple power sources by prioritizing and allocating power supply based on work modes and real-time parameters, optimizing energy usage and reducing costs.
Patent Information
- Application Number
- CN202411573858.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-05
AI Technical Summary
Existing household energy management systems lack the ability to manage different power supply methods effectively, leading to challenges in selecting the most appropriate supply option when multiple power sources are available.
A method and system that determine the optimal power supply for each device by prioritizing available power sources based on current work modes, device priorities, and real-time parameters such as supply and demand quantities, allowing for efficient energy allocation across various modes like self-use, peak-valley arbitrage, and storage modes.
Ensures rational energy distribution by considering different work modes and supply priorities, optimizing energy usage and reducing costs by selecting the most suitable power supply for each device according to its specific needs and available resources.
Smart Images

Figure CN119623925A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of energy management technology, and specifically to an energy management method, device, electronic device, and computer-readable storage medium. Background Art
[0002] A home energy management system is a virtual power station management system for households. The home energy management system can automatically control the switch of household appliances or adjust the power of household appliances according to preset rules or user instructions, or can provide users with personalized energy-saving suggestions, such as adjusting the air-conditioning temperature according to weather conditions, or turning off lights when no one is at home. However, the home energy management system of the related art usually only manages household appliances, but not the power supply mode. Therefore, when there are multiple power supply modes, how to choose a reasonable power supply mode is a problem to be solved. Summary of the invention
[0003] The embodiments of the present application provide an energy management method, device, electronic device, and computer-readable storage medium, which can determine the power supply device that supplies power to each electrical device.
[0004] In a first aspect, an embodiment of the present application provides an energy management method, including:
[0005] Determine a current working mode and determine a first priority of each power supply device in the working mode;
[0006] Determine the second priority of each power-consuming device when powered by different power supply devices in the working mode;
[0007] Acquiring a first operating parameter of the power supply device and a second operating parameter of the power consumption device; and
[0008] A power supply device for supplying power to each of the electrical devices is determined according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0009] In one of the embodiments, the first operating parameter includes power supply, and the second operating parameter includes power consumption;
[0010] The step of determining the power supply device for supplying power to each of the power-consuming devices according to the first priority and the second priority, and the first operating parameter and the second operating parameter includes:
[0011] According to the power supply of the power supply device and the power consumption of the power-consuming device, in the order of the first priority from high to low and the order of the second priority from high to low, determine in sequence whether the remaining power supply of each of the power supply devices is less than the power consumption of the target power-consuming device; the target power-consuming device is: the power-consuming device with the highest second priority among the power-consuming devices whose corresponding power supply devices have not yet been determined;
[0012] When the remaining power supply of the power supply device is less than the power consumption of the target power-consuming device, determining whether the power supply of the next first-priority power supply device is less than the power consumption of the target power-consuming device;
[0013] When the remaining power supply of the power supply device is not less than the power consumption of the target power-consuming device, determine that the power supply device supplies power to the target power-consuming device, and determine whether the latest remaining power supply of the power supply device is less than the latest power consumption of the target power-consuming device, until the power supply device that supplies power to each of the power-consuming devices is determined.
[0014] In one embodiment, the method further comprises:
[0015] In response to the submitted reserved power usage task, obtaining the second priority level of the reserved power usage device corresponding to the reserved power usage task when different power supply devices supply power in the working mode;
[0016] Acquire a second operating parameter of the scheduled power consumption device and a time parameter of the scheduled power consumption task;
[0017] Determining a power consumption period of the scheduled power consumption task according to the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task;
[0018] A power supply device that supplies power to the reserved power-consuming device during the power consumption period is determined according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0019] In one embodiment, the second operating parameter includes power consumption and average power consumption, and the time parameter of the scheduled power consumption task includes a target end time;
[0020] The step of determining the power consumption time period of the scheduled power consumption task according to the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task comprises:
[0021] Determine the duration of electricity consumption according to the electricity consumption and average power consumption of the reserved electricity-consuming equipment;
[0022] The electricity consumption time period of the scheduled electricity consumption task is determined according to the target end time and the electricity consumption duration.
[0023] In one embodiment, the working mode includes: self-generation and self-use mode, peak-valley arbitrage mode, backup power mode and / or holiday mode; different working modes correspond to different candidate power-consuming devices;
[0024] In the self-generation and self-use mode, the candidate power-consuming devices include: power storage devices, charging piles and / or power conversion and storage devices;
[0025] In the peak-valley arbitrage mode, the candidate power-consuming devices include: power storage devices, power purchasing devices, charging piles and / or power conversion and storage devices;
[0026] In the backup power mode, the candidate power-consuming devices include: power storage devices;
[0027] In the holiday mode, the candidate electrical devices include: electrical energy storage devices;
[0028] The method further comprises:
[0029] According to the target setting for the candidate electric device, it is determined whether the candidate electric device is the electric device.
[0030] In one of the embodiments, determining whether the candidate electric device is the electric device according to the target setting for the candidate electric device includes:
[0031] Acquire the remaining power of the electric energy storage device, and acquire the set power threshold of the electric energy storage device;
[0032] According to the relationship between the remaining power of the electric energy storage device and the power threshold, it is determined whether the electric energy storage device is the power-consuming device when different power supply devices supply power in different working modes.
[0033] In one embodiment, the method further comprises:
[0034] When it is detected that the first priority, the second priority, the first operating parameter and / or the second operating parameter change, a power supply device for supplying power to each of the electrical devices is re-determined.
[0035] In a second aspect, an embodiment of the present application provides an energy management device, including:
[0036] A first determination module, used to determine a current working mode and determine a first priority of each power supply device under the working mode;
[0037] A second determination module, used to determine the second priority of each electrical device when different power supply devices are supplying power in the working mode;
[0038] a parameter acquisition module, configured to acquire a first operating parameter of the power supply device and a second operating parameter of the power consumption device; and
[0039] The third determination module is used to determine the power supply device that supplies power to each of the electrical devices according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0040] In one of the embodiments, the first operating parameter includes power supply, and the second operating parameter includes power consumption;
[0041] The third determination module comprises:
[0042] A first determining unit is used to determine, according to the power supply of the power supply device and the power consumption of the power consumption device, in the order of the first priority from high to low and the order of the second priority from high to low, whether the remaining power supply of each power supply device is less than the power consumption of the target power consumption device; the target power consumption device is: the power consumption device with the highest second priority among the power consumption devices whose corresponding power supply devices have not yet been determined;
[0043] a judging unit, configured to judge whether the power supply of the next power supply device of the first priority is less than the power consumption of the target power consumption device when the remaining power supply of the power supply device is less than the power consumption of the target power consumption device;
[0044] The second determination unit is used to determine that the power supply device supplies power to the target power device when the remaining power supply of the power supply device is not less than the power consumption of the target power device, and to determine whether the latest remaining power supply of the power supply device is less than the latest power consumption of the target power device, until the power supply device that supplies power to each of the power devices is determined.
[0045] In one embodiment, the device further comprises:
[0046] A reservation acquisition module, configured to, in response to a submitted reserved power usage task, acquire, in the working mode, the second priority level of the reserved power usage device corresponding to the reserved power usage task when different power supply devices supply power;
[0047] A time parameter acquisition module, used to acquire the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task;
[0048] A time period determination module, used to determine the power consumption time period of the scheduled power consumption task according to the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task;
[0049] The device determination module is used to determine the power supply device that supplies power to the reserved power-consuming device during the power consumption period according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0050] In one embodiment, the second operating parameter includes power consumption and average power consumption, and the time parameter of the scheduled power consumption task includes a target end time;
[0051] The time period determination module comprises:
[0052] A duration determination unit, used to determine the duration of electricity consumption according to the electricity consumption and average power consumption of the reserved electricity-consuming equipment;
[0053] The time period determination unit is used to determine the power consumption time period of the scheduled power consumption task according to the target end time and the power consumption duration.
[0054] In one embodiment, the working mode includes: self-generation and self-use mode, peak-valley arbitrage mode, backup power mode and / or holiday mode; different working modes correspond to different candidate power-consuming devices;
[0055] In the self-generation and self-use mode, the candidate power-consuming devices include: power storage devices, charging piles and / or power conversion and storage devices;
[0056] In the peak-valley arbitrage mode, the candidate power-consuming devices include: power storage devices, power purchasing devices, charging piles and / or power conversion and storage devices;
[0057] In the backup power mode, the candidate power-consuming devices include: power storage devices;
[0058] In the holiday mode, the candidate electrical devices include: electrical energy storage devices;
[0059] The device also includes:
[0060] The candidate determination module is used to determine whether the candidate electric device is the electric device according to the target setting for the candidate electric device.
[0061] In one embodiment, the candidate determination module includes:
[0062] A power acquisition unit, used to acquire the remaining power of the electric energy storage device and to acquire a set power threshold of the electric energy storage device;
[0063] The device determination unit is used to determine whether the energy storage device is the power-consuming device when different power supply devices supply power in different working modes according to the relationship between the remaining power of the energy storage device and the power threshold.
[0064] In one embodiment, the device further comprises:
[0065] A redetermining module is used to redetermine the power supply device that supplies power to each of the electrical devices when it is detected that the first priority, the second priority, the first operating parameter and / or the second operating parameter change.
[0066] In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps in the above-mentioned energy management method when executed by the processor.
[0067] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned energy management method are implemented.
[0068] In a fifth aspect, the embodiments of the present application further provide a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.
[0069] In summary, in the embodiments of the present application, the first priority of each power supply device is different in different working modes, and the second priority of the power-consuming device is different when different power supply devices in different working modes supply power. Therefore, the power supply device that supplies power to each power-consuming device is subsequently determined based on the first operating parameter of the power supply device and the second operating parameter of the power-consuming device, as well as the first priority and the second priority, which is determined in consideration of different working modes, and the priorities of the power supply devices and the priorities of the power-consuming devices in different working modes, is more reasonable. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0071] Figure 1 It is a power line design diagram of an energy management system provided by an embodiment of the present application;
[0072] Figure 2 It is a communication topology diagram of an energy management system provided by an embodiment of the present application;
[0073] Figure 3 is a schematic diagram of the steps of an energy management method provided by an embodiment of the present application;
[0074] Figure 4 This is a schematic diagram of a process for determining a power supply device provided by an embodiment of the present application;
[0075] Figure 5 is a schematic diagram of the steps of an energy management method provided by an embodiment of the present application;
[0076] Figure 6 It is a schematic diagram of a working mode provided by an embodiment of the present application;
[0077] Figure 7 is a schematic diagram of the steps of an energy management method provided by an embodiment of the present application;
[0078] Figure 8 is a hardware architecture diagram of an energy management system provided by an embodiment of the present application;
[0079] Fig. 9 is a software architecture diagram of an energy management system provided by an embodiment of the present application;
[0080] Fig.10 It is a northbound communication design flow chart provided by an embodiment of the present application;
[0081] Fig.11 is a southbound communication design flow chart provided by an embodiment of the present application;
[0082] Fig.12 This is a HUB data flow diagram provided by an embodiment of the present application;
[0083] Fig.13 is a working principle diagram of a policy control module provided in an embodiment of the present application;
[0084] Fig.14 is a communication diagram of an energy management system provided by an embodiment of the present application;
[0085] Fig.15 is a schematic diagram of the structure of an energy management device provided in one embodiment of the present application;
[0086] Fig.16 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0087] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0088] The technical solution of the embodiment of the present application can be applied to energy management systems, each of which is used to manage devices within a preset range. For example, one energy management system can be used to manage devices in a home, and another energy management system can be used to manage devices in a factory. Figure 1 This is the power line design diagram of the energy management system. Figure 2 It is the communication topology diagram of the energy management system. The energy management system includes a hub device (HUB), power supply equipment, power consumption equipment and client.
[0089] In one embodiment, the technical solution of the embodiment of the present application can be specifically applied to the central device of the energy management system. The central device has edge computing capabilities, and the central device includes a scheduling control unit, a data center unit, a task center, a task execution unit, a central control unit, and a central unit. The task center is used to determine the information of each task queue, and the information of the task queue includes but is not limited to: the power consumption of each power task, the latest start time, the target end time, the average power median and / or the maximum power threshold. The data center unit is used to obtain the real-time data information of each power-consuming device and the power supply device. The central unit is used to optimally schedule each power task based on the acquired task queue information and real-time data information; the task execution unit is used to execute the power task according to the scheduling of the central unit. The central control unit is used to notify the central unit to reschedule when the data and / or power tasks change.
[0090] In one embodiment, the power supply equipment includes a green power generation equipment, an energy storage equipment and / or a grid power supply equipment. Among them, the green power generation equipment can be a photovoltaic power generation equipment, and the photovoltaic power generation equipment includes a panel and an inverter. The energy storage device can be used as both a power supply device and an electrical device. In one embodiment, when the amount of electricity stored in the energy storage device is greater than the power threshold, the energy storage device is determined as a power supply device. The grid power supply equipment is used to use the electricity from the national power grid to power the electrical device. It can be understood that the electricity price is different in different time periods, so the cost of using the grid power supply equipment in different time periods is different, and therefore, the priority of the grid power supply equipment in different time periods may be different.
[0091] In one embodiment, the power-consuming equipment includes general loads, scheduled power-consuming equipment corresponding to the scheduled power-consuming tasks, electric energy storage equipment, charging piles, electric energy conversion storage equipment and / or power selling equipment. Among them, general loads refer to equipment used by users on a daily basis, such as refrigerators and lights. The scheduled power-consuming equipment corresponding to the scheduled power-consuming tasks can be equipment that the user schedules to achieve a charging target at a certain time, and the charging target can be to start charging or be fully charged, etc. When the electric energy storage device is used as a power-consuming equipment, it can have different priorities according to the different relationship between the amount of stored electricity and the amount of electricity threshold. The charging pile can store electric energy, but the stored electric energy can only be used to charge vehicles adapted to the charging pile. The electric energy conversion storage device is a device that converts electric energy into other energy and stores it. For example, the electric energy conversion storage device can be a heat pump, which can convert electric energy into heat energy for storage. The power selling equipment can obtain electric energy from the power supply equipment and then sell the electric energy.
[0092] The client allows users to select working modes, schedule power consumption tasks, and manage power-consuming devices. In response to user operations, the client sends relevant instructions to the central device, which performs calculations to determine the energy scheduling strategy and controls each power supply device and power-consuming device to execute the corresponding energy scheduling strategy. The energy scheduling strategy includes the power consumption time of the power-consuming device and the power supply device that supplies power to the power-consuming device.
[0093] In one embodiment, Figure 3 As shown, an energy management method is provided. Although a logical order is shown in the step diagram, in some cases, the steps shown or described may be performed in a different order than shown in the drawings.
[0094] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.
[0095] according to Figure 3 The energy management method shown in the figure includes at least steps S110 to S140, which are described in detail as follows:
[0096] In step S110 , the current working mode is determined, and the first priority of each power supply device in the working mode is determined.
[0097] Because each energy management system manages devices within a preset range, all devices within the energy management system work in the same working mode. For example, if an energy management system manages the devices of a family and the current working mode is mode A, then all devices in the family work in mode A.
[0098] The working modes include, but are not limited to: self-generation and self-use mode, peak-valley arbitrage mode, backup power mode and / or holiday mode. In the self-generation and self-use mode, the electricity generated by the green power generation equipment is used by the user's home instead of being sold. In the peak-valley arbitrage mode, electricity is sold through power sales equipment, where the electricity sold can be the electricity generated by the green power generation equipment, or it can be the electricity obtained from the power supply equipment of the power grid when the electricity price is low. In the backup power mode, the electricity generated by the green power generation equipment can be stored in the power storage device, the charging pile and / or the power sales equipment, and / or the power conversion storage device can be converted. In the holiday mode, the electricity generated by the green power generation equipment can be stored in the power storage device and / or the power sales equipment.
[0099] The user can select the current working mode on the client, and the client sends the corresponding mode selection instruction to the central device. The central device can determine the current working mode according to the mode selection instruction, thereby controlling each device to work according to the working mode selected by the client. The first priority of each power supply device in different working modes is pre-configured. Therefore, after determining the working mode, the first priority of each power supply device can be determined. The first priority of the power supply device is mainly determined based on the cost. The lower the cost, the higher the first priority of the power supply device.
[0100] In one embodiment, the first priority of the power supply device is a target priority, indicating that the power supply device does not supply power in this working mode. For example, if the first priority of an energy storage device with a power level less than a power threshold is a target priority, then the energy storage device with a power level less than the power threshold in this mode is not a power supply device.
[0101] In step S120, the second priority of each electrical device when powered by different power supply devices in the working mode is determined.
[0102] The second priority of the electric equipment is mainly determined according to the power consumption time of the electric equipment, the urgency of the power consumption, etc. The earlier the power consumption time of the electric equipment and the more urgent the power consumption is, the higher the second priority is.
[0103] In the same working mode, when different power supply devices are supplying power to different power consumption devices, the second priority of each power consumption device may also be different. The first priority of the power consumption device is the target priority representation: when the power supply device is supplying power in this working mode, the power consumption device does not need power. For example, in the self-generation and self-use mode, when the energy storage device is supplying power, the second priority of the charging pile is the target priority, and the charging pile does not need power.
[0104] In one embodiment, the first priority and the second priority may be configured according to Table 1.
[0105] Table 1. First and second priority configuration table
[0106]
[0107] The first column in Table 1 is the various working modes, and the second column is the power supply equipment that supplies power in each working mode. The power supply equipment in the front column of each working mode has a higher first priority, and the following columns are power-consuming equipment. Among the selected power-consuming equipment, the power-consuming equipment on the left has a higher second priority, and the unchecked power-consuming equipment indicates that the power-consuming equipment does not use power when the current power supply equipment is supplying power in the current working mode. Grid power supply equipment-valley indicates grid power supply equipment when the electricity price is low, and grid power supply equipment-peak indicates grid power supply equipment when the electricity price is high.
[0108] The first electric energy storage device is an electric energy storage device whose electric quantity is not greater than the electric quantity threshold, and the second electric energy storage device is an electric energy storage device whose electric quantity is greater than the electric quantity threshold. For example, the third row in Table 1 indicates that when the second electric energy storage device supplies power in the self-generation and self-use mode, the electric devices include general loads, reserved electric devices 1, and reserved electric devices 2, and the electric devices are ranked in descending order according to the second priority: general loads are higher than reserved electric devices 1, and reserved electric devices 1 are higher than reserved electric devices 2.
[0109] In step S130, a first operating parameter of the power supply device and a second operating parameter of the power consumption device are obtained.
[0110] The operating parameters of a device are various indicators that describe the operating conditions of the device, including electrical parameters and / or performance parameters. The device may be a power supply device or a power consumption device. The operating parameters of the device may change in real time, so the operating parameters of the device can be periodically and dynamically acquired. The first operating parameter of the power supply device includes the power supply of the power supply device. The operating parameters of the power consumption device include power consumption, average power consumption and / or maximum power consumption.
[0111] In step S140, a power supply device for supplying power to each of the electrical devices is determined according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0112] In order to save costs, when determining the power supply equipment, the power supply equipment with the highest first priority is used first. When determining which power-consuming devices are to be powered, the power supply equipment corresponding to the power-consuming devices with the highest second priority is determined first. Based on the first operating parameters of the power supply equipment and the second operating parameters of the power-consuming devices, it can be determined whether each power supply equipment is sufficient to meet the power demand of each power-consuming device.
[0113] Therefore, according to the first operating parameter and the second operating parameter, the power supply device that supplies power to each of the power consuming devices is determined in sequence according to the first priority of the power supply device and the second priority of the power consuming device from high to low.
[0114] By adopting the technical solution of the embodiment of the present application, the first priority of each power supply device is different in different working modes, and the second priority of the power-consuming device is different when different power supply devices in different working modes supply power. Therefore, the power supply device that supplies power to each power-consuming device is subsequently determined based on the first operating parameter of the power supply device and the second operating parameter of the power-consuming device, as well as the first priority and the second priority. This is determined by considering different working modes, as well as the priorities of the power supply devices and the priorities of the power-consuming devices in different working modes, and is relatively reasonable.
[0115] Based on the above technical solution, as an embodiment, the first operating parameter includes power supply, and the second operating parameter includes power consumption; step S140 may specifically include:
[0116] According to the power supply of the power supply device and the power consumption of the power-consuming device, in the order of the first priority from high to low and the order of the second priority from high to low, determine in sequence whether the remaining power supply of each of the power supply devices is less than the power consumption of the target power-consuming device; the target power-consuming device is: the power-consuming device with the highest second priority among the power-consuming devices whose corresponding power supply devices have not yet been determined;
[0117] When the remaining power supply of the power supply device is less than the power consumption of the target power-consuming device, determining whether the power supply of the next first-priority power supply device is less than the power consumption of the target power-consuming device;
[0118] When the remaining power supply of the power supply device is not less than the power consumption of the target power-consuming device, determine that the power supply device supplies power to the target power-consuming device, and determine whether the latest remaining power supply of the power supply device is less than the latest power consumption of the target power-consuming device, until the power supply device that supplies power to each of the power-consuming devices is determined.
[0119] like Figure 4As shown, the current configuration is parsed to obtain the current working mode, and then the first priority of each power supply device and the second priority of each power consumer are determined. The power supply of each power supply device and the power consumption of each power consumer are obtained. The power supply of the green power generation device is the sum of the remaining power of the green power generation device and the power to be generated; the power generated is determined according to the power generation power and time of the green power generation device. The power supply of the energy storage device is the power stored in the energy storage device. The power supply of the grid power supply device can be regarded as infinite, but the power supply of the grid power supply device in a certain time period can be determined according to the time period and the power of the grid power supply device. The power consumption of the power consumer can be the scheduled power consumption, the power consumption determined based on experience, or the power consumption predicted by using a neural network model.
[0120] First, the power user with the second highest priority is determined as the target power user. According to the power supply of the power supply device with the highest first priority and the power consumption of the target power user, it is determined whether the power supply of the power supply device is greater than or equal to the power consumption of the target power user. When the power supply of the power supply device is greater than or equal to the power consumption of the target power user, the power supply device is determined as the power supply device that supplies power to the target power user. The difference between the power supply of the power supply device with the highest first priority and the power consumption of the target power user is determined as the remaining power supply of the power supply device. Among the power users other than the target power user, the power user with the second highest priority is determined as the latest target power user.
[0121] When the power supply of the power supply device is not greater than or equal to the power consumption of the target power user, determine whether the power supply device of the next priority can supply power to the target power user: based on whether the power supply of the power supply device of the next priority is greater than or equal to the power consumption of the target power user, determine whether the power supply device of the next priority can supply power to the target power user, until the power supply device corresponding to the target power user is determined.
[0122] When the power supply equipment corresponding to an electric device is determined, continue to judge the power supply equipment corresponding to the electric device of the next priority: determine whether the remaining power supply of the electric device with the second highest priority is greater than or equal to the power consumption of the latest target electric device; if the remaining power supply of the electric device with the second highest priority is greater than or equal to the power consumption of the latest target electric device, determine the power supply equipment as the power supply equipment that supplies power to the latest target electric device.
[0123] By adopting the technical solution of the embodiment of the present application, the corresponding power supply equipment can be determined for each power-consuming device in order of the first priority from high to low and the second priority from high to low. According to the order of the first priority from high to low, the cost can be guaranteed to be low, and according to the order of the second priority from high to low, the power supply equipment can be determined preferentially for the power-consuming devices with earlier power consumption and more urgent power consumption.
[0124] Based on the above technical solution, as an embodiment, Figure 5 As shown, the energy management method further includes steps S150 to S180.
[0125] In step S150, in response to the submitted reserved power usage task, the second priority level of the reserved power usage device corresponding to the reserved power usage task when different power supply devices are supplying power in the working mode is obtained.
[0126] The scheduled electricity usage task may be an electricity usage task scheduled by the user through the client. The scheduled electricity usage task corresponds to the scheduled electricity usage equipment. The scheduled electricity usage equipment is also an electricity usage equipment. Therefore, the second priority of the scheduled electricity usage equipment may also be obtained.
[0127] In step S160, the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task are obtained.
[0128] The time parameters of the scheduled electricity task can be the start time, the latest start time and / or the target end time of the scheduled electricity task. Scheduled electricity tasks usually have time parameters, which can be directly determined at the time of the reservation or calculated. For example, a user can make a reservation to fully charge the car at 8 o'clock tomorrow morning, where 8 o'clock tomorrow morning is the target end time directly determined at the time of the reservation; the latest start time is calculated based on 8 o'clock tomorrow morning and the time required for full charging.
[0129] The method for acquiring the second operating parameters of the scheduled electric equipment is the same as the method for acquiring the second operating parameters of other electric equipment.
[0130] In step S170, the power consumption time period of the scheduled power consumption task is determined according to the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task.
[0131] In the case where the power usage time period of the scheduled power usage task is adjustable, the power usage time period of the scheduled power usage task may be determined according to the second operating parameter of the scheduled power usage device and the time parameter of the scheduled power usage task.
[0132] In one embodiment, the second operating parameter includes power consumption and average power consumption, and the time parameter of the scheduled power consumption task includes a target end time; step S170 may include: determining the power consumption duration based on the power consumption and average power consumption of the scheduled power consumption equipment; determining the power consumption time period of the scheduled power consumption task based on the target end time and the power consumption duration.
[0133] The quotient of the power consumption of the scheduled power-consuming equipment and the average power consumption is determined as the power consumption duration. The difference between the target end time and the power consumption duration is determined as the start time of the scheduled power consumption task. Based on the start time and the power consumption duration, the power consumption period of the scheduled power consumption task is determined.
[0134] In this way, the electricity consumption time period of the scheduled electricity consumption task can be determined, so that the scheduled electricity consumption task is executed during the electricity consumption time period of the scheduled electricity consumption task, thereby realizing the planning of the scheduled electricity consumption task in the time dimension.
[0135] In step S180, a power supply device that supplies power to the reserved power-consuming device during the power consumption period is determined according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0136] When determining the power supply equipment corresponding to each reserved power-consuming device, the reserved power-consuming device is regarded as a power-consuming device, and the power supply equipment that supplies power to each of the power-consuming devices is determined in sequence according to the order of the first priority of each power supply equipment from high to low and the order of the second priority of each power-consuming device from high to low. The power supply equipment supplies power to the reserved power-consuming device during the power consumption period of the reserved power-consuming device.
[0137] In one embodiment, based on the technical solution of the embodiment of the present application, user A sets an appointment through the client at 12:00 on August 28, 2024, the content of which is: he needs to travel at 8:00 in the morning on August 29, 2024, and requires that the smart electric car under his garage be fully charged before that. Set the user's green power generation equipment to generate a total of 10kWh of electricity from 12:00 to 8:00, set the remaining power of the smart electric car to 4kWh when the user sets the appointment, and the full charge capacity of the smart electric car to 60kWh. Through calculation, it is known that 56kWh of electricity needs to be charged for the user's smart electric car before 8:00. The energy management system inquires and finds that the charging power of the charging pile for charging the smart electric car is 7kW, and it takes 8 hours to charge the smart electric car with 56kWh of electricity. Set the user's household energy storage device to be fully charged: 10kWh, and calculate and predict that other loads (such as air conditioners, etc.) will consume 3kWh during this period. Set 06:00-22:00 as the peak price interval of the power grid, and 22:00-06:00 as the valley price interval of the power grid. By calculation, before 8:00 the next day, 56+3-10-10=39kWh needs to be purchased through the power supply equipment of the power grid. The charging power is 7kW, and 39kWh of electricity takes about 5.6 hours.
[0138] Through scheduling and calculation, the central device of the energy management system learns that it needs to create a task through the task unit (the earliest start time is 22:00, the latest start time is 00:00, the target end time is before 8:00, the power is 7kW, and the maximum power is 7kW). The central device of the energy management system puts the above tasks into the queue and waits for further scheduling. Before the latest start time, the central device of the energy management system will dynamically adjust the attributes of the task according to the user's immediate load power consumption, the remaining battery power, and the power generation of the green power generation equipment. Until the latest start time of a certain calculation is within the set threshold (n minutes) of the current time, the task will be scheduled to enter the execution unit for execution.
[0139] The above execution path is: start charging the smart electric car at 00:00, with a power of 7kW, charge the grid power supply equipment for 5.6 hours, then switch to the green power generation equipment for charging, and continue to use the energy storage equipment for charging after the green power generation equipment is fully charged. Through the above calculation, the smart electric car is fully charged before 8:00, and the minimum required 39kWh of electricity is purchased during the valley price period.
[0140] By adopting the technical solution of the embodiment of the present application, on the one hand, the corresponding power supply equipment can be determined for the scheduled power equipment in the order of the first priority from high to low and the second priority from high to low, so as to ensure low cost. On the other hand, the power consumption period of the scheduled power consumption task is determined, so as to realize the planning of the scheduled power consumption task in the time dimension.
[0141] Based on the above technical solution, Figure 6 As shown, the working modes include: self-generation and self-use mode, peak-valley arbitrage mode, backup power mode and / or holiday mode. Different working modes correspond to different candidate power devices; in the self-generation and self-use mode, the candidate power devices include: electric energy storage devices, charging piles and / or electric energy conversion storage devices; in the peak-valley arbitrage mode, the candidate power devices include: electric energy storage devices, electricity purchasing devices, charging piles and / or electric energy conversion storage devices; in the backup power mode, the candidate power devices include: electric energy storage devices; in the holiday mode, the candidate power devices include: electric energy storage devices; the energy management method also includes: determining whether the candidate power device is the power device according to the target setting for the candidate power device.
[0142] For ease of reading, the following text describes the electric energy conversion and storage device as a heat pump.
[0143] As an embodiment, each working mode can be further subdivided according to the working status of the charging pile and the heat pump. For example, the peak-valley arbitrage mode can be further subdivided into green power mode, economic mode and reservation mode; in the green power mode, only the green power supply equipment is used to power the charging pile and the heat pump; in the economic mode, the peak and valley time of the electricity price can be set, so that the charging pile and the heat pump are automatically powered when the electricity price is low; in the reservation mode, the charging pile and the heat pump are powered according to the reservation time. In one embodiment, the peak-valley arbitrage mode can also include a charging pile reservation mode, a heat pump reservation mode, a charging pile economic mode and a heat pump economic mode.
[0144] Users can select different working modes on the client side, and customize each working mode by configuring battery usage threshold, charging pile switch, power conversion storage device switch, electricity purchase switch, peak and valley time periods, daylight saving time switch, etc.
[0145] By configuring the battery usage threshold, power purchase switch, charging pile switch, power conversion storage device switch, etc., it can be determined whether the corresponding power storage device, power purchase device, charging pile and / or power conversion storage device is determined as a power consumer. Candidate power consumers can be regarded as power consumers with a priority of the target priority. By configuring the peak and valley time periods and the daylight saving time switch, the power supply time of the charging pile and heat pump in the economic mode can be controlled.
[0146] In one embodiment, determining whether the candidate electrical device is the electrical device based on the target setting for the candidate electrical device may include: obtaining the remaining power of the electric energy storage device, and obtaining a set power threshold of the electric energy storage device; and determining, based on the relationship between the remaining power of the electric energy storage device and the power threshold, whether the electric energy storage device is the electrical device when different power supply devices are supplying power in different working modes.
[0147] When the relationship between the remaining power of the energy storage device and the power threshold is different, the identity of the energy storage device is also different. When the remaining power of the energy storage device is greater than the power threshold, the energy storage device can be a power supply device or a candidate power consumption device. When the remaining power of the energy storage device is not greater than the power threshold, the energy storage device can only be a candidate power consumption device.
[0148] It can be seen from Table 1 that when the remaining power of the energy storage device is not greater than the power threshold, the energy storage device is a power consumer in some working modes and is not checked in some working modes, that is, the energy storage device is a candidate power consumer.
[0149] Therefore, when the remaining power of the energy storage device is not greater than the power threshold, according to the configured priority, it can be determined whether the energy storage device is a power-consuming device when different power supply devices supply power in each working mode.
[0150] In this way, it is possible to determine whether the energy storage device is a power supply device or a candidate power consumption device based on the relationship between the remaining power of the energy storage device and the power threshold. Therefore, the user can determine whether the energy storage device is a power supply device or a candidate power consumption device by customizing the power threshold. In addition, it is also possible to determine whether the energy storage device as a candidate power consumption device is a power consumption device based on the pre-configured priority.
[0151] Based on the above technical solution, Figure 7 As shown, the energy management method further includes step S190.
[0152] In step S190, when it is detected that the first priority, the second priority, the first operating parameter and / or the second operating parameter change, the power supply device that supplies power to each of the electrical devices is re-determined.
[0153] In one embodiment, the change between the first priority and the second priority may be caused by a change in the working mode or a change in the settings by the user. The change in the second priority may also be caused by the user submitting a new scheduled electricity usage task.
[0154] In one embodiment, the first operating parameter and the second operating parameter are dynamically acquired by the energy management system according to a period, and the power consumption and power supply in the operating parameters often change with time.
[0155] Because the power supply equipment corresponding to each power-consuming device is determined in order of priority, when the first priority and / or the second priority changes, the power supply equipment supplying power to each power-consuming device may change. When the first operating parameter and / or the second operating parameter changes, the power supply equipment that was originally able to meet the power demand of the power-consuming device may no longer be able to meet the demand, so it is also necessary to re-determine the power supply equipment supplying power to each power-consuming device.
[0156] By adopting the technical solution of the embodiment of the present application, when the first priority, the second priority, the first operating parameter and / or the second operating parameter change, the power supply equipment for supplying power to each of the electrical devices can be re-determined based on the latest first priority, the second priority, the first operating parameter and / or the second operating parameter, thereby ensuring that the power supply equipment corresponding to the determined electrical device is a reasonable solution in the current state.
[0157] The energy management system is introduced in detail below. Figure 8 is a hardware architecture diagram of an energy management system provided in an embodiment of the present application, Fig. 9 This is a software architecture diagram of an energy management system provided in one embodiment of the present application.
[0158] In one embodiment, the hub device includes a device management module, a database management module, a driver control module, a policy control and a functional logic module. The device management module is used to manage the attribute status and online / offline status of the connected device; the database management module is used to store gateway information, access device information and policy configuration information; the driver control module is used to operate the underlying hardware to achieve control of hardware input and output, screen display and serial port transmission and reception; the policy control module is used to obtain the current device status and policy configuration information, and execute the corresponding control strategy; the functional logic module includes a Bluetooth network configuration module, etc., which is used to implement logical functions such as Bluetooth network configuration.
[0159] Fig.10This is a flow chart of the northbound communication design provided in one embodiment of the present application. The northbound communication module communicates with the platform to report messages and process downlink messages. The client sends HUB control instructions to the central device through the IOT cloud. The HUB determines the control type and executes the command, and returns the execution result to the IOT cloud. The client sends device control instructions to the central device through the IOT cloud. The HUB queries the device information, sends Modbus commands to the Modbus device, obtains the Modbus response sent by the Modbus device, and the HUB returns the execution result to the IOT cloud.
[0160] Fig.11 This is a southbound communication design flow chart provided by an embodiment of the present application. The southbound communication module handles the communication with the device to obtain the device status and send downlink messages. The HUB polls the device list, sends a Modbus query command to the Modbus device, and obtains the Modbus response message sent by the Modbus device. The HUB will judge the status change based on the Modbus response message, and report the device status to the IOT cloud, and then receive the report response returned by the IOT cloud.
[0161] Fig.12 This is a HUB data flow diagram provided by an embodiment of the present application. The HUB receives the cloud protocol, parses the cloud protocol, determines whether the cloud protocol is used to control the device, and executes the strategy according to the gateway configuration when it is not used to control the device. When it is used to control the device, it controls the device downstream and obtains the device status. It updates the device status and reports the device status.
[0162] Fig.13 This is a working principle diagram of the policy control module provided in an embodiment of the present application. The policy control module obtains the current device status and policy configuration information and executes the corresponding control policy. The policy control module checks the policy periodically, calculates the expected power of the energy storage, the expected power of the heat pump and the expected power of the charging pile, compares the expected power with the current status of the device, and sends a control command to the device when there is a difference between the expected power of the device and the current status of the device.
[0163] Fig.14This is a communication diagram of an energy management system provided by an embodiment of the present application. The gateway communicates with the platform via Ethernet, and the communication protocol complies with the protocol requirements of TCL; the periphery of the gateway main control chip includes a single-chip auxiliary chip, a Zigbee coordinator, a serial port screen, and buttons: the main control chip and the single-chip auxiliary chip are connected using SPI, with a custom communication protocol; the main control chip and the Zigbee coordinator are connected via UART, with a custom communication protocol; the main control chip and the serial port screen are connected via IO, with a custom communication protocol; there are two ways to connect the gateway to the Modbus device: a) Modbus RTU: connected via RS485, the communication follows the Modbus RTU protocol format; b) Modbus TCP: connected via TCP in the LAN, the communication follows the Modbus TCP protocol format.
[0164] On the basis of the above technical solution, in order to prevent the code of the algorithm implementation from being copied, a specific prefix and suffix can be added to the priority configuration file string in the code implementation, and the specific prefix and suffix can have a relatively obvious identification feature. The code compilation uses a fixed signature file and application package name. The encryption password of the signature file can be "tclplus". The compilation ID of the program code needs to be named according to the preset rules. The ID application name that does not comply with the rules will not be returned through the data of the cloud interface.
[0165] In order to better implement the energy management method of the present application, the present application also provides an energy management device based on the above energy management method. The meanings of the terms are the same as those in the above energy management method, and the specific implementation details can refer to the description in the method embodiment.
[0166] See also Fig.15 , Fig.15 : is a schematic diagram of the structure of an energy management device provided in an embodiment of the present application, the energy management device comprising:
[0167] A first determination module 501 is used to determine a current working mode and determine a first priority of each power supply device in the working mode;
[0168] A second determination module 502 is used to determine the second priority of each power-consuming device when different power supply devices are supplying power in the working mode;
[0169] A parameter acquisition module 503, used to acquire a first operating parameter of the power supply device and a second operating parameter of the power consumption device;
[0170] The third determination module 504 is used to determine the power supply device that supplies power to each of the electrical devices according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0171] In one of the embodiments, the first operating parameter includes power supply, and the second operating parameter includes power consumption;
[0172] The third determination module 504 includes:
[0173] A first determining unit is used to determine, according to the power supply of the power supply device and the power consumption of the power consumption device, in the order of the first priority from high to low and the order of the second priority from high to low, whether the remaining power supply of each power supply device is less than the power consumption of the target power consumption device; the target power consumption device is: the power consumption device with the highest second priority among the power consumption devices whose corresponding power supply devices have not yet been determined;
[0174] a judging unit, configured to judge whether the power supply of the next power supply device of the first priority is less than the power consumption of the target power consumption device when the remaining power supply of the power supply device is less than the power consumption of the target power consumption device;
[0175] The second determination unit is used to determine that the power supply device supplies power to the target power device when the remaining power supply of the power supply device is not less than the power consumption of the target power device, and to determine whether the latest remaining power supply of the power supply device is less than the latest power consumption of the target power device, until the power supply device that supplies power to each of the power devices is determined.
[0176] In one embodiment, the device further comprises:
[0177] A reservation acquisition module, configured to, in response to a submitted reserved power usage task, acquire, in the working mode, the second priority level of the reserved power usage device corresponding to the reserved power usage task when different power supply devices supply power;
[0178] A time parameter acquisition module, used to acquire the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task;
[0179] A time period determination module, used to determine the power consumption time period of the scheduled power consumption task according to the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task;
[0180] The device determination module is used to determine the power supply device that supplies power to the reserved power-consuming device during the power consumption period according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
[0181] In one embodiment, the second operating parameter includes power consumption and average power consumption, and the time parameter of the scheduled power consumption task includes a target end time;
[0182] The time period determination module comprises:
[0183] A duration determination unit, used to determine the duration of electricity consumption according to the electricity consumption and average power consumption of the reserved electricity-consuming equipment;
[0184] The time period determination unit is used to determine the power consumption time period of the scheduled power consumption task according to the target end time and the power consumption duration.
[0185] In one embodiment, the working mode includes: self-generation and self-use mode, peak-valley arbitrage mode, backup power mode and / or holiday mode; different working modes correspond to different candidate power-consuming devices;
[0186] In the self-generation and self-use mode, the candidate power-consuming devices include: power storage devices, charging piles and / or power conversion and storage devices;
[0187] In the peak-valley arbitrage mode, the candidate power-consuming devices include: power storage devices, power purchasing devices, charging piles and / or power conversion and storage devices;
[0188] In the backup power mode, the candidate power-consuming devices include: power storage devices;
[0189] In the holiday mode, the candidate electrical devices include: electrical energy storage devices;
[0190] The device also includes:
[0191] The candidate determination module is used to determine whether the candidate electric device is the electric device according to the target setting for the candidate electric device.
[0192] In one embodiment, the candidate determination module includes:
[0193] A power acquisition unit, used to acquire the remaining power of the electric energy storage device and to acquire a set power threshold of the electric energy storage device;
[0194] The device determination unit is used to determine whether the energy storage device is the power-consuming device when different power supply devices supply power in different working modes according to the relationship between the remaining power of the energy storage device and the power threshold.
[0195] In one embodiment, the device further comprises:
[0196] A redetermining module is used to redetermine the power supply device that supplies power to each of the electrical devices when it is detected that the first priority, the second priority, the first operating parameter and / or the second operating parameter change.
[0197] By adopting the technical solution of the embodiment of the present application, the first priority of each power supply device is different in different working modes, and the second priority of the power-consuming device is different when different power supply devices in different working modes supply power. Therefore, the power supply device that supplies power to each power-consuming device is subsequently determined based on the first operating parameter of the power supply device and the second operating parameter of the power-consuming device, as well as the first priority and the second priority. This is determined by considering different working modes, as well as the priorities of the power supply devices and the priorities of the power-consuming devices in different working modes, and is relatively reasonable.
[0198] For the specific definition of the energy management device, please refer to the definition of the energy management method above, which will not be repeated here. Each module in the above energy management device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0199] In addition, the present application also provides an electronic device, such as Fig.16 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:
[0200] The electronic device may include one or more processors 1601 of processing cores and one or more computer-readable storage media memories 1602 and other components. Those skilled in the art will appreciate that Fig.16 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0201] The processor 1601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1602 and calling data stored in the memory 1602, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 1601 may include one or more processing cores; preferably, the processor 1601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1601.
[0202] The memory 1602 can be used to store software programs and modules. The processor 1601 executes various functional applications and data processing by running the software programs and modules stored in the memory 1602. The memory 1602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 1602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 1602 may also include a memory controller to provide the processor 1601 with access to the memory 1602.
[0203] In one embodiment, the electronic device further includes a power supply 1603 for supplying power to various components. Preferably, the power supply 1603 can be logically connected to the processor 1601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 1603 can also include any components such as one or more DC or AC power supplies, recharging systems, power supply device debugging circuits, power converters or inverters, and power status indicators.
[0204] In one embodiment, the electronic device may further include an input unit 1604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0205] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 1601 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 1602 according to the following instructions, and the processor 1601 will run the application programs stored in the memory 1602, thereby implementing the steps in any one of the energy management methods provided in the embodiments of the present application.
[0206] Those skilled in the art will understand that Fig.16 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0207] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method described in any embodiment of the present application is implemented.
[0208] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any embodiment of the present application is implemented.
[0209] In some embodiments, a computer program product is also proposed, including a computer program or instructions, which implement the method described in any embodiment of the present application when executed by a processor.
[0210] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0211] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0212] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any energy management method provided in the present application.
[0213] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0214] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0215] Since the instructions stored in the computer-readable storage medium can execute the steps in any energy management method provided in the present application, the beneficial effects that can be achieved by any energy management method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0216] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0217] The above is a detailed introduction to an energy management method, device, electronic device and computer-readable storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. An energy management method, characterized in that: include: Determine a current working mode and determine a first priority of each power supply device in the working mode; Determine the second priority of each power-consuming device when powered by different power supply devices in the working mode; Acquire a first operating parameter of the power supply device and a second operating parameter of the power consumption device; as well as A power supply device for supplying power to each of the electrical devices is determined according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
2. The method according to claim 1, characterized in that The first operating parameter includes power supply, and the second operating parameter includes power consumption; The step of determining the power supply device for supplying power to each of the power-consuming devices according to the first priority and the second priority, and the first operating parameter and the second operating parameter includes: According to the power supply of the power supply device and the power consumption of the power-consuming device, in the order of the first priority from high to low and the order of the second priority from high to low, determine in sequence whether the remaining power supply of each of the power supply devices is less than the power consumption of the target power-consuming device; the target power-consuming device is: the power-consuming device with the highest second priority among the power-consuming devices whose corresponding power supply devices have not yet been determined; When the remaining power supply of the power supply device is less than the power consumption of the target power-consuming device, determining whether the power supply of the next first-priority power supply device is less than the power consumption of the target power-consuming device; When the remaining power supply of the power supply device is not less than the power consumption of the target power-consuming device, determine that the power supply device supplies power to the target power-consuming device, and determine whether the latest remaining power supply of the power supply device is less than the latest power consumption of the target power-consuming device, until the power supply device that supplies power to each of the power-consuming devices is determined.
3. The method according to claim 1, characterized in that The method further comprises: In response to the submitted reserved power usage task, obtaining the second priority level of the reserved power usage device corresponding to the reserved power usage task when different power supply devices supply power in the working mode; Acquire a second operating parameter of the scheduled power consumption device and a time parameter of the scheduled power consumption task; Determining a power consumption time period of the scheduled power consumption task according to the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task; A power supply device that supplies power to the reserved power-consuming device during the power consumption period is determined according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
4. The method according to claim 3, characterized in that The second operating parameter includes power consumption and average power consumption, and the time parameter of the scheduled power consumption task includes a target end time; The step of determining the power consumption time period of the scheduled power consumption task according to the second operating parameter of the scheduled power consumption device and the time parameter of the scheduled power consumption task comprises: Determine the duration of electricity consumption according to the electricity consumption and average power consumption of the reserved electricity-consuming equipment; The electricity consumption time period of the scheduled electricity consumption task is determined according to the target end time and the electricity consumption duration.
5. The method according to claim 1, characterized in that The working modes include: self-generation and self-use mode, peak-valley arbitrage mode, backup power mode and / or holiday mode; different working modes correspond to different candidate power-consuming devices; In the self-generation and self-use mode, the candidate power-consuming devices include: power storage devices, charging piles and / or power conversion and storage devices; In the peak-valley arbitrage mode, the candidate power-consuming devices include: power storage devices, power purchasing devices, charging piles and / or power conversion and storage devices; In the backup power mode, the candidate power-consuming devices include: power storage devices; In the holiday mode, the candidate electrical devices include: electrical energy storage devices; The method further comprises: According to the target setting for the candidate electric device, it is determined whether the candidate electric device is the electric device.
6. The method according to claim 5, characterized in that The determining whether the candidate electric device is the electric device according to the target setting of the candidate electric device includes: Acquire the remaining power of the electric energy storage device, and acquire the set power threshold of the electric energy storage device; According to the relationship between the remaining power of the electric energy storage device and the power threshold, it is determined whether the electric energy storage device is the power-consuming device when different power supply devices supply power in different working modes.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When it is detected that the first priority, the second priority, the first operating parameter and / or the second operating parameter change, the power supply device that supplies power to each of the power-consuming devices is re-determined.
8. An energy management device, characterized in that: include: A first determination module, used to determine a current working mode and determine a first priority of each power supply device under the working mode; A second determination module, used to determine the second priority of each power-consuming device when different power supply devices are supplying power in the working mode; A parameter acquisition module, used to acquire a first operating parameter of the power supply device and a second operating parameter of the power consumption device; as well as The third determination module is used to determine the power supply device that supplies power to each of the electrical devices according to the first priority and the second priority, and the first operating parameter and the second operating parameter.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the energy management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the energy management method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and system for controlling devices in micro grid based on priority
CN104037774A
Energy management method, device and system
CN108767866A
Intelligent control energy storage system
CN111682569A
Energy management method and device, computer equipment and computer readable storage medium
CN114331757A
Methods and systems for energy management and optimization
US20240266828A1