A power distribution network line loss abnormality cause positioning method and system based on multi-source data fusion
By fusing multi-source data to construct the distribution and categorized fluctuation range of measurement deviations, and combining it with the correlation degree of line loss synchronization, the problems of false alarms, missed alarms and cause ranking in the existing technology for line loss anomaly location are solved, and efficient and accurate anomaly cause location is achieved.
Patent Information
- Application Number
- CN202611358399.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-20
AI Technical Summary
Existing methods for locating the causes of abnormal line losses in distribution networks rely on a single data source, which cannot identify false anomalies caused by the asynchrony between the frozen timescale and the reporting timescale. Furthermore, fixed thresholds cannot adapt to load fluctuations, leading to false alarms and missed alarms. In addition, there is a lack of reliable quantitative ranking of causes, resulting in low investigation efficiency.
By fusing multi-source data and linking metering data sources and operational data sources, the distribution and categorized fluctuation range of metering deviations along the power supply path are constructed. The cause location results are calculated by combining the line loss synchronization correlation degree, and a structured anomaly cause work order is generated.
It improves the spatial positioning accuracy and identification accuracy of abnormal line loss locations, provides a ranking of cause credibility, and enhances the efficiency of investigation and handling.
Smart Images

Figure CN123140418A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power operation technology, and in particular to a method and system for locating the causes of abnormal line losses in distribution networks based on multi-source data fusion. Background Technology
[0002] Existing methods for locating the causes of abnormal line losses in distribution networks typically employ a single data source analysis path. They rely solely on frozen electricity data provided by the metering automation system to calculate the line loss rate at each level. When the line loss rate exceeds a set threshold, an anomaly is identified in the power supply path, and the anomaly location is then determined through manual, step-by-step investigation. This single-data-source-based method fails to perform time-series correlation verification between metering data and operational data such as bus voltage and line current reported by distribution terminals. It cannot identify false line loss anomalies caused by a mismatch between the frozen and reported time scales, significantly reducing processing efficiency as a large number of false alarms enter the manual investigation stage. Furthermore, existing methods directly calculate the line loss value for each level by subtracting the reading from the total meter reading in the distribution area from the user meter reading, without recursively separating losses between adjacent levels along the power supply path. This results in the loss increment occurring at a certain location in the power supply path accumulating downstream along the direction of power transmission, causing all levels downstream of that location to exhibit line loss exceeding the threshold. When investigators face multiple adjacent levels simultaneously exceeding the threshold, they cannot accurately locate the true cause.
[0003] Furthermore, existing methods typically use fixed thresholds as a benchmark when determining abnormal line losses, failing to construct dynamic boundaries by incorporating the deviation fluctuation characteristics of each topological level along the power supply path during normal operating periods. When load fluctuates normally with seasonal changes or user electricity consumption behavior, fixed thresholds cannot accommodate the normal drift range of deviation values. During light-load periods, many normal fluctuations are misjudged as abnormal, while genuine anomalies during heavy-load periods are buried within the threshold range and go undetected. In the anomaly localization phase, existing methods only output a list of line sections with excessive line loss rates, without conducting trend co-analysis of the changing direction of user electricity consumption behavior and the changing direction of line loss deviation. They cannot distinguish whether the anomaly is caused by increased user-side electricity consumption or increased equipment losses, lacking a means to quantitatively rank the causal reliability of each candidate anomaly section. Moreover, the localization results do not include anomaly cause classification information or structured handling guidance. When faced with multiple suspected sections, investigators lack clear priority criteria, and investigation efficiency heavily relies on accumulated manual experience, making it difficult to meet the requirements of refined distribution network management for accurate anomaly localization and timely handling. Summary of the Invention
[0004] This invention provides a method and system for locating the causes of line loss anomalies in distribution networks based on multi-source data fusion. Its main purpose is to solve the problem of low efficiency in locating the causes of line loss anomalies in distribution networks based on multi-source data fusion.
[0005] To achieve the above objectives, this invention provides a method for locating the causes of abnormal line losses in distribution networks based on multi-source data fusion, comprising: S1. Align and associate the metering data source and the operation data source collected by the sensors in the target process according to the distribution network topology nodes to obtain the multi-source fusion data of the target process; S2. Construct a power supply path based on the topology archive data in the multi-source fusion data, and compare the deviation between the total meter data of the transformer area and the user meter data on the power supply path in terms of time sequence to obtain the metering deviation distribution of the target process; S3. Decouple the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process; S4. Perform limit screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process; S5. Compare the fluctuation trend of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronization correlation degree of the target process. S6. Determine the cause location result based on the line loss synchronization correlation degree, and associate the cause location result with the equipment ledger information in the topology archive data to obtain the abnormal cause work order of the target process.
[0006] In a preferred embodiment, the step of associating and aligning the metering data source and the operational data source collected by sensors during the target process according to the distribution network topology nodes to obtain the multi-source fusion data of the target process includes: The user-frozen electricity and corresponding freezing timestamp of the metering data source in the target process are obtained, as well as the effective values of bus voltage and line current reported by the distribution terminal in the running data source and the corresponding reporting timestamps, to obtain the source-end time sequence record of the target process; The user frozen electricity, the effective value of the bus voltage, and the effective value of the line current are grouped and merged according to the node number of the distribution network topology node to obtain the node source group of the target process; The frozen timescale and the reported timescale of nodes with the same distribution network topology in the node source group are matched by nearest neighbor according to the time axis to obtain the node association record group of the target process; The multi-source fusion data of the target process is obtained by performing time-series verification on the synchronous association record group of the node association record group according to the topological connection status of the distribution network topology node.
[0007] In a preferred embodiment, the step of constructing a power supply path based on the topology profile data in the multi-source fusion data, and comparing the time-series deviations between the transformer area master table data and the user table data on the power supply path to obtain the metering deviation distribution of the target process includes: The feeder switch number, sectional switch number, distribution transformer number, and household meter number are extracted from the multi-source fusion data to obtain the topology element number set of the target process; Using the set of topology element numbers as an index, locate the corresponding distribution network topology nodes in the topology archive data, and connect the distribution network topology nodes in series according to the direction of power transmission to obtain the power supply path of the target process; Based on the power supply path, the loss is decomposed into layers of the total meter data and user meter data for the transformer area to obtain the metering deviation distribution of the target process.
[0008] In a preferred embodiment, the step of performing hierarchical loss decomposition on the transformer area master meter data and user meter data based on the power supply path to obtain the metering deviation distribution of the target process includes: Mark the master meter topology node corresponding to the transformer area master meter data and the user topology node corresponding to the user meter data on the power supply path, and merge the master meter frozen electricity of the master meter topology node and the user frozen electricity of the user topology node along the power supply path according to the same metering period to obtain the master meter summary reading and the user meter summary reading of the target process. The difference between the total meter reading and the household meter reading is used to obtain the original periodic deviation value of the target process. The original periodic deviation value is then summarized level by level according to the path hierarchy of the power supply path to obtain the hierarchical deviation record of the target process. The metering deviation distribution of the target process is obtained by recursively stripping the level loss values between adjacent levels on the same power supply path in the level deviation record.
[0009] In a preferred embodiment, the step of decoupling the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process includes: The baseline master table data and the baseline household meter data are accumulated level by level according to the topology hierarchy of the power supply path to obtain the hierarchical baseline master table value and hierarchical baseline household meter value of the target process. The hierarchical baseline total table value is compared with the hierarchical baseline household table value item by item to obtain the hierarchical baseline deviation sequence of the target process; The hierarchical baseline deviation sequence is expanded into the baseline deviation time series waveform of the target process according to the time-scale order within the baseline time period; The upper and lower amplitude envelopes of the baseline deviation time-series waveform are used as the fractal boundaries of the topology level on the power supply path, and the amplitude range enclosed by the fractal boundaries is used as the fractal fluctuation range of the target process.
[0010] In a preferred embodiment, the step of performing boundary screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process includes: Extract the current level deviation value of the topology level to be processed within the task measurement cycle from the measurement deviation distribution, and obtain the upper boundary value and lower boundary value of the level fractal corresponding to the topology level to be processed in the fractal fluctuation interval. The over-limit deviation value of the target process is determined based on the magnitude comparison result between the current hierarchical deviation value and the upper boundary value and lower boundary value of the hierarchical fractal. The power supply segment path corresponding to the over-limit deviation value is taken as the over-limit segment of the target process, and the path segments between the first and last topology nodes in the over-limit segment are summarized as the over-limit segment set of the target process. The out-of-limit sections with overlapping paths and adjacent endpoints in the out-of-limit section set are merged into a candidate abnormal path set for the target process.
[0011] In a preferred embodiment, the step of comparing the fluctuation trend of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronization correlation degree of the target process includes: Locate the user topology node corresponding to the power supply path segment covered by the candidate abnormal path set, and obtain the segment user time sequence record of the target process; Extract the segment deviation sequence corresponding to the power supply path segment from the metering deviation distribution, and resample the segment deviation sequence according to the metering cycle time scale to obtain the segment alignment deviation sequence of the target process; The periodic change direction of the user meter electricity time series in the segment user time series record is compared with the periodic change direction of the segment alignment deviation sequence to obtain the number of same-direction cycles of the target process, and the ratio of the number of same-direction cycles to the total number of metering cycles in the target process is used as the same-direction proportion of the target process. The line loss synchronization correlation degree of the target process is calculated based on the ratio of the same direction proportion to the user deviation amplitude of the segment user time sequence record.
[0012] In a preferred embodiment, the formula for calculating the line loss synchronization correlation degree includes: in, The line loss synchronization correlation degree, The weighting coefficients for directional factors. For directional synchronization rate, The weighting coefficient for the amplitude factor. For amplitude synchronization rate, This is the time-series offset influence coefficient. It is a natural constant. This represents the timing offset decay rate. To accumulate directional offset, This is the amplitude dispersion penalty coefficient. The amplitude discrete attenuation rate, This represents the amplitude dispersion.
[0013] In a preferred embodiment, the step of determining the cause location result based on the line loss synchronization correlation degree, and associating the cause location result with the equipment ledger information in the topology archive data to obtain the abnormal cause work order for the target process, includes: The correlation degree of the line loss synchronization is sorted in descending order to obtain the correlation degree sequence of the target process; The abnormal connectivity path region that ranks first in the correlation sequence is taken as the priority location region, and the equipment ledger information on the line segment covered by the priority location region is extracted. The topological connection relationship between the first and last topological nodes of the line section is associated and bound with the transformer model and line cross-section parameters in the equipment ledger information to obtain the location result association record of the target process; The location result associated records are categorized and grouped according to the anomaly cause type identifier to obtain the type group records of the target process, and a structured processing field is generated for the type group records to obtain the anomaly cause work order of the target process.
[0014] To address the aforementioned problems, this invention also provides a system for locating the causes of abnormal line losses in distribution networks based on multi-source data fusion, the system comprising: The multi-source data fusion module associates and aligns the metering data source and the operation data source collected by the sensor in the target process according to the distribution network topology nodes to obtain the multi-source fused data of the target process. The metering deviation analysis module constructs a power supply path based on the topology archive data in the multi-source fusion data, compares the deviation of the total meter data of the transformer area and the user meter data on the power supply path in terms of time sequence, and obtains the metering deviation distribution of the target process. The fractal fluctuation decoupling module decouples the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process. The limit-crossing screening module performs limit-crossing screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process; The synchronous correlation analysis module compares the fluctuation trend of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronous correlation degree of the target process. The anomaly cause localization module determines the cause localization result based on the line loss synchronization correlation degree, and associates the cause localization result with the equipment ledger information in the topology archive data to obtain the anomaly cause work order for the target process.
[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention aligns the frozen electricity of the metering data source with the effective values of the bus voltage and line current of the operating data source according to the distribution network topology nodes. This ensures that all data involved in line loss analysis are synchronized on the time axis and consistent in topological space, providing multi-source fusion data that simultaneously satisfies time-scale consistency and electrical quantity constraints for subsequent steps. Based on this, the hierarchical loss values between adjacent levels are recursively stripped along the power supply path, so that the independent loss value of each level no longer includes the cumulative component caused by the propagation of upstream level losses along the power transmission direction. The metering deviation distribution of each topological level on the power supply path can truly reflect the loss level of that level, eliminating the problem of multiple adjacent levels showing anomalies simultaneously due to loss propagation and making it impossible to locate the true cause, thus improving the spatial positioning accuracy of the cause of line loss anomalies. This invention also expands the hierarchical baseline deviation sequence into a baseline deviation time series waveform according to the time scale order within the baseline time period and extracts the upper and lower envelopes of the waveform amplitude as classification boundaries. It quantifies the legal range of deviation fluctuation with load under normal operating conditions of each level into a dynamic classification fluctuation range, so that the boundary value used for subsequent over-limit screening can be adaptively adjusted with the hierarchical characteristics and time period changes. This avoids the problems of frequent false alarms during light load periods and serious missed alarms during heavy load periods caused by fixed thresholds, and improves the accuracy of line loss anomaly identification and adaptability to different operating conditions.
[0016] 2. This invention locates user topology nodes corresponding to power supply path segments covered by candidate abnormal path sets and extracts the time-series sequence of user meter electricity consumption. It compares the direction of change in user electricity consumption behavior with the direction of change in segment deviation to obtain the proportion of the same direction. Then, it combines the user deviation amplitude ratio to comprehensively calculate the correlation degree of line loss synchronization. This integrates the information of the two dimensions of direction synchronization and amplitude synchronization into a single quantitative indicator. This correlation degree can distinguish whether the change in line loss deviation is caused by changes in user-side electricity consumption behavior or by other factors. It provides a quantitative ranking basis for the credibility of the causes of each candidate abnormal path area, and solves the problem that the lack of priority ranking means leads to the lack of a clear order of handling when investigators face multiple suspected segments. This invention further identifies the top-ranked abnormal path region as the priority location region by sorting the line loss synchronization correlation in descending order. Then, it associates and binds the topological connection relationship of the line segments covered by this region with the transformer model and line cross-section parameters in the equipment ledger information. This ensures that the location result includes both the spatial location information of the abnormal line and the technical parameter information of the corresponding equipment. Finally, it categorizes and groups the abnormality cause type and generates structured handling fields. This ensures that each handling item in the output abnormality cause work order includes a handling type code and a handling sequence code. On-site maintenance personnel can perform handling operations item by item according to the work order content without manually interpreting the location data, thus improving the operability and implementation efficiency of abnormality handling. Attached Figure Description
[0017] Figure 1 A flowchart illustrating a method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion, provided in an embodiment of the present invention; Figure 2 A functional block diagram of a distribution network line loss anomaly localization system based on multi-source data fusion provided in an embodiment of the present invention; The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0018] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0019] This application provides a method for locating the causes of distribution network line loss anomalies based on multi-source data fusion. The executing entity of this method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the method for locating the causes of distribution network line loss anomalies based on multi-source data fusion can be executed by software or hardware installed on a terminal device or a server device. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0020] Reference Figure 1 The diagram shown is a flowchart illustrating a method for locating the causes of distribution network line loss anomalies based on multi-source data fusion, according to an embodiment of the present invention. In this embodiment, the method for locating the causes of distribution network line loss anomalies based on multi-source data fusion includes: In this embodiment of the invention, when the metering data source and operation data source collected by sensors during the target process are associated and aligned according to the distribution network topology nodes to obtain the multi-source fusion data of the target process, it is specifically used for: The user-frozen electricity and corresponding freezing timestamp of the metering data source in the target process are obtained, as well as the effective values of bus voltage and line current reported by the distribution terminal in the running data source and the corresponding reporting timestamps, to obtain the source-end time sequence record of the target process; The user frozen electricity, the effective value of the bus voltage, and the effective value of the line current are grouped and merged according to the node number of the distribution network topology node to obtain the node source group of the target process; The frozen timescale and the reported timescale of nodes with the same distribution network topology in the node source group are matched by nearest neighbor according to the time axis to obtain the node association record group of the target process;
[0021] The multi-source fusion data of the target process is obtained by performing time-series verification on the synchronous association record group of the node association record group according to the topological connection status of the distribution network topology node.
[0022] Specifically, the distribution network line loss anomaly location system sends a data query command for a specified time period to the electricity meter data acquisition master station through the standard data interface provided by the front-end machine of the metering automation system. The query command carries a list of asset numbers of all user electricity meters under the jurisdiction of the target distribution network topology node and the query time range. After receiving the query command, the electricity meter data acquisition master station retrieves the positive active total energy reading recorded by each user electricity meter at the daily freezing time from its historical frozen database and uses it as the user's frozen energy. At the same time, it extracts the freezing timestamp corresponding to the frozen energy. The freezing timestamp is accurate to the second and is automatically generated by the electricity meter's internal clock at the freezing time. The asset number of each user electricity meter, the user's frozen energy, and the freezing timestamp are combined into a metering data tuple and stored in a temporary buffer area.
[0023] Specifically, the system reads the metering data tuple and operation data tuple corresponding to each time group from the generated source time sequence records one by one, extracts the user asset number from each metering data tuple, and determines the distribution network topology node to which the metering data tuple belongs according to the pre-stored lookup table of user asset number and distribution network topology node number. All users' frozen electricity belonging to the same distribution network topology node are aggregated into a metering data set, and the metering data set arranges the value sequence of each user's frozen electricity according to the order of the freezing time scale.
[0024] Specifically, after obtaining the node source group, the metering data set and operation data set under each distribution network topology node entry are traversed. For any node entry, the frozen time stamps corresponding to the frozen electricity of each user are first extracted from the metering data set and arranged in chronological order to form a frozen time stamp sequence. The reporting time stamps corresponding to the effective values of bus voltage and line current are extracted from the operation data set and arranged in chronological order to form a reporting time stamp sequence. Then, each frozen time stamp in the frozen time stamp sequence is used as a matching benchmark to traverse all reporting time stamps in the reporting time stamp sequence and calculate the absolute value of the time difference. The reporting time stamp with the smallest absolute value of the time difference with the current frozen time stamp is selected as the candidate matching time stamp for that frozen time stamp. Then, each reporting time stamp in the reporting time stamp sequence is used as a matching benchmark to traverse all frozen time stamps in the frozen time stamp sequence and calculate the absolute value of the time difference. The frozen time stamp with the smallest absolute value of the time difference with the current reporting time stamp is selected as the candidate matching time stamp for that reporting time stamp.
[0025] Specifically, the system groups the established node association record groups according to the distribution network topology node number and then traverses the same source records in each group. It extracts the time difference between the frozen time stamp and the reported time stamp in each same source record. All same source records with time differences exceeding the preset time deviation tolerance are marked as time deviation excess records and removed from the node association record group. The remaining node association record group after removing the time deviation excess records is the synchronization association record group.
[0026] Furthermore, the system simultaneously sends a request frame for requesting measurement data to all distribution terminals under the target distribution network topology node via the distribution terminal communication management unit using a standard protocol. After responding to the request, each distribution terminal uploads the current effective value of the bus voltage and the effective value of the line current, as well as the reporting timestamps corresponding to these measurement values. The reporting timestamps are taken from the reading of the distribution terminal's own system clock at the sampling time of the measurement value. The distribution terminal number, the effective value of the bus voltage, the effective value of the line current, and the reporting timestamps are combined into an operational data tuple and stored in the same temporary buffer. The system aligns all metering data tuples and operational data tuples in the temporary buffer according to the timestamp field of their respective data sources. The time alignment method is to trace back to the nearest frozen timestamp based on the reporting timestamp of the operational data tuple and establish a time correspondence. All metering data tuples and operational data tuples that have completed time alignment are classified and stored according to their respective asset numbers or distribution terminal numbers and their affiliation with the distribution network topology node. After the above collection, retrieval, uploading, combination, alignment, and classification storage operations, the source time sequence record of the target process is obtained.
[0027] Furthermore, the system simultaneously extracts the distribution terminal number from each operational data tuple, determines the distribution network topology node to which the operational data tuple belongs based on a pre-stored lookup table of distribution terminal numbers and distribution network topology node numbers, and aggregates the effective values of bus voltage and line current belonging to the same distribution network topology node into an operational data set. This operational data set arranges the effective values of bus voltage and line current in the order of their reporting timestamps. The system uses the node number of the distribution network topology node as the grouping basis, associating and merging the metering data set and operational data set under each node number into the same grouping entry. After performing the above aggregation and merging operations on all distribution network topology nodes involved in the source-end time series records one by one, a grouped data structure with the node number as the primary key is formed. Each node number entry in this grouped data structure simultaneously contains the frozen electricity time series table of all user electricity meters within the jurisdiction of the node and the bus voltage and line current time series table reported by the distribution terminals under the node. This complete grouped data structure is used as the node source-end grouping of the target process.
[0028] Furthermore, when the candidate matching timescale of the frozen timescale and the candidate matching timescale of the reported timescale are each other, a timescale matching pair is formed. The paired timescales are removed from the original sequence to avoid duplicate matching. The above bidirectional nearest neighbor search and pairing operation is repeated until there are no matching timescales in either the frozen timescale sequence or the reported timescale sequence. The user frozen electricity, bus voltage effective value and line current effective value corresponding to each successfully paired timescale pair are associated as a homogeneous record. The user frozen electricity, bus voltage effective value and line current effective value in the homogeneous record share the same distribution network topology node number and their time base is consistent. All successfully established homogeneous records are summarized into the node association record group of the target process.
[0029] Furthermore, the system obtains the connection feeder numbers and sectionalizing switch numbers between each distribution network topology node from the distribution network topology archive data to determine the upstream and downstream connection relationships between each node. It selects the substation outgoing switch node located at the upstream of the power supply path from the synchronous association record group as the verification starting point. It reads the effective value of the bus voltage under this verification starting point node and uses this value as a benchmark to propagate downstream to adjacent nodes level by level. For any current node to be verified, the system multiplies the effective value of the bus voltage of its upstream adjacent node by the standard voltage drop coefficient of that line segment to obtain the theoretical voltage value of the node to be verified. Simultaneously, it reads the actual reported bus voltage of the distribution terminal under the node to be verified from the synchronous association record group. The effective voltage value is used as the measured voltage value. The difference between the theoretical voltage value and the measured voltage value is calculated to obtain the absolute value of the voltage deviation at the node. If the absolute value of the voltage deviation is within the preset voltage deviation tolerance range, the node is determined to have passed the timing consistency check. If it exceeds the tolerance range, the timing consistency check is determined to have failed, and the same source record at the node is marked as a failed record and removed. Starting from the outgoing switch node of the substation, the system advances downstream step by step according to the power transmission direction of the power supply path until it covers all distribution network topology nodes on the power supply path. All the same source records that are still retained in the synchronous association record group after the above step-by-step verification are used as the multi-source fusion data of the target process.
[0030] In summary, by simultaneously collecting data from two different sources—metering data sources and operational data sources—and storing them according to their respective time tags, the user's frozen electricity, the effective values of bus voltage, and the effective values of line current can be used in subsequent steps within the same time reference framework. This avoids the problem of misaligned correlation analysis caused by asynchronous data collection times and provides a time-consistent data foundation for locating the causes of abnormal line losses in the distribution network.
[0031] In summary, by using the node number of the distribution network topology node as the sole basis for grouping and merging, the frozen electricity of users, the effective value of bus voltage, and the effective value of line current scattered in different data sources are reorganized according to their respective topological locations. This allows all metering and operation data under each topology node to be centrally stored and managed, providing a structured data organization form for subsequent time matching and deviation analysis at the node granularity.
[0032] In summary, by performing bidirectional nearest neighbor search and pairing on the time axis for the frozen time stamp and the reporting time stamp within the same distribution network topology node, a time stamp correspondence is established for data records that originally belonged to metering data sources and operation data sources and whose collection times were not completely consistent. This allows the user's frozen electricity, bus voltage RMS value, and line current RMS value corresponding to each successfully matched time stamp to be associated with the same record. This solves the problem that data from different sources cannot be directly matched due to different collection frequencies, and provides paired records from the same source for subsequent time series verification.
[0033] In summary, by first removing records with time-scale matching deviations exceeding the tolerance from the node-associated record group to obtain the synchronous associated record group, and then transmitting the bus voltage values from upstream to downstream nodes step by step along the topology connection status of the power supply path and verifying the consistency between the measured voltage and the theoretical voltage of each node, the failed records that do not meet the voltage consistency constraints are removed from the synchronous associated record group. Valid records with time-scale deviations within the tolerance range and electrical quantities meeting the topology constraints are retained. This ensures that the final multi-source fused data simultaneously meets the quality requirements of both time synchronization and electrical consistency, providing reliable data input for subsequent power supply path construction and metering deviation analysis.
[0034] In this embodiment of the invention, the step of constructing a power supply path based on the topology profile data in the multi-source fusion data, and comparing the time-series deviations between the transformer area master table data and the user table data on the power supply path to obtain the metering deviation distribution of the target process, is specifically used for: The feeder switch number, sectional switch number, distribution transformer number, and household meter number are extracted from the multi-source fusion data to obtain the topology element number set of the target process; Using the set of topology element numbers as an index, locate the corresponding distribution network topology nodes in the topology archive data, and connect the distribution network topology nodes in series according to the direction of power transmission to obtain the power supply path of the target process; Based on the power supply path, the loss is decomposed into layers of the total meter data and user meter data for the transformer area to obtain the metering deviation distribution of the target process.
[0035] Specifically, the system locates the storage area where the topology archive data is located from the multi-source fusion data that has completed time-series verification. The topology archive data records the unique codes of each feeder outgoing switch, each section switch, each distribution transformer, and each user's electricity meter in the form of a structured table. The system reads all the code values under the feeder switch number field, the section switch number field, the distribution transformer number field, and the user meter number field in a sequential manner according to the table field name.
[0036] Specifically, the system retrieves each numbered entry from the topology element number set and reads its equipment type label. Based on the equipment type label, it matches the corresponding topology node record in the topology archive data. Each distribution network topology node in the topology archive data stores the equipment number and equipment type information installed at that node. When the numbered entry is completely consistent with the equipment number field value of a certain topology node and the equipment type label is consistent with the equipment type field value of that node, the matching and positioning are completed. The system uses the node coordinates and electrical connection terminal number stored in the topology archive data of that topology node as the positioning result of that node. After performing the above matching and positioning operation on each numbered entry in the topology element number set, all topology nodes corresponding to each number are obtained.
[0037] Specifically, the system traverses each topology node downstream along the constructed power supply path, arranging all topology nodes on the power supply path in a hierarchical sequence from the power source side to the load side. Each level corresponds to a topology node position on the power supply path. The system locates the frozen electricity readings of the transformer substation's main meter and the user's electricity meter stored under each topology node from the multi-source fusion data. The frozen electricity readings of the transformer substation's main meter and the user's electricity meter are then classified into the metering data set of the corresponding level according to their respective topology nodes. The system independently performs the merging and difference calculation of the main meter data and the user meter data within each level's metering data set to obtain the original loss value of that level.
[0038] Furthermore, each type of number read is stored in a corresponding temporary set according to its equipment type. Then, all number entries in these four temporary sets are merged into a single comprehensive set. Each entry in this comprehensive set carries an equipment type label to identify which type of feeder switch, sectionalizing switch, distribution transformer, or user energy meter the number belongs to. The comprehensive set after merging and type labeling is used as the topology element number set of the target process.
[0039] Furthermore, from all the located topology nodes, the topology node corresponding to the substation outgoing switch is identified as the starting node of the power supply path, and this starting node is taken as the current node. The outgoing connection field stored in the topology file data of the current node is read to determine the node number of the next-level topology node it is connected to. In all the located topology nodes, a topology node matching the next-level node number is searched as the successor node. Then, a directed connection relationship is established between the current node and the successor node, and the current node is replaced by the successor node. The above operations of reading the connection field, searching for the successor node, and establishing the directed connection relationship are repeated until there are no successor nodes in all the located topology nodes. All directed connection relationships are arranged in the order of establishment and connected in series to form a complete chain from the starting node to the end node. This complete chain is used as the power supply path of the target process.
[0040] Furthermore, following the hierarchical sequence of the power supply path, the system proceeds downstream level by level from the starting level, subtracting the original loss value of the upstream adjacent level from the original loss value of the current level to obtain the independent loss contribution value of the current level. After completing the above calculations for all levels, the system associates and stores the location of each topology node on the power supply path and its corresponding independent loss contribution value as a loss decomposition record, and uses this loss decomposition record as the metering deviation distribution of the target process.
[0041] In summary, by centrally extracting the serial numbers of four types of equipment—feeder switches, sectionalizing switches, distribution transformers, and user energy meters—from multi-source fusion data that has undergone time-series verification, the equipment identifiers scattered across different fields of the topology archive data are aggregated into a unified set of topology component serial numbers. This allows all node location indexes required for subsequent power supply path construction to be pre-organized into a single set, avoiding the need to repeatedly perform multi-field scattered searches in the topology archive data and improving the efficiency of node location during power supply path construction.
[0042] In summary, by using each numbered entry in the topology element number set as an index to complete the bidirectional matching and positioning of equipment numbers and topology nodes in the topology archive data, a one-to-one mapping relationship is established between the number and its corresponding topology node. Then, all the located topology nodes are connected in series to form a complete power supply path according to the power transmission direction from the substation outgoing switch to the user's electricity meter. This power supply path covers all intermediate level nodes from the power source side to the load side, providing a spatial organization framework along the power flow direction for subsequent hierarchical deviation analysis of master meter data and user meter data at each level.
[0043] In summary, by advancing step by step along the power supply path hierarchical sequence, the original loss value of each level is obtained by independently performing the merging and difference calculation of the master meter data and the user meter data. Then, following the order from the starting level to the ending level, the original loss value of each level is subtracted from the original loss value of its upstream adjacent level. The upstream loss contribution mixed in the original loss of each level is gradually separated, so that each level finally obtains an independent loss contribution value. This independent loss contribution value eliminates the propagation effect of upstream level loss and can truly reflect the unique loss level of that level. It provides pure deviation data that is not affected by other levels when comparing the metering deviation with the classification fluctuation range in the subsequent over-limit screening step, thereby improving the accuracy of locating the cause of line loss anomalies.
[0044] In this embodiment of the invention, when performing hierarchical loss decomposition on the transformer area master meter data and user meter data based on the power supply path to obtain the metering deviation distribution of the target process, it is specifically used for: Mark the master meter topology node corresponding to the transformer area master meter data and the user topology node corresponding to the user meter data on the power supply path, and merge the master meter frozen electricity of the master meter topology node and the user frozen electricity of the user topology node along the power supply path according to the same metering period to obtain the master meter summary reading and the user meter summary reading of the target process. The difference between the total meter reading and the household meter reading is used to obtain the original periodic deviation value of the target process. The original periodic deviation value is then summarized level by level according to the path hierarchy of the power supply path to obtain the hierarchical deviation record of the target process. The metering deviation distribution of the target process is obtained by recursively stripping the level loss values between adjacent levels on the same power supply path in the level deviation record.
[0045] Specifically, the process traverses each topology node downstream along the established power supply path. For each topology node currently traversed, the pre-marked transformer substation type identifier and user electricity meter type identifier are read from the node's data storage area. Based on the transformer substation type identifier, the frozen electricity reading record field of the transformer substation under this node is located from the multi-source fusion data, and this record field is marked as the transformer substation topology node. Based on the user electricity meter type identifier, the frozen electricity reading record fields of each user electricity meter under this node are located from the multi-source fusion data, and the node positions to which these record fields belong are marked as user topology nodes.
[0046] Specifically, the system reads the total meter reading and the household meter reading for any level on the power supply path within any metering cycle from the total meter reading and the household meter reading. The system then subtracts these two values to obtain the numerical difference for that level within the metering cycle. This numerical difference represents the deviation between the metered electricity consumption on the transformer substation side and the metered electricity consumption on the user side within the metering cycle. The system stores the numerical difference calculated for each level on the power supply path within each metering cycle as the original deviation value entry for that level, according to the level's affiliation. This original deviation value entry also carries the position number of that level on the power supply path and the start and end timestamps of the metering cycle.
[0047] Specifically, the system reads the level position number of the starting level of the power supply path and the corresponding numerical difference sequence within all metering cycles from the level deviation record. The numerical difference sequence of the starting level is directly marked as the independent loss sequence of that level. Subsequently, the system proceeds downstream level by level according to the level sequence of the power supply path, starting from the downstream adjacent level of the starting level. For the level to be processed, the system reads the numerical difference sequence of that level from the level deviation record. At the same time, it reads the independent loss value within the same metering cycle as the current level from the independent loss sequence of the directly upstream level that has been calculated. The system performs a cycle-by-cycle subtraction operation between the metering cycle values in the numerical difference sequence of the current level and the independent loss values in the corresponding metering cycle of the independent loss sequence of the upstream adjacent level. That is, the independent loss value of the upstream adjacent level is subtracted from the numerical difference of the current level. After the subtraction, the independent loss value of the current level within each metering cycle is obtained.
[0048] Furthermore, after marking all topology nodes, the system restarts from the initial level of the power supply path, proceeding level by level. For the current level, it first extracts the frozen electricity readings of the transformer area's master meter stored under the master meter topology node at that level from the multi-source fusion data. Then, it extracts the frozen electricity readings of each user's electricity meter stored under all user topology nodes at that level from the multi-source fusion data. The system stores the extracted frozen electricity readings of the transformer area's master meter into the corresponding meter reading buffer according to the metering period interval in which their recorded freezing timestamps fall. At the same time, it stores the extracted frozen electricity readings of each user's electricity meter into the corresponding user meter reading buffer according to the metering period interval in which their recorded freezing timestamps fall. Finally, it performs an accumulation and merging operation on all frozen electricity readings of the transformer area's master meter within the same metering period interval. The process involves summing the frozen electricity readings of all transformer substations at a given level within a given period to obtain the total meter reading for that level and period. Then, a cumulative merging operation is performed on the frozen electricity readings of all user electricity meters within the same metering period interval to obtain the total meter reading for that level and period. The system proceeds level by level along the power supply path, independently performing the above extraction and merging operations at each level. The total meter readings and total meter readings for all levels along the power supply path within each metering period are stored as a level-specific total meter summary record table and a level-specific total meter summary record table, respectively, according to level and period affiliation. Finally, the level-specific total meter summary record table and the level-specific total meter summary record table are merged to obtain the total meter reading and total meter reading for the target process.
[0049] Furthermore, the system proceeds downstream level by level according to the hierarchical sequence of the power supply path. For the current level, the system retrieves the original deviation value entries for all metering cycles of that level from the storage location. These original deviation value entries are arranged into a time-series deviation entry set for that level according to the chronological order of the metering cycles. This time-series deviation entry set is then associated with the level position number of the current level and stored. After traversing all levels on the power supply path, the system obtains multiple time-series deviation entry sets that correspond one-to-one with each level position number. These time-series deviation entry sets are arranged in ascending order of the level position number and summarized into the same data record table. Each row in this data record table corresponds to a level position number, and each column corresponds to a metering cycle number. The intersection of the row and column stores the numerical difference of that level within that metering cycle. The complete data record table is used as the hierarchical deviation record of the target process.
[0050] Furthermore, the independent loss value represents the loss component unique to this level after stripping away the loss contribution from the upstream level. The system arranges the independent loss values of the current level in each metering cycle according to the metering cycle order to form the independent loss sequence of the current level, and stores the independent loss sequence in association with the level position number of the current level. The system continues to advance downstream and repeat the above reading, subtraction and storage operations until all levels on the power supply path are covered. The position number of each level and its corresponding independent loss sequence are summarized into the same data record table and used as the metering deviation distribution of the target process.
[0051] In summary, by calibrating the topology node locations of the main meter data and user meter data at each level along the power supply path, the spatial ownership of the frozen electricity of the main meter and the frozen electricity of the users at each level is clearly defined. Then, along the power supply path, the frozen electricity of all main meters and the frozen electricity of all users within the same level are accumulated and merged according to the same metering period. The readings scattered on multiple meters are summarized into the total meter reading and the total meter reading of the user at that level within that period. This allows subsequent differential operations to be performed on a unified spatial level and a unified time period benchmark, avoiding the problem of reading dispersion caused by multiple main meters or multiple user meters at the same level, and providing standardized data input for the formation of hierarchical deviation records.
[0052] In summary, by subtracting the total meter reading from the user meter reading within the same metering cycle at the same level, the deviation between the total electricity metered on the transformer substation side and the total electricity metered on the user side within that cycle is quantified as the original deviation value for the cycle. This deviation value directly reflects the line loss level of that level within that time interval. Then, this deviation value is summarized level by level according to its position on the power supply path, so that the deviation value of each level on the power supply path in all metering cycles is organized into a structured level deviation record according to its level affiliation. Each row in this record corresponds to a level and each column corresponds to a metering cycle, providing a data table with clear level and cycle positions for subsequent recursive stripping operations, enabling the stripping operation to accurately find the corresponding deviation values of adjacent levels within the same cycle.
[0053] In summary, by advancing downstream from the initial level along the power supply path's hierarchical sequence, the independent loss value of its directly upstream level is subtracted from the original periodic deviation value of each level. This process gradually strips away the upstream level loss contribution that was originally mixed in with the deviation value of each level. Ultimately, each level obtains an independent loss value that only represents its own loss level. This recursive stripping operation eliminates the interference caused by the propagation and accumulation of upstream losses downstream along the power transmission direction. This ensures that the independent loss value of each level on the power supply path no longer contains loss components from other levels. This provides clean deviation data for the subsequent over-limit screening step when comparing the independent loss values of each level in the metering deviation distribution with the fractal fluctuation range. It effectively avoids misjudgments caused by the superposition of upstream losses and improves the accuracy of abnormal path location.
[0054] In this embodiment of the invention, when decoupling the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process, it is specifically used for: The baseline master table data and the baseline household meter data are accumulated level by level according to the topology hierarchy of the power supply path to obtain the hierarchical baseline master table value and hierarchical baseline household meter value of the target process. The hierarchical baseline total table value is compared with the hierarchical baseline household table value item by item to obtain the hierarchical baseline deviation sequence of the target process; The hierarchical baseline deviation sequence is expanded into the baseline deviation time series waveform of the target process according to the time-scale order within the baseline time period; The upper and lower amplitude envelopes of the baseline deviation time-series waveform are used as the fractal boundaries of the topology level on the power supply path, and the amplitude range enclosed by the fractal boundaries is used as the fractal fluctuation range of the target process.
[0055] Specifically, the baseline time period identifier field is located from the multi-source fusion data. This field records the start and end timestamps of the selected reference interval. Using these start and end timestamps as boundaries, the system filters out all frozen electricity readings of the main transformer substations and all frozen electricity readings of individual users from the multi-source fusion data. The filtered frozen electricity readings of the main transformer substations are marked as baseline main transformer data, and the filtered frozen electricity readings of individual users are marked as baseline individual user data. The system obtains the topological hierarchy sequence of the power supply path and proceeds downstream level by level from the starting level. For the current level, the system first locates the frozen electricity readings of the main transformer substations under this level in each metering cycle within the baseline time period from the baseline main transformer data. These readings are then aggregated according to the level and an accumulation operation is performed, that is, the frozen electricity readings of all main transformer substations in this level in each metering cycle are added together to obtain the accumulated result value of this level. This accumulated result value is used as the level baseline main transformer value and stored in association with the level position number of this level.
[0056] Specifically, the total baseline value of each level and its corresponding level position number are read from the stored set of total baseline values. The level baseline value of the household meter under the same level position number is read from the stored set of level baseline values. A comparison operation is performed on each level on the power supply path, that is, the total baseline value of the level is subtracted from the level baseline value of the household meter. The difference obtained after the subtraction is the baseline deviation of the level during the baseline period.
[0057] Specifically, the baseline deviation amount corresponding to each level is read from the hierarchical baseline deviation sequence. At the same time, the time stamp sequence of each metering cycle within the baseline time period is extracted from the multi-source fusion data. The time stamps in this time stamp sequence are arranged at equal intervals in chronological order, and each time stamp corresponds to the end time of a metering cycle. The system maps the baseline deviation amount of each level read to an independent track on the vertical axis of the waveform according to the hierarchical position number of that level on the power supply path. The baseline deviation amount of each metering cycle within the baseline time period of that level is mapped to the corresponding position on the horizontal axis of the waveform one by one according to the chronological order of the time stamps. The baseline deviation amount between adjacent time stamps on the horizontal axis of the waveform is drawn by connecting them with a straight line segment. That is, a straight line segment is used to connect the baseline deviation amount of the previous time stamp point with the baseline deviation amount of the next time stamp point.
[0058] Specifically, after acquiring the generated baseline deviation time-series waveform, the system proceeds point by point along the horizontal axis of the waveform from the starting time marker to the ending time marker. For each time marker on the horizontal axis, the system scans the instantaneous values of all levels of deviation change trajectories along the vertical axis of the waveform at that time marker. The maximum and minimum values are selected from these instantaneous values and recorded as the upper boundary point and lower boundary point of the waveform at that time marker, respectively. After performing the above scanning and selection operations on all time markers on the horizontal axis, the system obtains an upper boundary point sequence composed of the upper boundary points at each time marker and a lower boundary point sequence composed of the lower boundary points at each time marker.
[0059] Furthermore, the same operation is performed on the baseline meter data, that is, the frozen electricity readings of each user's electricity meter under the jurisdiction of the level are located from the baseline meter data in each metering cycle within the baseline time period. After these readings are collected according to the level, an accumulation operation is performed, that is, the frozen electricity readings of all users' electricity meters in the level in each metering cycle are added to obtain the accumulation result value of the level. The accumulation result value is used as the level baseline meter value of the level and stored in association with the level position number of the level. After the system traverses all levels on the power supply path, it obtains the level baseline total meter value set and the level baseline meter value set, which are respectively one-to-one with the level position number. The level baseline total meter value set and the level baseline meter value set are stored as the level baseline total meter value and the level baseline meter value of the target process, respectively.
[0060] Furthermore, the baseline deviation reflects the inherent deviation level between the metered electricity consumption on the main meter side of the distribution area and the metered electricity consumption on the user side under normal operating conditions. The system associates the baseline deviation calculated for each level with the level position number of that level and stores it as a deviation record entry. The deviation record entries of all levels are arranged in ascending order according to the level position number to form a deviation record sequence. Each element in the deviation record sequence consists of the level position number and the baseline deviation corresponding to that level. The above deviation record sequence is used as the level baseline deviation sequence of the target process.
[0061] Furthermore, all straight line segments are connected end to end to form the deviation change trajectory of the level that changes continuously over time throughout the entire baseline period. The system performs the above mapping and connection operations in parallel on all levels in the hierarchical baseline deviation sequence, so that each level forms an independent deviation change trajectory in the same waveform coordinate system. The complete waveform diagram containing the deviation change trajectories of all levels is used as the baseline deviation time sequence waveform of the target process.
[0062] Furthermore, the system connects adjacent boundary points in the upper boundary point sequence with straight line segments to form a continuous curve covering all time scale points and located above the trajectory of all level deviation changes, and uses this continuous curve as the upper amplitude envelope. The system connects adjacent boundary points in the lower boundary point sequence with straight line segments to form a continuous curve covering all time scale points and located below the trajectory of all level deviation changes, and uses this continuous curve as the lower amplitude envelope. The closed band region enclosed between the upper and lower amplitude envelopes is the amplitude interval enclosed by the fractal boundary. The longitudinal span of this amplitude interval at any time scale point on the horizontal axis is determined by the difference between the instantaneous values of the upper and lower envelopes at that time scale point. The upper amplitude envelope, the lower amplitude envelope, and the amplitude interval enclosed by them are used as the fractal fluctuation interval of the target process.
[0063] In summary, by filtering the frozen electricity readings of the transformer substation main meter and user electricity meters within the baseline period from multi-source fusion data, and then performing accumulation operations on all baseline main meter data and all baseline user meter data within the same level according to the topological hierarchy of the power supply path, the total meter summary value and user meter summary value of each level on the power supply path within the baseline period are quantified separately. These two summary values serve as the metering benchmark reference values for that level under normal operating conditions, eliminating the horizontal incomparability problem caused by the difference in readings between different metering points, and providing a fixed reference benchmark between the main meter and user meters within each level for subsequent independent calculation of baseline deviation at each level.
[0064] In summary, by subtracting the total baseline meter value from the household baseline meter value at the same level position for each level along the power supply path, the inherent deviation of each level within the baseline time period is accurately quantified. This inherent deviation reflects the background deviation level of that level under normal operating conditions caused by factors such as line impedance, metering error, and load characteristics. The resulting layer baseline deviation sequence, formed by arranging the inherent deviations of all levels according to their level position numbers, provides discrete deviation data organized by level for subsequent development of the baseline deviation time-series waveform. This allows the deviation levels of each level within the baseline time period to be uniformly presented and compared according to the order of the power supply path.
[0065] In summary, by mapping the baseline deviation of each level in the hierarchical baseline deviation sequence onto the vertical and horizontal axes of the waveform coordinate system according to the time-scale order of each metering period within the baseline time period, and forming a continuous change trajectory by connecting adjacent time-scale points with straight line segments, the baseline deviation data, originally stored in discrete numerical form, is transformed into a waveform expression that changes continuously over time. This waveform can intuitively show the trend and pattern of the deviation value of each level on the power supply path evolving over time within the complete baseline time period, providing a graphical data foundation with complete waveform morphology and comparability between levels for subsequent extraction of amplitude envelope.
[0066] In summary, by scanning the instantaneous values of all level deviation change trajectories point by point along the horizontal axis of the waveform and selecting the maximum and minimum values respectively, the selected maximum value sequence is connected to form an upper amplitude envelope covering the entire deviation change trajectory, and the selected minimum value sequence is connected to form a lower amplitude envelope covering the entire deviation change trajectory. The upper and lower amplitude envelopes together define the legal amplitude range of the deviation value fluctuation over time under normal operating conditions of the topology level. This legal amplitude range is used as a fractal fluctuation interval and is compared with the current level deviation value in the subsequent over-limit screening step. Only when the current level deviation value exceeds the fractal fluctuation interval will it be marked as over-limit. This avoids the situation where normal fluctuations are misjudged as abnormal or true abnormalities are missed due to the use of a fixed threshold, thus improving the accuracy and reliability of line loss abnormal path identification.
[0067] In this embodiment of the invention, when performing limit-crossing screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process, it is specifically used for: Extract the current level deviation value of the topology level to be processed within the task measurement cycle from the measurement deviation distribution, and obtain the upper boundary value and lower boundary value of the level fractal corresponding to the topology level to be processed in the fractal fluctuation interval. The over-limit deviation value of the target process is determined based on the magnitude comparison result between the current hierarchical deviation value and the upper boundary value and lower boundary value of the hierarchical fractal. The power supply segment path corresponding to the over-limit deviation value is taken as the over-limit segment of the target process, and the path segments between the first and last topology nodes in the over-limit segment are summarized as the over-limit segment set of the target process. The out-of-limit sections with overlapping paths and adjacent endpoints in the out-of-limit section set are merged into a candidate abnormal path set for the target process.
[0068] Specifically, the system reads the hierarchical position number corresponding to each row and the measurement cycle number corresponding to each column in the data record table from the measurement deviation distribution. It determines the topology level for which the system needs to perform limit judgment as the topology level to be processed and locates the data row containing the hierarchical position number of the topology level to be processed from the measurement deviation distribution. Then, it locates the data column containing the sequence number of the task measurement cycle from the data row, reads the numerical difference stored at the intersection of the data row and the data column, and uses the numerical difference as the current hierarchical deviation value.
[0069] Specifically, the current level deviation value, the upper boundary value of the level classification, and the lower boundary value of the level classification are extracted from the data tuple to be compared. The current level deviation value is compared with the upper boundary value of the level classification, and at the same time, the current level deviation value is compared with the lower boundary value of the level classification. If the current level deviation value is greater than the upper boundary value of the level classification, it is determined that the current level deviation value is in the upper limit state and is marked as an over-limit deviation value. If the current level deviation value is less than the lower boundary value of the level classification, it is determined that the current level deviation value is in the lower limit state and is marked as an over-limit deviation value. If the current level deviation value is greater than or equal to the lower boundary value of the level classification and less than or equal to the upper boundary value of the level classification, it is determined that the current level deviation value is within the normal range and is not marked as an over-limit deviation value.
[0070] Specifically, each excess deviation value record is read from the excess deviation value record set and the hierarchical position number in the record is extracted. Based on the hierarchical position number, the topology node position corresponding to the level is located in the power supply path. The topology node position is taken as the first topology node of the power supply segment path corresponding to the excess deviation value. Then, based on the topology hierarchy sequence of the power supply path, the last topology node is determined by extending one level downstream from the first topology node position. The single segment path between the first topology node and the last topology node is marked as the power supply segment path and the power supply segment path is associated and bound with the excess deviation value.
[0071] Specifically, all out-of-limit segments are extracted from the out-of-limit segment set. The first and last topological nodes of the out-of-limit segments are used as the basis for defining the spatial location of the path. The system traverses each segment in the out-of-limit segments one by one and extracts the first and last topological nodes of the segment. The path range between the first and last topological nodes is taken as the path occupied interval of the segment. The system determines the spatial relationship between the path occupied interval of the current segment and the path occupied interval of the next segment. The determination method is to compare whether the last topological node of the current segment is the same as the first topological node of the next segment, or whether the first topological node of the current segment is the same as the last topological node of the next segment, or whether the first and last topological nodes of the two segments are the same and the last topological nodes are also the same.
[0072] Furthermore, the system simultaneously locates the storage entry corresponding to the hierarchical position number of the topology level to be processed from the fractal fluctuation interval. This storage entry records the instantaneous values of the upper and lower amplitude envelopes of the level at each time point during the baseline period. The system extracts the instantaneous value of the upper amplitude envelope at the time point corresponding to the task measurement cycle from this storage entry as the upper boundary value of the hierarchical fractal, and extracts the instantaneous value of the lower amplitude envelope at the same time point as the lower boundary value of the hierarchical fractal. The current level deviation value, the upper boundary value of the hierarchical fractal, and the lower boundary value of the hierarchical fractal are associated and stored as the same set of comparison data tuples according to the hierarchical position number of the topology level to be processed and the sequence number of the task measurement cycle.
[0073] Furthermore, after the system completes the above comparison and judgment for the topology level to be processed within the task measurement cycle, it associates and stores the out-of-limit deviation value within the task measurement cycle with the level position number of the topology level to be processed. The system repeats the above extraction, comparison and judgment operations for the current level deviation value of each topology level in each measurement cycle in the measurement deviation distribution, and summarizes and stores all the values marked as out-of-limit deviation values, their respective level position numbers and measurement cycle numbers as an out-of-limit deviation value record set.
[0074] Furthermore, for each record in the set of out-of-limit deviation values, the corresponding hierarchical position number is extracted, and the above-mentioned operations of locating the first and last topology nodes and marking single-segment paths are performed. All marked power supply segment paths are arranged in ascending order according to the hierarchical position number of their first topology nodes. All the arranged power supply segment paths are summarized into a single set, where each element is an independent power supply segment path and each power supply segment path is defined by the first and last topology nodes. The above set is taken as the out-of-limit segment.
[0075] Furthermore, when any one of the above three situations is true, it is determined that the two segments have an adjacent endpoint relationship. The system merges the two segments with an adjacent endpoint relationship into a continuous path. The first topological node of the merged continuous path is the first topological node located at the upstream end of the two segments, and the last topological node is the last topological node located at the downstream end of the two segments. The topological nodes passed in between are the union of all topological nodes of the two segments. The system continues to perform the same spatial relationship determination and merging operation on the merged continuous path and the remaining segments in the over-limit segment set that have not yet been processed until no more segments can be merged. Each merged continuous path obtained in the end is regarded as a candidate abnormal path, and all candidate abnormal paths are summarized into the candidate abnormal path set of the target process.
[0076] In summary, by locating the row containing the hierarchical position number of the topology to be processed and the column containing the sequence number of the task measurement period from the measurement deviation distribution, and reading the numerical difference stored at the intersection as the current hierarchical deviation value, and simultaneously locating the storage entry corresponding to the hierarchical position number of the topology to be processed from the fractal fluctuation interval, and extracting the instantaneous value of the upper envelope of the amplitude at the time scale point corresponding to the task measurement period as the upper boundary value of the hierarchical fractal, and the instantaneous value of the lower envelope of the amplitude as the lower boundary value of the hierarchical fractal, the current hierarchical deviation value and the corresponding fractal boundary value are precisely aligned in the spatiotemporal dimension of the same topology and the same measurement period, avoiding the problem of misalignment of the comparison benchmark caused by data retrieval across hierarchies or periods, and providing three sets of data that are completely spatiotemporally corresponding for subsequent amplitude comparison.
[0077] In summary, by comparing the current hierarchical deviation value with the upper and lower boundary values of the hierarchical fractal, a deviation value exceeding the upper boundary is considered an upper limit violation and marked as an out-of-limit deviation. A deviation value less than the lower boundary is considered a lower limit violation and marked as an out-of-limit deviation. A deviation value between the upper and lower boundaries is considered normal and not marked as an out-of-limit deviation. This ensures that only deviation values exceeding the legal range of the fractal fluctuation interval are selected for subsequent positioning. The massive amount of data from all topological levels in the measurement deviation distribution across all measurement periods is reduced to a record set containing only out-of-limit deviation values, significantly reducing the amount of data required for subsequent path positioning and merging, and improving the efficiency of abnormal path filtering.
[0078] In summary, by extracting the hierarchical position number from each record in the over-limit deviation value record set and locating the corresponding topology node position in the power supply path as the first topology node, and then determining the last topology node by extending one level downstream from the first topology node position according to the topology hierarchy sequence of the power supply path, the single-segment path between the first and last topology nodes is marked as a power supply segment path and associated with the over-limit deviation value. After arranging all the power supply segment paths corresponding to the over-limit deviation values according to the hierarchical position number of the first topology node, they are summarized into an over-limit segment set, so that each over-limit deviation value is mapped to the corresponding physical segment position on the power supply path, providing an over-limit segment set with spatial location attributes for subsequent merging operations.
[0079] In summary, by traversing each out-of-bounds segment and extracting the path-occupied interval between the first and last topological nodes of each segment, the spatial relationship between the path-occupied interval of the current segment and the path-occupied interval of the next segment is determined. When the first and last topological nodes of two segments are the same, or when the last topological node of one segment is the same as the first topological node of another segment, they are determined to have overlapping paths or adjacent endpoints. Two scattered out-of-bounds segments with the above relationship are merged into a continuous path. The first topological node of the merged continuous path is the uppermost of the two segments. The first and last topological nodes of the trailing path are taken as the downstream last topological node of the two segments, and the topological nodes passed through in the middle are the union of all topological nodes of the two segments. The merged continuous path is then subjected to the same judgment and merging operation with the remaining unprocessed segments until no more segments can be merged. This integrates the over-limit segments that were originally scattered in multiple discontinuous positions on the power supply path into a connected abnormal path area, avoiding the fragmentation problem caused by multiple adjacent segments exceeding the limit but not being merged due to the same abnormal cause, and improving the completeness and usability of abnormal path location results.
[0080] In this embodiment of the invention, the step of comparing the fluctuation trend of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronization correlation degree of the target process is specifically used for: Locate the user topology node corresponding to the power supply path segment covered by the candidate abnormal path set, and obtain the segment user time sequence record of the target process; Extract the segment deviation sequence corresponding to the power supply path segment from the metering deviation distribution, and resample the segment deviation sequence according to the metering cycle time scale to obtain the segment alignment deviation sequence of the target process; The periodic change direction of the user meter electricity time series in the segment user time series record is compared with the periodic change direction of the segment alignment deviation sequence to obtain the number of same-direction cycles of the target process, and the ratio of the number of same-direction cycles to the total number of metering cycles in the target process is used as the same-direction proportion of the target process. The line loss synchronization correlation degree of the target process is calculated based on the ratio of the same direction proportion to the user deviation amplitude of the segment user time sequence record.
[0081] Specifically, each candidate abnormal path is extracted one by one from the candidate abnormal path set. Based on the first and last topology nodes of the candidate abnormal path, the power supply path segment covered by the path is defined on the power supply path. The power supply path segment includes all intermediate topology nodes passed between the first and last topology nodes.
[0082] Specifically, the hierarchical range covered by the power supply path segment is determined based on the positions of the first and last topological nodes of the power supply path segment in the power supply path hierarchy sequence. The independent loss values of all levels within this hierarchical range in each metering cycle are read from the metering deviation distribution. These independent loss values are arranged in the order of the metering cycles to form an initial deviation sequence. The system extracts the frozen time scale set corresponding to the electricity time series of each user meter from the segment user time series records. The time range covered by the frozen time scale set is used as the target time scale grid. The system extracts the original metering cycle time scale corresponding to each deviation value in the initial deviation sequence. The time difference between the original metering cycle time scale and all time scales in the target time scale grid is compared. The target time scale with the smallest time difference from the original metering cycle time scale is selected as the mapping time scale of the deviation value.
[0083] Specifically, the system reads the user table power consumption time sequence corresponding to each user topology node from the segment user time sequence record. For two adjacent metering cycles in the sequence, the frozen power consumption readings of the previous cycle and the next cycle are taken out respectively. The frozen power consumption reading of the previous cycle is subtracted from the frozen power consumption reading of the next cycle to obtain the power consumption change of the user in the cycle interval. The positive or negative sign of the power consumption change determines the direction of change of the user in the cycle interval. At the same time, the system reads the deviation values at two time points before and after the same cycle interval from the segment alignment deviation sequence. The deviation value of the previous time point is subtracted from the deviation value of the next time point to obtain the deviation change of the segment deviation in the cycle interval.
[0084] Specifically, the electricity consumption time sequence corresponding to each user topology node is read from the segment user time sequence record. For each metering period in the sequence, the frozen electricity consumption reading within that period is extracted. At the same time, the deviation value within the same metering period is read from the segment alignment deviation sequence. The electricity consumption change amplitude of the user in the current period is obtained by subtracting the value of the user's frozen electricity consumption reading in the previous metering period from the user's frozen electricity consumption reading. The deviation change amplitude of the segment deviation in the current period is obtained by subtracting the value of the segment deviation in the previous metering period from the value of the segment deviation. The electricity consumption change amplitude of each user in each period is compared with the deviation change amplitude in the same period, i.e., the electricity consumption change amplitude is divided by the deviation change amplitude to obtain the amplitude ratio of each user in each period. The arithmetic mean of the amplitude ratios of all users in all periods is taken to obtain the user deviation amplitude ratio.
[0085] Furthermore, the system scans all topology nodes within the power supply path segment and reads the pre-marked user energy meter type identifiers under each topology node from the multi-source fusion data. The topology nodes carrying user energy meter type identifiers are located as user topology nodes. The system performs the following operations for each user topology node within the power supply path segment: extracts the frozen energy readings of each user energy meter under the user topology node in each metering cycle from the multi-source fusion data, arranges these frozen energy readings in the order of the metering cycles to form the user meter energy time series sequence under the user topology node, and stores the user meter energy time series sequence corresponding to each user topology node in the same data set after arranging them in the order of the user topology node's position on the power supply path. Each row in this data set corresponds to the position of a user topology node, each column corresponds to the sequence number of a metering cycle, and the frozen energy reading of the user topology node in the metering cycle is stored at the intersection of the row and column. The above data set is combined into the segment user time series record of the target process.
[0086] Furthermore, when multiple deviation values are mapped to the same target time scale, the system sums up all deviation values mapped to the same target time scale and uses the sum as the deviation value at that target time scale. When there are empty time scales in the target time scale grid that are not mapped to any deviation values, the system calculates the deviation value at the empty time scale by linear interpolation from the deviation values at the adjacent mapped time scales. That is, the deviation values at the two nearest mapped time scales before and after the empty time scale are weighted and averaged according to the time distance to obtain the deviation value at the empty time scale. The system arranges all target time scales and their corresponding deviation values in chronological order to form a new sequence as the segment alignment deviation sequence of the target process.
[0087] Further, based on the positive or negative sign of the deviation change, the system determines the direction mark of the segment deviation within the period interval. The system compares the direction mark of all users in the segment user time series records within the same period interval with the direction mark of the segment deviation within the same period interval one by one. The system counts the proportion of users with the same direction mark to the total number of users in the segment user time series records. If the proportion exceeds a preset direction consistency threshold, the period interval is determined to be a direction-consistent period interval. If it does not exceed the threshold, the period interval is determined to be a direction-inconsistent period interval. The system iterates through all period intervals between all metering cycles and performs the above-mentioned direction mark extraction and consistency determination operation on each period interval. The system counts the total number of period intervals determined to be direction-consistent to obtain the number of same-direction cycles. The number of same-direction cycles is divided by the difference between the total number of metering cycles and one to obtain the ratio. This ratio is used as the same-direction proportion of the target process.
[0088] Furthermore, the system performs a weighted fusion operation on the same-direction ratio and the user deviation amplitude ratio. Specifically, it multiplies the same-direction ratio by the weighting coefficient of the direction factor to obtain the direction contribution value, and then multiplies the user deviation amplitude ratio by the weighting coefficient of the amplitude factor to obtain the amplitude contribution value. The direction contribution value and the amplitude contribution value are added together to obtain the basic synchronization degree. The system calculates the cumulative direction deviation, which is calculated by statistically analyzing the difference between the direction of change of all users within a given period and the direction of change of the segment deviation within that period, and then averaging the difference across all periods. The system also calculates the amplitude dispersion. The amplitude dispersion is calculated by calculating the deviation of the amplitude ratio of all users from the reference value on a cycle-by-cycle basis and taking the average deviation over all cycles. The system amplifies and corrects the basic synchronization degree based on the cumulative directional offset by multiplying the basic synchronization degree by a correction factor that increases with the cumulative directional offset. The system then reduces the amplified result based on the amplitude dispersion by multiplying the amplified result by a correction factor that decreases with the amplitude dispersion. The final value is used as the line loss synchronization correlation degree of the target process.
[0089] In summary, by extracting candidate abnormal paths one by one from the candidate abnormal path set and defining the power supply path segment covered by the path, then scanning all topology nodes within the power supply path segment and locating user topology nodes carrying user energy meter type identifiers, the frozen energy readings of each user energy meter under each user topology node in each metering cycle are extracted and arranged in chronological order of the metering cycle to form a user meter energy time series. The user meter energy time series corresponding to each user topology node within the power supply path segment are arranged in order of the user topology node's position on the power supply path and stored in the same dataset. This allows the spatial range information originally existing in the form of a candidate abnormal path set to be parsed into a time-axis energy consumption behavior sequence record of each user topology node, providing data input with the user as the basic analytical granularity for subsequent trend comparison of user energy consumption behavior and line loss deviation.
[0090] In summary, by determining the hierarchical range covered by a power supply path segment based on the positions of its first and last topological nodes in the power supply path hierarchy sequence, and reading the independent loss values of all levels within that hierarchy in each metering cycle from the metering deviation distribution, these independent loss values are arranged in chronological order according to the metering cycles to form an initial deviation sequence. Then, using the time range covered by the frozen timescale set corresponding to the electricity timescale sequence of each user meter in the segment's user timescale record as the target timescale grid, the original metering cycle timescale corresponding to each deviation value in the initial deviation sequence is extracted and the nearest timescale mapping is performed. All deviation values mapped to the same target timescale are summed, and the missing timescales not mapped to any deviation values are filled by linear interpolation. This transforms the timescale coordinates of the initial deviation sequence into timescale coordinates that are completely consistent with the user meter electricity timescale sequence, eliminating the cross-data source time axis misalignment problem caused by the inconsistency between the metering cycle and the frozen timescale, and enabling subsequent same-direction comparison operations to be performed on a unified time reference.
[0091] In summary, by taking the positive or negative sign of the change in electricity consumption in the time series of each user's meter between two adjacent metering cycles in the segment user time series record, the direction of change for that user within the cycle interval is determined. Simultaneously, by taking the positive or negative sign of the change in deviation within the same cycle interval from the segment alignment deviation sequence, the direction of change of the segment deviation within the cycle interval is determined. The direction of change of all users within the same cycle interval is compared one by one with the direction of change of the segment deviation, and the proportion of users with the same direction of change is counted. When this proportion exceeds the direction consistency threshold, the cycle interval is determined to be a direction-consistent cycle interval and is accumulated. After traversing all cycle intervals, the total number of direction-consistent cycle intervals is counted to obtain the number of cycles in the same direction. Then, the number of cycles in the same direction is divided by the total number of metering cycles to obtain the proportion of cycles in the same direction. This quantifies the key synchronization indicator of direction synchronization level into a normalized value between zero and one, providing a quantitative input for the direction dimension of subsequent correlation calculations.
[0092] In summary, by extracting the power consumption variation amplitude of each user in each cycle from the segment user time-series records and extracting the deviation variation amplitude within the same cycle from the segment alignment deviation sequence, the amplitude ratio of each user in each cycle is obtained by dividing the power consumption variation amplitude by the deviation variation amplitude. The arithmetic mean of the amplitude ratios of all users in all cycles is taken to obtain the user deviation amplitude ratio. The directional contribution value is obtained by multiplying the same-direction proportion by the weight coefficient of the directional factor. The amplitude contribution value is obtained by multiplying the user deviation amplitude ratio by the weight coefficient of the amplitude factor. The directional contribution value and the amplitude contribution value are added to obtain the basic synchronization degree. The basic synchronization degree is then amplified and corrected according to the cumulative directional offset, and the amplified and corrected result is reduced and corrected according to the amplitude dispersion. The synchronization information of the two dimensions of direction and amplitude is integrated into a single comprehensive correlation degree value. This allows the synchronization degree between user power consumption behavior and line loss deviation in the candidate abnormal path area to be uniformly quantified and compared, providing a clear data basis for subsequent sorting and screening of each candidate abnormal path area according to the correlation degree.
[0093] In this embodiment of the invention, the formula for calculating the line loss synchronization correlation degree is specifically used for: in, The line loss synchronization correlation degree, The weighting coefficients for directional factors. For directional synchronization rate, The weighting coefficient for the amplitude factor. For amplitude synchronization rate, This is the time-series offset influence coefficient. It is a natural constant. This represents the timing offset decay rate. To accumulate directional offset, This is the amplitude dispersion penalty coefficient. The amplitude discrete attenuation rate, This represents the amplitude dispersion.
[0094] Specifically, the directional synchronization rate is derived from the proportion of the same direction obtained by comparing the periodic change direction of the electricity time series of each user meter in the segment user time series record with the periodic change direction of the segment alignment deviation sequence. The amplitude synchronization rate is derived from the ratio of the periodic change amplitude of the electricity time series of each user meter in the segment user time series record with the periodic change amplitude of the segment alignment deviation sequence, obtained by calculating the user deviation amplitude ratio. The cumulative directional offset is derived from the difference between the change direction of all users in a given period and the change direction of the segment deviation in that period, and the average difference over all periods. The amplitude dispersion is derived from the deviation of the amplitude ratio of all users from the benchmark value calculated in a given period, and the average deviation over all periods. The weighting coefficients of the directional factor and the amplitude factor are set based on experience in the field of distribution network line loss analysis, and are used to adjust the respective contribution ratios of the directional synchronization rate and the amplitude synchronization rate in the correlation calculation. The timing offset influence coefficient, timing offset attenuation rate, amplitude dispersion penalty coefficient, and amplitude dispersion attenuation rate are all adjustment parameters obtained by fitting historical operating data of the distribution network. They are used to control the correction magnitude and correction speed of different influencing factors on the correlation degree.
[0095] Furthermore, the degree of synchronization between user electricity consumption behavior and line loss deviation within the candidate abnormal path area is quantified into a comprehensive index. The higher the index value, the stronger the correlation between user electricity consumption fluctuations and line loss deviation within that area, and the more likely that area is the true cause of the line loss anomaly. The formula consists of three multiplied factors. The first factor is the basic synchronization factor, which is physically the weighted sum of directional synchronization rate and amplitude synchronization rate. It represents the basic correlation level between user electricity consumption behavior and line loss deviation without considering the effects of time series offset and amplitude dispersion. The higher the directional synchronization rate, the more consistent the direction of user electricity consumption change with the direction of line loss deviation change. The higher the amplitude synchronization rate, the closer the magnitude of user electricity consumption change with the magnitude of line loss deviation change. Together, they reflect the basic degree of consistency between user electricity consumption behavior and line loss deviation in terms of change patterns. The second factor is the timing offset correction factor. Physically, it amplifies and corrects the basic synchronization degree when there is a systematic directional offset between changes in user electricity consumption behavior and changes in line loss deviation. This is because in actual distribution networks, there is a physical transmission delay and electrical response lag between changes in user electricity consumption and the response to line loss deviation. This lag leads to an underestimation of directional synchronization. Therefore, it is necessary to positively compensate the basic synchronization degree based on the magnitude of the accumulated directional offset to restore the true synchronization level. The third factor is the amplitude dispersion penalty factor. Physically, it reduces the basic synchronization degree when the amplitude ratio between users differs significantly from the baseline value. This is because a larger amplitude dispersion indicates less uniform electricity consumption behavior among users in the area, resulting in lower reliability of the calculated synchronization correlation. Therefore, it is necessary to penalize the correlation degree based on the magnitude of the amplitude dispersion to reduce the interference of false high correlation on the positioning results.
[0096] In general, a higher directional synchronization rate leads to a higher basic synchronization degree, and consequently a higher correlation between line loss and synchronization. Similarly, a higher amplitude synchronization rate leads to a higher basic synchronization degree, and consequently a higher correlation between line loss and synchronization. A higher cumulative directional offset results in a larger time-series offset correction factor, thus amplifying the correlation between line loss and synchronization. Conversely, a higher amplitude dispersion results in a smaller amplitude dispersion penalty factor, thus discounting the correlation between line loss and synchronization. When the directional synchronization rate approaches perfect synchronization, the amplitude synchronization rate approaches perfect approximation, the cumulative directional offset approaches zero, and the amplitude dispersion approaches zero, the correlation between line loss and synchronization approaches its maximum value. This indicates an ideal synchronization between user electricity consumption behavior and line loss deviation in the area, and the area is considered the most reliable location for identifying line loss anomalies. When the directional synchronization rate or amplitude synchronization rate approaches zero, the basic synchronization degree approaches zero, and consequently, the correlation between line loss and synchronization approaches zero. This indicates no effective synchronization between user electricity consumption behavior and line loss deviation in the area, and the area is considered the least reliable location for identifying line loss anomalies. When the cumulative directional offset in the timing offset correction factor increases, the timing offset correction factor also increases, thus exerting a greater amplification effect on the basic synchronization. However, this amplification effect is limited by the timing offset decay rate; as the cumulative directional offset continues to increase, the rate of increase in the amplification effect gradually slows down and approaches the upper limit of saturation. When the amplitude dispersion in the amplitude dispersion penalty factor increases, the amplitude dispersion penalty factor decreases, thus exerting a greater suppression effect on the basic synchronization. However, this suppression effect is limited by the amplitude dispersion decay rate; as the amplitude dispersion continues to increase, the rate of increase in the suppression effect gradually slows down and approaches the lower limit of saturation.
[0097] In this embodiment of the invention, when determining the cause location result based on the line loss synchronization correlation degree, and associating the cause location result with the equipment ledger information in the topology archive data to obtain the abnormal cause work order of the target process, it is specifically used for: The correlation degree of the line loss synchronization is sorted in descending order to obtain the correlation degree sequence of the target process; The abnormal connectivity path region that ranks first in the correlation sequence is taken as the priority location region, and the equipment ledger information on the line segment covered by the priority location region is extracted. The topological connection relationship between the first and last topological nodes of the line section is associated and bound with the transformer model and line cross-section parameters in the equipment ledger information to obtain the location result association record of the target process; The location result associated records are categorized and grouped according to the anomaly cause type identifier to obtain the type group records of the target process, and a structured processing field is generated for the type group records to obtain the anomaly cause work order of the target process.
[0098] Specifically, the correlation value corresponding to each candidate abnormal path in the candidate abnormal path set is read from the calculated line loss synchronization correlation storage area. Each candidate abnormal path carries its path identifier and the correlation value corresponding to the path identifier when stored. The system uses a comparison sorting method to process these correlation values, that is, select the maximum value from all correlation values and put it at the first position of the sorting sequence, then select the maximum value from the remaining unsorted correlation values and put it at the second position of the sorting sequence, and repeat the operation of selecting the maximum value from the remaining values and appending it to the end of the sorting sequence until all correlation values are put into the sorting sequence.
[0099] Specifically, the path identifier stored at the first position in the correlation sequence is read, and the corresponding connectivity anomaly path region is located in the candidate anomaly path set based on the path identifier. The connectivity anomaly path region is defined by the first topology node and the last topology node and includes all intermediate topology nodes between them and the connection lines between adjacent topology nodes. The system marks the located connectivity anomaly path region as the priority location region.
[0100] Specifically, the first and last topology nodes are extracted from the priority location area. All intermediate topology nodes between the first and last topology nodes and the connecting feeder numbers between adjacent topology nodes are retrieved from the topology archive data. The connecting feeder numbers between adjacent topology nodes are arranged sequentially according to the power transmission direction from the first to the last topology node. This arrangement reflects the series connection order of each line segment on the line section and this series connection order is used as the topology connection relationship.
[0101] Specifically, the system reads each mapping record entry from the location result association record and extracts the anomaly cause type identifier field from the equipment ledger information corresponding to the feeder number in the entry. The anomaly cause type identifier field is pre-stored in the equipment ledger record of the topology archive data and assigned a value according to the historical operating status and maintenance record of the equipment. The system groups all mapping record entries carrying the same anomaly cause type identifier into the same group, and mapping record entries with different anomaly cause type identifiers into different groups. After merging, each group contains only one anomaly cause type identifier and contains all mapping record entries carrying that identifier. All groups and their respective mapping record entries are summarized as the type group record of the target process.
[0102] Furthermore, each time the correlation value is placed into the sorting sequence, the path identifier of the candidate abnormal path corresponding to the correlation value is also stored in the same position in the sorting sequence as the correlation value. After sorting, each position in the sorting sequence contains the correlation value of that position and the path identifier of the candidate abnormal path corresponding to it, and the correlation value strictly decreases from the first position to the last position in the sequence. The above sorting sequence is used as the correlation sequence of the target process.
[0103] Furthermore, the spatial range formed by all intermediate topology nodes between the first and last topology nodes of the priority positioning area is obtained. All equipment ledger records stored within this spatial range are retrieved from the topology archive data. The equipment ledger records contain the basic attribute information of each device. The system filters the field values of the transformer model field, the line cross-section parameter field, and the commissioning date field from the retrieved equipment ledger records. The filtered field values are arranged in order of their respective device positions within the priority positioning area to form an equipment ledger information record set. This equipment ledger information record set is used as the equipment ledger information for the line segment covered by the priority positioning area.
[0104] Furthermore, the system simultaneously extracts the corresponding transformer model and line cross-section parameters from the equipment ledger information according to the positional order of each device in the topology connection relationship. Each connecting feeder number in the topology connection relationship is mapped and bound one-to-one with the transformer model and line cross-section parameters at the corresponding location of the connecting feeder number. That is, each connecting feeder corresponds to a unique transformer model value and line cross-section parameter value. After binding, a mapping record entry containing three fields is formed, namely connecting feeder number, transformer model, and line cross-section parameter. The system summarizes all the mapping record entries of connecting feeders in the priority positioning area into the same mapping record table according to the arrangement order of the topology connection relationship. This mapping record table is used as the positioning result association record of the target process.
[0105] Furthermore, the system performs a structured disposal field generation operation for each group in the type grouping record. The generation operation is as follows: the abnormal cause type identifier of the group is converted into a disposal type code; the connection feeder number in each mapping record entry in the group is converted into a disposal order code according to its original arrangement order in the location result association record; and the disposal type code and disposal order code are combined into the structured disposal field of the group. After the system completes the generation of structured disposal fields for all groups, it arranges each group from high to low according to the disposal urgency corresponding to its abnormal cause type identifier. Each group and its structured disposal field are written into the same work order document. The first part of the work order document records the abnormal cause type identifier and structured disposal field of the first group in the order; the second part records the abnormal cause type identifier and structured disposal field of the second group in the order; and so on until all groups are written. The above complete work order document is used as the abnormal cause work order for the target process.
[0106] In summary, by reading the correlation value corresponding to each candidate abnormal path in the candidate abnormal path set from the calculated line loss synchronization correlation storage area and sorting these correlation values from the maximum to the minimum value using a comparison sorting method, the candidate abnormal paths and their correlation values, which were originally stored as an unordered set, are organized into a correlation sequence arranged from high to low priority. The first position in this sequence is the candidate abnormal path area with the highest correlation, that is, the area with the highest degree of synchronization between user electricity consumption behavior and line loss deviation. The sorting sequence provides a clear priority basis for subsequent priority location and rapid handling, avoiding the inefficient operation of manually screening one by one from a large number of candidate areas, and improving the overall efficiency of anomaly location and handling.
[0107] In summary, by reading the path identifier stored at the first position in the correlation sequence and locating the corresponding connectivity anomaly path region in the candidate anomaly path set based on the path identifier, the candidate region with the highest correlation of line loss synchronization is determined as the priority location region. Then, by obtaining the spatial range formed by all intermediate topology nodes between the first and last topology nodes of this priority location region and retrieving all equipment ledger records stored within this spatial range in the topology archive data, the numerical correlation analysis results are mapped to the actual equipment set in the distribution network, providing physical equipment-level data support for subsequent cause determination and handling.
[0108] In summary, by extracting the first and last topology nodes from the priority location area and retrieving all intermediate topology nodes and connecting feeder numbers between adjacent nodes from the topology archive data, these connecting feeder numbers are arranged sequentially according to the direction of power transmission to form the topology connection relationship. Then, the transformer model and line cross-section parameters corresponding to the equipment ledger information are mapped and bound one-to-one with each connecting feeder number according to the position order of each equipment in the topology connection relationship. This ensures that the abstract topology connection relationship is precisely matched with the specific equipment parameters in spatial location. Each connecting feeder carries the transformer model and line cross-section parameter information at that location, providing a location result association record containing both spatial location and equipment attribute information for subsequent classification and grouping according to the anomaly cause type.
[0109] In summary, by reading each mapping record entry from the associated records of the location results and extracting the anomaly cause type identifier field from the equipment ledger information corresponding to the feeder number in that entry, all mapping record entries carrying the same anomaly cause type identifier are grouped into the same group. This allows all abnormal line segments under the same cause type to be organized into one group. Then, the anomaly cause type identifier of each group is converted into a handling type code, and the feeder numbers of each mapping record entry in the group are converted into handling sequence codes according to their original arrangement. The handling type code and handling sequence code are combined into a structured handling field for that group. Finally, each group is arranged from high to low according to the handling urgency corresponding to its anomaly cause type identifier and written into the same work order document. This transforms the location results, which originally existed in the form of data records, into structured work orders containing handling type codes and handling sequence codes. On-site maintenance personnel can accurately locate the abnormal line segments that need to be handled by performing handling operations according to the handling sequence codes in the work order, reducing the time required for manual interpretation of location results and improving the efficiency and accuracy of anomaly handling.
[0110] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention aligns the frozen electricity of the metering data source with the effective values of the bus voltage and line current of the operating data source according to the distribution network topology nodes. This ensures that all data involved in line loss analysis are synchronized on the time axis and consistent in topological space, providing multi-source fusion data that simultaneously satisfies time-scale consistency and electrical quantity constraints for subsequent steps. Based on this, the hierarchical loss values between adjacent levels are recursively stripped along the power supply path, so that the independent loss value of each level no longer includes the cumulative component caused by the propagation of upstream level losses along the power transmission direction. The metering deviation distribution of each topological level on the power supply path can truly reflect the loss level of that level, eliminating the problem of multiple adjacent levels showing anomalies simultaneously due to loss propagation and making it impossible to locate the true cause, thus improving the spatial positioning accuracy of the cause of line loss anomalies. This invention also expands the hierarchical baseline deviation sequence into a baseline deviation time series waveform according to the time scale order within the baseline time period and extracts the upper and lower envelopes of the waveform amplitude as classification boundaries. It quantifies the legal range of deviation fluctuation with load under normal operating conditions of each level into a dynamic classification fluctuation range, so that the boundary value used for subsequent over-limit screening can be adaptively adjusted with the hierarchical characteristics and time period changes. This avoids the problems of frequent false alarms during light load periods and serious missed alarms during heavy load periods caused by fixed thresholds, and improves the accuracy of line loss anomaly identification and adaptability to different operating conditions.
[0111] 2. This invention locates user topology nodes corresponding to power supply path segments covered by candidate abnormal path sets and extracts the time-series sequence of user meter electricity consumption. It compares the direction of change in user electricity consumption behavior with the direction of change in segment deviation to obtain the proportion of the same direction. Then, it combines the user deviation amplitude ratio to comprehensively calculate the correlation degree of line loss synchronization. This integrates the information of the two dimensions of direction synchronization and amplitude synchronization into a single quantitative indicator. This correlation degree can distinguish whether the change in line loss deviation is caused by changes in user-side electricity consumption behavior or by other factors. It provides a quantitative ranking basis for the credibility of the causes of each candidate abnormal path area, and solves the problem that the lack of priority ranking means leads to the lack of a clear order of handling when investigators face multiple suspected segments. This invention further identifies the top-ranked abnormal path region as the priority location region by sorting the line loss synchronization correlation in descending order. Then, it associates and binds the topological connection relationship of the line segments covered by this region with the transformer model and line cross-section parameters in the equipment ledger information. This ensures that the location result includes both the spatial location information of the abnormal line and the technical parameter information of the corresponding equipment. Finally, it categorizes and groups the abnormality cause type and generates structured handling fields. This ensures that each handling item in the output abnormality cause work order includes a handling type code and a handling sequence code. On-site maintenance personnel can perform handling operations item by item according to the work order content without manually interpreting the location data, thus improving the operability and implementation efficiency of abnormality handling.
[0112] like Figure 2 The diagram shown is a functional block diagram of a distribution network line loss anomaly localization system based on multi-source data fusion provided in an embodiment of the present invention.
[0113] The distribution network line loss anomaly localization system 100 based on multi-source data fusion described in this invention can be installed in electronic devices. Depending on the functions implemented, the distribution network line loss anomaly localization system 100 may include a multi-source data fusion module 101, a metering deviation analysis module 102, a type fluctuation decoupling module 103, an over-limit screening module 104, a synchronization correlation analysis module 105, and an anomaly localization module 106. The module described in this invention can also be called a unit, referring to a series of computer program segments that can be executed by the processor of an electronic device and perform a fixed function, stored in the memory of the electronic device.
[0114] In this embodiment, the functions of each module / unit are as follows: The multi-source data fusion module associates and aligns the metering data source and the operation data source collected by the sensor in the target process according to the distribution network topology nodes to obtain the multi-source fused data of the target process. The metering deviation analysis module constructs a power supply path based on the topology archive data in the multi-source fusion data, compares the deviation of the total meter data of the transformer area and the user meter data on the power supply path in terms of time sequence, and obtains the metering deviation distribution of the target process. The fractal fluctuation decoupling module decouples the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process. The limit-crossing screening module performs limit-crossing screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process; The synchronous correlation analysis module compares the fluctuation trend of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronous correlation degree of the target process. The anomaly cause localization module determines the cause localization result based on the line loss synchronization correlation degree, and associates the cause localization result with the equipment ledger information in the topology archive data to obtain the anomaly cause work order for the target process.
[0115] In the several embodiments provided by this invention, it should be understood that the disclosed methods and systems can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0116] 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 modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0117] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.
[0118] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0119] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A method for locating the causes of abnormal line losses in distribution networks based on multi-source data fusion, characterized in that, The method includes: S1. Align and associate the metering data source and the operation data source collected by the sensors in the target process according to the distribution network topology nodes to obtain the multi-source fusion data of the target process; S2. Construct a power supply path based on the topology archive data in the multi-source fusion data, and compare the deviation between the total meter data of the transformer area and the user meter data on the power supply path in terms of time sequence to obtain the metering deviation distribution of the target process; S3. Decouple the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process; S4. Perform limit screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process; S5. Compare the fluctuation trend of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronization correlation degree of the target process. S6. Determine the cause location result based on the line loss synchronization correlation degree, and associate the cause location result with the equipment ledger information in the topology archive data to obtain the abnormal cause work order of the target process.
2. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 1, characterized in that, The process of associating and aligning the metering data source and the operational data source collected by sensors during the target process according to the distribution network topology nodes to obtain the multi-source fusion data of the target process includes: The user-frozen electricity and corresponding freezing timestamp of the metering data source in the target process are obtained, as well as the effective values of bus voltage and line current reported by the distribution terminal in the running data source and the corresponding reporting timestamps, to obtain the source-end time sequence record of the target process; The user frozen electricity, the effective value of the bus voltage, and the effective value of the line current are grouped and merged according to the node number of the distribution network topology node to obtain the node source group of the target process; The frozen timescale and the reported timescale of nodes with the same distribution network topology in the node source group are matched by nearest neighbor according to the time axis to obtain the node association record group of the target process; The multi-source fusion data of the target process is obtained by performing time-series verification on the synchronous association record group of the node association record group according to the topological connection status of the distribution network topology node.
3. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 1, characterized in that, The step of constructing a power supply path based on the topology profile data in the multi-source fusion data, and comparing the time-series deviations between the total data of the transformer substations and the user data on the power supply path to obtain the metering deviation distribution of the target process includes: The feeder switch number, sectional switch number, distribution transformer number, and household meter number are extracted from the multi-source fusion data to obtain the topology element number set of the target process; Using the set of topology element numbers as an index, locate the corresponding distribution network topology nodes in the topology archive data, and connect the distribution network topology nodes in series according to the direction of power transmission to obtain the power supply path of the target process; Based on the power supply path, the loss is decomposed into layers of the total meter data and user meter data for the transformer area to obtain the metering deviation distribution of the target process.
4. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 3, characterized in that, The step of performing hierarchical loss decomposition on the transformer area master meter data and user meter data based on the power supply path to obtain the metering deviation distribution of the target process includes: Mark the master meter topology node corresponding to the transformer area master meter data and the user topology node corresponding to the user meter data on the power supply path, and merge the master meter frozen electricity of the master meter topology node and the user frozen electricity of the user topology node along the power supply path according to the same metering period to obtain the master meter summary reading and the user meter summary reading of the target process. The difference between the total meter reading and the household meter reading is used to obtain the original periodic deviation value of the target process. The original periodic deviation value is then summarized level by level according to the path hierarchy of the power supply path to obtain the hierarchical deviation record of the target process. The metering deviation distribution of the target process is obtained by recursively stripping the level loss values between adjacent levels on the same power supply path in the level deviation record.
5. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 1, characterized in that, The step of decoupling the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process includes: The baseline master table data and the baseline household meter data are accumulated level by level according to the topology hierarchy of the power supply path to obtain the hierarchical baseline master table value and hierarchical baseline household meter value of the target process. The hierarchical baseline total table value is compared with the hierarchical baseline household table value item by item to obtain the hierarchical baseline deviation sequence of the target process; The hierarchical baseline deviation sequence is expanded into the baseline deviation time series waveform of the target process according to the time-scale order within the baseline time period; The upper and lower amplitude envelopes of the baseline deviation time-series waveform are used as the fractal boundaries of the topology level on the power supply path, and the amplitude range enclosed by the fractal boundaries is used as the fractal fluctuation range of the target process.
6. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 1, characterized in that, The step of performing boundary screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process includes: Extract the current level deviation value of the topology level to be processed within the task measurement cycle from the measurement deviation distribution, and obtain the upper boundary value and lower boundary value of the level fractal corresponding to the topology level to be processed in the fractal fluctuation interval. The over-limit deviation value of the target process is determined based on the magnitude comparison result between the current hierarchical deviation value and the upper boundary value and lower boundary value of the hierarchical fractal. The power supply segment path corresponding to the over-limit deviation value is taken as the over-limit segment of the target process, and the path segments between the first and last topology nodes in the over-limit segment are summarized as the over-limit segment set of the target process. The out-of-limit sections with overlapping paths and adjacent endpoints in the out-of-limit section set are merged into a candidate abnormal path set for the target process.
7. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 1, characterized in that, The step of comparing the fluctuation trends of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronization correlation degree of the target process includes: Locate the user topology node corresponding to the power supply path segment covered by the candidate abnormal path set, and obtain the segment user time sequence record of the target process; Extract the segment deviation sequence corresponding to the power supply path segment from the metering deviation distribution, and resample the segment deviation sequence according to the metering cycle time scale to obtain the segment alignment deviation sequence of the target process; The periodic change direction of the user meter electricity time series in the segment user time series record is compared with the periodic change direction of the segment alignment deviation sequence to obtain the number of same-direction cycles of the target process, and the ratio of the number of same-direction cycles to the total number of metering cycles in the target process is used as the same-direction proportion of the target process. The line loss synchronization correlation degree of the target process is calculated based on the ratio of the same direction proportion to the user deviation amplitude of the segment user time sequence record.
8. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 7, characterized in that, The formula for calculating the correlation degree of line loss synchronization includes: in, The line loss synchronization correlation degree, The weighting coefficients for directional factors. For directional synchronization rate, The weighting coefficient for the amplitude factor. For amplitude synchronization rate, This is the time-series offset influence coefficient. It is a natural constant. This represents the time offset decay rate. To accumulate directional offset, This is the amplitude dispersion penalty coefficient. The amplitude discrete attenuation rate, This represents the amplitude dispersion.
9. The method for locating the causes of abnormal line losses in a distribution network based on multi-source data fusion as described in claim 1, characterized in that, The step of determining the cause location result based on the line loss synchronization correlation degree, and associating the cause location result with the equipment ledger information in the topology archive data to obtain the abnormal cause work order of the target process, includes: The correlation degree of the line loss synchronization is sorted in descending order to obtain the correlation degree sequence of the target process; The abnormal connectivity path region that ranks first in the correlation sequence is taken as the priority location region, and the equipment ledger information on the line segment covered by the priority location region is extracted. The topological connection relationship between the first and last topological nodes of the line section is associated and bound with the transformer model and line cross-section parameters in the equipment ledger information to obtain the location result association record of the target process; The location result associated records are categorized and grouped according to the anomaly cause type identifier to obtain the type group records of the target process, and a structured processing field is generated for the type group records to obtain the anomaly cause work order of the target process.
10. A distribution network line loss anomaly localization system based on multi-source data fusion, used to implement the distribution network line loss anomaly localization method based on multi-source data fusion as described in any one of claims 1-9, characterized in that, The system includes: The multi-source data fusion module associates and aligns the metering data source and the operation data source collected by the sensor in the target process according to the distribution network topology nodes to obtain the multi-source fused data of the target process. The metering deviation analysis module constructs a power supply path based on the topology archive data in the multi-source fusion data, compares the deviation of the total meter data of the transformer area and the user meter data on the power supply path in terms of time sequence, and obtains the metering deviation distribution of the target process. The fractal fluctuation decoupling module decouples the baseline master table data and baseline household meter data of the multi-source fusion data according to the power supply path to obtain the fractal fluctuation range of the target process. The limit-crossing screening module performs limit-crossing screening on the measurement deviation amount in the measurement deviation distribution and the fractal fluctuation range to obtain the candidate abnormal path set of the target process; The synchronous correlation analysis module compares the fluctuation trend of the user table measurement data of the candidate abnormal path set with the corresponding measurement deviation time series in the measurement deviation distribution to obtain the line loss synchronous correlation degree of the target process. The anomaly cause localization module determines the cause localization result based on the line loss synchronization correlation degree, and associates the cause localization result with the equipment ledger information in the topology archive data to obtain the anomaly cause work order for the target process.
