Sky-ground integrated photovoltaic power generation output prediction method and system
By constructing a sky-ground integrated photovoltaic power station monitoring system and adaptive decomposition technology, a set of eigenmode functions is generated and a photovoltaic power prediction model is constructed, which solves the problem of low photovoltaic output prediction accuracy in the existing technology and realizes the control of photovoltaic power generation. Accurate prediction of trends ensures stable operation of the power grid.
Patent Information
- Application Number
- CN202410966430.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-18
AI Technical Summary
Existing photovoltaic output prediction technology is difficult to achieve high-precision prediction, which affects the stability and reliability of the power grid. Especially because photovoltaic output is affected by natural factors and environmental factors, there is obvious intermittency and volatility, and it cannot meet customer electricity needs at all times. .
Build a sky-ground integrated photovoltaic power station monitoring system, obtain dust coverage information, photovoltaic panel area and ground irradiation intensity through satellite images and ground data, generate basic data, and generate a set of eigenmode functions through adaptive decomposition to construct a photovoltaic Power prediction model, using LSTM for iterative prediction.
It achieves accurate prediction of photovoltaic power generation trends, helps to rationally dispatch power resources, reduces uncertainty in power supply, and maintains stable operation of the power grid.
Smart Images

Figure CN118523314B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy scheduling technology, and in particular to a method and system for predicting the output of sky-ground integrated photovoltaic power generation. Background Art
[0002] In recent years, with the increasing proportion of new energy such as photovoltaics in the power grid, the stability and reliability of the power grid are facing new challenges. Photovoltaic output is affected by natural and environmental factors, and has obvious intermittent and volatile characteristics, resulting in unstable solar power generation, which cannot always meet customers' electricity needs. It may also cause fluctuations and flickers in system voltage, seriously affecting power dispatch decisions and demand response management. Based on this, it is urgent to carry out high-precision photovoltaic power prediction to effectively reduce the impact of photovoltaic grid connection on the power grid.
[0003] There are three main types of existing photovoltaic output prediction technologies: prediction based on physical models, prediction based on historical photovoltaic system data, and prediction based on meteorological data. Prediction technology based on physical models often calculates irradiation intensity through astronomical equations, combines the photoelectric conversion equation to obtain the theoretical value of photovoltaic processing, and then predicts the output power of the photovoltaic station based on the attenuation coefficient. Due to the lack of historical information, the model cannot learn more mapping rules, and the power prediction accuracy is difficult to improve significantly. Prediction technology based on historical photovoltaic system data often uses data-driven methods such as long short-term memory (LSTM), which fails to effectively process the time-varying and nonlinear characteristics of the signal, and the prediction performance is difficult to guarantee. Prediction based on meteorological data often uses the wide coverage characteristics of meteorological satellites to obtain meteorological and environmental information of photovoltaic systems, and has not deeply explored the potential of high-precision remote sensing satellites and satellite Internet, resulting in the failure to fully utilize photovoltaic power generation status information, resulting in a low accuracy rate of photovoltaic power prediction.
[0004] Therefore, how to accurately and reasonably predict photovoltaic power has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] In order to achieve accurate and reasonable prediction of photovoltaic power, the present application provides a sky-ground integrated photovoltaic power generation output prediction method and system.
[0006] In the first aspect, the present application provides a method for predicting the output of sky-ground integrated photovoltaic power generation, which adopts the following technical solution:
[0007] A method for predicting the output of photovoltaic power generation integrated with sky and ground, comprising:
[0008] Constructing a sky-ground integrated photovoltaic power station monitoring system and acquiring basic data through the sky-ground integrated photovoltaic power station monitoring system;
[0009] Performing data cleaning on the basic data to obtain target data;
[0010] performing adaptive decomposition according to the target data to generate a set of eigenmode functions;
[0011] Constructing a photovoltaic power prediction model according to the intrinsic mode function set;
[0012] Iterate according to the photovoltaic power prediction model and output a photovoltaic prediction curve.
[0013] Optionally, the step of constructing a sky-ground integrated photovoltaic power station monitoring system and acquiring basic data through the sky-ground integrated photovoltaic power station monitoring system includes:
[0014] Construct a sky-ground integrated photovoltaic power station monitoring system;
[0015] Obtain dust coverage information of the target area through the sky-ground integrated photovoltaic power station monitoring system;
[0016] Determine the photovoltaic panel area information corresponding to the target area through satellite images in the integrated sky-ground photovoltaic power station monitoring system;
[0017] Determine the ground irradiation intensity information of the target area through the sky-ground integrated photovoltaic power station monitoring system;
[0018] Basic data is generated according to the dust coverage information, the photovoltaic panel area information and the ground radiation intensity information.
[0019] Optionally, the step of obtaining dust coverage information of the target area through the sky-ground integrated photovoltaic power station monitoring system includes:
[0020] Acquire dust coverage images of the target area through the sky-ground integrated photovoltaic power station monitoring system;
[0021] Calculating a dust coverage rate according to the dust coverage image;
[0022] ;
[0023] in, represents the dust coverage, λ represents the wavelength, Indicates the reflectivity of the photovoltaic module surface when there is no dust covering it. It is the reflectivity when the surface of the PV module is completely covered with dust;
[0024] R( ) represents the spectral reflectance at wavelength λ, expressed as: .
[0025] Optionally, the step of determining the ground irradiance intensity information of the target area through the sky-ground integrated photovoltaic power station monitoring system includes:
[0026] The ground irradiance intensity I of the target area is determined by the sky-ground integrated photovoltaic power station monitoring system:
[0027] ;
[0028] in, , is the correction factor of the calculation result under cloud cover, represents the ground irradiance intensity under cloud-free conditions, It indicates the percentage of attenuation of the irradiance around the photovoltaic power station caused by the blocking clouds. It represents the blocking percentage of the target cloud group on the photovoltaic power station. The mathematical expression is:
[0029] ;
[0030] ;
[0031] in, is the area of the photovoltaic power station blocked by the cloud pixel points, is the maximum occlusion area, Indicates the gray value of the cloud that blocks the photovoltaic power station. Indicates the maximum grayscale value.
[0032] Optionally, the step of performing adaptive decomposition according to the target data to generate a set of eigenmode functions includes:
[0033] constructing a constrained variational problem based on the target data to capture the intrinsic dynamics and characteristics of the signal;
[0034] Solving the constrained variational problem and obtaining a solution result;
[0035] A set of eigenmodal functions is generated according to the solution results.
[0036] Optionally, the step of solving the constrained variational problem and obtaining a solution result includes:
[0037] Obtain a constrained variational problem:
[0038] ;
[0039] in, Indicates time t Calculate partial derivatives, δ(t) Dirac d function, is the convolution operator, for L2 The square of the norm, f(t) is the original signal, m k (t) is the modal component, K represents the total number of modal components, k is an index variable, ranging from 1 to K, used to traverse each modal component;
[0040] The augmented Lagrangian function is introduced to reconstruct the constrained variational problem into an unconstrained variational problem:
[0041] ;
[0042] in, α is the quadratic penalty factor of the augmented Lagrangian, λ(t) is the Lagrange multiplier, <·> represents the inner product operation, and j represents the imaginary unit;
[0043] Use the alternating direction multiplier method to update alternately u k , w k and l, Solve the saddle point in the unconstrained variational problem and obtain the modal components u k and center frequency w k The iterative solution formula is:
[0044] ;
[0045] ;
[0046] in, k (w) for Fourier transform, (w) for f(t) Fourier transform of
[0047] The λ(t) Update the Lagrange multiplier and obtain the Lagrange update result;
[0048] ;
[0049] in, (w) for λ(t) The Fourier transform of t is the iteration step length;
[0050] In the Lagrangian update result, When , K modal components with independent center frequencies and limited bandwidths are obtained, among which, is the convergence error.
[0051] Optionally, the step of constructing a photovoltaic power prediction model according to the intrinsic mode function set includes:
[0052] Obtaining a preset gating mechanism and constructing an initial LSTM according to the preset gating mechanism;
[0053] Constructing a hyperparameter optimization algorithm, wherein the hyperparameter optimization algorithm uses parameters including: a maximum number of iterations, a sparrow population size, an optimization dimension, and a producer ratio;
[0054] The initial LSTM is updated according to the hyperparameter optimization algorithm and the intrinsic mode function set to construct a photovoltaic power prediction model.
[0055] In a second aspect, the present application provides a sky-ground integrated photovoltaic power generation output prediction system, the sky-ground integrated photovoltaic power generation output prediction system comprising:
[0056] A data acquisition module, used to construct a sky-ground integrated photovoltaic power station monitoring system and acquire basic data through the sky-ground integrated photovoltaic power station monitoring system;
[0057] A data cleaning module, used for cleaning the basic data to obtain target data;
[0058] A function set generation module, used for performing adaptive decomposition according to the target data to generate an eigenmodal function set;
[0059] A model building module, used for building a photovoltaic power prediction model according to the intrinsic mode function set;
[0060] The photovoltaic prediction module is used to iterate according to the photovoltaic power prediction model and output a photovoltaic prediction curve.
[0061] In a third aspect, the present application provides a computer device, comprising: a memory and a processor, wherein the processor executes the method described above when running computer instructions stored in the memory.
[0062] In a fourth aspect, the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enable the computer to execute the method described above.
[0063] In summary, the present application includes the following beneficial technical effects:
[0064] The present application constructs a sky-ground integrated photovoltaic power station monitoring system and obtains basic data; performs data cleaning on the basic data to obtain target data; performs adaptive decomposition based on the target data to generate an eigenmode function set; constructs a photovoltaic power prediction model based on the eigenmode function set; iterates based on the photovoltaic power prediction model and outputs a photovoltaic prediction curve.
[0065] It has achieved accurate prediction of photovoltaic power generation trends, which helps to rationally dispatch power resources, reduce the uncertainty of power supply, and maintain the stable operation of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application;
[0067] Figure 2 This is a flow chart of the first embodiment of the sky-ground integrated photovoltaic power generation output prediction method of the present application;
[0068] Figure 3 It is a structural block diagram of the first embodiment of the sky-ground integrated photovoltaic power generation output prediction system of the present application. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below through the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] Reference Figure 1 , Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application.
[0071] like Figure 1As shown, the computer device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0072] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.
[0073] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a sky-ground integrated photovoltaic power generation output prediction program.
[0074] exist Figure 1 In the computer device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the present application can be set in the computer device, and the computer device calls the sky-ground integrated photovoltaic power generation output prediction program stored in the memory 1005 through the processor 1001, and executes the sky-ground integrated photovoltaic power generation output prediction method provided in the embodiment of the present application.
[0075] The present application embodiment provides a method for predicting the output of photovoltaic power generation in a sky-ground integrated manner, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the sky-ground integrated photovoltaic power generation output prediction method of the present application.
[0076] In this embodiment, the sky-ground integrated photovoltaic power generation output prediction method includes the following steps:
[0077] Step S10: constructing a sky-ground integrated photovoltaic power station monitoring system and obtaining basic data through the sky-ground integrated photovoltaic power station monitoring system.
[0078] Furthermore, in order to reasonably obtain basic data, the steps of constructing a sky-ground integrated photovoltaic power station monitoring system and obtaining basic data through the sky-ground integrated photovoltaic power station monitoring system include: constructing a sky-ground integrated photovoltaic power station monitoring system; obtaining dust coverage information of the target area through the sky-ground integrated photovoltaic power station monitoring system; determining photovoltaic panel area information corresponding to the target area through satellite images in the sky-ground integrated photovoltaic power station monitoring system; determining ground radiation intensity information of the target area through the sky-ground integrated photovoltaic power station monitoring system; and generating basic data based on dust coverage information, photovoltaic panel area information and ground radiation intensity information.
[0079] It is understandable that building a “sky-ground integrated” photovoltaic power station status monitoring system is the data basis for photovoltaic power prediction, and a sky-air-ground based monitoring platform is used to comprehensively perceive the status of photovoltaic power stations.
[0080] It should be noted that the step of obtaining dust coverage information of the target area through the sky-ground integrated photovoltaic power station monitoring system includes: obtaining a dust coverage image of the target area through the sky-ground integrated photovoltaic power station monitoring system; calculating the dust coverage rate according to the dust coverage image;
[0081] ;
[0082] in, represents the dust coverage, λ represents the wavelength, Indicates the reflectivity of the photovoltaic module surface when there is no dust covering it. It is the reflectivity when the surface of the PV module is completely covered with dust;
[0083] R( ) represents the spectral reflectance at wavelength λ, expressed as: .
[0084] In specific implementation, large-scale dust deposition on photovoltaic modules will seriously affect photovoltaic output, so it is necessary to use hyperspectral satellites to monitor deposited dust. Dust is easily deposited on the surface of photovoltaic modules. The dust that falls on the surface of photovoltaic modules will block the sunlight, reduce the transmittance of the glass on the surface of photovoltaic modules, and reduce the amount of solar radiation irradiating the surface of the battery; on the other hand, it will cause the heat transfer form on the surface of the product to change. The dust absorbs solar radiation and converts it into its own heat energy, while blocking the heat dissipation of the cover glass of the photovoltaic module. In order to solve the problem of dust monitoring on photovoltaic modules, the hyperspectral satellite of the space-based monitoring platform is used to identify and extract the target area on a large scale, and evaluate the dust coverage based on the reflectivity. In theory, the dust coverage rate can be estimated by measuring the difference between the actual reflectivity and the theoretical reflectivity of dust-free and completely covered dust. C d :
[0085] ;
[0086] Where λ is the wavelength, R g (l) Indicates the reflectivity of the photovoltaic module surface when there is no dust covering it. R d (l) It is the reflectivity when the surface of the photovoltaic module is completely covered with dust. R(λ) It represents the spectral reflectance at wavelength λ, which can be expressed as: .
[0087] In order to reduce the deviation of satellite monitoring of dust coverage of photovoltaic modules, it is necessary to use drones to verify areas with severe dust coverage to obtain accurate dust coverage for predicting photovoltaic output. Therefore, it is necessary to set a dust coverage threshold θ. If and only if the following conditions are met, it is judged that the dust of photovoltaic modules in this area needs to be verified by drones:
[0088] ;
[0089] in, i It represents the dust coverage threshold of PV modules, which is based on historical data, operation and maintenance experience or experimental data, and reflects the sensitivity of dust coverage to the performance of PV panels.
[0090] In specific implementation, external factors such as storms, sandstorms, hail and other natural disasters may cause damage to photovoltaic panels, which will seriously affect photovoltaic output. The timely adoption of the "satellite large-scale scanning-drone small-scale verification" monitoring mechanism is crucial for photovoltaic power prediction. First, obtain satellite images to monitor whether the photovoltaic panels are blown away. If so, dispatch a drone to verify the damaged location and use satellite image data to identify and measure the area of the photovoltaic panels. The power output of the photovoltaic power station is predicted by the ratio of the existing photovoltaic panel area to the normal photovoltaic panel area. The expression of measuring the photovoltaic panel area using satellite image data is as follows: ;
[0091] in, A pixel represents the area of each pixel in the satellite image, I ij For the image i , j The indicator function of a pixel, if the pixel represents a photovoltaic panel, then I ij =1; otherwise I ij =0.
[0092] It can be understood that the step of determining the ground irradiance intensity information of the target area through the sky-ground integrated photovoltaic power station monitoring system includes: determining the ground irradiance intensity of the target area through the sky-ground integrated photovoltaic power station monitoring system I
[0093] ;
[0094] in, , is the correction factor of the calculation result under cloud cover, represents the ground irradiance intensity under cloud-free conditions, It indicates the percentage of attenuation of the irradiance around the photovoltaic power station caused by the blocking clouds. It represents the blocking percentage of the target cloud group on the photovoltaic power station. The mathematical expression is:
[0095] ;
[0096] ;
[0097] in, is the area of the photovoltaic power station blocked by the cloud pixel points, is the maximum occlusion area, Indicates the gray value of the cloud that blocks the photovoltaic power station. Indicates the maximum grayscale value.
[0098] It should be noted that g max Generally, the value is 255.
[0099] In the specific implementation, in order to realize the comprehensive monitoring of the photovoltaic system status, this embodiment also uses the ground-based monitoring platform to realize detailed data collection. Specifically, the ground meteorological station is responsible for collecting key meteorological data such as ambient temperature and relative humidity, which are essential for evaluating how climate conditions affect the power generation efficiency of photovoltaic power stations. At the same time, the photovoltaic power station itself will also regularly collect and store its historical power generation data, which not only helps to analyze the operating efficiency of the power station, but also can be used to optimize the maintenance plan of the power station and improve the energy management strategy. In this way, the performance of the photovoltaic system can be monitored and evaluated more accurately, thereby ensuring the stability and economy of the power supply. By constructing a "sky-ground integrated" photovoltaic power station status monitoring system, comprehensive perception of photovoltaic status information can be achieved. This monitoring system integrates ground, air and satellite monitoring technologies to form a multi-level, all-round monitoring network, which can not only realize comprehensive monitoring of the real-time status of the photovoltaic power station, but also conduct long-term data collection and analysis, thereby greatly improving the accuracy of photovoltaic power prediction.
[0100] Step S20: Clean the basic data to obtain target data.
[0101] In the specific implementation, the first step of cleaning photovoltaic power generation data is to conduct data analysis and explore potential problems in the original data. For power values less than 0, they are directly set to zero; for data with low original power values that remain unchanged for a period of time, or statistical data during the "abandonment of photovoltaic power and power rationing" period, they are directly discarded to improve data quality; for data missing problems, the original data is repaired using the cubic sampling strip interpolation method.
[0102] Normalize the photovoltaic power generation data, unify the dimensions of the original data, and eliminate the differences between characteristic variables. Use the Z-score standardization method to unify the original data and reduce the difficulty of modeling. Its mathematical expression is as follows:
[0103] ;
[0104] In the formula, is the normalized data value, y is the original data to be standardized, n represents the number of sample points, E (y) Represents the mean of the data to be standardized. After data standardization, the value range of all feature variables is concentrated in the range.
[0105] Step S30: performing adaptive decomposition according to the target data to generate a set of eigenmode functions.
[0106] It should be noted that the variational mode decomposition (VMD) module is constructed to decompose the original signal into a series of intrinsic mode functions (IMFs). Each mode component has a corresponding center frequency and bandwidth length, which helps to better analyze and predict the characteristics of the signal.
[0107] Furthermore, in order to achieve the rationality of the generation of eigenmode functions, the step of performing adaptive decomposition according to the target data to generate a set of eigenmode functions includes: constructing a constrained variational problem according to the target data to capture the intrinsic dynamics and characteristics of the signal; solving the constrained variational problem and obtaining the solution result; and generating a set of eigenmode functions according to the solution result.
[0108] In a specific implementation, the steps of solving the constrained variational problem and obtaining the solution result include: obtaining the constrained variational problem:
[0109] ;
[0110] in, Indicates time t Calculate partial derivatives, δ(t) Dirac d function, is the convolution operator, for L2 The square of the norm, f(t) is the original signal, m k (t) is the modal component, K represents the total number of modal components, k is an index variable, ranging from 1 to K, used to traverse each modal component;
[0111] By introducing the augmented Lagrangian function, the constrained variational problem is reconstructed into an unconstrained variational problem:
[0112] ;
[0113] in, α is the quadratic penalty factor of the augmented Lagrangian, λ(t) is the Lagrange multiplier, <·> represents the inner product operation, and j represents the imaginary unit;
[0114] Use the alternating direction multiplier method to update alternately u k , w k and l, Solve the saddle points in the unconstrained variational problem to obtain the modal components uk and center frequency w k The iterative solution formula is:
[0115] ;
[0116] ;
[0117] in, k (w) for Fourier transform, (w) for f(t) Fourier transform of
[0118] Will λ(t) Update the Lagrange multiplier and obtain the Lagrange update result;
[0119] ;
[0120] in, (w) for λ(t) The Fourier transform of t is the iteration step length;
[0121] The Lagrangian update result satisfies When , K modal components with independent center frequencies and limited bandwidths are obtained, among which, is the convergence error.
[0122] Step S40: constructing a photovoltaic power prediction model according to the intrinsic mode function set.
[0123] Furthermore, in order to make the generated photovoltaic power model more suitable for the scenario of photovoltaic power generation prediction, the steps of constructing the photovoltaic power prediction model according to the set of intrinsic mode functions include: obtaining a preset gating mechanism and constructing an initial LSTM according to the preset gating mechanism; constructing a hyperparameter optimization algorithm, and the hyperparameter optimization algorithm uses parameters including: maximum number of iterations, sparrow population size, optimization dimension and producer ratio; updating the initial LSTM according to the hyperparameter optimization algorithm and the set of intrinsic mode functions to construct a photovoltaic power prediction model.
[0124] In the specific implementation, LSTM is constructed to process and predict long-term dependency problems in time series data. The core is to introduce a gating mechanism to control the inflow, retention and outflow of information, thereby effectively avoiding the gradient vanishing problem of traditional RNN. Its memory unit consists of four main gating components: forget gate, update gate, input gate and output gate, which work together to determine which information is retained, forgotten or updated. The forget gate determines which information is discarded from the cell state, and the mathematical formula it satisfies is as follows:
[0125] ;
[0126] in, s is the activation function, W f is the weight coefficient of this layer, b f is the bias matrix of this layer, x t Enter data for the current time, P t-1 is the photovoltaic power prediction value output by the LSTM layer at the previous time. The input gate determines which new information is stored in the cell state, and the mathematical formula it satisfies is as follows:
[0127] ;
[0128] ;
[0129] in, tanh is the output activation function, W i is the weight coefficient of the input gate, W c is the weight coefficient of the neuron state, b i , b c are the bias matrices of the input gate and neuron state, respectively. is the cell state vector created after correction, i t yes t The output after being processed by the input gate at any moment.
[0130] The update gate can combine the information of the forget gate and the input gate to update the cell state. Its mathematical expression is as follows:
[0131] ;
[0132] in C t is the cell state at the current time step, C t-1 is the cell state at the previous time step.
[0133] The output information of the output gate is mathematically expressed as follows:
[0134] ;
[0135] ;
[0136] in, o t is the activation value of the output gate, h t is the output or hidden state at the current time step, W o is the weight coefficient of the output gate, b o is the bias matrix of the output gate.
[0137] According to the initial setting of hidden state h 0 and cell status C 0 , perform the above four calculation steps for each time step, update the hidden state and cell state, and output h t That is the photovoltaic prediction value.
[0138] It should be noted that this embodiment constructs an LSTM hyperparameter optimization algorithm, the Sparrow Search Algorithm (SSA), to ensure that the LSTM model can effectively search in the multidimensional hyperparameter space and converge to the global optimal solution quickly and stably, thereby significantly improving the prediction performance of the model. The sparrow population is initialized using parameters such as the maximum number of iterations, the size of the sparrow population, the optimization dimension, and the producer ratio, and the fitness of each sparrow in the population is calculated. The positions of the discoverer, follower, and alerter are updated according to the following mathematical formula. The sparrow with the highest fitness is retained in each iteration, and the global optimal fitness value is updated:
[0139] ;
[0140] ;
[0141] ;
[0142] in, ; , Respectively represent the location update information of the discoverer, joiner and alerter, t represents the current iteration index and t ,in iter maxIndicates the predetermined maximum number of iterations, j is the dimension index, and the parameter α 1 Represents a definition in the interval A random variable on ST and R 2 They represent the safety threshold and the alarm threshold respectively, Q represents a random variable that obeys a normal distribution, and L represents a random variable that is composed entirely of 1s. 1×d dimensional matrix, X p represents the optimal position currently occupied by the discoverer, X worst It indicates the current worst position in the world, and A indicates that an element is randomly 1 or -1. 1×d dimensional matrix, and A + =A T (AA T ) -1 , X best represents the optimal position of all individuals in the current iteration, and the parameter α 2 and β All represent step size control factors, where α 2 Indicates that a value is located in A random variable, β represents a random variable that follows a normal distribution with mean 0 and variance 1. f g and f w Respectively represent the global optimal fitness value and the worst fitness value in the current iteration, f i It indicates the fitness value of the current sparrow individual; Represents a variable approaching 0 to ensure that the denominator is not 0.
[0143] Determine whether the termination condition of the algorithm is met. If it is met, save the optimal parameters found by the algorithm; if not, return to continue the iterative optimization process. Use the optimized hyperparameters to reconstruct the LSTM model, input the test set data to obtain the predicted value, and perform denormalization on the predicted result to obtain the final prediction result.
[0144] Step S50: Iterate according to the photovoltaic power prediction model and output a photovoltaic prediction curve.
[0145] It should be noted that, in order to solve the problem that the operating status information of photovoltaic power stations cannot be fully utilized, resulting in low accuracy of photovoltaic power prediction, this embodiment constructs a "sky-ground integrated" photovoltaic power station status monitoring system, integrates the photovoltaic power station status data collected by the space-based monitoring platform, the air-based monitoring platform and the ground-based monitoring platform, and realizes a comprehensive perception of the photovoltaic power station status. At the same time, considering the time-varying and nonlinear characteristics of photovoltaic data signals under the "sky-ground integrated" multi-source information fusion, an adaptive temporal learning photovoltaic power prediction (ATLPP) method is established, which includes a variational mode decomposition module and a long short-term memory module for hyperparameter optimization, to achieve accurate and advanced perception of photovoltaic power. This method can not only effectively integrate multi-source heterogeneous data from the sky and the ground, accurately predict photovoltaic power, but also provide reliable power support for the system, and help the comprehensive green transformation and upgrading of terminal energy consumption.
[0146] This embodiment builds a sky-ground integrated photovoltaic power station monitoring system and obtains basic data; cleans the basic data to obtain target data; performs adaptive decomposition based on the target data to generate an eigenmode function set; builds a photovoltaic power prediction model based on the eigenmode function set; iterates based on the photovoltaic power prediction model and outputs a photovoltaic prediction curve. It achieves accurate prediction of photovoltaic power generation trends, helps to reasonably dispatch power resources, reduce the uncertainty of power supply, and maintain stable operation of the power grid.
[0147] In addition, an embodiment of the present application also proposes a computer-readable storage medium, on which a program for predicting the output of sky-ground integrated photovoltaic power generation is stored. When the program for predicting the output of sky-ground integrated photovoltaic power generation is executed by a processor, the steps of the method for predicting the output of sky-ground integrated photovoltaic power generation are implemented as described above.
[0148] Reference Figure 3 , Figure 3 This is a structural block diagram of the first embodiment of the sky-ground integrated photovoltaic power generation output prediction system of the present application.
[0149] like Figure 3 As shown, the sky-ground integrated photovoltaic power generation output prediction system proposed in the embodiment of the present application includes:
[0150] A data acquisition module 10 is used to construct a sky-ground integrated photovoltaic power station monitoring system and acquire basic data through the sky-ground integrated photovoltaic power station monitoring system;
[0151] A data cleaning module 20 is used to clean the basic data to obtain target data;
[0152] A function set generation module 30, for performing adaptive decomposition according to target data to generate an eigenmodal function set;
[0153] A model building module 40, for building a photovoltaic power prediction model according to an intrinsic mode function set;
[0154] The photovoltaic prediction module 50 is used to iterate according to the photovoltaic power prediction model and output a photovoltaic prediction curve.
[0155] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present application. In specific applications, technicians in this field can make settings as needed, and the present application does not impose any limitation on this.
[0156] This embodiment builds a sky-ground integrated photovoltaic power station monitoring system and obtains basic data; cleans the basic data to obtain target data; performs adaptive decomposition based on the target data to generate an eigenmode function set; builds a photovoltaic power prediction model based on the eigenmode function set; iterates based on the photovoltaic power prediction model and outputs a photovoltaic prediction curve. It achieves accurate prediction of photovoltaic power generation trends, helps to reasonably dispatch power resources, reduce the uncertainty of power supply, and maintain stable operation of the power grid.
[0157] In one embodiment, the data acquisition module 10 is also used to construct an integrated sky-ground photovoltaic power station monitoring system; obtain dust coverage information of the target area through the integrated sky-ground photovoltaic power station monitoring system; determine the photovoltaic panel area information corresponding to the target area through satellite images in the integrated sky-ground photovoltaic power station monitoring system; determine the ground radiation intensity information of the target area through the integrated sky-ground photovoltaic power station monitoring system; generate basic data based on the dust coverage information, photovoltaic panel area information and ground radiation intensity information.
[0158] In one embodiment, the data acquisition module 10 is further used to acquire dust coverage images of the target area through the sky-ground integrated photovoltaic power station monitoring system;
[0159] Calculate the dust coverage rate according to the dust coverage image;
[0160] ;
[0161] in, represents the dust coverage, λ represents the wavelength, Indicates the reflectivity of the photovoltaic module surface when there is no dust covering it. is the reflectivity of the photovoltaic module surface when it is completely covered with dust; R( ) represents the spectral reflectance at wavelength λ, expressed as:
[0162] .
[0163] In one embodiment, the data acquisition module 10 is further used to determine the ground irradiance intensity I of the target area through the sky-ground integrated photovoltaic power station monitoring system:
[0164] ;
[0165] in, , is the correction factor of the calculation result under cloud cover, represents the ground irradiance intensity under cloud-free conditions, It indicates the percentage of attenuation of the irradiance around the photovoltaic power station caused by the blocking clouds. It represents the blocking percentage of the target cloud group on the photovoltaic power station. The mathematical expression is:
[0166] ;
[0167] ;
[0168] in, is the area of the photovoltaic power station blocked by the cloud pixel points, is the maximum occlusion area, Indicates the gray value of the cloud that blocks the photovoltaic power station. Indicates the maximum grayscale value.
[0169] In one embodiment, the function set generation module 30 is also used to construct a constrained variational problem based on the target data to capture the intrinsic dynamics and characteristics of the signal; solve the constrained variational problem and obtain the solution result; and generate an eigenmodal function set based on the solution result.
[0170] In one embodiment, the function set generation module 30 is also used to obtain a constrained variational problem;
[0171] ;
[0172] in, Indicates time t Calculate partial derivatives, δ(t) Dirac d function, is the convolution operator, for L2 The square of the norm, f(t) is the original signal, m k (t) is the modal component, K represents the total number of modal components, k is an index variable, ranging from 1 to K, used to traverse each modal component;
[0173] By introducing the augmented Lagrangian function, the constrained variational problem is reconstructed into an unconstrained variational problem:
[0174] ;
[0175] in, α is the quadratic penalty factor of the augmented Lagrangian, λ(t) is the Lagrange multiplier, <·> represents the inner product operation, and j represents the imaginary unit; the alternating direction multiplier method is used to alternately update u k , w k and l, Solve the saddle points in the unconstrained variational problem to obtain the modal components u k and center frequency w k The iterative solution formula is:
[0176] ;
[0177] ;
[0178] in, k (w) for Fourier transform, (w) for f(t) Fourier transform of λ(t) Update the Lagrange multiplier and obtain the Lagrange update result;
[0179] ;
[0180] in, (w) for λ(t) The Fourier transform of t is the iteration step length; the Lagrangian update result satisfies When , K modal components with independent center frequencies and limited bandwidths are obtained, among which, is the convergence error.
[0181] In one embodiment, the model construction module 40 is also used to obtain a preset gating mechanism and construct an initial LSTM according to the preset gating mechanism; construct a hyperparameter optimization algorithm, and the hyperparameter optimization algorithm uses parameters including: maximum number of iterations, sparrow population size, optimization dimension, and producer ratio; according to the hyperparameter optimization algorithm and the intrinsic mode function set, the initial LSTM is updated to construct a photovoltaic power prediction model.
[0182] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present application. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0183] In addition, for technical details not described in detail in this embodiment, please refer to the method for predicting the output of sky-ground integrated photovoltaic power generation provided in any embodiment of the present application, which will not be repeated here.
[0184] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0185] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0186] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0187] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for predicting the output of photovoltaic power generation based on sky and ground integration, characterized in that: include: Constructing a sky-ground integrated photovoltaic power station monitoring system and acquiring basic data through the sky-ground integrated photovoltaic power station monitoring system; Performing data cleaning on the basic data to obtain target data; performing adaptive decomposition according to the target data to generate a set of eigenmode functions; Constructing a photovoltaic power prediction model according to the intrinsic mode function set; Iterate according to the photovoltaic power prediction model and output a photovoltaic prediction curve; The steps of constructing a sky-ground integrated photovoltaic power station monitoring system and obtaining basic data through the sky-ground integrated photovoltaic power station monitoring system include: Construct a sky-ground integrated photovoltaic power station monitoring system; Obtain dust coverage information of the target area through the sky-ground integrated photovoltaic power station monitoring system; Determine the photovoltaic panel area information corresponding to the target area through satellite images in the integrated sky-ground photovoltaic power station monitoring system; Determine the ground irradiation intensity information of the target area through the sky-ground integrated photovoltaic power station monitoring system; Generate basic data according to the dust coverage information, the photovoltaic panel area information and the ground radiation intensity information; Wherein, the step of obtaining dust coverage information of the target area through the sky-ground integrated photovoltaic power station monitoring system includes: Acquire dust coverage images of the target area through the sky-ground integrated photovoltaic power station monitoring system; Calculating a dust coverage rate according to the dust coverage image; ; in, represents the dust coverage, λ represents the wavelength, Indicates the reflectivity of the photovoltaic module surface when there is no dust covering it. It is the reflectivity when the surface of the PV module is completely covered with dust; R( ) represents the spectral reflectance at wavelength λ, expressed as: ; The step of determining the ground irradiance intensity information of the target area through the sky-ground integrated photovoltaic power station monitoring system includes: The ground irradiance intensity I of the target area is determined by the sky-ground integrated photovoltaic power station monitoring system. ; in, , is the correction factor of the calculation result under cloud cover, represents the ground irradiance intensity under cloud-free conditions, It indicates the percentage of attenuation of the irradiance around the photovoltaic power station caused by the blocking clouds. It represents the blocking percentage of the target cloud group on the photovoltaic power station. The mathematical expression is: ; ; in, is the area of the photovoltaic power station blocked by the cloud pixel points, is the maximum occlusion area, Indicates the gray value of the cloud that blocks the photovoltaic power station. Indicates the maximum grayscale value.
2. The sky-ground integrated photovoltaic power generation output prediction method according to claim 1 is characterized in that: The step of performing adaptive decomposition according to the target data to generate a set of eigenmodal functions comprises: constructing a constrained variational problem based on the target data to capture the intrinsic dynamics and characteristics of the signal; Solving the constrained variational problem and obtaining a solution result; A set of eigenmodal functions is generated according to the solution results.
3. The sky-ground integrated photovoltaic power generation output prediction method according to claim 2, characterized in that: The step of solving the constrained variational problem and obtaining the solution result comprises: Obtain a constrained variational problem: ; in, Indicates time t Calculate partial derivatives, δ(t) Dirac δ function, is the convolution operator, for L2 The square of the norm, f(t) is the original signal, μ k (t) is the modal component, K represents the total number of modal components, k is an index variable, ranging from 1 to K, used to traverse each modal component; The augmented Lagrangian function is introduced to reconstruct the constrained variational problem into an unconstrained variational problem. ; in, α is the quadratic penalty factor of the augmented Lagrangian, λ(t) is the Lagrange multiplier, represents the inner product operation, j represents the imaginary unit; Use the alternating direction multiplier method to update alternately u k , w k and λ, Solve the saddle point in the unconstrained variational problem and obtain the modal components u k and center frequency w k The iterative solution formula is: ; ; in, k (w) for Fourier transform, (w) for f(t) Fourier transform of The λ(t) Update the Lagrange multiplier and obtain the Lagrange update result; ; in, (w) for λ(t) The Fourier transform of τ is the iteration step length; In the Lagrangian update result, When , K modal components with independent center frequencies and limited bandwidths are obtained, among which, is the convergence error.
4. The sky-ground integrated photovoltaic power generation output prediction method according to claim 1, characterized in that: The step of constructing a photovoltaic power prediction model according to the intrinsic mode function set includes: Obtaining a preset gating mechanism and constructing an initial LSTM according to the preset gating mechanism; Constructing a hyperparameter optimization algorithm, wherein the hyperparameter optimization algorithm uses parameters including: a maximum number of iterations, a sparrow population size, an optimization dimension, and a producer ratio; The initial LSTM is updated according to the hyperparameter optimization algorithm and the intrinsic mode function set to construct a photovoltaic power prediction model.
5. A sky-ground integrated photovoltaic power generation output prediction system, characterized in that: The sky-ground integrated photovoltaic power generation output prediction system comprises: A data acquisition module, used to construct a sky-ground integrated photovoltaic power station monitoring system and acquire basic data through the sky-ground integrated photovoltaic power station monitoring system; A data cleaning module, used for cleaning the basic data to obtain target data; A function set generation module, used for performing adaptive decomposition according to the target data to generate an eigenmodal function set; A model building module, used for building a photovoltaic power prediction model according to the intrinsic mode function set; A photovoltaic prediction module, used for iterating according to the photovoltaic power prediction model and outputting a photovoltaic prediction curve; The data acquisition module is also used to construct a sky-ground integrated photovoltaic power station monitoring system; Obtain dust coverage information of the target area through the sky-ground integrated photovoltaic power station monitoring system; Determine the photovoltaic panel area information corresponding to the target area through satellite images in the integrated sky-ground photovoltaic power station monitoring system; Determine the ground irradiation intensity information of the target area through the sky-ground integrated photovoltaic power station monitoring system; Generate basic data according to the dust coverage information, the photovoltaic panel area information and the ground radiation intensity information; The data acquisition module is also used to acquire dust coverage images of the target area through the sky-ground integrated photovoltaic power station monitoring system; Calculating a dust coverage rate according to the dust coverage image; ; in, represents the dust coverage, λ represents the wavelength, Indicates the reflectivity of the photovoltaic module surface when there is no dust covering it. It is the reflectivity when the surface of the PV module is completely covered with dust; R( ) represents the spectral reflectance at wavelength λ, expressed as: ; The data acquisition module is also used to determine the ground irradiance intensity I of the target area through the sky-ground integrated photovoltaic power station monitoring system. ; in, , is the correction factor of the calculation result under cloud cover, represents the ground irradiance intensity under cloud-free conditions, It indicates the percentage of attenuation of the irradiance around the photovoltaic power station caused by the blocking clouds. It represents the blocking percentage of the target cloud group on the photovoltaic power station. The mathematical expression is: ; ; in, is the area of the photovoltaic power station blocked by the cloud pixel points, is the maximum occlusion area, Indicates the gray value of the cloud that blocks the photovoltaic power station. Indicates the maximum grayscale value.
6. A computer device, characterized in that: The device comprises: a memory and a processor, wherein the processor executes the method according to any one of claims 1 to 4 when running computer instructions stored in the memory.
7. A computer-readable storage medium, characterized in that: The method comprises instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Space-air-ground integrated photovoltaic power station monitoring system
CN117650627A
