Intelligent review system and method for power grid design quality based on big data
Through the intelligent review system of power grid design quality based on big data, the SVM model and current loss assessment are used to solve the problems of subjectivity and high cost in power grid design quality review, and achieve more objective and efficient review results.
Patent Information
- Application Number
- CN202410703891.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-03
AI Technical Summary
The existing power grid design quality review relies on human review, which is susceptible to the subjective influence and limitations of professional knowledge of reviewers, resulting in review results that are not objective enough and are time-consuming and costly.
An intelligent review system for power grid design quality based on big data is adopted to achieve an objective and accurate review of power grid design quality by constructing a factor set, a scoring matrix and a weight set that influence power grid design quality, using the SVM model for data classification, and combined with current loss assessment. .
It improves the objectivity and accuracy of power grid design quality review, reduces review costs, enhances review efficiency and quality, and provides comprehensive evaluation standards.
Smart Images

Figure CN118297482B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of power grid design quality review, and in particular, relates to a power grid design quality intelligent review system and method based on big data. Background Art
[0002] The quality of power grid design refers to the determination of the structure, parameters, selection of materials and equipment, engineering implementation plan, etc. of the power grid under the conditions of known load demand, power supply equipment and cable lines through reasonable technical and economic analysis, in order to ensure the performance and reliability of the power grid. Specifically, the quality of power grid design should have the following elements: stability and reliability, safety and maintainability, economy, environmental protection, sustainability and scalability. In short, the quality of power grid design is an important guarantee for ensuring the performance and reliability of the power grid. It is necessary to comprehensively consider various factors such as operating environment, load demand, technical standards, economic benefits, environmental protection and future sustainability, and finally achieve optimized power grid structure and parameters.
[0003] Chinese patent CN106611385A discloses an intelligent evaluation method for distribution network engineering cost, including research on engineering design parameter system library and analysis model; standardization of equipment selection and material price control; using information technology to assist technical and economic experts to quickly, accurately and intelligently evaluate engineering design and cost rationality; supported by information systems, gradually building an evaluation business data warehouse to provide strong data support and basis for rapid and accurate decision-making; the beneficial effects of the invention are: it can assist evaluation experts to quickly, accurately and intelligently evaluate the rationality of engineering cost; innovate the evaluation method and improve the evaluation efficiency. Solve the problems of unified design evaluation metric standards and large workload of various professional evaluations, greatly improve the efficiency and quality of distribution network engineering design evaluation, and efficiently and accurately guide the improvement of distribution network engineering design plans and investment control.
[0004] The existing review of power grid design quality is generally conducted manually by reviewers. However, such reviews are often affected by the reviewers' subjective views and experience, which may lead to objective review results. In addition, since reviewers' knowledge in professional fields is often limited, if reviewers are not familiar with certain aspects, they may ignore or misjudge important details. Secondly, the review takes time and money, especially if external experts need to be hired to participate in the review, the cost may be very high. Summary of the invention
[0005] In view of the problems in the related technologies, the present invention proposes a power grid design quality intelligent review system and method based on big data to overcome the above-mentioned technical problems existing in the existing related technologies.
[0006] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:
[0007] The present invention is a method for intelligent review of power grid design quality based on big data, comprising the following steps:
[0008] S1. Construct a set of influencing factors of power grid design quality; score each influencing factor in the set of influencing factors of power grid design quality to obtain a scoring matrix of influencing factors of power grid design quality; calculate an average scoring set of influencing factors of power grid design quality according to the scoring matrix of influencing factors of power grid design quality; calculate a weight set of influencing factors of power grid design quality according to the average scoring set of influencing factors of power grid design quality;
[0009] S2, setting a grid training sample set to be collected and a grid test sample set to be collected and collecting data to obtain a final training data matrix of grid influencing factors, a final test data matrix of grid influencing factors, a grid training sample label set and a grid test sample label set; then constructing an initial SVM model, training, testing and optimizing the initial SVM model to obtain a final SVM model;
[0010] S3, collecting the corresponding influencing factor data of the power grid to be reviewed, calculating the final data set of the influencing factors of the power grid design quality itself; using the final SVM model to classify the final data set of the influencing factors of the power grid design quality itself; setting a first power grid design quality level set; determining the first power grid design quality level to be reviewed according to the classification result;
[0011] S4, setting a grid current collection point set; measuring current data at each current collection point in the grid current collection point set to obtain a current loss data set; then setting a current loss threshold set; setting a first grid design quality determination rule; and obtaining a second grid design quality level to be reviewed according to the first grid design quality determination rule;
[0012] S5. Determine the final grid design quality level according to the first grid design quality level to be reviewed and the second grid design quality level to be reviewed;
[0013] The factors affecting the quality of power grid design include, for example, design concept, preliminary work of project design, coordination with other projects, application of standardized construction results, design technology innovation, application of advanced design software and hardware, project design cycle, entrustment and management mode of design business, management of internal design professionals, design investment, coordination mechanism for social issues, drawing review, technical standard execution ability of main design personnel, management level of design unit, work coordination of other participants, post-design handover service, project construction environment conditions and working atmosphere, etc. By considering the above-mentioned influencing factors, we can have a comprehensive evaluation direction for the quality of power grid design, and also provide a basis for the subsequent collection of relevant data of the power grid; according to the above-mentioned influencing factors Corresponding data are collected, which can more comprehensively reflect various indicators of the power grid, and then an initial SVM model is constructed. The initial SVM model is trained and tested using these data to obtain a final SVM model; the final SVM model has a good ability to accurately classify these data, and the final SVM model is used to classify the above data of the power grid to be reviewed, so as to obtain the category of the power grid to be reviewed, and the design quality level of the power grid to be reviewed can be determined according to the category; in addition, the present invention also provides current consumption testing and calculation for each network segment in the power grid, and once again evaluates the design quality level of the power grid to be reviewed from the aspect of current consumption, so that the evaluation standard is more comprehensive and complete.
[0014] Preferably, the S1 comprises the following steps:
[0015] S11. Constructing a set of influencing factors of power grid design quality , Indicates that the factors affecting the quality of power grid design are concentrated in the first Influencing factors, It indicates the total number of factors that influence the power grid design quality itself;
[0016] S12. A set of factors influencing the design quality of the power grid Score each influencing factor in the grid design quality influencing factor scoring matrix ,as follows,
[0017] ;
[0018] in, Represents the set of factors affecting the quality of power grid design itself Middle The influencing factor Scoring data, Shows the total number of scores obtained by scoring the influencing factors of a single power grid design quality;
[0019] S13, scoring matrix based on the factors affecting the power grid design quality The average score set of factors affecting power grid design quality is calculated , Represents the set of influencing factors of power grid design quality Middle The average score of the influencing factors; The calculation formula is as follows,
[0020] ;
[0021] S14, according to the average scoring set of the power grid design quality influencing factors Calculate the weight set of factors affecting power grid design quality , Represents the set of influencing factors of power grid design quality Middle The weight of each influencing factor; The calculation formula is as follows, ;
[0022] By constructing a set of influencing factors of power grid design quality, a scoring matrix of influencing factors of power grid design quality, and a weight set of influencing factors of power grid design quality, the importance of these influencing factors is quantified, thereby providing a basis for the subsequent classification and processing of the data corresponding to these influencing factors, making the classification results more accurate.
[0023] Preferably, S2 comprises the following steps:
[0024] S21. Setting the power grid training sample set to be collected , Represents the power grid training sample set to be collected Middle Power grid training samples, represents the total number of power grid training samples in the power grid training sample set to be collected; according to the power grid design quality influencing factor set And the power grid training sample set to be collected Collect the corresponding power grid influencing factor data to obtain the original training data matrix of power grid influencing factors ;as follows,
[0025] ;
[0026] in, Represents the power grid training sample set to be collected Middle The first of the power grid training samples Influencing factors training data;
[0027] Set the power grid test sample set to be collected , Indicates the power grid test sample set to be collected Middle A grid test sample, represents the total number of power grid test samples in the power grid test sample set to be collected; according to the power grid design quality influencing factor set And the power grid test sample set to be collected Collect the corresponding grid influencing factor data and obtain the original test data matrix of grid influencing factors ;as follows,
[0028] ;
[0029] in, Indicates the power grid test sample set to be collected Middle The first of the power grid test samples Test data of influencing factors;
[0030] S22, based on the power grid training sample set to be collected Set the corresponding power grid sample design quality level category label to obtain the power grid training sample label set , Represents the power grid training sample set to be collected Middle The labels of the power grid training samples;
[0031] Then according to the power grid test sample set to be collected Set the corresponding power grid sample design quality level category label to obtain the power grid test sample label set , Indicates the power grid test sample set to be collected Middle Labels of power grid test samples;
[0032] S23, based on the original training data matrix of the power grid influencing factors And the weight set of factors affecting power grid design quality Calculate the final training data matrix of power grid influencing factors ,as follows,
[0033] ;
[0034] in, Indicates based on And the weight set of factors affecting power grid design quality After calculation The first of the power grid training samples The final training data of influencing factors; ;
[0035] Then according to the original test data matrix of the power grid influencing factors And the weight set of factors affecting power grid design quality Calculate the final test data matrix of power grid influencing factors ,as follows,
[0036] ;
[0037] in, Indicates based on And the weight set of factors affecting power grid design quality After calculation The first of the power grid training samples Final test data of influencing factors; ;
[0038] S24, constructing an initial SVM model, wherein the kernel function used in the initial SVM model is the RBF function, and the formula of the RBF function is as follows:
[0039] ;
[0040] In the formula, represents RBF function; and Respectively represent the original training data matrix of the power grid influencing factors Any two different data in; represents a hyperparameter;
[0041] S25, set the training error threshold to ; The final training data matrix of the power grid influencing factors And the power grid training sample label set Input to the initial SVM model for training. When the training error value is less than When , stop training and get the trained SVM model;
[0042] S26. Set the test accuracy threshold ; The final test data matrix of the power grid influencing factors Input into the trained SVM model for classification to obtain the first classification result set ;
[0043] The first classification result set With the grid test sample label set Compare and calculate between them to get the test accuracy ;
[0044] when , taking the trained SVM model as the final SVM model;
[0045] S27, when , optimizing the trained SVM model to obtain an optimized SVM model, and then using the optimized SVM model as the final SVM model;
[0046] By setting the power grid training sample set to be collected, the original training data matrix of power grid influencing factors, the power grid test sample set to be collected, the original test data matrix of power grid influencing factors, the power grid training sample label set, the power grid test sample label set, the final training data matrix of power grid influencing factors and the final test data matrix of power grid influencing factors, data support is provided for the subsequent training, testing and optimization process of the initial SVM model, so that an SVM model with better classification effect can be obtained.
[0047] Preferably, the S27 comprises the following steps:
[0048] S271, construct an initial chaotic monkey group, and set the size of the initial chaotic monkey group to , the initial chaotic monkey group is expressed as , represents the first monkeys; set the maximum number of iterations to , the climbing step length is , the climb count is , the field of view value is , the number of views is ;
[0049] S272, setting the RBF function of the trained SVM model The value range is And the penalty coefficient in the trained SVM model The value range is ;
[0050] S273, setting the initial position of each monkey in the initial chaotic monkey group, and obtaining the monkey group initial position set ; represents the number of the initial chaotic monkey group The initial position of the monkeys, , and They represent the first The two dimensions of the monkey's initial position;
[0051] S274, setting the objective function of the initial chaotic monkey group , the function expression is as follows,
[0052] ;
[0053] In the formula, Indicates the offset;
[0054] S275, start iteration, set the current population cycle times to ; According to the initial position set of the monkey group , climbing step length , Climbing value , Field of view value And the number of views Performing crawling, looking and jumping actions on each monkey in the initial chaotic monkey group;
[0055] when When , stop the iteration and output the optimal hyperparameter value And the optimal penalty coefficient value ;
[0056] S276, the optimal hyperparameter value And the optimal penalty coefficient value Substitute into the trained SVM model to obtain the optimized SVM model;
[0057] S277, using the optimized SVM model as the final SVM model;
[0058] By using the chaotic monkey swarm algorithm to tune the relevant parameters in the trained SVM model, the test results of the trained SVM model on the data in the final test data matrix of the power grid influencing factors are made more accurate, the classification effect of the SVM model is improved, and the subsequent judgment of the power grid design quality is made more accurate.
[0059] Preferably, the S273 comprises the following steps:
[0060] S2731, random generation using chaos algorithm In A random number in a range is obtained to obtain a first random number set, and each random number in the first random number set is used as the first dimension value of the initial position of each monkey in the initial chaotic monkey group;
[0061] S2732, then use the chaos algorithm to randomly generate In A random number in the range is obtained to obtain a second random number set, and each random number in the second random number set is used as the second dimension value of the initial position of each monkey in the initial chaotic monkey group;
[0062] S2733, according to S2731 and S2732, the initial position set of the monkey group is obtained ;
[0063] The chaotic algorithm is used to initialize the positions of the monkeys in the chaotic monkey swarm algorithm, which enhances the diversity of the monkey swarm, improves the global search capability of the algorithm, and makes the optimization of the SVM model parameters faster.
[0064] Preferably, S3 comprises the following steps:
[0065] S31, according to the power grid design quality influencing factors set Collect the corresponding influencing factor data of the power grid to be reviewed, and obtain the original data set of influencing factors of the power grid design quality itself ; Indicates that the factors affecting the quality of power grid design are concentrated in the first The influencing factor data corresponding to each influencing factor;
[0066] S32, based on the original data set of the influencing factors of the power grid design quality itself And the weight set of factors affecting power grid design quality Calculate the final data set of factors affecting the quality of power grid design ;
[0067] S33, using the final SVM model to analyze the final data set of factors affecting the quality of power grid design Perform classification to obtain the second classification result;
[0068] S34, training sample label set according to the power grid And the power grid test sample label set Set the first grid design quality level set ;
[0069] S35, according to the second classification result and the first power grid design quality level set Obtained the first grid design quality grade to be reviewed ; , , , and They are the first level of grid design quality, the second level of grid design quality, the third level of grid design quality, the fourth level of grid design quality and the fifth level of grid design quality; ;
[0070] The final SVM model is used to classify the influencing factor data of the power grid to be reviewed, and the second classification result is obtained, which provides a basis for the subsequent determination of the design quality level of the power grid to be reviewed.
[0071] Preferably, S4 comprises the following steps:
[0072] S41, set the grid current collection point set , Indicates the power grid Current collection points, Indicates the total number of current collection points on the power grid;
[0073] S42, using an ammeter to measure the current collection point set of the power grid The current data at each current collection point in the grid is obtained to obtain the grid current data set ;
[0074] According to the grid current data set Get the current consumption data set ; Indicates the grid current collection point concentration The current at the current collection point is The difference between the currents at the current collection points, ;
[0075] S43, set the current consumption threshold value set , , , and They are respectively a first current loss threshold, a second current loss threshold, a third current loss threshold and a fourth current loss threshold;
[0076] S44, take ; Set the first grid design quality judgment rule as follows,
[0077] when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;
[0078] The second power grid design quality grade to be reviewed is obtained according to the first power grid design quality determination rule ;
[0079] By setting the grid current collection point set, the current test location on the grid to be reviewed can be determined, so that the grid design quality can be judged again in terms of current loss, making the judgment result more comprehensive and accurate.
[0080] Preferably, the specific process of S5 is as follows:
[0081] Set according to , , , and In order of level, the quality of power grid design decreases; when The level number is less than or equal to When the number of levels is As the final grid design quality level of the grid to be reviewed;
[0082] when The level number is greater than When the number of levels is As the final grid design quality level of the grid to be reviewed;
[0083] By comparing the first grid design quality level to be reviewed with the second grid design quality level to be reviewed, the final grid design quality level is obtained, so that the final grid design quality level is more accurate.
[0084] A power grid design quality intelligent review system based on big data, comprising a power grid influencing factor weight calculation module, a power grid influencing factor training data acquisition module, a power grid influencing factor test data acquisition module, a final SVM model construction module, a power grid influencing factor data acquisition module to be reviewed, a first power grid design quality grade determination module, a current loss data acquisition module, a second power grid design quality grade determination module and a final power grid design quality grade determination module;
[0085] The power grid influencing factor weight calculation module is used to score each influencing factor in the power grid design quality influencing factor set to obtain a power grid design quality influencing factor weight set;
[0086] The power grid influencing factor training data acquisition module is used to collect data according to the power grid training sample set to be collected;
[0087] The power grid influencing factor test data acquisition module is used to collect data according to the power grid test sample set to be collected;
[0088] The final SVM model construction module is used to construct an initial SVM model, train, test and optimize the initial SVM model to obtain a final SVM model;
[0089] The influencing factor data collection module of the power grid to be reviewed is used to collect the corresponding influencing factor data of the power grid to be reviewed;
[0090] The first power grid design quality level determination module is used to determine the first power grid design quality level to be reviewed according to the classification result;
[0091] The current loss data acquisition module is used to measure the current data at each current collection point in the power grid current collection point set;
[0092] The second power grid design quality level determination module is used to obtain a second power grid design quality level to be reviewed according to the first power grid design quality determination rule;
[0093] The final power grid design quality level determination module is used to determine the final power grid design quality level according to the first power grid design quality level to be reviewed and the second power grid design quality level to be reviewed.
[0094] The present invention has the following beneficial effects:
[0095] 1. In the present invention, a power grid influencing factor weight calculation module, a power grid influencing factor training data acquisition module, a power grid influencing factor test data acquisition module, a final SVM model construction module, a power grid influencing factor data acquisition module to be reviewed, a first power grid design quality grade determination module, a current loss data acquisition module, a second power grid design quality grade determination module and a final power grid design quality grade determination module are set; by considering a variety of influencing factors, a comprehensive evaluation direction for the power grid design quality can be obtained, and a basis is provided for the subsequent collection of relevant data of the power grid; corresponding data are collected according to the above-mentioned influencing factors, and these data can more comprehensively reflect various indicators of the power grid, The initial SVM model is reconstructed, and the initial SVM model is trained and tested using these data to obtain a final SVM model; the final SVM model is made to have a good ability to accurately classify these data, and the final SVM model is then used to classify the above data of the power grid to be reviewed, so that the category of the power grid to be reviewed can be obtained, and the design quality level of the power grid to be reviewed can be judged according to the category; in addition, the present invention also provides current consumption testing and calculation for each network segment in the power grid, and the design quality level of the power grid to be reviewed is once again evaluated from the aspect of current consumption, so that the evaluation standard is more comprehensive and complete, and the evaluation of the design quality of the power grid is fully objective.
[0096] 2. In the present invention, by constructing a set of influencing factors of power grid design quality itself, a scoring matrix of power grid design quality influencing factors and a weight set of power grid design quality influencing factors, the importance of these influencing factors is quantified, thereby providing a basis for subsequent classification and processing of the data corresponding to these influencing factors, making the classification result more accurate, and then setting a power grid training sample set to be collected, an original training data matrix of power grid influencing factors, a power grid test sample set to be collected, an original test data matrix of power grid influencing factors, a power grid training sample label set, a power grid test sample label set, a final training data matrix of power grid influencing factors and a final test data matrix of power grid influencing factors, data support is provided for the subsequent training, testing and optimization process of the initial SVM model, thereby obtaining an SVM model with better classification effect.
[0097] 3. In the present invention, the chaotic monkey swarm algorithm is used to tune the relevant parameters in the trained SVM model, so that the test results of the trained SVM model on the data in the final test data matrix of the power grid influencing factors are more accurate, the classification effect of the SVM model is improved, and the subsequent judgment of the power grid design quality is more accurate; wherein, the chaotic algorithm is used to initialize the positions of the monkeys in the chaotic monkey swarm algorithm, which enhances the diversity of the monkey swarm, improves the global search capability of the algorithm, and makes the optimization speed of the SVM model parameters faster.
[0098] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0099] In order to more clearly illustrate the technical solutions of the embodiments of the invention, the drawings required for describing the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the invention. For ordinary technicians in this field, they can also obtain drawings based on these drawings without paying creative work.
[0100] Figure 1 The present invention is a flowchart of the intelligent power grid design quality review system based on big data for reviewing power grid design quality. DETAILED DESCRIPTION
[0101] The following will be combined with the drawings in the embodiments of the invention to clearly and completely describe the technical solutions in the embodiments of the invention. Obviously, the described embodiments are only part of the embodiments of the invention, not all of the embodiments. Based on the embodiments in the invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the invention.
[0102] In the description of the present invention, it is necessary to understand that the terms "opening", "upper", "lower", "top", "middle", "inside" and the like indicating orientation or positional relationship are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the components or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the invention.
[0103] The present invention is a method for intelligent review of power grid design quality based on big data, comprising the following steps:
[0104] S1. Construct a set of influencing factors of power grid design quality; score each influencing factor in the set of influencing factors of power grid design quality to obtain a scoring matrix of influencing factors of power grid design quality; calculate an average scoring set of influencing factors of power grid design quality according to the scoring matrix of influencing factors of power grid design quality; calculate a weight set of influencing factors of power grid design quality according to the average scoring set of influencing factors of power grid design quality;
[0105] The S1 comprises the following steps:
[0106] S11. Constructing a set of influencing factors of power grid design quality , Indicates that the factors affecting the quality of power grid design are concentrated in the first Influencing factors, It indicates the total number of factors that influence the power grid design quality itself;
[0107] S12. A set of factors influencing the design quality of the power grid Score each influencing factor in the grid design quality influencing factor scoring matrix ,as follows,
[0108] ;
[0109] in, Represents the set of factors affecting the quality of power grid design itself Middle The influencing factor Scoring data; It indicates the total number of scores obtained by scoring the influencing factors of a single power grid design quality;
[0110] S13, scoring matrix based on the factors affecting the power grid design quality The average score set of factors affecting power grid design quality is calculated , Represents the set of influencing factors of power grid design quality Middle The average score of the influencing factors; The calculation formula is as follows,
[0111] ;
[0112] S14, according to the average scoring set of the power grid design quality influencing factors Calculate the weight set of factors affecting power grid design quality , Represents the set of influencing factors of power grid design quality Middle The weight of each influencing factor; The calculation formula is as follows,
[0113] ;
[0114] S2, setting a grid training sample set to be collected and a grid test sample set to be collected and collecting data to obtain a final training data matrix of grid influencing factors, a final test data matrix of grid influencing factors, a grid training sample label set and a grid test sample label set; then constructing an initial SVM model, training, testing and optimizing the initial SVM model to obtain a final SVM model;
[0115] The S2 comprises the following steps:
[0116] S21. Setting the power grid training sample set to be collected , Represents the power grid training sample set to be collected Middle Power grid training samples, represents the total number of power grid training samples in the power grid training sample set to be collected; according to the power grid design quality influencing factor set And the power grid training sample set to be collected Collect the corresponding power grid influencing factor data to obtain the original training data matrix of power grid influencing factors ;as follows,
[0117] ;
[0118] in, Represents the power grid training sample set to be collected Middle The first of the power grid training samples Influencing factors training data;
[0119] Set the power grid test sample set to be collected , Indicates the power grid test sample set to be collected Middle A grid test sample, represents the total number of power grid test samples in the power grid test sample set to be collected; according to the power grid design quality influencing factor set And the power grid test sample set to be collected Collect the corresponding grid influencing factor data and obtain the original test data matrix of grid influencing factors ;as follows,
[0120] ;
[0121] in, Indicates the power grid test sample set to be collected Middle The first of the power grid test samples Test data of influencing factors;
[0122] S22, based on the power grid training sample set to be collected Set the corresponding power grid sample design quality level category label to obtain the power grid training sample label set , Represents the power grid training sample set to be collected Middle The labels of the power grid training samples;
[0123] Then according to the power grid test sample set to be collected Set the corresponding power grid sample design quality level category label to obtain the power grid test sample label set , Indicates the power grid test sample set to be collected Middle Labels of power grid test samples;
[0124] S23, based on the original training data matrix of the power grid influencing factors And the weight set of factors affecting power grid design quality Calculate the final training data matrix of power grid influencing factors ,as follows,
[0125] ;
[0126] in, Indicates based on And the weight set of factors affecting power grid design quality After calculation The first of the power grid training samples The final training data of influencing factors; ;
[0127] Then according to the original test data matrix of the power grid influencing factors And the weight set of factors affecting power grid design quality Calculate the final test data matrix of power grid influencing factors ,as follows,
[0128] ;
[0129] in, Indicates based on And the weight set of factors affecting power grid design quality After calculation The first of the power grid training samples Final test data of influencing factors; ;
[0130] S24, constructing an initial SVM model, wherein the kernel function used in the initial SVM model is the RBF function, and the formula of the RBF function is as follows:
[0131] ;
[0132] In the formula, represents RBF function; and Respectively represent the original training data matrix of the power grid influencing factors Any two different data in; represents a hyperparameter;
[0133] S25, set the training error threshold to ; The final training data matrix of the power grid influencing factors And the power grid training sample label set Input to the initial SVM model for training. When the training error value is less than When , stop training and get the trained SVM model;
[0134] S26. Set the test accuracy threshold ; The final test data matrix of the power grid influencing factors Input into the trained SVM model for classification to obtain the first classification result set ;
[0135] The first classification result set With the grid test sample label set Compare and calculate between them to get the test accuracy ;
[0136] when , taking the trained SVM model as the final SVM model;
[0137] S27, when , optimizing the trained SVM model to obtain an optimized SVM model, and then using the optimized SVM model as the final SVM model;
[0138] The S27 comprises the following steps:
[0139] S271, construct an initial chaotic monkey group, and set the size of the initial chaotic monkey group to , the initial chaotic monkey group is expressed as , represents the first monkeys; set the maximum number of iterations to , the climbing step length is , the climb count is , the field of view value is , the number of views is ;
[0140] S272, setting the RBF function of the trained SVM model The value range is And the penalty coefficient in the trained SVM model The value range is ;
[0141] S273, setting the initial position of each monkey in the initial chaotic monkey group, and obtaining the monkey group initial position set ; represents the number of the initial chaotic monkey group The initial position of the monkeys, , and They represent the first The two dimensions of the monkey's initial position;
[0142] The S273 comprises the following steps:
[0143] S2731, random generation using chaos algorithm In A random number in a range is obtained to obtain a first random number set, and each random number in the first random number set is used as the first dimension value of the initial position of each monkey in the initial chaotic monkey group;
[0144] S2732, then use the chaos algorithm to randomly generate In A random number in the range is obtained to obtain a second random number set, and each random number in the second random number set is used as the second dimension value of the initial position of each monkey in the initial chaotic monkey group;
[0145] S2733, according to S2731 and S2732, the initial position set of the monkey group is obtained ;
[0146] S274, setting the objective function of the initial chaotic monkey group , the function expression is as follows,
[0147] ;
[0148] In the formula, Indicates the offset;
[0149] S275, start iteration, set the current population cycle times to ; According to the initial position set of the monkey group , climbing step length , Climbing value , Field of view value And the number of views Performing crawling, looking and jumping actions on each monkey in the initial chaotic monkey group;
[0150] when When , stop the iteration and output the optimal hyperparameter value And the optimal penalty coefficient value ;
[0151] S276, the optimal hyperparameter value And the optimal penalty coefficient value Substitute into the trained SVM model to obtain the optimized SVM model;
[0152] S277, using the optimized SVM model as the final SVM model;
[0153] S3, collecting the corresponding influencing factor data of the power grid to be reviewed, calculating the final data set of the influencing factors of the power grid design quality itself; using the final SVM model to classify the final data set of the influencing factors of the power grid design quality itself; setting a first power grid design quality level set; determining the first power grid design quality level to be reviewed according to the classification result;
[0154] The S3 comprises the following steps:
[0155] S31, according to the power grid design quality influencing factors set Collect the corresponding influencing factor data of the power grid to be reviewed, and obtain the original data set of influencing factors of the power grid design quality itself ; Indicates that the factors affecting the quality of power grid design are concentrated in the first The influencing factor data corresponding to each influencing factor;
[0156] S32, based on the original data set of the influencing factors of the power grid design quality itself And the weight set of factors affecting power grid design quality Calculate the final data set of factors affecting the quality of power grid design ;
[0157] S33, using the final SVM model to analyze the final data set of factors affecting the quality of power grid design Perform classification to obtain the second classification result;
[0158] S34, training sample label set according to the power grid And the power grid test sample label set Set the first grid design quality level set ;
[0159] S35, according to the second classification result and the first power grid design quality level set Obtained the first grid design quality grade to be reviewed ; , , , and They are the first level of grid design quality, the second level of grid design quality, the third level of grid design quality, the fourth level of grid design quality and the fifth level of grid design quality; ;
[0160] S4, setting a grid current collection point set; measuring current data at each current collection point in the grid current collection point set to obtain a current loss data set; then setting a current loss threshold set; setting a first grid design quality determination rule; and obtaining a second grid design quality level to be reviewed according to the first grid design quality determination rule;
[0161] The S4 comprises the following steps:
[0162] S41, set the grid current collection point set , Indicates the power grid Current collection points, Indicates the total number of current collection points on the power grid;
[0163] S42, using an ammeter to measure the current collection point set of the power grid The current data at each current collection point in the grid is obtained to obtain the grid current data set ;
[0164] According to the grid current data set Get the current consumption data set ; Indicates the grid current collection point concentration The current at the current collection point is The difference between the currents at the current collection points, ;
[0165] S43, set the current consumption threshold value set , , , and They are respectively a first current loss threshold, a second current loss threshold, a third current loss threshold and a fourth current loss threshold;
[0166] S44, take ; Set the first grid design quality judgment rule as follows,
[0167] when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;
[0168] The second power grid design quality grade to be reviewed is obtained according to the first power grid design quality determination rule ;
[0169] S5. Determine the final grid design quality level according to the first grid design quality level to be reviewed and the second grid design quality level to be reviewed;
[0170] The specific process of S5 is as follows:
[0171] Set according to , , , and In order of level, the quality of power grid design decreases; when The level number is less than or equal to When the number of levels is As the final grid design quality level of the grid to be reviewed;
[0172] when The level number is greater than When the number of levels is As the final grid design quality level of the grid to be reviewed.
[0173] A power grid design quality intelligent review system based on big data, comprising a power grid influencing factor weight calculation module, a power grid influencing factor training data acquisition module, a power grid influencing factor test data acquisition module, a final SVM model construction module, a power grid influencing factor data acquisition module to be reviewed, a first power grid design quality grade determination module, a current loss data acquisition module, a second power grid design quality grade determination module and a final power grid design quality grade determination module;
[0174] The power grid influencing factor weight calculation module is used to score each influencing factor in the power grid design quality influencing factor set to obtain a power grid design quality influencing factor weight set;
[0175] The power grid influencing factor training data acquisition module is used to collect data according to the power grid training sample set to be collected;
[0176] The power grid influencing factor test data acquisition module is used to collect data according to the power grid test sample set to be collected;
[0177] The final SVM model construction module is used to construct an initial SVM model, train, test and optimize the initial SVM model to obtain a final SVM model;
[0178] The influencing factor data collection module of the power grid to be reviewed is used to collect the corresponding influencing factor data of the power grid to be reviewed;
[0179] The first power grid design quality level determination module is used to determine the first power grid design quality level to be reviewed according to the classification result;
[0180] The current loss data acquisition module is used to measure the current data at each current collection point in the power grid current collection point set;
[0181] The second power grid design quality level determination module is used to obtain a second power grid design quality level to be reviewed according to the first power grid design quality determination rule;
[0182] The final power grid design quality level determination module is used to determine the final power grid design quality level according to the first power grid design quality level to be reviewed and the second power grid design quality level to be reviewed.
[0183] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0184] The preferred embodiments of the invention disclosed above are only used to help explain the invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the invention, so that those skilled in the art can understand and use the invention well.
Claims
1. Intelligent review method of power grid design quality based on big data, It is characterized in that The following steps are involved: S1. Construct a set of influencing factors of power grid design quality; score each influencing factor in the set of influencing factors of power grid design quality to obtain a scoring matrix of influencing factors of power grid design quality; Obtain an average scoring set of power grid design quality influencing factors according to the power grid design quality influencing factor scoring matrix; A weight set of power grid design quality influencing factors is calculated based on the average scoring set of power grid design quality influencing factors; S2, setting a grid training sample set to be collected and a grid test sample set to be collected and collecting data to obtain a final training data matrix of grid influencing factors, a final test data matrix of grid influencing factors, a grid training sample label set and a grid test sample label set; then constructing an initial SVM model, training, testing and optimizing the initial SVM model to obtain a final SVM model; S3, collecting the corresponding influencing factor data of the power grid to be reviewed, and calculating the final data set of influencing factors of the power grid design quality itself; Using the final SVM model to classify the final data set of influencing factors of power grid design quality itself; setting a first power grid design quality level set; determining a first power grid design quality level to be reviewed according to the classification result; S4, setting a grid current collection point set; measuring current data at each current collection point in the grid current collection point set to obtain a current loss data set; Then set the current consumption threshold value set; Setting a first grid design quality determination rule; obtaining a second grid design quality grade to be reviewed according to the first grid design quality determination rule; S5. Determine the final grid design quality level according to the first grid design quality level to be reviewed and the second grid design quality level to be reviewed; The S1 comprises the following steps: S11. Constructing a set of influencing factors of power grid design quality , represents the i-th influencing factor in the influencing factors of power grid design quality itself, It indicates the total number of factors that influence the power grid design quality itself; S12. A set of factors influencing the design quality of the power grid Score each influencing factor in the grid design quality influencing factor scoring matrix ,as follows, ; in, Represents the set of factors affecting the quality of power grid design itself The j-th score data of the i-th influencing factor in , It indicates the total number of scores obtained by scoring the influencing factors of a single power grid design quality; S13, scoring matrix based on the factors affecting the power grid design quality The average score set of factors affecting power grid design quality is calculated , Represents the set of influencing factors of power grid design quality The average score of the i-th influencing factor in ; The calculation formula is as follows, ; S14, according to the average scoring set of the power grid design quality influencing factors Calculate the weight set of factors affecting power grid design quality , Represents the set of influencing factors of power grid design quality The weight value of the i-th influencing factor in ; The calculation formula is as follows, ; The S2 comprises the following steps: S21. Setting the power grid training sample set to be collected , Represents the power grid training sample set to be collected The i-th power grid training sample in the power grid training sample set to be collected, c represents the total number of power grid training samples in the power grid training sample set to be collected; according to the power grid design quality influencing factor set And the power grid training sample set to be collected Collect the corresponding power grid influencing factor data to obtain the original training data matrix of power grid influencing factors ;as follows, ; in, Represents the power grid training sample set to be collected The i-th influencing factor training data of the i-th power grid training sample; Set the power grid test sample set to be collected , Indicates the power grid test sample set to be collected The i-th power grid test sample in, represents the total number of power grid test samples in the power grid test sample set to be collected; according to the power grid design quality influencing factor set And the power grid test sample set to be collected Collect the corresponding power grid influencing factor data and obtain the original test data matrix d of the power grid influencing factor; as follows, ; in, Indicates the power grid test sample set to be collected The i-th influencing factor test data of the i-th power grid test sample in; S22, based on the power grid training sample set to be collected Set the corresponding power grid sample design quality level category label to obtain the power grid training sample label set , Represents the power grid training sample set to be collected The label of the i-th power grid training sample in; Then according to the power grid test sample set to be collected Set the corresponding power grid sample design quality level category label to obtain the power grid test sample label set , Indicates the power grid test sample set to be collected The label of the i-th power grid test sample in; S23, based on the original training data matrix of the power grid influencing factors And the weight set of factors affecting power grid design quality Calculate the final training data matrix of power grid influencing factors ,as follows, ; in, Indicates based on And the weight set of factors affecting power grid design quality The final training data of the i-th influencing factor of the i-th power grid training sample after calculation; ; Then, according to the original test data matrix d of the power grid influencing factors and the weight set of the power grid design quality influencing factors The final test data matrix m of the power grid influencing factors is calculated as follows: ; in, Indicates based on And the weight set of factors affecting power grid design quality The final test data of the ith influencing factor of the ith power grid training sample after calculation; ; S24, constructing an initial SVM model, wherein the kernel function used in the initial SVM model is the RBF function, and the formula of the RBF function is as follows: ; In the formula, represents RBF function; and Respectively represent the original training data matrix of the power grid influencing factors Any two different data in; represents a hyperparameter; S25, set the training error threshold to ; The final training data matrix of the power grid influencing factors And the power grid training sample label set Input to the initial SVM model for training. When the training error value is less than When , stop training and get the trained SVM model; S26. Set the test accuracy threshold ; Input the final test data matrix m of the power grid influencing factors into the trained SVM model for classification to obtain the first classification result set ; The first classification result set With the grid test sample label set Compare and calculate between them to get the test accuracy ; when , taking the trained SVM model as the final SVM model; S27, when , optimizing the trained SVM model to obtain an optimized SVM model, and then using the optimized SVM model as the final SVM model; The S27 comprises the following steps: S271, construct an initial chaotic monkey group, and set the size of the initial chaotic monkey group to , the initial chaotic monkey group is expressed as , represents the i-th monkey in the initial chaotic monkey group; the maximum number of iterations is set to , the climbing step length is , the climb count is , the field of view value is , the number of views is ; S272, setting the RBF function of the trained SVM model The value range is And the penalty coefficient in the trained SVM model The value range is ; S273, setting the initial position of each monkey in the initial chaotic monkey group, and obtaining the monkey group initial position set ; represents the initial position of the i-th monkey in the initial chaotic monkey group, , and They represent the two dimensions of the initial position of the i-th monkey in the initial chaotic monkey group; S274, setting the objective function of the initial chaotic monkey group , the function expression is as follows, ; In the formula, Indicates the offset; S275, start iteration, set the current population cycle times to ; According to the initial position set of the monkey group , climbing step length , Climbing value , Field of view value And the number of views Performing crawling, looking and jumping actions on each monkey in the initial chaotic monkey group; when When , stop the iteration and output the optimal hyperparameter value And the optimal penalty coefficient value ; S276, the optimal hyperparameter value And the optimal penalty coefficient value Substitute into the trained SVM model to obtain the optimized SVM model; S277, using the optimized SVM model as the final SVM model; The S273 comprises the following steps: S2731, random generation using chaos algorithm In A random number in a range is obtained to obtain a first random number set, and each random number in the first random number set is used as the first dimension value of the initial position of each monkey in the initial chaotic monkey group; S2732, then use the chaos algorithm to randomly generate In A random number in the range is obtained to obtain a second random number set, and each random number in the second random number set is used as the second dimension value of the initial position of each monkey in the initial chaotic monkey group; S2733, according to S2731 and S2732, the initial position set of the monkey group is obtained ; The S3 comprises the following steps: S31, according to the power grid design quality influencing factors set Collect the corresponding influencing factor data of the power grid to be reviewed, and obtain the original data set of influencing factors of the power grid design quality itself ; Represents the influencing factor data corresponding to the i-th influencing factor in the influencing factor set of the power grid design quality itself; S32, based on the original data set of the influencing factors of the power grid design quality itself And the weight set of factors affecting power grid design quality Calculate the final data set of factors affecting the quality of power grid design ; S33, using the final SVM model to analyze the final data set of factors affecting the quality of power grid design Perform classification to obtain the second classification result; S34, training sample label set according to the power grid And the power grid test sample label set Set the first grid design quality level set ; S35, according to the second classification result and the first power grid design quality level set Obtained the first grid design quality grade to be reviewed ; , , , and They are the first level of grid design quality, the second level of grid design quality, the third level of grid design quality, the fourth level of grid design quality and the fifth level of grid design quality; ; The S4 comprises the following steps: S41, set the grid current collection point set , represents the i-th current collection point on the power grid, Indicates the total number of current collection points on the power grid; S42, using an ammeter to measure the current collection point set of the power grid The current data at each current collection point in the grid is obtained to obtain the grid current data set ; According to the grid current data set Get the current consumption data set ; It represents the difference between the current at the i+1th current collection point and the current at the i-th current collection point in the grid current collection point set. ; S43, set the current consumption threshold value set , , , and They are respectively a first current loss threshold, a second current loss threshold, a third current loss threshold and a fourth current loss threshold; S44, take ; Set the first grid design quality judgment rule as follows, when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ;when When the grid design quality level is set as ; The second power grid design quality grade to be reviewed is obtained according to the first power grid design quality determination rule ; The specific process of S5 is as follows: Set according to , , , and In order of level, the quality of power grid design is decreasing; when The level number is less than or equal to When the number of levels is As the final grid design quality level of the grid to be reviewed; when The level number is greater than When the number of levels is As the final grid design quality level of the grid to be reviewed.
2. A system for implementing the intelligent review method for power grid design quality based on big data as claimed in claim 1, Features: It includes a power grid influencing factor weight calculation module, a power grid influencing factor training data acquisition module, a power grid influencing factor test data acquisition module, a final SVM model construction module, a power grid influencing factor data acquisition module to be reviewed, a first power grid design quality level determination module, a current loss data acquisition module, a second power grid design quality level determination module and a final power grid design quality level determination module; The power grid influencing factor weight calculation module is used to score each influencing factor in the power grid design quality influencing factor set to obtain a power grid design quality influencing factor weight set; The power grid influencing factor training data acquisition module is used to collect data according to the power grid training sample set to be collected; The power grid influencing factor test data acquisition module is used to collect data according to the power grid test sample set to be collected; The final SVM model construction module is used to construct an initial SVM model, train, test and optimize the initial SVM model to obtain a final SVM model; The influencing factor data collection module of the power grid to be reviewed is used to collect the corresponding influencing factor data of the power grid to be reviewed; The first power grid design quality level determination module is used to determine the first power grid design quality level to be reviewed according to the classification result; The current loss data acquisition module is used to measure the current data at each current collection point in the power grid current collection point set; The second power grid design quality level determination module is used to obtain a second power grid design quality level to be reviewed according to the first power grid design quality determination rule; The final power grid design quality level determination module is used to determine the final power grid design quality level according to the first power grid design quality level to be reviewed and the second power grid design quality level to be reviewed.
