Photovoltaic power prediction method and system based on Elman neural network and satellite cloud image
By combining Elman neural network and satellite cloud images, the problems of limited data features and poor global stability in photovoltaic power prediction are solved, the prediction accuracy is improved, more accurate photovoltaic power generation power prediction is achieved, and electricity costs and energy consumption are reduced.
Patent Information
- Application Number
- CN202111294879.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-03
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-11-03
AI Technical Summary
Among the existing photovoltaic power prediction tools, Elman neural network has poor global stability and slow convergence speed, resulting in large errors and cannot effectively improve the accuracy of photovoltaic power generation prediction. Especially in rainy weather, it is difficult to be accurate due to complex cloud changes. predict.
A photovoltaic power prediction method based on Elman neural network and satellite cloud images is adopted. By obtaining historical power consumption data and satellite images for preprocessing, an Elman dynamic recursive neural network model is built, and the gray value of satellite cloud images is used as feature input to improve prediction accuracy and Make up for the memoryless and static shortcomings of the BP model.
It improves the accuracy of photovoltaic power prediction, reduces electricity costs and energy consumption, and enhances the reliability of the power system. Through high-precision extraction of satellite cloud image gray values and historical data, it optimizes model error evaluation and achieves faster convergence. and better global stability.
Smart Images

Figure CN114004405B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field related to photovoltaic power generation, and in particular relates to a photovoltaic power prediction method and system based on Elman neural network and satellite cloud image. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] With the acceleration of industrialization and electrification, human demand for energy has soared, especially the demand for electricity, which has shown an upward trend year by year. For power generation, the consumption burden of disposable energy such as coal, oil, and natural gas has increased, and the problems of cost and pollution are particularly prominent. New energy power generation dominated by photovoltaics has been vigorously developed, but due to the instability of weather conditions, photovoltaic power generation has a strong intermittent and random nature, which poses a challenge to the planning and operation of the existing power system.
[0004] At present, the photovoltaic power prediction tools that are used more are mainly artificial neural networks. Among them, Elman and BP neural networks, as recursive neural networks, both belong to artificial neural networks. However, due to the memory function of its receiving layer, the global stability of the Elman neural network is higher than that of the BP neural network. In addition, considering the weather factors, on rainy days, the movement and dissipation of clouds present inertia-free mutations, which brings difficulties to the prediction of photovoltaic power. The use of cloud maps to predict photovoltaic power has begun to be explored. The cloud maps used for photovoltaic power prediction in existing studies are mainly divided into two categories: ground-based cloud maps and satellite cloud maps. Among them, there are many studies on photovoltaic power prediction methods based on ground-based cloud maps. However, the observation range of ground-based cloud maps is limited, the cost of installation and maintenance is high, and it is difficult to apply them widely. Satellite cloud maps are relatively easy to obtain on domestic meteorological data websites and have a wide range, so the research on photovoltaic power prediction based on satellite cloud maps has gradually attracted attention. The present invention mainly solves the accurate prediction of photovoltaic power to improve the reliability of power system operation, which can reduce electricity costs, reduce energy consumption, save energy and reduce emissions, and improve economic benefits.
[0005] The inventors found that in the photovoltaic power prediction model, the historical power data contains limited features, and the traditional recursive network BP neural network has no dynamic characteristics, slow convergence speed, and poor global stability. This results in large errors in photovoltaic power prediction and cannot improve the prediction accuracy. Summary of the invention
[0006] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a photovoltaic power prediction method and system based on Elman neural network and satellite cloud map, which solves the problems of limited data characteristics and global stability, effectively utilizes meteorological laws, and thus improves the accuracy of power prediction.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] A first aspect of the present invention provides a photovoltaic power prediction method based on Elman neural network and satellite cloud images, comprising:
[0009] Obtain historical power consumption data and satellite images of the power consumption system to be predicted and perform preprocessing;
[0010] Build the Elman dynamic recurrent neural network model and input the preprocessed data for training;
[0011] Input the preprocessed data into the trained Elman model and output the prediction results.
[0012] A second aspect of the present invention provides a photovoltaic power prediction system based on Elman neural network and satellite cloud images, comprising:
[0013] A data acquisition module is configured to acquire historical power consumption data and satellite images of the power consumption system to be predicted and perform preprocessing;
[0014] The model building module is configured to build an Elman dynamic recurrent neural network model and input preprocessed data for training;
[0015] The photovoltaic power prediction module is configured to input the preprocessed data into the trained Elman model and output the prediction result.
[0016] A third aspect of the present invention provides a computer-readable storage medium.
[0017] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the photovoltaic power prediction method based on Elman neural network and satellite cloud map as described in the first aspect above.
[0018] A fourth aspect of the present invention provides a computer device.
[0019] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the photovoltaic power prediction method based on Elman neural network and satellite cloud image as described in the first aspect above are implemented.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] 1. The present invention extracts the gray value of satellite cloud images with high precision to prepare for the modeling of Elman neural network prediction model; the Elman photovoltaic power prediction model and algorithm that considers historical operation data and satellite cloud image gray value at the same time; the error calculation method between the measured value and the true value obtains the model error evaluation, thereby improving the accuracy of power prediction;
[0022] 2. The present invention uses satellite cloud images and historical power generation data as feature inputs, further enriching the data set and improving the prediction accuracy to a certain extent; the Elman model is selected, which is superior to the BP model and has the advantages of fast convergence speed and good global stability. At the same time, it also makes up for the shortcomings of the BP model of no memory and static nature.
[0023] 3. The Elman model innovatively combined with satellite data is applied to the field of photovoltaic power prediction. ;
[0024] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0026] Figure 1 This is the Elman neural network photovoltaic power prediction process of the first embodiment of the present invention;
[0027] FIG. 2( a ) is an example of a satellite cloud image at 9:00 on March 21 according to the first embodiment of the present invention;
[0028] FIG2( b ) is an example of a satellite cloud image at 8:00 on April 13 according to the first embodiment of the present invention;
[0029] FIG3( a ) is a grayscale image of a satellite cloud image at 8 o'clock on March 4 according to the first embodiment of the present invention;
[0030] FIG3( b ) is a grayscale image of a satellite cloud image at 10:15 on March 9 according to the first embodiment of the present invention;
[0031] FIG3( c ) is a grayscale image of a satellite cloud image at 10:15 on March 22 according to the first embodiment of the present invention;
[0032] FIG3( d ) is a grayscale image of the satellite cloud image at 8 o'clock on April 13 according to the first embodiment of the present invention;
[0033] Figure 4 is a statistical diagram of the number of clusters in each gray value interval of the first embodiment of the present invention;
[0034] Figure 5 is a structural diagram of an Elman neural network according to the first embodiment of the present invention;
[0035] Figure 6 This is a test error evaluation diagram of Model 1 of Embodiment 1 of the present invention;
[0036] Figure 7 This is a test error evaluation diagram of Model 2 of Embodiment 1 of the present invention;
[0037] Figure 8 This is a bar chart comparing power prediction values and actual values in the first embodiment of the present invention. DETAILED DESCRIPTION
[0038] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0039] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0040] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0041] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and systems according to various embodiments of the present disclosure. It should be noted that each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code may include one or more executable instructions for implementing the logical functions specified in each embodiment. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the flowchart and / or block diagram, and the combination of boxes in the flowchart and / or block diagram can be implemented using a dedicated hardware-based system that performs a specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0042] Embodiment 1
[0043] like Figure 1-8 As shown, this embodiment provides a photovoltaic power prediction method based on Elman neural network and satellite cloud map. This embodiment uses the method applied to the server as an example for illustration. It can be understood that the method can also be applied to the terminal, and can also be applied to a terminal, a server and a system, and is implemented through the interaction between the terminal and the server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network servers, cloud communications, middleware services, domain name services, security services CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application. In this embodiment, the method includes the following steps:
[0044] Step S100: Acquire historical power consumption data and satellite images of the power consumption system to be predicted and perform preprocessing;
[0045] Data acquisition and satellite cloud image processing, data normalization, and division of data sets into training data and test data.
[0046] Step S200: Building an Elman dynamic recursive neural network model and inputting preprocessed data for training;
[0047] The training data is input into the Elman network model for model training.
[0048] Step S300: input the preprocessed data into the trained Elman model and output the prediction result;
[0049] The test data is input into the trained model to obtain the predicted value, and then denormalized to obtain the final predicted value;
[0050] The error between the final predicted value and the true value is calculated to obtain the model error evaluation.
[0051] Specifically, step S100 includes satellite image acquisition, image grayscale processing, and grayscale value interval division.
[0052] Step S101: First, the photovoltaic power data comes from a photovoltaic power plant in Zhangqiu District, Shandong Province. The photovoltaic power plant has an installed capacity of 10MW and covers an area of 405 acres. The annual average grid-connected power generation is expected to reach 12 million kWh, equivalent to saving 3,670 tons of coal. The historical photovoltaic power generation data of the power plant from March to April 2021 is mainly used, with an interval of 15 minutes.
[0053] The latitude of the selected area of the satellite cloud image is [117.00-118.00] and the longitude is [36-37], which contains 512*450 pixels with a resolution of 1000m. The satellite cloud image from 8:00-10:30 in the morning was selected, and the power data was kept corresponding to the satellite cloud image data, and 103 data points were finally determined. When the cloud layer is thicker, the reflection of sunlight is stronger, and the pixel value of the corresponding area is larger. On the contrary, when the sky is clear, the pixel value of the corresponding area is smaller. As shown in Figure 2, examples of visible light images of Zhangqiu District, Shandong Province on March 21 and April 13, 2021 are shown respectively.
[0054] It should be noted that the historical data is the power generation data of the power plant, with a resolution of 15 minutes. Combined with the cloud map data, the data from 8:00 to 10:30 is taken. The cloud map data is the image data clipped by the longitude and latitude of the power plant area, with a resolution of 1000m. Considering the characteristics of visible light images, the data from 8:00 to 10:30 is taken.
[0055] Step S102: Then grayscale the image. According to the precise longitude and latitude of the known power plant, the picture is cropped to obtain a satellite cloud image of 50*50 pixels. Then the cloud image is grayscaled, that is, each pixel in the pixel matrix satisfies R=G=B, and the grayscale value of each pixel is extracted. The present invention selects satellite cloud images at four different time points for grayscale, and obtains a grayscale image as shown in Figure 3. It is known that the power generation at four moments is Pa=1840kw, Pb=5902kw, Pc=7169kw, and Pd=2869kw. It can be obtained that: the smaller the grayscale value of the satellite cloud image, the sparser the cloud layer, and the greater the power generation; the larger the grayscale value, the thicker the cloud layer, and the smaller the power generation.
[0056] Step S103: Finally, grayscale value interval division. The grayscale value is divided into interval clusters. Taking the four satellite cloud images mentioned above as an example, the grayscale value range is 0-255, and 10 intervals are clustered. The statistical results are shown in Table 1. Figure 4 The results show that the number of pixels obtained by interval clustering still follows the relationship between the grayscale value and the power generation. Therefore, a method is proposed to use the interval clustering statistical results as the model input to predict the power generation. The following is an example to illustrate.
[0057] Table 1 is a statistical table of the number of pixels in each gray value interval.
[0058] Table 1
[0059]
[0060]
[0061] Step S104: Data normalization. Before the network training of the historical power generation and satellite cloud image gray value information, the gray value interval clustering statistics results and the historical power generation are normalized to make their value range [0,1].
[0062] Step S105: Divide the data set into training data and test data. 90% of the data points are used for training, and 10% of the data points are used for testing the model and performing error evaluation.
[0063] Step S200: including model building and basic parameter selection
[0064] Step S201: Elman neural network is a typical dynamic recursive neural network. Compared with BP neural network, it adds a receiving layer in the hidden layer. Its network structure is generally divided into four layers: input layer, hidden layer, receiving layer and output layer. Its structure diagram is as follows: Figure 5 As shown. Among them, u is the input vector, y is the output vector, x is the n-dimensional hidden layer unit vector, c is the n-dimensional feedback vector of the receiving layer, w1, w2, w3 are the connection weights from the receiving layer to the hidden layer, from the input layer to the hidden layer, and from the hidden layer to the output layer. The network calculation formula is as follows:
[0065] y(t)=g(w3x(t)) (1)
[0066] x(t)=f(w1c(t)+w2(u(t-1))) (2)
[0067] c(t)=x(t-1) (3)
[0068] The input layer units play a role in signal transmission, and the output layer units play a role in weighting. The receiving layer is used to memorize the output value of the hidden layer unit at the previous moment, and can be considered as a delay operator with a one-step delay. The hidden layer unit usually adopts the Signmoid nonlinear activation function. It connects its output to its input through the delay and storage of the receiving layer. This self-connection method makes it sensitive to historical data. The addition of the internal feedback network increases the ability of the network itself to process dynamic information, thereby achieving the purpose of dynamic modeling. At the same time, it enables the system to adapt to time-varying characteristics and enhances the global stability of the network.
[0069] Step S202: The basic parameters of the Elman neural network are set as follows:
[0070] ① Determination of input and output layer nodes. Since the present invention mainly studies the influence of satellite cloud image information on the accuracy of the prediction model, the input nodes of different models are based on the different data volumes. The input variable of model 1 is the historical power generation, so the number of input layer nodes is 1; model 2 adds the number of interval clusters of satellite cloud image gray values, and the number of input layer nodes is 11. The output is the actual power at the current moment.
[0071] ② Selection of the number of hidden layer nodes. The number of hidden layer neurons has a great influence on the performance of the neural network and will affect the accuracy of the prediction. When the number of hidden layer neurons is too small, the network cannot conduct comprehensive learning and the prediction results are not accurate; when the number is too large, the learning speed is reduced and the "overfitting" phenomenon may occur. The present invention determines the number of hidden layer nodes based on the empirical formula:
[0072]
[0073] Where: M h 、M i 、M o The numbers of nodes in the hidden layer, input layer, and output layer are in order; a is usually 1 to 8. According to the empirical formula, different hidden layer nodes are tried to be input, and the error value of each training is compared. The present invention finally selects 3 hidden layer nodes.
[0074] In step S300, the following steps are specifically included:
[0075] Step S301: input the test data into the trained model to obtain the predicted value and perform denormalization. Denormalization is to convert the dimensionless pre-test output by the model into the predicted value in actual power units as the final predicted value.
[0076] Step S302: Calculate the error between the final predicted value and the true value to obtain a model error evaluation.
[0077] In order to compare the impact of adding satellite cloud images on the prediction accuracy, two sets of prediction values are output and measured by the error with the true value. The errors used are the root mean square error (RMSE) and the relative coefficient of variation. The root mean square error is a measure of the deviation between the predicted value and the true value, and has the same dimension as the power generation. In order to eliminate the dimension and more intuitively analyze the prediction accuracy of the model, the present invention introduces the relative coefficient of variation, that is, the ratio of the root mean square error to the average power generation. The corresponding calculation formula is as follows:
[0078]
[0079]
[0080]
[0081] Where: P i is the actual value of photovoltaic output power; P f is the predicted value of photovoltaic power; N is the total number of data; is the average value of photovoltaic power generation, and RCV is the relative coefficient of variation.
[0082] Model 1: Use the power generation at the previous moment to predict the power generation at the next moment. The model test results are as follows: Figure 6 shown.
[0083] Model 2: The power generation at the previous moment and the number of grayscale interval clusters extracted from the satellite cloud image are used as input to predict the power generation at the next moment. The model test results are as follows: Figure 7 The power prediction values and actual values of the two models are not much different.
[0084] In order to more intuitively compare the prediction accuracy of the two models, the prediction results are shown as Figure 8 The prediction accuracy of different models is shown in Table 2. Combined with the statistical results in Table 2, after adding the pixel information of the satellite cloud image, the accuracy of Model 2 is improved overall, with the root mean square error reduced from 191.3141 to 154.7513, and the RMSE-C reduced from 0.05415 to 0.04010, indicating that the addition of satellite cloud image pixel information is feasible and reliable for improving accuracy. The reason is that the addition of satellite cloud image pixel information can reflect the solar irradiation information at the time of prediction. The more useful information is input, the more accurate the prediction will be.
[0085] Table 2 Prediction accuracy of different models
[0086] Table 2
[0087] RMSE RMSE-C Model 1 191.3141 0.05415 Model 2 142.0417 0.04010
[0088] Embodiment 2
[0089] This embodiment provides a photovoltaic power prediction system based on Elman neural network and satellite cloud images, including:
[0090] A data acquisition module is configured to acquire historical power consumption data and satellite images of the power consumption system to be predicted and perform preprocessing;
[0091] The model building module is configured to build an Elman dynamic recurrent neural network model and input preprocessed data for training;
[0092] The photovoltaic power prediction module is configured to input the preprocessed data into the trained Elman model and output the prediction result.
[0093] It should be noted that the above data acquisition module, model building module and photovoltaic power prediction module correspond to steps S100 to S300 in Embodiment 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Embodiment 1. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.
[0094] Embodiment 3
[0095] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the photovoltaic power prediction method based on Elman neural network and satellite cloud map as described in the first embodiment above are implemented.
[0096] Embodiment 4
[0097] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the photovoltaic power prediction method based on the Elman neural network and satellite cloud map as described in the first embodiment are implemented.
[0098] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0099] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0102] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0103] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A photovoltaic power prediction method based on Elman neural network and satellite cloud image, characterized in that: include: Obtain historical power consumption data and satellite images of the power consumption system to be predicted and perform preprocessing; Build the Elman dynamic recurrent neural network model and input the preprocessed data for training; Input the preprocessed data into the trained Elman model and output the prediction results; The acquisition of historical power consumption data and satellite images of the power consumption system to be predicted and preprocessing is specifically as follows: Obtain historical photovoltaic power data and satellite cloud images of power plant locations; Grayscale the satellite cloud images and perform interval clustering on the grayscale values; Normalize the gray value interval clustering results and historical power generation to form a data set; The gray value interval clustering result is the number of pixels in each gray value interval; Divide the dataset into training data and test data; The Elman dynamic recursive neural network model is constructed and the pre-processed data is input for training, specifically: Build the Elman model, including input layer, hidden layer, receiving layer and output layer; Set the Elman model parameters; Input the training data in the preprocessed data into the Elman model; Get the trained Elman model; The Elman model parameters are specifically set as follows: Satellite cloud images and historical power generation data are used as feature inputs, and the outputs are all actual power at the current moment, to determine the nodes of the input layer and the output layer; Select the number of nodes in the hidden layer. The specific formula is as follows: ; Where: M h , M i , M o The number of nodes in the hidden layer, input layer, and output layer respectively; a The value range is 1 to 8.
2. A photovoltaic power prediction method based on Elman neural network and satellite cloud image as claimed in claim 1, characterized in that: The preprocessed data is input into the trained Elman model, and the prediction result is output, specifically: Input the test data in the preprocessed data into the trained Elman model to obtain the predicted value; Denormalize the predicted value to obtain the predicted value of actual power; The error between the predicted value of actual power and the actual photovoltaic power generation is calculated to obtain the model error evaluation.
3. A photovoltaic power prediction method based on Elman neural network and satellite cloud image as claimed in claim 2, characterized in that: The error calculation between the predicted value of the actual power and the actual photovoltaic power generation is performed to obtain the model error evaluation, which is specifically: ; ; ; Where: P i is the actual value of photovoltaic output power; P f is the predicted value of photovoltaic power; N is the total number of data; is the average value of photovoltaic power generation; RCV is the relative coefficient of variation.
4. A photovoltaic power prediction method based on Elman neural network and satellite cloud image as claimed in claim 1, characterized in that: The data set is divided into training data and test data, 90% of the data points are used for training, and 10% of the data points are used to test the model and perform error evaluation.
5. A photovoltaic power prediction system based on Elman neural network and satellite cloud image, characterized in that: include: A data acquisition module is configured to acquire historical power consumption data and satellite images of the power consumption system to be predicted and perform preprocessing; The model building module is configured to build an Elman dynamic recurrent neural network model and input preprocessed data for training; The photovoltaic power prediction module is configured to input the preprocessed data into the trained Elman model and output the prediction result; The acquisition of historical power consumption data and satellite images of the power consumption system to be predicted and preprocessing is specifically as follows: Obtain historical photovoltaic power data and satellite cloud images of power plant locations; Grayscale the satellite cloud images and perform interval clustering on the grayscale values; Normalize the gray value interval clustering results and historical power generation to form a data set; The gray value interval clustering result is the number of pixels in each gray value interval; Divide the dataset into training data and test data; The Elman dynamic recursive neural network model is constructed and the pre-processed data is input for training, specifically: Build the Elman model, including input layer, hidden layer, receiving layer and output layer; Set the Elman model parameters; Input the training data in the preprocessed data into the Elman model; Get the trained Elman model; The Elman model parameters are specifically set as follows: Satellite cloud images and historical power generation data are used as feature inputs, and the outputs are all actual power at the current moment, to determine the nodes of the input layer and the output layer; Select the number of nodes in the hidden layer. The specific formula is as follows: ; Where: M h , M i , M o The number of nodes in the hidden layer, input layer, and output layer respectively; a The value range is 1 to 8.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in a photovoltaic power prediction method based on an Elman neural network and a satellite cloud image as described in any one of claims 1 to 4 are implemented.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the photovoltaic power prediction method based on Elman neural network and satellite cloud map as described in any one of claims 1-4 are implemented.
