A photovoltaic system power prediction method and device based on neural network
Through a neural network-based method, combined with BP and RNNs neural networks, and using periodic light radiation data, short-term and long-term power prediction of the photovoltaic system is realized, which solves the problem of lack of combined prediction in the existing technology and improves the accuracy of prediction. and applicability.
Patent Information
- Application Number
- CN202310708748.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-06-14
AI Technical Summary
The existing technology lacks a method that combines short-term and long-term photovoltaic system power prediction, resulting in challenges for grid optimization dispatch and economic operation of photovoltaic power plants.
A method based on neural networks is used to determine short-term, medium- and long-term prediction models by periodically collecting light radiation data, using BP neural networks and RNNs neural networks for prediction, and combining particle swarm optimization and gate layer structures to achieve short-term and long-term prediction of photovoltaic systems. Long-term power forecasting.
It realizes the combination of short-term and long-term power prediction of photovoltaic systems, improves the accuracy and applicability of prediction, and supports the optimal dispatch of power grid and the economic operation of photovoltaic power plants.
Smart Images

Figure CN117154682B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of photovoltaics, and is a method and device for predicting photovoltaic system power based on a neural network. Background Art
[0002] In recent years, my country's photovoltaic power generation has developed rapidly, and the installed capacity of photovoltaic power generation has increased year by year. However, photovoltaic output is greatly affected by the weather, and has obvious nonlinearity, volatility and uncertainty. Its large-scale access to the power grid will inevitably bring challenges to the safe and stable operation of the power grid. Therefore, timely and accurate prediction of photovoltaic power is of great significance to the optimization of power grid scheduling and the economic operation of photovoltaic power stations.
[0003] In the existing technology, for photovoltaic power generation output prediction methods, from the perspective of the prediction time scale, ultra-short-term and short-term prediction models are helpful for power system deployment and operation. The medium- and long-term power generation prediction adopts statistical analysis methods, through the fitting analysis of medium- and long-term meteorological data, irradiance and other monitoring data in the target power station area, and combined with the changes in the system efficiency of the distributed photovoltaic power station itself, the power output in the next month or even longer is predicted, which can be applied to the site selection and benefit evaluation of photovoltaic power stations.
[0004] Currently, in the prior art, there is no method for combining short-term and long-term prediction for photovoltaic systems. Summary of the invention
[0005] In order to achieve the above technical effects, the present application combines short-term prediction with long-term prediction, and combines short-term and long-term predictions for different scenarios of photovoltaic systems to achieve the effect of combining short-term and long-term predictions.
[0006] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, a photovoltaic system power prediction method based on a neural network is provided, which is applied to a server, and the method includes: collecting multiple light radiation data corresponding to the photovoltaic system according to a periodic collection strategy, and obtaining multiple radiation changes, and determining a prediction model based on the radiation changes, the prediction model includes a short-term prediction model and a medium- and long-term prediction model, when the radiation change is greater than a preset threshold, the model is determined to be a medium- and long-term prediction model, and when the radiation change is less than the preset threshold, the model is determined to be a short-term prediction model; collecting input data corresponding to the determined prediction model, the input data corresponding to the medium- and long-term prediction model is temperature, humidity and light radiation data arranged one by one according to a time series within a long-term unit time, the input data corresponding to the short-term prediction model is power, irradiance and temperature data of the previous time period, the short-term prediction model outputs a predicted power value, the medium- and long-term prediction model outputs predicted light radiation data, and the predicted light radiation data is input into a PR prediction model, and the PR prediction model is: Where E p is the predicted power value, H A To predict the light radiation data, P AZ is the installed capacity, E s is the light radiation data under standard conditions, and PR is the efficiency loss coefficient.
[0008] Furthermore, the periodic collection strategy is set based on periodic changes in light radiation, including diurnal periodic changes and seasonal periodic changes. The periodic collection strategy includes a collection sub-strategy, and the collection sub-strategy includes at least three light radiation irradiation collections; at least three light radiation irradiation collections corresponding to the photovoltaic system are collected according to the periodic collection strategy, including: collecting light radiation irradiation data in the corresponding season segment according to seasonal periodic changes, and collecting multiple light radiation irradiation data in the corresponding unit time period according to diurnal periodic changes.
[0009] Furthermore, the short-term prediction model is a BP neural network in a converged state after training, the BP neural network has 3 input layer nodes, 5 hidden layer nodes, and 1 output layer node, and the training of the BP neural network is based on particle swarm optimization.
[0010] Furthermore, the particle swarm optimization parameters are a population size of 30, an evolution number of 5, and a learning factor of 1.5.
[0011] Furthermore, the speed and position values of the particle swarm optimization are determined based on the following formula:
[0012] V i (t+1)=ω*V i (t)+c1*r1*[P i (t)-Xi (t)]+c2*r2*[P g (t)-X i (t)];
[0013] X i (t+1)=X i (t)+V i (t+1); where V i (t) is the velocity of particle i at time t, ω is the weight, c1 and c2 are learning factors, r1 and r2 are random numbers between 0 and 1, P i (t) is the individual extreme value of particle i, P g (t) is the global extreme value.
[0014] Furthermore, the medium- and long-term prediction model is a RNNs neural network and a forget gate layer, an input gate layer, an update gate layer and an output gate layer arranged in the RNNs neural network.
[0015] Furthermore, the forget gate layer is used to read the output h of the previous layer. t-1 and the current input x t , and output a value f from 0 to 1 t , the processing process is as follows: t =σ[W f (h t-1 ,x t )+b f ], where W f is the weight matrix of the forget gate layer, b f is the bias term of the forget gate layer, and σ is the sigmoid function.
[0016] Furthermore, the input gate layer includes a first structure and a second structure, wherein the first structure is used to determine the input value of the sigmoid function in the RNNs neural network, and the processing process is as follows: t =σ[W i (h t-1 ,x t )+b i ], where i t is the input value to the sigmoid function, W i is the weight matrix, b i To determine the bias term of the input gate layer to the sigmoid function, h t-1 is the output of the previous layer; the second structure is used to create a new candidate vector to add to the cell state C t The input value of the tanh function is processed as follows: in To add to the cell state C t The candidate vector ofc Bias term for the input gate layer to create a new candidate vector.
[0017] Furthermore, the update gate layer is used to update the old unit state. The unit state value at the current moment is equal to the product of the output value of the forget gate and the sum of the product of the state value of the input gate layer at the previous time and the output value of the two parts, that is: The output gate layer calculates the parameter information output by the sigmoid function, and then multiplies the current unit state value by the tanh function to obtain the final output result, namely: Among them, t is the parameter information output by the sigmoid function, W o is the weight matrix of the output gate layer, b o is the bias term of the output gate layer, h t Output the result for the current cell.
[0018] In the second aspect, a photovoltaic system power prediction device based on a neural network is provided, including: a light radiation data acquisition module, which is used to collect multiple light radiation data corresponding to the photovoltaic system according to a periodic acquisition strategy, and obtain multiple radiation changes; a prediction model determination module, which determines the prediction model based on the radiation changes, and the prediction model includes a short-term prediction model and a medium- and long-term prediction model; a prediction module, which is used to input the input data corresponding to the prediction model after the acquisition and determination into the corresponding prediction model and obtain the final predicted power value.
[0019] According to a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the methods described above is implemented.
[0020] In the technical solution provided in the embodiment of the present application, a subsequent prediction model is determined by the periodic changes in radiation exposure and the amount of change, wherein the prediction model includes a short-term prediction model and a medium- to long-term prediction model. The short-term prediction model and the medium- to long-term prediction model are used to achieve long-term and short-term predictions for the photovoltaic system respectively. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] The methods, systems and / or programs in the accompanying drawings will be further described according to exemplary embodiments. These exemplary embodiments will be described in detail with reference to the drawings. These exemplary embodiments are non-limiting exemplary embodiments, wherein example numbers represent similar mechanisms in the various views of the accompanying drawings.
[0023] Figure 1 It is a schematic flow chart of a photovoltaic system power prediction method based on a neural network provided in an embodiment of the present application;
[0024] Figure 2 It is a structural diagram of a photovoltaic system power prediction device based on a neural network provided in an embodiment of the present application;
[0025] Figure 3 It is a schematic diagram of the structure of a photovoltaic system power prediction device based on a neural network provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to better understand the above technical scheme, the technical scheme of the present application is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical scheme of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.
[0027] In the following detailed description, numerous specific details are set forth by way of example in order to provide a comprehensive understanding of the relevant guidance. However, it will be apparent to those skilled in the art that the present application may be practiced without these details. In other cases, well-known methods, procedures, systems, compositions and / or circuits have been described at a relatively high level, without detail, in order to avoid unnecessarily obscuring aspects of the present application.
[0028] Flowcharts are used in the present application to illustrate the execution process performed by the system according to the embodiment of the present application. It should be clearly understood that the execution process of the flowchart may not be performed in order. On the contrary, these execution processes may be performed in reverse order or simultaneously. In addition, at least one other execution process may be added to the flowchart. One or more execution processes may be deleted from the flowchart.
[0029] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.
[0030] (1) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0031] (2) Based on is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0032] (3) Neural network is a type of feedforward neural network that includes convolution calculations and has a deep structure. Convolutional neural network is proposed based on the mechanism of receptive field in biology. Convolutional neural network is a neural network specifically used to process data with a grid-like structure. For example, time series data (which can be considered as a one-dimensional grid formed by regular sampling on the time axis) and image data (which can be considered as a two-dimensional pixel grid). The convolutional neural network used in this embodiment processes time series data.
[0033] The present invention provides a method for predicting photovoltaic system power based on a neural network, which specifically includes the following methods:
[0034] Step S110: Collect a plurality of light radiation data corresponding to the photovoltaic system according to a periodic collection strategy, and obtain a plurality of the radiation variation amounts.
[0035] In an embodiment of the present application, a periodic collection strategy is set based on the periodic changes in light radiation. The periodic changes in light radiation are divided into seasonal periodic changes and diurnal periodic changes, wherein seasonal periodic changes are different for the time and intensity of light in different seasons, so the collection of light radiation also needs to adopt different collection schemes for the seasons. For example, in the summer when the light time is longer, its collection strategy is different from that in the winter when the light time is shorter, that is, the light radiation collection time in the summer is longer than that in the winter. And for the diurnal periodic changes, as the sun rises and sets, it is necessary to configure collection schemes corresponding to different time periods. Therefore, for the periodic collection strategy, the specific location collects light radiation in the corresponding season segment according to the seasonal periodic changes, and collects multiple light radiations in the corresponding unit time period according to the diurnal periodic changes.
[0036] Specifically, in an embodiment of the present application, the number of multiple light radiations within a unit time period is at least three, and the reason why the number is configured to be at least three is that when the data is subsequently processed, at least three data can characterize the changes in different time periods and the optimal image can be obtained through at least three data as the basis for subsequent processing data.
[0037] By configuring the collection strategy, the optimal light radiation collection plan can be set based on natural changes, solving the problems of inaccurate collection results and incomplete data caused by natural changes.
[0038] Step S120. Determine a prediction model based on the radiation variation, wherein the prediction model includes a short-term prediction model and a medium- to long-term prediction model.
[0039] The radiation change amount obtained in step S110 is used to characterize the change in illumination. If the radiation change amount is greater than a preset threshold, the model is determined to be a medium- to long-term prediction model. If the radiation change amount is less than the preset threshold, the model is determined to be a short-term prediction model.
[0040] In the embodiment of the present application, the short-term prediction model is a BP neural network in a converged state after training, the BP neural network has 3 input layer nodes, 5 hidden layer nodes, and 1 output layer node, and the training of the BP neural network is based on particle swarm optimization. The medium- and long-term prediction model is a RNNs neural network and a forget gate layer, an input gate layer, an update gate layer, and an output gate layer arranged in the RNNs neural network.
[0041] Step S130: Input the input data corresponding to the prediction model after the collection and confirmation into the corresponding prediction model to obtain the final predicted power value.
[0042] In an embodiment of the present application, the input data corresponding to the medium- and long-term prediction model are temperature, humidity and light radiation data arranged one-to-one in time series within a long-term unit time, and the input data corresponding to the short-term prediction model are power, irradiance and temperature data of the previous time period, and the short-term prediction model outputs a predicted power value.
[0043] The short-term prediction model and the medium- and long-term prediction model are both neural networks in a convergent state after training. The short-term prediction model is a BP neural network. The difference from the BP neural network in the prior art is that the BP neural network provided in the embodiment of the present application is a BP neural network after particle swarm optimization, wherein the particle swarm optimization parameters are a population size of 30, an evolution number of 5, a learning factor of 1.5, and the speed and position value of the particle swarm optimization are determined based on the following formula:
[0044] V i (t+1)=ω*Vi (t)+c1*r1*[P i (t)-X i (t)]+c2*r2*[P g (t)-X i (t)];
[0045] X i (t+1)=X i (t)+V i (t+1);
[0046] Among them, V i (t) is the velocity of particle i at time t, ω is the weight, c1 and c2 are learning factors, r1 and r2 are random numbers between 0 and 1, P i (t) is the individual extreme value of particle i, P g (t) is the global extreme value.
[0047] The medium- and long-term prediction model is an RNNs neural network. Different from the prior art, the RNNs neural network in the embodiment of the present application is provided with a forget gate layer, an input gate layer, an update gate layer and an output gate layer.
[0048] Specifically, the forget gate layer is used to read the output h of the previous layer. t-1 and the current input x t , and output a value f from 0 to 1 t , the processing process is as follows:
[0049] f t =σ[W f (h t-1 ,x t )+b f ], where W f is the weight matrix of the forget gate layer, b f is the bias term of the forget gate layer, and σ is the sigmoid function.
[0050] Specifically, the input gate layer includes a first structure and a second structure, wherein the first structure is used to determine the input value of the sigmoid function in the RNNs neural network, and the processing process is as follows:
[0051] i t =σ[W i (h t-1 ,x t )+b i ], where i t is the input value to the sigmoid function, W i is the weight matrix, b i To determine the bias term of the input gate layer to the sigmoid function, ht-1 is the output of the previous layer;
[0052] The second structure is used to create a new candidate vector to add to the cell state C t The input value of the tanh function is processed as follows:
[0053] in To add to the cell state C t The candidate vector of c Bias term for the input gate layer to create a new candidate vector.
[0054] Specifically, for the update gate layer used to update the old unit state, the unit state value at the current moment is equal to the product of the output value of the forget gate and the sum of the product of the state value of the input gate layer at the previous time and the output value of the two parts, that is:
[0055]
[0056] The output gate layer calculates the parameter information output by the sigmoid function, and then multiplies the current unit state value by the tanh function to obtain the final output result, namely:
[0057] Among them, t is the parameter information output by the sigmoid function, W o is the weight matrix of the output gate layer, b o is the bias term of the output gate layer, h t Output the result for the current cell.
[0058] For the short-term prediction model, the BP neural network can directly obtain the predicted value of power, and for the medium- and long-term prediction model, the predicted light radiation data is obtained. The medium- and long-term power prediction is carried out through the PR prediction model, where the PR prediction model is:
[0059] Where E p is the predicted power value, H A To predict the light radiation data, P AZ is the installed capacity, E s is the light radiation data under standard conditions, and PR is the efficiency loss coefficient.
[0060] The PR prediction model uses the predicted light radiation data as input to obtain the final power value prediction, wherein the PR efficiency loss coefficient can be based on statistics, by placing multiple groups of photovoltaic modules under ideal conditions to obtain the output power change within the cycle, and the change rate is used as the efficiency loss coefficient. This process will not be described in detail in the embodiments of the present application.
[0061] See also Figure 2 , a photovoltaic system power prediction device 200 based on a neural network is provided, comprising:
[0062] The light radiation data acquisition module 210 is used to acquire a plurality of light radiation data corresponding to the photovoltaic system according to a periodic acquisition strategy, and obtain a plurality of radiation variation quantities.
[0063] The prediction model determination module 220 determines a prediction model based on the radiation variation, wherein the prediction model includes a short-term prediction model and a medium- to long-term prediction model.
[0064] The prediction module 230 is used to input the input data corresponding to the prediction model after the collection and determination into the corresponding prediction model and obtain the final predicted power value.
[0065] See also Figure 3 The photovoltaic system power prediction 300 based on neural network may have relatively large differences due to different configurations or performances, and may include one or more processors 301 and memory 302, and the memory 302 may store one or more storage applications or data. Among them, the memory 302 may be a short-term storage or a persistent storage. The application stored in the memory 302 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the photovoltaic system power prediction device based on neural network. Furthermore, the processor 401 may be configured to communicate with the memory 302, and the photovoltaic power prediction device executes a series of computer executable instructions in the memory 302. The photovoltaic system power prediction device based on neural network may also include one or more power supplies 303, one or more wired or wireless network interfaces 304, one or more input / output interfaces 305, one or more keyboards 306, etc.
[0066] In a specific embodiment, a photovoltaic system power prediction device based on a neural network includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the photovoltaic power prediction device, and the one or more programs are configured to be executed by one or more processors, including the following computer executable instructions:
[0067] Collecting a plurality of light radiation data corresponding to the photovoltaic system according to a periodic collection strategy, and obtaining a plurality of radiation variation quantities;
[0068] Determine a prediction model based on the radiation variation, wherein the prediction model includes a short-term prediction model and a medium- to long-term prediction model;
[0069] The input data corresponding to the prediction model after the collection is determined is input into the corresponding prediction model to obtain the final predicted power value.
[0070] The following is a detailed introduction to the various components of the processor:
[0071] In this embodiment, the processor is an application specific integrated circuit (ASIC), or is configured to implement one or more integrated circuits of the embodiments of the present application, such as one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
[0072] Optionally, the processor may execute various functions by running or executing a software program stored in the memory and calling data stored in the memory, such as executing the above-mentioned Figure 1 The method shown.
[0073] In a specific implementation, as an embodiment, the processor may include one or more microprocessors.
[0074] Among them, the memory is used to store the software program that executes the solution of the present application, and the execution is controlled by the processor. The specific implementation method can refer to the above method embodiment and will not be repeated here.
[0075] Optionally, the memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be integrated with the processor, or may exist independently and be coupled to the processing unit through the interface circuit of the processor, and the embodiments of the present application do not specifically limit this.
[0076] It should be noted that the structure of the processor shown in this embodiment does not constitute a limitation on the device, and the actual device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0077] In addition, the technical effects of the processor can refer to the technical effects of the method described in the above method embodiment, which will not be repeated here.
[0078] It should be understood that the processor in the embodiments of the present application may be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0079] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0080] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0081] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0082] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0083] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0084] 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.
[0085] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0086] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0087] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0088] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0089] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A photovoltaic system power prediction method based on neural network, It is characterized in that Applied to a server, the method comprises: According to the periodic collection strategy, multiple light radiation data corresponding to the photovoltaic system are collected, and multiple radiation changes are obtained, and a prediction model is determined based on the radiation changes, the prediction model includes a short-term prediction model and a medium- and long-term prediction model, when the radiation change is greater than a preset threshold, the model is determined to be a medium- and long-term prediction model, when the radiation change is less than the preset threshold, the model is determined to be a short-term prediction model; the periodic collection strategy is set based on the periodic changes of light radiation, including diurnal periodic changes and seasonal periodic changes, the periodic collection strategy includes a collection sub-strategy, and the collection sub-strategy includes at least three times of light radiation exposure collection; The input data corresponding to the determined prediction model is collected. The input data corresponding to the medium- and long-term prediction model is the temperature, humidity and light radiation data arranged one by one in a time series within a long-term unit time. The input data corresponding to the short-term prediction model is the power, irradiance and temperature data of the previous time period. The short-term prediction model outputs the predicted power value. The medium- and long-term prediction model outputs predicted light radiation data, and the predicted light radiation data is input into the PR prediction model, and the PR prediction model is: Where E p To predict the power value, H A To predict the light radiation data, P AZ is the installed capacity, E s is the light radiation data under standard conditions, and PR is the efficiency loss coefficient.
2. The photovoltaic system power prediction method based on neural network according to claim 1, It is characterized in that At least three light radiation exposure data corresponding to the photovoltaic system are collected according to a periodic collection strategy, including: collecting light radiation exposure data in the corresponding season segment according to seasonal cycle changes, and collecting multiple light radiation exposure data in the corresponding unit time period according to day and night cycle changes.
3. The photovoltaic system power prediction method based on neural network according to claim 2, It is characterized in that The short-term prediction model is a BP neural network in a converged state after training. The BP neural network has 3 input layer nodes, 5 hidden layer nodes, and 1 output layer node. The training of the BP neural network is based on particle swarm optimization.
4. The photovoltaic system power prediction method based on neural network according to claim 3, It is characterized in that The particle swarm optimization parameters are a population size of 30, an evolution number of 5, and a learning factor of 1.
5.
5. The photovoltaic system power prediction method based on neural network according to claim 4, It is characterized in that The speed and position values of the particle swarm optimization are determined based on the following formula: V i (t+1)=ω*V i (t)+c 1 *r 1 *[P i (t)-X i (t)]+c 2 *r 2 *[P g (t)-X i (t)]; X i (t+1)=X i (t)+V i (t+1); Among them, V i (t) is the velocity of particle i at time t, ω is the weight, c 1 and c 2 is the learning factor, r 1 and r 2 is a random number between 0 and 1, P i (t) is the individual extreme value of particle i, P g (t) is the global extreme value; X i (t) is the position value of particle i at time t, X i (t+1) is the position value of particle i at time t+1, i.e., the position value of particle swarm optimization, V i (t+1) is the speed of particle i at time t+1, that is, the speed of particle swarm optimization.
6. The photovoltaic system power prediction method based on neural network according to claim 2, It is characterized in that The medium- and long-term prediction model is a RNNs neural network and a forget gate layer, an input gate layer, an update gate layer and an output gate layer arranged in the RNNs neural network.
7. The photovoltaic system power prediction method based on neural network according to claim 6, It is characterized in that The forget gate layer is used to read the output h of the previous layer. t-1 and the current input x t , and output a value f from 0 to 1 t , the processing process is as follows: f t =σ[W f (h t-1 ,x t )+b f ], where W f is the weight matrix of the forget gate layer, b f is the bias term of the forget gate layer, and σ is the sigmoid function.
8. A photovoltaic system power prediction device based on neural network, It is characterized in that include: The light radiation data acquisition module is used to collect multiple light radiation data corresponding to the photovoltaic system according to a periodic acquisition strategy to obtain multiple radiation changes; The periodic acquisition strategy is set based on periodic changes in light radiation, including diurnal periodic changes and seasonal periodic changes. The periodic acquisition strategy includes an acquisition sub-strategy, and the acquisition sub-strategy includes at least three acquisitions of the light radiation exposure; A prediction model determination module, which determines a prediction model based on the radiation change amount, wherein the prediction model includes a short-term prediction model and a medium- and long-term prediction model; when the radiation change amount is greater than a preset threshold, the model is determined to be a medium- and long-term prediction model, and when the radiation change amount is less than the preset threshold, the model is determined to be a short-term prediction model; The prediction module is used to collect the input data corresponding to the determined prediction model. The input data corresponding to the medium- and long-term prediction model is the temperature, humidity and light radiation data arranged one by one in a time series within a long-term unit time. The input data corresponding to the short-term prediction model is the power, irradiance and temperature data of the previous time period. The short-term prediction model outputs the predicted power value. The medium- and long-term prediction model outputs predicted light radiation data, and the predicted light radiation data is input into the PR prediction model, and the PR prediction model is: Where E p is the predicted power value, H A To predict the light radiation data, P AZ is the installed capacity, E s is the light radiation data under standard conditions, and PR is the efficiency loss coefficient.
Citation Information
Patent Citations
Photovoltaic power station power generation amount predication method based on adaptive mutation particle swarm and BP network
CN105913151A
Photovoltaic power forecasting system
CN106228278A
Photovoltaic output power prediction method and system based on improved BP neural network
CN113469426A
Medium and long term generating capacity prediction method
CN114492922A
Photovoltaic power ultra-short-term prediction method, system, equipment and medium
CN115146542A
