Energy management method and device, electronic equipment and computer readable storage medium

By prioritizing power supply equipment and power consumption equipment and selecting power supply equipment based on operating parameters, the problem of rationally selecting multiple power supply methods in a home energy management system is solved, thus optimizing energy efficiency and cost.

CN119623925BActive Publication Date: 2025-12-19SHENZHEN TCL NEW-TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411573858.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-12-19
Estimated Expiration
2044-11-05

AI Technical Summary

Technical Problem

Existing home energy management systems fail to effectively manage multiple power supply methods, making it impossible to choose the appropriate power supply method.

Method used

By prioritizing power supply equipment and electrical appliances, and selecting appropriate power supply equipment based on operating parameters, efficient management of household electrical appliances can be achieved.

Benefits of technology

It enables the rational selection of power supply equipment based on cost and the urgency of power use under different working modes, thereby optimizing energy efficiency and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119623925B_ABST
    Figure CN119623925B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an energy management method and device, electronic equipment and a computer readable storage medium. The method comprises: determining a current working mode, and determining first priorities of each power supply device in the working mode; determining second priorities of each power consumption device when different power supply devices supply power in the working mode; obtaining first running parameters of the power supply device and second running parameters of the power consumption device; and determining a power supply device supplying power to each power consumption device according to the first priorities and the second priorities, and the first running parameters and the second running parameters. Thus, the present application can determine a power supply device supplying power to each power consumption device when there are multiple power supply devices.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of energy management, and specifically relate to an energy management method and device, electronic equipment and a computer readable storage medium. BACKGROUND

[0002] A household energy management system is a virtual power station management system for households. The household energy management system can automatically control the switching or power adjustment of household appliances according to preset rules or user instructions, or can provide personalized energy-saving suggestions to users, such as adjusting the air conditioner temperature according to the weather, or turning off the lights when no one is at home. However, the household energy management system in the related art usually only manages household appliances, and does not manage the power supply mode. Therefore, when there are multiple power supply modes, how to select a reasonable power supply mode is a problem to be solved. SUMMARY

[0003] Embodiments of the present application provide an energy management method and device, electronic equipment and a computer readable storage medium, which can determine a power supply device for supplying power to each power consumption device.

[0004] In a first aspect, embodiments of the present application provide an energy management method, comprising:

[0005] determining a current working mode, and determining a first priority of each power supply device in the working mode;

[0006] determining a second priority of each power consumption device when powered by different power supply devices in the working mode;

[0007] obtaining a first operating parameter of the power supply device and a second operating parameter of the power consumption device; and

[0008] determining a power supply device for supplying power to each power consumption device according to the first priority and the second priority, and the first operating parameter and the second operating parameter.

[0009] In one embodiment, the first operating parameter includes power supply capacity, and the second operating parameter includes power consumption capacity.

[0010] The determination of the power supply device for supplying power to each power consumption device according to the first priority and the second priority, and the first operating parameter and the second operating parameter, comprises:

[0011] According to the power supply amount of the power supply device and the power consumption amount of the power consumption device, whether the remaining power supply amount of each power supply device is less than the power consumption amount of a target power consumption device is determined in order of the first priority from high to low and the second priority from high to low; 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 been determined;

[0012] When the remaining power supply amount of the power supply device is less than the power consumption amount of the target power consumption device, whether the power supply amount of a next power supply device with the first priority is less than the power consumption amount of the target power consumption device is determined.

[0013] When the remaining power supply amount of the power supply device is not less than the power consumption amount of the target power consumption device, it is determined that the power supply device supplies power to the target power consumption device, and whether the newly remaining power supply amount of the power supply device is less than the power consumption amount of a newly target power consumption device is determined until the power supply device supplying power to each power consumption device is determined.

[0014] In one embodiment, the method further comprises:

[0015] In response to the submitted reservation power consumption task, the second priority of the reservation power consumption device corresponding to the reservation power consumption task when being powered by different power supply devices in the working mode is obtained.

[0016] The second running parameter of the reservation power consumption device and the time parameter of the reservation power consumption task are obtained.

[0017] According to the second running parameter of the reservation power consumption device and the time parameter of the reservation power consumption task, the power consumption period of the reservation power consumption task is determined.

[0018] According to the first priority and the second priority, and the first running parameter and the second running parameter, the power supply device supplying power to the reservation power consumption device in the power consumption period is determined.

[0019] In one embodiment, the second running parameter includes power consumption amount and average power consumption, and the time parameter of the reservation power consumption task includes target end time.

[0020] The determination of the power consumption period of the reservation power consumption task according to the second running parameter of the reservation power consumption device and the time parameter of the reservation power consumption task comprises:

[0021] According to the power consumption amount and the average power consumption of the reservation power consumption device, the power consumption duration is determined.

[0022] According to the target end time and the power consumption duration, the power consumption period of the reservation power consumption task is determined.

[0023] In one of the embodiments, the working modes include: a self-use mode, a peak-valley arbitrage mode, a standby power mode and / or a holiday mode; different working modes correspond to different candidate power consuming devices;

[0024] In the self-use mode, the candidate power consuming devices include: an electric energy storage device, a charging pile and / or an electric energy conversion storage device;

[0025] In the peak-valley arbitrage mode, the candidate power consuming devices include: an electric energy storage device, a power buying device, a charging pile and / or an electric energy conversion storage device;

[0026] In the standby power mode, the candidate power consuming devices include: an electric energy storage device;

[0027] In the holiday mode, the candidate power consuming devices include: an electric energy storage device;

[0028] The method further includes:

[0029] According to the target setting of the candidate power consuming device, it is determined whether the candidate power consuming device is the power consuming device.

[0030] In one of the embodiments, according to the target setting of the candidate power consuming device, it is determined whether the candidate power consuming device is the power consuming device, which includes:

[0031] The remaining electric quantity of the electric energy storage device is obtained, and the electric quantity threshold value of the electric energy storage device is obtained;

[0032] According to the size relationship between the remaining electric quantity of the electric energy storage device and the electric quantity threshold value, 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 of the embodiments, the method further includes:

[0034] When the first priority, the second priority, the first running parameter and / or the second running parameter are detected to change, the power supply device supplying power to each power consuming device is re-determined.

[0035] In a second aspect, the embodiments of the present application provide an energy management device, which includes:

[0036] A first determination module is configured to determine a current working mode and determine a first priority of each power supply device in the working mode;

[0037] a second determination module configured to determine second priorities of each of the power-consuming devices when powered by different power-providing devices in the working mode;

[0038] a parameter acquisition module configured to acquire first operation parameters of the power-providing devices and second operation parameters of the power-consuming devices; and

[0039] a third determination module configured to determine the power-providing devices for powering each of the power-consuming devices according to the first priorities and the second priorities, and the first operation parameters and the second operation parameters.

[0040] In one of the embodiments, the first operation parameters include power-providing amounts, and the second operation parameters include power-consuming amounts.

[0041] The third determination module includes:

[0042] a first determination unit configured to determine, according to the power-providing amounts of the power-providing devices and the power-consuming amounts of the power-consuming devices, whether a remaining power-providing amount of each of the power-providing devices is less than a power-consuming amount of a target power-consuming device in a sequence from high to low of the first priorities and a sequence from high to low of the second priorities; the target power-consuming device is a power-consuming device with the highest second priority among the power-consuming devices for which corresponding power-providing devices have not been determined.

[0043] a judgment unit configured to judge whether a power-providing amount of a next power-providing device with a next first priority is less than the power-consuming amount of the target power-consuming device when the remaining power-providing amount of the power-providing device is less than the power-consuming amount of the target power-consuming device.

[0044] a second determination unit configured to determine that the power-providing device powers the target power-consuming device and determine whether a newly remaining power-providing amount of the power-providing device is less than a power-consuming amount of a newly target power-consuming device when the remaining power-providing amount of the power-providing device is not less than the power-consuming amount of the target power-consuming device, until the power-providing devices for powering each of the power-consuming devices are determined.

[0045] In one of the embodiments, the apparatus further includes:

[0046] a reservation acquisition module configured to acquire, in response to a submitted reservation power-consuming task, the second priorities of a reservation power-consuming device corresponding to the reservation power-consuming task when powered by different power-providing devices in the working mode;

[0047] a time parameter acquisition module configured to acquire a second operation parameter of the reservation power-consuming device and a time parameter of the reservation power-consuming task.

[0048] The period determination module is configured to determine an electricity consumption period of the scheduled electricity consumption task according to the second operation parameter of the scheduled electricity consumption device and a time parameter of the scheduled electricity consumption task.

[0049] The device determination module is configured to determine a power supply device for supplying power to the scheduled electricity consumption device in the electricity consumption period according to the first priority and the second priority, and the first operation parameter and the second operation parameter.

[0050] In one of the embodiments, the second operation parameter includes an electricity consumption amount and an average electricity consumption power, and the time parameter of the scheduled electricity consumption task includes a target end time.

[0051] The period determination module includes:

[0052] The duration determination unit is configured to determine an electricity consumption duration according to the electricity consumption amount and the average electricity consumption power of the scheduled electricity consumption device.

[0053] The period determination unit is configured to determine the electricity consumption period of the scheduled electricity consumption task according to the target end time and the electricity consumption duration.

[0054] In one of the embodiments, the working mode includes a self-generation self-use mode, a peak-valley arbitrage mode, a standby power mode and / or a holiday mode; different working modes correspond to different candidate electricity consumption devices.

[0055] In the self-generation self-use mode, the candidate electricity consumption device includes an energy storage device, a charging pile and / or an energy conversion storage device.

[0056] In the peak-valley arbitrage mode, the candidate electricity consumption device includes an energy storage device, a power purchase device, a charging pile and / or an energy conversion storage device.

[0057] In the standby power mode, the candidate electricity consumption device includes an energy storage device.

[0058] In the holiday mode, the candidate electricity consumption device includes an energy storage device.

[0059] The apparatus further includes:

[0060] The candidate determination module is configured to determine whether the candidate electricity consumption device is the electricity consumption device according to a target setting of the candidate electricity consumption device.

[0061] In one of the embodiments, the candidate determination module includes:

[0062] The electricity amount acquisition unit is configured to acquire a remaining electricity amount of the energy storage device and acquire a set electricity amount threshold of the energy storage device.

[0063] The device determining unit is configured to determine, according to a size relationship between the residual power of the power storage device and the power threshold, whether the power storage device is the power supply device for the power consumption device in different working modes.

[0064] In one of the embodiments, the apparatus further comprises:

[0065] The re-determining module is configured to re-determine the power supply device for the power consumption device when the first priority, the second priority, the first operating parameter and / or the second operating parameter are detected to change.

[0066] In a third aspect, the embodiments of the present application further provide an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is executed by the processor to implement the steps of the energy management method.

[0067] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the energy management method.

[0068] In a fifth aspect, the embodiments of the present application further provide a computer program product or a computer program, which comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to make the computer device execute the method provided in the various optional implementation manners of the embodiments of the present application.

[0069] To sum up, in the embodiments of the present application, the first priorities of the power supply devices in different working modes are different, and the second priorities of the power consumption devices are different when the power supply devices in different working modes supply power. Therefore, the power supply devices for the power consumption devices determined according to the first operating parameters of the power supply devices, the second operating parameters of the power consumption devices, the first priorities and the second priorities are determined in consideration of the different working modes, and the priorities of the power supply devices and the priorities of the power consumption devices in different working modes, which is more reasonable. BRIEF DESCRIPTION OF DRAWINGS

[0070] In order to more clearly illustrate the technical solutions in the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.

[0071] Figure 1 is a power line design diagram of an energy management system provided by an embodiment of the present application;

[0072] Figure 2 is a communication topology diagram of an energy management system provided by an embodiment of the present application;

[0073] Figure 3 is a step schematic diagram of an energy management method provided by an embodiment of the present application;

[0074] Figure 4 is a flow schematic diagram of determining a power supply device provided by an embodiment of the present application;

[0075] Figure 5 is a step schematic diagram of an energy management method provided by an embodiment of the present application;

[0076] Figure 6 is a schematic diagram of a working mode provided by an embodiment of the present application;

[0077] Figure 7 is a step schematic diagram 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] Figure 9 is a software architecture diagram of an energy management system provided by an embodiment of the present application;

[0080] Figure 10 is a northward communication design flowchart provided by an embodiment of the present application;

[0081] Figure 11 is a southward communication design flowchart provided by an embodiment of the present application;

[0082] Figure 12 is a HUB data flowchart provided by an embodiment of the present application;

[0083] Figure 13 is a working principle diagram of a strategy control module provided by an embodiment of the present application;

[0084] Figure 14 is a communication schematic diagram of an energy management system provided by an embodiment of the present application;

[0085] Figure 15 is a structural schematic diagram of an energy management device provided by an embodiment of the present application;

[0086] Figure 16 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0087] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0088] The technical solutions in the embodiments of the present application can be applied to an energy management system, and each energy management system is used for managing devices in a preset range. For example, one energy management system can be used for managing devices in a home, and another energy management system can be used for managing devices in a factory. Figure 1 is a power line design diagram of the energy management system, Figure 2 is a communication topology diagram of the energy management system. The energy management system includes a hub device (HUB), a power supply device, a power consumption device, and a client.

[0089] In one embodiment, the technical solutions in the embodiments of the present application can be specifically applied to a hub device of an energy management system. The hub device has edge computing capability, and the hub device includes a scheduling control unit, a data center unit, a task center, a task execution unit, a hub control unit, and a hub unit. The task center is used for determining information of each task queue, and the information of the task queue includes but is not limited to: power consumption of each power consumption task, latest start time, target end time, average power median, and / or highest power threshold. The data center unit is used for obtaining instant data information of each power consumption device and power supply device. The hub unit is used for optimally scheduling each power consumption task according to the obtained information of the task queue and the instant data information. The task execution unit is used for executing the power consumption task according to the scheduling of the hub unit. The hub control unit is used for notifying the hub unit to re-schedule when data and / or power consumption tasks change.

[0090] In one embodiment, the power supply device includes a green power generation device, an electric energy storage device, and / or a power grid power supply device. The green power generation device can be a photovoltaic power generation device, and the photovoltaic power generation device includes a panel and an inverter. The electric energy storage device can be used as a power supply device or a power consumption device. In one embodiment, when the electric quantity stored in the electric energy storage device is greater than an electric quantity threshold, the electric energy storage device is determined as a power supply device. The power grid power supply device is used for supplying power to the power consumption device by using the power of the national power grid. It can be understood that the electricity price is different in different time periods, so the cost of using the power grid power supply device in different time periods is different, and therefore the priority of the power grid power supply device in different time periods can be different.

[0091] In one embodiment, the power consuming device includes a general load, a pre-arranged power consuming device corresponding to a pre-arranged power consuming task, an electric energy storage device, a charging pile, an electric energy conversion storage device, and / or a power selling device. The general load refers to a device used by a user in daily life, such as a refrigerator and a lamp. The pre-arranged power consuming device corresponding to the pre-arranged power consuming task can be a device that a user arranges to achieve a charging target at a certain time, and the charging target can be starting charging or being fully charged. The electric energy storage device has different priorities when it is used as a power consuming device according to the size relationship between the stored electric quantity and the electric quantity threshold. The charging pile can store electric energy, but the stored electric energy can only be used to charge a vehicle 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 that can convert electric energy into heat energy for storage. The power selling device can obtain electric energy from a power supply device and then sell the electric energy.

[0092] The client can provide a user with a selection of a working mode, a pre-arranged power consuming task, and management of a power consuming device. The client sends relevant instructions to the hub device in response to a user operation, the hub device performs calculation to determine an 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 a power consuming time of the power consuming device and a power supply device that supplies power to the power consuming device.

[0093] In one embodiment, as shown in Figure 3 , an energy management method is provided. Although a logical sequence is shown in the step schematic diagram, in some cases, the steps shown or described can be performed in an order different from that shown in the figure.

[0094] The following are described in detail respectively. It should be noted that the sequence of the following embodiments is not limited as the priority sequence of the embodiments.

[0095] According to Figure 3 , the energy management method includes at least steps S110 to S140, which are described in detail as follows:

[0096] In step S110, a current working mode is determined, and a first priority of each power supply device in the working mode is determined.

[0097] Because each energy management system manages devices in a preset range, each device in the management range of the energy management system works in the same working mode. For example, an energy management system manages devices in a family, the current working mode is mode A, and each device in the family works in mode A.

[0098] The working modes include, but are not limited to, a self-use mode, a peak-valley arbitrage mode, a standby power mode and / or a holiday mode. In the self-use mode, the power generated by the green power generation device is used by the user's family without being sold. In the peak-valley arbitrage mode, the power is sold through the power selling device, and the sold power can be the power generated by the green power generation device or the power obtained from the power grid power supply device at a low electricity price. In the standby power mode, the power generated by the green power generation device can be stored in the power storage device, the charging pile and / or the power selling device, and / or the power can be converted and stored in the power conversion storage device. In the holiday mode, the power generated by the green power generation device can be stored in the power storage device and / or the power selling device.

[0099] The user can select the current working mode on the client, and the client sends a corresponding mode selection instruction to the hub device. The hub device can determine the current working mode according to the mode selection instruction, so as to control 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 according to the cost, and the lower the cost, the higher the first priority of the power supply device.

[0100] In an embodiment, the first priority of the power supply device is a target priority, which indicates that the power supply device does not supply power in this working mode. For example, the first priority of the power storage device with an electric quantity less than the electric quantity threshold is a target priority, and the power storage device with an electric quantity less than the electric quantity threshold is not a power supply device in this mode.

[0101] In step S120, the second priority of each power-consuming device when different power supply devices supply power is determined in the working mode.

[0102] The second priority of the power-consuming device is mainly determined according to the power consumption time of the power-consuming device, the emergency degree of power consumption, etc. The earlier the power consumption time of the power-consuming device, the more urgent the emergency degree of power consumption, and the higher the second priority.

[0103] In the same working mode, the second priority of each power-consuming device when different power supply devices supply power can also be different. The first priority of the power-consuming device is a target priority, which indicates that the power-consuming device does not consume power when the power supply device supplies power in this working mode. For example, the second priority of the charging pile is a target priority when the power storage device supplies power in the self-use mode, and the charging pile does not consume power.

[0104] In an embodiment, the first priority and the second priority can be configured according to Table 1.

[0105] Table 1. Configuration table of first priority and second priority

[0106]

[0107] The first column in Table 1 is each working mode, the second column is the power supply device for power supply in each working mode, the first priority of the power supply device arranged in the front column is higher, and the last several columns are the power consumption devices. In the checked power consumption devices, the power consumption device arranged in the left side has a higher second priority, and the un-checked power consumption device represents that the power consumption device does not consume power when the current working mode is powered by the current power supply device. The power grid power supply device-valley represents the power grid power supply device when the electricity price is low, and the power grid power supply device-peak represents the power grid power supply device when the electricity price is high.

[0108] The first electric energy storage device is an electric energy storage device with an electric quantity not greater than an electric quantity threshold, and the second electric energy storage device is an electric energy storage device with an electric quantity greater than the electric quantity threshold. For example, the third row in Table 1 represents that when the second electric energy storage device is powered in the self-generation and self-use mode, the power consumption devices include general loads, reservation power consumption device 1 and reservation power consumption device 2, and the order of each power consumption device according to the second priority from high to low is: general loads are higher than reservation power consumption device 1, and reservation power consumption device 1 is higher than reservation power consumption device 2.

[0109] In step S130, the first operating parameter of the power supply device and the second operating parameter of the power consumption device are obtained.

[0110] The operating parameter of the device is various indexes for describing the operation of the device, including electrical parameters and / or performance parameters, etc. The device can be a power supply device, and can be a power consumption device. The operating parameter of the device can change in real time, so the operating parameter of the device can be periodically and dynamically obtained. The first operating parameter of the power supply device includes the power supply quantity of the power supply device. The operating parameter of the power consumption device includes the power consumption quantity, the average power consumption power and / or the maximum power consumption power, etc.

[0111] In step S140, according to the first priority and the second priority, and the first operating parameter and the second operating parameter, the power supply device for power supply to each power consumption device is determined.

[0112] In order to save costs, when the power supply device is determined, the power supply device with a high first priority is used first. When it is determined which power consumption devices are powered, the power supply device corresponding to the power consumption device with a high second priority is determined first. According to the first operating parameter of the power supply device and the second operating parameter of the power consumption device, it can be determined whether each power supply device is sufficient to ensure the power consumption demand of each power consumption device.

[0113] Therefore, according to the first operation parameter and the second operation parameter, the power supply device for supplying 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 application, the first priority of each of the power supply devices is different in different working modes, and the second priority of the power consuming device is different when the power supply device in different working modes supplies power. Therefore, the power supply device for supplying power to each of the power consuming devices is determined according to the first operation parameter of the power supply device and the second operation parameter of the power consuming device, and the first priority and the second priority, which is reasonable considering different working modes, and the priority of the power supply device and the priority of the power consuming device in different working modes.

[0115] On the basis of the above technical solution, as an embodiment, the first operation parameter includes a power supply amount, and the second operation parameter includes a power consumption amount; and step S140 can specifically include:

[0116] According to the power supply amount of the power supply device and the power consumption amount of the power consuming device, whether the remaining power supply amount of each of the power supply devices is less than the power consumption amount of a target power consuming device is determined in sequence according to the first priority from high to low and the second priority from high to low; the target power consuming device is the power consuming device with the highest second priority among each of the power consuming devices whose corresponding power supply device has not been determined.

[0117] When the remaining power supply amount of the power supply device is less than the power consumption amount of the target power consuming device, whether the power supply amount of the power supply device with the next first priority is less than the power consumption amount of the target power consuming device is determined.

[0118] When the remaining power supply amount of the power supply device is not less than the power consumption amount of the target power consuming device, it is determined that the power supply device supplies power to the target power consuming device, and whether the newly remaining power supply amount of the power supply device is less than the power consumption amount of the newly target power consuming device is determined until the power supply device for supplying power to each of the power consuming devices is determined.

[0119] As 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 consumption device are determined. The power supply amount of each power supply device and the power consumption amount of each power consumption device are obtained. The power supply amount of the green power generation device is the sum of the remaining power amount and the to-be-generated power amount of the green power generation device; the to-be-generated power amount is determined according to the power generation power and the time of the green power generation device. The power supply amount of the power storage device is the stored power amount of the power storage device. The power supply amount of the power grid power supply device can be regarded as infinite, but the power supply amount of the power grid power supply device in a certain time period can be determined according to the time period and the power of the power grid power supply device. The power consumption amount of the power consumption device can be a scheduled power consumption amount, or a power consumption amount determined according to experience, or a power consumption amount predicted by using a neural network model.

[0120] First, the power consumption device with the highest second priority is determined as a target power consumption device. According to the power supply amount of the power supply device with the highest first priority and the power consumption amount of the target power consumption device, it is determined whether the power supply amount of the power supply device is greater than or equal to the power consumption amount of the target power consumption device. In the case where the power supply amount of the power supply device is greater than or equal to the power consumption amount of the target power consumption device, the power supply device is determined as a power supply device for supplying power to the target power consumption device, and the difference between the power supply amount of the power supply device with the highest first priority and the power consumption amount of the target power consumption device is determined as the remaining power supply amount of the power supply device. In addition, the power consumption device with the highest second priority among the power consumption devices other than the target power consumption device is determined as the latest target power consumption device.

[0121] In the case where the power supply amount of the power supply device is not greater than or equal to the power consumption amount of the target power consumption device, it is determined whether the power supply device of the next priority can supply power to the target power consumption device: according to whether the power supply amount of the power supply device of the next priority is greater than or equal to the power consumption amount of the target power consumption device, it is determined whether the power supply device of the next priority can supply power to the target power consumption device, until the power supply device corresponding to the target power consumption device is determined.

[0122] When the power supply device corresponding to one power consumption device is determined, the power supply device corresponding to the power consumption device of the next priority is continuously determined: it is determined whether the remaining power supply amount of the power consumption device with the highest second priority is greater than or equal to the power consumption amount of the latest target power consumption device. In the case where the remaining power supply amount of the power consumption device with the highest second priority is greater than or equal to the power consumption amount of the latest target power consumption device, the power supply device is determined as a power supply device for supplying power to the latest target power consumption device.

[0123] According to the technical solution of the embodiment of the present application, each power consumption device can be sequentially determined with a corresponding power supply device according to the first priority from high to low and the second priority from high to low. According to the first priority from high to low, the cost can be guaranteed to be low, and according to the second priority from high to low, the power consumption device with an earlier power consumption time or a more urgent power consumption emergency can be determined with a power supply device in priority.

[0124] On the basis of the above technical solution, as an embodiment, as shown in Figure 5 The energy management method further includes steps S150 to S180.

[0125] In step S150, in response to a submitted reservation power consumption task, the second priority of a reservation power consumption device corresponding to the reservation power consumption task when powered by different power supply devices in the working mode is obtained.

[0126] The reservation power consumption task can be a power consumption task reserved by a user through a client, and the reservation power consumption task corresponds to a reservation power consumption device. The reservation power consumption device is also a power consumption device, and therefore the second priority of the reservation power consumption device can also be obtained.

[0127] In step S160, the second running parameter of the reservation power consumption device and the time parameter of the reservation power consumption task are obtained.

[0128] The time parameter of the reservation power consumption task can be a start time, a latest start time, and / or a target end time, etc. of the reservation power consumption task. The reservation power consumption task usually has a time parameter, which can be directly determined at the time of reservation or calculated. For example, the user can reserve to fully charge the car at 8 am tomorrow, in which 8 am tomorrow is a target end time directly determined at the time of reservation; based on 8 am tomorrow and the time length required for full charging, the latest start time is calculated.

[0129] The method for obtaining the second running parameter of the reservation power consumption device is the same as the method for obtaining the second running parameter of other power consumption devices.

[0130] In step S170, the power consumption period of the reservation power consumption task is determined according to the second running parameter of the reservation power consumption device and the time parameter of the reservation power consumption task.

[0131] In the case that the power consumption period of the reservation power consumption task can be adjusted, the power consumption period of the reservation power consumption task can be determined according to the second running parameter of the reservation power consumption device and the time parameter of the reservation power consumption task.

[0132] In one embodiment, the second operation parameter comprises power consumption and average power consumption, and the time parameter of the scheduled power consumption task comprises a target end time; and step S170 can comprise: determining a power consumption duration according to the power consumption and the average power consumption of the scheduled power consumption device; and determining a power consumption period of the scheduled power consumption task according to the target end time and the power consumption duration.

[0133] The quotient of the power consumption and the average power consumption of the scheduled power consumption device 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. The power consumption period of the scheduled power consumption task is determined according to the start time and the power consumption duration.

[0134] In this way, the power consumption period of the scheduled power consumption task can be determined, so that the scheduled power consumption task is executed in the power consumption period of the scheduled power consumption task, thereby achieving planning of the scheduled power consumption task in the time dimension.

[0135] In step S180, a power supply device for supplying power to the scheduled power consumption device in the power consumption period is determined according to the first priority and the second priority, and the first operation parameter and the second operation parameter.

[0136] In determining the power supply device corresponding to each scheduled power consumption device, the scheduled power consumption device is regarded as a power consumption device, and the power supply device for supplying power to each power consumption device is determined in turn according to the first priority of each power supply device in descending order and the second priority of each power consumption device in descending order. The power supply device supplies power to the scheduled power consumption device in the power consumption period of the scheduled power consumption device.

[0137] In an embodiment, based on the technical solution of the embodiment of the present application, user A sets a reservation through the client at 12:00 on August 28, 2024, with the content being: needing to travel at 8:00 on August 29, 2024, and requiring the smart electric vehicle under the garage to be charged to full power before that. The cumulative power that can be generated by the green power generation device of the user is set to 10 kWh from 12:00 to 8:00. When the user sets the reservation, the remaining power of the smart electric vehicle is 4 kWh, and the full power capacity of the smart electric vehicle is 60 kWh. Through calculation, it is known that 56 kWh of power needs to be charged for the smart electric vehicle of the user before 8:00. The energy management system inquires that the charging power of the charging pile for charging the smart electric vehicle is 7 kW, so it takes 8 hours to charge 56 kWh of power for the smart electric vehicle. The full power of the power storage device of the user is set to 10 kWh, and it is calculated that other loads (such as air conditioners, etc.) need to consume 3 kWh during this period. It is set that 06:00-22:00 is the peak price interval of the power grid, and 22:00-06:00 is the valley price interval of the power grid. Through calculation, 39 kWh needs to be purchased through the power supply device of the power grid before 8:00 the next day. The charging power is 7 kW, and it takes about 5.6 hours to charge 39 kWh of power.

[0138] The central device of the energy management system knows through scheduling and calculation that a task needs to be created through a 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 7 kW, and the maximum power is 7 kW). The central device of the energy management system puts the above task into the queue and waits for further scheduling. The central device of the energy management system will dynamically adjust the attributes of the task according to the instantaneous load power consumption of the user, the remaining power of the battery, and the power generation power of the green power generation device before the latest start time. Until the latest start time of the task calculated this time is within the set threshold (n minutes) from the current time, the task will be scheduled into the execution unit for execution.

[0139] The above execution path is: starting to charge the smart electric vehicle at 00:00, with a power of 7 kW, and after the power supply device of the power grid charges for 5.6 hours, switching to the green power generation device for charging, using the power storage device for charging after the green power generation device is used up. Through the above calculation, the smart electric vehicle is fully charged before 8:00, and the minimum required 39 kWh of power 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 device can be determined for the reservation 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, so as to ensure that the cost is low. On the other hand, the power consumption period of the reservation power consumption task is determined, so as to realize the planning of the reservation power consumption task in the time dimension.

[0141] On the basis of the above technical solutions, as shown in Figure 6 the working modes include: self-generation self-use mode, peak-valley arbitrage mode, standby power mode and / or holiday mode. Different working modes correspond to different candidate electrical equipment; in the self-generation self-use mode, the candidate electrical equipment includes: electrical energy storage equipment, charging pile and / or electrical energy conversion storage equipment; in the peak-valley arbitrage mode, the candidate electrical equipment includes: electrical energy storage equipment, electricity buying equipment, charging pile and / or electrical energy conversion storage equipment; in the standby power mode, the candidate electrical equipment includes: electrical energy storage equipment; in the holiday mode, the candidate electrical equipment includes: electrical energy storage equipment; the energy management method further includes: determining whether the candidate electrical equipment is the electrical equipment according to the target setting of the candidate electrical equipment.

[0142] In order to facilitate reading, hereinafter the electrical energy conversion storage equipment is described as a heat pump.

[0143] As an embodiment, each working mode can further subdivide the working mode according to the working state of the charging pile and the heat pump. For example, the peak-valley arbitrage mode can be further subdivided into green electricity mode, economic mode and reservation mode; in the green electricity mode, only the green electricity power supply equipment is used to supply power to the charging pile and the heat pump; in the economic mode, the peak-valley time of electricity price can be set, so as to automatically supply power to the charging pile and the heat pump when the electricity price is low; in the reservation mode, the charging pile and the heat pump are supplied with power according to the reserved time. In an embodiment, the peak-valley arbitrage mode can further include charging pile reservation mode, heat pump reservation mode, charging pile economic mode and heat pump economic mode.

[0144] The user can select different working modes on the client, and through the configuration of battery use threshold, charging pile switch, electrical energy conversion storage equipment switch, electricity buying switch, peak-valley period, summer time switch, etc., the user can realize the customization of each working mode.

[0145] Through the configuration of battery use threshold, electricity buying switch, charging pile switch, electrical energy conversion storage equipment switch, etc., it can be determined whether the corresponding electrical energy storage equipment, electricity buying equipment, charging pile and / or electrical energy conversion storage equipment is determined as the electrical equipment. The candidate electrical equipment can be regarded as the electrical equipment with the target priority. Through the configuration of peak-valley period and summer time switch, the control of the power supply time of the charging pile and the heat pump in the economic mode can be realized.

[0146] In one embodiment, the determining whether the candidate power consumer is the power consumer according to the target setting of the candidate power consumer can include: obtaining the remaining power of the power storage device, and obtaining a set power threshold of the power storage device; and determining whether the power storage device is the power consumer when different power supply devices supply power in different working modes according to the size relationship between the remaining power of the power storage device and the power threshold.

[0147] The power storage device has different identities when the size relationship between the remaining power and the power threshold is different. When the remaining power of the power storage device is greater than the power threshold, the power storage device can be a power supply device or a candidate power consumer. When the remaining power of the power storage device is not greater than the power threshold, the power storage device can only be a candidate power consumer.

[0148] As can be seen from Table 1, when the remaining power of the power storage device is not greater than the power threshold, the power storage device is a power consumer in some working modes and is not checked in some working modes, i.e., the power storage device is a candidate power consumer.

[0149] Therefore, when the remaining power of the power storage device is not greater than the power threshold, the power storage device can be determined to be a power consumer according to the configured priority when different power supply devices supply power in different working modes.

[0150] In this way, whether the power storage device is a power supply device or a candidate power consumer can be determined according to the size relationship between the remaining power of the power storage device and the power threshold, so that the user can determine whether the power storage device is a power supply device or a candidate power consumer by customizing the power threshold. In addition, whether the power storage device as a candidate power consumer is a power consumer can also be determined according to the preconfigured priority.

[0151] On the basis of the above technical solutions, as shown in Figure 7 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 power consumer is determined again.

[0153] In one embodiment, the change of the first priority and the second priority can be caused by the change of the working mode or the change of the setting by the user. The change of the second priority can also be caused by the user submitting a new reservation power consumption task.

[0154] In one embodiment, the first operation parameter and the second operation parameter are dynamically obtained by the energy management system according to a cycle, and the power consumption and the power supply amount in the operation parameters often change with time.

[0155] Because the power supply device corresponding to each power consumption device is determined according to the priority order, when the first priority and / or the second priority change, the power supply device supplying power to each power consumption device can change. When the first operation parameter and / or the second operation parameter change, the power supply device that can originally meet the power consumption demand of the power consumption device can no longer meet the demand, and thus the power supply device supplying power to each power consumption device needs to be determined again.

[0156] By adopting the technical solution of the embodiment of the present application, when the first priority, the second priority, the first operation parameter and / or the second operation parameter change, the power supply device supplying power to each power consumption device can be determined again according to the latest first priority, the second priority, the first operation parameter and / or the second operation parameter, so that the determined power supply device corresponding to each power consumption device is a reasonable scheme under the current state.

[0157] The energy management system will be described in detail below. Figure 8 is a hardware architecture diagram of the energy management system provided by one embodiment of the present application, Figure 9 is a software architecture diagram of the energy management system provided by one embodiment of the present application.

[0158] In one embodiment, the hub device includes a device management module, a database management module, a drive control module, a strategy control and function logic module. The device management module is used to manage the attribute state, online / offline state of the accessed device; the database management module is used to store gateway information, accessed device information and strategy configuration information; the drive control module is used to operate the bottom layer hardware, realize the control of hardware input and output, screen display and serial port transceiving; the strategy control module is used to obtain the current device state and strategy configuration information, and execute the corresponding control strategy; the function logic module includes a Bluetooth network configuration module and the like, and is used to realize logical functions such as Bluetooth network configuration.

[0159] Figure 10is a northward communication design flowchart provided by an embodiment of the present application. The northward communication module communicates with the platform, reports messages and processes downlink messages. The client sends a HUB control instruction to the hub device through the IOT cloud, the HUB judges the control type and executes the command, and returns the execution result to the IOT cloud. The client sends a device control instruction to the hub device through the IOT cloud, the HUB queries the device information, sends a Modbus command 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] Figure 11 is a southward communication design flowchart provided by an embodiment of the present application. The southward communication module processes communication with the device, realizes acquisition of the device state and sending of the downlink message. The HUB polls the device list, sends a Modbus query command to the Modbus device, obtains the Modbus response message sent by the Modbus device, judges the state change according to the Modbus response message, reports the device state to the IOT cloud, and then receives the reporting response returned by the IOT cloud.

[0161] Figure 12 is a HUB data flowchart provided by an embodiment of the present application. The HUB receives the cloud protocol, analyzes the cloud protocol, judges whether the cloud protocol is used for controlling the device, when it is not used for controlling the device, executes the strategy according to the gateway configuration. When it is used for controlling the device, controls the device, and acquires the device state. Updates the device state, and reports the device state.

[0162] Figure 13 is a working principle diagram of a strategy control module provided by an embodiment of the present application. The strategy control module acquires the current device state and the strategy configuration information, and executes the corresponding control strategy. The strategy control module checks the strategy according to the period, calculates the expected power of energy storage, the expected power of heat pump and the expected power of charging pile, compares the expected power and the current state 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 state of the device.

[0163] Figure 14The figure is a communication schematic diagram of an energy management system provided by an embodiment of the present application. The gateway communicates through Ethernet and a platform, and the communication protocol complies with the protocol requirements of TCL; the peripheral of the gateway master chip includes a single-chip auxiliary chip, a Zigbee coordinator, a serial screen, and a key: the master chip and the single-chip auxiliary chip are connected by using SPI, and a custom communication protocol is used; the master chip and the Zigbee coordinator are connected by using UART, and a custom communication protocol is used; the master chip and the serial screen are connected by using IO, and a custom communication protocol is used; the gateway and the Modbus device are connected in two ways: a) Modbus RTU: connected through RS485, and the communication complies with the Modbus RTU protocol format; b) Modbus TCP: connected through TCP in a local area network, and the communication complies with the Modbus TCP protocol format.

[0164] On the basis of the above technical solution, in order to prevent the code of the algorithm from being copied, a specific prefix and suffix can be added in the priority configuration file string in the code implementation, and the specific prefix and suffix can have relatively obvious identification characteristics. The code is compiled using a fixed signature file and an application package name, the encryption password of the signature file can be "tclplus", and the compilation ID of the program code needs to be named according to a preset rule. If the ID application name does not comply with the rule, the data returned through the cloud interface will not pass.

[0165] In order to better implement the energy management method of the present application, the present application further provides an energy management device based on the above energy management method. The meanings of the terms are the same as in the above energy management method, and the specific implementation details can be referred to the description in the method embodiment.

[0166] Please refer to Figure 15 , Figure 15 The figure is a structure schematic diagram of an energy management device provided by an embodiment of the present application. The energy management device comprises:

[0167] A first determination module 501 is configured to determine a current working mode, and determine first priorities of each power supply device in the working mode;

[0168] A second determination module 502 is configured to determine second priorities of each power consumption device when the power consumption device is powered by different power supply devices in the working mode;

[0169] A parameter acquisition module 503 is configured to acquire first running parameters of the power supply device and second running parameters of the power consumption device;

[0170] A third determination module 504 is configured to determine a power supply device for powering each power consumption device according to the first priorities and the second priorities, and the first running parameters and the second running parameters.

[0171] In one of the embodiments, the first operation parameter comprises power supply amount, and the second operation parameter comprises power consumption amount;

[0172] The third determining module 504 comprises:

[0173] The first determining unit is configured to determine, according to the power supply amount of the power supply device and the power consumption amount of the power consumption device, whether the remaining power supply amount of each power supply device is less than the power consumption amount of a target power consumption device in the order from high to low of the first priority and the order from high to low of the second priority; 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 been determined;

[0174] The judging unit is configured to determine whether the power supply amount of a power supply device with a next first priority is less than the power consumption amount of the target power consumption device when the remaining power supply amount of the power supply device is less than the power consumption amount of the target power consumption device;

[0175] The second determining unit is configured to determine that the power supply device supplies power to the target power consumption device when the remaining power supply amount of the power supply device is not less than the power consumption amount of the target power consumption device, and determine whether the newly remaining power supply amount of the power supply device is less than the power consumption amount of a newly target power consumption device until the power supply device that supplies power to each power consumption device is determined.

[0176] In one of the embodiments, the apparatus further comprises:

[0177] The pre-booking obtaining module is configured to obtain, in response to a submitted pre-booking power consumption task, the second priority of a pre-booking power consumption device corresponding to the pre-booking power consumption task when the pre-booking power consumption device is supplied with power by different power supply devices in the working mode;

[0178] The time parameter obtaining module is configured to obtain the second operation parameter of the pre-booking power consumption device and the time parameter of the pre-booking power consumption task;

[0179] The time period determining module is configured to determine the power consumption time period of the pre-booking power consumption task according to the second operation parameter of the pre-booking power consumption device and the time parameter of the pre-booking power consumption task;

[0180] The device determining module is configured to determine the power supply device that supplies power to the pre-booking power consumption device in the power consumption time period according to the first priority and the second priority, and the first operation parameter and the second operation parameter.

[0181] In one of the embodiments, the second operation parameter comprises power consumption amount and average power consumption, and the time parameter of the pre-booking power consumption task comprises target end time;

[0182] The time period determination module comprises:

[0183] The time length determination unit is configured to determine the power consumption time length according to the power consumption and the average power consumption of the power consumption device;

[0184] The time period determination unit is configured to determine the power consumption time period of the power consumption task according to the target end time and the power consumption time length.

[0185] In one of the embodiments, the working modes include: self-generation self-use mode, peak-valley arbitrage mode, standby power mode and / or holiday mode; different working modes correspond to different candidate power consumption devices;

[0186] In the self-generation self-use mode, the candidate power consumption devices include: power storage device, charging pile and / or power conversion storage device;

[0187] In the peak-valley arbitrage mode, the candidate power consumption devices include: power storage device, power purchase device, charging pile and / or power conversion storage device;

[0188] In the standby power mode, the candidate power consumption devices include: power storage device;

[0189] In the holiday mode, the candidate power consumption devices include: power storage device;

[0190] The device further comprises:

[0191] The candidate determination module is configured to determine whether the candidate power consumption device is the power consumption device according to the target setting of the candidate power consumption device.

[0192] In one of the embodiments, the candidate determination module comprises:

[0193] The power amount acquisition unit is configured to acquire the residual power amount of the power storage device and acquire the set power amount threshold of the power storage device;

[0194] The device determination unit is configured to determine whether the power storage device is the power consumption device when different power supply devices supply power in different working modes according to the size relationship between the residual power amount of the power storage device and the power amount threshold.

[0195] In one of the embodiments, the device further comprises:

[0196] The re-determination module is configured to re-determine the power supply device for supplying power to each of the power consumption devices when detecting that the first priority, the second priority, the first running parameter and / or the second running parameter changes.

[0197] The technical solution of the embodiment of the present application is that the first priorities of the power supply devices are different in different working modes, and the second priorities of the power consumption devices are different when the power supply devices in different working modes supply power. Therefore, the power supply devices for supplying power to the power consumption devices are determined according to the first operating parameters of the power supply devices, the second operating parameters of the power consumption devices, the first priorities and the second priorities, which are determined in consideration of different working modes, and the priorities of the power supply devices and the priorities of the power consumption devices in different working modes, and are more reasonable.

[0198] The specific limitations of the energy management device can refer to the limitations of the energy management method described above, which will not be repeated here. Each module in the above energy management device can be implemented by software, hardware and their combinations in whole or in part. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0199] In addition, the present application also provides an electronic device, as shown in Figure 16 The electronic device structure shown in the above figure does not constitute a limitation on the electronic device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements. Among them:

[0200] The electronic device can include a processor 1601 with one or more processing cores and a memory 1602 with one or more computer readable storage media, etc. Those skilled in the art can understand that Figure 16 The electronic device structure shown in the above figure does not constitute a limitation on the electronic device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements. Among them:

[0201] The processor 1601 is the control center of the electronic device, which connects all parts of the electronic device through various interfaces and lines, executes the software programs and / or modules stored in the memory 1602 and calls the data stored in the memory 1602, performs various functions and processes data of the electronic device, and thus monitors the whole electronic device. Optionally, the processor 1601 can include one or more processing cores; preferably, the processor 1601 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 1601.

[0202] The memory 1602 can be used to store software programs and modules, and the processor 1601 can execute various function applications and data processing by running the software programs and modules stored in the memory 1602. The memory 1602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 1602 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 1602 can 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 each component. Preferably, the power supply 1603 can be logically connected to the processor 1601 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 1603 can also include one or more than one direct current or alternating current power supply, a recharging system, a power supply device debugging circuit, a power supply converter or inverter, a power supply state indicator, and the like.

[0204] In one embodiment, the electronic device can further include an input unit 1604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0205] Although not shown, the electronic device can also include a display unit and the like, which will not be described here. In particular, in the present embodiment, the processor 1601 in the electronic device will load the executable file corresponding to the process of one or more than one application program into the memory 1602 according to the following instructions, and run the application program stored in the memory 1602 by the processor 1601, so as to realize the steps in any one of the energy management methods provided in the present application.

[0206] Those skilled in the art can understand that, Figure 16 The structure shown in the figure is only a block diagram of part of the 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. Specifically, the electronic device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0207] In an embodiment, an electronic device is provided, comprising a memory and a processor, the memory has stored therein a computer program, the processor implements the method described in any embodiment of the present application when executing the computer program.

[0208] In an embodiment, a computer readable storage medium is provided, having stored thereon a computer program, the computer program is executed by a processor to implement the method described in any embodiment of the present application.

[0209] In some embodiments, a computer program product is also provided, comprising a computer program or instructions, the computer program or instructions are executed by a processor to implement the method described in any embodiment of the present application.

[0210] The specific implementation of the above operations can refer to the previous embodiments, which will not be repeated here.

[0211] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiments of the various methods can be completed by instructions, or by relevant hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0212] Therefore, the present application provides a computer readable storage medium, having stored thereon a computer program, the computer program can be loaded by a processor to execute the steps in any energy management method provided by the present application.

[0213] The specific implementation of the above operations can refer to the previous embodiments, which will not be repeated here.

[0214] The computer readable storage medium can 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 by the present application, the beneficial effects of any energy management method provided by the present application can be achieved, which will be described in detail in the previous embodiments, and will not be repeated here.

[0216] Finally, it is to be understood that the phraseology or terminology such as "first" and "second" etc. used herein is merely intended to distinguish one entity or operation from another without necessarily requiring or implying any actual such relationship or order between such entities or operations. Moreover, the use of the term "including", "containing" or any other variant thereof is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements is not required to comprise only those elements on the list and can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a... " does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the recited element.

[0217] The above provides a kind of energy management method, device, electronic equipment and computer readable storage medium provided by the present application in detail, the principle and implementation of the present application are described in this paper by applying specific examples, the above example is only for helping to understand the method of the present application and its core idea;Meanwhile, for the skilled in the art, according to the idea of the present application, there will be changes in specific implementation and application range, in view of the above, the content of the specification should not be understood as the limitation of the present application.

Claims

1. An energy management method, characterized by, The method comprises: determining a current working mode and determining first priorities of power supply devices in the working mode; the working mode comprises a self-use mode, a peak-valley arbitrage mode, a standby power mode and / or a holiday mode; and the first priorities of the power supply devices are determined according to costs; determining second priorities of power consumption devices in different power supply devices in the working mode; the second priorities of the power consumption devices are determined according to power consumption times and emergency degrees of the power consumption devices; obtaining first operating parameters of the power supply devices and second operating parameters of the power consumption devices; the first operating parameters comprise power supply amounts, and the second operating parameters comprise power consumption amounts; and determining power supply devices for supplying power to the power consumption devices according to the first priorities and the second priorities, and the first operating parameters and the second operating parameters, comprising: determining, according to the power supply amounts of the power supply devices and the power consumption amounts of the power consumption devices, whether a remaining power supply amount of each of the power supply devices is less than a power consumption amount of a target power consumption device in a sequence from high to low of the first priorities and a sequence from high to low of the second priorities; the target power consumption device is a power consumption device with the highest second priority among the power consumption devices for which corresponding power supply devices have not been determined; when the remaining power supply amount of the power supply device is less than the power consumption amount of the target power consumption device, determining whether a power supply amount of a next power supply device with a first priority is less than the power consumption amount of the target power consumption device; when the remaining power supply amount of the power supply device is not less than the power consumption amount of the target power consumption device, determining that the power supply device supplies power to the target power consumption device, and determining whether a newly remaining power supply amount of the power supply device is less than a power consumption amount of a newly target power consumption device, until power supply devices for supplying power to all the power consumption devices are determined.

2. The method of claim 1, wherein, The method further comprises: in response to a submitted reservation power consumption task, obtaining the second priorities of a reservation power consumption device corresponding to the reservation power consumption task in different power supply devices in the working mode; obtaining second operating parameters of the reservation power consumption device and time parameters of the reservation power consumption task; determining a power consumption time period of the reservation power consumption task according to the second operating parameters of the reservation power consumption device and the time parameters of the reservation power consumption task; determining power supply devices for supplying power to the reservation power consumption device in the power consumption time period according to the first priorities and the second priorities, and the first operating parameters and the second operating parameters.

3. The method of claim 2, wherein, The second operating parameters comprise power consumption amounts and average power consumption powers, and the time parameters of the reservation power consumption task comprise a target end time; the determination of the power consumption time period of the reservation power consumption task according to the second operating parameters of the reservation power consumption device and the time parameters of the reservation power consumption task comprises: determining a power consumption time length according to the power consumption amounts and the average power consumption powers of the reservation power consumption device; and determining the power consumption time period of the reservation power consumption task according to the target end time and the power consumption time length.

4. The method of claim 1, wherein, Different working modes correspond to different candidate power consumption devices. In the self-generation self-use mode, the candidate power-using device comprises an electric energy storage device, a charging pile and / or an electric energy conversion storage device; In the peak-valley arbitrage mode, the candidate power-using device comprises an electric energy storage device, a power buying device, a charging pile and / or an electric energy conversion storage device; In the standby power mode, the candidate power-using device comprises an electric energy storage device; In the holiday mode, the candidate power-using device comprises an electric energy storage device; The method further comprises: According to the target setting of the candidate power-using device, determining whether the candidate power-using device is the power-using device.

5. The method of claim 4, wherein, The determination of whether the candidate power-using device is the power-using device according to the target setting of the candidate power-using device comprises: acquiring the residual electric quantity of the electric energy storage device and the set electric quantity threshold of the electric energy storage device; determining whether the electric energy storage device is the power-using device when different power supply devices supply power in different working modes according to the size relationship between the residual electric quantity of the electric energy storage device and the electric quantity threshold.

6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: When the first priority, the second priority, the first operating parameter and / or the second operating parameter are detected to change, the power supply device supplying power to each power-using device is re-determined.

7. An energy management device, characterized by It comprises: a first determination module, configured to determine a current working mode and determine the first priority of each power supply device in the working mode; The working mode comprises a self-generation self-use mode, a peak-valley arbitrage mode, a standby power mode and / or a holiday mode; the first priority of the power supply device is determined according to the cost; a second determination module, configured to determine the second priority of each power-using device when different power supply devices supply power in the working mode; the second priority of the power-using device is determined according to the power-using time and the emergency degree of power-using of the power-using device; a parameter acquisition module, configured to acquire the first operating parameter of the power supply device and the second operating parameter of the power-using device; the first operating parameter comprises a power supply quantity, and the second operating parameter comprises a power-using quantity; and The third determining module is configured to determine the power supply device for 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, including: determining whether the remaining power supply of each of the power supply devices is less than the power consumption of the target power consuming device in the order from high to low of the first priority and the order from high to low of the second priority according to the power supply of the power supply device and the power consumption of the power consuming device, the target power consuming device being the power consuming device with the highest second priority among the power consuming devices for which the corresponding power supply device has not 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 power supply device with the next first priority 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, determining that the power supply device supplies power to the target power consuming device, and determining whether the newly remaining power supply of the power supply device is less than the power consumption of the newly target power consuming device until the power supply device for each of the power consuming devices is determined.

8. An electronic device, comprising: The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps in the energy management method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps in the energy management method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and system for controlling devices in micro grid based on priority

    CN104037774A

  • Energy management method, device and system

    CN108767866A