Power grid project overdue event early warning method and system based on artificial intelligence
By preprocessing and independent learning of the early warning data model of power grid engineering projects, optimizing thresholds, and building an artificial intelligence-based early warning model, solving the problem of inability to effectively identify and warn of out-of-term events in the existing technology, and improving the power grid engineering projects Control efficiency and economic benefits.
Patent Information
- Application Number
- CN202410880251.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-11-01
AI Technical Summary
The existing technology cannot effectively identify and warn of overdue events in power grid engineering projects, resulting in slow progress, low efficiency and economic losses. The recognition performance of the early warning model is uneven and the accurate threshold range cannot be obtained.
By preprocessing, classifying training and independent learning of the early warning data model, optimizing the threshold of the data model, building an artificial intelligence-based early warning model to achieve timely warning of power grid engineering events. The specific steps include obtaining the original data set for preprocessing and cleaning, dividing warning pool-level components, training the preliminary warning model for out-of-term warning, and obtaining the final warning model for out-of-term warning through independent learning.
The reliability of the identification data of the early warning model is improved, a more accurate threshold range is achieved, timely early warning and effective prevention and control of power grid engineering projects is ensured, and problems such as delays in progress, efficiency deficits and cost exceedances are reduced.
Smart Images

Figure CN118886530A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an artificial intelligence-based power grid project overdue event early warning method and system. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] With the advent of the era of artificial intelligence, the Internet of Things, cloud computing, and big data are gradually penetrating into all aspects of life and work. The field of power grid project management is no exception, and is gradually transforming from on-site management to AI digitalization. At present, power grid project management has problems such as complex types, non-compliant operations, inefficient project process control, unbalanced cost control, scattered financial cleanup data, and untimely management. As a result, many events have not been handled for a long time, which not only makes the progress of power grid projects slow and inefficient, but also causes many immeasurable economic losses.
[0004] In order to solve the problem that overdue power grid events cannot be discovered in time, various early warning models have been constructed in the prior art to monitor overdue events. However, the recognition performance of the early warning models in the prior art varies greatly, and a more accurate threshold range cannot be obtained, and thus overdue projects cannot be effectively identified. Summary of the invention
[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide an artificial intelligence-based power grid project overdue event warning method and system, which optimizes the threshold of the data model to the greatest extent through preprocessing, classification training and autonomous learning of the warning data model, and improves the data reliability of the warning data model recognition, thereby obtaining a more accurate threshold range to achieve timely warning of power grid project overdue events.
[0006] In order to achieve the above object, the present invention is implemented through the following technical solutions:
[0007] The first aspect of the present invention provides an artificial intelligence-based power grid project overdue event early warning method, comprising the following steps:
[0008] Obtain all events of power grid projects and build an overdue early warning model;
[0009] Use the overdue warning model to predict all events of the power grid project and obtain the warning level of the event;
[0010] The construction process of the overdue warning model is as follows:
[0011] Obtain the original data set and preprocess the original data;
[0012] Set different warning pools according to the warning level, collect the pre-processed raw data and divide the warning pools, and generate warning pool level components for different warning pools;
[0013] The warning pool level components of different warning pools are trained to obtain a preliminary overdue warning model;
[0014] The preliminary overdue warning model is autonomously learned to obtain the final overdue warning model.
[0015] Furthermore, the original data set is a sample set of known power grid project overdue events.
[0016] Furthermore, the specific steps of preprocessing the original data are: cleaning and checking for duplicates on the original data.
[0017] Furthermore, the specific steps for collecting the preprocessed raw data and dividing the warning pool are as follows:
[0018] Construct a confusion matrix based on the collected raw data;
[0019] The confusion matrix is used to draw the ROC curve and obtain the accuracy range of the threshold.
[0020] Furthermore, the specific steps for generating the warning pool level components of different warning pools are:
[0021] Assign different thresholds to different warning pools;
[0022] The original data is summarized into the corresponding warning pool according to the threshold value, which is recorded as the warning pool level component.
[0023] Furthermore, the specific steps for training the warning pool level components of different warning pools are as follows:
[0024] After the initial overdue warning model is generated, the training data is identified as regular events within the specified effective time interval through a timing algorithm and automatically collected and stored.
[0025] Furthermore, an integrated evaluator is used to autonomously learn the preliminary overdue warning model.
[0026] A second aspect of the present invention provides an artificial intelligence-based power grid project overdue event early warning system, comprising:
[0027] The data acquisition module is configured to acquire all events of the power grid project and build an overdue warning model;
[0028] The event warning module is configured to use the overdue warning model to predict all events of the power grid project and obtain the warning level of the event;
[0029] The data acquisition module includes a model building module, which is used to build an overdue warning model. The specific process is as follows:
[0030] Obtain the original data set and preprocess the original data;
[0031] Set different warning pools according to the warning level, collect the pre-processed raw data and divide the warning pools, and generate warning pool level components for different warning pools;
[0032] The warning pool level components of different warning pools are trained to obtain a preliminary overdue warning model;
[0033] The preliminary overdue warning model is autonomously learned to obtain the final overdue warning model.
[0034] The third aspect of the present invention provides a medium having a program stored thereon, which, when executed by a processor, implements the steps in the artificial intelligence-based power grid project overdue event warning method as described in the first aspect of the present invention.
[0035] The fourth aspect of the present invention provides a device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the artificial intelligence-based power grid project overdue event warning method as described in the first aspect of the present invention are implemented.
[0036] One or more of the above technical solutions have the following beneficial effects:
[0037] The present invention discloses an artificial intelligence-based power grid project overdue event early warning method and system, which optimizes the threshold of the data model to the greatest extent and improves the reliability of the overdue early warning model identification data through preprocessing, classification training and autonomous learning of the overdue early warning model. At the same time, it can effectively increase the breadth and intensity of the whole process control of the power grid project, achieve early warning and effective prevention and control, and reduce the problems of delayed progress of overdue projects, benefit deficits, and cost excesses.
[0038] The present invention can complete the prediction identification and training of the overdue warning model in an offline state, reduce the accuracy deviation threshold to a controllable range, and verify and implement it, which is operable in real business scenarios; secondly, it is automatically collected into the corresponding warning pool through the prediction of the data model, and finally runs to the server for continuous verification and output; during this period, the data prediction model will be trained by continuously filtering data, thereby reducing the deviation range of the threshold, reaching the optimal value of the threshold, and improving the accuracy of autonomous learning and training of the overdue warning model.
[0039] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0041] Figure 1 A flowchart of the overdue warning model constructed in the first embodiment of the present invention;
[0042] Figure 2 This is a schematic diagram of the principle of constructing an overdue warning model in the first embodiment of the present invention;
[0043] Figure 3 This is a working principle diagram of the model building module in the second embodiment of the present invention. DETAILED DESCRIPTION
[0044] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0045] It should be noted that in the embodiments of the present invention, data related to power grid engineering events, etc., when the above embodiments of the present invention are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0046] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "include" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or their combinations;
[0047] Embodiment 1:
[0048] Embodiment 1 of the present invention provides an artificial intelligence-based early warning method for power grid project overdue events, such as Figure 1 As shown in the figure, the original data is first cleaned and preliminarily classified into the data set in the corresponding warning level component. Then, the warning pool level components are classified and divided through similar threshold interval definitions. Then, the data parameters are predicted and identified offline through scheduled tasks. Finally, the data model is trained, verified, tested and optimized as a whole through the existing AI algorithm to obtain the offline prediction model.
[0049] More specifically, the following steps are included:
[0050] S1: Obtain all events of power grid projects and build an overdue warning model.
[0051] Among them, the construction process of the overdue warning model is as follows: Figure 2 As shown,
[0052] Step 1: Obtain the original data set and preprocess the original data.
[0053] In a specific implementation, the original data set is a known power grid project overdue event sample set.
[0054] Step 1.1, the specific steps of preprocessing the raw data are to build a preprocessing model according to the warning information request, clean and check the raw data. The preprocessed raw data can be stored in the corresponding warning data model set for its autonomous identification.
[0055] Step 2: Set up different warning pools according to the warning levels, collect the preprocessed raw data and divide the warning pools, and generate warning pool level components for different warning pools.
[0056] Step 2.1, set up level 1 warning pool, level 2 warning pool, level 3 warning pool and level 4 warning pool according to the warning level. Specifically, through the training and hierarchical identification and analysis of the overdue warning model, the results of the data operation are verified and output to the warning reminder pool, and finally reach the front-end display according to the corresponding scope of authority.
[0057] Through the models and training of each subset model pool of each early warning pool, the accurate model recognition threshold (1, 0) range, the algorithm rule equation (similar to the formula below): Va is the threshold range space value, X is the minimum value, Y is the maximum value: Va = (aYa, bYa), a, b are positive integers that exist as multiples of Ya.
[0058] For example, when the risk model prediction standard X1=Y1 is used, the threshold interval (0, 1] is set as a level 1 warning, the threshold interval (1, 130%] is set as a level 2 warning, the range of (130%, 150%] is set as a level 3 warning, and the range of (150%, 180%] is set as a level 4 warning. In this embodiment, the warning level is a measure to upgrade the risk event after the general reminder application is invalid. The general reminder refers to the advance reminder that will be carried out before the risk exists. After the reminder is invalid, the event that the risk has already occurred will be warned according to the level.
[0059] Therefore, the model logic is shown in Table 1:
[0060] Table 1. Model parameters corresponding to warning levels
[0061]
[0062]
[0063] Among them, Y1 is the normal occurrence value of the risk event, a and b are positive integers that exist as multiples of Ya.
[0064] Step 2.2: The specific steps for collecting the preprocessed raw data and dividing the warning pool are as follows:
[0065] Step 2.2.1, construct a confusion matrix based on the collected original data; the purpose of constructing the confusion matrix is to build the type range of the risk identification library, by dividing the prediction classification of risk events, determining the predicted value of each type of risk event, and comparing the position of the measured value pixel with the corresponding position of the classified image, displaying and analyzing the predicted value and the true value, optimizing the threshold accuracy of the warning event recognition model, and thus effectively allocating the level.
[0066] Table 2 Confusion matrix
[0067]
[0068] Step 2.2.2, use the confusion matrix to draw the ROC curve and obtain the accuracy range of the threshold.
[0069] Optionally, the true positive rate = TP / (TP+FN), the false positive rate = FP / (FP+FN), and the quality of the sample data can be checked by constructing the ROC curve. The ROC surface value can be improved by adjusting the recognition rules to see whether the AUC tends to (0.5, 1].
[0070] Step 2.3, the specific steps for generating the warning pool level components of different warning pools are:
[0071] Step 2.3.1, assign different thresholds to different warning pools;
[0072] Step 2.3.2, the original data is summarized into the corresponding warning pool according to the threshold value, which is recorded as the warning pool level component. The warning pool level component forms a hierarchical component data set, and the data is stored in the data table of each scenario of the whole process of project management warning reminder.
[0073] Step 3: Train the warning pool level components of different warning pools to obtain a preliminary overdue warning model.
[0074] Step 3.1: After the initial overdue warning model is generated, the training data is identified as regular events within the specified effective time interval through a timing algorithm and automatically collected and stored. In this embodiment, a relatively mature AI timing algorithm is used:
[0075] MOV TMOD,#00H(T0) timer (internal input);
[0076] SETB TRx starts the timer;
[0077] MOV TLx,#(8192-COUNT)%32;
[0078] Check if TFx overflows JBC;
[0079] The preliminary test value is False / True.
[0080] Step 3.2, extract the data elements in each subset data set through a variety of random sampling methods, put them into the training set, validation set, and test set, and confuse them to obtain the precise threshold.
[0081] Step 3.3, combine the confusion matrix algorithm to train the model for each subset in the warning pool dataset.
[0082] Through the above steps, the present invention pre-excludes fuzzy data and deviation data in the early stage of pre-judgment and identification to improve the quality of cleaned data; during the early warning pool-data model learning and training, the similarity of the data is calculated and judged, and the threshold of the overdue early warning model is initially and accurately located. In some other embodiments, the highest and lowest peak values are obtained from the kiss curve constructed from the sample, and the threshold range is accurately determined to improve the accuracy of the threshold.
[0083] Step 4: autonomously study the preliminary overdue warning model to obtain the final overdue warning model.
[0084] Step 4.1, through the preliminary definition of similar thresholds, using the ensemble estimator, the preliminary overdue warning model is autonomously learned through forest, rank boosting tree, Xgboos and other algorithms to obtain the total threshold results, so as to obtain a regression and classification prediction model that is better than a single classification model. Through the above-mentioned total classification regression model, the data is re-collected and reorganized for training and recognition, the threshold division of the overdue warning model is changed, and finally the warning pool components that are more in line with the actual business are classified.
[0085] Step 4.2, verify the overdue warning model: through the level division and offline preprocessing of the overdue warning model, verify its confusion matrix: TN; FP; TP; FN values, display the ROS curve in the data table, and display the operation warning reminder through the verified data.
[0086] Through the training of the early warning model and the verification output of the grading model, the data model is re-identified and verified by the verification level limit, and the early warning level is upgraded by the verification output.
[0087] Among them, if Fail is No, the early warning pool data will be verified and the data will not be transmitted for early warning upgrade.
[0088] If True, the early warning pool data will be verified, and the data model verification results will be output and upgraded to the front-end display according to the corresponding scope of authority.
[0089] S2: Use the overdue warning model to predict all events of the power grid project and obtain the warning level of the event.
[0090] Through offline methods, the power grid engineering event data to be identified is classified and divided to form processing results, which are saved in the local server-database and wait for online transmission and interaction.
[0091] Embodiment 2:
[0092] Embodiment 2 of the present invention provides an artificial intelligence-based power grid project overdue event early warning system, such as Figure 3 As shown in the figure, it includes differentiating and grouping the early warning model data, pre-identifying and prejudging through the early warning level threshold, and then verifying and running according to the actual parameters and storing them in the server, and outputting the operation diagnosis result set and early warning reminder data to the corresponding database sql, and displaying them on the front-end system according to the authority. Finally, according to the pre-set minimum limit, secondary verification and identification are carried out to determine whether the early warning data and the early warning level are upgraded.
[0093] More specifically, they include:
[0094] The data acquisition module is configured to acquire all events of the power grid project and build an overdue warning model;
[0095] The event warning module is configured to use the overdue warning model to predict all events of the power grid project and obtain the warning level of the event;
[0096] The data acquisition module includes a model building module, which is used to build an overdue warning model. The specific process is as follows:
[0097] Obtain the original data set and preprocess the original data;
[0098] Set different warning pools according to the warning level, collect the pre-processed raw data and divide the warning pools, and generate warning pool level components for different warning pools;
[0099] The warning pool level components of different warning pools are trained to obtain a preliminary overdue warning model;
[0100] The preliminary overdue warning model is autonomously learned to obtain the final overdue warning model.
[0101] Embodiment three:
[0102] Embodiment 3 of the present invention provides a medium on which a program is stored. When the program is executed by a processor, the steps in the artificial intelligence-based power grid project overdue event warning method as described in Embodiment 1 of the present invention are implemented.
[0103] Embodiment 4:
[0104] Embodiment 4 of the present invention provides a device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in the artificial intelligence-based power grid project overdue event warning method as described in Embodiment 1 of the present invention are implemented.
[0105] The steps involved in the above embodiments 2, 3 and 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.
[0106] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.
[0107] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. An artificial intelligence-based early warning method for power grid project overdue events, characterized in that: The following steps are involved: Obtain all events of power grid projects and build an overdue early warning model; Use the overdue warning model to predict all events of the power grid project and obtain the warning level of the event; The construction process of the overdue warning model is as follows: Obtain the original data set and preprocess the original data; Set up different warning pools according to the warning level, collect the pre-processed raw data and divide the warning pools, and generate warning pool level components for different warning pools; The warning pool level components of different warning pools are trained to obtain a preliminary overdue warning model; The preliminary overdue warning model is autonomously learned to obtain the final overdue warning model.
2. The artificial intelligence-based early warning method for power grid project overdue events according to claim 1, characterized in that: The original data set is a known power grid project overdue event sample set.
3. The artificial intelligence-based early warning method for power grid project overdue events according to claim 1, characterized in that: The specific steps for preprocessing the original data are: cleaning and checking for duplicates of the original data.
4. The artificial intelligence-based early warning method for power grid project overdue events according to claim 1, characterized in that: The specific steps for collecting the pre-processed raw data and dividing the warning pool are as follows: Construct a confusion matrix based on the collected raw data; The confusion matrix is used to draw the ROC curve and obtain the accuracy range of the threshold.
5. The artificial intelligence-based early warning method for power grid project overdue events according to claim 4, characterized in that: The specific steps to generate warning pool level components for different warning pools are: Assign different thresholds to different warning pools; The original data is summarized into the corresponding warning pool according to the threshold value, which is recorded as the warning pool level component.
6. The artificial intelligence-based early warning method for power grid project overdue events according to claim 1, characterized in that: The specific steps for training the warning pool level components of different warning pools are: After the initial overdue warning model is generated, the training data is used through a timing algorithm to identify regular events within the specified effective time interval and automatically collected and stored.
7. The artificial intelligence-based early warning method for power grid project overdue events according to claim 1, characterized in that: The preliminary overdue warning model is autonomously learned using an integrated evaluator.
8. An artificial intelligence-based power grid project overdue event early warning system, characterized by: include: The data acquisition module is configured to acquire all events of the power grid project and build an overdue warning model; The event warning module is configured to use the overdue warning model to predict all events of the power grid project and obtain the warning level of the event; The data acquisition module includes a model construction module, which is used to construct an overdue warning model. The specific process is as follows: Obtain the original data set and preprocess the original data; Set up different warning pools according to the warning level, collect the pre-processed raw data and divide the warning pools, and generate warning pool level components for different warning pools; The warning pool level components of different warning pools are trained to obtain a preliminary overdue warning model; The preliminary overdue warning model is autonomously learned to obtain the final overdue warning model.
9. A computer-readable storage medium, characterized in that Multiple instructions are stored therein, and the instructions are suitable for being loaded by a processor of a terminal device and executing the artificial intelligence-based power grid project overdue event early warning method described in any one of claims 1-7.
10. A terminal device, characterized in that: It includes a processor and a computer-readable storage medium, the processor is used to implement each instruction; the computer-readable storage medium is used to store multiple instructions, and the instructions are suitable for being loaded and executed by the processor to implement the artificial intelligence-based power grid project overdue event warning method described in any one of claims 1-7.
