Method and device for identifying line-user relationship in substation area by integrating electrical and geographic location information

By combining electrical distance and spatial distance information and using clustering and correction technology, the problem of voltage classification errors in the existing technology is solved, the accuracy of line household relationship identification in the Taiwan area is improved, and the identification ability is enhanced.

CN113884797BActive Publication Date: 2024-09-03GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111152500.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-29
Publication Date
2024-09-03
Estimated Expiration
2041-09-29

AI Technical Summary

Technical Problem

Existing methods for identifying line household relationships in distribution stations have high similarity in timing changes when users are close to distribution transformers, resulting in incorrect electrical distance classification of voltages, causing users on different lines to be mistakenly classified into the same category, affecting identification accuracy.

Method used

By obtaining the voltage and active power data of the low-voltage station area, the electrical distance and spatial distance are calculated, combined with the geographical location information, using clustering and correction technology to establish a current optimization model, and output the line household relationship identification results in the station area.

Benefits of technology

It improves the accuracy of identifying line-household relationships in Taiwan, reduces the misclassification rate, and enhances the ability to identify line-household relationships in Taiwan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113884797B
    Figure CN113884797B
Patent Text Reader

Abstract

The invention discloses a method and device for identifying the relationship between a substation and a line to a user that integrates electrical and geographic location information, and relates to the technical field of power system distribution network. The method comprises calculating the electrical distance between the distribution transformer low-voltage bus and each user's electric meter to obtain an electrical distance information set; calculating the spatial distance between the distribution transformer low-voltage bus and each user's electric meter according to the geographic location data to obtain a spatial distance information set; establishing a current optimization model according to the electrical distance information set and the spatial distance information set, and outputting the identification result of the relationship between a substation and a line to a user. The present invention utilizes the geographic location data of the electric meter and adds the spatial distribution information of the electric meter to the traditional electrical criteria, which can improve the accuracy of the identification of the relationship between a substation and a line to a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system distribution network, and in particular to a method and device for identifying the relationship between a substation and a line user by integrating electrical and geographic location information. Background Art

[0002] As the low-voltage distribution network transforms to digitalization, the power grid has proposed the distribution Internet of Things as a solution for distribution station area business. The continuous promotion of metering automation systems has provided strong support for the refined management of low-voltage distribution stations. The line-user relationship in the substation area plays a very important supporting role in fault location detection, line loss analysis, etc. Optimizing and improving the basic function of substation line-user identification is of great significance to further deepen and improve the functional application of metering business.

[0003] At present, the methods for identifying the relationship between lines and users in distribution substations mainly include two categories: signal injection method and data analysis method. The signal injection method refers to installing signal transceiver equipment or modules at the head end of the substation and the end of the user, and identifying the relationship between lines and users by injecting carrier voltage or characteristic current signals. The method is simple in principle and reliable in identification, but the investment cost is high and the equipment operation and maintenance pressure is high. The data analysis method refers to the identification of the relationship between lines and users in the substation by mining the characteristics of the power consumption data in the substation. At present, the main method is to cluster the voltage first, pre-classify the power supply meters of the same branch line, and then identify them by the current optimization matching method. However, the voltage of different outgoing users who are very close to the distribution transformer has a very high similarity in time series changes, which makes it easy to classify users on different lines into the same category when using the electrical distance classification of voltage, which will cause errors in the identification of the relationship between lines and users of these users. Summary of the invention

[0004] The purpose of the present invention is to provide a method and device for identifying the relationship between power lines and users in a substation area that integrates electrical and geographic location information, utilizes the geographic location data of the electric meter, adds the spatial distribution information of the electric meter to the traditional electrical criteria, and comprehensively improves the accuracy of identifying the relationship between power lines and users in the substation area.

[0005] To achieve the above object, the present invention provides a method for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information, comprising:

[0006] Obtaining a first voltage and a first active power of a low-voltage busbar of a distribution transformer in a low-voltage area, and obtaining a second voltage and a second active power of the same frequency within a preset period of all user electric meters in the low-voltage area;

[0007] Obtaining a first active current according to the first voltage and the first active power, and obtaining a corresponding second active current according to each of the second voltages and each of the second active powers;

[0008] Calculating the electrical distance between the distribution transformer low-voltage bus and each of the user electric meters according to the first voltage and each of the second voltages to obtain an electrical distance information set;

[0009] According to the geographical location data, the spatial distance between the distribution transformer low-voltage bus and each user's electric meter is calculated to obtain a spatial distance information set;

[0010] According to the electrical distance information set, the user electric meters are sorted to obtain a head-middle-end relationship, and according to the head-middle-end relationship, the user electric meters are divided into first-category electric meters and second-category electric meters according to the first-category electric meters with a first α-percentage ratio and the last (1-α)-percentage ratio;

[0011] Performing spatial distance clustering on the first category of electric meters to obtain a first clustering result, and performing spatial distance clustering on the second category of electric meters to obtain a second clustering result;

[0012] Performing electrical distance correction on the second clustering result to obtain a third clustering result;

[0013] The first clustering result and the third clustering result are combined to update the third clustering result, and a current optimization model is established based on the updated third clustering result to output the substation line-user relationship identification result.

[0014] Preferably, the first active current is obtained according to the first voltage and the first active power, and the corresponding second active current is obtained according to each of the second voltages and each of the second active powers, and the specific formula includes:

[0015]

[0016] in, P t z For low voltage distribution z Phase bus at time t The active power value of U t z For low voltage distribution z Phase bus at time t The voltage value of A, B, and C represent the A, B, and C phases of the three-phase meter respectively. P t m Electricity meter for users m At the moment t The active power value of U t m Electricity meter for users m At the moment t The voltage value, M The number of users in the area who are supplied with electricity.

[0017] Preferably, performing electrical distance correction on the second clustering result to obtain a third clustering result includes:

[0018] Divide the second clustering result according to the phase sequence of A, B, and C of the three-phase electricity meter to obtain a plurality of first electricity meter subsets, a plurality of second electricity meter subsets, and a plurality of third electricity meter subsets;

[0019] Adopting the neighbor propagation clustering method, calculating according to the voltages of each of the first electric meter subsets, each of the second electric meter subsets, and each of the third electric meter subsets, to obtain a plurality of clustered electric meter sets;

[0020] Outlier electricity meters are screened out from the plurality of clustered electricity meter sets, and the outlier electricity meters are removed from the second clustering result to obtain a third clustering result.

[0021] Preferably, the geographical location data includes longitude and latitude coordinates.

[0022] The present invention also provides a station area line user relationship identification device integrating electrical and geographical location information, comprising:

[0023] A data acquisition module, used to acquire a first voltage and a first active power of a low-voltage busbar of a distribution transformer in a low-voltage area, and to acquire a second voltage and a second active power of the same frequency within a preset period of all user electric meters in the low-voltage area;

[0024] an active current calculation module, configured to obtain a first active current according to the first voltage and the first active power, and to obtain a corresponding second active current according to each of the second voltages and each of the second active powers;

[0025] An electrical distance calculation module, used to calculate the electrical distance between the distribution transformer low-voltage bus and each of the user electric meters according to the first voltage and each of the second voltages, to obtain an electrical distance information set;

[0026] A spatial distance calculation module, used to calculate the spatial distance between the distribution transformer low-voltage bus and each user's electric meter according to the geographical location data, and obtain a spatial distance information set;

[0027] A sorting module is used to sort the user's electric meters according to the electrical distance information set to obtain a first-middle-end relationship, and divide the user's electric meters into first-category electric meters and second-category electric meters according to the first-middle-end relationship according to the first-alpha proportion electric meters and the last (1-alpha) proportion electric meters;

[0028] A clustering module, configured to perform spatial distance clustering on the first category of electric meters to obtain a first clustering result, and perform spatial distance clustering on the second category of electric meters to obtain a second clustering result;

[0029] A correction module, used for performing electrical distance correction on the second clustering result to obtain a third clustering result;

[0030] The output module is used to merge the first clustering result and the third clustering result to update the third clustering result, and to establish a current optimization model based on the updated third clustering result to output the station area line-user relationship identification result.

[0031] Preferably, the first active current is obtained according to the first voltage and the first active power, and the corresponding second active current is obtained according to each of the second voltages and each of the second active powers, and the specific formula includes:

[0032]

[0033] in, P t z For low voltage distribution z Phase bus at time t The active power value of U t z For low voltage distribution z Phase bus at time t The voltage value of A, B, and C represent the A, B, and C phases of the three-phase meter respectively. P t m Electricity meter for users m At the moment t The active power value of U t m Electricity meter for users m At the moment t The voltage value, M The number of users in the area who are supplied with electricity.

[0034] Preferably, performing electrical distance correction on the second clustering result to obtain a third clustering result includes:

[0035] Divide the second clustering result according to the phase sequence of A, B, and C of the three-phase electricity meter to obtain a plurality of first electricity meter subsets, a plurality of second electricity meter subsets, and a plurality of third electricity meter subsets;

[0036] Adopting the neighbor propagation clustering method, calculating according to the voltages of each of the first electric meter subsets, each of the second electric meter subsets, and each of the third electric meter subsets, to obtain a plurality of clustered electric meter sets;

[0037] Outlier electricity meters are screened out from the plurality of clustered electricity meter sets, and the outlier electricity meters are removed from the second clustering result to obtain a third clustering result.

[0038] Preferably, the geographical location data includes longitude and latitude coordinates.

[0039] The present invention also provides a computer terminal device, comprising one or more processors and a memory. The memory is coupled to the processor and is used to store one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the method for identifying the relationship between a station area and a line user by integrating electrical and geographic location information as described in any of the above embodiments.

[0040] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for identifying the relationship between a substation and a line user by integrating electrical and geographic location information as described in any of the above embodiments is implemented.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] The present invention discloses a method for identifying the relationship between a power distribution area and a user by integrating electrical and geographic location information, comprising calculating the electrical distance between the distribution transformer low-voltage bus and each user's electric meter to obtain an electrical distance information set; calculating the spatial distance between the distribution transformer low-voltage bus and each user's electric meter according to the geographic location data to obtain a spatial distance information set; establishing a current optimization model according to the electrical distance information set and the spatial distance information set, and outputting the result of identifying the relationship between a power distribution area and a user. The present invention utilizes the geographic location data of the electric meter and adds the spatial distribution information of the electric meter to the traditional electrical criteria, which can improve the accuracy of identifying the relationship between a power distribution area and a user. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 It is a flowchart of a method for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information provided by a certain embodiment of the present invention;

[0045] Figure 2 It is a structural schematic diagram of a station area line-user relationship identification device integrating electrical and geographic location information provided by a certain embodiment of the present invention;

[0046] Figure 3 It is a schematic diagram of the layout of the distribution transformers and power supply users on the ground;

[0047] Figure 4 It is a diagram of a certain area marked on the Aowei map;

[0048] Figure 5 It is a partial schematic diagram of the outgoing line direction of a certain area;

[0049] Figure 6 It is a schematic diagram of the structure of a computer terminal device provided by a certain embodiment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] It should be understood that the step numbers used in this article are only for the convenience of description and are not intended to limit the order in which the steps are executed.

[0052] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0053] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0054] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.

[0055] See also Figure 1 , Figure 1 A flow chart of a method for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information provided in a certain embodiment of the present invention. In this embodiment, the method for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information includes the following steps:

[0056] S110, obtaining a first voltage and a first active power of a low-voltage busbar of a distribution transformer in a low-voltage area, and obtaining a second voltage and a second active power of the same frequency within a preset period of all user meters in the low-voltage area;

[0057] It can be understood that the same frequency means that the sampling frequencies of the first voltage and the first power and the second voltage and the second power are the same, such as the sampling frequencies of the first voltage and the first power and the second voltage and the second power are all 15 minutes per time.

[0058] S120, obtaining a first active current according to the first voltage and the first active power, and obtaining a corresponding second active current according to each of the second voltages and each of the second active powers;

[0059] S130, calculating the electrical distance between the distribution transformer low-voltage bus and each of the user electric meters according to the first voltage and each of the second voltages, to obtain an electrical distance information set;

[0060] In the embodiment of the present invention, as an example, the calculation formula of the electrical distance is:

[0061] (1)

[0062] in, For low voltage distribution f Phase bus and user meter i Electrical distance; and Distribution transformer low voltage f Phase bus and user meter i At the moment t The voltage value of f ={A, B, C}, i =1, 2, …, M , t =1, 2, …, T . M is the number of user electricity meters, T The number of time periods to be totaled.

[0063] S140, calculating the spatial distance between the distribution transformer low-voltage bus and each user's electric meter according to the geographical location data, and obtaining a spatial distance information set;

[0064] S150, sorting the user electric meters according to the electrical distance information set to obtain a head-middle-end relationship, and dividing the user electric meters into first-category electric meters and second-category electric meters according to the head-middle-end relationship according to the first-alpha proportion electric meters and the last (1-alpha) proportion electric meters;

[0065] It can be understood that the relationship between the first, middle and last ends is based on the electrical distance value of the user's meter to the low-voltage busbar, arranged from large to small, with the first 20% being recorded as the first-end meters, 20%-40% as the middle-end meters, and after 40% as the end meters.

[0066] S160, performing spatial distance clustering on the first category of electric meters to obtain a first clustering result, and performing spatial distance clustering on the second category of electric meters to obtain a second clustering result;

[0067] S170, performing electrical distance correction on the second clustering result to obtain a third clustering result;

[0068] S180, merging the first clustering result and the third clustering result, establishing a current optimization model, and outputting a substation line-user relationship identification result.

[0069] In the embodiment of the present invention, as an example, the current optimization model is:

[0070] (2)

[0071] in,

[0072] (3)

[0073] in, , is the current of the φ-phase bus at time t, is the sum of the second active currents of the meters in the mth cluster set in the third cluster result at time t, and E is the number of cluster sets in the third cluster result.

[0074] Preferably, the first active current is obtained according to the first voltage and the first active power, and the corresponding second active current is obtained according to each of the second voltages and each of the second active powers, and the specific formula includes:

[0075] (4)

[0076] in, P t z For low voltage distribution z Phase bus at time t The active power value of U t z For low voltage distribution z Phase bus at time t The voltage value of A, B, and C represent the A, B, and C phases of the three-phase meter respectively. P t m Electricity meter for users m At the moment t The active power value of U t m Electricity meter for users m At the moment t The voltage value, MThe number of users in the area who are supplied with electricity.

[0077] Preferably, performing electrical distance correction on the second clustering result to obtain a third clustering result includes:

[0078] Divide the second clustering result according to the phase sequence of A, B, and C of the three-phase electricity meter to obtain a plurality of first electricity meter subsets, a plurality of second electricity meter subsets, and a plurality of third electricity meter subsets;

[0079] Adopting the neighbor propagation clustering method, calculating according to the voltages of each of the first electric meter subsets, each of the second electric meter subsets, and each of the third electric meter subsets, to obtain a plurality of clustered electric meter sets;

[0080] Outlier electricity meters are screened out from the plurality of clustered electricity meter sets, and the outlier electricity meters are removed from the second clustering result to obtain a third clustering result.

[0081] Preferably, the geographical location data includes longitude and latitude coordinates.

[0082] The present invention also provides a station area line user relationship identification device integrating electrical and geographical location information, comprising:

[0083] The data acquisition module 210 is used to obtain the first voltage and the first active power of the low-voltage bus of the distribution transformer in the low-voltage area, and obtain the second voltage and the second active power of the same frequency within a preset period of all user meters in the low-voltage area;

[0084] An active current calculation module 220, configured to obtain a first active current according to the first voltage and the first active power, and to obtain a corresponding second active current according to each of the second voltages and each of the second active powers;

[0085] An electrical distance calculation module 230, configured to calculate the electrical distance between the distribution transformer low-voltage bus and each of the user electric meters according to the first voltage and each of the second voltages, to obtain an electrical distance information set;

[0086] A spatial distance calculation module 240 is used to calculate the spatial distance between the distribution transformer low-voltage bus and each user's electric meter according to the geographical location data to obtain a spatial distance information set;

[0087] A sorting module 250, configured to sort the user electric meters according to the electrical distance information set to obtain a first-middle-end relationship, and to classify the user electric meters into a first category of electric meters and a second category of electric meters according to the first-middle-end relationship;

[0088] A clustering module 260, configured to perform spatial distance clustering on the first category of electric meters to obtain a first clustering result, and perform spatial distance clustering on the second category of electric meters to obtain a second clustering result;

[0089] A correction module 270, configured to perform electrical distance correction on the second clustering result to obtain a third clustering result;

[0090] The output module 280 is used to merge the first clustering result and the third clustering result, establish a current optimization model, and output the line-user relationship identification result of the substation area.

[0091] Preferably, the first active current is obtained according to the first voltage and the first active power, and the corresponding second active current is obtained according to each of the second voltages and each of the second active powers, and the specific formula includes:

[0092] (4)

[0093] in, P t z For low voltage distribution z Phase bus at time t The active power value of U t z For low voltage distribution z Phase bus at time t The voltage value of A, B, and C represent the A, B, and C phases of the three-phase meter respectively. P t m Electricity meter for users m At the moment t The active power value of U t m Electricity meter for users m At the moment t The voltage value, M The number of users in the area who are supplied with electricity.

[0094] Preferably, performing electrical distance correction on the second clustering result to obtain a third clustering result includes:

[0095] Divide the second clustering result according to the phase sequence of A, B, and C of the three-phase electricity meter to obtain a plurality of first electricity meter subsets, a plurality of second electricity meter subsets, and a plurality of third electricity meter subsets;

[0096] Adopting the neighbor propagation clustering method, calculating according to the voltages of each of the first electric meter subsets, each of the second electric meter subsets, and each of the third electric meter subsets, to obtain a plurality of clustered electric meter sets;

[0097] Outlier electricity meters are screened out from the plurality of clustered electricity meter sets, and the outlier electricity meters are removed from the second clustering result to obtain a third clustering result.

[0098] Preferably, the geographical location data includes longitude and latitude coordinates.

[0099] For the specific definition of the station line-user relationship identification device that integrates electrical and geographic location information, please refer to the definition of the station line-user relationship identification method that integrates electrical and geographic location information above, which will not be repeated here. Each module in the above-mentioned station line-user relationship identification device that integrates electrical and geographic location information can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0100] In a specific embodiment, the method for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information provided by the present invention is used to obtain the identification result of the relationship between a line and a user in a substation area, including:

[0101] Step 1: Collect the voltage and active power of the low-voltage busbar of the low-voltage distribution transformer and the electric meters of all users in the distribution transformer at the same frequency within a certain period, calculate the active current, and obtain the geographical location data and phase sequence topology labels of the distribution transformer and all users in the distribution transformer;

[0102] Step 2: Calculate the electrical distance between the distribution transformer low-voltage bus and the user's electric meter based on the voltage data described in step 1, arrange the users in a first-middle-end relationship, and calculate the spatial distance between the distribution transformer and the user's electric meter based on the geographical location data described in step 1;

[0103] Step 3: Divide the meters with the first, middle and last relationship arranged in step 2 into meters with a first α proportion and meters with a last (1-α) proportion, 0<α<1, use spatial distance clustering for the meters with a first α proportion, and output the clustering result A, and use spatial distance clustering for the meters with a last (1-α) proportion, and output the clustering result B;

[0104] Step 4: For the clustering result of set B, the electrical distance correction is used to obtain the clustering result C, and then the sets A and C are merged to obtain the set E;

[0105] Step 5: Establish a current optimization model and output the results of the line-user relationship identification in the substation area.

[0106] In step 1, the voltage and active power of the low-voltage busbar of the low-voltage distribution transformer and all user meters in the low-voltage distribution transformer area at the same frequency within a certain period are collected, and the active current can be calculated by the following formula:

[0107] (4)

[0108] In the formula, , is the active power value and voltage value of phase z of the transformer terminal at time t; 、 are respectively the active power value and voltage value of user's meter m at time t.

[0109] Acquiring the geographic location data and phase sequence topology labels of the distribution transformer and all users in the substation in the step 1 refers to exporting the geographic location information of the substation and users from the power supply bureau's distribution network GPS system and exporting the user phase sequence labels from the distribution network substation topology identification system.

[0110] Furthermore, the step 2 of calculating the spatial distance between the distribution transformer and the user's electric meter based on the geographical location data in step 1 specifically includes:

[0111] The spatial distance is calculated by modeling the location distribution of distribution transformers and power users on the surface. The true north and the center of the earth are introduced as reference points for calculation. The spherical distance between any two points on the surface is represented by an arc connecting the two points on the surface. The azimuth takes the true north as 0 degrees and is measured by the angle rotating clockwise from east to south to west.

[0112] See also Figure 3 , Figure 3 It is a schematic diagram of the layout of the distribution transformer and power supply users on the ground. N is the North Pole of the Earth, O is the center of the Earth, B is the location of the distribution transformer in the area, and D1 and D2 are the meter locations of the power supply users. c It represents the angle between the arc connecting the two end points of the arc and the point on the sphere, as shown in the figure c 1. c 2. c 3 shown; use i It is expressed as the angle between the arc connecting the two end points of the arc and the center of the earth at three points on the sphere, such as Figure 3 In i 1. i 2. i 3; Let L represent the spherical distance between any two points on the sphere, such as Figure 3 L BD1 The location coordinates of any point can be determined by the latitude and longitude of the intersection of the latitude and longitude. The geographical longitude and latitude information of the distribution transformer and the user can be derived from the power supply bureau's distribution network GPS system. The figure takes user D1 as an example to illustrate how to calculate the spatial distance between the user and the distribution transformer based on the known longitude and latitude of the distribution transformer and the user.

[0113] The longitude and latitude of distribution transformer B and user D1 are known. According to the trihedral angle cosine formula:

[0114] (5)

[0115] In the formula, B~ON~D1 is the dihedral angle between the planes BON and D1ON, which is actually the longitude difference between points B and D1. Substituting the position coordinates of points B and D1, we have:

[0116] (6)

[0117] Where D1 w , B w are the dimension values ​​of point D1 and point B respectively. j , B j are the longitude values ​​of point D1 and point B respectively. i 3 After finding the cosine value, we can further find its sine value, that is:

[0118] (7)

[0119] To obtain the azimuth of point D1 relative to point B, that is, the angle between arc ND1 and point B, that is, c 1 angle, then we need to use the spherical sine formula as a connection c 1 and i 1 bridge, so:

[0120] (8)

[0121] Will i 1. i 2 is converted into known quantities and substituted into them, and the deformation is processed to obtain:

[0122] (9)

[0123] Then using the inverse sine function, the azimuth c 1 is:

[0124] (10)

[0125] However, the azimuth obtained from the above formula is c 1 does not meet the definition of azimuth angle mentioned above. It is necessary to further discuss the four quadrants of the two axes according to the user's meter relative to the distribution transformer. Different angle conversion processing is performed according to different quadrant distributions. The processing conclusion is given directly here. Taking the position of distribution transformer B as the coordinate origin, the azimuth angle conversion processing rules are as follows:

[0126] (11)

[0127] Through the above calculation steps, the azimuth angle of the user's meter D1 relative to the distribution transformer B can be calculated. C Next, the spherical distance between the user's electricity meter D1 and the distribution transformer B is further calculated.

[0128] According to formula (5), the arc L can be obtained firstBD1 The corresponding arc i 3. The formula is as follows:

[0129] (12)

[0130] Based on the radian, the spherical distance between the two points can be further calculated.

[0131] (13)

[0132] At this point, the spatial distance of the power supply user relative to the distribution transformer can be calculated based on the longitude and latitude coordinates of the distribution transformer and the power supply user through formulas (12) and (13).

[0133] Furthermore, the spatial distance clustering described in step 3 specifically includes:

[0134] Input the longitude and latitude coordinates of all user meters, use step 2 to calculate the spatial distance between each user and the distribution transformer, and output the result to the k-means program to get the result. The k-means algorithm is as follows:

[0135] (14)

[0136] In the formula, d ij is the Euclidean distance from the sample point to the distance center; k is the number of clusters; ni is the number of samples i; ci is the cluster center of the i-th sample.

[0137] The clustering result of set B described in step 4 is corrected by electrical distance to obtain clustering result C, which specifically includes the following steps:

[0138] (4-1) The set B is further divided into the meter subsets BA, BB, and BC with the phase sequence of A, B, and C according to the phase sequence of the meters;

[0139] (4-2) Adopt the neighbor propagation clustering method, calculate the clustered meter sets of BA, BB, and BC respectively according to the voltage of the meters in the BA, BB, and BC sets. If a clustered meter set has only one electric pen, it is judged as an outlier meter, and the outlier table set is archived as D. Reclassify according to the electrical distance matrix, calculate the electrical distance matrix and classification

[0140] (4-3) Calculate the difference between set B and set D to obtain set C, that is, BD=C;

[0141] (4-4) Calculate the electrical distance between the electric meters in set D and the electric meters in set C, associate the electric meters in set D with the electric meters in set C that are closest in electrical distance to the same set, and update set C;

[0142] (4-5) Combine set A and set C to get set E.

[0143] The embodiments of the present invention have been applied in industry. For example, the operation overview of a certain area in September 2020 is that the distribution transformer has 3 outgoing lines for power supply. The user types are 164 single-phase and 21 three-phase. After on-site visits and surveys, the power load of this area is the type of rural residential power consumption. The residential houses are relatively scattered, and the directions of different outgoing lines are not very regular. The wiring of the power supply area is also relatively vague. Mark on the Aowei map, as shown in the following figure: Figure 4 shown.

[0144] According to the latitude and longitude coordinates of some user meter boxes on the Aowei map, as shown in Table 1:

[0145] Table 1 Geographical coordinates of each outgoing line user in a certain area

[0146]

[0147] According to the location coordinate information of the distribution transformer and the user in the above table, the spatial distance from each user's meter box to the distribution transformer is calculated, and then the clustering method described in step 3 is used to cluster the users. The clustering results are shown in Table 2:

[0148] Table 2 Clustering results of user spatial distance in a certain area

[0149]

[0150] Furthermore, after clustering the user meters using electrical distance, 65 classification results were obtained. Since there are too many categories, the results are not listed to save space. From the electrical clustering results, some off-line meters were clustered into one category, and their measurement point numbers were 2, 3, 6, 7, and 8. The locations of these five user meters were found on the map, all of which were close to the outgoing line head end of the distribution transformer, such as Figure 5 Similarly, analyzing the clustering results in Table 3-14, some off-line meters are clustered into one category. Their measurement points are 124, 125, 126, 127, 94, 95, 96, 97. From the geographical point of view, the measurement points 94, 95, 96, 97 of line #2 and the measurement points 124, 125, 126, 127 of line #3 are very close to each other. The local enlarged picture is shown in the figure below. Figure 5 (b) as shown.

[0151] Next, we need to integrate and complement the advantages of electrical distance and spatial distance. First, we use spatial distance to verify the clustering results of electrical distance, and then use electrical distance to reversely verify the clustering results of spatial distance. The analysis is as follows:

[0152] Fusion point 1: Verify electrical distance by spatial distance. All user meters are arranged in the first, middle and last order using the electrical distance of the distribution transformer and the meter. The clustering result of the first section of meters is selected, and then clustering is performed again according to the spatial distance to obtain a new clustering result, which is used as the corrected clustering result. After spatial distance clustering, two categories {2, 3} and {6, 7, 7, 8} are obtained, thus achieving the correction of electrical distance clustering errors.

[0153] Fusion point 2: Electrical distance verifies spatial distance. Each type of electric meter in the spatial distance clustering result is disassembled according to the electrical distance clustering, and the new clustering result is used as the corrected clustering result. The clustering results obtained after electrical distance clustering are {94, 95, 96, 97} and {124, 125, 126, 127}, thus achieving the correction of spatial distance clustering errors.

[0154] In summary, through simulation analysis of an actual substation, the effectiveness of the substation line-user relationship identification method that integrates electrical and geographic location information provided by the present invention has been verified.

[0155] See also Figure 6 The embodiment of the present invention provides a computer terminal device, including one or more processors and a memory. The memory is coupled to the processor and is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method for identifying the relationship between a station area and a line user by integrating electrical and geographic location information as in any one of the above embodiments.

[0156] The processor is used to control the overall operation of the computer terminal device to complete all or part of the steps of the above-mentioned method for identifying the relationship between the line and the user in the area integrating electrical and geographic location information. The memory is used to store various types of data to support the operation of the computer terminal device, and these data may include, for example, instructions for any application or method used to operate on the computer terminal device, as well as data related to the application. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0157] In an exemplary embodiment, the computer terminal device can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASC), digital signal processors (Digital Signal Processor, DSP), digital signal processing devices (Digital Signal Processing Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field Programmable Gate Array, FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned method for identifying the relationship between stations and users that integrates electrical and geographic location information, and achieve the same technical effect as the above-mentioned method.

[0158] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the method for identifying the relationship between a line and a user in a substation area and integrating electrical and geographic location information in any of the above embodiments are implemented. For example, the computer-readable storage medium may be the above-mentioned memory including program instructions, and the above-mentioned program instructions may be executed by a processor of a computer terminal device to complete the above-mentioned method for identifying the relationship between a line and a user in a substation area and integrating electrical and geographic location information, and achieve the same technical effect as the above-mentioned method.

[0159] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information, characterized in that: include: Obtaining a first voltage and a first active power of a low-voltage busbar of a distribution transformer in a low-voltage area, and obtaining a second voltage and a second active power of the same frequency within a preset period of all user electric meters in the low-voltage area; Obtaining a first active current according to the first voltage and the first active power, and obtaining a corresponding second active current according to each of the second voltages and each of the second active powers; Calculating the electrical distance between the distribution transformer low-voltage bus and each of the user electric meters according to the first voltage and each of the second voltages to obtain an electrical distance information set; Calculate the spatial distance between the distribution transformer low-voltage bus and each user's electric meter according to the geographical location data to obtain a spatial distance information set; The geographic location data includes latitude and longitude coordinates; According to the electrical distance information set, the user electric meters are sorted to obtain a head-middle-end relationship, and according to the head-middle-end relationship, the user electric meters are divided into first-category electric meters and second-category electric meters according to the first-category electric meters with a first α-percentage ratio and the last (1-α)-percentage ratio; According to the spatial distance information set and the k-means algorithm, the first type of electric meters are subjected to spatial distance clustering to obtain a first clustering result, and the second type of electric meters are subjected to spatial distance clustering to obtain a second clustering result; Performing electrical distance correction on the second clustering result to obtain a third clustering result; The first clustering result and the third clustering result are combined to establish a current optimization model, and output a line-user relationship identification result of the substation area; The step of performing electrical distance correction on the second clustering result to obtain a third clustering result includes: Divide the second clustering result according to the phase sequence of A, B, and C of the three-phase electricity meter to obtain a plurality of first electricity meter subsets, a plurality of second electricity meter subsets, and a plurality of third electricity meter subsets; Adopting the neighbor propagation clustering method, calculating according to the voltages of each of the first electric meter subsets, each of the second electric meter subsets, and each of the third electric meter subsets, to obtain a plurality of clustered electric meter sets; Outlier electricity meters are screened out from the plurality of clustered electricity meter sets, and the outlier electricity meters are removed from the second clustering result to obtain a third clustering result.

2. The method for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information according to claim 1, characterized in that: The first active current is obtained according to the first voltage and the first active power, and the corresponding second active current is obtained according to each of the second voltages and each of the second active powers. The specific formula includes: in, P t z For low voltage distribution z Phase bus at time t The active power value of U t z For low voltage distribution z Phase bus at time t The voltage value of A, B, and C represent the A, B, and C phases of the three-phase meter respectively. P t m Electricity meter for users m At the moment t The active power value of U t m Electricity meter for users m At the moment t The voltage value, M The number of users in the area who are supplied with electricity.

3. A device for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information, characterized in that: include: A data acquisition module, used to acquire a first voltage and a first active power of a low-voltage busbar of a distribution transformer in a low-voltage area, and to acquire a second voltage and a second active power of the same frequency within a preset period of all user electric meters in the low-voltage area; an active current calculation module, configured to obtain a first active current according to the first voltage and the first active power, and to obtain a corresponding second active current according to each of the second voltages and each of the second active powers; An electrical distance calculation module, used to calculate the electrical distance between the distribution transformer low-voltage bus and each of the user electric meters according to the first voltage and each of the second voltages, to obtain an electrical distance information set; A spatial distance calculation module, used to calculate the spatial distance between the distribution transformer low-voltage bus and each user's electric meter according to the geographical location data, and obtain a spatial distance information set; The geographic location data includes latitude and longitude coordinates; A sorting module is used to sort the user's electric meters according to the electrical distance information set to obtain a first-middle-end relationship, and divide the user's electric meters into first-category electric meters and second-category electric meters according to the first-middle-end relationship according to the first-alpha proportion electric meters and the last (1-alpha) proportion electric meters; a clustering module, configured to perform spatial distance clustering on the first category of electric meters to obtain a first clustering result, and perform spatial distance clustering on the second category of electric meters to obtain a second clustering result, according to the spatial distance information set and a k-means algorithm; A correction module, used for performing electrical distance correction on the second clustering result to obtain a third clustering result; An output module, used to merge the first clustering result and the third clustering result, establish a current optimization model, and output a line-user relationship identification result of the substation area; The step of performing electrical distance correction on the second clustering result to obtain a third clustering result includes: Divide the second clustering result according to the phase sequence of A, B, and C of the three-phase electricity meter to obtain a plurality of first electricity meter subsets, a plurality of second electricity meter subsets, and a plurality of third electricity meter subsets; Adopting the neighbor propagation clustering method, calculating according to the voltages of each of the first electric meter subsets, each of the second electric meter subsets, and each of the third electric meter subsets, to obtain a plurality of clustered electric meter sets; Outlier electricity meters are screened out from the plurality of clustered electricity meter sets, and the outlier electricity meters are removed from the second clustering result to obtain a third clustering result.

4. The device for identifying the relationship between a line and a user in a substation area by integrating electrical and geographic location information according to claim 3, characterized in that: The first active current is obtained according to the first voltage and the first active power, and the corresponding second active current is obtained according to each of the second voltages and each of the second active powers. The specific formula includes: in, P t z For low voltage distribution z Phase bus at time t The active power value of U t z For low voltage distribution z Phase bus at time t The voltage value of A, B, and C represent the A, B, and C phases of the three-phase meter respectively. P t m Electricity meter for users m At the moment t The active power value of U t m Electricity meter for users m At the moment t The voltage value, M The number of users in the area who are supplied with electricity.

5. A computer terminal device, characterized in that: include: one or more processors; A memory, coupled to the processor, for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for identifying the relationship between stations and users integrating electrical and geographic location information as described in any one of claims 1 to 2.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for identifying the relationship between a station area and a line to a user by integrating electrical and geographic location information as described in any one of claims 1 to 2 is implemented.