CN112734073A - Photovoltaic power generation short-term prediction method based on long and short-term memory network - Google Patents
Photovoltaic power generation short-term prediction method based on long and short-term memory network Download PDFInfo
- Publication number
- CN112734073A CN112734073A CN201911031539.2A CN201911031539A CN112734073A CN 112734073 A CN112734073 A CN 112734073A CN 201911031539 A CN201911031539 A CN 201911031539A CN 112734073 A CN112734073 A CN 112734073A
- Authority
- CN
- China
- Prior art keywords
- photovoltaic power
- power generation
- weather
- short
- model
- 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.)
- Pending
Links
- 238000010248 power generation Methods 0.000 title claims abstract description 104
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000006403 short-term memory Effects 0.000 title claims abstract description 12
- 230000007787 long-term memory Effects 0.000 title abstract description 11
- 239000013598 vector Substances 0.000 claims description 27
- 238000012549 training Methods 0.000 claims description 10
- 230000001932 seasonal effect Effects 0.000 claims description 7
- 238000013528 artificial neural network Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000000306 recurrent effect Effects 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 4
- 230000007774 longterm Effects 0.000 claims description 3
- 230000003203 everyday effect Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 6
- 230000015654 memory Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000005855 radiation Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 238000000053 physical method Methods 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 230000008033 biological extinction Effects 0.000 description 1
- 238000010924 continuous production Methods 0.000 description 1
- 230000002354 daily effect Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- BULVZWIRKLYCBC-UHFFFAOYSA-N phorate Chemical compound CCOP(=S)(OCC)SCSCC BULVZWIRKLYCBC-UHFFFAOYSA-N 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000001556 precipitation Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Marketing (AREA)
- Biophysics (AREA)
- General Business, Economics & Management (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Tourism & Hospitality (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Primary Health Care (AREA)
- Photovoltaic Devices (AREA)
Abstract
The invention relates to a photovoltaic power generation short-term prediction method based on a long-term and short-term memory network, which comprises the steps of determining weather data characteristics highly related to power generation power by using Pearson correlation coefficients, establishing a nonlinear relation between input weather data characteristics and output power generation power by using an LSTM network model, capturing the correlation of time series, dividing an original input data set aiming at seasons and weather types, improving the prediction precision of the model, and carrying out linear fitting processing on LSTM model prediction results based on the seasons and the weather types to further improve the accuracy of model prediction.
Description
Technical Field
The invention relates to the field of photovoltaic power generation, in particular to a photovoltaic power generation power short-term prediction method based on a long-term and short-term memory network.
Background
Photovoltaic power generation is a technology for directly converting light energy into electric energy by utilizing the photovoltaic effect of a semiconductor interface. The photovoltaic power generation has the advantages of cleanness, environmental protection, land saving, low investment cost and the like, and the accurate prediction of the photovoltaic power generation power can help a power grid dispatching department to adjust a dispatching plan in time, so that the running safety, economy and stability of a power grid are improved. The short-term prediction time scale of the photovoltaic power generation power is 1 day to 3 days. The current methods for predicting photovoltaic power generation power are divided into physical methods and statistical methods. The physical method is mainly used for predicting the photovoltaic power generation power based on physical equations such as a photovoltaic module operation equation and a solar radiation transfer equation, and the statistical method is used for fitting the power characteristics based on actual operation data of a power station.
Long-short term memory networks (LSTM) are a class of recurrent neural networks used to process time series data. The core design of the LSTM model is to realize long-term and short-term memory by using the cell state, thereby solving the problems of gradient extinction and gradient explosion in the recurrent neural network. LSTM contain many cells with self-attachment that are capable of storing the temporal state of the model. When the input information enters the LSTM network, the Cell state Cell determines whether the information is useful or not. There are three gates in a Cell, namely an input gate, a forgetting gate and an output gate. The input gate control information is activated and input to the memory unit. The left gate controls the retention state of cell history information, and the output gate control unit activates the output flow to the subsequent cell, so that information which depends on the cell for a long time can be well learned.
Disclosure of Invention
The invention aims to provide a photovoltaic power generation power short-term prediction method based on a long and short-term memory network, so that the accuracy of photovoltaic power generation power prediction is improved.
The technical scheme adopted by the invention for solving the technical problems is that,
in a first aspect, a method for short-term photovoltaic power generation power prediction is provided, and the method includes:
calculating the correlation between each characteristic of weather forecast data and photovoltaic power generation power of a photovoltaic power station according to each characteristic of the weather forecast data of the photovoltaic power station and the photovoltaic power generation power of the photovoltaic power station;
selecting a plurality of weather forecast data features with high correlation to form an input vector of a photovoltaic power generation power short-term prediction model according to the correlation calculation result;
dividing a data set formed by the input vectors according to the lunar calendar information and the weather type to obtain a plurality of subdata sets based on seasons and the weather type;
obtaining a predicted value of the photovoltaic power generation power according to the season and weather type subdata sets and a photovoltaic power generation power short-term prediction model; the photovoltaic power generation short-term prediction model is obtained through training.
Preferably, the calculating of the correlation between each feature of the weather forecast data and the photovoltaic power generation power includes calculating the correlation between each feature of the weather forecast data and the photovoltaic power generation power using a Pearson correlation coefficient formula.
Preferably, the photovoltaic power generation short-term prediction model is a recurrent neural network (LSTM) long-term and short-term memory model.
Preferably, the performing seasonal division on the data set of the input vector according to the lunar calendar information includes performing division according to spring, summer, autumn and winter to obtain a seasonal sub-data set; wherein, the spring from spring to summer, the summer from summer to autumn, the autumn to winter and the winter are the autumn, and the other is the winter.
Specifically, each season subdata set is trained to obtain a season-based LSTM photovoltaic power generation short-term prediction model.
More specifically, the photovoltaic power generation short-term prediction model is a double-layer LSTM model, the input layer is the input vector, the hidden layer performs feature extraction and feature regression, and the output layer is the predicted value of the photovoltaic power generation power.
Preferably, the data set of the input vector is divided according to weather types, and the method is that the data set of the input vector is divided according to the weather types based on the weather forecast information every day, and the weather types are divided into three categories, namely, sunny days, cloudy days/cloudy days, rainy days/snowy days, so as to obtain the weather type sub data set.
Specifically, each weather type subdata set is trained to obtain an LSTM photovoltaic power generation short-term prediction model based on the weather type.
Preferably, the characteristic data set of the photovoltaic power station numerical weather forecast data is subdivided according to the seasons and the weather types by combining the seasons and the weather types to obtain the sub data sets of the seasons and the weather types.
Specifically, each sub data set of the seasons and the weather types is trained to obtain an LSTM photovoltaic power generation short-term prediction model based on the seasons and the weather types.
Preferably, the predicted value of the photovoltaic power generation power is corrected through a fitting model.
In particular, the fitted model is a unary linear model; and the fitting parameters of the fitting model are obtained by automatic learning according to the predicted value and the true value of the photovoltaic power generation power.
In a second aspect, a method for training a photovoltaic power generation short-term prediction model is provided, the method comprising:
calculating the correlation between each characteristic of weather forecast data and photovoltaic power generation power of a photovoltaic power station according to each characteristic of the weather forecast data of the photovoltaic power station and the photovoltaic power generation power of the photovoltaic power station;
selecting a plurality of weather forecast data features with high correlation to form an input vector of a photovoltaic power generation power short-term prediction model according to the correlation calculation result;
dividing a data set formed by the input vectors according to the lunar calendar information and the weather type to obtain a plurality of subdata sets based on seasons and the weather type;
training a photovoltaic power generation power short-term prediction model based on the seasons and the weather types according to the season and weather type subdata sets and historical photovoltaic power generation power; and the photovoltaic power generation short-term prediction model obtains a predicted value of the photovoltaic power generation power according to the season and weather type subdata sets.
The photovoltaic power generation short-term prediction method based on the long and short-term memory network has the following advantages that:
1) characteristics in the photovoltaic power station weather data set which are highly related to the generated power can be more accurately determined by using Pearson correlation coefficients.
2) The LSTM network model is used for not only establishing a nonlinear relation between input characteristics and output power, but also capturing the correlation of time series.
3) And the original data sets are divided according to seasons and weather types, so that the model prediction precision is improved.
4) And linear fitting processing is carried out on the LSTM model prediction result based on the season and the weather type, so that the model prediction precision is further improved.
Drawings
Fig. 1 is a flowchart of a short-term photovoltaic power generation power prediction method based on a long-term and short-term memory network according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an LSTM unit according to an embodiment of the present invention;
FIG. 3 is a flow chart of a two-layer LSTM network model training provided by an embodiment of the present invention;
fig. 4 is a Pearson correlation coefficient diagram provided by an embodiment of the present invention;
fig. 5 is a diagram of spring and summer after linear fitting of the model prediction results based on season and weather type according to the embodiment of the present invention;
FIG. 6 is a subdivision flow diagram of one embodiment of the present invention.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Fig. 1 is a flowchart of a short-term photovoltaic power generation power prediction method based on a long-term and short-term memory network according to an embodiment of the present invention. As shown, the method comprises the following steps:
step 110, calculating the correlation between the photovoltaic power station numerical weather forecast data and the photovoltaic power generation power by using a Pearson correlation coefficient formula;
specifically, the Pearson Correlation Coefficient (Pearson Correlation Coefficient) is used to measure the linear relationship between two data set variables. The Pearson correlation coefficient formula is shown below, and the correlation coefficient r describes the degree of linear correlation between the variable X and the variable Y, which has a value range of [ -1,1 ]. The closer the absolute value of the correlation coefficient r is to 1, the stronger the correlation between the two sets of variables. The closer the correlation coefficient r is to 0, the weaker the correlation. And calculating the correlation between each characteristic of the photovoltaic power station numerical weather forecast data and the photovoltaic power generation power by using a Pearson correlation coefficient formula.
In the above equation, cov (X, Y) represents the covariance of two sets of vectors X and Y, and σ X, σ Y represent the standard deviation of vectors X, Y, respectively.Respectively, are the mean values of X and Y.
Step 120, selecting the numerical weather forecast data features with high correlation to form an input vector of the LSTM model based on the correlation coefficient calculated by the Pearson correlation coefficient formula in the step 110;
step 130, dividing the input vector data set according to the season of the lunar calendar and the weather type information of the weather forecast to obtain subdata sets divided according to the season and the weather type;
in one embodiment, in order to highlight the influence of seasonal changes on photovoltaic power generation power, the data sets are divided into seasons according to the lunar calendar information, wherein spring to summer are spring days, summer to autumn is summer, autumn to winter is autumn days, and the rest is winter, each subdata set is trained, and a season-based LSTM photovoltaic power generation short-term prediction model is established.
In another embodiment, to verify the effect of weather type on photovoltaic power generation, the raw data set is divided into sunny, cloudy, rainy, and snowy data sets by weather type based on daily weather forecast information for a weather forecast network. The similarity between cloudy days and between rainy days and snowy days is higher, so the weather types are divided into three categories, namely sunny days, cloudy/cloudy days and rainy/snowy days. And training each subdata set to form an LSTM photovoltaic power generation short-term prediction model based on the weather type.
In another embodiment, in order to further improve the model and improve the photovoltaic power generation power prediction accuracy, two factors of seasons and weather types are combined, the original data set is subdivided based on the seasons and the weather types, each subdata set is trained, and an LSTM photovoltaic power generation power short-term prediction model based on the seasons and the weather types is established.
Step 140, training a photovoltaic power generation power short-term prediction model based on seasons and weather types according to the season and weather type subdata sets and historical photovoltaic power generation power; the photovoltaic power generation short-term prediction model obtains a predicted value of the photovoltaic power generation power according to the season and the weather type subdata set.
Photovoltaic power generation is a continuous process. The photovoltaic power generation power at each moment depends not only on the input characteristics at the present moment but also on the input characteristics at the past moment. LSTM is a recurrent neural network used to process time series data. The LSTM network model consists of an input layer, a hidden layer and an output layer, the hidden layer is no longer a normal neural unit, but an LSTM unit with unique memory cells and 3 "gates" to control the state of the memory cells. The 3 "gates" are respectively: an input gate, a forgetting gate and an output gate. LSTM relies on unique memory cells and "gate" structures to solve the problem of short-term RNN memory, and can remember more distant information. The LSTM cell structure is shown in fig. 2.
The calculation formula between the variables in fig. 2 is as follows:
ft=σ(Wf*(ht-1,xt)+bf)
it=σ(Wi*(ht-1,xt)+bi)
Ct=tanh(WC*(ht-1,xt)+bC)
Ct=ft*Ct-1+it*Ct
ot=σ(Wo*(ht-1,xt)+bo)
ht=ot*tanh(Ct)
yt=σ(W*ht)
wherein: f. oft、it、ot、CtVector values of the states of the forgetting gate, the input gate, the output gate and the memory cell, Wf、Wi、Wo、WCWeight coefficients of forgetting gate, input gate, output gate, memory cell, bf、bi、bo、bCThe offset vectors of a forgetting gate, an input gate, an output gate and a memory cell are provided, sigma is an activation function, generally a sigmoid function, and tanh is a hyperbolic tangent function. Data x at the current time ttAfter input, state c of the previous cellt-1Will be updated to generate the state c of the current timet。htSeen as a short-term state, ctAnd the information is regarded as a long-term state, so that the information which depends on the long term can be well learned. y istIs the output of the current time.
In one embodiment of the invention, a two-layer LSTM model is used to make a point-by-point prediction of photovoltaic power generation. The LSTM model input layer is a feature vector composed of features selected by Pearson correlation coefficients. The model hidden layer can be abstracted into a feature extraction part and a feature regression part, wherein the feature extraction part is completed by an LSTM deep learning method, and the feature regression is completed by a full connection layer.
In another embodiment, a model training flow diagram is shown in FIG. 3, model input data x1x2......x96Firstly, after normalization processing, sending the data into a double-layer LSTM network to dynamically capture a time sequence of input data, and then dynamically outputting a predicted value y of the photovoltaic generating power through a full-connection layer with a RuLU activation function1y2…y96. The photovoltaic power generation power predicted by the model needs to be subjected to inverse normalization processing, so that the photovoltaic power generation power has practical significance. The photovoltaic power generation short-term prediction model based on the LSTM not only establishes a nonlinear relation between input characteristics and output power, but also captures the correlation of time series.
And 150, performing linear fitting on the predicted value and the true value of the photovoltaic power generation power, obtaining a fitting parameter value of a linear fitting model according to the historical predicted value and the true value, and fitting the predicted value of the photovoltaic power generation power output by the short-term photovoltaic power generation power prediction model by using the fitting model to obtain the fitted predicted value which is closer to the actual photovoltaic power generation power.
Specifically, because a certain error exists between the predicted value and the true value of the photovoltaic power generation predicted by the LSTM model, the predicted value and the true value are subjected to linear fitting. Because the predicted value and the true value are in a linear relation, a unary linear model is used for fitting the predicted value and the true value, and the formula is as follows:
Y=a*y+b
and Y is the actual operating power of the photovoltaic power generation, and Y is a predicted value predicted by the LSTM model. The unary linear model can automatically learn fitting parameters a and b between the real power and the predicted power. And performing linear fitting on the value Y predicted by the LSTM model in the future and the already-obtained parameters a and b to obtain a theoretical power value closer to the real power.
The method has the following effects:
the effect of the method of the invention is further illustrated below using the actual data of one embodiment. Taking Ningxia Shizui photovoltaic power station as an example, the data set comprises photovoltaic power information and meteorological data of 15 minutes by year from 1/2017 to 12/31/2017. 96 time points of data per day, for a total of 35040 data.
(1) Data feature selection
Correlation between each characteristic of the photovoltaic power station numerical weather forecast data and photovoltaic power generation power, that is, correlation between solar short wave radiation, solar long wave radiation, surface air pressure, precipitation, surface wind speed, surface wind direction, solar altitude angle, solar azimuth angle and photovoltaic power generation power, is calculated using the Pearson correlation coefficient formula, as shown in fig. 4.
Based on the correlation coefficient calculated by the Pearson correlation coefficient formula, selecting the numerical weather forecast data characteristics with the absolute value larger than 0.2 to form the input vector of the LSTM model, namely the solar short wave radiation, the solar altitude angle and the environment humidity.
(2) Prediction model accuracy
Use ofTwo indicators, root Mean square error rmse (root Mean Squared error) and Mean Absolute error mae (Mean Absolute error), evaluate the accuracy of the prediction model. Wherein N is the number of samples in the test set, yiAs actual value of power, YiIs a predicted value.
Aiming at the characteristic vectors, a season-based LSTM photovoltaic power generation short-term prediction model, a weather-type-based LSTM photovoltaic power generation short-term prediction model and a season-and weather-type-based LSTM photovoltaic power generation short-term prediction model are respectively established (as shown in FIG. 6). The results of the model experiments are shown below.
Table.1 LSTM photovoltaic power generation short-term prediction model result based on full data set
Table.2 LSTM photovoltaic power generation short-term prediction model result based on seasons
Season | RMSE(MW) | MAE(MW) |
Spring | 11.20 | 5.45 |
Summer | 11.44 | 5.68 |
Autumn | 12.10 | 6.02 |
In winter | 11.16 | 4.99 |
Table.3 weather-type-based LSTM photovoltaic power generation short-term prediction model result
Weather type | RMSE(MW) | MAE(MW) |
In sunny days | 8.37 | 4.16 |
Cloudy/cloudy day | 9.20 | 4.27 |
Rainy/snowy day | 9.97 | 5.46 |
Table.4 LSTM photovoltaic power generation short-term prediction model result based on seasons and weather types
Therefore, the LSTM short-term photovoltaic power prediction model based on the seasons and the weather types can effectively improve the photovoltaic power generation power prediction accuracy.
(3) Performing linear fitting on the prediction result
And performing linear fitting on the model prediction result based on the season and the weather type, and further improving the model prediction precision.
The formula for the linear fit is: y is 0.96 x Y +0.07
The linear fit of the spring summer results is shown in fig. 5.
The photovoltaic power generation short-term prediction method based on the long and short-term memory network provided by the embodiment of the invention determines weather data characteristics highly related to power generation power by using a Pearson correlation coefficient; the LSTM network model is used for not only establishing a nonlinear relation between input characteristics and output power, but also capturing the correlation of a time sequence; original data sets are divided according to seasons and weather types, and model prediction accuracy is improved; and linear fitting processing is carried out on the LSTM model prediction result based on the season and the weather type, so that the model prediction precision is further improved. By applying the method provided by the embodiment of the invention, the influence factors of the predicted power of the photovoltaic power station, which need to be considered, can be determined, and the feature vector is formed by selecting the features with higher correlation; reasonably modeling the characteristic vector, and properly splitting the data set to obtain higher precision; post-processing the predicted value obtained by the model to obtain a theoretical power value closer to the true value
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (13)
1. A method for short-term prediction of photovoltaic power generation, the method comprising:
calculating the correlation between each characteristic of weather forecast data and photovoltaic power generation power of a photovoltaic power station according to each characteristic of the weather forecast data of the photovoltaic power station and the photovoltaic power generation power of the photovoltaic power station;
selecting a plurality of weather forecast data features with high correlation to form an input vector of a photovoltaic power generation power short-term prediction model according to the correlation calculation result;
dividing a data set formed by the input vectors according to the lunar calendar information and the weather type to obtain a plurality of subdata sets based on seasons and the weather type;
obtaining a predicted value of the photovoltaic power generation power according to the season and weather type subdata sets and a photovoltaic power generation power short-term prediction model; the photovoltaic power generation short-term prediction model is obtained through training.
2. The method of claim 1, wherein the calculating the correlation between the respective characteristics of the weather forecast data and the photovoltaic power generation power comprises calculating the correlation between the respective characteristics of the weather forecast data and the photovoltaic power generation power using a Pearson correlation coefficient formula.
3. The method of claim 1, wherein the photovoltaic power generation short-term prediction model is a recurrent neural network (LSTM) long-term short-term memory model.
4. The method of claim 3, wherein the photovoltaic power generation short-term prediction model is a two-layer LSTM model, an input layer is the input vector, a hidden layer performs feature extraction and feature regression, and an output layer is a predicted value of photovoltaic power generation.
5. The method of claim 1, wherein the seasonal division of the data set of the input vector according to the lunar calendar information comprises dividing by spring, summer, fall, and winter to obtain a set of seasonal sub-data; wherein, the spring from spring to summer, the summer from summer to autumn, the autumn to winter and the winter are the autumn, and the other is the winter.
6. The method of claim 4, wherein each of the seasonal sub-data sets is trained to derive a seasonal-based LSTM photovoltaic power generation short-term prediction model.
7. The method of claim 1, wherein the dataset of input vectors is partitioned according to weather type by dividing the dataset of input vectors according to weather type based on weather forecast information every day, and the weather type is partitioned into three categories, namely sunny days, cloudy/cloudy days, rainy days, and snowy days, to obtain the weather type sub dataset.
8. The method of claim 6, wherein each of the weather-type sub-datasets is trained to derive a weather-type based LSTM photovoltaic power generation short-term prediction model.
9. The method of claim 1, wherein the feature data sets of the photovoltaic plant numerical weather forecast data are subdivided by season and weather type in combination with the season and the weather type to obtain sub-sets of season and weather type data.
10. The method of claim 8, wherein each of the sub-sets of season and weather type data is trained to derive a season and weather type based LSTM photovoltaic power generation short-term prediction model.
11. The method according to claim 1, characterized in that the predicted value of the photovoltaic power generation power is corrected by fitting a model.
12. The method of claim 10, wherein the fitting model is a unary linear model; and the fitting parameters of the fitting model are obtained by automatic learning according to the predicted value and the true value of the photovoltaic power generation power.
13. A method for training a photovoltaic power generation short-term prediction model is characterized by comprising the following steps:
calculating the correlation between each characteristic of weather forecast data and photovoltaic power generation power of a photovoltaic power station according to each characteristic of the weather forecast data of the photovoltaic power station and the photovoltaic power generation power of the photovoltaic power station;
selecting a plurality of weather forecast data features with high correlation to form an input vector of a photovoltaic power generation power short-term prediction model according to the correlation calculation result;
dividing a data set formed by the input vectors according to the lunar calendar information and the weather type to obtain a plurality of subdata sets based on seasons and the weather type;
training a photovoltaic power generation power short-term prediction model based on the seasons and the weather types according to the season and weather type subdata sets and historical photovoltaic power generation power; and the photovoltaic power generation short-term prediction model obtains a predicted value of the photovoltaic power generation power according to the season and weather type subdata sets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911031539.2A CN112734073A (en) | 2019-10-28 | 2019-10-28 | Photovoltaic power generation short-term prediction method based on long and short-term memory network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911031539.2A CN112734073A (en) | 2019-10-28 | 2019-10-28 | Photovoltaic power generation short-term prediction method based on long and short-term memory network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112734073A true CN112734073A (en) | 2021-04-30 |
Family
ID=75589096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911031539.2A Pending CN112734073A (en) | 2019-10-28 | 2019-10-28 | Photovoltaic power generation short-term prediction method based on long and short-term memory network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112734073A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113537598A (en) * | 2021-07-17 | 2021-10-22 | 沈阳工程学院 | Short-term light power prediction method based on NWP-LSTM |
CN113962441A (en) * | 2021-09-26 | 2022-01-21 | 华能澜沧江水电股份有限公司 | Short-term irradiance prediction method and prediction system based on historical data analysis |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489038A (en) * | 2013-09-09 | 2014-01-01 | 国家电网公司 | Photovoltaic ultra-short-term power prediction method based on LM-BP neural network |
CN105426956A (en) * | 2015-11-06 | 2016-03-23 | 国家电网公司 | Ultra-short-period photovoltaic prediction method |
CN106570594A (en) * | 2016-11-11 | 2017-04-19 | 国网江西省电力公司电力科学研究院 | Similar day photovoltaic power generation short period prediction method based on TMBP |
CN108205717A (en) * | 2017-12-30 | 2018-06-26 | 国网江苏省电力公司无锡供电公司 | A kind of photovoltaic generation power Multiple Time Scales Forecasting Methodology |
CN108280551A (en) * | 2018-02-02 | 2018-07-13 | 华北电力大学 | A kind of photovoltaic power generation power prediction method using shot and long term memory network |
CN108694484A (en) * | 2018-08-30 | 2018-10-23 | 广东工业大学 | A kind of photovoltaic power generation power prediction method |
CN108734331A (en) * | 2018-03-23 | 2018-11-02 | 武汉理工大学 | Short-term photovoltaic power generation power prediction method based on LSTM and system |
CN109284870A (en) * | 2018-10-08 | 2019-01-29 | 南昌大学 | Short-term method for forecasting photovoltaic power generation quantity based on shot and long term Memory Neural Networks |
CN109685257A (en) * | 2018-12-13 | 2019-04-26 | 国网青海省电力公司 | A kind of photovoltaic power generation power prediction method based on Support vector regression |
CN109902874A (en) * | 2019-02-28 | 2019-06-18 | 武汉大学 | A kind of micro-capacitance sensor photovoltaic power generation short term prediction method based on deep learning |
-
2019
- 2019-10-28 CN CN201911031539.2A patent/CN112734073A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489038A (en) * | 2013-09-09 | 2014-01-01 | 国家电网公司 | Photovoltaic ultra-short-term power prediction method based on LM-BP neural network |
CN105426956A (en) * | 2015-11-06 | 2016-03-23 | 国家电网公司 | Ultra-short-period photovoltaic prediction method |
CN106570594A (en) * | 2016-11-11 | 2017-04-19 | 国网江西省电力公司电力科学研究院 | Similar day photovoltaic power generation short period prediction method based on TMBP |
CN108205717A (en) * | 2017-12-30 | 2018-06-26 | 国网江苏省电力公司无锡供电公司 | A kind of photovoltaic generation power Multiple Time Scales Forecasting Methodology |
CN108280551A (en) * | 2018-02-02 | 2018-07-13 | 华北电力大学 | A kind of photovoltaic power generation power prediction method using shot and long term memory network |
CN108734331A (en) * | 2018-03-23 | 2018-11-02 | 武汉理工大学 | Short-term photovoltaic power generation power prediction method based on LSTM and system |
CN108694484A (en) * | 2018-08-30 | 2018-10-23 | 广东工业大学 | A kind of photovoltaic power generation power prediction method |
CN109284870A (en) * | 2018-10-08 | 2019-01-29 | 南昌大学 | Short-term method for forecasting photovoltaic power generation quantity based on shot and long term Memory Neural Networks |
CN109685257A (en) * | 2018-12-13 | 2019-04-26 | 国网青海省电力公司 | A kind of photovoltaic power generation power prediction method based on Support vector regression |
CN109902874A (en) * | 2019-02-28 | 2019-06-18 | 武汉大学 | A kind of micro-capacitance sensor photovoltaic power generation short term prediction method based on deep learning |
Non-Patent Citations (2)
Title |
---|
代倩等: "基于气象因子的神经网络模型在光伏发电预测中的应用研究", 《第27届中国气象学会年会气候资源应用研究分会场论文集》 * |
黄滇玲等: "基于长短时记忆网络的光伏发电功率预测", 《科研信息化技术与应用》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113537598A (en) * | 2021-07-17 | 2021-10-22 | 沈阳工程学院 | Short-term light power prediction method based on NWP-LSTM |
CN113962441A (en) * | 2021-09-26 | 2022-01-21 | 华能澜沧江水电股份有限公司 | Short-term irradiance prediction method and prediction system based on historical data analysis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110070226B (en) | Photovoltaic power prediction method and system based on convolutional neural network and meta-learning | |
CN110909919A (en) | Photovoltaic power prediction method of depth neural network model with attention mechanism fused | |
CN103117546B (en) | A kind of Ultrashort-term slide prediction method for wind power | |
CN110942194A (en) | Wind power prediction error interval evaluation method based on TCN | |
CN109146162A (en) | A kind of probability wind speed forecasting method based on integrated Recognition with Recurrent Neural Network | |
CN105160423A (en) | Photovoltaic power generation prediction method based on Markov residual error correction | |
CN109412161B (en) | Power system probability load flow calculation method and system | |
CN111626473A (en) | Two-stage photovoltaic power prediction method considering error correction | |
CN112215428A (en) | Photovoltaic power generation power prediction method and system based on error correction and fuzzy logic | |
CN112215478B (en) | Power coordination control method and device for optical storage station and storage medium | |
CN117613883A (en) | Method and device for predicting generated power, computer equipment and storage medium | |
CN106446440A (en) | Short-term photovoltaic generation power prediction method based on online sequential extreme learning machine | |
CN115907131B (en) | Method and system for constructing electric heating load prediction model in northern area | |
CN116307291B (en) | Distributed photovoltaic power generation prediction method and prediction terminal based on wavelet decomposition | |
CN113516271A (en) | Wind power cluster power day-ahead prediction method based on space-time neural network | |
CN113962441A (en) | Short-term irradiance prediction method and prediction system based on historical data analysis | |
CN115186923A (en) | Photovoltaic power generation power prediction method and device and electronic equipment | |
CN113537582A (en) | Photovoltaic power ultra-short-term prediction method based on short-wave radiation correction | |
CN116435998A (en) | Prediction method of photovoltaic power generation power | |
CN115759467A (en) | Time-division integrated learning photovoltaic prediction method for error correction | |
CN112734073A (en) | Photovoltaic power generation short-term prediction method based on long and short-term memory network | |
Zhou et al. | A Hybrid Method for Ultrashort‐Term Wind Power Prediction considering Meteorological Features and Seasonal Information | |
Mukherjee et al. | Solar irradiance prediction from historical trends using deep neural networks | |
CN108694475B (en) | Short-time-scale photovoltaic cell power generation capacity prediction method based on hybrid model | |
CN112232714B (en) | Deep learning-based risk assessment method for distribution network under incomplete structural parameters |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210430 |
|
WD01 | Invention patent application deemed withdrawn after publication |