An adaptive power scheduling method and device, electronic equipment and storage medium

CN122533082BActive Publication Date: 2026-10-27GUANGZHOU RIMSEA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610992140.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-07-06
Publication Date
2026-10-27
Estimated Expiration
2046-07-06

AI Technical Summary

Technical Problem

[0003]然而,不同用电场所的电表其内部功率更新周期对云端是未知的,且与读表器的上报周期无固定对应关系

Benefits of technology

[0021]本申请实施例提供的一种自适应功率调度方法、装置、电子设备和存储介质,采用了基于上报时刻与数值变化特征进行有效性校验的手段,通过判断当前上报功率是否为电表更新后的有效功率并生成可信度,进而依据有效功率及其可信度共同确定调度指令的取值。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122533082B_ABST
    Figure CN122533082B_ABST
Patent Text Reader

Abstract

The application provides a self-adaptive power scheduling method and device, electronic equipment and a storage medium. The method is applied to the cloud and is used for managing a power consumption system through a scheduling energy storage inverter. A power meter is used to measure the power of the power consumption system. The method comprises the following steps: obtaining a first power read and reported by a reading meter according to a preset period; verifying whether the first power is an updated valid power of the power meter based on a reporting time of the first power, a value change characteristic between the first power and a last valid power reported, and generating a corresponding credibility; if the first power is a valid power, a power scheduling instruction is issued to the energy storage inverter according to the first power and the credibility. The method is suitable for providing more accurate self-adaptive power scheduling for various power consumption systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent scheduling technology, and more specifically, to an adaptive power scheduling method, apparatus, electronic device, and storage medium. Background Technology

[0002] In power management systems, the cloud manages power consumption by scheduling energy storage inverters, with electricity meters used to measure real-time power as the core input for scheduling decisions. In many real-world scenarios, electricity meters are traditional non-communication meters, requiring meter readers to read and report power values ​​at fixed intervals.

[0003] However, the internal power update cycle of electricity meters in different power consumption locations is unknown to the cloud and has no fixed correspondence with the reporting cycle of the meter reader. This makes it impossible for the cloud to determine whether the reported power is the latest value after the meter update. If scheduling is directly based on the original data, it may issue incorrect instructions due to the use of outdated power, affecting the response accuracy of the energy storage inverter and the system stability. Summary of the Invention

[0004] In view of this, embodiments of this application provide an adaptive power scheduling method, apparatus, electronic device, and storage medium, which are suitable for providing more accurate adaptive power scheduling for various types of power systems.

[0005] In a first aspect, embodiments of this application provide an adaptive power scheduling method, which is applied in the cloud and used to manage the power system by scheduling energy storage inverters. The electricity meter is used to measure the power consumption of the power system, and the update cycle of the electricity meter is unknown. The method includes: The first power is obtained by the meter reader reading and reporting the power at a preset cycle; the first power is the real-time power of the power grid read by the meter reader from the display screen of the electricity meter through image optical character recognition. Based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, the system verifies whether the first power is the effective power after the meter update and generates the corresponding confidence level. If the first power is effective power, a power scheduling command is issued to the energy storage inverter based on the first power and its reliability; the scheduling value of the power scheduling command is related to the first power and the reliability value.

[0006] In a feasible implementation, the step of verifying whether the first power is the updated valid power of the electricity meter based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported valid power, and generating a corresponding confidence level, includes: Get the scheduling time of the previous power scheduling instruction; If the reporting time is later than the scheduling time, and the difference between the first power and the previous effective power exceeds a preset minimum change threshold, then the first power is determined as the effective power after the meter update, and the first power is marked with a first degree of confidence. Alternatively, if the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is less than a preset target number of frames, then the first power is determined as the effective power after the meter update, and a second confidence level is marked for the first power; the first confidence level is greater than or equal to the second confidence level.

[0007] In a feasible implementation, verifying whether the first power is the updated effective power of the electricity meter based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power includes: If the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is greater than or equal to a preset target number of frames, then the first power is determined as invalid power before the meter update. Alternatively, the method may further include: Obtain the power variation of the energy storage inverter; If the power change between the first power and the previous effective power exceeds a preset deviation from the power change of the energy storage inverter, then the first power is determined as the invalid power before the meter is updated.

[0008] In one feasible implementation, if the first power is effective power, then issuing a power dispatch command to the energy storage inverter based on the first power and its reliability includes: The actual demand value is determined based on the first power; Based on the credibility level, the actual demand value is adjusted by magnitude to obtain the adjusted scheduling value; the smaller the credibility level, the lower the scheduling value. A power dispatch command containing the dispatch value is generated and sent to the energy storage inverter.

[0009] In one feasible implementation, the method is also used to coordinate the management of the new energy power generation system and the power consumption system by scheduling the energy storage inverter; Determining the actual demand value based on the first power includes: The target power required by the power system is determined based on the first power. Obtain the power generation capacity of the new energy power generation system; The difference between the target power consumption and the power generation is determined as the actual demand value; wherein, a positive actual demand value indicates that there is a demand for electricity from the grid, and a negative actual demand value indicates that there is a demand for electricity from the grid feeder.

[0010] In one feasible implementation, the method further includes: The update cycle of the meter is estimated based on the time difference between two adjacent effective power values. The scheduling period for issuing power scheduling commands is set to be greater than or equal to the update period.

[0011] In one feasible implementation, the method further includes: The target frame number corresponding to the reading operation of the meter reader according to the preset cycle is determined based on the update cycle, so as to ensure that the meter reader reads the valid value of the electricity meter updated in the next update cycle after the target frame number; If the variation between multiple adjacent time differences exceeds a preset range, the update cycle of the meter is recalculated.

[0012] Secondly, this application embodiment also provides an adaptive power scheduling device, which is deployed in the cloud and used to manage the power system by scheduling energy storage inverters. The electricity meter is used to measure the power consumption of the power system, and the update cycle of the electricity meter is unknown. The device includes: The acquisition module is used to acquire the first power that the meter reader reads and reports according to a preset period; the first power is the real-time power of the power grid read by the meter reader from the display screen of the electricity meter through image optical character recognition; The first verification module is used to verify whether the first power is the effective power after the meter is updated, based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, and to generate the corresponding confidence level. The scheduling module is used to issue a power scheduling command to the energy storage inverter based on the first power and its reliability if the first power is an effective power; the scheduling value of the power scheduling command is related to the first power and the reliability value.

[0013] In a feasible implementation, the first verification module is used to verify whether the first power is the effective power after the meter update, based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, and to generate a corresponding confidence level, including: Get the scheduling time of the previous power scheduling instruction; If the reporting time is later than the scheduling time, and the difference between the first power and the previous effective power exceeds a preset minimum change threshold, then the first power is determined as the effective power after the meter update, and the first power is marked with a first degree of confidence. Alternatively, if the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is less than a preset target number of frames, then the first power is determined as the effective power after the meter update, and a second confidence level is marked for the first power; the first confidence level is greater than or equal to the second confidence level.

[0014] In one feasible implementation, the first verification module is used to verify whether the first power is the effective power after the meter update, based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, including: If the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is greater than or equal to a preset target number of frames, then the first power is determined as invalid power before the meter update. Alternatively, the device may further include: The inverter power acquisition module is used to acquire the power change of the energy storage inverter; The second verification module is used to determine the first power as invalid power before the meter update if the power change between the first power and the previous effective power exceeds a preset deviation from the power change of the energy storage inverter.

[0015] In one feasible implementation, the scheduling module is configured to, if the first power is valid power, issue a power scheduling instruction to the energy storage inverter based on the first power and its reliability, including: The actual demand value is determined based on the first power; Based on the credibility level, the actual demand value is adjusted by magnitude to obtain the adjusted scheduling value; the smaller the credibility level, the lower the scheduling value. A power dispatch command containing the dispatch value is generated and sent to the energy storage inverter.

[0016] In one feasible implementation, the device is also used to coordinate the management of the new energy power generation system and the power consumption system by scheduling the energy storage inverter; The scheduling module is used to determine the actual demand value based on the first power, including: The target power required by the power system is determined based on the first power. Obtain the power generation capacity of the new energy power generation system; The difference between the target power consumption and the power generation is determined as the actual demand value; wherein, a positive actual demand value indicates that there is a demand for electricity from the grid, and a negative actual demand value indicates that there is a demand for electricity from the grid feeder.

[0017] In one feasible implementation, the device further includes: The cycle estimation module is used to estimate the update cycle of the meter based on the time difference between two adjacent effective power levels. The setting module is used to set the scheduling period for issuing power scheduling commands to be greater than or equal to the update period.

[0018] In one feasible implementation, the device further includes: The frame number determination module is used to determine the target frame number corresponding to the reading operation of the meter reader according to the preset cycle, so as to ensure that the meter reader reads the valid value updated by the meter in the next update cycle after the target frame number; The calculation module is used to recalculate the update cycle of the electricity meter if the change between multiple adjacent time differences exceeds a preset range.

[0019] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the adaptive power scheduling method as described in any one of the first aspects.

[0020] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the adaptive power scheduling method as described in any one of the first aspects.

[0021] The adaptive power scheduling method, apparatus, electronic device, and storage medium provided in this application embodiment employ a means of validity verification based on the reporting time and numerical change characteristics. By determining whether the currently reported power is the effective power after the meter update and generating a confidence level, the value of the scheduling instruction is determined jointly based on the effective power and its confidence level.

[0022] Compared with the prior art that directly uses the raw power reported each time for scheduling, the embodiments of this application can automatically identify the truly valid power update events when the electricity meter update cycle is unknown, and adjust the scheduling instructions of the energy storage inverter accordingly. This solves the problem of scheduling inaccuracy caused by using outdated or unreliable power data, and realizes adaptive and more accurate power scheduling for different power systems.

[0023] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A flowchart of an adaptive power scheduling method provided in an embodiment of this application is shown.

[0026] Figure 2 A flowchart of another adaptive power scheduling method provided in an embodiment of this application is shown.

[0027] Figure 3 An architecture diagram of an adaptive power scheduling method provided in an embodiment of this application is shown.

[0028] Figure 4 The diagram illustrates the interactive architecture of an adaptive power scheduling method provided in an embodiment of this application.

[0029] Figure 5 A schematic diagram of the structure of an adaptive power scheduling device provided in an embodiment of this application is shown.

[0030] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0032] In power management systems, cloud-based dispatch platforms manage the power system's power consumption (such as peak shaving and valley filling, and demand control) by dispatching energy storage inverters, thereby achieving goals such as reducing peak loads and optimizing electricity costs. An energy storage inverter is a power electronic device that connects energy storage batteries to the power system. It receives dispatch commands from the cloud and controls the batteries to charge or discharge, thus regulating the real-time power balance of the power system. Electricity meters measure the real-time power of the power system, and this power value is a core input parameter for cloud-based dispatch decisions: the charging and discharging commands of the energy storage inverters must be determined based on the real-time power relationship between the power grid and the load. Therefore, the accuracy and timeliness of power readings obtained by the cloud directly determine the effectiveness of dispatch commands.

[0033] In practical deployments, many power consumption sites use traditional mechanical or electronic meters, not smart meters with active communication capabilities. To obtain their readings, an external meter reader is typically used to read the power value from the meter's display screen via optical character recognition (OCR) and report it to the cloud at a preset fixed period. This approach has an advantage in hardware cost because it does not require replacing existing meters; data collection can be achieved simply by adding a meter reader.

[0034] However, the models, manufacturers, and internal parameter settings of electricity meters installed in different locations vary, and the actual update cycle of the meter's internal power register (i.e., how often the power value displayed on the screen is refreshed) is unknown to the cloud. There is no definite correspondence between the meter reader's reporting cycle and the meter's actual update cycle. Because the meter reader can only report according to its own fixed cycle, and when the meter updates the power value is a black box, this leads to a misalignment between the reporting time and the meter's actual update time.

[0035] The direct problem caused by this misalignment is that when a meter reader reports a power value, the cloud cannot determine whether that value is the latest power after the meter has been updated. It may be an old value that has been repeatedly reported (the meter has not yet been updated), or it may be a transition value that skips several intermediate states. The cloud can only passively receive this reported data. If scheduling instructions are generated directly based on the original power reported each time, incorrect charging and discharging decisions may be made due to the use of outdated data, causing the energy storage inverter to lag or malfunction.

[0036] Based on this, embodiments of this application provide an adaptive power scheduling method, apparatus, electronic device, and storage medium, which are described below through embodiments.

[0037] To facilitate understanding of this embodiment, an adaptive power scheduling method disclosed in this application will first be described in detail. This method is applied in the cloud and is used to manage an electricity system by scheduling an energy storage inverter. Electricity meters are used to measure the electricity consumption of the system, and the update cycle of the electricity meters is unknown. An exemplary application scenario is a Home Energy Management System (HEMS) scenario.

[0038] The following describes the specific steps, such as... Figure 1 As shown, the method includes the following steps: Step 101: Obtain the first power that the meter reader reads and reports according to a preset cycle; the first power is the real-time power of the power grid read by the meter reader from the display screen of the electricity meter through image optical character recognition.

[0039] Generally, the update cycle for high-frequency meters is 1-2 seconds, for medium-frequency meters it is 5-10 seconds, and for low-frequency meters it is 15-30 seconds or even longer. To simultaneously meet the update cycles of various types of meters (high, medium, and low frequencies), the meter reader's reading frequency is usually set according to the update cycle of high-frequency meters. That is, the real-time power of the power grid is read at a preset cycle of 2 seconds to ensure that the real-time power updates of various meters can be collected.

[0040] The meter reader in this embodiment acquires an image of the meter's display screen and then reads the real-time power of the power grid displayed on the meter using optical character recognition (OCR).

[0041] Since the update cycle of the electricity meter in this embodiment is unknown, the first power read and reported by the meter reader according to the preset cycle may be old data that the electricity meter has not updated (it has been reported as a valid power value last time and the cloud has used this old data to perform scheduling), or it may be new data that the electricity meter has updated (the cloud has not yet performed scheduling based on this new data). Therefore, it is necessary to determine the validity of the first power, see step 102.

[0042] Step 102: Based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, verify whether the first power is the effective power after the meter update, and generate the corresponding confidence level.

[0043] Because the meter reader's reporting cycle is very short, the reporting time of the first power can be approximately equal to the time when the meter reader reads the power value from the meter display.

[0044] The reporting time serves as a crucial basis for determining the timeliness of the first power output. If the reported time of the first power output is before the time when the last dispatch instruction was issued from the cloud, it indicates that this first power output is stale data that was read before the last dispatch decision and should be deemed invalid. Conversely, if the reported time is after the last dispatch instruction was issued, it indicates that the first power output was newly read after the last dispatch. In this case, it may be a new value after the meter update, or it may be an old value repeatedly reported before the meter has been updated, requiring further judgment based on the characteristics of numerical changes. In addition, the reporting time can also be used to detect anomalies. For example, if the time interval between the current reporting time and the last reported time of valid power output is far beyond the normal range, it can trigger an alarm or reduce the reliability.

[0045] In real-world electrical environments (such as household electrical systems), the probability of a completely constant load decreases dramatically over time. It's common for the load to remain stable for short periods (a few seconds). For example, if only the refrigerator and lighting are running, the power consumption might fluctuate within the range of 500W ± 5W. In this case, it's reasonable for the meter reader to read the same power value for several consecutive frames.

[0046] However, the probability of the load remaining completely unchanged over a prolonged period (exceeding one meter refresh cycle) is very low. Fluctuations in household power consumption, such as the start-stop of inverter air conditioners and refrigerator compressors, and standby power fluctuations, will naturally cause power to fluctuate within the range of ±10W to ±50W. If the value remains completely unchanged within a consecutive target frame period (usually the total time span of the target frame period exceeds one meter refresh cycle), it is more likely that the real-time power displayed by the meter has not been updated and is outdated data, rather than the meter displaying the same real-time power in a new refresh cycle due to a perfectly stable load.

[0047] Therefore, by observing the numerical change characteristics between the first power and the previous effective power reported by the meter reader, it can be determined whether the meter has been updated, and thus the first power identified as updated can be determined as the effective power after the meter update.

[0048] For example, the numerical change characteristic is the difference between the first reported power and the previous effective power. If this difference is too large, it usually indicates that the meter has been updated; if the difference is small, it usually indicates that the meter may not have been updated.

[0049] Alternatively, the numerical change characteristic can be identified by the curve showing the change between the first reported power and the previous valid power. Based on the trend of this curve, the following can be determined: if the curve shows a smooth and continuous change (e.g., a gradual increase or decrease), it indicates that the meter may have undergone multiple normal updates; if the curve shows an abrupt jump (e.g., a sudden and large jump without intermediate transition values), it may be a valid update, but it could also be a reading error or a meter malfunction; if the curve remains horizontal for a long time, it indicates that the meter may not have been updated or the meter reader may be stuck. By comprehensively judging the matching relationship between the numerical change characteristics and the reporting time, it is possible to more accurately identify whether the first power is valid and assign it the corresponding confidence level.

[0050] It should be noted that the reliability can be determined entirely based on the reporting time of the first power, or solely based on the characteristics of numerical changes, or a combination of both.

[0051] Step 103: If the first power is effective power, then a power scheduling command is issued to the energy storage inverter based on the first power and its reliability; the scheduling value of the power scheduling command is related to the first power and the reliability value.

[0052] If it is determined that the first power is effective power according to step 102, an effective power dispatch command can be issued to the energy storage inverter based on the value of this first power.

[0053] The power dispatch command is used to control the charging and discharging direction and power of the energy storage inverter according to the first power, so as to ensure that the actual operation of the energy storage inverter matches the real-time power of the current power grid and avoid overcharging, over-discharging or response lag due to the use of outdated or unreliable power data.

[0054] The first power setting defines the upper limit of the dispatch value, typically the power value dispatched when the confidence level is 100%. When the confidence level decreases, to avoid overcharging, over-discharging, or response lag caused by using the maximum dispatch value despite the low confidence level of the first power setting, the range of the dispatch value is usually reduced. This allows the cloud to adaptively dispatch the energy storage inverter, thereby ensuring the effectiveness of each power dispatch command.

[0055] The adaptive power scheduling method, apparatus, electronic device, and storage medium provided in this application embodiment employ a means of validity verification based on the reporting time and numerical change characteristics. By determining whether the currently reported power is the effective power after the meter update and generating a confidence level, the value of the scheduling instruction is determined jointly based on the effective power and its confidence level.

[0056] Compared with the prior art that directly uses the raw power reported each time for scheduling, the embodiments of this application can automatically identify the truly valid power update events when the electricity meter update cycle is unknown, and adjust the scheduling instructions of the energy storage inverter accordingly. This solves the problem of scheduling inaccuracy caused by using outdated or unreliable power data, and realizes adaptive and more accurate power scheduling for different power systems.

[0057] In a feasible implementation, the step of verifying whether the first power is the updated valid power of the electricity meter based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported valid power, and generating a corresponding confidence level, includes: Get the scheduling time of the previous power scheduling instruction.

[0058] The previous power dispatch instruction is based on the power dispatch instruction issued to the energy storage inverter in step 103 according to the first power and its reliability. The dispatch time usually refers to the moment when the cloud sends the power dispatch instruction to the energy storage inverter.

[0059] After obtaining the scheduling time, determine whether the following conditions are met: Condition 1: If the reporting time is later than the scheduling time, and the difference between the first power and the previous effective power exceeds the preset minimum change threshold, then the first power is determined as the effective power after the meter update, and the first power is marked with a first confidence level.

[0060] Condition 2: If the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is less than a preset target frame number, then the first power is determined as the effective power after the meter update, and the first power is marked with a second confidence level; the first confidence level is greater than or equal to the second confidence level.

[0061] The minimum change threshold is preset based on experience and is used to distinguish whether the meter has updated its data. Generally speaking, since the power system is not a stable environment, the power consumed by appliances will change slightly during continuous operation. Therefore, even if the number of appliances using electricity remains the same, their power consumption will also change to some extent, and the meter will display this change on the screen when a new update cycle arrives.

[0062] For example, in a household electricity usage scenario, the user is currently running a refrigerator, air conditioner, and lights. The electricity meter updates its real-time power display every 5 seconds, and the meter reader takes pictures and reports them according to a preset cycle of 2 seconds. In the first update cycle, the electricity meter displays a real-time power of 1000W. During this period, although the types of appliances running remain the same, the instantaneous power of each appliance will fluctuate dynamically. For example, in the second update cycle, the refrigerator temporarily stops cooling because it has reached the set temperature, and the compressor stops working. At this time, the total real-time power drops to 940W.

[0063] The meter reader reports every 2 seconds, so within a 5-second update cycle of the meter, the meter reader will report 2 to 3 times (for example, 1000W will be reported at 0, 2, and 4 seconds). After the meter updates to 940W, the meter reader will report 940W again at subsequent reporting times (such as 5 and 7 seconds).

[0064] The cloud determines whether 940W is effective power and assigns it the corresponding confidence level based on the order of reporting and scheduling, as well as whether the difference between 1000W and 940W (a difference of 60W from 1000W to 940W) exceeds the minimum change threshold (e.g., set to 5W-20W).

[0065] Under the condition that the reporting time is later than the scheduling time (both conditions one and two must be met), further determine whether the difference between the first power and the previous effective power exceeds the preset minimum change threshold. If it exceeds the minimum change threshold, it means that the real-time power displayed by the meter has been updated, satisfying condition one. This first power is then determined as the effective power after the meter update, and its first confidence level (usually 100%) is marked.

[0066] If the minimum change threshold is not exceeded, it is assumed that the real-time power displayed by the meter may not be updated, or the real-time power displayed by the meter may be the latest. Further judgment is required: determine whether each difference between the previous effective power and the first power does not exceed the minimum change threshold and whether the number of differences is less than the preset target frame number.

[0067] When the meter's update cycle is unknown, in order to ensure applicability to various types of meters, the target frame count can be set to an initial value, such as 1 frame, 2 frames, 5 frames, or 15 frames, depending on the actual needs.

[0068] The target frame count is typically used to help the cloud determine whether a meter has entered the next update cycle. For example, if the meter updates every 9 seconds, the meter reader collects one frame every 2 seconds, and the target frame count is set to 5 frames, then after collecting 5 frames (actually 10 seconds have passed, during which the meter has just completed an update), the cloud will consider the meter to have entered a new update cycle. However, if the target frame count is not set accurately, for example, if the actual update cycle of the meter is long (e.g., 15 seconds), it may lead to a misjudgment by the cloud: the cloud may assume that the data collected in the 5th or 6th frame is the latest updated power, when in fact the meter has not yet completed a new update.

[0069] To address this issue, this solution does not use the target frame count as the sole factor in determining whether to update. Instead, it comprehensively considers the following conditions: each difference between the previous effective power and the first power does not exceed a minimum change threshold, and the number of these differences is less than the preset target frame count. In other words, if multiple consecutive differences are very small and their number has not yet reached the target frame count, it indicates that the meter has indeed not entered a new update cycle. For example, if the previous effective power was 1000W, and the current first power is also 1000W, the four power values ​​read between them are 1001W, 1001W, 1000W, and 1000W, respectively. That is, arranged in chronological order, they are: 1000W (the previous reported effective power), 1001W, 1001W, 1000W, 1000W, 1000W. The difference between any two adjacent data points (ignoring the sign) is: 1W, 0W, 1W, 0W, 0W.

[0070] As can be seen, each difference is very small (far smaller than the minimum change threshold) and there are 5 of them. This indicates that the real-time power change of the meter is very small over the span of consecutive target frames, and the meter has not been effectively updated. This is because if the meter had actually completed an update, at least one difference would have exceeded the minimum change threshold.

[0071] If each difference is less than the minimum change threshold, but the number of differences has not yet reached the target frame count, then considering that the meter may be about to be updated but has not yet completed, the current first power is still considered valid power, but a second confidence level is assigned. This confidence level is related to the number of differences less than the minimum change threshold: the more differences, the lower the confidence level, and the more it indicates that the meter may not have been effectively updated. In the embodiments of this application, the second confidence level is usually less than the first confidence level. In special cases, the second confidence level can also be set to be equal to the first confidence level. For example, if the number of differences between the first power and the previously reported valid power less than the minimum change threshold is only 2, the second confidence level can be set higher.

[0072] It should be noted that the minute fluctuations in the above sequence (from 1000W to 999W and back to 1000W) do not represent a valid meter update, but rather are due to natural fluctuations in the instantaneous power of appliances and / or OCR recognition errors of the meter reader. A true meter update is usually accompanied by a significant, physically meaningful power change (such as a jump of tens of watts or more caused by the compressor starting and stopping). This solution filters out these invalid minute fluctuations by setting a minimum change threshold.

[0073] When all the conditions in condition two above are met, that is, if the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is less than a preset target number of frames, then this first power is determined as the effective power.

[0074] In addition, it can be determined whether condition three is met: if the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is greater than or equal to the preset target number of frames, then the first power is determined as the invalid power before the meter update.

[0075] Using the above method, it is possible to accurately determine whether the first power is the effective power after the meter update, even when the meter update cycle is uncertain, thereby guiding more accurate subsequent scheduling.

[0076] In a feasible implementation, in addition to determining whether the first power is invalid power based on condition three above, it can also be determined through the following steps: Obtain the power change information of the energy storage inverter; if the power change information between the first power and the previous effective power exceeds a preset deviation from the power change information of the energy storage inverter, then the first power is determined as the invalid power before the meter is updated.

[0077] The real-time charging and discharging power of the energy storage inverter reflects the actual execution of the current dispatch command, and therefore can be used to help determine whether the initial power reported by the meter reader is valid. Specifically, the charging and discharging power of the energy storage inverter directly changes the net power value of the power system: when the energy storage inverter discharges, the power drawn by the load from the grid decreases accordingly; when the energy storage inverter charges, the grid supplies power to both the load and the battery simultaneously, and the total power increases accordingly. By cross-validating the power changes read by the meter reader (including the initial power) with the power changes of the energy storage inverter, the validity of the initial power can be determined. If the deviation between the two power changes is too large, it indicates that the initial power is likely outdated data that has not been updated by the meter and should be judged as invalid power.

[0078] Assuming the scheduling command issued by the cloud is to increase the power of the energy storage inverter from... Adjusted to .

[0079] Therefore, the ideal variable power can be calculated based on the real-time charging and discharging power of the energy storage inverter:

[0080] Similarly, based on the first power reported by the meter reader... Compared with the previous reported effective power The actual power variation in the power grid can be calculated:

[0081] At this point, both (ideal changing power) With actual power grid changes deviation ratio The calculation formula is as follows:

[0082] For example, in the embodiments of this application, if If the first power value is positive, it is considered invalid data; otherwise, it is considered potentially valid data. In the embodiments of this application, The value is 0.3-0.5. If the first power is determined to be effective through cross-validation, the effectiveness of the first power can be further verified according to step 102 to achieve a more accurate judgment.

[0083] In an alternative implementation, such as Figure 2 As shown, if the first power is effective power, then issuing a power scheduling command to the energy storage inverter based on the first power and its reliability includes: Step 201: Determine the actual demand value based on the first power.

[0084] The actual demand value is set based on the first power that characterizes the user's real-time power consumption. For example, in a zero-feed grid scenario, the goal is to make the power drawn from the grid as close to zero as possible (i.e., neither drawing power from the grid nor feeding power into the grid).

[0085] If the current first power (electrical power consumption) is 1000W, then the actual demand is that the energy storage inverter needs to discharge 1000W to fully cover the load.

[0086] When this method is also used to coordinate the management of new energy power generation systems (such as photovoltaic power generation units) by scheduling energy storage inverters, see [reference needed]. Figure 3 When considering power consumption systems, the actual demand value should take into account not only the power consumption but also the power generation capacity. At this time, the target power required by the power system is determined based on the first power; the power generation power of the new energy power generation system is obtained; the difference between the target power and the power generation power is determined as the actual demand value; wherein, the actual demand value is positive, indicating that there is a demand for purchasing electricity from the grid, and the actual demand value is negative, indicating that there is a demand for selling electricity to the grid.

[0087] For example, if a photovoltaic system is generating 500W of electricity and the power consumption is 1000W, the actual demand should be based on: 1000-500=500W, meaning the energy storage inverter needs to discharge 500W.

[0088] If the photovoltaic power generation is 1500W and the power consumption is 1000W, then the actual demand value should be based on: 1000-1500=-500W, that is, the energy storage inverter needs to be charged 500W.

[0089] Step 202: Based on the credibility, the actual demand value is adjusted by magnitude to obtain the adjusted scheduling value; the smaller the credibility value, the lower the scheduling value.

[0090] Reliability reflects how reliable the first power is as the effective power after the meter update. Lower reliability indicates that the first power is more likely to be outdated or unreliable data. In this case, although this first power is marked as effective, it cannot be scheduled entirely according to the actual demand value corresponding to the first power. Therefore, the actual demand value needs to be attenuated or limited more significantly to avoid making aggressive scheduling decisions based on unreliable data. For example, at high reliability, full scheduling can be implemented, while at low reliability, scheduling can be performed only at a certain percentage (e.g., 50%), or the previous scheduling value can be temporarily maintained.

[0091] For example, an attenuation coefficient can be set to correct the magnitude of the actual demand value. Let's assume the attenuation coefficient is... The formula for calculating the scheduling value is as follows: Scheduling value = Actual demand value ×

[0092] One exemplary setting is: when the confidence level is 100%, When the credibility is less than 100%, reduce... This ensures that attenuation scheduling is performed when the value of the first power is valid but questionable (e.g., when condition two above is met).

[0093] In addition, attenuation coefficient In addition to being related to the reliability of the first power, an attenuation coefficient can also be set. It's related to time. More precisely, it's related to the time interval between the reporting time of the first power and the current scheduling time. The closer to the reporting time, the newer and more reliable the basis for this scheduling. As time goes on, for example, if scheduling is only carried out 30 seconds after the meter reader reports the first power, then this originally reliable first power becomes less reliable, and the attenuation coefficient must be reduced. .

[0094] For example, taking a meter update cycle of 10 seconds as an example, the decay can be carried out in the following manner: 0 seconds since the report (just received the first valid power): If the actual demand is 1000W (discharge), then full power dispatch will be implemented, and the expected grid power will drop to 0W. 5 seconds from the reporting time (assuming 0.5 update cycles): The actual discharge was 830W, and with conservative scheduling, the expected grid power was reduced to 170W. 10 seconds until reporting (1 cycle): The actual power output was 670W, which is more conservative, and the grid power is expected to drop to 330W. 15 seconds until the reporting time (1.5 cycles): The actual discharge was 500W, with half-force dispatch. 20 seconds until reporting (2 cycles): The actual discharge was 330W, which was significantly reduced. ≥30 seconds since the reporting time (≥3 cycles): (Here, 0.1 is the preset minimum attenuation coefficient) The value of , minimum attenuation coefficient The value can be modified to a value between 0.1 and 0.2 according to actual needs. The actual discharge is 100W, only maintaining the minimum scheduling amount.

[0095] For example, if the attenuation coefficient is set only based on time, it can be calculated using the following formula. Value:

[0096] in, It is the current moment. It is the reporting time of the first power level reported by the meter reader (the latest reporting time). This is the decay rate coefficient, which is usually set to an empirical value of 2-3. It is the meter's replacement cycle (see below, estimated through a specific method).

[0097] It should be noted that the attenuation coefficient mentioned above is determined solely based on time. In another embodiment, it is determined based on the combined effect of credibility and time. For example, a weighted summation method can be used to determine the final attenuation coefficient, reflecting the combined influence of credibility and time.

[0098] Step 203: Generate a power dispatch instruction containing the dispatch value and send it to the energy storage inverter.

[0099] The cloud encapsulates the corrected scheduling values ​​into power scheduling commands and sends them to the energy storage inverter for execution. The energy storage inverter then controls the charging and discharging direction and power of the batteries according to these commands, thereby achieving actual regulation of the power system.

[0100] The above methods enable more accurate scheduling and facilitate the implementation of zero-feed networks, avoiding problems such as over-schedule and under-schedule.

[0101] In one feasible implementation, the method further includes: The update cycle of the electricity meter is estimated based on the time difference between two adjacent effective power levels; the scheduling cycle for issuing power scheduling commands is set to be greater than or equal to the update cycle.

[0102] The formula for calculating the time difference is as follows:

[0103] in, This represents the effective power reported in the i-th iteration. It is the effective power reported in the (i-1)th time.

[0104] Then, the meter update cycle is estimated using the sliding window averaging method. The formula is as follows:

[0105] in This is the window size (typically 10~20). This represents the summation of time differences between any two adjacent effective power values. By using a sliding window averaging method, individual abnormal time difference fluctuations can be smoothed out, resulting in a relatively stable estimate of the meter update cycle. As new effective power is continuously generated, the window is updated accordingly. It will also be dynamically adjusted, so that the scheduling cycle can adaptively follow the actual update frequency of the electricity meter.

[0106] This allows us to obtain the update cycle of the meter currently being read by the meter reader, thus more accurately identifying whether the first power reported by the meter reader each time is valid power. Furthermore, by setting the scheduling cycle of the scheduling command to be greater than or equal to the update cycle, we can ensure that the issuance of scheduling commands is based on the new data corresponding to the current update cycle, rather than issuing multiple power scheduling commands using the same power value within a single update cycle, thereby avoiding inaccurate scheduling.

[0107] For example, Figure 3 This diagram illustrates the architecture of an adaptive power scheduling method provided in an embodiment of this application. The core logic involves a closed-loop connection between electricity metering, cloud-based scheduling algorithms, photovoltaic power generation, and energy storage regulation. Figure 3 As shown: (1) Data Acquisition Layer: Smart Meter, which is not limited to smart meters but also includes various other types of meters, is responsible for measuring the total electricity consumption of a household or the electricity used to connect to the grid. Data is output via LED pulses or an LCD screen (optical sensing method). Meter Reader is used to acquire smart meter data, reading the LED pulses or LCD display values ​​of the smart meter through optical sensing technology. This device is responsible for converting physical signals into digital power data.

[0108] (2) Data transmission layer: Communication link: The meter reader securely and in real time uploads the collected power data to the cloud via WiFi / 4G network.

[0109] (3) Scheduling layer: HEMS scheduling system: deployed in the cloud. It receives real-time power data, combines photovoltaic power generation forecasts, electricity price information (implied in adaptive scheduling), and energy storage battery status, runs optimization algorithms, and generates optimal charging and discharging instructions.

[0110] (4) Execution and Feedback Layer: Integrated energy storage unit: Includes an inverter and energy storage battery. It receives "dispatch commands" (including charging or discharging commands) from the cloud.

[0111] Power feedback: When executing commands, the energy storage unit will send its actual output power to the cloud in real time, forming a closed-loop control to ensure precise scheduling.

[0112] Photovoltaic power generation unit: Composed of photovoltaic panels, the generated PV power is directly input into the energy storage unit to supply the load or be stored in the battery.

[0113] The aforementioned architecture enables adaptive energy dispatch through a closed-loop mechanism of "data acquisition - cloud decision-making - energy storage execution - power feedback". The cloud dynamically issues charging and discharging commands based on real-time uploaded electricity consumption and photovoltaic data, which are then precisely executed and fed back by the integrated energy storage unit, thereby optimizing electricity consumption patterns, maximizing photovoltaic absorption, and improving energy utilization efficiency.

[0114] In one feasible implementation, the method further includes: The target number of frames corresponding to the reading operation performed by the meter reader according to the preset cycle is determined based on the update cycle, so as to ensure that the meter reader reads the valid value updated by the meter in the next update cycle after the target number of frames; if the change between multiple adjacent time differences exceeds the preset range, the update cycle of the meter is recalculated.

[0115] In other words, after obtaining the meter's update cycle, the target number of frames (only applicable to the current meter) can be determined according to the meter's update cycle when the meter reader performs reading according to the preset cycle, so as to ensure that the meter reader can read the valid value updated by the meter in the next update cycle after reaching the target number of frames.

[0116] For example, a target frame rate is given. The calculation formula is as follows:

[0117] in, This refers to the preset reading period of the meter reader mentioned above, which is assumed to be 2 seconds here.

[0118] For example, if the estimated update cycle is seconds, the preset reading period of the meter reader is Seconds, then target frame count:

[0119] If the target frame count is required to be an integer, it can be determined by... Set it to 5 frames (it needs to be greater than 4 frames, otherwise it may still be within the old update cycle), because 4 frames correspond to 8 seconds, which is not enough for one update cycle; 5 frames correspond to 10 seconds, which covers a complete update cycle.

[0120] In addition, if the variation between multiple adjacent time differences exceeds the preset range, it indicates that the meter's update cycle may have changed (e.g., meter malfunction, parameter reconfiguration, or meter reader abnormality). In this case, the meter's update cycle should be recalculated to ensure the accuracy of subsequent judgments.

[0121] Figure 4 The diagram illustrates the interactive architecture of an adaptive power scheduling method provided in an embodiment of this application. Figure 4 As shown, the method includes the following steps: Step 401: Display 1000W. This refers to the smart meter displaying 1000W.

[0122] Step 402: The meter reader reads 1000W. The meter reader reads the 1000W reading from the smart meter display.

[0123] Step 403: Report 1000W, T=t0. The meter reader reports the 1000W it reads to the scheduling system at time t0.

[0124] Step 404: Verify that the power is valid and mark it as having the first level of confidence. The scheduling system verifies that the power is valid and marks it as having the first level of confidence. The verification method is the same as in the previous embodiment.

[0125] Step 405: Issue power dispatch instructions. The dispatch system issues power dispatch instructions to the inverter based on the effective power and the first confidence level of the tag.

[0126] Step 406: Feedback on scheduling results. After the inverter executes the power scheduling command, it feeds back the scheduling results.

[0127] Step 407: The meter reading of 1000W has not been updated.

[0128] Since the electricity meter has not yet reached the new update cycle (assuming it is updated 10 seconds after time t0), it still displays 1000W (the value that has not yet been updated).

[0129] Step 408: The meter reader reads 1000W. That is, since it has not been updated yet, the meter reader reads 1000W, which has not yet been updated.

[0130] Step 409: Report 1000W, T=t1. The meter reader reports the 1000W it reads to the scheduling system at time t1 (e.g., t0+2s).

[0131] Step 410: Verify as valid power and mark as second confidence level. That is, the scheduling system verifies as valid power and marks as second confidence level. It should be noted that although it is actually verified as valid power, it is only second confidence level. Therefore, it may or may not be scheduled. Even if scheduled, the scheduled value will be relatively small. Refer to the description in the previous embodiment. The valid power (suspected invalid power) determined in this step for second confidence level occurs when each difference between the previous valid power and the first power does not exceed the minimum change threshold, and the number of differences is less than the preset target frame number.

[0132] Step 411: The meter reader reads 1000W. That is, since it has not been updated yet, the value read by the meter reader is still 1000W, which has not been updated.

[0133] Step 412: Report 1000W, T=t2. The meter reader reports the 1000W it reads to the scheduling system at time t2 (e.g., t0+4s).

[0134] Step 413: Verify valid power and mark with second confidence level. The scheduling system performs verification, and after verifying that it is valid power, marks with second confidence level. This second confidence level can be the same as or different from the previously mentioned second confidence level. For example, it can be set to be lower than the second confidence level in step 410.

[0135] Step 414: The meter reader reads 1000W. The meter reader reads 1000W, which has not yet been updated.

[0136] Step 415: Report 1000W, T=t3. The meter reader reports the 1000W it reads to the scheduling system at time t3 (e.g., t0+6s).

[0137] Step 416: Target frame count exceeded, invalid power detected. The scheduling system checks and finds that the target frame count has been exceeded, classifying the power as invalid. Therefore, scheduling is not executed.

[0138] Step 417: The electricity meter display is updated to 50W. Assume that 10 seconds after t0, the electricity meter has been updated, and the display shows 50W.

[0139] Step 418: The meter reader reads 50W. The meter reader has read the updated 50W.

[0140] Step 419: Report 50W, T=t4. The table reader reports the 50W it has read to the scheduling system at time t4.

[0141] Step 420: Verify that the power is valid and mark it as having the first level of confidence. The scheduling system verifies that the power is valid and marks it as having the first level of confidence (high confidence level).

[0142] Step 421: Issue power dispatch command. At this time, the dispatch system issues a power dispatch command to the inverter.

[0143] Step 422: Feedback on scheduling results. The inverter executes the power scheduling command and feeds back the scheduling results.

[0144] Step 423: System converges rapidly. At this point, the scheduling system converges rapidly.

[0145] Based on the same technical concept, this application also provides an adaptive power scheduling device. This device is deployed in the cloud and is used to manage an electricity system by scheduling an energy storage inverter. An electricity meter is used to measure the electricity consumption of the system, and the meter's update cycle is unknown. Figure 5 As shown, the device includes: The acquisition module 501 is used to acquire the first power read and reported by the meter reader according to a preset cycle; the first power is the real-time power of the power grid read by the meter reader from the display screen of the electricity meter through image optical character recognition.

[0146] The first verification module 502 is used to verify whether the first power is the effective power after the meter update based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, and to generate the corresponding confidence level.

[0147] The scheduling module 503 is used to issue a power scheduling command to the energy storage inverter based on the first power and its reliability if the first power is an effective power; the scheduling value of the power scheduling command is related to the first power and the reliability value.

[0148] In a feasible implementation, the first verification module is used to verify whether the first power is the effective power after the meter update, based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, and to generate a corresponding confidence level, including: Get the scheduling time of the previous power scheduling instruction.

[0149] If the reporting time is later than the scheduling time, and the difference between the first power and the previous effective power exceeds a preset minimum change threshold, then the first power is determined as the effective power after the meter update, and the first power is marked with a first confidence level.

[0150] Alternatively, if the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is less than a preset target number of frames, then the first power is determined as the effective power after the meter update, and a second confidence level is marked for the first power; the first confidence level is greater than or equal to the second confidence level.

[0151] In one feasible implementation, the first verification module is used to verify whether the first power is the effective power after the meter update, based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, including: If the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is greater than or equal to a preset target number of frames, then the first power is determined as invalid power before the meter update.

[0152] Alternatively, the device may further include: The inverter power acquisition module is used to acquire the power change information of the energy storage inverter.

[0153] The second verification module is used to determine the first power as invalid power before the meter update if the power change between the first power and the previous effective power exceeds a preset deviation from the power change of the energy storage inverter.

[0154] In one feasible implementation, the scheduling module is configured to, if the first power is valid power, issue a power scheduling instruction to the energy storage inverter based on the first power and its reliability, including: The actual demand value is determined based on the first power.

[0155] Based on the credibility level, the actual demand value is adjusted by magnitude to obtain the adjusted scheduling value; the smaller the credibility level, the lower the scheduling value.

[0156] A power dispatch command containing the dispatch value is generated and sent to the energy storage inverter.

[0157] In one feasible implementation, the device is also used to coordinate the management of the new energy power generation system and the power consumption system by scheduling the energy storage inverter.

[0158] The scheduling module is used to determine the actual demand value based on the first power, including: The target power required by the power system is determined based on the first power.

[0159] Obtain the power generation capacity of the new energy power generation system.

[0160] The difference between the target power consumption and the power generation is determined as the actual demand value; wherein, a positive actual demand value indicates that there is a demand for electricity from the grid, and a negative actual demand value indicates that there is a demand for electricity from the grid feeder.

[0161] In one feasible implementation, the device further includes: The cycle estimation module is used to estimate the update cycle of the meter based on the time difference between two adjacent effective power levels.

[0162] The setting module is used to set the scheduling period for issuing power scheduling commands to be greater than or equal to the update period.

[0163] In one feasible implementation, the device further includes: The frame number determination module is used to determine the target frame number corresponding to the meter reader performing reading according to the preset cycle based on the update cycle, so as to ensure that the meter reader reads the valid value updated by the meter in the next update cycle after the target frame number.

[0164] The calculation module is used to recalculate the update cycle of the electricity meter if the change between multiple adjacent time differences exceeds a preset range.

[0165] Figure 6 A schematic diagram of an electronic device provided in this application embodiment includes: a processor 601, a storage medium 602, and a bus 603. The storage medium 602 stores machine-readable instructions executable by the processor 601. When the electronic device runs an adaptive power scheduling method as described in the embodiment, the processor 601 communicates with the storage medium 602 via the bus 603, and the processor 601 executes the machine-readable instructions to perform the steps as described in the embodiment.

[0166] In this embodiment, the storage medium 602 may also execute other machine-readable instructions to perform other methods as described in the embodiment. For details on the specific execution steps and principles, please refer to the description of the embodiment, which will not be repeated here.

[0167] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to perform the steps as described in the embodiments.

[0168] In this embodiment, the computer program, when run by the processor, can also execute other machine-readable instructions to perform other methods as described in the embodiments. For details on the specific execution steps and principles, please refer to the description of the embodiments, which will not be repeated here.

[0169] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0170] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0171] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0172] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0173] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An adaptive power scheduling method, characterized in that, The method is applied in the cloud to manage the power system by scheduling energy storage inverters, and the electricity meter is used to measure the electricity consumption of the power system. The method includes: The meter reader reads and reports the first power according to a preset period; the first power is the real-time power of the power grid read by the meter from the display screen of the meter through image optical character recognition; the update period of the meter is unknown; the preset period is different from the update period. Based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, the system verifies whether the first power is the effective power after the meter update and generates a corresponding confidence level. The first power and the previously reported effective power include: the same power read by the meter reader within the same update cycle, or different power read by the meter reader within different update cycles. The confidence level is determined based on the following: whether the difference between the first power indicated by the numerical change characteristics and the previously reported effective power exceeds a preset minimum change threshold, and the number of differences that do not exceed the minimum change threshold. The lower the confidence level, the greater the probability that the first power and the previously reported effective power are power values ​​updated by the meter within the same update cycle. If the first power is effective power, a power scheduling command is issued to the energy storage inverter based on the first power and its reliability; the scheduling value of the power scheduling command is related to the first power and the reliability value.

2. The method according to claim 1, characterized in that, The process of verifying whether the first power is the updated valid power of the meter based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported valid power, and generating a corresponding confidence level, includes: Get the scheduling time of the previous power scheduling instruction; If the reporting time is later than the scheduling time, and the difference between the first power and the previous effective power exceeds a preset minimum change threshold, then the first power is determined as the effective power after the meter update, and the first power is marked with a first degree of confidence. Alternatively, if the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is less than a preset target number of frames, then the first power is determined as the effective power after the meter update, and a second confidence level is marked for the first power; the first confidence level is greater than or equal to the second confidence level.

3. The method according to claim 2, characterized in that, The step of verifying whether the first power is the effective power after the meter update, based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, includes: If the reporting time is later than the scheduling time, the difference between the first power and the previous effective power is less than or equal to a preset minimum change threshold, each difference between the previous effective power and the first power does not exceed the minimum change threshold, and the number of differences is greater than or equal to a preset target number of frames, then the first power is determined as invalid power before the meter update. Alternatively, the method may further include: Obtain the power variation of the energy storage inverter; If the power change between the first power and the previous effective power exceeds a preset deviation from the power change of the energy storage inverter, then the first power is determined as the invalid power before the meter is updated.

4. The method according to claim 1 or 2, characterized in that, If the first power is effective power, then a power scheduling command is issued to the energy storage inverter based on the first power and its reliability, including: The actual demand value is determined based on the first power; Based on the credibility level, the actual demand value is adjusted by magnitude to obtain the adjusted scheduling value; the smaller the credibility level, the lower the scheduling value. A power dispatch command containing the dispatch value is generated and sent to the energy storage inverter.

5. The method according to claim 4, characterized in that, The method is also used to coordinate the management of the new energy power generation system and the power consumption system by scheduling the energy storage inverter; Determining the actual demand value based on the first power includes: The target power required by the power system is determined based on the first power. Obtain the power generation capacity of the new energy power generation system; The difference between the target power consumption and the power generation is determined as the actual demand value; wherein, a positive actual demand value indicates that there is a demand for electricity from the grid, and a negative actual demand value indicates that there is a demand for electricity from the grid feeder.

6. The method according to claim 1, characterized in that, The method further includes: The update cycle of the meter is estimated based on the time difference between two adjacent effective power values. The scheduling period for issuing power scheduling commands is set to be greater than or equal to the update period.

7. The method according to claim 1, characterized in that, The method further includes: The target frame number corresponding to the reading operation of the meter reader according to the preset cycle is determined based on the update cycle, so as to ensure that the meter reader reads the valid value of the electricity meter updated in the next update cycle after the target frame number; If the variation between multiple adjacent time differences exceeds a preset range, the update cycle of the meter is recalculated.

8. An adaptive power scheduling device, characterized in that, The device is deployed in the cloud and is used to manage the power system by scheduling the energy storage inverter, and the electricity meter is used to measure the power consumption of the power system. The device includes: The acquisition module is used to acquire the first power read and reported by the meter reader according to a preset period; the first power is the real-time power of the power grid read by the meter reader from the display screen of the electricity meter through image optical character recognition, the update period of the electricity meter is unknown, and the preset period is different from the update period; The first verification module is used to verify whether the first power is the updated effective power of the electricity meter based on the reporting time of the first power and the numerical change characteristics between the first power and the previously reported effective power, and to generate a corresponding confidence level. The first power and the previously reported effective power include: the same power read by the meter reader within the same update cycle, or different power read by the meter reader within different update cycles. The confidence level is determined based on the following: whether the difference between the first power indicated by the numerical change characteristics and the previously reported effective power exceeds a preset minimum change threshold, and the number of differences that do not exceed the minimum change threshold. The lower the confidence level, the greater the probability that the first power and the previously reported effective power are the power values ​​updated by the electricity meter within the same update cycle. The scheduling module is used to issue a power scheduling command to the energy storage inverter based on the first power and its reliability if the first power is an effective power; the scheduling value of the power scheduling command is related to the first power and the reliability value.

9. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the adaptive power scheduling method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the adaptive power scheduling method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data processing method and device for metering credibility of electric energy meter and medium

    CN115932711A

  • Optical storage micro-grid optimization method and system based on Internet of Things

    CN120784876A