Distributed photovoltaic output prediction method, device and equipment and storage medium

By preprocessing historical and real-time data of distributed photovoltaic power stations and constructing a multi-layer network model for prediction, the problem of low accuracy of distributed photovoltaic output prediction is solved and higher prediction accuracy and stability are achieved.

CN118748404APending Publication Date: 2024-10-08GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411107857.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The existing distributed photovoltaic output prediction accuracy is low and is affected by various factors such as weather and lighting, resulting in low accuracy in the establishment of prediction models and prediction results.

Method used

Collect historical data and real-time data from distributed photovoltaic power plants, perform data preprocessing, including deduplication, standardization and extraction of multi-layer semantic features, build a prediction model, perform predictions through multiple network models, and select the target model based on the root mean square error Perform iterative training to generate prediction results.

Benefits of technology

The accuracy of distributed photovoltaic output prediction is improved, the influence of meteorological data is taken into account, and the stability and accuracy of the prediction model are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748404A_ABST
    Figure CN118748404A_ABST
Patent Text Reader

Abstract

The invention discloses a distributed photovoltaic output prediction method and device, equipment and a storage medium, which are used for solving the technical problem that the existing distributed photovoltaic output prediction is relatively low in accuracy. The method comprises the following steps: collecting historical data and real-time data of a distributed photovoltaic power station; the historical data comprises historical photovoltaic power generation power and historical meteorological data; the real-time data comprises real-time photovoltaic power generation power and real-time meteorological data; performing data preprocessing on the historical data and the real-time data to obtain preprocessed data; constructing a prediction model by adopting the preprocessed data; and inputting the real-time data into the prediction model to obtain a distributed photovoltaic output prediction result. According to the invention, the historical photovoltaic power generation power, the historical meteorological data, the real-time photovoltaic power generation power and the real-time meteorological data are introduced to construct the prediction model, and distributed photovoltaic output prediction is carried out under the condition of considering the meteorological data, so that the accuracy of distributed photovoltaic output prediction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic output prediction, and in particular to a distributed photovoltaic output prediction method, device, equipment and storage medium. Background Art

[0002] With the continuous growth of global energy demand and the improvement of environmental awareness, photovoltaic power generation, as a renewable energy technology, has been widely used and promoted. Distributed photovoltaic power generation, as an emerging model, has the advantages of flexibility and scalability, and is gradually becoming the mainstream form of photovoltaic power generation. Predicting photovoltaic output can provide a scientific basis for energy management, reduce operation and maintenance costs, and improve the utilization rate of photovoltaic power generation.

[0003] Machine learning and deep learning technologies are widely used in distributed photovoltaic output forecasting. By optimizing the model algorithm and establishing a forecasting model, the forecasting accuracy can be improved. However, since photovoltaic output is affected by many factors such as weather and light, the establishment of the forecasting model and the accuracy of the forecasting results are low. Summary of the invention

[0004] The present invention provides a distributed photovoltaic output prediction method, device, equipment and storage medium, which are used to solve the technical problem of low accuracy of existing distributed photovoltaic output prediction.

[0005] The present invention provides a distributed photovoltaic output prediction method, comprising:

[0006] Collecting historical data and real-time data of distributed photovoltaic power stations; the historical data includes historical photovoltaic power generation and historical meteorological data; the real-time data includes real-time photovoltaic power generation and real-time meteorological data;

[0007] Performing data preprocessing on the historical data and the real-time data to obtain preprocessed data;

[0008] constructing a prediction model using the preprocessed data;

[0009] The real-time data is input into the prediction model to obtain a distributed photovoltaic output prediction result.

[0010] Optionally, the step of performing data preprocessing on the historical data and the real-time data to obtain preprocessed data includes:

[0011] Removing duplicate values ​​from the historical data and the real-time data to obtain cleaned data;

[0012] Performing data standardization on the cleaning data to obtain standard data;

[0013] Extracting multi-layer semantic features from the standard data;

[0014] The multi-layer semantic features are sampled according to a preset sampling rate to obtain preprocessed data.

[0015] Optionally, the step of using the preprocessed data to construct a prediction model includes:

[0016] Inputting the preprocessed data into a plurality of preset network models, and outputting a plurality of first prediction results;

[0017] Calculating an average of a plurality of the first prediction results;

[0018] Rounding the average value to obtain a rounding result;

[0019] Calculate the root mean square error of each network model according to the rounding result;

[0020] Selecting a target model from the network model according to the root mean square error;

[0021] The target model is trained to obtain a prediction model.

[0022] Optionally, the step of training the target model to obtain a prediction model includes:

[0023] The target model is iteratively trained using a preset loss function to obtain a prediction model.

[0024] Optionally, the step of sampling the multi-layer semantic features according to a preset sampling rate to obtain preprocessed data includes:

[0025] The multi-layer semantic features are downsampled and upsampled according to a preset sampling rate to obtain preprocessed data.

[0026] Optionally, after the step of inputting the real-time data into the prediction model to obtain the distributed photovoltaic output prediction result, the method further includes:

[0027] The distributed photovoltaic output prediction result is output to a visualization interface and an operation and maintenance system.

[0028] Optionally, the historical meteorological data and the real-time meteorological data include at least two data of temperature, humidity, total solar radiation, solar scattered radiation, cloud cover, visibility, light intensity, rainfall, wind speed and wind direction.

[0029] The present invention also provides a distributed photovoltaic output prediction device, comprising:

[0030] The historical data and real-time data acquisition module is used to collect the historical data and real-time data of the distributed photovoltaic power station; the historical data includes the historical photovoltaic power generation and historical meteorological data; the real-time data includes the real-time photovoltaic power generation and real-time meteorological data;

[0031] A preprocessing module, used for performing data preprocessing on the historical data and the real-time data to obtain preprocessed data;

[0032] A prediction model building module, used to build a prediction model using the preprocessed data;

[0033] The prediction module is used to input the real-time data into the prediction model to obtain the distributed photovoltaic output prediction result.

[0034] Optionally, the preprocessing module includes:

[0035] A deduplication submodule, used to remove duplicate values ​​in the historical data and the real-time data to obtain cleaned data;

[0036] A standardization submodule, used for standardizing the cleaned data to obtain standard data;

[0037] A multi-layer semantic feature extraction submodule, used to extract multi-layer semantic features from the standard data;

[0038] The sampling submodule is used to sample the multi-layer semantic features according to a preset sampling rate to obtain preprocessed data.

[0039] Optionally, the prediction model building module includes:

[0040] A first prediction result generating submodule, used for inputting the preprocessed data into a plurality of preset network models and outputting a plurality of first prediction results;

[0041] An average value calculation submodule, used to calculate an average value of a plurality of the first prediction results;

[0042] A rounding submodule, used for rounding the average value to obtain a rounding result;

[0043] A root mean square error calculation submodule, used to calculate the root mean square error of each of the network models according to the rounding result;

[0044] A target model selection submodule, used for selecting a target model from the network model according to the root mean square error;

[0045] The prediction model training submodule is used to train the target model to obtain a prediction model.

[0046] Optionally, the prediction model training submodule includes:

[0047] The prediction model training unit is used to iteratively train the target model through a preset loss function to obtain a prediction model.

[0048] Optionally, the sampling submodule includes:

[0049] The sampling unit is used to downsample and upsample the multi-layer semantic features according to a preset sampling rate to obtain preprocessed data.

[0050] Optionally, it also includes:

[0051] The visualization module is used to output the distributed photovoltaic output prediction result to a visualization interface and an operation and maintenance system.

[0052] Optionally, the historical meteorological data and the real-time meteorological data include at least two data of temperature, humidity, total solar radiation, solar scattered radiation, cloud cover, visibility, light intensity, rainfall, wind speed and wind direction.

[0053] The present invention also provides an electronic device, the device comprising a processor and a memory:

[0054] The memory is used to store program code and transmit the program code to the processor;

[0055] The processor is used to execute the distributed photovoltaic output prediction method as described in any one of the above items according to the instructions in the program code.

[0056] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the distributed photovoltaic output prediction method as described in any one of the above items.

[0057] It can be seen from the above technical solutions that the present invention has the following advantages: The present invention provides a distributed photovoltaic output prediction method, which can specifically include: collecting historical data and real-time data of distributed photovoltaic power stations; historical data includes historical photovoltaic power generation and historical meteorological data; real-time data includes real-time photovoltaic power generation and real-time meteorological data; preprocessing historical data and real-time data to obtain preprocessed data; using preprocessed data to build a prediction model; inputting real-time data into the prediction model to obtain distributed photovoltaic output prediction results. The present invention constructs a prediction model by introducing historical photovoltaic power generation, historical meteorological data, real-time photovoltaic power generation, and real-time meteorological data to predict distributed photovoltaic output while considering meteorological data, thereby improving the accuracy of distributed photovoltaic output prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0059] Figure 1 A flowchart of a distributed photovoltaic output prediction method provided by an embodiment of the present invention;

[0060] Figure 2 A flowchart of a distributed photovoltaic output prediction method provided by an embodiment of the present invention;

[0061] Figure 3 A structural block diagram of a distributed photovoltaic output prediction device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The embodiments of the present invention provide a distributed photovoltaic output prediction method, device, equipment and storage medium, which are used to solve the technical problem of low accuracy of existing distributed photovoltaic output prediction.

[0063] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0064] See also Figure 1 , Figure 1 A flowchart of the steps of a distributed photovoltaic output prediction method provided by an embodiment of the present invention.

[0065] A distributed photovoltaic output prediction method provided by the present invention may specifically include the following steps:

[0066] Step 101, collecting historical data and real-time data of distributed photovoltaic power stations; the historical data includes historical photovoltaic power generation and historical meteorological data; the real-time data includes real-time photovoltaic power generation and real-time meteorological data;

[0067] In an embodiment of the present invention, the influence of meteorological data on the accuracy of distributed photovoltaic output prediction is taken into account, and the embodiment of the present invention collects historical photovoltaic power generation, historical meteorological power, real-time photovoltaic power generation and real-time meteorological data of distributed photovoltaic power stations as the basis for model training, so as to obtain a model that considers the influence of meteorological data.

[0068] In practical applications, the historical meteorological data and the real-time meteorological data may include at least two data of temperature, humidity, total solar radiation, solar scattered radiation, cloud cover, visibility, light intensity, rainfall, wind speed and wind direction.

[0069] In specific implementation, various sensors such as solar radiation sensors, wind speed sensors, and light sensors can be installed at key locations in photovoltaic power stations to collect data such as total solar radiation, scattered solar radiation, wind speed, and light intensity in real time. In addition, meteorological information such as temperature, humidity, wind direction, and precipitation can also be obtained from the local meteorological bureau.

[0070] Step 102, performing data preprocessing on historical data and real-time data to obtain preprocessed data;

[0071] After obtaining historical data and real-time data, in order to reduce the impact of duplicate data and data magnitude differences, data preprocessing can be performed on the historical data and real-time data to obtain preprocessed data.

[0072] Step 103, constructing a prediction model using preprocessed data;

[0073] Step 104, input the real-time data into the prediction model to obtain the distributed photovoltaic output prediction result.

[0074] In the embodiment of the present invention, after completing data preprocessing, the preprocessed data may be used to construct a prediction model, so as to use the prediction model to predict the distributed photovoltaic output for a certain period of time in the future.

[0075] The present invention constructs a prediction model by introducing historical photovoltaic power generation, historical meteorological data and real-time photovoltaic power generation, and real-time meteorological data, so as to perform distributed photovoltaic output prediction under the condition of considering meteorological data, thereby improving the accuracy of distributed photovoltaic output prediction.

[0076] See also Figure 2 , Figure 2 A flowchart of a distributed photovoltaic output prediction method provided by an embodiment of the present invention. Specifically, the following steps may be included:

[0077] Step 201, collecting historical data and real-time data of distributed photovoltaic power stations; the historical data includes historical photovoltaic power generation and historical meteorological data; the real-time data includes real-time photovoltaic power generation and real-time meteorological data;

[0078] Step 201 is the same as step 101, and the details can be referred to the description of step 101. No further description will be given here.

[0079] Step 202, removing duplicate values ​​from historical data and real-time data to obtain cleaned data;

[0080] In the embodiment of the present invention, in order to reduce data redundancy, duplicate values ​​in historical data and real-time data may be removed to obtain cleaned data.

[0081] Step 203, standardizing the cleaned data to obtain standard data;

[0082] Data normalization is a dimensional processing method.

[0083] In one example, the cleaned data may be standardized by using a Robust Scaler algorithm to obtain standardized data.

[0084] Among them, the Robust Scaler algorithm uses the median and interquartile range for feature scaling, so it will not be affected by very large or very small feature values, and can maximize the retention of anomalies (outliers) in the data set.

[0085] It should be noted that those skilled in the art may also adopt other data normalization methods, and the embodiments of the present invention do not impose specific limitations on this.

[0086] Step 204, extracting multi-layer semantic features from standard data;

[0087] Step 205, sampling the multi-layer semantic features according to a preset sampling rate to obtain preprocessed data;

[0088] In an example, step 205 may specifically include: downsampling and upsampling the multi-layer semantic features according to a preset sampling rate to obtain preprocessed data.

[0089] In an embodiment of the present invention, after data standardization is completed, multi-layer semantic features can be extracted from the standard data, and then the multi-layer semantic features can be downsampled and upsampled according to a preset sampling rate to obtain feature data, that is, preprocessed historical data and real-time data as preprocessed data.

[0090] Step 206, constructing a prediction model using the preprocessed data;

[0091] After completing the preprocessing of the data, the preprocessed data can be used to build a prediction model.

[0092] In one example, the step of using preprocessed data to build a prediction model may include the following sub-steps:

[0093] S61, inputting the preprocessed data into a plurality of preset network models, and outputting a plurality of first prediction results;

[0094] After the preprocessed data is collected, the preprocessed data can be input into the above-mentioned multiple network models to obtain the first prediction results output by each network model, wherein the first prediction result is the distributed photovoltaic power generation power.

[0095] In an embodiment of the present invention, the multiple preset network models may include a BP neural network model, a VGG network model and a convolutional neural network model.

[0096] Among them, the BP neural network model includes input layer, feature extraction layer, hidden layer and output layer; the VGG network model includes convolution layer, feature extraction layer, fully connected layer and softmax output layer; the convolutional neural network model includes input layer, convolution layer, excitation layer, feature extraction layer, pooling layer, fully connected layer and output layer.

[0097] As shown above, the BP neural network model, the VGG network model and the convolutional neural network model are all provided with a feature extraction layer, which includes multiple sampling units, at least one non-saturated activation unit and a fully connected layer; wherein the number of sampling units is the same as the number of feature data, and the sampling unit is used to extract the features of each feature data, and assign weights to suppress redundant features; the non-saturated activation unit is used to map the features output by the sampling unit to the fully connected layer to complete feature extraction. Among them, the non-saturated activation unit can be a ReLU activation function, a Leaky ReLU activation function or a ReLU6 activation function. The embodiment of the present invention does not specifically limit the non-saturated activation unit.

[0098] S62, calculating an average value of multiple first prediction results;

[0099] S63, rounding the average value to obtain a rounding result;

[0100] S64, calculating the root mean square error of each network model according to the rounding result;

[0101] S65, selecting a target model from the network model according to the root mean square error;

[0102] After obtaining the first prediction results of each network model, the average of the first prediction results of all network models can be calculated, and then the average is rounded to obtain a rounded result. Then, the root mean square error of each network model is calculated based on the rounded result, and the overfitting network model is filtered out according to the threshold of the root mean square error to obtain the target model under the corresponding weather conditions and output conditions.

[0103] In one example, the threshold of the root mean square error may be set to 0.01, and network models exceeding 0.01 will be filtered out.

[0104] It should be noted that the root mean square error is used to indicate the error that the network model will generate during the prediction process.

[0105] S66, training the target model to obtain a prediction model.

[0106] In an embodiment of the present invention, step S66 may include: iteratively training the target model through a preset loss function to obtain a prediction model.

[0107] In the embodiment of the present invention, in order to improve the prediction accuracy of the prediction model, the embodiment of the present invention iteratively trains the target model through a loss function, and stops training when the loss function value reaches the minimum. The loss function L is:

[0108]

[0109] Among them, X is the real target, Y is the predicted target, represents the number of real targets, It represents the number of prediction targets, s is the smoothing factor, and the value of s is 0.7.

[0110] By iteratively training and updating the target model, the prediction model can adapt to changes in new data, thereby improving the stability and prediction accuracy of the prediction model.

[0111] Step 207, input the real-time data into the prediction model to obtain the distributed photovoltaic output prediction result.

[0112] In the embodiment of the present invention, after completing data preprocessing, the preprocessed data may be used to construct a prediction model, so as to use the prediction model to predict the distributed photovoltaic output for a certain period of time in the future.

[0113] In an embodiment of the present invention, after the step of inputting the real-time data into the prediction model to obtain the distributed photovoltaic output prediction result, the method further includes:

[0114] The distributed photovoltaic output prediction results are output to the visualization interface and operation and maintenance system.

[0115] After the distributed photovoltaic output prediction result is obtained in the embodiment of the present invention, the distributed photovoltaic output prediction result can be output to the visualization interface and the operation and maintenance system so that the operation and maintenance personnel can perform real-time monitoring and adjustment.

[0116] The present invention constructs a prediction model by introducing historical photovoltaic power generation, historical meteorological data and real-time photovoltaic power generation, and real-time meteorological data, so as to perform distributed photovoltaic output prediction under the condition of considering meteorological data, thereby improving the accuracy of distributed photovoltaic output prediction.

[0117] See also Figure 3 , Figure 3 A structural block diagram of a distributed photovoltaic output prediction device provided in an embodiment of the present invention.

[0118] An embodiment of the present invention provides a distributed photovoltaic output prediction device, comprising:

[0119] The historical data and real-time data acquisition module 301 is used to collect the historical data and real-time data of the distributed photovoltaic power station; the historical data includes the historical photovoltaic power generation and the historical meteorological data; the real-time data includes the real-time photovoltaic power generation and the real-time meteorological data;

[0120] The preprocessing module 302 is used to perform data preprocessing on historical data and real-time data to obtain preprocessed data;

[0121] A prediction model building module 303 is used to build a prediction model using preprocessed data;

[0122] The prediction module 304 is used to input real-time data into the prediction model to obtain the distributed photovoltaic output prediction result.

[0123] In this embodiment of the present invention, the preprocessing module 302 includes:

[0124] The deduplication submodule is used to remove duplicate values ​​from historical data and real-time data to obtain clean data;

[0125] The standardization submodule is used to standardize the cleaned data to obtain standard data;

[0126] Multi-layer semantic feature extraction submodule, used to extract multi-layer semantic features from standard data;

[0127] The sampling submodule is used to sample multi-layer semantic features according to a preset sampling rate to obtain preprocessed data.

[0128] In the embodiment of the present invention, the prediction model building module 303 includes:

[0129] A first prediction result generating submodule, used for inputting preprocessed data into a plurality of preset network models and outputting a plurality of first prediction results;

[0130] An average value calculation submodule, used to calculate an average value of a plurality of first prediction results;

[0131] The rounding submodule is used to round the average value to obtain the rounding result;

[0132] The root mean square error calculation submodule is used to calculate the root mean square error of each network model according to the rounding result;

[0133] The target model selection submodule is used to select the target model from the network model according to the root mean square error;

[0134] The prediction model training submodule is used to train the target model to obtain the prediction model.

[0135] In an embodiment of the present invention, the prediction model training submodule includes:

[0136] The prediction model training unit is used to iteratively train the target model through a preset loss function to obtain a prediction model.

[0137] In an embodiment of the present invention, the sampling submodule includes:

[0138] The sampling unit is used to downsample and upsample the multi-layer semantic features according to a preset sampling rate to obtain preprocessed data.

[0139] In an embodiment of the present invention, it also includes:

[0140] The visualization module is used to output the distributed photovoltaic output prediction result to a visualization interface and an operation and maintenance system.

[0141] In an embodiment of the present invention, the historical meteorological data and the real-time meteorological data include at least two data of temperature, humidity, total solar radiation, solar scattered radiation, cloud cover, visibility, light intensity, rainfall, wind speed and wind direction.

[0142] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:

[0143] The memory is used to store the program code and transmit the program code to the processor;

[0144] The processor is used to execute the distributed photovoltaic output prediction method of the embodiment of the present invention according to the instructions in the program code.

[0145] The embodiment of the present invention further provides a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the distributed photovoltaic output prediction method of the embodiment of the present invention.

[0146] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0147] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0148] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of 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, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0149] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the 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 the 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 terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal 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.

[0150] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including 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.

[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement 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.

[0152] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0153] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0154] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A distributed photovoltaic output prediction method, characterized in that: include: Collecting historical data and real-time data of distributed photovoltaic power stations; the historical data includes historical photovoltaic power generation and historical meteorological data; the real-time data includes real-time photovoltaic power generation and real-time meteorological data; Performing data preprocessing on the historical data and the real-time data to obtain preprocessed data; constructing a prediction model using the preprocessed data; The real-time data is input into the prediction model to obtain a distributed photovoltaic output prediction result.

2. The method according to claim 1, characterized in that The step of preprocessing the historical data and the real-time data to obtain preprocessed data includes: Removing duplicate values ​​from the historical data and the real-time data to obtain cleaned data; Performing data standardization on the cleaning data to obtain standard data; Extracting multi-layer semantic features from the standard data; The multi-layer semantic features are sampled according to a preset sampling rate to obtain preprocessed data.

3. The method according to claim 1, characterized in that The step of using the preprocessed data to construct a prediction model comprises: Inputting the preprocessed data into a plurality of preset network models, and outputting a plurality of first prediction results; Calculating an average of a plurality of the first prediction results; Rounding the average value to obtain a rounding result; Calculate the root mean square error of each network model according to the rounding result; Selecting a target model from the network model according to the root mean square error; The target model is trained to obtain a prediction model.

4. The method according to claim 3, characterized in that The step of training the target model to obtain a prediction model includes: The target model is iteratively trained using a preset loss function to obtain a prediction model.

5. The method according to claim 2, characterized in that: The step of sampling the multi-layer semantic features according to a preset sampling rate to obtain pre-processed data includes: The multi-layer semantic features are downsampled and upsampled according to a preset sampling rate to obtain preprocessed data.

6. The method according to claim 1, characterized in that After the step of inputting the real-time data into the prediction model to obtain the distributed photovoltaic output prediction result, the method further includes: The distributed photovoltaic output prediction result is output to a visualization interface and an operation and maintenance system.

7. The method according to any one of claims 1 to 6, characterized in that: The historical meteorological data and the real-time meteorological data include at least two data of temperature, humidity, total solar radiation, solar scattered radiation, cloud cover, visibility, light intensity, rainfall, wind speed and wind direction.

8. A distributed photovoltaic output prediction device, characterized in that: include: The historical data and real-time data acquisition module is used to collect the historical data and real-time data of the distributed photovoltaic power station; the historical data includes the historical photovoltaic power generation and historical meteorological data; the real-time data includes the real-time photovoltaic power generation and real-time meteorological data; A preprocessing module, used for performing data preprocessing on the historical data and the real-time data to obtain preprocessed data; A prediction model building module, used to build a prediction model using the preprocessed data; The prediction module is used to input the real-time data into the prediction model to obtain the distributed photovoltaic output prediction result.

9. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the distributed photovoltaic output prediction method according to any one of claims 1-4 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program code, and the program code is used to execute the distributed photovoltaic output prediction method according to any one of claims 1-4.