A dynamic forecasting method for industrial intermittent energy data combining information characteristics and production planning
Through the deep deterministic strategy gradient algorithm and time-frequency analysis of information features, combined with the production plan, the time-frequency features of industrial data are extracted, solving the accuracy problem of long-term forecasting of periodic data in complex industrial systems, and achieving high precision and dynamic adjustment. The prediction effect provides scientific support for industrial energy dispatch.
Patent Information
- Application Number
- CN202210498052.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology is difficult to achieve accurate long-term prediction of periodic time series data in complex industrial systems, especially in dynamic environments. Traditional mechanism modeling methods are difficult to meet the needs of industrial production.
The Deep Deterministic Policy Gradient Algorithm (DDPG) is used combined with time-frequency analysis of information features to extract time-domain and frequency-domain features in industrial data through mode matching methods, construct a two-dimensional feature vector, and combine it with the production plan to perform reinforcement learning. Realize dynamic prediction of data.
It achieves high-precision long-term prediction of periodic data, can dynamically adjust prediction results, provides scientific and reliable data support, and provides richer information for industrial energy dispatch.
Smart Images

Figure CN114862021B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information technology, and involves technologies such as feature extraction and time-frequency analysis of information elements, reinforcement learning, and data-driven modeling. It is a method for predicting quasi-periodic data in industry by combining a deep deterministic policy gradient algorithm (DDPG) with effective time-frequency features in information fragments. First, the information elements are divided into data fragments with effective equal time intervals, and then a method for describing information particles based on module basis matching is used to extract time domain features and frequency domain features that can describe the periodic properties of industry from different data fragments, and describe them by constructing a two-dimensional feature vector. After that, the two-dimensional feature vector is combined with the production plan, and the DDPG method is used for modeling and prediction, and the obtained prediction information is used to realize dynamic prediction of data through the feature vector anti-reconstruction method. This method has high prediction accuracy, and the calculation efficiency meets the application requirements of the industrial site, providing scientific and effective decision support for subsequent energy optimization scheduling. Background Art
[0002] Quasi-periodic time series data are widely present in process industrial production and the generation and consumption of secondary energy. Accurate prediction of such data can enable staff to make advance operations for changes in target variables such as production, sales, and storage of industrial systems in the future, thereby improving the production efficiency of industrial systems and reducing the risk factor in industrial production. However, in actual industrial processes, due to the strong dynamics of complex systems and the mutual coupling of various modules in the system, traditional mechanism modeling methods are difficult to implement (Zhu Q, Azar A T. Complex System Modelling and Control Through Intelligent Soft Computations [M]. Springer International Publishing, 2015). With the continuous upgrading of data acquisition and storage technology, a data-driven modeling method has received widespread attention (Zhang Jianming, Zhao Zhonggai, Liu Fei. A multi-directional CPLS method and its application in intermittent process monitoring [J]. Journal of Jiangnan University (Natural Science Edition), 2014, 13 (03): 282-286.). That is, when the accuracy of the mechanism model cannot meet the requirements, knowledge information can be mined from historical data through data-driven methods, which is suitable for nonlinear and complex industrial systems (Zhang Wei, Zhang Feng. A review of data-driven time series prediction methods (English) [J]. Journal of Shaanxi University of Science and Technology (Natural Science Edition), 2010, 28(03): 22-27). Therefore, the research work on long-term prediction methods for relevant data has important practical significance.
[0003] For the time series prediction problem of industrial data, experts and scholars usually use the method of data-driven modeling of time series data for prediction, such as predicting time series through neural networks (NNs), or using support vector machines (SVM) to achieve long-term prediction of data. Support vector machines have extremely excellent learning performance and good short-term prediction capabilities, so they are widely used in time series prediction problems. Wang Leiming's team used support vector machines (SVM) optimized by PSO, Grid and GA algorithms to train the strength and slump of pastes with different proportions, and optimized the paste ratio by analyzing and comparing the prediction results. (Wang Leiming, Yin Shenghua, Yan Zepeng, Cui Hejia, Liu Peizheng, Deng Bona. Prediction and optimization method of coarse aggregate paste performance based on SVM [J / OL]. Journal of the Chinese Society of Nonferrous Metals: 1-19 [2022-04-14].). Liu Xuyang improved the PSO-LSSVM model by using the adaptive weight method, and used it to predict industrial carbon emissions in Hebei Province (Liu Xuyang. Research on the prediction of industrial carbon emissions in Hebei Province based on the improved PSO-LSSVM model [D]. North China Electric Power University, 2020.). And proposed relevant measures for the factors affecting carbon emissions, which has a certain reference for the development of a low-carbon economy. However, due to the different production techniques in industrial production, there are too many factors affecting carbon emissions, making it difficult to achieve a completely accurate prediction of carbon emissions. In addition, the echo state network (ESN) in the neural network also shows its unique effect on time series prediction problems. The dynamic reservoir structure (DR) contained therein enables it to have the ability to make short-term predictions, so it can have good results in time series prediction problems. By using an improved echo state network model (Zhao Yueai, Xi Lindong. Research on combustible gas anomaly detection based on improved echo state network [J]. Journal of Taiyuan Normal University (Natural Science Edition), 2022, 21(01): 26-33.), accurate prediction of combustible gas related information can be achieved. However, this method is difficult to dynamically adjust to changes in actual conditions, making it less than ideal in practical applications in a constantly changing environment. In order to enable the model to meet the dynamic environment in industrial production, using reinforcement learning to learn the characteristic curves of historical data is an effective method. Summary of the invention
[0004] The present invention proposes a long-term prediction model for quasi-periodic data that combines information features with production plans DDPG. By analyzing the data in industrial production, it is divided into data segments of equal time length, and then the time domain features and frequency domain features that can describe the implicit periodic characteristics in industrial production are extracted from the data segments divided after data preprocessing by the model matching method, and described in the form of two-dimensional vectors. In order to mine the dependency relationship between data features under this structure and its change characteristics over time, the present invention uses the DDPG algorithm for prediction. First, the three-dimensional vector formed by combining the time-frequency features with the production plan in the corresponding time period is provided as input for the action network, and the real-time prediction value is output through the action network. Then, the evaluation network analyzes the action of the action network and the observed value of the actual situation to give an "evaluation", and the reinforcement learning process is continuously updated according to the "evaluation" to continuously improve it. The trained model is used to predict the feature vector of the data. Finally, the final time series prediction result is obtained by the method of feature vector anti-reconstruction. The method has high long-term prediction accuracy and can provide more reliable and scientific data support for subsequent energy scheduling work.
[0005] The technical solution of the present invention:
[0006] The dynamic prediction method of industrial intermittent energy data combining information characteristics and production plans has the following steps:
[0007] (1) Reading of field data: Read the required energy data from the real-time database in industrial production.
[0008] (2) Preprocessing of field data: The read energy data is divided into limited data segments according to equal time intervals.
[0009] (3) Feature extraction: The model matching method is used to extract the time domain features and frequency domain features that can describe the characteristics of the industrial production cycle from the limited data segments divided in the preprocessing, and present them in the form of two-dimensional vectors.
[0010] (4) Construct the input and output of the DDPG algorithm: The extracted feature factors are combined with the production plan information within the same time period as input information and input into the action network. The action network outputs real-time prediction values, and then the evaluation network evaluates whether the action of the action network conforms to the actual observation value. After that, the entire network is continuously updated according to the evaluation information given by the evaluation network. Continuously training multiple sets of data makes the model gradually perfect.
[0011] (5) Long-term prediction: The long-term prediction results obtained from DDPG are finally reconstructed into time series data using the eigenvector deconstruction method.
[0012] Beneficial effects of the present invention: The present invention proposes a new information feature and production plan DDPG model for predicting quasi-periodic energy data. The model matching method is used to extract the periodic features in the energy data, and describe it in the form of a two-dimensional vector. The obtained two-dimensional vector is combined with the production plan and input into DDPG for modeling. The historical information is learned through reinforcement learning to learn the relationship between the time-frequency features and the dynamic characteristics of the time series. Experiments were conducted using multiple groups of quasi-periodic energy data to verify the long-term prediction accuracy of the present method. Since the production plan is introduced as one of the inputs, the present invention can dynamically adjust the prediction results of each time in combination with the production plan data. The prediction effect for the middle and latter half of the equal time end is more accurate, which can provide richer information and more reliable support for the formulation of industrial energy scheduling plans. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 The present invention is applied to the flow chart.
[0014] Figure 2 A schematic diagram depicting the mold base and related features.
[0015] Figure 3 is the extracted feature vector graph.
[0016] Figure 4 This is the flow chart of the DDPG algorithm.
[0017] Figure 5 The figure is a comparison chart of the long-term prediction effect of converter gas generation, wherein (a) is method a; (b) is method b; and (c) is the present invention. DETAILED DESCRIPTION
[0018] In actual industrial production, due to the influence of equipment operating status, production process requirements and intermittent production processes, the generation and consumption of energy usually have the characteristics of periodic fluctuations. If the energy data can be accurately predicted, the operator can specify the scheduling plan well according to the energy consumption and storage situation, and provide strong data support for industrial balance scheduling. In addition, the long-term and accurate prediction of industrial energy will also provide scientific and reliable data support for its subsequent energy utilization and distribution. In order to more clearly understand the technical route and specific implementation method of the present invention, the actual amount of industrial converter gas generation will be used as the basis, and the method proposed in this article will be used to construct a long-term prediction model, such as Figure 1-4 , the specific implementation steps are as follows:
[0019] (1) Data preprocessing and partitioning
[0020] From the real-time database of the steel plant, the relevant data of converter gas generation required for this experiment is read, and the converter gas generation data is divided into limited data segments according to equal time intervals. In this case, 1440 minutes a day is used as the division standard.
[0021] (2) Feature extraction based on pattern matching method
[0022] In intermittent energy data, the height of each data peak and its time span are highly similar. For this, a concave mold base consisting of adjacent peaks and intermediate gaps is constructed. The periodic features are extracted by matching the concave mold base for the divided data segments. The periodic features include time-shift characteristics and telescopic characteristics.
[0023] The time-shift characteristic is the intermediate moment between two adjacent converter steelmaking production gaps. Assume that the target sample is an intermittent energy data segment, denoted as x(n), where n represents the length of the time series after preprocessing in step (1); the time-shift set obtained after matching the target sample x(n) is expressed as:
[0024] B={b1,b2,...,b j ,...,b N}
[0025] Among them, b N is the maximum time shift in the matching process, and N represents the effective number of samples in the matching process with sample x(n);
[0026] The telescopic characteristic describes the duration of the gap between two adjacent converter steelmakings. Since the converter needs a certain amount of time to cool down after each production, the duration of the production gap is kept within a certain range. The minimum value of the production gap is the minimum time between the process characteristics and the next steelmaking, and the maximum value of the production gap is to ensure that the production plan for the day can be completed. The obtained telescopic scale set is described as:
[0027] A={a1,a2,...,a i ,...,a l}
[0028] Among them, a l is the maximum value of the production gap, l represents the total duration of the production gap;
[0029] The time shift set is combined with the scaling scale set to obtain the module sequence set {t1, t2, ..., t i ,...,t M}, M represents the total number of time shift sets and scaling sets after combination; by calculating the i-th module sequence t in the module sequence group i(m) is used to measure the matching degree by the cross-correlation function moving along the target sample x(n) in the time dimension, as shown in formula (1):
[0030]
[0031] Among them, m i is the length of the base in the modulus sequence, j represents the time shift value within the length range of the target sample x(n); Y ij Represents when the modulo sequence t i The telescopic scale of (m) is a i , the time shift scale is b j When Y ij The larger the value of is, the more i The better the similarity between (m) and the sample sequence x(n), the better the ij The local extreme value of indicates that the target sample and the modulus sequence are most matched under the scaling scale and time shift scale; these local extreme points form a set, denoted as Y * = {Y(a i ,b j )}, where a i ,b j is the optimal scaling and time shifting scale, and Y(a i ,b j ) needs to satisfy formula (2):
[0032]
[0033] The local extreme point Y * The optimal scaling scale and time shift scale are extracted and the feature vector χ={(a i ,b j )}; After the feature vector set χ is formed, it also means that the feature extraction of the limited data fragment is completed;
[0034] (3) Establishing DDPG network prediction model
[0035] The DDPG network prediction model is based on the Actor-Critic form and is divided into two parts: the Actor network and the Critic network. Each part is further divided into two networks, namely the Actor estimation network and the Actor target network, and the Critic estimation network and the Critic target network.
[0036] The action given in the Actor network is transmitted to the Critic network, and the Critic network gives an evaluation value by analyzing the action and observation value given in the Actor network. The Actor network then modifies the action parameters in the direction that is more likely to obtain a larger evaluation value in the Critic network, and updates the parameters of the Actor network through the gradient back propagation of the neural network.
[0037] Reinforcement learning defines the Markov decision process as a tuple consisting of five elements: <S, A, P, R, γ>; where S and A represent the state space and action space respectively; P and R are the state transition probability and reward function, representing the probability and reward of transferring the state from state s∈S to the next state s'∈S when executing action a∈A; γ∈[0,1] is the decay rate;
[0038] The states, actions, and rewards are defined as follows:
[0039] State: While considering the information transmitted by features in time, the relationship between features in a certain period of time is also considered. In addition, the production plan factor of the day is added so that reinforcement learning can dynamically adjust the prediction results of each time. Therefore, the state space of RL includes the time domain features and frequency domain features within a certain period of time, and also includes the number of productions in the production plan, that is,
[0040] s(t)=[a t ,b t ,k] (3)
[0041] Among them, a t ,b t , k are the time domain information, frequency domain information and the remaining number of productions of the tth production in the processed data segment;
[0042] Action: The action space is the adjustment value of the time domain difference between adjacent production plans in the processed data segment; starting from a certain initial state, the adjustment value is gradually iterated and accumulated in the exploration trajectory to transfer the environmental model to the final state to predict the converter gas generation in a typical day; that is,
[0043] a(t)=[ΔC t ] (4)
[0044] Among them, C t =a t+1 -a t Indicates the difference between the t+1th production and the tth production time domain; ΔC t is the adjustment amount of the time domain difference between the t-th and t+1-th production times in a typical day;
[0045] Reward: The reward returned to the agent is the difference between the true value and the estimated value, that is,
[0046] r=-ω·|C t real -C t forcast | (5)
[0047] Among them, C t real , ω are the true value, predicted value and weight coefficient of the time domain difference between the t-th and t+1-th production times in a typical day, respectively, and the target reward;
[0048] By dividing the processed data into training set and test set, the model is continuously improved in the training set. After the training, the test set data is put into prediction.
[0049] (4) Feature sequence deconstruction
[0050] Assume that the initial time of the current particle interval is known to be t j The duration of the interval, i.e. the expansion scale, is S j , the duration of converter gas production is After prediction by the DDPG network prediction model, the difference L between the middle moments of adjacent production breaks is obtained. j ; It is known that the intermittent duration of the current particle is S j , by calculating The interval length and initial time of the next particle can be known, and the time-frequency characteristic information of the next production can be obtained;
[0051]
[0052] For the process characteristics of converter gas generation, it is assumed that the time used in the production process is the same, so the inverse reconstruction formula for the production stage and intermittent part of the jth particle and the j+1th particle is as follows:
[0053]
[0054] Among them, t j +S j is the current moment, t S is the modulo sequence, p is the sequence to be predicted, x represents the xth minute of the day, and should not exceed 1440. If it exceeds, it is beyond the time range of the day and should be divided into the next day. The above formula only represents the reverse reconstruction form of a single production. For long-term prediction, the predicted features can be reversed to obtain time series data, and the effect of long-term prediction can be achieved through continuous iteration.
[0055] In order to verify the effectiveness of this method, support vector machine (method a), deep learning (method b) and the method in this paper (method c) are selected for comparative analysis. Figure 5 As shown. For the quasi-periodic energy data of converter gas generation, the root mean square error (RMSE), mean absolute percentage error (MAPE) and mean absolute error (MAE) are used as statistical indicators to evaluate the prediction effects of the three methods. The comparative experimental results are shown in Table 1.
[0056] Table 1 Statistical results of converter generation prediction error
[0057]
[0058] As can be seen from the above table, the RMSE, MAPE and MSE performance of the proposed method in predicting the amount of converter gas in industrial production are better than the comparative methods. The proposed method can realize dynamic adjustment of the prediction according to the production plan data, making the prediction effect more accurate. This result may be due to the fact that the multiple feature inputs constructed by the proposed method combined with production information intuitively reflect the periodic characteristics of the actual data. The correlation between these features and their changing relationship with the time dimension can be learned and utilized through the reinforcement method, so as to make long-term predictions of information.
Claims
1. A dynamic prediction method for industrial intermittent energy data combining information features and production plans, It is characterized in that Here are the steps: (1) Data preprocessing and partitioning From the real-time database of the steel plant, the relevant data of converter gas generation required for this experiment is read, and the converter gas generation data is divided into limited data segments according to equal time intervals. In this case, 1440 minutes a day is used as the division standard. (2) Feature extraction based on pattern matching method In intermittent energy data, the height of each data peak and its time span have a high degree of similarity. For this, a concave mold base consisting of adjacent peaks and intermediate gaps is constructed. The periodic features are extracted by matching the concave mold base for the divided data segments. The periodic characteristics include two characteristics: time-shift characteristics and telescopic characteristics; The time-shift characteristic is the intermediate moment between two adjacent converter steelmaking production gaps. The target sample is an intermittent energy data segment, denoted as x(n), where n represents the length of the time series after preprocessing in step (1); The time-shift set obtained after matching the target sample x(n) is expressed as: B={b 1 ,b 2 ,...,b j ,...,b N } Among them, b N is the maximum time shift in the matching process, and N represents the effective number of samples in the matching process with sample x(n); The telescopic characteristic describes the duration of the gap between two adjacent converter steelmakings. Since the converter needs a certain amount of time to cool down after each production, the duration of the production gap is kept within a certain range. The minimum value of the production gap is the minimum time between the process characteristics and the next steelmaking, and the maximum value of the production gap is to ensure that the production plan for the day can be completed. The obtained telescopic scale set is described as: A={a 1 ,a 2 ,...,a i ,...,a l } Among them, a l is the maximum value of the production gap, l represents the total duration of the production gap; Combining the time shift set with the scaling scale set, we get the module sequence set {t 1 ,t 2 ,...,t i ,...,t M }, M represents the total number of time shift sets and scaling sets after combination; by calculating the i-th module sequence t in the module sequence group i (m) is used to measure the matching degree by the cross-correlation function moving along the target sample x(n) in the time dimension, as shown in formula (1): Among them, m i is the length of the base in the modulus sequence, j represents the time shift value within the length range of the target sample x(n); Y ij Represents when the modulo sequence t i The telescopic scale of (m) is a i , the time shift scale is b j When Y ij The larger the value of is, the more i The better the similarity between (m) and the sample sequence x(n), the better the ij The local extreme value of indicates that the target sample and the modulus sequence are most matched under the scaling scale and time shift scale; these local extreme points form a set, denoted as Y * = {Y(a i ,b j )}, where a i ,b j is the optimal scaling and time shifting scale, and Y(a i ,b j ) needs to satisfy formula (2): The local extreme point Y * The optimal scaling scale and time shift scale are extracted and the feature vector χ={(a i ,b j )}; After the feature vector set χ is formed, it also means that the feature extraction of the limited data fragment is completed; (3) Establishing DDPG network prediction model The DDPG network prediction model is based on the Actor-Critic form and is divided into two parts: the Actor network and the Critic network. Each part is further divided into two networks, namely the Actor estimation network and the Actor target network, and the Critic estimation network and the Critic target network. The action given in the Actor network is transmitted to the Critic network, and the Critic network gives an evaluation value by analyzing the action and observation value given in the Actor network. The Actor network then modifies the action parameters in the direction that is more likely to obtain a larger evaluation value in the Critic network, and updates the parameters of the Actor network through the gradient back propagation of the neural network. Reinforcement learning defines the Markov decision process as a tuple consisting of five elements: <S, A, P, R, γ>; where S and A represent the state space and action space respectively; P and R are the state transition probability and reward function, representing the probability and reward of transferring the state from state s∈S to the next state s'∈S when executing action a∈A; γ∈[0,1] is the decay rate; The states, actions, and rewards are defined as follows: State: While considering the information transmitted by features in time, the relationship between features in a certain period of time is also considered. In addition, the production plan factor of the day is added so that reinforcement learning can dynamically adjust the prediction results of each time. Therefore, the state space of RL includes the time domain features and frequency domain features within a certain period of time, and also includes the number of productions in the production plan, that is, s(t)=[a t ,b t ,k] (3) Among them, a t ,b t , k are the time domain information, frequency domain information and the remaining number of productions of the tth production in the processed data segment; Action: The action space is the adjustment value of the time domain difference between adjacent production plans in the processed data segment; starting from a certain initial state, the adjustment value is gradually iterated and accumulated in the exploration trajectory to transfer the environmental model to the final state to predict the converter gas generation in a typical day; that is, a(t)=[ΔC t ] (4) Among them, C t =a t+1 -a t Indicates the difference between the t+1th production and the tth production time domain; ΔC t is the adjustment amount of the time domain difference between the t-th and t+1-th production times in a typical day; Reward: The reward returned to the agent is the difference between the true value and the estimated value, that is, r=-ω·|C t real -C t forcast | (5) Among them, C t real , ω are the true value, predicted value and weight coefficient of the time domain difference between the t-th and t+1-th production times in a typical day, respectively, and the target reward; By dividing the processed data into training set and test set, the model is continuously improved in the training set. After the training, the test set data is put into prediction. (4) Feature sequence deconstruction Assume that the initial time of the current particle interval is known to be t j The duration of the interval, i.e. the expansion scale, is S j , the duration of converter gas production is After prediction by the DDPG network prediction model, the difference L between the middle moments of adjacent production breaks is obtained. j ; It is known that the intermittent duration of the current particle is S j , by calculating The interval length and initial time of the next particle can be known, and the time-frequency characteristic information of the next production can be obtained; For the process characteristics of converter gas generation, it is assumed that the time used in the production process is the same, so the inverse reconstruction formula for the production stage and intermittent part of the jth particle and the j+1th particle is as follows: Among them, t j +S j is the current moment, t S is the modulo sequence, p is the sequence to be predicted, x represents the xth minute of the day, and should not exceed 1440. If it exceeds, it is beyond the time range of the day and should be divided into the next day. The above formula only represents the reverse reconstruction form of a single production. For long-term prediction, the predicted features can be reversed to obtain time series data, and the effect of long-term prediction can be achieved through continuous iteration.
Citation Information
Patent Citations
Metallurgy industry converter gas generation amount long-term prediction method based on steelmaking rhythm estimation
CN103793767A
Intelligent variable time domain model prediction energy management method for hybrid power vehicle
CN111267831A
Hybrid electric vehicle hierarchical prediction energy management method fused with deep reinforcement learning
CN113525396A
Production plan-based iron and steel plant oxygen load prediction method
WO2021189739A1
