Load interval prediction method and system based on TCN network and singular spectrum analysis
The load interval prediction method that combines TCN network and singular spectrum analysis solves the problem in the existing technology that load forecasting is difficult to describe fluctuations and complex environmental changes, and achieves accurate interval prediction of cooling, heating, and electric loads of the building's integrated energy system. , providing a more effective energy management reference.
Patent Information
- Application Number
- CN202411230116.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing comprehensive energy load forecasting methods are mainly deterministic or point predictions, which cannot effectively describe the impact of load fluctuations and complex external environmental changes on the building's integrated energy system, making it difficult to manage efficiently.
A load interval prediction method based on TCN network and singular spectrum analysis is used to obtain historical cold, heating, and electrical load data for smoothing, denoising, and feature fusion, and then input into the temporal convolution network for training, using a specific quantile loss function. Make predictions, extract time series and spatial features, and achieve interval prediction of cooling, heating, and electric loads.
It effectively describes the uncertainty and volatility of the load of the building's integrated energy system, provides a more accurate reference for energy optimization, and can efficiently manage the system under randomness and volatility.
Smart Images

Figure CN118734261A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of load prediction of building integrated energy systems, and in particular to a load interval prediction method and system based on TCN network and singular spectrum analysis. Background Art
[0002] In order to save energy, reduce carbon emissions, and improve energy efficiency, building integrated energy systems have become a research hotspot in the current energy field. Building integrated energy systems can achieve interconnection of energy networks at all levels and types, and coordinate the planning and operation of various forms of energy such as electricity, natural gas, cold and heat. Its input end is connected to the power and natural gas networks, and is connected to distributed renewable energy. There are various energy conversion devices inside, and it provides cold energy, heat energy and electricity at the same time, which can flexibly adjust the supply and demand of energy. Studies have shown that the energy utilization rate of building integrated energy systems can be increased by more than 20% compared with traditional building energy supply systems.
[0003] In order to better plan, control and dispatch the integrated energy system and improve its operating efficiency, it is necessary to predict the load of the building integrated energy system. However, the load of the building integrated energy system contains many uncertain factors, including weather changes and uncertainty of user behavior, which brings challenges to load prediction.
[0004] Chinese invention patent, patent publication number: CN118172198A, patent name: A building energy load prediction method, system, electronic device and medium. The trained energy load prediction model in the invention includes multiple trained sub-energy load prediction models corresponding to multiple features in the pre-processed energy load sample data, and when the energy load prediction is subsequently performed based on the trained energy load prediction model, the energy load dynamic data is feature decomposed and predicted separately, and finally the multiple sub-energy load prediction results are superimposed and processed, so that the energy load prediction result finally obtained by the invention can characterize the energy load under different characteristics.
[0005] Chinese invention patent, patent publication number: CN117932352A, patent name: Energy load forecasting method, device, electronic device and storage medium, obtain historical energy load data and energy consumption factor data of a first time period; input the historical energy load data and the energy consumption factor data of a first time period into a first pre-trained energy consumption scenario prediction model to determine the scenario energy consumption prediction data corresponding to the energy consumption factor data; determine a target prediction model corresponding to the scenario energy consumption prediction data from multiple candidate prediction models, and input the historical energy load data into the target prediction model for energy consumption prediction to obtain target energy consumption prediction information for a second time period.
[0006] The inventors found that existing comprehensive energy load forecasting methods are all deterministic forecasting or point forecasting methods, which can only predict the load value at a certain moment in the future. Such methods cannot determine the volatility of load forecasting results and are difficult to describe the impact of complex external environmental changes on the building's comprehensive energy system. Summary of the invention
[0007] In order to address the deficiencies of the prior art, the present invention provides a load interval prediction method and system based on TCN network and singular spectrum analysis; interval prediction can describe the uncertainty of the load of a building integrated energy system, and can efficiently manage the building integrated energy system under randomness and volatility.
[0008] On the one hand, a load interval prediction method based on a TCN network and singular spectrum analysis is provided, including: obtaining historical data, the historical data including: cold, hot and electric load data of the historical operation of the building integrated energy system; fusing the cold, hot and electric load data at the tth moment to obtain a fusion vector; then combining the fusion vectors from the tth moment to the t+N-1th moment to obtain a combined vector, and obtaining a training sample based on the combined vector and the label corresponding to the combined vector; using the same method to obtain a number of training samples; the label corresponding to the combined vector is the label at the t+Nth moment. cold, hot and electric load data; input the obtained several training samples into the time convolution network, train the network, and when the total loss function value of the network no longer decreases, obtain the trained time convolution network; assuming that the time to be predicted is the m+Nth time, process the cold, hot and electric load data from the mth time to the m+N-1th time to obtain the combination vector from the mth time to the m+N-1th time; input the combination vector from the mth time to the m+N-1th time into the trained time convolution network to obtain the cold, hot and electric load interval prediction data at the m+Nth time.
[0009] On the other hand, a load interval prediction system based on a TCN network and singular spectrum analysis is provided, including: an acquisition module, which is configured to: acquire historical data, wherein the historical data includes: cold, hot and electric load data of the historical operation of the building integrated energy system; a fusion module, which is configured to: fuse the cold, hot and electric load data at the tth moment to obtain a fusion vector; then combine the fusion vectors from the tth moment to the t+N-1th moment to obtain a combined vector, and obtain a training sample based on the combined vector and the label corresponding to the combined vector; and obtain a plurality of training samples in the same manner; the label corresponding to the combined vector is the label at the t+Nth moment. The cold, hot and electric load data at the moment; a training module, which is configured to: input the obtained several training samples into the time convolution network, train the network, and when the total loss function value of the network no longer decreases, obtain the trained time convolution network; a prediction module, which is configured to: assume that the moment to be predicted is the m+Nth moment, process the cold, hot and electric load data from the mth moment to the m+N-1th moment, and obtain the combination vector from the mth moment to the m+N-1th moment; input the combination vector from the mth moment to the m+N-1th moment into the trained time convolution network, and obtain the cold, hot and electric load interval prediction data at the m+Nth moment.
[0010] The above technical solution has the following advantages or beneficial effects: The present invention uses singular spectrum analysis and deep learning methods to perform interval prediction on the cold, hot and electric loads of the building integrated energy system. First, the three historical curves of cold, hot and electric loads are smoothed by the Savitzky-Golay filtering method, and then the curves are reconstructed by the singular spectrum analysis method to remove the noise terms in the curves, and then the three curves are feature fused. The fused samples are respectively input into the temporal convolutional network (TCN) for training, and the sequence is feature extracted. The three prediction intervals of cold, hot and electric loads are obtained using a specially designed quantile loss function. Using the TCN method to predict time series data can effectively extract the time series features and spatial features of the time series data, and allow the input of longer historical data. Interval prediction of the cold, hot and electric loads of the building integrated energy system can effectively describe the uncertainty of the three loads and provide a more effective reference for the energy optimization of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0012] Figure 1 This is a flow chart of the method of embodiment 1. DETAILED DESCRIPTION
[0013] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0014] Embodiment 1: Figure 1 As shown, this embodiment provides a load interval prediction method based on a TCN network and singular spectrum analysis, including: S101: acquiring historical data, the historical data including: cold, hot and electric load data of the historical operation of the building integrated energy system; S102: fusing the cold, hot and electric load data at the tth moment to obtain a fusion vector; then combining the fusion vectors from the tth moment to the t+N-1th moment to obtain a combined vector, and obtaining a training sample based on the combined vector and the label corresponding to the combined vector; using the same method to obtain a plurality of training samples; the label corresponding to the combined vector is the cold, hot and electric load data at the t+Nth moment. and electricity load data; S103: input the obtained several training samples into the time convolution network to train the network, and when the total loss function value of the network no longer decreases, the trained time convolution network is obtained; S104: assuming that the moment to be predicted is the m+Nth moment, the cold, hot and electricity load data from the mth moment to the m+N-1th moment are processed in the same way as S102 to obtain the combined vector from the mth moment to the m+N-1th moment; the combined vector from the mth moment to the m+N-1th moment is input into the trained time convolution network to obtain the cold, hot and electricity load interval prediction data at the m+Nth moment.
[0015] Furthermore, the S101: acquiring historical data, the historical data including: cooling, heating and electricity load data of the historical operation of the building integrated energy system, the building integrated energy system specifically refers to: In the designated building area, various energy sources such as coal, oil, natural gas, electricity, thermal energy and wind energy are integrated in the region, and centralized and distributed energy types are coordinated to achieve full complementarity of diversified energy supplies.
[0016] Based on the smart grid, it realizes interconnection with various types of networks such as thermal pipelines, natural gas pipelines, and transportation networks, and gives full play to the regulation capacity of flexible energy storage resources such as electricity storage, heat storage, cold storage, and pumped storage, effectively mobilizing the response potential of demand-side resources. While realizing horizontal multi-energy complementarity and vertical coordinated development among multiple energy systems, it effectively improves energy utilization efficiency and promotes a new integrated energy system for sustainable energy development while meeting the diversified energy demand within the system.
[0017] Furthermore, after S101 and before S102, the method further includes: S101-2: smoothing the acquired historical data, reconstructing the smoothed result by using a singular spectrum analysis algorithm to obtain load data with noise removed; and normalizing the load data with noise removed.
[0018] Furthermore, the step S101-2: smoothing the acquired historical data is smoothing using a Savitzky-Golay filter. Further, the step of smoothing using a Savitzky-Golay filter includes: assuming that the filter window size is ,in is the half window width. Represents the position of the data point in the window, and its value range is , the window The data points are , the smoothed value of each data point is , the order of the fitting polynomial is , then: ; In the formula are the coefficients of the fitted polynomial.
[0019] ; In order to minimize the residual, it is necessary to make the derivative of the residual with respect to the polynomial coefficients equal to zero, that is: ; ; Substitute the data to be fitted into the formula In the above example, the coefficients of the fitting polynomial can be solved to obtain the filtered voltage value. Generally, the window size can be 55, the polynomial order can be 2, and the nearest neighbor interpolation method can be used.
[0020] It should be understood that the purpose of smoothing is to reduce the noise in the sequence, eliminate outliers, filter out transient changes in the curve that affect data processing, and highlight the features in the data curve.
[0021] Furthermore, the S101-2: reconstructing the smoothed result using a singular spectrum analysis algorithm to obtain load data with noise items removed, specifically includes: reconstructing the smoothed result using a singular spectrum analysis algorithm to obtain trend items, period items and noise items, removing the noise items, and adding the remaining items to obtain the three reconstructed curves.
[0022] Furthermore, the step S101-2: reconstructing the smoothed result using a singular spectrum analysis algorithm to obtain load data with noise removed, the steps of performing singular spectrum analysis on a load are as follows: (11): The original data sequence is mapped into a sequence of length The vector sequence of Vectors: ;in, ; Form the vectors into a trajectory matrix .
[0023] .
[0024] (12): Trajectory matrix Perform singular value decomposition, let , for The characteristic value of ;and is a matrix The orthonormal vectors corresponding to these eigenvalues; let The rank of the matrix is ,make , then the trajectory matrix is broken down into: ;in .
[0025] (13): Set the subscript set Divide into mutually disjoint subsets , where the Mth is represented by , is the number of subscripts in each subset. The synthetic matrix ,have: ; Each composite matrix is transformed into a matrix with a length of The original sequence is divided into sequences with different characteristics.
[0026] Among them, components without obvious periodic characteristics and trend characteristics can be considered as noise components. After removing them, the sequence can be reconstructed. Alternatively, the first k sequences with larger singular values can be selected for reconstruction. Without obvious periodic characteristics means that the curve itself does not show periodic changes; without trend characteristics means that the curve is not monotonically increasing or monotonically decreasing. These can be judged by naked eyes after obtaining the components of the decomposed curve.
[0027] It should be understood that the purpose of the present invention using the singular spectrum analysis algorithm for reconstruction is to further eliminate the noise in the original sequence, retain the most important features of the sequence, and improve the validity and reliability of the data.
[0028] Furthermore, the S101-2: normalizing the load data after removing the noise item specifically includes: normalizing all the load data to , the normalization method is as follows: ;in is the normalized data, is the minimum value of the data, is the maximum value of the data. Then we get the data after processing.
[0029] It should be understood that the purpose of normalization is to prevent the data input to the model from being too large or too small, causing gradient disappearance or explosion during training.
[0030] Further, the S102: fusing the normalized cold, heat and electricity load data at the tth moment to obtain a fusion vector, and then combining the fusion vectors from the tth moment to the t+N-1th moment to obtain a combination vector, and obtaining a training sample based on the combination vector and the label corresponding to the combination vector, specifically includes: assuming that the cold, heat and electricity loads of the building integrated energy system are The data at each moment are , , ( ), is the total length of the sequence. Then the Lth sample is expressed as ,in , is the sequence length; the corresponding label value is .
[0031] It should be understood that after removing the noise sequence, the three sequences are feature fused and reconstructed into trainable samples. The feature fusion process refers to combining the three sequence values at the same time into a vector, which makes it easier for the network to capture the coupling relationship between the three loads. Then, the vectors of multiple consecutive moments are combined together into a sample. This makes it easier for the network to capture the temporal relationship of the sequence, such as periodicity and other features.
[0032] Furthermore, in S103: inputting the obtained several training samples into the temporal convolutional network to train the network, and when the total loss function value of the network no longer decreases, a trained temporal convolutional network is obtained, wherein the total loss function of the network is: ;in is the weight; is the quantile loss function for cooling load prediction, is the quantile loss function for heat load prediction, is the quantile loss function of electric load forecasting. The expression of the quantile loss function is as follows: ; ; ; Where N is the number of samples, is the percentile value, The value of is , or ; is the cooling load, is the heat load, is the electrical load, refers to the tag value, Refers to the predicted value. It represents the loss function when the predicted value is less than the true value, and is only involved in the calculation when the predicted value is less than the true value; It represents the loss function when the predicted value is greater than the true value, and is only calculated when the predicted value is greater than the true value.
[0033] When the percentile When , the loss function and The loss function becomes the mean absolute error (MAE) loss function, the predicted value and the true value tend to be equal, and the prediction result becomes a point prediction. At this time, the mean of the model prediction output is equal to the true value.
[0034] When the percentile When , we get the upper bound of the prediction interval; in the loss function The power is great, The weight is small. In order to make the loss function smaller, the model tries to make the predicted value larger than the true value, thereby avoiding a large loss value. At this time, the probability that the model predicts that the output is larger than the true value is 90%.
[0035] When the percentile When , we get the lower bound of the prediction interval; in the loss function The power is great, The weight is small. In order to make the loss function smaller, the model will try to make the predicted value smaller than the true value, thereby avoiding a large loss value. At this time, the probability that the model predicts that the output is greater than the true value is 10%.
[0036] The prediction interval is obtained based on the upper and lower bounds of the prediction interval. By using the value of , multiple models can be trained to output one or more prediction intervals for the true value.
[0037] Considering the regularity and importance of different loads, after a large number of experimental verifications, the present invention takes The values are 0.3, 0.2, and 0.5 respectively. And take Three training sessions were conducted to obtain prediction intervals of 10% to 90% for the three load values.
[0038] Furthermore, the total loss function assigns appropriate weights to each load and sets three quantiles of 0.1, 0.5, and 0.9, so that the model can output the 10% quantile, 50% quantile, and 90% quantile of the three load forecasts.
[0039] When training the traditional point prediction method based on neural network prediction, the closer the network prediction value is to the label value, the smaller the loss function is. The network is optimized in the direction equal to the label value. However, in order to obtain the 90% and 10% interval prediction values, we cannot let the loss function reach the minimum value when it is completely equal to the label value. To this end, the present invention designs a special loss function that can minimize the loss function when the prediction value is larger or smaller than the label value. In this way, even if the label value used is fixed, the optimization direction of the network is optimized in the direction of exceeding or falling short of the label value.
[0040] The multi-source load characteristics of the building integrated energy system are input into the TCN network, the temporal and spatial characteristics of the sequence are extracted, and the three-dimensional vector representing the three load values is predicted and output. The network is trained using three loss functions with different quantile values to obtain three networks that can predict different quantile values. The data collected at the current moment is combined with the historical data into a sample as the input of the three networks, and the interval estimation of the three loads at the next moment can be obtained.
[0041] TCN network design: After having samples and loss functions, data can be sent to the network for training. The following is the overall prediction architecture diagram: The present invention uses a temporal convolutional network, namely TCN, to extract the temporal relationship and coupling relationship of the time series.
[0042] TCN introduces convolution operations into time series prediction, which enables TCN to extract both spatial information and temporal information in the sequence.
[0043] One of the characteristics of TCN is the use of causal convolution. That is, when the network performs one-dimensional convolution, it does not use future data, but only uses the sequence that has been observed. Suppose there are K filters in the network ,sequence , then the sequence exist The causal convolution at is: .
[0044] The second feature of TCN is the use of dilated convolution to increase the network's receptive field so that the network can process longer time series. Dilated convolution allows the input to be sampled at intervals during convolution, and the size of the interval is determined by the dilation factor d. If the dilation factor is set to d, then the sequence The dilated convolution at is: .
[0045] In order to make TCN more than just a complex linear regression model, it is necessary to add a nonlinear activation function after each convolution layer. The present invention adds the RELU activation function between the two convolution layers and performs layer normalization and dropout operations. In order to solve the problem of deep network degradation, TCN also introduces residual connections. Assuming that each residual module contains two layers of network, each residual block can be expressed as: .
[0046] In the present invention, in order to keep the dimensions of the TCN output layer and the input layer the same, the number of convolution kernels in each layer is set to 3, and each layer performs a corresponding padding operation. The output vector of the last residual block after passing through the fully connected layer is used as the predicted output. The network consists of three residual blocks containing three convolutional layers, and the expansion factor inside each residual block is set to (1, 2, 4).
[0047] Embodiment 2: A load interval prediction system based on TCN network and singular spectrum analysis, comprising: an acquisition module, which is configured to: acquire historical data, wherein the historical data comprises: cold, hot and electric load data of the historical operation of the building integrated energy system; a fusion module, which is configured to: fuse the cold, hot and electric load data at the tth moment to obtain a fusion vector; then combine the fusion vectors from the tth moment to the t+N-1th moment to obtain a combination vector, and obtain a training sample based on the combination vector and the label corresponding to the combination vector; and obtain a plurality of training samples in the same manner; the label corresponding to the combination vector is the label at the t+Nth moment. Cold, heat and electricity load data; a training module, which is configured to: input the obtained several training samples into the time convolution network, train the network, and when the total loss function value of the network no longer decreases, obtain the trained time convolution network; a prediction module, which is configured to: assume that the moment to be predicted is the m+Nth moment, process the cold, heat and electricity load data from the mth moment to the m+N-1th moment, and obtain the combination vector from the mth moment to the m+N-1th moment; input the combination vector from the mth moment to the m+N-1th moment into the trained time convolution network to obtain the cold, heat and electricity load interval prediction data at the m+Nth moment.
[0048] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. The load interval prediction method based on TCN network and singular spectrum analysis is characterized by: include: Acquiring historical data, the historical data including: cooling, heating and electricity load data of historical operation of the building integrated energy system; The cold, hot and electric load data at the tth moment are fused to obtain a fusion vector; the fusion vectors from the tth moment to the t+N-1th moment are combined to obtain a combination vector, and a training sample is obtained based on the combination vector and the label corresponding to the combination vector; several training samples are obtained in the same way; the label corresponding to the combination vector is the cold, hot and electric load data at the t+Nth moment; Input the obtained training samples into the temporal convolutional network to train the network. When the total loss function value of the network no longer decreases, the trained temporal convolutional network is obtained. Assuming that the time to be predicted is the m+Nth moment, the cold, hot and electric load data from the mth moment to the m+N-1th moment are processed to obtain the combined vector from the mth moment to the m+N-1th moment; the combined vector from the mth moment to the m+N-1th moment is input into the trained temporal convolutional network to obtain the cold, hot and electric load interval prediction data at the m+Nth moment.
2. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 1 is characterized in that: After acquiring the historical data and before fusing the cold, hot and electric load data at the tth moment, the method further includes: The acquired historical data is smoothed, and the smoothed result is reconstructed using a singular spectrum analysis algorithm to obtain load data with noise removed; the load data with noise removed is normalized.
3. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 2 is characterized in that: The acquired historical data is smoothed using a Savitzky-Golay filter.
4. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 3 is characterized in that: The smoothing process using the Savitzky-Golay filter includes: Assume that the filter window size is selected as ,in is half window width; Represents the position of the data point in the window, and its value range is , the window The data points are , the smoothed value of each data point is , the order of the fitting polynomial is , then: ; In the formula are the coefficients of the fitted polynomial; ; In order to minimize the residual, let the derivative of the residual with respect to the polynomial coefficients be equal to zero: ; in, ; Substitute the data to be fitted into the formula In the above example, the coefficients of the fitting polynomial are solved to obtain the filtered voltage value.
5. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 2 is characterized in that: The smoothed results are reconstructed using the singular spectrum analysis algorithm to obtain the load data with noise removed, including: The smoothed result is reconstructed using the singular spectrum analysis algorithm to obtain the trend term, period term and noise term. The noise term is removed and the remaining terms are added to obtain the three reconstructed curves.
6. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 2 is characterized in that: The results after smoothing are reconstructed using the singular spectrum analysis algorithm to obtain the load data with noise removed. The steps for singular spectrum analysis of a load are as follows: (11): All The original data sequence is mapped into a sequence of length The vector sequence of Vectors: ; in, ; Form the vectors into a trajectory matrix : ; (12): Trajectory matrix Perform singular value decomposition, let , for The characteristic value of ;and is a matrix The orthonormal vectors corresponding to these eigenvalues; let The rank of the matrix is ,make , Then the trajectory matrix is broken down into: ; in ; (13): Set the subscript set Divide into mutually disjoint subsets , where the Mth is represented by , is the number of subscripts in each subset; corresponding to The synthetic matrix ,have: ; Each composite matrix is transformed into a matrix with a length of The original sequence is divided into sequences with different characteristics.
7. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 2 is characterized in that: The load data after removing the noise item is normalized, including: Normalize all load data to , the normalization method is as follows: ; in is the normalized data, is the minimum value of the data, is the maximum value of the data.
8. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 1 is characterized in that: The cold, hot and electric load data at the tth moment are fused to obtain a fusion vector; the fusion vectors from the tth moment to the t+N-1th moment are combined to obtain a combination vector, and a training sample is obtained based on the combination vector and the label corresponding to the combination vector, specifically including: Assume that the cooling, heating and electricity loads of the building comprehensive energy system are The data at each moment are , , , , is the total length of the sequence, then the Lth sample is expressed as ,in , is the sequence length; the corresponding label value is .
9. The load interval prediction method based on TCN network and singular spectrum analysis as claimed in claim 1 is characterized in that: The obtained training samples are input into the temporal convolutional network to train the network. When the total loss function value of the network no longer decreases, the trained temporal convolutional network is obtained, where the total loss function of the network is: ; in is the weight; is the quantile loss function for cooling load prediction, is the quantile loss function for heat load prediction, is the quantile loss function for electric load forecasting; The expression of the quantile loss function is as follows: ; ; ; Where N is the number of samples, is the percentile value, The value of is , or ; is the cooling load, is the heat load, is the electrical load, refers to the tag value, Refers to the predicted value; when the quantile When , the upper limit of the prediction interval is obtained; when the quantile value When , the lower limit value of the prediction interval is obtained; according to the upper limit value of the prediction interval and the lower limit value of the prediction interval, the prediction interval is obtained.
10. The load interval prediction system based on TCN network and singular spectrum analysis is characterized by: include: An acquisition module is configured to: acquire historical data, wherein the historical data includes: cooling, heating and electricity load data of historical operation of the building integrated energy system; The fusion module is configured to: fuse the cold, hot and electric load data at the tth moment to obtain a fusion vector; then combine the fusion vectors from the tth moment to the t+N-1th moment to obtain a combination vector, and obtain a training sample based on the combination vector and the label corresponding to the combination vector; obtain several training samples in the same way; the label corresponding to the combination vector is the cold, hot and electric load data at the t+Nth moment; The training module is configured to: input the obtained training samples into the temporal convolutional network to train the network, and obtain the trained temporal convolutional network when the total loss function value of the network no longer decreases; The prediction module is configured as follows: assuming that the moment to be predicted is the m+Nth moment, the cold, hot and electric load data from the mth moment to the m+N-1th moment are processed to obtain the combination vector from the mth moment to the m+N-1th moment; the combination vector from the mth moment to the m+N-1th moment is input into the trained temporal convolutional network to obtain the cold, hot and electric load interval prediction data at the m+Nth moment.
Citation Information
Patent Citations
Comprehensive energy system electric cooling and heating load probability prediction method
CN115936168A
Comprehensive energy system load uncertainty prediction method based on model migration
CN117195723A
