Method for analyzing correlation between different line loss actions
11296505 · 2022-04-05
Assignee
Inventors
- Jian Li (Sichuan, CN)
- Qi Huang (Sichuan, CN)
- Haotian Chang (Sichuan, CN)
- Weihao Hu (Sichuan, CN)
- Dongsheng Cai (Sichuan, CN)
- Zhenyuan Zhang (Sichuan, CN)
- Jianbo Yi (Sichuan, CN)
- Jianhua Zhou (Sichuan, CN)
- Zhibin Deng (Sichuan, CN)
- Xiaofeng Hu (Sichuan, CN)
Cpc classification
Y04S40/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J3/0012
ELECTRICITY
H02J3/0075
ELECTRICITY
H02J3/004
ELECTRICITY
Y02E40/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J2203/20
ELECTRICITY
Y04S10/50
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
Y02E60/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
Abstract
A method is for analyzing the correlation between different line loss actions, which records, for each individual to which line loss actions occur, all the line loss actions that occur to the individual; and counts, based on two categorization manners: by individual and by line loss action, line loss actions recorded in the database, to obtain line loss action counting results corresponding to respective categorization manners; then, based on the two counting results, collects respective multi-line loss action sequences; and acquires probability data as a data source for probability calculation, to obtain line loss action occurrence conditional probabilities for different line loss actions, so that a targeted a targeted loss reduction plan can be formulated.
Claims
1. A method for analyzing a correlation between different line loss actions, comprising steps of: (1) acquiring data and performing data preprocessing by: for each user, recording different line loss actions that occur to the user each day, and processing into and storing, in a first table, a correlation between the user and all its line loss actions, the stored first table being named as a user-line loss action table; (2) acquiring various indicators for analysis of the correlation based on the user-line loss action table by: (2.1) acquiring a single line loss action count table by: for each kind of line loss action, in the user-line loss action table, counting the number of occurrences of the kind of line loss action, where each line loss action that occurs to a user is counted as one occurrence, and storing, in a second table, a correspondence between the kind of line loss action and its number of occurrences, the stored second table being the single line loss action count table; (2.2) acquiring a line loss action sequence count table by: from the user-line loss action table, for each user, forming a sequence from all the line loss actions that occur to the user, the sequence being named as a line loss action sequence; and for each line loss action sequence, counting a number of occurrences of the line loss action sequence among the line loss action sequences of all users, and acquiring and storing, in a third table, a correspondence between the line loss action sequence and its number of occurrences, the stored third table being the line loss action sequence count table; (2.3) acquiring an associated line loss action count table by: (2.3.1) naming the line loss action sequence of an ith user in the line loss action sequence count table as S.sub.i; naming a number of occurrences of S.sub.i as n.sub.i; and naming a number of line loss actions included in S.sub.i as l.sub.i; (2.3.2) picking up 2 to (l.sub.i−1) line loss actions from the line loss action sequence S.sub.i respectively, to form a variety of line loss action subsequences, the line loss action subsequences being named as associated line loss actions; and deeming a number of occurrences of an associated line loss action from the line loss action sequence S.sub.i as the number of occurrences of S.sub.i in the line loss action sequence count table; (2.3.3) processing all the line loss action sequences S.sub.i in the line loss action sequence count table according to steps (2.3.1) to (2.3.2), to acquire the associated line loss actions and their numbers of occurrence for all the users; and combining numbers of occurrence of the same kind of associated line loss actions, and storing, in a fourth table, a correspondence between the kind of associated line loss action and its number of occurrences, the stored fourth table being the associated line loss action count table; (2.4) acquiring a line loss action occurrence conditional probability table by: (2.4.1) if a line loss action A is known to have occurred, a probability of a line loss action B occurring, which is a conditional probability of the line loss action B given a line loss action A, represented as P(B|A) is:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
DETAILED DESCRIPTION OF PARTICULAR EMBODIMENTS
(4) For a better understanding of the present disclosure by those skilled in the art, specific embodiments of the present disclosure will be described herein in conjunction with the accompanying drawings. It should be noted that detailed description of known functions or designs will be omitted for clarity purposes.
(5) Embodiments will now be described.
(6)
(7) In an embodiment of the present disclosure, as shown in
(8) S1. acquiring data and performing data preprocessing by:
(9) for each user, recording different line loss actions that occur to the user each day, and processing into and storing, in a table, a correspondence between the user and all its line loss actions, the stored table being named as a user-line loss action table;
(10) S2. as shown in
(11) S2.1. acquiring a single line loss action count table by:
(12) The user-line loss action table, categorized by user, including different line loss actions that occur to each user each day. In order to further explore the correlation between line loss actions and prepare for a subsequent calculation of a conditional probability of line loss action occurrence, based on the user-line loss action table, for each kind of line loss action, the number of occurrences of the kind of line loss action is counted and stored, where each line loss action that occurs to a user from the user-line loss action table is counted as one occurrence of the kind of line loss action, the stored table being the single line loss action count table;
(13) S2.2. acquiring a line loss action sequence count table by:
(14) from the user-line loss action table, for each user, forming a sequence from all the line loss actions that occur to the user, the sequence being named as a line loss action sequence;
(15) In order to further understand the case where a maximum number of kinds of line loss actions occur at the same time and prepare for the subsequent calculation of a conditional probability of line loss action occurrence, for each line loss action sequence, the number of occurrences of the line loss action sequence among the line loss action sequences of all users is counted, and a correspondence between the line loss action sequence and its number of occurrences is acquired and stored, the stored table being the line loss action sequence count table;
(16) S2.3. acquiring an associated line loss action count table by:
(17) S2.3.1. naming the line loss action sequence of an ith user in the line loss action sequence count table as S.sub.i naming the number of occurrences of S.sub.i as n.sub.i; and naming the number of line loss actions included in S.sub.i as l.sub.i;
(18) S2.3.2. picking up 2 to (l.sub.i−1) line loss actions from the line loss action sequence S.sub.i respectively, to form a variety of line loss action subsequences, the line loss action subsequences being named as associated line loss actions; and
(19) deeming the number of occurrences of an associated line loss action from the line loss action sequence S.sub.i as the number of occurrences of S.sub.i in the line loss action sequence count table;
(20) S2.3.3. in order to have a more comprehensive understanding of all possible line loss actions at the same time and prepare for the subsequent calculation of a conditional probability of line loss action occurrence, processing all the line loss action sequences S.sub.i in the line loss action sequence count table according to steps S2.3.1 to S2.3.2, to acquire the associated line loss actions and their numbers of occurrence for all the users; combining the numbers of occurrence of the same kind of associated line loss actions, and storing a correspondence between the kind of associated line loss actions and its number of occurrences, the stored table being the associated line loss action count table;
(21) S2.4. acquiring a line loss action occurrence conditional probability table by:
(22) S2.4.1, the single line loss action count table, the line loss action sequence count table and the associated line loss action count table acquired through steps S2.1 to S2.3 including all possible cases of line loss actions and their numbers of occurrence, which enables comprehensive calculation of line loss action occurrence conditional probabilities and prepares for a subsequent development of a preventive loss reduction plan. The conditional probability of a line loss action is defined as: if a line loss action A is known to have occurred, the probability of a line loss action B occurring, i.e., the probability of a line loss action B under the condition that a line loss action A has occurred. The conditional probability is written as:
(23)
(24) In the calculation of the line loss action occurrence conditional probability, the number of occurrences of the line loss action A is used as a substitute for the probability of the line loss action A that is known to have occurred, the number of occurrences of the line loss action A being N.sub.A; the number of the cases where both the line loss action A and the line loss action B occur is used as a substitute for the probability of the joint of the line loss action A and the line loss action B, the number of the cases where both the line loss action A and the line loss action B occur being N.sub.AB. By inputting the data of N.sub.A and N.sub.AB to the conditional probability equation, the probability of the line loss action B under the condition that the line loss action A has occurred can be obtained, i.e., the conditional probability of the line loss action B given the line loss action A.
(25) S2.4.2. according to the calculation of S2.4.1, using the single line loss actions from the single line loss action count table and the associated line loss actions from the associated line loss action count table as a line loss action A that is known to have occurred, using all the line loss actions that occur at the same time as the line loss action A and a combination of these line loss actions as a line loss action B that is conditional, and calculating a line loss action occurrence conditional probability for each and every case and storing the results in a table, the stored table being the line loss action occurrence conditional probability table;
(26) S3. as shown in
(27) S3.1. performing high-frequency line loss action and sequence analysis by:
(28) The line loss actions and the line loss action sequences in the single line loss action count table, the line loss action sequence count table and the associated line loss action count table being sorted in a descending order according to the number of occurrences, to obtain a frequency ordered result for the line loss actions and line loss action sequences; then a high-frequency line loss action can be acquired from the frequency ordered result; and finally a targeted loss reduction plan can be formulated based on the high-frequency line loss action.
(29) S3.2, performing early warning analysis of line loss actions by:
(30) A preventive loss reduction plan for high-conditional probability line loss actions being formulated based on the line loss action occurrence conditional probability table. However, the raw line loss action occurrence conditional probability table may contain misleading data. For example, if the count of a certain line loss action or sequence is 1, the conditional probability calculated according to S2.4.1 would be 100%. Data with a 100% value is considered of great importance in the analysis, but the 100% value in this example is calculated based on a low-frequency line loss action; this data may mislead the formulation of the loss reduction plan. Therefore, in the analysis based on the line loss action occurrence conditional probabilities, a lower threshold for the frequency is predetermined, and if the number of occurrences of a line loss action A that is known to have occurred is less than M, the calculated conditional probability is considered as invalid and thus discarded.
(31) Then, the line loss action occurrence conditional probability table, excluding invalid conditional probability data, is sorted in a descending order according to the conditional probability, to obtain cases with a high conditional probability, so that when a certain line loss action is known to have occurred, a targeted loss reduction plan can be formulated for those line loss actions with a high conditional probability.
(32) Specific embodiments of the present disclosure have been described above for illustrative purposes. It should be noted that the scope of the present invention is not limited to these embodiments. Those skilled in that art may make various variations and modifications to the embodiments described herein without deviation from the spirit and scope of the present invention as defined by the appended claims. The variations and modifications shall fall within the scope of the present invention.