Method and system for predicting icing galloping of power transmission line
By combining the stacked autoencoder deep learning model with meteorological and line data, the problem of low computational efficiency and accuracy caused by the large amount of data in the transmission line ice dance prediction is solved, and higher prediction accuracy and reliability are achieved.
Patent Information
- Application Number
- CN202410639576.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-24
AI Technical Summary
The existing technology has low calculation efficiency and low accuracy when predicting the ice dance of transmission lines. Especially when the amount of data is large, it is difficult for traditional methods to effectively predict the line dance phenomenon.
A deep learning model based on stacked autoencoders is used, the model is trained through historical dance monitoring data, combined with meteorological and line monitoring data, a multi-layer network structure is used for prediction, and deep learning algorithms are used to improve prediction accuracy.
It improves the accuracy and reliability of ice dance prediction of transmission lines, can effectively handle large amounts of data, and overcomes the problems of low computational efficiency and accuracy of traditional methods.
Smart Images

Figure CN118691071A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of transmission line risk prediction, and in particular to a method and system for predicting ice dancing on a transmission line. Background Art
[0002] At present, with the continuous development of power construction in recent years, the transmission line network is spread across different regions. Through investigation, it is found that due to the influence of factors such as geographical location and meteorological conditions, the frequency of line dancing has increased significantly. Transmission line dancing is a low-frequency, large-amplitude vibration phenomenon caused by factors such as wind excitation under icing conditions. As a result, a series of accidents such as broken strands, falling and damage of hardware, and tower collapse have occurred, causing huge losses. Therefore, it is of great value to predict the dancing of transmission lines.
[0003] Since the galloping of transmission lines is a complex nonlinear vibration under external excitation, the mechanism of the galloping itself is relatively complex and has always been the research focus and difficulty of experts in related fields at home and abroad. There are currently many different related galloping theories: (1) Galloping mechanism proposed based on single-degree-of-freedom linear theoretical model: The influence of lateral wind excitation is analyzed, but the nonlinear vibration process of the conductor under icing conditions cannot be simulated. (2) Torsional galloping mechanism model: Differential equations are established in the vertical, horizontal and torsional directions for force analysis, and it is concluded that horizontal vibration will not excite galloping, and the critical conditions for vertical vibration and torsional vibration to excite galloping are calculated. (3) Galloping mechanism of ice-covered conductors based on inertial coupling instability theory: It is a further promotion and integration of the lateral wind mechanism and the torsional mechanism. (4) Under the action of wind load, each component unit of the entire transmission line vibrates to varying degrees. Under certain meteorological conditions, the aerodynamic damping and structural damping of the conductor are reduced, and the vibration is intensified, thereby stimulating the entire line to produce system resonance and form galloping; (5) The galloping mechanism of any wind direction and any vibration direction, and theoretically proves the possibility of galloping along the wind direction. The above-mentioned line galloping mechanism can basically reveal the essence of most galloping phenomena, but can only explain a certain type of galloping phenomenon. Due to the existence of problems such as the randomness of wind and rain loads, the multi-field coupling of temperature, humidity and pressure, and dynamic nonlinearity, it is difficult to establish an accurate conductor galloping model, and the application effect of traditional physical models in galloping prediction is relatively poor.
[0004] In the prior art, taking patent CN114676540A as an example, a method for predicting ice dancing of overhead transmission lines based on multi-information fusion is provided. By selecting transmission lines prone to ice dancing, several feature quantities of the line conductors when ice dancing occurs are extracted, and a nonlinear four-classification support vector machine is constructed. According to weather forecasts, early warning is given for possible line ice dancing hazards, overcoming the limitations of traditional sensor solutions. However, the support vector machine algorithm itself is only suitable for small data volumes. Currently, there are many factors affecting dancing and the data volume is large. Therefore, the use of the ice dancing prediction method in the prior art will lead to a decrease in computational efficiency and accuracy. Summary of the invention
[0005] In order to solve the problem that the method used in the prior art for predicting ice dancing of transmission lines is only applicable to the case of small data volume, resulting in reduced calculation efficiency and accuracy when actually predicting ice dancing, the present invention proposes a method for predicting ice dancing of transmission lines, comprising:
[0006] Obtaining transmission line galloping monitoring data;
[0007] Based on the dancing monitoring data of the transmission line, a pre-trained deep learning dancing prediction model is used to obtain a prediction result of ice dancing of the transmission line;
[0008] Among them, the deep learning dancing prediction model is obtained by training the stacked autoencoder with historical dancing monitoring data as the input data of training data and the ice-covered dancing index value corresponding to the historical dancing monitoring data as the output data of training data. The stacked autoencoder includes an input layer, at least two consecutive hidden layers and a Softmax output layer.
[0009] Optionally, the deep learning dance prediction model includes the following training process:
[0010] The acquired historical dance monitoring data is used as input data of training data;
[0011] Using the ice-covered dancing index value corresponding to the historical dancing monitoring data as output data of training data;
[0012] Randomly initialize the network parameters of the stacked autoencoder through Gaussian distribution;
[0013] Based on the input data and output data of the training data, the stacked autoencoder is trained to obtain a deep learning dance prediction model.
[0014] Optionally, the historical dance monitoring data includes the following acquisition process:
[0015] Collect data on ice dancing cases of power transmission lines;
[0016] The Spearman correlation calculation method is used to calculate the correlation between each dancing factor and the icing dancing index in the icing dancing case data;
[0017] According to the correlation between each dancing factor and the icing dancing index in the icing dancing case data, sorting each dancing factor in the icing dancing case data in descending order;
[0018] The ice-covered dancing case data corresponding to a preset number of dancing factors are selected as the historical dancing monitoring data.
[0019] Optionally, the ice dancing index is expressed as follows:
[0020] When the ice dancing index value is 1, it indicates that ice dancing occurs on the transmission line;
[0021] When the ice dancing index value is 0, it indicates that no ice dancing occurs on the transmission line.
[0022] Optionally, the step of training a stacked autoencoder based on the input data and the output data of the training data to obtain a deep learning dance prediction model includes:
[0023] Based on the input data of the training data, each autoencoder in the stacked autoencoder is subjected to layer-by-layer unsupervised pre-training, and each autoencoder is used as a hidden layer, and the network parameters of each hidden layer are updated according to the cross entropy loss function value of each autoencoder;
[0024] Based on the output data of the training data and the last hidden layer after updating the network parameters, the network parameters of each hidden layer in the stacked autoencoder are adjusted by a back propagation algorithm until the number of iterations is reached, thereby obtaining a deep learning dance prediction model.
[0025] Optionally, the output data of the training data and the last hidden layer after updating the network parameters, adjusting the network parameters of each hidden layer in the stacked autoencoder by a back propagation algorithm, comprises:
[0026] The output of the last hidden layer after updating the network parameters is used as the input of the Softmax output layer, and the output of the last hidden layer is mapped to the corresponding labeled data through the Softmax function;
[0027] Based on the labeled data corresponding to the output of the last hidden layer and the output data of the training data, the network parameters of each hidden layer in the stacked autoencoder are adjusted by a back propagation algorithm.
[0028] Optionally, the expression of the Softmax function is as follows:
[0029]
[0030] Among them, σ(z j ) represents the j-th output z of the last hidden layer j Corresponding annotation data; e is a constant; z k represents the kth output of the last hidden layer; k=1…K; K represents the total number of data output by the last hidden layer.
[0031] Optionally, the dancing monitoring data includes one or more of the following: meteorological monitoring data and line monitoring data;
[0032] The dancing factors in the meteorological monitoring data include one or more of the following: temperature, humidity, precipitation form, precipitation amount, wind speed and wind direction angle;
[0033] The dancing factors in the line monitoring data include one or more of the following: line span, conductor model, conductor cross-sectional area, number of conductor splits, line voltage level, current type, line longitude and latitude, line design tension, line body, temperature difference, dancing occurrence time, dancing amplitude and dancing frequency.
[0034] Optionally, after acquiring the dancing monitoring data of the transmission line, before obtaining the prediction result of ice-covered dancing of the transmission line by using a pre-trained deep learning dancing prediction model based on the dancing monitoring data of the transmission line, the method further includes:
[0035] Respectively performing data cleaning, data integration and data normalization processing on the dancing monitoring data of the transmission line to obtain pre-processed dancing monitoring data;
[0036] The data cleaning includes one or more of the following: missing value processing, outlier value processing and duplicate value processing.
[0037] Based on the same inventive concept, the present invention also provides a transmission line ice dancing prediction system, comprising:
[0038] Data acquisition module: used to obtain the dancing monitoring data of the transmission line;
[0039] A dancing prediction module is used to obtain a prediction result of ice dancing of the transmission line based on the dancing monitoring data of the transmission line and using a pre-trained deep learning dancing prediction model;
[0040] Among them, the deep learning dance prediction model in the dance prediction module is obtained by training the stacked autoencoder with historical dance monitoring data as the input data of training data and the ice-covered dance index value corresponding to the historical dance monitoring data as the output data of training data. The stacked autoencoder includes an input layer, at least two consecutive hidden layers and a Softmax output layer.
[0041] Optionally, the deep learning dance prediction model in the dance prediction module includes the following training process:
[0042] The acquired historical dance monitoring data is used as input data of training data;
[0043] Using the ice-covered dancing index value corresponding to the historical dancing monitoring data as output data of training data;
[0044] Randomly initialize the network parameters of the stacked autoencoder through Gaussian distribution;
[0045] Based on the input data and output data of the training data, the stacked autoencoder is trained to obtain a deep learning dance prediction model.
[0046] Optionally, the historical dance monitoring data in the dance prediction module includes the following acquisition process:
[0047] Collect data on ice dancing cases of power transmission lines;
[0048] The Spearman correlation calculation method is used to calculate the correlation between each dancing factor and the icing dancing index in the icing dancing case data;
[0049] According to the correlation between each dancing factor and the icing dancing index in the icing dancing case data, sorting each dancing factor in the icing dancing case data in descending order;
[0050] The ice-covered dancing case data corresponding to a preset number of dancing factors are selected as the historical dancing monitoring data.
[0051] Optionally, the ice dancing index in the dancing prediction module is expressed as follows:
[0052] When the ice dancing index value is 1, it indicates that ice dancing occurs on the transmission line;
[0053] When the ice dancing index value is 0, it indicates that no ice dancing occurs on the transmission line.
[0054] Optionally, the dancing prediction module trains a stacked autoencoder based on the input data and output data of the training data to obtain a deep learning dancing prediction model, including:
[0055] Based on the input data of the training data, each autoencoder in the stacked autoencoder is subjected to layer-by-layer unsupervised pre-training, and each autoencoder is used as a hidden layer, and the network parameters of each hidden layer are updated according to the cross entropy loss function value of each autoencoder;
[0056] Based on the output data of the training data and the last hidden layer after updating the network parameters, the network parameters of each hidden layer in the stacked autoencoder are adjusted by a back propagation algorithm until the number of iterations is reached, thereby obtaining a deep learning dance prediction model.
[0057] Optionally, the dancing prediction module adjusts the network parameters of each hidden layer in the stacked autoencoder by a back propagation algorithm based on the output data of the training data and the last hidden layer after updating the network parameters, including:
[0058] The output of the last hidden layer after updating the network parameters is used as the input of the Softmax output layer, and the output of the last hidden layer is mapped to the corresponding labeled data through the Softmax function;
[0059] Based on the labeled data corresponding to the output of the last hidden layer and the output data of the training data, the network parameters of each hidden layer in the stacked autoencoder are adjusted by a back propagation algorithm.
[0060] Optionally, the expression of the Softmax function in the dancing prediction module is as follows:
[0061]
[0062] Among them, σ(z j ) represents the j-th output z of the last hidden layer j Corresponding annotation data; e is a constant; z k represents the kth output of the last hidden layer; k=1…K; K represents the total number of data output by the last hidden layer.
[0063] Optionally, the dancing monitoring data in the data acquisition module includes one or more of the following: meteorological monitoring data and line monitoring data;
[0064] The dancing factors in the meteorological monitoring data include one or more of the following: temperature, humidity, precipitation form, precipitation amount, wind speed and wind direction angle;
[0065] The dancing factors in the line monitoring data include one or more of the following: line span, conductor model, conductor cross-sectional area, number of conductor splits, line voltage level, current type, line longitude and latitude, line design tension, line body, temperature difference, dancing occurrence time, dancing amplitude and dancing frequency.
[0066] Optionally, after the data acquisition module acquires the transmission line dancing monitoring data, it also includes:
[0067] Respectively performing data cleaning, data integration and data normalization processing on the dancing monitoring data of the transmission line to obtain pre-processed dancing monitoring data;
[0068] The data cleaning includes one or more of the following: missing value processing, outlier value processing and duplicate value processing.
[0069] Compared with the prior art, the present invention has the following beneficial effects:
[0070] The present invention provides a method and system for predicting ice dancing of a power transmission line, comprising: obtaining dancing monitoring data of a power transmission line; based on the dancing monitoring data of the power transmission line, using a pre-constructed deep learning dancing prediction model, obtaining a prediction result of ice dancing of the power transmission line; wherein the deep learning dancing prediction model is obtained by training a stacked autoencoder using historical dancing monitoring data as input data of training data and ice dancing index values corresponding to the historical dancing monitoring data as output data of training data, wherein the stacked autoencoder comprises an input layer, at least two consecutive hidden layers and a Softmax output layer; the present invention adopts a deep learning dancing prediction model constructed by a stacked autoencoder containing a multi-layer network structure, which can overcome the defect that the ice dancing prediction model in the prior art is only suitable for small data amounts. When the deep learning dancing prediction model of the present invention is used to process large data amounts, the accuracy of the model can be improved, thereby facilitating improving the reliability and accuracy of ice dancing prediction of power transmission lines. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 A schematic diagram of a flow chart of a method for predicting ice dancing of a transmission line provided by the present invention;
[0072] Figure 2 A schematic diagram of a training framework of a deep learning dancing prediction model in a method for predicting dancing of ice-covered transmission lines provided by the present invention;
[0073] Figure 3 A schematic diagram of a training framework of an automatic encoder in a method for predicting ice dancing of a transmission line provided by the present invention;
[0074] Figure 4Schematic diagram of the network structure of the automatic encoder in the prior art;
[0075] Figure 5 It is a schematic diagram of feature conversion of an automatic encoder in the prior art;
[0076] Figure 6 It is a schematic diagram of feature conversion of stacked autoencoders in the prior art;
[0077] Figure 7 A schematic diagram of the training structure of a single automatic encoder in a method for predicting ice dancing of a transmission line provided by the present invention;
[0078] Figure 8 A schematic diagram of the training structure of multiple automatic encoders in a method for predicting ice dancing of a transmission line provided by the present invention;
[0079] Fig. 9 A schematic diagram of the training structure of the hidden layer and the output layer in a method for predicting ice dancing of a transmission line provided by the present invention;
[0080] Fig.10 A schematic diagram of the overall training structure of a stacked autoencoder in a method for predicting ice dancing of a transmission line provided by the present invention;
[0081] Fig.11 A schematic diagram of the overall network structure of a stacked autoencoder in a method for predicting ice dancing on a transmission line provided by the present invention;
[0082] Fig.12 It is a schematic diagram of an accuracy curve of a method for predicting ice dancing of a transmission line during a training process provided in a specific embodiment of the present invention;
[0083] Fig.13 A schematic diagram of the structure of a transmission line ice dancing prediction system provided by the present invention;
[0084] Fig.14 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION
[0085] The present invention provides a method and system for predicting ice dancing on a power transmission line. The specific implementation manner of the present invention is further described in detail below with reference to the accompanying drawings.
[0086] Embodiment 1:
[0087] A method for predicting ice dancing of transmission lines, the flow chart is as follows Figure 1 As shown, including:
[0088] Step 1: Obtain the transmission line dancing monitoring data;
[0089] Step 2: Based on the dancing monitoring data of the transmission line, the pre-trained deep learning dancing prediction model is used to obtain the prediction result of ice dancing of the transmission line;
[0090] Among them, the deep learning dancing prediction model is obtained by training the stacked autoencoder with historical dancing monitoring data as the input data of training data and the ice-covered dancing index values corresponding to the historical dancing monitoring data as the output data of training data. The stacked autoencoder includes an input layer, at least two consecutive hidden layers and a Softmax output layer.
[0091] Generally, when predicting ice dancing for transmission lines, it is first necessary to collect data related to ice dancing of transmission lines, and then predict ice dancing for the data related to ice dancing. Taking the prior art as an example, the prior art constructs forecast correction models for various meteorological elements based on the historical measured data of various meteorological elements at all observation sites in each basic forecast grid and the predicted data of the historical numerical forecast model when predicting ice dancing. For the basic forecast grid with observation sites, the historical measured data of various meteorological elements are compared with the predicted data, and the forecast correction model for each meteorological element is constructed based on the comparison results; and Each meteorological element to be corrected is input into its corresponding forecast correction model to obtain the corrected meteorological element prediction result of the basic forecast grid with observation sites. For the basic forecast grid without observation sites, the observation site closest to it is found, and the meteorological element to be corrected is input into the forecast correction model of each meteorological element of the site to obtain the corrected meteorological element prediction result of the basic forecast grid without observation sites, so as to quickly and accurately correct each meteorological element. Since this method only uses meteorological forecast information to predict line sway without combining line body information, the accuracy and reliability of ice sway prediction are low. In view of this problem, the present invention first obtains the internal data of the power grid system and the external meteorological data in real time through the online monitoring systems of the provincial power grid companies and other transmission lines and the power grid production management system, wherein the internal data of the power grid system comes from the internal management system, mainly including basic line information and tower information. For example, the basic line information may include: line span, conductor model, conductor cross-sectional area, number of conductor splits, line voltage level, current type, line longitude and latitude, line design tension, temperature difference between the line body and air temperature, dancing time, dancing amplitude, and dancing frequency; taking the above-mentioned line span as an example, the line span (for example, represented by d) can be calculated according to the longitude and latitude of two adjacent towers of the line by the following expression: In the formula, d represents the distance between two adjacent towers of the line, that is, the line span of this section of the line, (a1, a2) and (b1, b2) are the coordinate information of the two towers respectively; for example, the tower information may include: tower height, type (such as straight tower, tension tower), material, foundation type, etc.; the above-mentioned external meteorological data generally comes from meteorological monitoring systems, meteorological forecast information or geographic information systems, etc., for example, the external meteorological data may include: temperature, humidity, precipitation form, precipitation, wind speed and wind direction angle. When the present invention predicts ice dancing, it can overcome the shortcomings of the prior art that the data related to ice dancing has not been fully mined, resulting in low accuracy and reliability of ice dancing prediction by combining line body information and meteorological forecast information. For example, the dancing monitoring data in the above step 1 may include at least one or more of the following: meteorological monitoring data and line monitoring data;
[0092] The dancing factors in the above-mentioned meteorological monitoring data may include one or more of the following: temperature, humidity, precipitation form, precipitation amount, wind speed and wind direction angle;
[0093] The dancing factors in the above-mentioned line monitoring data may include one or more of the following: line span, conductor model, conductor cross-sectional area, number of conductor splits, line voltage level, current type, line longitude and latitude, line design tension, line body, temperature difference, dancing occurrence time, dancing amplitude and dancing frequency. By selecting the dancing monitoring data containing the above-mentioned dancing factors, it is possible to provide support and basis for reasonable grid dispatching, operation and maintenance. However, the data sources and data types of the dancing monitoring data obtained by the above-mentioned method are different, the latitudes are inconsistent, and the amount of data corresponding to each dancing factor is uneven. If used directly, it may increase the difficulty of data analysis, and the accuracy of subsequent ice-covered dancing prediction will decrease, thereby affecting the judgment of ice-covered dancing. Therefore, in order to avoid the above-mentioned problems, the present invention, after obtaining the dancing monitoring data of the transmission line, also performs data preprocessing on the dancing monitoring data. The process includes:
[0094] Convert the text records in the above dance monitoring data into numerical records;
[0095] Data cleaning, data integration and data normalization are performed on the transmission line dancing monitoring data recorded in numerical form to obtain the pre-processed dancing monitoring data;
[0096] Among them, data cleaning includes one or more of the following: missing value processing, outlier value processing and duplicate value processing. By pre-processing the relevant data of ice dancing of transmission lines in combination with relevant actual requirements, it can solve the problem of reduced accuracy of ice dancing prediction due to different data sources and data types, inconsistent latitudes, and uneven data amounts corresponding to each dancing factor. It can also improve the quality of sample data, which is conducive to making the model achieve ideal results, thereby improving the accuracy of ice dancing prediction.
[0097] In one implementation, the above-mentioned deep learning dance prediction model may include the following training process:
[0098] The acquired historical dance monitoring data is used as input data of training data;
[0099] The ice dancing index values corresponding to the historical dancing monitoring data are used as the output data of the training data;
[0100] Randomly initialize the network parameters of the stacked autoencoder through Gaussian distribution;
[0101] Based on the input data and output data of the training data, the stacked autoencoder is trained to obtain a deep learning dance prediction model.
[0102] In this implementation, the above historical dance monitoring data may include the following acquisition process:
[0103] Collect data on ice dancing cases of transmission lines;
[0104] Using the Spearman correlation calculation method, the correlation between each dancing factor and the icing dancing index in the icing dancing case data is calculated (for example, expressed as ρ);
[0105] According to the correlation between each dancing factor and the ice-covered dancing index in the ice-covered dancing case data, each dancing factor in the ice-covered dancing case data is sorted in descending order;
[0106] Select ice-covered dancing case data corresponding to a preset number of dancing factors as historical dancing monitoring data;
[0107] In this implementation, the above-mentioned ice-covered dancing case data is obtained by pre-processing and analyzing the initial ice-covered dancing case data. When the initial ice-covered dancing case data is pre-processed and analyzed, the three processes of data cleaning, data integration, and data normalization are followed. Finally, the pre-processed ice-covered dancing case data are combined into an ice-covered dancing data set. By pre-processing the initial ice-covered dancing case data, the quality of the sample data can be improved, so that when the ice-covered dancing is predicted for the transmission line in the future, it can not only solve the problem of huge and complex dancing monitoring data volume, but also enable the model to achieve ideal results; for example, the above-mentioned ice-covered dancing case data of the transmission line can include online monitoring data and artificial on-site collection data, wherein the online monitoring data is mainly data collected by micro-meteorological monitoring sensors or dancing monitoring sensors, etc., and is characterized by dense data and accuracy. Artificial on-site collection data is mainly on-site artificial collection data after the dancing disaster occurs in the line, and is characterized by small data volume and rich information.
[0108] Since the data sources and data types of the collected ice dancing data are different and there is a lack of correlation between the data, it becomes more difficult to understand the data as a whole, which in turn leads to a reduction in the accuracy of subsequent ice dancing predictions. The present invention screens the ice dancing case data by calculating the correlation between each dancing factor and the ice dancing index in the ice dancing case data, which can fully explore the correlation of the data and screen out the dancing factors that are highly correlated with the transmission line dancing, which is beneficial to improving the reliability and accuracy of the dancing prediction.
[0109] In this implementation, the above-mentioned ice dancing index can be expressed as follows:
[0110] When the ice dancing index value is 1, it means that ice dancing occurs on the transmission line;
[0111] When the ice dancing index value is 0, it means that there is no ice dancing on the transmission line.
[0112] The present invention adopts a deep learning algorithm to design Figure 2 The deep learning dancing prediction model based on stacked autoencoders shown in the figure sets the dancing factor in the ice dancing data of the transmission line that meets the correlation requirements as the input independent variable of the deep learning dancing prediction model, that is, the historical dancing monitoring data mentioned above is used as the input data of the training data, and whether the transmission line undergoes ice dancing is used as the dependent variable, that is, the ice dancing index value of the historical dancing monitoring data mentioned above is used as the output data of the training data, and different training times are set to train the deep learning dancing prediction model based on the stacked autoencoder. After multiple training times, a deep learning dancing prediction model with stable accuracy is obtained. This model is trained on the basis of global data.
[0113] Furthermore, the process of training the stacked autoencoder based on the input data and output data of the training data to obtain the deep learning dance prediction model may include:
[0114] Based on the input data of the training data, each autoencoder in the stacked autoencoder is pre-trained layer by layer in an unsupervised manner, and each autoencoder is used as a hidden layer. According to the cross entropy loss function value of each autoencoder, the network parameters of each hidden layer are updated;
[0115] Based on the output data of the training data and the last hidden layer after updating the network parameters, the network parameters of each hidden layer in the stacked autoencoder are adjusted by the back propagation algorithm until the number of iterations is reached to obtain a deep learning dancing prediction model. In this implementation, each autoencoder in the deep learning dancing prediction model is trained layer by layer in an unsupervised manner, and the overall network parameters of the model are adjusted by the back propagation algorithm, which is conducive to overcoming the disadvantage of the existing technology that the BP neural network algorithm is used to predict the dancing of ice-covered power transmission lines, which is prone to local optimal solutions;
[0116] For example, the expression of the above cross entropy loss function is as follows:
[0117]
[0118] Where L represents the cross entropy loss function value; x represents the input of the autoencoder; y represents the output of the autoencoder; x i represents the i-th input of the autoencoder; i = 1…d x ;d x represents the number of neurons in the input layer of the autoencoder; y i represents the i-th output of the autoencoder.
[0119] The deep learning dance prediction model in the present invention is constructed based on a stacked autoencoder. The stacked autoencoder can be composed of a plurality of different types of autoencoders (Auto Encoder, AE). For example, autoencoders, sparse autoencoders, and denoising autoencoders are all single autoencoders with unique functions. The main process is to train and reconstruct the input of the neural network, and use its hidden layer to reduce the dimension of the input data. The main feature of the autoencoder is that one or more hidden layers are created during the training process, and these hidden layers contain low-dimensional vectors that can summarize the meaning of the input data. Then, through a subsequent decoder, the input data is reconstructed using the low-dimensional vectors of the hidden layer. The autoencoder is an autoencoder in an unsupervised learning mode. It only needs input data, does not require labels or input-output equivalent data, and the training framework diagram is shown in the figure. Figure 3As shown in the figure, the autoencoder learns the effective representation of data in an unsupervised manner through the cyclic process of encoding and decoding, and reduces the reconstruction error by continuous optimization, thereby achieving efficient learning and reconstruction of the input data. The corresponding network structure diagram is shown in Figure 4 As shown in the figure, an autoencoder generally includes an input layer, a hidden layer, and an output layer. Each layer includes a number of neurons. The autoencoder in the stacked autoencoder can automatically learn a feature conversion h=f(ωx+b) by imagining a three-layer network that extracts and encodes the input data and then uses the extracted features to decode it into the input data. Among them, h represents the output of the autoencoder after feature conversion, x represents the input of the autoencoder, ω represents the weight, b represents the bias, and f represents the feature conversion function. Therefore, after the training is completed, the output layer of the autoencoder loses its meaning of existence, and only the hidden layer containing the learned data feature information is retained. The feature conversion process of the autoencoder (Auto Encoder, AE) is shown in the figure. Figure 5 As shown in the figure; when multiple autoencoders need to be trained, the feature expression h1=f(ωx+b) is obtained through the first training, and then h1 is used as the original information to train a new autoencoder to obtain a new feature expression, that is, several autoencoders are linked in sequence, which is the so-called stacked autoencoder (SAE). When multiple autoencoders are stacked, the following is formed: Figure 6 The feature conversion diagram shown in the figure takes the stacked autoencoder containing n autoencoders as an example. The nth autoencoder uses AE n Indicates that its input is the previous autoencoder AE n-1 The output h n-1 , the output is h n , thus forming a deep structure composed of stacked autoencoders. The training of the entire network is not generated at once, but is carried out by training the autoencoders layer by layer and finally stacking them, that is, layer-wise unsupervised pre-training.
[0120] Furthermore, the process of adjusting the network parameters of each hidden layer in the stacked autoencoder by the back propagation algorithm based on the output data of the training data and the last hidden layer after updating the network parameters may include:
[0121] The output of the last hidden layer after updating the network parameters is used as the input of the Softmax output layer, and the output of the last hidden layer is mapped to the corresponding labeled data through the Softmax function;
[0122] Based on the labeled data corresponding to the output of the last hidden layer and the output data of the training data, the network parameters of each hidden layer in the stacked autoencoder are adjusted by the back propagation algorithm. Since the deep learning dancing prediction model in the present invention is a multi-layer network structure, it can adapt to large amounts of data, overcome the defect that the prediction model in the prior art is only applicable to small amounts of data, and thus can perform efficient and accurate dancing prediction for ice dancing related data with complex data amounts.
[0123] Generally, the design of the output layer of the network structure is mainly determined by the target to be predicted. The deep learning dancing prediction model in the present invention is to solve the problem of predicting whether ice dancing occurs. It is a binary classification problem. Therefore, the number of output layer nodes is set to 2, and it is fully connected with the previous layer. The output of the two neurons needs to pass through the Softmax function. The width of the final output vector is 2, which respectively represents the probability that the input sample belongs to the dancing class and the non-dancing class, and the sum of the two probabilities is 1.
[0124] For example, the expression of the above Softmax function is as follows:
[0125]
[0126] Among them, σ(z j ) represents the j-th output z of the last hidden layer j Corresponding annotation data; e is a constant; z k represents the kth output of the last hidden layer; k=1…K; K represents the total number of data output by the last hidden layer.
[0127] Taking the stacked autoencoder with two autoencoders as an example, the forward propagation training process of the deep learning dance prediction model can include:
[0128] Before the model is formally trained, the network parameters are randomly initialized through Gaussian distribution, and then the network parameters are optimized layer by layer. First, the first autoencoder, such as Figure 7 As shown in the figure, only the input layer Input and the first hidden layer Features I are retained, and the rest of the layers are removed. Then, an output layer Output is added, and the output vector dimension of the output layer is the same as that of the input layer, thus forming an autoencoder. In the figure, [x1,…,x6] in the input layer Input is used to represent the input of the autoencoder of the input layer; in the hidden layer Features I Used to indicate the output of inputting [x1,…,x6] to the hidden layer; in the output layer Output Used to convert the output of the hidden layer The output corresponding to the input to the output layer; by training this automatic encoder, the network parameters of the first layer can be obtained.
[0129] Then the network parameters of the second autoencoder are given. Figure 8 As shown in the figure, only the first hidden layer and the second hidden layer FeaturesⅡ in the original autoencoder are retained, and the rest of the layers are removed. Then an output layer Output is added, and its output vector dimension is the same as the first hidden layer dimension, thus forming an autoencoder. The input of the autoencoder is the first hidden layer (for example, the one in the figure is ), after the second hidden layer (for example, ), and finally output at the output layer (for example, the figure uses Represented), by optimizing this automatic encoder, the second layer network parameters can be obtained.
[0130] The network parameters of the output layer are optimized in the same way as the first two layers. The network structure of the output layer is as follows: Fig. 9 As shown, using the trained autoencoder, the first-order data features obtained previously (for example, the kth data feature in the first-order data features is adopted Representation) to obtain second-order data features (for example, using ), and then Replaced with the input of the output layer, that is, the input of the Softmax classifier, through the Softmax function Mapped to the corresponding labeled data (for example, the labeled data corresponding to the output y of input x is represented by P(y=0|x)), continuously trained, and automatically adjusted to obtain the trained automatic encoders of each layer, and these basic structures are combined to form Fig.10 The deep learning structure shown contains an input layer, multiple hidden layers and a Softmax output layer.
[0131] The process of optimizing these two autoencoders is greedy pre-training layer by layer. Since each autoencoder only optimizes one hidden layer, the parameters of each hidden layer are only locally optimal. After optimizing these two autoencoders, the optimized network parameters are used as the initial values of the neural network, and then the entire network is fine-tuned through back propagation until the network converges.
[0132] The above steps take the model containing two autoencoders as an example to illustrate the forward propagation training process of the deep learning dancing prediction model. However, in the actual training process, when designing the hidden layer, it is necessary to consider that the network structure must have sufficient complexity, but it should not be too complex to produce huge parameters, which makes the model difficult to train and prone to overfitting. The number of hidden layers of the present invention is determined by the number of layers of the stacked autoencoders, so it is necessary to determine a better number of autoencoders. In order to determine the final number of hidden layers, taking into account the data type and the amount of data, the number of hidden layers is first set to be from 2 to 6, and the accuracy of the wire dancing prediction results at the corresponding number of layers is analyzed in turn. The results are shown in Table 1:
[0133] Table 1 The impact of the number of hidden layers on prediction performance
[0134]
[0135]
[0136] In Table 1, Train Accuracy (B) is the prediction accuracy of the deep learning dancing prediction model in the training set, and MSE is the mean square error of the regression loss function. The table shows the dancing prediction accuracy and mean square error corresponding to different numbers of hidden layers when the number of nodes in the fixed hidden layer is 8. As shown in Table 1, the number of layers of the network structure, that is, the number of autoencoders, has a certain influence on the prediction accuracy of the transmission line dancing. Considering the nature of deep learning itself, this is because the depth of the feature can determine the various characteristics of the feature. It can be seen from this table that increasing the number of hidden layers is beneficial to improving the model's prediction accuracy for wire dancing to a certain extent. When the number of hidden layers is 4, the stability of the model and the prediction accuracy of the dancing have achieved relatively good results. Therefore, the number of hidden layers of the model of the present invention is preferably set to 4 layers.
[0137] In addition, the number of neurons in the hidden layer will directly affect the complexity of the neural network, thereby affecting the accuracy of the neural network prediction. At present, there is no accurate regulation or formula for direct calculation in the field of machine learning. To address this problem, the present invention uses three formulas with high universality in the field of machine learning to jointly determine the optimal number range of nodes in a hidden layer. First, a trial-and-error method is used to conduct experiments with different structures to determine the optimal number of nodes for the deep learning dance prediction model. The corresponding calculation formula is as follows:
[0138]
[0139] Among them, n1 represents the number of neurons in the hidden layer, m1 represents the number of neurons in the output layer, n represents the number of neurons in the input layer, a is a constant between [1,10], i′ is a real number between [0,n], and k′ represents the number of samples.
[0140] After obtaining the optimal number range of hidden layer neurons through the above formula, in order to compare and study the impact of various network structures on the final effect of the model, a comparative test is carried out through the following steps:
[0141] To determine the number of hidden layer nodes, according to the optimal number of hidden layer calculation formula in the previous step, the optimal number is between 4 and 10. Therefore, the trial and error method is adopted in this interval, and the number of hidden layer nodes is {4, 5, 6, 7, 8, 9, 10} respectively. The performance of the model is analyzed. At the same time, for the convenience of research, the number of nodes in all hidden layers is set to the same. The prediction accuracy is based on the time when the model prediction accuracy curve tends to be stable. The different results are shown in Table 2.
[0142] Table 2 The impact of the number of hidden layer nodes on prediction performance
[0143]
[0144]
[0145] It can be found from Table 2 that, similar to the process of selecting the number of hidden layers, the prediction accuracy of the power transmission line galloping prediction model also changes with the change of the number of hidden layer nodes, and generally shows a trend of first rising and then stabilizing. When the number of hidden layer nodes is 10, the prediction effect of the model reaches a relatively ideal state. Therefore, the present invention preferably sets the number of hidden layer nodes in the deep learning galloping prediction model to 10.
[0146] Through the above steps, the present invention determines the number of layers of stacked autoencoders and the number of nodes in the hidden layer in the entire deep learning dance prediction model. In summary, the structure of the model has been finalized, which is a deep learning framework with 9 input nodes, 4 hidden layer structures, each layer has 10 nodes, and the output layer has two nodes. The overall network structure diagram of the model is as follows Fig.11As shown, the structure of the model is from bottom to top, including the input part and the output part. The input part excludes the input layer, and each remaining layer is an autoencoder, in which each autoencoder is trained separately, and the output of the previous autoencoder is used as the input of the next autoencoder, and the training is carried out in sequence. The optimal goal of training is to minimize the error between the reconstructed output and the original input. According to this method, training in sequence will eventually obtain a network model based on stacked autoencoders, replace the output layer structure of the last autoencoder with the Softmax output, and use the value of the power transmission line dancing result as the final data label to adjust the model. The present invention can better capture the complex dynamic characteristics of the ice-covered dancing phenomenon of the transmission line by optimizing the network structure of the deep learning dancing prediction model, improve the prediction accuracy of the model for key indicators such as the time, frequency, and amplitude of the dancing, and can also improve the adaptability, adaptation range and initiative of the model, and can perform short-term, medium-term, and long-term dancing predictions according to different needs, and improve the interpretability and robustness of the model. The final output result of the model is the probability value of predicting whether the transmission line will dance, and the sum of the probabilities of the output of the output layer nodes is 1. In the Softmax output layer, the input feature passed down from the upper layer is represented by R, for example, then the probability of the input being classified into category i0 is as follows:
[0147]
[0148] Among them, P(Y=i0|R,W,B) means the probability value of the output category i0 when the input feature is R, the weight of the Softmax output layer is W, and the bias of the Softmax output layer is B; Represents the weight of the output category i0; Indicates the bias of output category i0; e is a constant; j0 is an arbitrary output category; Indicates the weight of the output category j0; In summary, the training process of the deep learning dance prediction model in the present invention is mainly divided into the following five steps:
[0149] Step 1: Input the preprocessed training samples as input vectors to the first-layer autoencoder, and train it with the goal of minimizing the loss function.
[0150] Step 2: Use the output of the first layer as the input of the second autoencoder.
[0151] Step 3: Train other layers in turn according to the second method.
[0152] Step 4: After training in the previous steps, a multi-layer autoencoder is obtained. The output of the last layer of autoencoder is used as the input of the output layer of the overall structure, and the structure is initialized through supervised learning or random training.
[0153] Step 5: Use partial data to fine-tune the overall structural parameters using the Back Propagation method in a supervised learning manner.
[0154] By training the network structures of each layer of the deep learning dancing prediction model through the above steps, the complex dynamic characteristics of the ice dancing phenomenon of the transmission line can be better captured, and the prediction accuracy of the model for key indicators such as the time, frequency, and amplitude of the dancing can be improved. The adaptability, scope of adaptation, and initiative of the model can also be improved, and short-term, medium-term, and long-term dancing predictions can be performed according to different needs, thereby improving the interpretability and robustness of the model.
[0155] In view of the problems that the prior art does not combine the line body information when predicting the ice dancing of transmission lines, but only predicts the line dancing through meteorological forecast information, and the neural network method adopted is only applicable to small data amounts and is prone to local optimal solutions, which leads to decreased computational efficiency and accuracy when actually predicting ice dancing, the present invention proposes a method for predicting ice dancing of transmission lines, and constructs a deep learning dancing prediction model based on stacked autoencoders by combining meteorological monitoring data and line monitoring data. Since the stacked autoencoder contains a multi-layer network structure, it can make full use of the advantages of deep learning algorithms such as strong learning ability and good portability. When the data amount is large, the accuracy of the model can be continuously improved with the increase of training times. In addition, by combining forward propagation and back propagation algorithms in the model training process, it can promote the model to find a better solution, improve the generalization ability and prediction accuracy of the model, and thus improve the reliability and accuracy of ice dancing prediction.
[0156] Embodiment 2:
[0157] A method for predicting ice dancing on a power transmission line provided by the present invention is illustrated by a specific embodiment. Specifically, the experimental platform of this embodiment adopts a laptop computer with a win10 system, uses the IDE integrated development tool JetBrainPycharm as a model building platform, and uses Python for algorithm programming, including data preprocessing and post-model building.
[0158] When predicting ice-covered dancing of transmission lines, the dancing monitoring data of transmission lines collected from various sources are divided into two categories according to whether ice-covered dancing occurs on the transmission lines. Transmission line dancing prediction is a complex system problem based on data learning. An important premise based on statistics or machine learning theory is to have enough high-quality sample data, which can be used to train accurate models. When the sample quality is poor, it is difficult for the model to achieve the desired effect. Therefore, in the data preprocessing stage, this embodiment establishes quantization and formatting rules according to the four steps of data cleaning, data integration, data transformation and data reduction, and selects high-quality data sets for model construction.
[0159] (1) Preprocessing and analyzing the data, first of all, the text records in the collected dancing monitoring data are converted into numerical records. The specific content is shown in Table 3:
[0160] Table 3 Numerical records of the collected dancing monitoring data
[0161]
[0162] Terrain: The terrain at the location of a certain gear tower is transformed according to the plain record 1, mountain record 2, and hilly record 3.
[0163] Altitude: Convert the values according to Table 3.
[0164] Number of tower circuits: data conversion is performed according to the principle that single circuit is recorded as 1 and double circuit is recorded as 2.
[0165] Wire arrangement: Data transformation is performed according to vertical arrangement (recorded as 1), horizontal arrangement (recorded as 2), and triangular arrangement (recorded as 3).
[0166] Number of wire splits: single split is 1, double split is 2, triple split is 3, quad split is 4, sextuple split is 6.
[0167] Whether to install the anti-dancing device: If installed, record 1; if not installed, record 2.
[0168] Microtopography: 1 record of pass, 2 records of watershed, 3 records of river valley wind channel, and 4 records not included.
[0169] Ice area: light ice area records 1, medium ice area records 2, heavy ice area records 3.
[0170] Prevailing wind direction: measure in counter-clockwise direction.
[0171] (2) Data cleaning
[0172] Data cleaning mainly includes two aspects: missing value processing and outlier processing. Some of the sample data is missing a single-dimensional or multi-dimensional data. For samples with missing single-dimensional data, this embodiment uses the Lagrange interpolation method provided by the SciPy library of Python to interpolate missing values; for samples with missing multi-dimensional data, deletion is adopted to ensure accuracy. The algorithm formula for Python to implement Lagrange interpolation is as follows:
[0173]
[0174] Where:
[0175]
[0176] Among them, L ′ (q) represents the Lagrange interpolation polynomial with respect to the random variable q; represents the Lagrange basic polynomial of the j0th data point in the random variable q; j0=0...J; J represents the total number of data points; represents the dependent variable of the j0th data point; represents the independent variable of the i2th data point; represents the independent variable of the j0th data point; x J represents the independent variable of the Jth data point;
[0177] During the data collection process, the dancing records of some transmission lines are manually summarized based on experience and some monitoring equipment data after the dancing disaster occurs. Therefore, some abnormal values are inevitable. According to the actual characteristics of such abnormal data, this embodiment adopts the operations of treating them as missing values or correcting the average value, and deleting some records.
[0178] (3) Data Integration
[0179] The transmission line galloping data is obtained by statistically recording galloping disaster accidents in different regions of the country. Therefore, this embodiment adopts a named entity recognition method (NER) to solve a series of problems such as some names have the same meaning but different meanings, the same meaning but different names, and inconsistent units. It also uses redundant attribute recognition to deal with the repeated appearance of the same attribute, inconsistent naming of the same attribute, and other problems.
[0180] (4) Data transformation
[0181] Data transformation mainly includes five aspects: simple function transformation, normalization, continuous attribute discretization, attribute construction, and wavelet transformation. The dancing data needs to be transformed by mathematical functions. Therefore, in this embodiment, square, square root, logarithm, and difference operations are used to normalize the data distribution. In the dancing data, the humidity attribute column is all recorded in percentages, which need to be converted into scientific notation of decimals.
[0182] (5) Data Specification
[0183] Data reduction includes attribute reduction and value reduction. Attribute reduction mainly uses principal component analysis (PCA) on more than 5 million monitoring data, searches for n0 K0-dimensional orthogonal vectors that best represent the data, and projects the original redundant and complex data into a smaller space. Value reduction uses cluster analysis methods to achieve discreteness and concept stratification by discretizing numerical attributes, and realizes numerical reduction of dancing data. The calculation process of the PCA method is as follows:
[0184] 1) Select the minimum K0 value that makes the following equation true:
[0185]
[0186] 2) Decentralize samples:
[0187]
[0188] 3) Calculate the covariance matrix:
[0189]
[0190] 4) Take the eigenvector corresponding to the largest first K0 eigenvalues:
[0191]
[0192] in, represents the value of the i3th data point; i3=1…n0; n0 represents the number of data obtained by principal component analysis; represents the approximate value of the i3th data; T represents transpose; Cov represents the covariance matrix; Represents the eigenvector corresponding to the K0th eigenvalue; K0 represents the total dimension of the data obtained by principal component analysis.
[0193] (6) To determine the final combination of input vectors, the Spearman correlation coefficient is used as the basis for selecting input variables. To determine the optimal combination of input feature vectors of the input layer of the model, based on the network structure and parameter training optimization method designed in Example 1, different parameter combinations were trained and compared. We conducted a parameter combination experiment as shown in Table 4:
[0194] Table 4 Model different input combinations and results
[0195]
[0196]
[0197] It can be seen from the above table that the optimal parameter combination is the combination of weather conditions and line conditions, and the prediction accuracy reaches 0.8013. Therefore, the features of combination 2 are selected as the input of the model for ice dancing prediction. Since meteorology is the most important condition that causes ice dancing on transmission lines, and my country's geographical area spans a large range from north to south and from east to west, resulting in large differences in the main climates of different provinces. In order to avoid insufficient generalization of the model, the present embodiment uses nationwide transmission lines as the research object. By analyzing the influence of the number of hidden layer nodes and the number of hidden layers on the results of wire dancing prediction, the network structure of the transmission line dancing prediction model is determined as follows: the input layer includes 9 input nodes, 4 hidden layers, each hidden layer has 10 nodes, and the output layer has two nodes. The sample is iterated 50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, and 600 times (epoch). The accuracy change curve and loss function during the training process are shown as follows. Fig.12 As shown in the figure, it can be seen that during the entire training process, with the continuous increase in the number of training times, the prediction accuracy of the model continues to improve, and the loss curve gradually decreases until it reaches the final convergence. Finally, the model prediction accuracy we obtained is shown in Table 5:
[0198] Table 5 Prediction accuracy of the model on the test set
[0199]
[0200] In the transmission line galloping prediction model of this embodiment, the performance analysis of the prediction model is mainly the performance measurement of the regression task. The more common performance indicators are the regression loss function mean square error (MSE) and the mean absolute error (MAE). The mean square error of the regression loss function is to sum the square of the distance between the predicted value and the true value. The expression of the mean square error MSE is as follows:
[0201]
[0202] The regression loss function, mean absolute error (MAE), is used to sum the absolute value of the difference between the target value and the predicted value. The expression of mean absolute error is as follows:
[0203]
[0204] Where N represents the total number of data; y i represents the i-th output of the autoencoder; represents the true value of the i-th autoencoder;
[0205] In the learning and training cycle of the transmission line gallop prediction model, it is necessary to determine the coordinate value where the loss function reaches the minimum value. The closer the true value is to the predicted value, the smaller the loss. In theory, when the true value is equal to the predicted value, the value of the loss function is the smallest. The MSE value is the average value of all target values, and the MAE value is the midpoint value of all sample point target values. It can be concluded that the midpoint value is more robust than the mean value in abnormal situations, and MAE is more stable than MSE in the presence of outliers.
[0206] At the same time, in terms of neural network learning, since the slope of the MAE line remains unchanged, that is, the same update gradient is used for small losses and large losses, resulting in learning effect defects, and the learning rate needs to be constantly adjusted to reduce the degree of defects. The curve coordinates of MSE show that it has better adaptability to loss changes than MAE, that is, the larger the loss, the larger the gradient, and the smaller the loss, the smaller the gradient. When the learning cycle of the neural network model ends, MSE can produce more ideal results than MAE. In this embodiment, these two performance indicators are selected to perform auxiliary analysis and evaluation on two transmission line dancing prediction models.
[0207] In order to better study the advantages and disadvantages of each deep learning dancing prediction model, this embodiment conducts a comprehensive analysis and comparison experiment on the dancing prediction models built using various algorithms. First, for this embodiment, the following transmission line dancing prediction schemes are experimentally compared: the deep learning transmission line dancing prediction model based on stacked autoencoders and other existing transmission line dancing prediction models are experimentally compared. The other existing transmission line dancing prediction models use traditional BP neural network algorithms and support vector machine algorithms for dancing prediction. When the BP neural network algorithm is used in the prior art to predict the dancing of ice-covered transmission lines, the accuracy is significantly improved compared to the traditional physical model simulation method. However, in actual engineering operations, it is found that the BP neural network has the disadvantages that the number of nodes in the hidden layer has not been accurately specified and that local optimal solutions are prone to exist, which ultimately leads to unstable prediction accuracy of the neural network. Therefore, from the perspective of objective needs, there is an urgent need for a prediction and early warning model that can make full use of the current massive transmission line galloping monitoring data, overcome the existence of erroneous data in the massive data without being affected, realize the transmission line galloping early warning, and has strong adaptability, a wide range of adaptability, strong initiative, and can carry out short-term, medium-term, and long-term galloping forecasting technology according to different needs, in order to provide accurate early warning information and decision-making technology to avoid wire galloping disasters caused by severe weather. At the same time, higher requirements are put forward for the precision and accuracy of the galloping early warning, which can effectively improve the efficiency of operation and maintenance work, formulate differentiated defense measures in advance and in a targeted manner, reduce the impact of wire galloping on the overall power grid, and improve the reliability and safety of power grid operation. In order to objectively compare and analyze the above dancing prediction models, this embodiment selects the historical dancing monitoring data in Example 1 and divides them into a training set, a test set and a validation set. Since the training set and the test set have been used in the model training process, some features of the data have been captured by the model and objectively cannot be used again as a test of the model accuracy. Therefore, in this part, the validation set will be used to verify the accuracy of the model, and the mean square error (MSE) and mean absolute error (MAE) will be used to evaluate the model. The prediction accuracy on the validation set and other verification standards are shown in Table 6. It can be seen from the data in the table that when the BP neural network algorithm is used to predict the dancing of ice on the transmission line, the accuracy is significantly improved compared with the traditional physical model simulation method. However, in actual engineering operations, it is found that the BP neural network has the disadvantages that the number of hidden layer nodes has not been accurately specified and that local optimal solutions are prone to exist, which ultimately leads to unstable prediction accuracy of the neural network.
[0208] Table 6 Effects of dancing prediction models based on different types of machine learning on the validation set
[0209]
[0210] This embodiment can illustrate a method for predicting ice dancing of transmission lines provided by the present invention. By combining multi-source data such as meteorological monitoring data and line monitoring data and a knowledge graph of multi-modal information, the problem of the current huge amount of ice dancing monitoring data and the shortcomings of insufficient mining of dancing fault data information are solved. A deep learning dancing prediction model with a multi-layer network structure is designed, which realizes the prediction of ice dancing of a large number of transmission lines and improves the accurate prediction and early warning level of ice dancing of transmission lines.
[0211] Embodiment 3:
[0212] Based on the same inventive concept, the present invention also provides a transmission line ice dancing prediction system, the structural composition diagram is as follows: Fig.13 As shown, including:
[0213] Data acquisition module: used to obtain the dancing monitoring data of the transmission line;
[0214] Dancing prediction module: Based on the dancing monitoring data of the transmission line, the pre-trained deep learning dancing prediction model is used to obtain the prediction results of ice dancing of the transmission line;
[0215] Among them, the deep learning dance prediction model in the dance prediction module uses historical dance monitoring data as the input data of training data, and the ice-covered dance index value corresponding to the historical dance monitoring data as the output data of training data. The stacked autoencoder is trained, and the stacked autoencoder includes an input layer, at least two consecutive hidden layers and a Softmax output layer.
[0216] The dancing monitoring data in the above-mentioned data acquisition module includes one or more of the following: meteorological monitoring data and line monitoring data;
[0217] The dancing factors in the above-mentioned meteorological monitoring data include one or more of the following: temperature, humidity, precipitation form, precipitation amount, wind speed and wind direction angle;
[0218] The dancing factors in the above-mentioned line monitoring data include one or more of the following: line span, conductor model, conductor cross-sectional area, number of conductor splits, line voltage level, current type, line longitude and latitude, line design tension, line body, temperature difference, dancing occurrence time, dancing amplitude and dancing frequency.
[0219] After the data acquisition module acquires the transmission line dancing monitoring data, it also includes:
[0220] The galloping monitoring data of the transmission line are cleaned, integrated and normalized respectively to obtain the pre-processed galloping monitoring data;
[0221] The above-mentioned data cleaning includes one or more of the following: missing value processing, outlier value processing and duplicate value processing.
[0222] The deep learning dance prediction model in the above dance prediction module includes the following training process:
[0223] The acquired historical dance monitoring data is used as input data of training data;
[0224] The ice dancing index values corresponding to the historical dancing monitoring data are used as the output data of the training data;
[0225] Randomly initialize the network parameters of the stacked autoencoder through Gaussian distribution;
[0226] Based on the input data and output data of the training data, the stacked autoencoder is trained to obtain a deep learning dance prediction model.
[0227] The historical dance monitoring data in the above dance prediction module includes the following acquisition process:
[0228] Collect data on ice dancing cases of transmission lines;
[0229] The Spearman correlation calculation method is used to calculate the correlation between each dancing factor and the ice dancing index in the ice dancing case data;
[0230] According to the correlation between each dancing factor and the ice-covered dancing index in the ice-covered dancing case data, each dancing factor in the ice-covered dancing case data is sorted in descending order;
[0231] The ice-covered dancing case data corresponding to a preset number of dancing factors are selected as the historical dancing monitoring data.
[0232] The ice dancing index in the above-mentioned dancing prediction module is expressed as follows:
[0233] When the ice dancing index value is 1, it means that ice dancing occurs on the transmission line;
[0234] When the ice dancing index value is 0, it means that there is no ice dancing on the transmission line.
[0235] The stacked autoencoder is trained based on the input data and output data of the training data in the above-mentioned dance prediction module to obtain a deep learning dance prediction model, including:
[0236] Based on the input data of the training data, each autoencoder in the stacked autoencoder is pre-trained layer by layer in an unsupervised manner, and each autoencoder is used as a hidden layer. According to the cross entropy loss function value of each autoencoder, the network parameters of each hidden layer are updated;
[0237] Based on the output data of the training data and the last hidden layer after updating the network parameters, the network parameters of each hidden layer in the stacked autoencoder are adjusted by the back propagation algorithm until the number of iterations is reached, and a deep learning dancing prediction model is obtained.
[0238] In the above-mentioned dance prediction module, based on the output data of the training data and the last hidden layer after updating the network parameters, the network parameters of each hidden layer in the stacked autoencoder are adjusted through the back propagation algorithm, including:
[0239] The output of the last hidden layer after updating the network parameters is used as the input of the Softmax output layer, and the output of the last hidden layer is mapped to the corresponding labeled data through the Softmax function;
[0240] Based on the labeled data corresponding to the output of the last hidden layer and the output data of the training data, the network parameters of each hidden layer in the stacked autoencoder are adjusted through the back-propagation algorithm.
[0241] The expression of the Softmax function in the above-mentioned dancing prediction module is as follows:
[0242]
[0243] Among them, σ(z j ) represents the j-th output z of the last hidden layer j Corresponding annotation data; e is a constant; z k represents the kth output of the last hidden layer; k=1…K; K represents the total number of data output by the last hidden layer.
[0244] Embodiment 4:
[0245] like Fig.14 As shown, the present invention also provides an electronic device, which may be a computer device, a single-chip device, an intelligent mobile device, etc. The electronic device in this embodiment may include a processor, a memory, a transceiver component, etc. The memory, the processor, and the transceiver component are connected via a bus; the memory may be used to store an execution program, and an exemplary execution program may include instructions; the processor is used to execute the instructions stored in the memory. The memory may also be used to store data, which may be called and / or modified when the instructions are executed.
[0246] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in a storage medium to implement the corresponding method flow or corresponding functions, so as to implement the steps of a transmission line ice dancing prediction method in the above-mentioned embodiment.
[0247] Embodiment 5:
[0248] Based on the same inventive concept, the present invention also provides a readable storage medium, specifically an electronic device readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It can be understood that the storage medium here can include both built-in storage media in electronic devices and, of course, extended storage media supported by electronic devices. The storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more execution programs (including program codes). It should be noted that the storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor loads and executes one or more instructions stored in the storage medium, which can implement the steps of a transmission line ice dancing prediction method in the above embodiment.
[0249] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0250] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0251] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0252] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0253] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the protection scope of the claims to be approved.
Claims
1. A method for predicting ice dancing of transmission lines, characterized in that: include: Obtaining transmission line galloping monitoring data; Based on the dancing monitoring data of the transmission line, a pre-trained deep learning dancing prediction model is used to obtain a prediction result of ice dancing of the transmission line; Among them, the deep learning dancing prediction model is obtained by training the stacked autoencoder with historical dancing monitoring data as the input data of training data and the ice-covered dancing index value corresponding to the historical dancing monitoring data as the output data of training data. The stacked autoencoder includes an input layer, at least two consecutive hidden layers and a Softmax output layer.
2. The method according to claim 1, characterized in that The deep learning dance prediction model includes the following training process: The acquired historical dance monitoring data is used as input data of training data; Using the ice-covered dancing index value corresponding to the historical dancing monitoring data as output data of training data; Randomly initialize the network parameters of the stacked autoencoder through Gaussian distribution; Based on the input data and output data of the training data, the stacked autoencoder is trained to obtain a deep learning dance prediction model.
3. The method according to claim 2, characterized in that The historical dance monitoring data includes the following acquisition process: Collect data on ice dancing cases of power transmission lines; The Spearman correlation calculation method is used to calculate the correlation between each dancing factor and the icing dancing index in the icing dancing case data; According to the correlation between each dancing factor and the icing dancing index in the icing dancing case data, sorting each dancing factor in the icing dancing case data in descending order; The ice-covered dancing case data corresponding to a preset number of dancing factors are selected as the historical dancing monitoring data.
4. The method according to claim 3, characterized in that The ice dancing index is expressed as follows: When the ice dancing index value is 1, it indicates that ice dancing occurs on the transmission line; When the ice dancing index value is 0, it indicates that no ice dancing occurs on the transmission line.
5. The method according to claim 2, characterized in that The stacked autoencoder is trained based on the input data and output data of the training data to obtain a deep learning dance prediction model, including: Based on the input data of the training data, each autoencoder in the stacked autoencoder is subjected to layer-by-layer unsupervised pre-training, and each autoencoder is used as a hidden layer, and the network parameters of each hidden layer are updated according to the cross entropy loss function value of each autoencoder; Based on the output data of the training data and the last hidden layer after updating the network parameters, the network parameters of each hidden layer in the stacked autoencoder are adjusted by a back propagation algorithm until the number of iterations is reached, thereby obtaining a deep learning dance prediction model.
6. The method according to claim 5, characterized in that The output data based on the training data and the last hidden layer after updating the network parameters, adjusting the network parameters of each hidden layer in the stacked autoencoder by a back propagation algorithm, comprises: The output of the last hidden layer after updating the network parameters is used as the input of the Softmax output layer, and the output of the last hidden layer is mapped to the corresponding labeled data through the Softmax function; Based on the labeled data corresponding to the output of the last hidden layer and the output data of the training data, the network parameters of each hidden layer in the stacked autoencoder are adjusted by a back propagation algorithm.
7. The method according to claim 6, characterized in that The expression of the Softmax function is as follows: Among them, σ(z j ) represents the j-th output z of the last hidden layer j Corresponding annotation data; e is a constant; z k represents the kth output of the last hidden layer; k=1…K; K represents the total number of data output by the last hidden layer.
8. The method according to any one of claims 1 to 7, characterized in that: The dancing monitoring data includes one or more of the following: meteorological monitoring data and line monitoring data; The dancing factors in the meteorological monitoring data include one or more of the following: temperature, humidity, precipitation form, precipitation amount, wind speed and wind direction angle; The dancing factors in the line monitoring data include one or more of the following: line span, conductor model, conductor cross-sectional area, number of conductor splits, line voltage level, current type, line longitude and latitude, line design tension, line body, temperature difference, dancing occurrence time, dancing amplitude and dancing frequency.
9. The method according to claim 1, characterized in that After acquiring the dancing monitoring data of the transmission line, and before obtaining the prediction result of ice-covered dancing of the transmission line by using a pre-trained deep learning dancing prediction model based on the dancing monitoring data of the transmission line, the method further includes: Respectively performing data cleaning, data integration and data normalization processing on the dancing monitoring data of the transmission line to obtain pre-processed dancing monitoring data; The data cleaning includes one or more of the following: missing value processing, outlier value processing and duplicate value processing.
10. A transmission line ice dancing prediction system, characterized in that: include: Data acquisition module: used to obtain the dancing monitoring data of the transmission line; A dancing prediction module is used to obtain a prediction result of ice dancing of the transmission line based on the dancing monitoring data of the transmission line and using a pre-trained deep learning dancing prediction model; Among them, the deep learning dance prediction model in the dance prediction module is obtained by training the stacked autoencoder with historical dance monitoring data as the input data of training data and the ice-covered dance index value corresponding to the historical dance monitoring data as the output data of training data. The stacked autoencoder includes an input layer, at least two consecutive hidden layers and a Softmax output layer.
Citation Information
Cited By
Method and system for detecting icing galloping of power transmission and transformation line based on optical fiber sensor
CN119803542A
Imbalanced sample galloping prediction method and system based on meteorological data
CN120579680A
A method and system for predicting unbalanced sample galloping based on meteorological data
CN120579680B
Power transmission line icing galloping prediction method and system based on improved time sequence large model, equipment and storage medium
CN120724293A
A power transmission line icing galloping prediction method and system, device, and storage medium based on an improved time sequence large model
CN120724293B
