CN107403239B - Parameter analysis method for control equipment in power system - Google Patents

Parameter analysis method for control equipment in power system Download PDF

Info

Publication number
CN107403239B
CN107403239B CN201710611778.XA CN201710611778A CN107403239B CN 107403239 B CN107403239 B CN 107403239B CN 201710611778 A CN201710611778 A CN 201710611778A CN 107403239 B CN107403239 B CN 107403239B
Authority
CN
China
Prior art keywords
mining
field
fuzzy
time interval
obtaining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710611778.XA
Other languages
Chinese (zh)
Other versions
CN107403239A (en
Inventor
陈光宇
张仰飞
郝思鹏
刘海涛
李军
伍磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Institute of Technology
Original Assignee
Nanjing Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Institute of Technology filed Critical Nanjing Institute of Technology
Priority to CN201710611778.XA priority Critical patent/CN107403239B/en
Publication of CN107403239A publication Critical patent/CN107403239A/en
Application granted granted Critical
Publication of CN107403239B publication Critical patent/CN107403239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2465Query processing support for facilitating data mining operations in structured databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2468Fuzzy queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Tourism & Hospitality (AREA)
  • Fuzzy Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Game Theory and Decision Science (AREA)
  • Computational Linguistics (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Probability & Statistics with Applications (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Primary Health Care (AREA)
  • Automation & Control Theory (AREA)
  • Water Supply & Treatment (AREA)

Abstract

The embodiment of the invention discloses a parameter analysis method for control equipment in an electric power system, relates to the field of reactive power optimization online control of the electric power system, and realizes automatic and reasonable setting of parameters in the reactive power optimization online control. The invention comprises the following steps: automatically dividing the bus load prediction data and obtaining a time interval required by mining; selecting and mining required associated fields and sorting data of each time period in a historical library; selecting a result of the history library in the ith time period and converting partial field attributes; calculating the similarity of different field attributes between the load prediction curve and the historical library set in the i time period; quantizing the corresponding values of the attributes by adopting a fuzzy membership function; mining by adopting a fuzzy association rule mining method; obtaining a strong association rule meeting the confidence coefficient; and performing defuzzification processing on the association rule to obtain the time interval division and action frequency setting results of the equipment.

Description

Parameter analysis method for control equipment in power system
Technical Field
The invention relates to the field of reactive power optimization control of an electric power system, in particular to a parameter analysis method for control equipment in the electric power system.
Background
Currently, reactive power optimization online control on control equipment in an electric power system is mature and widely applied after years of research. However, the setting of key parameters such as the number of times of actions of the control device is cumbersome and not easy to grasp, often resulting in the actual control effect being greatly affected due to unreasonable settings.
And the parameter setting of control equipment in traditional reactive power optimization mostly relies on the personal experience of operating personnel to set up, for example: setting two important parameters of the action times of the transformer gear and the action times of the compensation equipment in one day. Generally, a time interval of one day is divided according to the approximate load trend of a transformer substation, then the action times of equipment in the time interval are set one by one according to self experience, the division mode is mainly based on human experience, the phenomenon of unsatisfactory control effect often occurs after a system operates for a period of time due to reasons such as untimely maintenance caused by subjective judgment of operators or seasonal changes of loads, and in order to ensure the optimization effect of online control, the operators often need to continuously adjust the setting result of key parameters according to the characteristics of the changes of the loads. In a large-scale regional power grid, frequent adjustment of equipment parameters brings huge workload to operators, and because sufficient operators with abundant operation and maintenance experience are lacked, time interval division of loads and accurate setting of action times in specific time intervals are difficult to master, and finally, the control effect in a large-scale regional power grid system is difficult to further optimize.
Disclosure of Invention
The embodiment of the invention provides a parameter analysis method for control equipment in an electric power system, which realizes automatic and reasonable setting of parameters in reactive power optimization online control.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
an overall process comprising:
acquiring a bus load prediction result required by excavation;
automatically dividing the bus load prediction data and obtaining a time interval required by mining;
selecting and mining required associated fields and sorting data of each time period in a historical library;
selecting a result of the history library in the ith time period and converting partial field attributes;
calculating the similarity of different field attributes between the load prediction curve and the historical library set in the i time period;
quantizing the corresponding values of the attributes by adopting a fuzzy membership function;
mining by adopting a fuzzy association rule mining method;
obtaining a strong association rule meeting the confidence coefficient;
through i<li,maxJudging whether all the time periods are completely excavated (l)i,maxRepresenting the maximum value of the current time interval, i represents the number of the divided time intervals, i is more than or equal to 1 and less than or equal to max), if the mining is finished, turning to the step 10, otherwise, turning to the step 4;
performing defuzzification processing on the association rule to obtain a device time interval division and action frequency setting result;
and finishing the mining calculation.
Wherein, if the overall flow is according to the execution sequence, the method specifically comprises the following steps: the method comprises a pre-mining data preparation stage, a mining calculation and rule generation stage and a stage of obtaining a parameter setting result according to a rule, and specifically comprises the following steps:
a the step of the pre-mining data preparation phase comprises the following steps:
a-1, acquiring a bus load prediction result required by excavation;
a-2, automatically dividing bus load prediction data and obtaining a time interval required by mining;
a-3, selecting relevant fields required by mining, and sorting data in each time period in a historical library;
b, the step of the mining calculation and rule generation phase comprises the following steps:
b-1, selecting a result of the historical library in the ith time period, and converting the attribute of the field;
b-2, calculating the similarity of different field attributes between the load prediction curve and the historical library set in the period i;
b-3, quantizing the corresponding values of the attributes by adopting a fuzzy membership function;
b-4, mining by adopting a fuzzy association rule mining method;
b-5, obtaining a strong association rule meeting the confidence coefficient and the interest degree;
step B-6, by i<li,maxJudging whether all the time periods are completely excavated, if all the time periods are excavated, switching to C-1, and otherwise switching to B-1, wherein li,maxRepresents the maximum value of the current time interval, i represents the number of the divided time intervals, and i is more than or equal to 1 and less than or equal to max;
c, the step of the stage of obtaining the parameter setting result according to the rule comprises:
step C-1, performing defuzzification processing on the association rule to obtain a device time interval division and action frequency setting result;
and C-2, finishing the mining calculation. According to the parameter analysis method for the control equipment in the power system, provided by the embodiment of the invention, the time interval division and time interval parameter setting results of different equipment are obtained by adopting associated mining on a historical database, short-term bus load prediction data is introduced, a prediction curve is reasonably divided to obtain the time interval division of the equipment, similarity comparison is carried out on the load curve in the time interval and a data set in the same time interval in the database, and finally the reasonable distribution times of the parameters are obtained through the associated mining on the database in the time interval, so that the automatic reasonable setting of the parameters in the reactive power optimization online control is realized. When the working strength of operators is reduced, the reasonability and the accuracy of a key parameter setting result are ensured, and the overall control effect of the reactive power optimization of the power grid is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a general flow diagram of the present invention;
FIG. 2 is a load prediction curve time interval division flowchart of the present invention;
FIG. 3 is a flow chart of a method for inter-set similarity calculation in accordance with the present invention;
FIG. 4 is a schematic diagram of an embodiment of the present invention;
FIG. 5 is a flow chart of a fast mining algorithm of the present invention that improves fuzzy association rules;
FIG. 6 is a flow chart of rule screening using a strongly associated rule screening policy of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or coupled. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items. It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the invention provides a parameter analysis method for control equipment in an electric power system, which is mainly used for intelligently identifying key parameters in reactive power optimization online control so as to solve the problems of complicated key parameter setting and inaccurate setting result in the conventional reactive power optimization online control. The general flow of the method is shown in fig. 1, and comprises the following steps:
acquiring a bus load prediction result required by excavation;
automatically dividing the bus load prediction data and obtaining a time interval required by mining;
selecting and mining required associated fields and sorting data of each time period in a historical library;
selecting a result of the history library in the ith time period and converting partial field attributes;
calculating the similarity of different field attributes between the load prediction curve and the historical library set in the i time period;
quantizing the corresponding values of the attributes by adopting a fuzzy membership function;
mining by adopting a fuzzy association rule mining method;
obtaining a strong association rule meeting the confidence coefficient;
through i<li,maxJudging whether all the time periods are completely excavated (l)i,maxRepresenting the maximum value of the current time interval, i represents the number of the divided time intervals, i is more than or equal to 1 and less than or equal to max), if the mining is finished, turning to the step 10, otherwise, turning to the step 4;
performing defuzzification processing on the association rule to obtain a device time interval division and action frequency setting result;
and finishing the mining calculation.
Wherein, if the overall flow is according to the execution sequence, the method specifically comprises the following steps: the method comprises a pre-mining data preparation stage, a mining calculation and rule generation stage and a stage of obtaining a parameter setting result according to a rule, and specifically comprises the following steps:
a the step of the pre-mining data preparation phase comprises the following steps:
a-1, acquiring a bus load prediction result required by excavation;
a-2, automatically dividing bus load prediction data and obtaining a time interval required by mining;
a-3, selecting relevant fields required by mining, and sorting data in each time period in a historical library;
b, the step of the mining calculation and rule generation phase comprises the following steps:
b-1, selecting a result of the historical library in the ith time period, and converting the attribute of the field;
b-2, calculating the similarity of different field attributes between the load prediction curve and the historical library set in the period i;
b-3, quantizing the corresponding values of the attributes by adopting a fuzzy membership function;
b-4, mining by adopting a fuzzy association rule mining method;
b-5, obtaining a strong association rule meeting the confidence coefficient and the interest degree;
step B-6, by i<li,maxJudging whether all the time periods are completely excavated, if all the time periods are excavated, switching to C-1, and otherwise switching to B-1, wherein li,maxRepresents the maximum value of the current time interval, i represents the number of the divided time intervals, and i is more than or equal to 1 and less than or equal to max;
c, the step of the stage of obtaining the parameter setting result according to the rule comprises:
step C-1, performing defuzzification processing on the association rule to obtain a device time interval division and action frequency setting result;
and C-2, finishing the mining calculation. The parameter analysis method for the control equipment in the power system provided by the embodiment of the invention analyzes and processes the setting problem of the key parameters in the reactive power optimization online control from a brand new angle, so as to solve the problems of complicated setting of the key parameters and inaccurate setting result in the existing reactive power optimization online control. Aiming at the problems that the setting of key parameters (such as the action times of equipment) in reactive power optimization online control is complicated and the setting result is not easy to grasp, the method of association mining is adopted to realize the automatic accurate identification of the key parameters in reactive power optimization, specifically, the historical database is subjected to association mining to obtain the time interval division and the setting result of parameters in the time interval of different equipment, short-term bus load prediction data is introduced, the prediction curve is reasonably divided to obtain the time interval division of the equipment, then the similarity comparison is carried out on the load curve in the time interval and a data set in the same time interval in the database, and finally, the reasonable distribution times of the parameters are obtained through the association mining of the database in the time interval, so that the automatic reasonable setting of the parameters in the reactive power optimization online control is realized.
When the working intensity of operators is reduced, the parameters in the reactive power optimization online control are automatically, timely and reasonably set, and the reasonability and accuracy of the setting result of the key parameters are ensured, so that the overall control effect of the reactive power optimization of the power grid is improved, and a feasible method is provided for further improving the online control effect of the reactive power optimization of the power grid.
In this embodiment, as shown in fig. 2, the step a-2 includes:
a-2-1, reading in bus load prediction curve data;
a-2-2, setting a peak-valley number threshold value N of a bus load prediction curve;
a-2-3, arranging the bus load prediction data in an ascending order to obtain an ascending order set S of the bus load prediction data;
a-2-4, selecting the previous F data in a set S and storing the previous F data in the set SF, wherein the set SF is a subset including the data in the set S, and F is 3 under the default condition;
a-2-5, calculating two numbers SF in the set SF according to the arrangement sequence obtained in the A-2-3i,tAnd SFi+1,tIn the time interval between, if SFi,t-SFi+1,tδ ≦ δ (i ═ 1., F-1), where δ is a set threshold, by default δ ═ 3, then hold and shift to a-2-6, otherwise shift to a-2-7, SF-1, and so oni,tDenotes the ith number in the set SF, SFi+1,tRepresents the i +1 th number in the set SF;
a-2-6, deleting SF in set SFi+1,tAnd supplement SN+1Entering into a set SF and switching to A-2-5, SN+1Represents the N +1 th number in the set S;
a-2-7, arranging the bus load prediction data in a descending order to obtain a descending order set J of the bus load prediction data;
a-2-8, selecting the first G data in a set J and storing the first G data in the set J into a set JG, wherein the set JF is a subset including the data in the set J, and G is 2 under the default condition;
a-2-9, sequentially calculating two numbers JG in the set JGi,tAnd JGi+1,tTime interval between, if JGi,t-JGi+1,tδ ≦ δ (i ═ 1., G-1), then true and go to a-2-10, otherwise go to a-2-11, JGi,tAnd JGi+1,tRespectively representing the i-th and i + 1-th numbers in the set JG;
a-2-10, deleting JG from set JGi+1,tAnd supplement SN+1Entering a set SF and switching to A-2-9;
a-2-11, merging the set SF and JG, and generating a new set SHF according to time sequencei,t(i 1.., G + F), and set SHFi,tDividing the adjacent two numbers into a time interval, and switching to A-2-12;
a-2-12, and the step A-2 is ended.
In this embodiment, in the step a-3: the specific fields of the relevant fields required by the selected mining are as follows: the system comprises a date field for representing the year, month and day, a field for representing the current time, a field for representing active load or reactive load, a field for representing the bus voltage value, a field for representing the gear position value of the transformer and a field for representing the switching state of the compensation equipment.
In this embodiment, in step B-1, the converted field attributes include: converting the bus voltage value into voltage line crossing times and voltage deviation;
converting the 'gear position value of the transformer' into 'action times of the transformer';
and converting the switching state of the compensation equipment into the action times of the compensation equipment.
Since the mining objects discussed in the fuzzy association rule mining are all discrete quantities, and the mining conditions and attributes of the embodiment have continuous quantities besides the discrete quantities, such as loads, voltages and the like, which are all continuous quantities, in order to use the existing association rule mining algorithm, it is necessary to discretize the continuous quantities, and generally, the continuous attributes need to be divided when the continuous attributes are converted into the discrete attributes, and the problem of hardness among the divided areas can be better avoided by adopting the membership function in the fuzzy mathematics through the fuzzification of the attributes. In this embodiment, each attribute in the mining is fuzzified, wherein the active load and the reactive load are represented by the triangular membership function in fig. 4(a), and the voltage deviation and the voltage out-of-limit times are represented by the triangular membership function in fig. 4 (b). In the step B-3, if the membership function in the fuzzy mathematics is adopted to convert the continuous attribute into the discrete attribute, the fuzzy language corresponding to each attribute is as follows in sequence:
active and reactive loads are defined as { very dissimilar (SN), dissimilar (N), somewhat similar (S), comparatively similar (B), very similar (HB) };
the bus voltage deviation is defined as { deviation is small (L), certain deviation (M) exists, and deviation is large (H) };
the voltage out-of-limit times are defined as { no out-of-limit, less out-of-limit times and more out-of-limit times };
the number of gear action times is defined as { less, normal and more };
the number of capacitor switching times is defined as { less, normal, more }.
In this embodiment, a similarity comparison method shown in fig. 3 is redesigned by combining the ED method and the DTW method:
generally, the method for calculating the similarity of different attributes among sets can adopt:
a method for similarity comparison of Euclidean distance Euclidean (ED), wherein X and Y are two groups of sequences.
Figure BDA0001359687030000091
m is the sequence length, and the similarity comparison of X and Y is carried out by adopting an Euclidean distance calculation method:
Figure BDA0001359687030000092
after calculating the distance D (X, Y) between X and Y, when D (X, Y) < δ (δ is a given threshold), it can be determined that the two time series are similar. The method is intuitive and simple in calculation and easy to implement, but is sensitive to noise data and is difficult to process the deformation problem of the time axis. Considering the difficulty of processing Time axis deformation by Euclidean distance, the dynamic Time warping distance DTW (dynamic Time warping) can effectively solve the Time axis deformation problem, and the main idea is that two Time sequences X and Y are assumed
Figure BDA0001359687030000101
n and m are lengths thereof, and in this case, n ≠ m, or n ≠ m, and constitutes a matrix n × m matrix D. Each set of values in the matrix represents the distance between points in the time sequence, when xn,ymThe more similar there is, the closer its value is to zero; the larger the opposite value. In DTW, the corresponding relation of each point is not one-to-one, in order to find the shortest distance between sequences, a twisted path W is set, and W is equal to W1,w2,…,wk,…wKWhile max (m, n) is more than or equal to K and more than or equal to m + n +1
Figure BDA0001359687030000102
There are many paths between two time series that satisfy the constraint, but the warp path requires a minimum warp cost to be satisfied.
Figure BDA0001359687030000103
Based on the dynamic programming theory, the minimum path only needs to locally search the matrix D and presume the point (x)i,yi) On the optimal path, then point(x1,y1) To point (x)i,yi) Is also the matrix optimal solution. The optimal path may thus be from a starting point (x)1,y1) To the end point (x)n,ym) Obtained by recursive search. The DTW distance between any two points in the two sequences is defined as:
D(i,j)={d(xi,yj)2+[min{D(i-1,j-1),D(r-1,j),D(i,j-1)}]2}1/2 (6)
where d (x)i,yj) Expressing the Euclidean distance, the D (i, j) distance between two points i, j between sequences is actually (x) as can be seen from the formula1,y1) To (x)i,yj) The minimum cumulative distance between.
Because both ED and DTW have respective limitations in curve similarity comparison, the mining object in this embodiment is a daily load curve, and if only ED is used for similarity calculation, in consideration of data loss which may occur in daily operation, a large precision deviation may occur when the historical database is compared for similarity, which may have a great influence on the final correlation mining result. However, if DTW is used, although the comparison accuracy of the similarity is greatly improved, in view of the calculation efficiency, due to the characteristics of DTW calculation, when the database is mined by using data of the whole year or many years, the calculation amount is huge, which is not favorable for practical application. Therefore, the method firstly carries out weighting processing on the traditional ED method, and eliminates the influence of curve amplitude translation and expansion on time sequence similarity. The normalization method mainly uses variance and mean for normalization, assuming that the sequence X ═ X1,x2,…,xn),Y={y1,y2,…,yn) Taking sequence X as an example, the mean value of the sequence is
Figure BDA0001359687030000111
Variance is D (X) E (x)2)-(E(x))2Standardization adopting formula (7)
Figure BDA0001359687030000112
Then the original sequence X becomes X '═ X'1,x'2,…,x'n) Y is Y '═ Y'1,y'2,…,y'n) At this time, the similarity between the two sequences is calculated by using the Euclidean distance according to the following formula:
Figure BDA0001359687030000113
although normalization of sequences is beneficial to comparison of similarity between sequences, in an actual database, due to problems of channels and data maintenance, data loss at time points often occurs in the database, if only normalized ED distance is used in similarity calculation of time sequence alignment, and for some cases where time sequences are not matched due to data point loss, the result of similarity calculation may have a large deviation, and in consideration of the advantage of DTW in processing time sequence mismatch, this embodiment combines ED and DTW methods, and redesigns a similarity comparison method as shown in fig. 3, that is, in step B-2, the method includes:
b-2-1, obtaining i time interval divisions of bus load prediction, and storing data in i time intervals into a set GiPerforming the following steps;
b-2-2, reading a history library record and storing the history library record into a set D, wherein the history library specifically refers to a database for storing history data or a storage space for storing the history data, which is opened on a memory, and the history data is mainly recorded by taking the voltage, active power, reactive power, the action times of control equipment and the like of a history section as the information of the history data;
b-2-3, calculation of GiThe number of elements in the set is recorded as m _ Gi
B-2-4, obtaining the jth data set D in the time period iijAnd calculate DijNumber of middle element and is recorded as m _ Dij
B-2-5, judging m _ GiAnd m _ DijWhether or not to be equal if m _ Gi=m_DijCalculating the similarity by adopting a standardized ED (Euclidean distance) distance, otherwise, calculating the similarity by adopting a standardized DTW (Dynamic Time Warping distance) distance;
b-2-6, obtaining the similarity between the sets, if j<lj,maxJ is changed to j +1, and B-2-4 is switched, otherwise, B-2-7 is switched;
b-2-7, completing the calculation of the similarity among all the sets in the period i;
b-2-8, if i<li,maxIf i is equal to i +1, the operation is switched to B-2-3, otherwise
Transferring into B-2-9;
and B-2-9, and finishing the similarity calculation in the step B-2.
In this embodiment, a Fast Mining scheme for key parameters in reactive power optimization control is further provided, specifically, as shown in fig. 5, in the step B-4, Mining is performed by using a Fast Mining algorithm (for example, Mining is performed by using a Fast Mining algorithm based on Improved Fuzzy Association Rules (FMAIFAR));
the fast mining algorithm comprises the following steps:
step B-4-1, inputting a data set;
step B-4-2, fuzzifying the data in the data set attribute by using the selected membership function;
b-4-3, calculating the fuzzy support degree of the corresponding fuzzy partition on each item set;
step B-4-4, let k equal to 1, and get C1, L from the minimum support1
Step B-4-5, utilizing item set L1To obtain a candidate set C2(ii) a For example: from L1By property 1, the candidate set C can be quickly obtained2
Step B-4-6, when
Figure BDA0001359687030000131
If so, switching to the step B-4-7, otherwise, switching to the step B-4-9;
step B-4-7, with LkTo obtain Ck+1(ii) a For example: from LkBy property 2, C can be obtained rapidlyk+1
Step B-4-8, determining Lk+2Whether or not it is empty, if
Figure BDA0001359687030000133
Switching to the step B-4-9, otherwise, switching to the step B-4-7; for example: using Property 3 allows a fast determination of Lk+2Whether or not it is empty, if
Figure BDA0001359687030000134
Switching to the step B-4-9, otherwise, switching to the step B-4-7;
and step B-4-9, finishing the calculation.
Wherein properties 1, 2 and 3 can be understood in particular as:
although the attribute can be better fuzzified and mined by adopting a Fuzzy Association rule Mining algorithm (MAFAR), the method still adopts the idea similar to the Apriori algorithm to mine and calculate the frequent set, so that some defects of the Apriori algorithm are overcome, and especially, the method consumes more time and has lower calculation efficiency when calculating the support of the frequent set and generating the candidate set. Aiming at the two problems, the invention improves the MAFAR, provides a Fast Mining algorithm (FMAIFAR) based on Improved Fuzzy Association Rules, simplifies the calculation of Fuzzy support degree and the judgment of connection among item sets in Mining by introducing the property of a frequent set, and improves the Mining efficiency.
Properties 1: for a K-item set I, if I1 is included],I[2],...,I[K-1],I[k]Are respectively T1,T2,...,TkThen the transaction set containing I is
Figure BDA0001359687030000132
Property 1 indicates that the set of transactions containing the item set is equal to the intersection of transactions containing the item set elements. The character is introduced into fuzzy association mining, and the main idea is that the fuzzy association mining is firstly carried outFirstly, a frequent 1 item set L is calculated1And according to L1And rearranging, wherein each row comprises the item set and the object identification and the ambiguity value corresponding to the item set. In the generation of C2Then, the two term sets are analyzed by using the property 1 to obtain the intersection, and then the intersection is obtained according to L1The fuzzy support degree is calculated, so that only L is used for calculating the support degree each time1The solution is carried out without repeatedly scanning the original database, so that the calculation time is greatly saved.
Properties 2: any subset of a frequent item set must be a frequent item set. Property 2 indicates that when a join operation of a set of items is performed, whether a frequent set can be generated can be judged by the subset.
Properties 3: if L iskCan generate Lk+1Let L bekIf the number of the item sets in (1) is m, m must be present>k. Property 3 indicates whether it is judged by LkGenerating Lk+1At the time, can be directly driven by LkAnd judging the number of the item sets in the database.
To further illustrate the mining process, the operational steps of FMAIFAR are briefly described using an example of a fuzzy association table, the initial database is shown in Table 1:
TABLE 1 initial data after fuzzification
Figure BDA0001359687030000141
Firstly, selecting item sets meeting (min ═ 0.3) to obtain candidate set C1Arranged by sets of items as shown in Table 2
TABLE 2 candidate set C1
Item set Degree of support of blur Transaction list
AH {0.8,0.7,0.1,0.9,0.7,0.8} {T1,T3,T4,T5,T7,T9}
BM {0.8,0.5,0.9,0.7,0.1,0.8} {T1,T3,T5,T7,T8,T9}
CM {0.7,0.6,0.8,0.9,0.8} {T1,T5,T6,T7,T10}
DH {0.8,0.7,0.5,0.8,0.6} {T4,T5,T7,T8,T9}
EH {0.8,0.9,0.9,0.8,0.5,0.6} {T1,T3,T5,T6,T7,T9}
According to C1Solving a candidate 2-item set C2Taking calculation of the support of { AH, BM } as an example, first, a set of things including { AH, BM } is obtained, where { T1, T3, T4, T5, T7, T9}, and { T1, T3, T5, T7, T8, T9} - { T1, T3, T5, T7, T9}, and then, according to C, C is determined1Solving the minimum intersection among each item set by the fuzzy support degree of the corresponding item set to obtain sup { AH, BM } - [ 0.37 ], and calculating all 2-item sets by adopting the same method to obtain a candidate 2-item set C2And obtaining a frequent 2-item set L according to the fuzzy support degree2As shown in table 3:
TABLE 3 frequent sets L2
Item set AH,BM AH,CM AH,EH BM,CM BM,EH CM,EH
Degree of support of blur 0.37 0.30 0.35 0.30 0.33 0.31
It can be seen that through the introduction of property 1, the calculation of the support degree is simplified, and all the calculation of the support degree is only required to be carried out at C1The items are scanned collectively, and C1Compared with an initial database, the method has the advantages that a large amount of redundant information is deleted, so that the calculation speed is increased, and the effect of simplifying calculation is more obvious along with the increase of object data of the database.
In obtaining L2Then, for L2Performing join operation to obtain candidate 3-item set, and performing join operation to obtain C3Expressed as: c3{ (AH, BM, CM), (AH, BM, EH), (AH, CM, EH), (AH, BH, EH), (BM, CM, EH) }, pair C3Pruning is carried outObtaining a candidate set of 3-items C'3It is clear that concatenations are used to generate frequent 3-item sets-the concatenation and the pruning is passed and the initial database needs to be scanned, which is computationally expensive when the amount of data is large. By introducing property 2, a frequent 3-item set can be obtained quickly, and the specific method is as follows: to L2The same item set as the first item in (c) is combined, for example, the combination of { (AH, BM), (AH, CM) }, in this case, only the judgment of (BM, CM) ∈ L2If true, (AH, BM, CM) must be a frequent 3-item set, since all children are frequent item sets. Therefore, only through 3 steps of judgment, C can be obtained3And without rescanning the initial database, as long as L is scanned2And (4) finishing. Finally, by L3Generating L4In the case of (2), property 3 can be used as it is, since L3The number of the middle item sets is L3=3<4, and thus can be obtained without judgment
Figure BDA0001359687030000151
From the above analysis, it can be known that the introduction of three properties into fuzzy association mining can improve the computational efficiency, and the steps of a specific algorithm are shown in fig. 5.
The method comprises the steps of introducing short-term bus load prediction data and dividing a prediction curve according to a given peak-valley threshold value so as to obtain time-interval partitions of equipment, then carrying out similarity comparison on the load curve in the time interval and a data set in the same time interval in a database, and finally obtaining reasonable distribution times of parameters through an improved fuzzy association rapid mining algorithm, so that automatic reasonable setting of the parameters in reactive power optimization online control is realized, the working intensity of operators is reduced, and meanwhile, the effect of reactive power optimization online control is improved.
Further, in this embodiment, a reactive power optimization key parameter identification scheme based on a rule screening strategy is further provided, as shown in fig. 6, by mining a strong association rule by using an association mining method and effectively removing a redundant rule in the strong association rule by combining with the strong association rule screening strategy, automatic and accurate identification of key parameters in reactive power optimization is realized.
Specifically, in the step B-6, the rule screening is performed by using a strong association rule screening policy, which includes:
and firstly, screening the strong association rule set obtained by mining one by one according to the priority relationship among the attributes and then according to the priority relationship in the attributes, obtaining the screened strong association rule and outputting the strong association rule.
Wherein:
the priorities among the attributes include: active load (PSN) > voltage line crossing times > reactive load > voltage deviation;
the priorities within the attributes include: the method comprises the steps of making active power very dissimilar, making active power somewhat similar, making active power very similar, making reactive power very dissimilar, making reactive power somewhat similar, making bus voltage deviation larger, making bus voltage deviation certain deviation, making bus voltage deviation smaller, more threshold-crossing times, fewer threshold-not-crossing times, more gear action times, normal gear action times, fewer gear action times, more capacitor switching times, and fewer capacitor switching times.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (4)

1. A parameter analysis method for a control device in an electric power system is characterized by comprising the following steps according to the execution sequence: a data preparation stage before mining, a mining calculation and rule generation stage and a stage of obtaining a parameter setting result according to a rule;
wherein:
a the step of the pre-mining data preparation phase comprises the following steps:
a-1, acquiring a bus load prediction result required by excavation;
a-2, automatically dividing bus load prediction data and obtaining a time interval required by mining;
a-3, selecting relevant fields required by mining, and sorting data in each time period in a historical library;
b, the step of the mining calculation and rule generation phase comprises the following steps:
b-1, selecting a result of the historical library in the ith time period, and converting the attribute of the field;
b-2, calculating the similarity of different field attributes between the load prediction curve and the historical library set in the period i;
b-3, quantizing the corresponding values of the attributes by adopting a fuzzy membership function;
b-4, mining by adopting a fuzzy association rule mining method;
b-5, obtaining a strong association rule meeting the confidence coefficient and the interest degree;
step B-6, by i < li,maxJudging whether all the time periods are completely excavated, wherein i is less than li,maxIf not, all the digging is finished, then the digging is switched to C-1, i is less than li,maxIf yes, the sequence is transferred into B-1, wherein li,maxRepresents the maximum value of the current time interval, i represents the number of the divided time intervals, i is more than or equal to 1 and less than or equal to max, and max represents the maximum value of the number of the divided time intervals;
c, the step of the stage of obtaining the parameter setting result according to the rule comprises:
step C-1, performing defuzzification processing on the association rule to obtain a device time interval division and action frequency setting result;
and C-2, finishing the mining calculation.
2. The method according to claim 1, characterized in that in said step a-3: the specific fields of the relevant fields required by the selected mining are as follows: the system comprises a date field for representing the year, month and day, a field for representing the current time, a field for representing active load or reactive load, a field for representing the bus voltage value, a field for representing the gear position value of the transformer and a field for representing the switching state of the compensation equipment.
3. The method according to claim 1, wherein in the step B-1, the converted field attribute comprises: converting the bus voltage value into voltage line crossing times and voltage deviation;
converting the 'gear position value of the transformer' into 'action times of the transformer';
and converting the switching state of the compensation equipment into the action times of the compensation equipment.
4. A method according to claim 3, characterized in that in said step B-3:
adopting membership function in fuzzy mathematics to convert continuous attribute into discrete attribute, and the fuzzy language corresponding to each attribute is as follows:
active and reactive loads are defined as { very dissimilar SN, dissimilar N, somewhat similar S, more similar B, very similar HB };
the bus voltage deviation is defined as { L with small deviation, M with certain deviation and H with large deviation };
the voltage out-of-limit times are defined as { no out-of-limit, less out-of-limit times and more out-of-limit times };
the number of gear action times is defined as { less, normal and more };
the number of capacitor switching times is defined as { less, normal, more }.
CN201710611778.XA 2017-07-25 2017-07-25 Parameter analysis method for control equipment in power system Active CN107403239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710611778.XA CN107403239B (en) 2017-07-25 2017-07-25 Parameter analysis method for control equipment in power system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710611778.XA CN107403239B (en) 2017-07-25 2017-07-25 Parameter analysis method for control equipment in power system

Publications (2)

Publication Number Publication Date
CN107403239A CN107403239A (en) 2017-11-28
CN107403239B true CN107403239B (en) 2021-02-12

Family

ID=60401323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710611778.XA Active CN107403239B (en) 2017-07-25 2017-07-25 Parameter analysis method for control equipment in power system

Country Status (1)

Country Link
CN (1) CN107403239B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807508B (en) * 2019-10-31 2023-06-09 国网辽宁省电力有限公司经济技术研究院 Bus peak load prediction method considering complex weather influence
CN112800101A (en) * 2019-11-13 2021-05-14 中国信托登记有限责任公司 FP-growth algorithm based abnormal behavior detection method and model applying same
CN111784537B (en) * 2020-06-30 2023-08-01 国网信息通信产业集团有限公司 Power distribution network state parameter monitoring method and device and electronic equipment
CN111880499B (en) * 2020-07-16 2022-02-22 国电黄金埠发电有限公司 Online optimization system and method for operating parameters of thermal power plant
CN113901349B (en) * 2021-12-06 2022-03-29 北京融信数联科技有限公司 Strong relation analysis method, system and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615882A (en) * 2009-07-17 2009-12-30 河海大学 A kind of real-time closed-loop automatic control method for power transformer
CN102761128A (en) * 2011-04-25 2012-10-31 河海大学 On-line coordinated automatic control method for economical operation and reactive power optimization of transformer
CN103559655A (en) * 2013-11-15 2014-02-05 哈尔滨工业大学 Microgrid novel feeder load prediction method based on data mining
CN104978484A (en) * 2015-06-11 2015-10-14 西安电子科技大学 Fuzzy forecasting model based method for detecting pulp concentration in ore grinding process of dressing plant
CN105426988A (en) * 2015-11-05 2016-03-23 国网福建省电力有限公司 Spacial load prediction method based on fuzzy rule
CN105590167A (en) * 2015-12-18 2016-05-18 华北电力科学研究院有限责任公司 Method and device for analyzing electric field multivariate operating data
CN106099964A (en) * 2016-06-16 2016-11-09 南京工程学院 A kind of energy-storage system participates in active distribution network runing adjustment computational methods
CN106786615A (en) * 2017-01-03 2017-05-31 国家电网公司 A kind of transformer action number of times smart allocation method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7687937B2 (en) * 2005-03-18 2010-03-30 Wisconsin Alumni Research Foundation Control of small distributed energy resources
US20150017591A1 (en) * 2013-07-02 2015-01-15 General Electric Company Systems and methods for advanced closed loop control and improvement of combustion system operation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615882A (en) * 2009-07-17 2009-12-30 河海大学 A kind of real-time closed-loop automatic control method for power transformer
CN102761128A (en) * 2011-04-25 2012-10-31 河海大学 On-line coordinated automatic control method for economical operation and reactive power optimization of transformer
CN103559655A (en) * 2013-11-15 2014-02-05 哈尔滨工业大学 Microgrid novel feeder load prediction method based on data mining
CN104978484A (en) * 2015-06-11 2015-10-14 西安电子科技大学 Fuzzy forecasting model based method for detecting pulp concentration in ore grinding process of dressing plant
CN105426988A (en) * 2015-11-05 2016-03-23 国网福建省电力有限公司 Spacial load prediction method based on fuzzy rule
CN105590167A (en) * 2015-12-18 2016-05-18 华北电力科学研究院有限责任公司 Method and device for analyzing electric field multivariate operating data
CN106099964A (en) * 2016-06-16 2016-11-09 南京工程学院 A kind of energy-storage system participates in active distribution network runing adjustment computational methods
CN106786615A (en) * 2017-01-03 2017-05-31 国家电网公司 A kind of transformer action number of times smart allocation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
电力系统时变无功优化算法;沈茂亚 等;《电力系统及其自动化学报》;20070831;第19卷(第4期);第84-87,92页 *
计及分布式电源与电容器协调的配电网日前无功计划;谭煌 等;《电网技术》;20140930;第38卷(第9期);第2590-2597页 *

Also Published As

Publication number Publication date
CN107403239A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN107403239B (en) Parameter analysis method for control equipment in power system
US20220076150A1 (en) Method, apparatus and system for estimating causality among observed variables
Sahami Learning Limited Dependence Bayesian Classifiers.
CN108985380B (en) Point switch fault identification method based on cluster integration
CN110276966B (en) Intersection signal control time interval dividing method
CN109062763A (en) One kind dynamic realtime from SVN log event stream excavates the movable method of software process
Matuszny Building decision trees based on production knowledge as support in decision-making process
Xingrong Research on time series data mining algorithm based on Bayesian node incremental decision tree
CN107404120B (en) Equipment action frequency mining method in reactive power optimization online control
CN115271161A (en) Short-term prediction method for multi-energy load
CN114169645A (en) Short-term load prediction method for smart power grid
CN104182489A (en) Query processing method for text big data
Lu et al. Decision tree algorithm in machine learning
Kim et al. Knowledge extraction and representation using quantum mechanics and intelligent models
CN102141988B (en) Method, system and device for clustering data in data mining system
CN113297805A (en) Wind power climbing event indirect prediction method
US20150134306A1 (en) Creating understandable models for numerous modeling tasks
CN107302222B (en) Reactive power optimization equipment action frequency analysis method based on rough set
Jie et al. Incremental learning algorithm of data complexity based on KNN classifier
CN115310355A (en) Multi-energy coupling-considered multi-load prediction method and system for comprehensive energy system
CN115358473A (en) Power load prediction method and prediction system based on deep learning
Chen et al. A DNN optimization framework with unlabeled data for efficient and accurate reconfigurable hardware inference
CN104239430A (en) Item weight change based method and system for mining education data association rules
Yu et al. Analysis and Application of the Spatio-Temporal Feature in Wind Power Prediction.
Bouyer et al. A new hybrid model using case-based reasoning and decision tree methods for improving speedup and accuracy

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant