CN114298444A - Wind speed probability prediction method, device, equipment and storage medium - Google Patents

Wind speed probability prediction method, device, equipment and storage medium Download PDF

Info

Publication number
CN114298444A
CN114298444A CN202210221104.XA CN202210221104A CN114298444A CN 114298444 A CN114298444 A CN 114298444A CN 202210221104 A CN202210221104 A CN 202210221104A CN 114298444 A CN114298444 A CN 114298444A
Authority
CN
China
Prior art keywords
wind speed
distribution function
collaborative
layer
cumulative distribution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210221104.XA
Other languages
Chinese (zh)
Other versions
CN114298444B (en
Inventor
何胜红
郑伟钦
马欣
唐鹤
钟炜
张勇
谭家勇
张哲铭
朱伟华
谭泳岚
姜美玲
王俊波
钟斯静
李志兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Original Assignee
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Power Supply Bureau of Guangdong Power Grid Corp filed Critical Foshan Power Supply Bureau of Guangdong Power Grid Corp
Priority to CN202210221104.XA priority Critical patent/CN114298444B/en
Publication of CN114298444A publication Critical patent/CN114298444A/en
Application granted granted Critical
Publication of CN114298444B publication Critical patent/CN114298444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of wind speed prediction, and discloses a wind speed probability prediction method, a wind speed probability prediction device, wind speed probability prediction equipment and a storage medium, wherein the method comprises the following steps: constructing a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse conditional cumulative distribution function network layer and a conditional cumulative distribution function network layer; performing parameter training on an inverse condition cumulative distribution function and a condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model; and inputting preset target wind speed data into the optimized collaborative prediction model for prediction operation to obtain a wind speed probability value. The method and the device solve the technical problem that in the prior art, the actual prediction result lacks reliability and accuracy due to the fact that the wind speed data with complex changes are analyzed through fixed model parameters.

Description

Wind speed probability prediction method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of wind speed prediction technologies, and in particular, to a method, an apparatus, a device, and a storage medium for wind speed probability prediction.
Background
Wind energy is used as a renewable energy source, and has strong randomness and intermittence, so that the fluctuation of the output power of the wind generating set is strong. In this case, after the wind power is connected to the grid, a series of influences will be brought to the power system, for example, in terms of power quality, power flow distribution, power system scheduling, power market trading, and the like. Particularly, with the increase of the total installed capacity of wind power and the increase of the proportion of the grid-connected wind power capacity to the total capacity of the system, the problems of peak shaving, reactive power and voltage control and the like of a power grid can be brought, and new problems are brought to the safety, stability and normal dispatching of the power grid. The prediction of the wind speed and the wind power output power of the wind power plant by using a prediction technology is an effective way for realizing wind power management between wind power and a power grid. From the overall electricity utilization condition, the management of the wind power generation output power forecast based on the wind speed forecast not only can reduce the operation cost and the rotation reserve of a power system and improve the wind power penetration power limit, but also is beneficial to correctly making an electric energy exchange plan under the power market environment so as to fully utilize wind power resources and obtain more economic benefits and social benefits.
The prior art provides various wind speed prediction methods, and a common method directly adopts model fitting analysis such as normal distribution to a wind speed time sequence without considering the change condition of wind speed, so that a complex wind speed environment cannot be accurately expressed; and model parameters in the method adopting the off-line model prediction are unchanged, so that the prediction result lacks reliability.
Disclosure of Invention
The application provides a wind speed probability prediction method, a device, equipment and a storage medium, which are used for solving the technical problem that in the prior art, the actual prediction result lacks reliability and accuracy due to the fact that the fixed model parameters are used for analyzing complex and variable wind speed data.
In view of the above, a first aspect of the present application provides a wind speed probability prediction method based on a two-layer collaborative network, including:
constructing a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse conditional cumulative distribution function network layer and a conditional cumulative distribution function network layer;
performing parameter training on the inverse condition cumulative distribution function and the condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model;
and inputting preset target wind speed data into the optimized collaborative prediction model to perform prediction operation, so as to obtain a wind speed probability value.
Preferably, the objective function of the network layer of the inverse conditional cumulative distribution function is:
Figure 274133DEST_PATH_IMAGE001
wherein,
Figure 976379DEST_PATH_IMAGE002
accumulating parameters of a distribution function network layer for the inverse condition,qin order to preset the place-dividing value,Xfor the data of the preset wind speed training data set,Yfor the corresponding measure of the wind speed,
Figure 899336DEST_PATH_IMAGE003
in order to perform the averaging operation, the average value is calculated,
Figure 894580DEST_PATH_IMAGE004
representing the inverse conditional cumulative distribution function network layer,
Figure 637408DEST_PATH_IMAGE005
accumulating the output results of the distribution function network layer for the inverse condition.
Preferably, the constraint conditions of the network layer of the conditional cumulative distribution function are:
Figure 877765DEST_PATH_IMAGE006
wherein,
Figure 655229DEST_PATH_IMAGE007
representing the conditional cumulative distribution function network layer,
Figure 824304DEST_PATH_IMAGE008
accumulating parameters of the distribution function network layer for the condition,
Figure 382324DEST_PATH_IMAGE009
representing the output result of the conditional cumulative distribution function network layer,
Figure 911526DEST_PATH_IMAGE010
to predict the quantile value.
Preferably, the performing parameter training on the inverse condition cumulative distribution function and the condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model, and then further comprising:
testing the optimized collaborative prediction model through a preset test data set to obtain a test result;
and screening the optimized collaborative prediction model according to the test result.
The second aspect of the present application provides a wind speed probability prediction device based on a double-layer collaborative network, including:
the model building module is used for building a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse conditional cumulative distribution function network layer and a conditional cumulative distribution function network layer;
the model training module is used for carrying out parameter training on the inverse condition cumulative distribution function and the condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model;
and the wind speed prediction module is used for inputting preset target wind speed data into the optimized collaborative prediction model to carry out prediction operation so as to obtain a wind speed probability value.
Preferably, the objective function of the network layer of the inverse conditional cumulative distribution function is:
Figure 58342DEST_PATH_IMAGE011
wherein,
Figure 647586DEST_PATH_IMAGE002
accumulating parameters of a distribution function network layer for the inverse condition,qin order to preset the place-dividing value,Xfor the data of the preset wind speed training data set,Yfor the corresponding measure of the wind speed,
Figure 427324DEST_PATH_IMAGE003
to seekThe average value is taken out and the average value is obtained,
Figure 508019DEST_PATH_IMAGE004
representing the inverse conditional cumulative distribution function network layer,
Figure 260074DEST_PATH_IMAGE005
accumulating the output results of the distribution function network layer for the inverse condition.
Preferably, the constraint conditions of the network layer of the conditional cumulative distribution function are:
Figure 269487DEST_PATH_IMAGE006
wherein,
Figure 474204DEST_PATH_IMAGE007
representing the conditional cumulative distribution function network layer,
Figure 673104DEST_PATH_IMAGE008
accumulating parameters of the distribution function network layer for the condition,
Figure 30398DEST_PATH_IMAGE009
representing the output result of the conditional cumulative distribution function network layer,
Figure 961445DEST_PATH_IMAGE010
to predict the quantile value.
Preferably, the method further comprises the following steps:
the model testing module is used for testing the optimized collaborative prediction model through a preset testing data set to obtain a testing result;
and screening the optimized collaborative prediction model according to the test result.
The third aspect of the application provides a wind speed probability prediction device based on a double-layer collaborative network, which comprises a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the wind speed probability prediction method based on the two-tier collaborative network according to the first aspect according to instructions in the program code.
A fourth aspect of the present application provides a computer-readable storage medium for storing program code for executing the wind speed probability prediction method based on the two-tier collaborative network according to the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
the application provides a wind speed probability prediction method based on a double-layer collaborative network, which comprises the following steps: constructing a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse conditional cumulative distribution function network layer and a conditional cumulative distribution function network layer; performing parameter training on an inverse condition cumulative distribution function and a condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model; and inputting preset target wind speed data into the optimized collaborative prediction model for prediction operation to obtain a wind speed probability value.
According to the wind speed probability prediction method based on the double-layer collaborative network, the constructed double-layer CNN-LSTM collaborative network model is trained through wind speed data, and model parameters are updated continuously, so that the method is more suitable for wind speed changes in different environments, and the wind speed probability value is more accurate and reliable. Therefore, the method and the device can solve the technical problem that in the prior art, the actual prediction result lacks reliability and accuracy due to the fact that the fixed model parameters are used for analyzing the wind speed data with complex changes.
Drawings
Fig. 1 is a schematic flow chart of a wind speed probability prediction method based on a double-layer collaborative network according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a wind speed probability prediction apparatus based on a two-layer collaborative network according to an embodiment of the present application;
fig. 3 is a schematic diagram of a CNN-LSTM network architecture framework provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of an LSTM neuron according to an embodiment of the present application;
fig. 5 is a functional relationship diagram of an inverse conditional cumulative distribution function network layer according to an embodiment of the present application;
fig. 6 is a conceptual relationship diagram of an optimized collaborative prediction model according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For easy understanding, please refer to fig. 1, an embodiment of a wind speed probability prediction method based on a two-layer collaborative network provided by the present application includes:
step 101, constructing a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse conditional cumulative distribution function network layer and a conditional cumulative distribution function network layer.
Referring to fig. 3, a Convolutional Neural Network (CNN) and a Long Short-Term Memory (LSTM) are combined to obtain a comprehensive network model. The network model specifically comprises a convolutional layer (Cov 1D), a maximum pooling layer (Max Pooling), an LSTM neuron layer, a network selection layer (Droput) and a full connection layer (sense); the CNN can extract local features of wind speed data and can extract high-level features with strong representation capability in spatial dimension; and the LSTM can expand the time characteristics and process the characteristic data information with the sequence.
The convolution layer is a process of performing convolution calculation on a local area of input data, the convolution calculation is a process of traversing the whole input data by the convolution layer through a sliding convolution window, and a convolution calculation formula is as follows:
Figure 715774DEST_PATH_IMAGE012
wherein,
Figure 905316DEST_PATH_IMAGE013
is shown aslA first of the output layersiThe characteristics of the device are as follows,
Figure 366384DEST_PATH_IMAGE014
is shown aslLayer oneiThe weight matrix of each convolution kernel is then,
Figure 530650DEST_PATH_IMAGE015
is shown asl-an output result of layer 1,l>1,
Figure 457761DEST_PATH_IMAGE016
is as followslLayer oneiThe offset term of each convolution kernel is,
Figure 936147DEST_PATH_IMAGE017
in order to perform the convolution operation,
Figure 500989DEST_PATH_IMAGE018
for the activation function, the CNN solves the non-linearity problem in the wind speed time series by a non-linear activation function, and therefore selects a rectifying linear unit (ReLU) as the activation function of the convolutional neural network. The first output layer is calculated as
Figure 39418DEST_PATH_IMAGE019
Wherein
Figure 502760DEST_PATH_IMAGE020
for inputting the data sequence of the first layer of convolutional layer, the first layer of convolutional layer has no output characteristics of the previous layer as the basis for calculation, so the input data sequence is directly taken for calculation, which is the convolutional expressionThrough the common calculation process of the network, detailed description is omitted.
The pooling layer adopts an up-sampling or down-sampling mode, and can effectively extract the local characteristics of the wind speed data and reduce the local characteristic dimension by alternately using the pooling layer and the convolution layer, so that the most important information of the wind speed time sequence is kept, and the quality of the input characteristics is improved. The maximum pooling is generally adopted, and the specific calculation mode is as follows:
Figure 535569DEST_PATH_IMAGE021
wherein,
Figure 705651DEST_PATH_IMAGE022
is the first after poolingl+1 layer ofiThe characteristic diagram is shown in the figure,
Figure 477298DEST_PATH_IMAGE023
is as followsjThe number of the pooled areas is reduced,
Figure 614887DEST_PATH_IMAGE024
is as followslLayer oneiElements of the feature map within the pooling range.
The Dropout layer controls the number of hidden neurons in the network, so that the fully-connected network has certain sparseness, and the synergistic effect of different characteristics is effectively reduced. Dropout is a proportional selection operation, is common in neural networks, and means that a part of neural network units are selected from the network temporarily according to a certain probability, do not participate in the training, and is equivalent to finding a lighter-weight network from the original network, so that the calculation redundancy is reduced, and the model training speed is increased.
The purpose of a full connection layer (Dense) layer is to carry out nonlinear change on the previously extracted features through a kernel function, extract the correlation among the features and finally map the correlation to an output space, wherein the Dense layer adopts ReLu and Sigmoid activation functions.
The LSTM has memory function and high efficiency for processing time series data, and is mainly composed of forgetting gate
Figure 435075DEST_PATH_IMAGE025
Input gate
Figure 787559DEST_PATH_IMAGE026
And output gate
Figure 415593DEST_PATH_IMAGE027
The control device is used for controlling the characteristic information hidden in the wind speed. See FIG. 4 for the structure of a single LSTM neuron, in which
Figure 791211DEST_PATH_IMAGE028
Representing the activation function Sigmoid or tanh function. For controlling the value output range between-1 and 1, the respective parameters in the LSTM are calculated as follows:
Figure 477407DEST_PATH_IMAGE029
wherein,
Figure 871348DEST_PATH_IMAGE030
Figure 922481DEST_PATH_IMAGE031
Figure 536127DEST_PATH_IMAGE032
Figure 760435DEST_PATH_IMAGE033
are the weight matrices of the different network layers,
Figure 25194DEST_PATH_IMAGE034
Figure 230917DEST_PATH_IMAGE035
Figure 581127DEST_PATH_IMAGE036
Figure 609125DEST_PATH_IMAGE037
for the bias term in the corresponding network,
Figure 499631DEST_PATH_IMAGE028
in order to activate the function(s),
Figure 892567DEST_PATH_IMAGE038
Figure 713761DEST_PATH_IMAGE039
Figure 217555DEST_PATH_IMAGE040
are respectively astThe input layer state, the control unit state and the hidden unit state of the moment, in general
Figure 519223DEST_PATH_IMAGE041
If, if
Figure 833792DEST_PATH_IMAGE042
It means that the network does not start processing data, and only the input layer has a valid state, neither the control unit nor the hidden unit has a substantial state, and this invalid state is not discussed here,
Figure 893015DEST_PATH_IMAGE043
the intermediate state quantity of the control unit is characterized by a characteristic numerical value.
The method is characterized in that the comprehensive description of the double-layer CNN-LSTM collaborative network model is carried out according to the functional division of the network model, the model is divided into an inverse condition cumulative distribution function network layer and a condition cumulative distribution function network layer, the inverse condition cumulative distribution function network layer calculates the characteristic value of input data through the inverse function of the condition cumulative distribution function, then the characteristic value is used as the input data of the condition cumulative distribution function network layer, the condition cumulative distribution function is adopted for calculation, and parameters in the function can be continuously optimized in the training process of the model until a reliable prediction result is obtained.
The objective function of the network layer of the inverse conditional cumulative distribution function is:
Figure 449767DEST_PATH_IMAGE011
wherein,
Figure 605942DEST_PATH_IMAGE002
accumulating parameters of a distribution function network layer for the inverse condition,qin order to preset the place-dividing value,Xfor the data of the preset wind speed training data set,Yfor the corresponding measure of the wind speed,
Figure 340680DEST_PATH_IMAGE003
in order to perform the averaging operation, the average value is calculated,
Figure 635001DEST_PATH_IMAGE004
network layer representing the inverse conditional cumulative distribution function, which may be referred to asfThe network(s) of the network(s),
Figure 480597DEST_PATH_IMAGE005
accumulating the output results of the distribution function network layer for the inverse condition.
Please refer to fig. 5, if usedfRepresenting the inverse conditional cumulative distribution function network layer, it is understood that the inverse conditional cumulative distribution function network layer is guaranteed
Figure 678230DEST_PATH_IMAGE044
And the output of the network layer can be expressed as
Figure 646186DEST_PATH_IMAGE045
The output is used as the input of the network layer of the conditional cumulative distribution function, and the processing is continued.
The conditional cumulative distribution function network layer is represented as
Figure 680001DEST_PATH_IMAGE046
Is called asgThe network, which also takes CNN-LSTM as the core, fits the condition accumulation distribution function of the wind speed time sequence, and the condition accumulation distribution function networkThe constraint conditions of the network layer are as follows:
Figure 80020DEST_PATH_IMAGE006
wherein the training is optimized
Figure 882891DEST_PATH_IMAGE047
Output of a network
Figure 21748DEST_PATH_IMAGE048
As
Figure 792127DEST_PATH_IMAGE049
The input of the network is set up,
Figure 245105DEST_PATH_IMAGE049
the role of the network is to fit the value of a given place value expressed as
Figure 650285DEST_PATH_IMAGE050
And
Figure 897727DEST_PATH_IMAGE048
and acquiring an optimal wind speed condition cumulative distribution function.
Figure 968451DEST_PATH_IMAGE007
The network layer representing the conditional cumulative function,
Figure 208809DEST_PATH_IMAGE008
the parameters of the network layer of the distribution function are accumulated for the condition,
Figure 986272DEST_PATH_IMAGE009
representing the output result of the conditional cumulative distribution function network layer,
Figure 466932DEST_PATH_IMAGE010
to predict the quantile value.
Referring to fig. 6, a conceptual diagram of the double-layer CNN-LSTM collaborative network model may be expressed as follows, in which an inverse conditional cumulative distribution function of a wind speed time series and a collaborative loss function after the conditional cumulative distribution function are jointly fitted:
Figure 713368DEST_PATH_IMAGE051
wherein,
Figure 242569DEST_PATH_IMAGE052
Figure 123806DEST_PATH_IMAGE053
respectively representgLoss function of network andfas a function of the loss of the network,
Figure 978630DEST_PATH_IMAGE054
to relate to
Figure 758367DEST_PATH_IMAGE055
Figure 839062DEST_PATH_IMAGE056
And
Figure 591117DEST_PATH_IMAGE057
the average value is obtained through the operation of calculating the average value,
Figure 600531DEST_PATH_IMAGE058
is a quantile value distribution function, obeys a uniform distribution of (0, 1),
Figure 867564DEST_PATH_IMAGE059
Figure 4147DEST_PATH_IMAGE060
each represents a distribution function of a variable,
Figure 361441DEST_PATH_IMAGE061
is composed of
Figure 292488DEST_PATH_IMAGE062
A value in the case of (1), i.e.Is 1, loss function
Figure 46818DEST_PATH_IMAGE063
Using a binary cross entropy function, the expression is as follows:
Figure 970780DEST_PATH_IMAGE064
wherein,abthe wind speed actual value and the predicted value are respectively.
Will be provided with
Figure 431848DEST_PATH_IMAGE052
Figure 547179DEST_PATH_IMAGE053
And
Figure 788804DEST_PATH_IMAGE063
and integrating the formulas to obtain a final cooperative loss function:
Figure 1611DEST_PATH_IMAGE065
fnetwork layer andgthe network layer coordination strategy is as follows:fthe network layer fits the optimal inverse condition cumulative distribution function of the wind speed time series,gin the process of the network layer through iterative optimization,fnetwork isgNetwork provides an aid to optimization, ensuringgAnd the network acquires more comprehensive wind speed information, and in the whole cooperation process, the two loss functions are jointly optimized to learn the distribution function of the wind speed time sequence and finally obtain the interval prediction result of the wind speed time sequence.
And 102, carrying out parameter training on the inverse condition cumulative distribution function and the condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model.
The preset wind speed training data set can be composed of historical data of the past year, the data needs to be converted into a form which can be input into a neural network model for processing through basic preprocessing, and the format of the following data, namely test data and target task data, needs to be unified, so that analysis is facilitated.
Further, step 102, thereafter, further includes:
testing the optimized collaborative prediction model through a preset test data set to obtain a test result;
and screening the optimized collaborative prediction model according to the test result.
The preset test data set is other data which are not input into the network training, can also be historical data, or data acquired in the existing scene, is used for testing the performance of the trained model, such as the standard information of accuracy, recall rate and the like, and can be screened as a subsequent target model when certain conditions are met.
And 103, inputting preset target wind speed data into the optimized collaborative prediction model for prediction operation to obtain a wind speed probability value.
The target wind speed data is a wind speed value obtained according to meteorological data of the current or future time, the predicted wind speed probability value is often an interval result, and the model can be suitable for various different environments and can be used for dealing with various different wind field changes.
According to the wind speed probability prediction method based on the double-layer collaborative network, the constructed double-layer CNN-LSTM collaborative network model is trained through wind speed data, and model parameters are updated continuously, so that the method is more suitable for wind speed changes in different environments, and the wind speed probability value is more accurate and reliable. Therefore, the method and the device for predicting the wind speed data can solve the technical problem that in the prior art, the actual prediction result lacks reliability and accuracy due to the fact that the fixed model parameters are used for analyzing the wind speed data with complex changes.
For easy understanding, please provide a method for evaluating an optimized collaborative prediction model for wind speed prediction, for interval prediction with a confidence level of PICP, a Prediction Interval Confidence (PICP), a prediction interval average bandwidth index (PINAW) and an interval optimization criterion based on width coverage (CWC) are introduced as performance evaluation indexes of the prediction model, and the calculation formulas of the three indexes are as follows:
Figure 832032DEST_PATH_IMAGE066
wherein,
Figure 104882DEST_PATH_IMAGE067
for variables with values of 0 and 1,Nto test the amount of sample data. When in use
Figure 833803DEST_PATH_IMAGE067
In the prediction interval
Figure 601033DEST_PATH_IMAGE068
When the temperature of the water is higher than the set temperature,
Figure 36694DEST_PATH_IMAGE069
(ii) a When in use
Figure 995292DEST_PATH_IMAGE067
When the number of the cells is not in the interval,
Figure 945930DEST_PATH_IMAGE070
Figure 766119DEST_PATH_IMAGE071
Figure 804088DEST_PATH_IMAGE072
the upper limit value and the lower limit value of the prediction interval are respectively.
Figure 684320DEST_PATH_IMAGE073
Wherein R is the length of the prediction interval, i.e.
Figure 122254DEST_PATH_IMAGE074
Figure 729822DEST_PATH_IMAGE075
Wherein,
Figure 140075DEST_PATH_IMAGE076
and
Figure 253524DEST_PATH_IMAGE077
in order to control the hyperparameter of the CWC index value, according to the empirical value,
Figure 867170DEST_PATH_IMAGE078
Figure 29161DEST_PATH_IMAGE079
Figure 277609DEST_PATH_IMAGE080
in order to be a level of confidence,
Figure 561960DEST_PATH_IMAGE081
is defined as:
Figure 912170DEST_PATH_IMAGE082
the relevant parameter settings in the wind speed probability prediction model, i.e. the optimized collaborative prediction model, are shown in table 1.
TABLE 1 CNN-LSTM result parameters
Figure 625654DEST_PATH_IMAGE084
At a confidence level
Figure 744920DEST_PATH_IMAGE085
For example, a method such as Gaussian Process Regression (GPR) or Quantile Regression (QR) is provided for comparison analysis with the method in the embodiment of the present application, as shown in table 2, which is given by a certain 2005 yearAnd predicting the result of the PICP, PINAW and CWC index values of the result every month.
TABLE 2 comparison of results with various prediction methods
Figure 934593DEST_PATH_IMAGE086
As can be seen from table 2, compared with the GPR and QR methods, the prediction probabilities of the actual values of wind speed in the method of the present embodiment both fall within the prediction interval, so that the PICP values are both 100%. Moreover, the quality of the prediction interval of the method in the embodiment is better than that of the GPR and QR methods according to the index values of PINAW and CWC.
For easy understanding, please refer to fig. 2, the present application provides an embodiment of a wind speed probability prediction apparatus based on a two-layer collaborative network, including:
the model building module 201 is used for building a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse condition cumulative distribution function network layer and a condition cumulative distribution function network layer;
the model training module 202 is used for performing parameter training on the inverse condition cumulative distribution function and the condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model;
and the wind speed prediction module 203 is used for inputting preset target wind speed data into the optimized collaborative prediction model for prediction operation to obtain a wind speed probability value.
Further, the objective function of the network layer of the inverse conditional cumulative distribution function is:
Figure 21367DEST_PATH_IMAGE011
wherein,
Figure 525160DEST_PATH_IMAGE002
accumulating parameters of a distribution function network layer for the inverse condition,qfor presetting the positionThe value of the one or more of the one,Xfor the data of the preset wind speed training data set,Yfor the corresponding measure of the wind speed,
Figure 515244DEST_PATH_IMAGE003
in order to perform the averaging operation, the average value is calculated,
Figure 875818DEST_PATH_IMAGE004
representing the inverse conditional cumulative distribution function network layer,
Figure 200620DEST_PATH_IMAGE005
accumulating the output results of the distribution function network layer for the inverse condition.
Further, the constraint conditions of the network layer of the conditional cumulative distribution function are as follows:
Figure 757373DEST_PATH_IMAGE006
wherein,
Figure 585651DEST_PATH_IMAGE007
representing the conditional cumulative distribution function network layer,
Figure 382706DEST_PATH_IMAGE008
accumulating parameters of the distribution function network layer for the condition,
Figure 677028DEST_PATH_IMAGE009
representing the output result of the conditional cumulative distribution function network layer,
Figure 788203DEST_PATH_IMAGE010
to predict the quantile value.
Further, still include:
the model testing module 204 is used for testing the optimized collaborative prediction model through a preset testing data set to obtain a testing result;
and screening the optimized collaborative prediction model according to the test result.
It can be understood that the optimized collaborative prediction model in the present embodiment is the optimized collaborative prediction model adopted in the above method embodiment.
The application also provides wind speed probability prediction equipment based on the double-layer cooperative network, which comprises a processor and a memory;
the memory is used for storing the program codes and transmitting the program codes to the processor;
the processor is used for executing the wind speed probability prediction method based on the double-layer collaborative network in the method embodiment according to the instructions in the program code.
The present application further provides a computer-readable storage medium for storing a program code for executing the wind speed probability prediction method based on the two-tier collaborative network in the above method embodiment.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for executing all or part of the steps of the method described in the embodiments of the present application through a computer device (which may be a personal computer, a server, or a network device). And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A wind speed probability prediction method is characterized by comprising the following steps:
constructing a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse conditional cumulative distribution function network layer and a conditional cumulative distribution function network layer;
performing parameter training on the inverse condition cumulative distribution function and the condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model;
and inputting preset target wind speed data into the optimized collaborative prediction model to perform prediction operation, so as to obtain a wind speed probability value.
2. The wind speed probability prediction method of claim 1, wherein the objective function of the network layer of the inverse conditional cumulative distribution function is:
Figure 31281DEST_PATH_IMAGE001
wherein,
Figure 329538DEST_PATH_IMAGE002
accumulating parameters of a distribution function network layer for the inverse condition,qin order to preset the place-dividing value,Xfor the data of the preset wind speed training data set,Yfor the corresponding measure of the wind speed,
Figure 405073DEST_PATH_IMAGE003
in order to perform the averaging operation, the average value is calculated,
Figure 774874DEST_PATH_IMAGE004
representing the inverse conditional cumulative distribution function network layer,
Figure 603153DEST_PATH_IMAGE005
accumulating the output results of the distribution function network layer for the inverse condition.
3. The wind speed probability prediction method according to claim 2, characterized in that the constraint condition of the conditional cumulative distribution function network layer is:
Figure 587159DEST_PATH_IMAGE006
wherein,
Figure 133678DEST_PATH_IMAGE007
representing the conditional cumulative distribution function network layer,
Figure 992656DEST_PATH_IMAGE008
accumulating parameters of the distribution function network layer for the condition,
Figure 941020DEST_PATH_IMAGE009
representing the output result of the conditional cumulative distribution function network layer,
Figure 95927DEST_PATH_IMAGE010
to predict the quantile value.
4. The wind speed probability prediction method according to claim 1, wherein the inverse conditional cumulative distribution function and the conditional cumulative distribution function in the double-layer CNN-LSTM collaborative network model are subjected to parameter training through a preset wind speed training data set to obtain an optimized collaborative prediction model, and then further comprising:
testing the optimized collaborative prediction model through a preset test data set to obtain a test result;
and screening the optimized collaborative prediction model according to the test result.
5. A wind speed probability prediction device, comprising:
the model building module is used for building a double-layer CNN-LSTM collaborative network model, wherein a loss function of the double-layer CNN-LSTM collaborative network model is a collaborative loss function, and the double-layer CNN-LSTM collaborative network model comprises an inverse conditional cumulative distribution function network layer and a conditional cumulative distribution function network layer;
the model training module is used for carrying out parameter training on the inverse condition cumulative distribution function and the condition cumulative distribution function in the double-layer CNN-LSTM collaborative network model through a preset wind speed training data set to obtain an optimized collaborative prediction model;
and the wind speed prediction module is used for inputting preset target wind speed data into the optimized collaborative prediction model to carry out prediction operation so as to obtain a wind speed probability value.
6. The wind speed probability prediction device of claim 5, wherein the objective function of the network layer of the inverse conditional cumulative distribution function is:
Figure 192059DEST_PATH_IMAGE011
wherein,
Figure 841346DEST_PATH_IMAGE002
accumulating parameters of a distribution function network layer for the inverse condition,qin order to preset the place-dividing value,Xfor the data of the preset wind speed training data set,Yfor the corresponding measure of the wind speed,
Figure 706534DEST_PATH_IMAGE003
in order to perform the averaging operation, the average value is calculated,
Figure 533807DEST_PATH_IMAGE004
representing the inverse conditional cumulative distribution function network layer,
Figure 54918DEST_PATH_IMAGE005
accumulating the output results of the distribution function network layer for the inverse condition.
7. The wind speed probability prediction device of claim 6, wherein the constraint condition of the network layer of the conditional cumulative distribution function is:
Figure 304634DEST_PATH_IMAGE006
wherein,
Figure 476858DEST_PATH_IMAGE007
representing the conditional cumulative distribution function network layer,
Figure 786616DEST_PATH_IMAGE008
accumulating parameters of the distribution function network layer for the condition,
Figure 795024DEST_PATH_IMAGE009
representing the output result of the conditional cumulative distribution function network layer,
Figure 848430DEST_PATH_IMAGE010
to predict the quantile value.
8. The wind speed probability prediction device of claim 5, further comprising:
the model testing module is used for testing the optimized collaborative prediction model through a preset testing data set to obtain a testing result;
and screening the optimized collaborative prediction model according to the test result.
9. A wind speed probability prediction device, characterized in that the device comprises a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the wind speed probability prediction method of any of claims 1-4 according to instructions in the program code.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium is configured to store program code for performing the wind speed probability prediction method of any of claims 1-4.
CN202210221104.XA 2022-03-09 2022-03-09 Wind speed probability prediction method, device, equipment and storage medium Active CN114298444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210221104.XA CN114298444B (en) 2022-03-09 2022-03-09 Wind speed probability prediction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210221104.XA CN114298444B (en) 2022-03-09 2022-03-09 Wind speed probability prediction method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114298444A true CN114298444A (en) 2022-04-08
CN114298444B CN114298444B (en) 2022-05-27

Family

ID=80978718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210221104.XA Active CN114298444B (en) 2022-03-09 2022-03-09 Wind speed probability prediction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114298444B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471137A (en) * 2018-04-17 2018-08-31 国电南京自动化股份有限公司 Wind speed power probability mapping method in a kind of wind power prediction
CN110378504A (en) * 2019-04-12 2019-10-25 东南大学 A kind of photovoltaic power generation climbing probability of happening prediction technique based on higher-dimension Copula technology
CN110648014A (en) * 2019-08-28 2020-01-03 山东大学 Regional wind power prediction method and system based on space-time quantile regression
CN111882057A (en) * 2020-06-19 2020-11-03 苏州浪潮智能科技有限公司 Multi-stage deep learning method oriented to space-time sequence data modeling and application
CN112232577A (en) * 2020-10-23 2021-01-15 浙江八达电子仪表有限公司 Power load probability prediction system and method for multi-core intelligent meter
CN112949201A (en) * 2021-03-17 2021-06-11 华翔翔能科技股份有限公司 Wind speed prediction method and device, electronic equipment and storage medium
CN113642225A (en) * 2021-05-24 2021-11-12 国网新疆电力有限公司经济技术研究院 CNN-LSTM short-term wind power prediction method based on attention mechanism
CN114004152A (en) * 2021-10-29 2022-02-01 河海大学 Multi-wind-field wind speed space-time prediction method based on graph convolution and recurrent neural network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471137A (en) * 2018-04-17 2018-08-31 国电南京自动化股份有限公司 Wind speed power probability mapping method in a kind of wind power prediction
CN110378504A (en) * 2019-04-12 2019-10-25 东南大学 A kind of photovoltaic power generation climbing probability of happening prediction technique based on higher-dimension Copula technology
CN110648014A (en) * 2019-08-28 2020-01-03 山东大学 Regional wind power prediction method and system based on space-time quantile regression
CN111882057A (en) * 2020-06-19 2020-11-03 苏州浪潮智能科技有限公司 Multi-stage deep learning method oriented to space-time sequence data modeling and application
CN112232577A (en) * 2020-10-23 2021-01-15 浙江八达电子仪表有限公司 Power load probability prediction system and method for multi-core intelligent meter
CN112949201A (en) * 2021-03-17 2021-06-11 华翔翔能科技股份有限公司 Wind speed prediction method and device, electronic equipment and storage medium
CN113642225A (en) * 2021-05-24 2021-11-12 国网新疆电力有限公司经济技术研究院 CNN-LSTM short-term wind power prediction method based on attention mechanism
CN114004152A (en) * 2021-10-29 2022-02-01 河海大学 Multi-wind-field wind speed space-time prediction method based on graph convolution and recurrent neural network

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
FIRUZ AHAMED NAHID等: ""Very Short Term Wind Speed Forecasting Using Convolutional Long Short Term Memory Recurrent Neural Network"", 《2020 INTERNATIONAL CONFERENCE AND UTILITY EXHIBITION ON ENERGY, ENVIRONMENT AND CLIMATE CHANGE (ICUE)》 *
JIAMING LIU等: ""Deep Learning Based Visualized Wind Speed Matrix Forecasting Model for Wind Power Forecasting"", 《2020 IEEE 3RD STUDENT CONFERENCE ON ELECTRICAL MACHINES AND SYSTEMS (SCEMS)》 *
MALTELEHNA等: ""Forecasting day-ahead electricity prices: A comparison of time series and neural network models taking external regressors into account"", 《ENERGY ECONOMICS》 *
刘升伟等: ""基于改进高斯过程回归的短期负荷概率区间预测方法"", 《电力系统保护与控制》 *
雷若冰等: ""基于相关性分析的风电场群风速分布预测方法"", 《电力自动化设备》 *
黎静华等: ""可再生能源电力不确定性预测方法综述"", 《高电压技术》 *

Also Published As

Publication number Publication date
CN114298444B (en) 2022-05-27

Similar Documents

Publication Publication Date Title
Ke et al. Short-term electrical load forecasting method based on stacked auto-encoding and GRU neural network
Gao et al. Interpretable deep learning model for building energy consumption prediction based on attention mechanism
CN114358213B (en) Error ablation processing method, system and medium for nonlinear time series data prediction
CN116523148B (en) Distribution network distribution transformer overload early warning method, device and equipment
CN113807589B (en) Rolling optimization method and device for energy storage of operators based on model prediction
CN113011680A (en) Power load prediction method and system
CN111697560B (en) Method and system for predicting load of power system based on LSTM
CN115238948A (en) Method and device for predicting power generation capacity of small hydropower station
CN117113202A (en) Power loop energy consumption detection method and equipment based on joint error stacking model
CN115481788A (en) Load prediction method and system for phase change energy storage system
Bajatović et al. Application of predictive models for natural gas needs-current state and future trends review
Joudaki Long-term wind speed and power forecasting based on lstm: A comprehensive study
CN114611757A (en) Electric power system short-term load prediction method based on genetic algorithm and improved depth residual error network
Hu et al. Probabilistic net load forecasting based on transformer network and Gaussian process-enabled residual modeling learning method
Jovova et al. Air pollution forecasting using CNN-LSTM deep learning model
CN114298444B (en) Wind speed probability prediction method, device, equipment and storage medium
Shang et al. Loss of life estimation of distribution transformers considering corrupted AMI data recovery and field verification
Ali et al. Deep learning networks for short term load forecasting
CN117134315A (en) Distribution transformer load prediction method and device based on BERT algorithm
CN116365512A (en) Short-term bus load prediction method based on feature selection and combined prediction model
CN115952928A (en) Short-term power load prediction method, device, equipment and storage medium
CN115759343A (en) E-LSTM-based user electric quantity prediction method and device
CN116090604A (en) Training method, prediction method and device for photovoltaic power model in future and short term
CN115618995A (en) Short-term campus water demand prediction method based on SSA-ConvLSTM-LSTM mixed model
Chen et al. A dual attention-based CNN-GRU model for short-term electric load forecasting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant