Photovoltaic panel fault prediction method, system and device and storage medium
By constructing photovoltaic panel topology and timing feature extraction, the problem of failure prediction for a single photovoltaic panel in the existing technology is solved, efficient fault discovery and location of photovoltaic power stations is achieved, and power generation efficiency and prediction accuracy are improved.
Patent Information
- Application Number
- CN202411014247.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-18
AI Technical Summary
Existing technology cannot collect data and predict faults for a single photovoltaic panel, resulting in the inability to detect and locate faulty photovoltaic panels in a timely manner, affecting power generation efficiency and operation and maintenance effects, and the accuracy of fault prediction is low.
By acquiring the photovoltaic data of multiple photovoltaic panels, constructing the photovoltaic panel topology, obtaining the embedding vector, and using the time series feature extraction to obtain the prediction feature vector, the fault prediction of a single photovoltaic panel can be realized, and the prediction accuracy can be improved by combining spatial features and time series features.
It achieves timely fault detection and location of individual photovoltaic panels, improves the power generation efficiency and operation and maintenance effects of photovoltaic power stations, avoids energy loss and waste, and improves the accuracy of fault prediction.
Smart Images

Figure CN118797312A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic power generation, and in particular to a photovoltaic panel fault prediction method, system, device and storage medium. Background Art
[0002] Photovoltaic power generation is a clean energy that converts solar energy into electricity. It has the advantages of energy saving, environmental protection, and renewable. With the continuous development and application of photovoltaic power generation technology, the scale and number of photovoltaic power stations are also increasing, which puts higher requirements on the monitoring and management of photovoltaic power stations. There are a large number of photovoltaic panels in photovoltaic power stations. These photovoltaic panels are affected by many factors during operation, such as light intensity, temperature, shading, pollution, aging, etc., which makes photovoltaic panels prone to failure, thus affecting the normal operation of photovoltaic power generation. Therefore, how to predict the failure of photovoltaic panels in time is of great significance to improving the operating efficiency and safety of photovoltaic power generation systems and reducing operation and maintenance costs.
[0003] At present, the overall prediction data of all photovoltaic panels that need to be predicted for faults is usually collected through the collection method of devices such as inverters or combiner boxes, or through the collection method of a single collector for multiple photovoltaic panels, so as to realize the fault prediction of all photovoltaic panels.
[0004] The problem with the above technical solution is that it is not possible to collect and analyze data from a single photovoltaic panel individually, so it is impossible to detect and locate faulty or inefficient photovoltaic panels in a timely manner, which affects the power generation efficiency and operation and maintenance effect of the photovoltaic power station, causing energy loss and waste, and also leads to low accuracy in photovoltaic panel failure prediction. Summary of the invention
[0005] In view of this, the present invention provides a photovoltaic panel fault prediction method, system, device and storage medium to solve the problem that data cannot be collected for a single photovoltaic panel to achieve fault prediction, resulting in the inability to timely discover and locate faulty or inefficient photovoltaic panels, thereby affecting the power generation efficiency and operation and maintenance effect of the photovoltaic power station, causing energy loss and waste and low fault prediction accuracy.
[0006] In a first aspect, the present invention provides a photovoltaic panel fault prediction method, the method comprising:
[0007] Acquire photovoltaic data of multiple photovoltaic panels, the photovoltaic data including photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data and photovoltaic panel positioning data;
[0008] Based on multiple photovoltaic panels and photovoltaic data corresponding to the multiple photovoltaic panels, a photovoltaic panel topology structure is constructed, and the photovoltaic panel topology structure reflects the spatial relationship between the multiple photovoltaic panels;
[0009] Process the photovoltaic panel topology to obtain the embedding vectors corresponding to multiple photovoltaic panels;
[0010] For any photovoltaic panel, time series feature extraction is performed based on the embedded vector of the photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel. The predicted feature vector is predicted based on the spatial features and time series features of the photovoltaic panel.
[0011] Based on the prediction feature vector of the photovoltaic panel, the fault prediction result of the photovoltaic panel is obtained.
[0012] The photovoltaic panel fault prediction method provided by the embodiment of the present invention obtains photovoltaic data of multiple photovoltaic panels and constructs a photovoltaic panel topology structure based on the photovoltaic data, so that the photovoltaic panel topology structure can be processed to obtain the embedded vectors corresponding to all photovoltaic panels respectively, and then the time series feature of the embedded vector of any photovoltaic panel is extracted to obtain the predicted feature vector of the photovoltaic panel including both spatial features and time series features, thereby obtaining the fault prediction result of the photovoltaic panel, and realizing fault prediction of a single photovoltaic panel, so that the photovoltaic panel that may fail can be timely discovered and located from multiple photovoltaic panels, thereby ensuring the power generation efficiency and operation and maintenance effect of the photovoltaic power station, avoiding energy loss and waste, and improving the accuracy of fault prediction by considering two aspects of features for each photovoltaic panel for fault prediction.
[0013] In an optional implementation, the environmental data includes light intensity, the photovoltaic panel operation data includes current data and voltage data, and the photovoltaic panel performance data includes photovoltaic panel area; the method further includes:
[0014] For any photovoltaic panel, based on the current data and voltage data of the photovoltaic panel, determine the electrical power of the photovoltaic panel;
[0015] Determine the incident light power of the photovoltaic panel based on the photovoltaic panel area and light intensity of the photovoltaic panel;
[0016] Determine the power generation efficiency of the photovoltaic panel based on the electrical power of the photovoltaic panel and the incident light power;
[0017] Add electrical power, incident light power, and power generation efficiency to the photovoltaic data of the photovoltaic panels.
[0018] The photovoltaic panel fault prediction method provided by the embodiment of the present invention determines the electric power, emitted light power and power generation efficiency of the photovoltaic panel and adds them to the photovoltaic data of the photovoltaic panel, so that subsequent photovoltaic panel fault prediction can be performed based on multiple data.
[0019] In an optional implementation, a photovoltaic panel topology structure is constructed based on a plurality of photovoltaic panels and photovoltaic data corresponding to the plurality of photovoltaic panels, including:
[0020] Based on the multiple photovoltaic panels, multiple nodes of the photovoltaic panel topology structure are generated;
[0021] Based on the physical connection relationship or electrical characteristics between the multiple photovoltaic panels, edges are constructed between the multiple nodes;
[0022] Based on the photovoltaic data corresponding to the multiple photovoltaic panels, feature vectors are assigned to the nodes corresponding to the multiple photovoltaic panels.
[0023] The photovoltaic panel fault prediction method provided by the embodiment of the present invention takes photovoltaic panels as nodes, constructs the edges of the nodes based on the physical connection relationship or electrical characteristics between the photovoltaic panels, and uses the photovoltaic data of the photovoltaic panels as the feature vectors of the nodes to construct a photovoltaic panel topology structure, so that the spatial relationship between multiple photovoltaic panels can be captured based on the photovoltaic panel topology structure, providing support for predicting potential faults, and based on the photovoltaic panel topology structure, refined monitoring of a single photovoltaic panel can be achieved.
[0024] In an optional implementation, the photovoltaic panel topology is processed to obtain embedding vectors corresponding to a plurality of photovoltaic panels, including:
[0025] Based on the characteristic relationship between multiple nodes, an adjacency matrix is determined;
[0026] For any node, determine the neighbor nodes of the node from the photovoltaic panel topology, and the neighbor nodes represent the nodes directly connected to the node through an edge;
[0027] Using graph convolutional networks, the feature vectors of neighboring nodes of a node are aggregated to obtain a feature matrix;
[0028] Multiply the weight matrix by the feature matrix, and then multiply the result by the normalized adjacency matrix to obtain the updated feature vector of the node;
[0029] Perform nonlinear transformation on the updated feature vector of the node to obtain the feature vector of the node after nonlinear transformation;
[0030] The above process of updating and nonlinearly transforming the feature vector of the node is repeated, and after updating and nonlinearly transforming the convolutional network based on the preset number of layers, the embedding vector of the photovoltaic panel corresponding to the node is obtained.
[0031] The photovoltaic panel fault prediction method provided in an embodiment of the present invention iteratively updates and transforms node features so that the features of each node not only contain its own information, but also integrate the features of neighboring nodes. Therefore, the embedded vector of each photovoltaic panel obtained includes the spatial features of the photovoltaic panel and can reflect the potential spatial fault propagation mode, providing support for fault prediction.
[0032] In an optional implementation, the embedding vector of each photovoltaic panel includes the spatial features of the photovoltaic panel and the time series data in the photovoltaic data of the photovoltaic panel, the time series data represents the data in the photovoltaic data of the photovoltaic panel that changes with time, and for any photovoltaic panel, the time series feature extraction is performed based on the embedding vector of the photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel, including:
[0033] The embedding vectors of the photovoltaic panel at all time points within a preset time period are input into the long short-term memory network as the input time series, and the preset time period is the time period from any time point to the current time point;
[0034] In the forget gate of the long short-term memory network, for any time step within a preset time period, based on the embedding vector corresponding to the time step in the input time series and the output vector of the previous time step, the first information of the output vector of the previous time step is determined, so that the memory unit forgets the first information, and the first information represents information in the output vector of the previous time step that is irrelevant to the embedding vector of the time step;
[0035] In the input gate of the long short-term memory network, the embedding vector of the time step and the output vector of the previous time step are evaluated to determine the second information added to the memory unit, where the second information represents information of high importance to the embedding vector of the time step;
[0036] In the output gate of the LSTM network, the output vector of the photovoltaic panel at the time step is determined from the memory unit;
[0037] The above process of obtaining the output vector is repeated until the current time step is completed, and the output vector obtained in the current time step is used as the predicted feature vector of the photovoltaic panel.
[0038] In the photovoltaic panel fault prediction method provided by an embodiment of the present invention, the long short-term memory network analyzes the time series through its gate mechanism: forget gate, input gate, and output gate, captures dynamic behavior and trends, thereby learning and predicting the performance changes of each photovoltaic panel at future moments, identifying fault precursors, and because the embedded vector includes spatial features, the prediction feature vector obtained by the long short-term memory network includes both spatial features and temporal features, thereby enabling more accurate fault prediction.
[0039] In an optional implementation, obtaining a fault prediction result of a photovoltaic panel based on a prediction feature vector of the photovoltaic panel includes:
[0040] Performing a linear transformation on the predicted feature vector of the photovoltaic panel to obtain a first feature vector;
[0041] Introducing nonlinear characteristics into the first eigenvector to obtain the second eigenvector;
[0042] The second eigenvector is converted into a probability distribution to obtain the fault prediction result corresponding to the photovoltaic panel.
[0043] The photovoltaic panel fault prediction method provided by the embodiment of the present invention extracts more advanced and abstract features from the original prediction feature vector by performing linear transformation on the prediction feature vector and introducing nonlinear characteristics, thereby more intuitively obtaining the probability distribution for different fault types.
[0044] In an optional implementation, the fault prediction result corresponding to each photovoltaic panel includes occurrence probabilities corresponding to multiple fault types, and the method further includes:
[0045] For any photovoltaic panel, based on the probability of occurrence corresponding to the fault type of the photovoltaic panel, when the probability of occurrence corresponding to any fault type exceeds the preset probability, a fault warning is triggered;
[0046] Transmitting the photovoltaic panel, photovoltaic data of the photovoltaic panel, the fault type of the photovoltaic panel, and the probability of occurrence corresponding to the fault type to the user terminal;
[0047] Use the method corresponding to the fault type to handle the problem.
[0048] The photovoltaic panel fault prediction method provided in the embodiment of the present invention realizes fault prediction of a single photovoltaic panel by issuing a fault warning when the probability of occurrence of any fault type of a single photovoltaic panel exceeds a preset probability, and sends relevant information to a user terminal and processes it using a corresponding processing method, thereby enabling targeted fault warning and processing, ensuring the power generation efficiency and operation and maintenance effect of the photovoltaic power station, and avoiding energy loss and waste.
[0049] In a second aspect, the present invention provides a photovoltaic panel fault prediction system, the system comprising:
[0050] Multiple stations are used to obtain photovoltaic data of multiple photovoltaic panels, the photovoltaic data including photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data and photovoltaic panel positioning data;
[0051] The main station is used to construct a photovoltaic panel topology structure based on the photovoltaic data corresponding to the multiple photovoltaic panels acquired by the substation and the multiple photovoltaic panels, process the photovoltaic panel topology structure, obtain the embedding vectors corresponding to the multiple photovoltaic panels, and for any photovoltaic panel, extract the time series features based on the embedding vector of the photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel, and obtain the fault prediction result of the photovoltaic panel based on the predicted feature vector of the photovoltaic panel. The photovoltaic panel topology structure reflects the spatial relationship between the multiple photovoltaic panels, and the predicted feature vector is predicted based on the spatial characteristics and time series characteristics of the photovoltaic panel.
[0052] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the photovoltaic panel fault prediction method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0053] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the photovoltaic panel fault prediction method of the first aspect or any corresponding embodiment thereof.
[0054] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the photovoltaic panel fault prediction method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0056] Figure 1 is a schematic diagram of a photovoltaic panel fault prediction system according to an embodiment of the present invention;
[0057] Figure 2 is a flow chart of a photovoltaic panel fault prediction method according to an embodiment of the present invention;
[0058] Figure 3 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0060] The photovoltaic panel fault prediction method proposed in the embodiment of the present invention solves the problem that data cannot be collected for a single photovoltaic panel to achieve fault prediction in the related art, resulting in the inability to timely discover and locate faulty or inefficient photovoltaic panels, thereby affecting the power generation efficiency and operation and maintenance effect of the photovoltaic power station, causing energy loss and waste and low fault prediction accuracy. A photovoltaic panel topology structure reflecting the spatial relationship of the photovoltaic panels is constructed through photovoltaic panels and photovoltaic data of the photovoltaic panels, and an embedded vector is obtained based on the photovoltaic panel topology structure. Then, by performing time series feature extraction on the embedded vector of any photovoltaic panel, a predicted feature vector of the photovoltaic panel including both spatial features and time series features is obtained, thereby achieving fault prediction for a single photovoltaic panel, so that a photovoltaic panel that may fail can be discovered and located in time from multiple photovoltaic panels, thereby ensuring the power generation efficiency and operation and maintenance effect of the photovoltaic power station, avoiding energy loss and waste, and improving the accuracy of fault prediction by considering two aspects of features for each photovoltaic panel for fault prediction.
[0061] In this embodiment, a photovoltaic panel fault prediction system is provided. Figure 1 is a schematic diagram of a photovoltaic panel fault prediction system according to an embodiment of the present invention. Figure 1 As shown, the system includes: multiple substations, which are used to obtain photovoltaic data of multiple photovoltaic panels, and the photovoltaic data includes photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data and photovoltaic panel positioning data; a main station, which is used to build a photovoltaic panel topology structure based on the photovoltaic data corresponding to the multiple photovoltaic panels obtained by the substation and the multiple photovoltaic panels, process the photovoltaic panel topology structure, and obtain embedding vectors corresponding to the multiple photovoltaic panels. For any photovoltaic panel, time series feature extraction is performed based on the embedding vector of the photovoltaic panel to obtain a predicted feature vector of the photovoltaic panel, and a fault prediction result of the photovoltaic panel is obtained based on the predicted feature vector of the photovoltaic panel. The photovoltaic panel topology structure reflects the spatial relationship between the multiple photovoltaic panels, and the predicted feature vector is predicted based on the spatial characteristics and time series characteristics of the photovoltaic panel.
[0062] Specifically, the photovoltaic panel fault prediction system includes multiple stations and a main station, each of which includes multiple photovoltaic panel modules and a terminal, wherein each photovoltaic panel module includes a photovoltaic panel and a type I collector. In any station, the type I collector can realize multiple functions, such as connecting with the photovoltaic panel through the RS485 interface to obtain the photovoltaic data of the photovoltaic panel in real time; interacting with the terminal based on the DL / T645 protocol through carrier network communication / RS485 / Bluetooth; after obtaining the photovoltaic data in real time, the photovoltaic data will be verified and compressed, and stored in the built-in memory; automatically cache data when the communication with the photovoltaic panel is interrupted; execute internal programs through the built-in microprocessor, and support remote upgrade and configuration; receive control instructions from the main station, and send control instructions to control a single photovoltaic panel to realize functions such as switching, restarting, tilt adjustment, etc., thereby improving the operation efficiency and management convenience of the power station.
[0063] In some optional implementations, the terminal in the substation area can also realize multiple functions, such as data interaction with multiple photovoltaic panel modules based on DL / T645 protocol through carrier network communication / RS485 / Bluetooth; converting DL / T645 protocol to DL / T698 protocol to communicate with the main station through internal protocol conversion; uploading photovoltaic data to the main station and responding to requests through 4G network, Ethernet or RS485 interface, etc., supporting multiple communication methods, and automatically selecting the appropriate communication method to realize communication according to different scenarios; performing local operation and setting through LCD display and key module, and displaying the current The working status and data information of the photovoltaic panel are collected by the master station; the data is frozen regularly through the built-in data freezing function, and the frozen data is uploaded to the master station to ensure data integrity and reliability; the output electric power is calculated according to the voltage and current data in the photovoltaic data of the photovoltaic panel, and the incident light power is calculated according to the area and incident light intensity in the photovoltaic data, and the calculated information is uploaded to the master station, so that the master station can predict and statistically analyze the power generation of the photovoltaic power station; the power generation efficiency of a single photovoltaic panel is calculated, that is, the proportion of the incident light energy converted into electrical energy by the photovoltaic panel, and uploaded to the master station, so that the master station can study and optimize the performance of each photovoltaic panel. The master station in the photovoltaic panel fault prediction system is the upper management center of the system, responsible for receiving, processing, analyzing and displaying data from multiple substations, as well as remotely controlling, diagnosing faults and predicting and warning multiple substations.
[0064] In some optional implementations, the master station has multiple functions, such as receiving data from multiple terminals through a 4G network, Ethernet or RS485 interface, and performing data verification and storage; displaying the overall situation of the photovoltaic power station and detailed information of each photovoltaic panel module, such as number, location, voltage, current, temperature, humidity, etc., through a graphical interface, and supporting a variety of charts and maps for visual display; remotely managing unit-level photovoltaic panel modules and terminals through the device management function, such as switching, restarting, adjusting, upgrading, configuring, etc., and monitoring and managing the device status to ensure that problems with a single photovoltaic panel do not affect the normal operation of the entire substation; authenticating and controlling users through the user management function, and providing multiple roles and permissions for user management; and managing the system through the system management function. Maintenance and optimization, such as logging, backup and recovery, performance monitoring, security protection, etc., and provide a variety of tools and settings for system management; according to the temperature and other data in the photovoltaic data of each photovoltaic panel, send instructions to adjust the tilt of the photovoltaic panel, adjust its incident angle with the sunlight, and improve the power generation efficiency of the photovoltaic panel; process and optimize the data through data processing functions, such as data cleaning, data completion, data smoothing, etc., so as to remove or fill in outliers, missing values, noise, etc. in the data; use unique hot encoding to encode the fault label of the possible fault type of a single photovoltaic panel. Each fault type corresponds to a binary vector. In this vector, the element representing the fault type is 1, and the other elements are 0. When the photovoltaic panel has multiple faults, the elements corresponding to multiple faults in the corresponding binary vector are all 1.
[0065] According to an embodiment of the present invention, an embodiment of a photovoltaic panel fault prediction method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0066] In this embodiment, a photovoltaic panel fault prediction method is provided, which can be used in the photovoltaic panel fault prediction system mentioned above. Figure 2 is a flow chart of a photovoltaic panel fault prediction method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0067] Step S201, obtaining photovoltaic data of multiple photovoltaic panels, the photovoltaic data including photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data and photovoltaic panel positioning data. Specifically, in each station area of the photovoltaic panel fault prediction system, the type I collector obtains the photovoltaic data of the photovoltaic panel in real time and transmits it to the terminal, and the terminal calculates the power information and adds it to the photovoltaic data and transmits it to the main station together. Among them, the photovoltaic data of any photovoltaic panel includes photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data and photovoltaic panel positioning data. Environmental data includes data such as light intensity, weather, temperature and humidity, photovoltaic panel working data includes photovoltaic panel tilt angle, voltage, current and other data, photovoltaic panel positioning data includes GPS positioning and other data, photovoltaic panel performance data includes manufacturer, working life, rated power, short-circuit current, working current, photovoltaic panel area and photovoltaic panel material and other data, the above data can be selectively obtained according to actual needs, and other photovoltaic data can also be obtained, which is not limited by the embodiment of the present invention. The photovoltaic panel identification in the photovoltaic data is used to uniquely identify the photovoltaic panel. If any photovoltaic panel fails or the photovoltaic data of any photovoltaic panel needs to be obtained, the photovoltaic panel identification and photovoltaic panel positioning data are used together to quickly locate the faulty photovoltaic panel from multiple photovoltaic panels. By obtaining the photovoltaic data of multiple photovoltaic panels, the failure prediction of photovoltaic panels can be realized based on the photovoltaic data.
[0068] Step S202, based on the multiple photovoltaic panels and the photovoltaic data corresponding to the multiple photovoltaic panels, a photovoltaic panel topology structure is constructed, and the photovoltaic panel topology structure reflects the spatial relationship between the multiple photovoltaic panels. Specifically, since the photovoltaic panel topology structure can reflect the position of any photovoltaic panel among the multiple photovoltaic panels, it can also reflect the relative spatial relationship between the multiple photovoltaic panels, and further can reflect the mutual influence and dependency between the multiple photovoltaic panels, thereby obtaining richer feature information for fault prediction.
[0069] Step S203, the photovoltaic panel topology is processed to obtain the embedding vectors corresponding to the multiple photovoltaic panels. Specifically, the embedding vector of any photovoltaic panel reflects the local structural information of the node corresponding to the photovoltaic panel and the position in the entire photovoltaic panel topology map, and can represent the spatial characteristics of the photovoltaic panel. At the same time, through the embedding vector, it is possible to reflect how the fault propagates between different spatial positions in the photovoltaic panel topology, that is, the spatial fault propagation mode, thereby providing support for fault prediction.
[0070] Step S204, for any photovoltaic panel, time series feature extraction is performed based on the embedded vector of the photovoltaic panel to obtain a predicted feature vector of the photovoltaic panel, and the predicted feature vector is predicted based on the spatial features and time series features of the photovoltaic panel. Specifically, a long short-term memory network is used to extract time series features from the embedded vector of the photovoltaic panel to capture the dynamic behavior and trend of the time series data that changes over time in the embedded vector of the photovoltaic panel, so as to learn and predict the performance changes of the time series data of each photovoltaic panel at future moments, identify fault precursors, and because the embedded vector includes spatial features, the predicted feature vector includes both spatial features and time series features, so that the two features can be combined to more accurately predict faults.
[0071] Step S205, based on the prediction feature vector of the photovoltaic panel, a fault prediction result of the photovoltaic panel is obtained. Specifically, because the prediction feature vector includes spatial features and temporal features, the fault prediction result obtained based on the prediction feature vector has higher accuracy.
[0072] The photovoltaic panel fault prediction method provided by the embodiment of the present invention obtains photovoltaic data of multiple photovoltaic panels and constructs a photovoltaic panel topology structure based on the photovoltaic data, so that the photovoltaic panel topology structure can be processed to obtain the embedded vectors corresponding to all photovoltaic panels respectively, and then the time series feature is extracted for the embedded vector of any photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel including both spatial features and time series features, thereby obtaining the fault prediction result of the photovoltaic panel, and realizing fault prediction for a single photovoltaic panel, so that the photovoltaic panel that may fail can be timely discovered and located from multiple photovoltaic panels, thereby ensuring the power generation efficiency and operation and maintenance effect of the photovoltaic power station, avoiding energy loss and waste, and improving the accuracy of fault prediction by considering two aspects of features for each photovoltaic panel for fault prediction.
[0073] In this embodiment, a photovoltaic panel fault prediction method is provided, which can be used in the photovoltaic panel fault prediction system mentioned above. The method specifically includes the following steps:
[0074] Step S301, obtaining photovoltaic data of multiple photovoltaic panels, the photovoltaic data including photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data and photovoltaic panel positioning data. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.
[0075] Step S302: The photovoltaic panel working data includes current data and voltage data. For any photovoltaic panel, the electric power of the photovoltaic panel is determined based on the current data and voltage data of the photovoltaic panel. Specifically, the product of the current data and the voltage data of the photovoltaic panel is used as the electric power of the photovoltaic panel, reflecting the maximum power of the photovoltaic panel in converting light energy into electric energy.
[0076] Step S303, the environmental data includes light intensity, the photovoltaic panel performance data includes photovoltaic panel area, and the incident light power of the photovoltaic panel is determined based on the photovoltaic panel area and light intensity of the photovoltaic panel. Specifically, the product of the photovoltaic panel area and the light intensity is used as the incident light power of the photovoltaic panel, reflecting the energy flow rate of the sunlight irradiating the photovoltaic panel.
[0077] Step S304, based on the electrical power and incident light power of the photovoltaic panel, determine the power generation efficiency of the photovoltaic panel. Specifically, the percentage of the ratio of electrical power to incident light power is used as the power generation power of the photovoltaic panel, reflecting the efficiency of the photovoltaic panel in converting incident light power into electrical power.
[0078] Step S305, adding the electric power, incident light power and power generation efficiency to the photovoltaic data of the photovoltaic panel. Specifically, the above three data can reflect the performance of the photovoltaic panel. If any data is abnormal, it will affect the normal operation of the photovoltaic panel. Therefore, adding these three data to the photovoltaic data enables subsequent photovoltaic panel fault prediction based on multiple data, thereby improving the accuracy and comprehensiveness of fault prediction.
[0079] Step S306: construct a photovoltaic panel topology structure based on the multiple photovoltaic panels and the photovoltaic data corresponding to the multiple photovoltaic panels, where the photovoltaic panel topology structure reflects the spatial relationship between the multiple photovoltaic panels.
[0080] Specifically, the above step S306 includes:
[0081] Step S3061, based on the multiple photovoltaic panels, multiple nodes of the photovoltaic panel topology structure are generated. Specifically, a graph convolutional network (GCN) can be used to perform steps S306 and S307. The topological relationship between the multiple photovoltaic panels is modeled in the GCN network, and multiple nodes of the photovoltaic panel topology structure are generated based on the multiple photovoltaic panels.
[0082] Step S3062, constructing edges between multiple nodes based on the physical connection relationship or electrical characteristics between multiple photovoltaic panels. Specifically, constructing edges based on physical connection relationship means that if any two photovoltaic panels are connected by a physical connection line, the GCN network constructs an edge between the two photovoltaic panels. Constructing edges based on electrical characteristics means that, taking the electrical characteristics as a series relationship as an example, if any two photovoltaic panels are connected in series, the GCN network constructs an edge between the two photovoltaic panels. Optionally, other electrical characteristics may also be used to determine whether to construct edges between photovoltaic panels, and the embodiments of the present invention do not limit this.
[0083] Step S3063, based on the photovoltaic data corresponding to the multiple photovoltaic panels, the nodes corresponding to the multiple photovoltaic panels are assigned feature vectors. Specifically, since the photovoltaic data includes multiple parameters, the feature vector of each node not only reflects the instantaneous state of the photovoltaic panel corresponding to the node, but also can capture the impact of environmental factors on the photovoltaic panel. By constructing a photovoltaic panel topology structure, it is possible to capture the spatial relationship between multiple photovoltaic panels based on the photovoltaic panel topology structure, provide support for predicting potential faults, and based on the photovoltaic panel topology structure, it is possible to achieve refined monitoring of a single photovoltaic panel.
[0084] Step S307: Process the photovoltaic panel topology structure to obtain embedding vectors corresponding to the plurality of photovoltaic panels.
[0085] Specifically, the above step S307 includes:
[0086] Step S3071, based on the characteristic relationship between multiple nodes, determine the adjacency matrix. Specifically, according to the physical connection relationship or electrical characteristics used when constructing the edge in the above step S3062, if there is a physical connection relationship or electrical characteristics between two nodes, that is, there is an edge between the two nodes, then the corresponding matrix element is 1, otherwise it is 0, so that the above matrix elements are determined for all nodes in the photovoltaic panel topology structure to obtain the adjacency matrix. Since faults often do not occur in isolation, by determining the adjacency matrix, the topological structure between multiple photovoltaic panels can be better captured, and the information of neighboring photovoltaic panels around the photovoltaic panel can be aggregated, not only the status of a single photovoltaic panel, but also the status of the photovoltaic panels directly connected to the photovoltaic panel, so as to better understand the fault propagation mode or impact range.
[0087] Step S3072: for any node, determine the neighbor node of the node from the photovoltaic panel topology structure, where the neighbor node represents a node directly connected to the node through an edge. Specifically, the neighbor node represents a node directly connected to the node.
[0088] Step S3073, using a graph convolutional network, aggregates the feature vectors of the neighboring nodes of the node to obtain a feature matrix. Specifically, after aggregation, the feature vector of each node will contain its own features and the feature information of the neighboring nodes, thereby forming a feature matrix containing richer context information, which helps to capture the dependencies between nodes and enhance the expressiveness of the feature vectors in the feature matrix.
[0089] Step S3074, multiply the weight matrix with the feature matrix, and then multiply the result of the multiplication with the normalized adjacency matrix to obtain the updated feature vector of the node. Specifically, by multiplying the weight matrix with the feature matrix, the weight matrix is applied to perform a linear transformation on the feature matrix. The weight matrix can learn the importance of the feature vector of the node, and reflect these importance in the new feature vector of the node through the multiplication operation. Then, the normalized adjacency matrix is multiplied with the multiplication result to introduce the spatial correlation information contained in the adjacency matrix. The adjacency matrix represents the connection relationship between nodes in the photovoltaic panel topology. By multiplying it, the feature information of the neighboring nodes can be aggregated into the new feature vector of the current node, so as to update the feature vector of the node and obtain the updated feature vector of the node.
[0090] Step S3075, performing a nonlinear transformation on the updated feature vector of the node to obtain the feature vector of the node after the nonlinear transformation. Specifically, the GCN network transforms the updated feature vector of the node through a nonlinear activation function, such as a ReLU function (Rectified Linear Unit, linear rectifier function), to enhance the expressiveness of the feature vector of the node.
[0091] Step S3076, repeat the above process of updating and nonlinearly transforming the feature vector of the node, and after updating and nonlinearly transforming the convolutional network based on the preset number of layers, obtain the embedding vector of the photovoltaic panel corresponding to the node. Specifically, since the GCN network has a multi-layer convolutional network, when processing any node, steps S3073 and S3074 will be executed in each layer of the convolutional network to achieve multiple deep extractions of the feature vector of the node, and obtain a higher level of abstract representation of the feature vector of the node, thereby obtaining the embedding vector of the node. The embedding vector captures the local structural information of the photovoltaic panel corresponding to the node and its position in the entire graph. It not only includes the spatial characteristics of the photovoltaic panel corresponding to the node, but also can reflect the potential spatial fault propagation mode, providing a powerful feature representation for subsequent fault prediction.
[0092] In some optional embodiments, after the execution of the multi-layer convolutional network of the GCN network is completed, after the execution of each layer of the convolutional network is completed, or after the execution of the preset number of layers of the convolutional network is completed, the feature vector obtained after updating the current convolutional network is feature pooled to reduce the computational complexity and retain the important information in the feature vector.
[0093] Step S308: For any photovoltaic panel, extract the time series features based on the embedded vector of the photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel. The predicted feature vector is predicted based on the spatial features and time series features of the photovoltaic panel.
[0094] Specifically, the above step S308 includes:
[0095] Step S3081, the embedding vector of each photovoltaic panel includes the spatial features of the photovoltaic panel and the time series data in the photovoltaic data of the photovoltaic panel. The time series data represents the data in the photovoltaic data of the photovoltaic panel that changes with time. The embedding vectors of all time points of the photovoltaic panel within the preset time period are input into the long short-term memory network as the input time series. The preset time period is the time period from any time point to the current time point. Specifically, for any photovoltaic panel, the embedding vector of the photovoltaic panel is updated by the feature vector of the node corresponding to the photovoltaic panel in the photovoltaic panel topology structure, and the feature vector of the node represents the photovoltaic data of the photovoltaic panel. Therefore, the embedding vector of the photovoltaic panel includes not only the spatial features obtained by the GCN network, but also the time series data in the photovoltaic data. Among them, the time series data represents the data that will change with time in the photovoltaic data, such as temperature, humidity, etc. By forming the embedding vectors of all time points within the preset time period into the input time series, the long short-term memory network (Long Short-Term Memory, LSTM) can learn the time series features that change with time, so as to make predictions. At the same time, since the embedding vector contains two aspects of information, LSTM can not only obtain the dynamic information of each photovoltaic panel changing over time, but also obtain the relative position and relationship of each photovoltaic panel in the spatial network, so as to predict faults more accurately.
[0096] Step S3082, in the forget gate of the long short-term memory network, for any time step within the preset time period, based on the embedding vector corresponding to the time step in the input time series and the output vector of the previous time step, the first information of the output vector of the previous time step is determined, so that the memory unit forgets the first information, and the first information represents the information in the output vector of the previous time step that is irrelevant to the embedding vector of the time step. Specifically, LSTM dynamically adjusts the input vector through the gate mechanism: forget gate, input gate and output gate. In the forget gate of LSTM, for any time step, LSTM obtains the output vector of the previous time step of the time step, and determines the first information irrelevant to the embedding vector of the time step from the output vector of the previous time step. The first information is determined by the sigmoid function in the forget gate, and the sigmoid function outputs a vector between 0 and 1, where a value close to 1 indicates that the part of the information is strongly retained, and a value close to 0 indicates that the part of the information will be forgotten, that is, the first information.
[0097] Step S3083, in the input gate of the long short-term memory network, the embedding vector of the time step and the output vector of the previous time step are evaluated to determine the second information added to the memory unit, where the second information represents information that is highly important to the embedding vector of the time step. Specifically, the second information added to the memory unit is determined in the input gate of the LSTM. The important information to be added is determined by the sigmoid function in the input gate, and the new candidate value to be actually written is obtained by the tanh function, and the dot product of the two is used as the second information.
[0098] Step S3084, in the output gate of the long short-term memory network, determine the output vector of the photovoltaic panel at the time step from the memory unit. Specifically, determine the output vector of the time step in the output gate of the LSTM. Use the sigmoid function to determine the information that should be output in the memory unit, and combine with the tanh function to generate the output vector of the current time step.
[0099] Step S3085, repeat the above process of obtaining the output vector until the current time step is completed, and use the output vector obtained at the current time step as the predicted feature vector of the photovoltaic panel. Specifically, when LSTM goes through multiple iterations until the current time step is completed, the predicted feature vector of the photovoltaic panel is obtained, which can predict the performance of the photovoltaic panel in the future, such as identifying abnormal performance degradation or sudden changes that can indicate a precursor to a fault. By analyzing the input time series, capturing dynamic behaviors and trends, the performance changes of each photovoltaic panel at future moments can be learned and predicted, and precursors to faults can be identified. Since the embedded vector includes spatial features, the predicted feature vector obtained by the long short-term memory network includes both spatial features and time series features, so that fault prediction can be performed more accurately.
[0100] Step S309, obtaining a fault prediction result of the photovoltaic panel based on the prediction feature vector of the photovoltaic panel.
[0101] Specifically, the above step S309 includes:
[0102] Step S3091, linearly transform the predicted feature vector of the photovoltaic panel to obtain the first feature vector. Specifically, by executing steps S3091 to S3093 on the predicted feature vector through the fully connected layer of LSTM, a more intuitive fault prediction result of the photovoltaic panel can be obtained. In the fully connected layer, each neuron is multiplied by each element in the predicted feature vector, and then the multiplication results are summed and the bias term of the neuron is added to realize the linear transformation of the predicted feature vector to extract a new feature representation, that is, the first feature vector.
[0103] Step S3092, nonlinear characteristics are introduced into the first eigenvector to obtain a second eigenvector. Specifically, after the LSTM fully connected layer performs a linear transformation, a nonlinear activation function, such as ReLU, is used to introduce nonlinear characteristics to obtain the second eigenvector.
[0104] Step S3093, convert the second eigenvector into a probability distribution to obtain the fault prediction result corresponding to the photovoltaic panel. Specifically, in the output layer of the fully connected layer, the output layer has multiple neurons, each neuron corresponds to a fault type, and the output of each neuron is the probability of occurrence of the fault type. By adopting the softmax activation function, the probability of occurrence corresponding to each fault type can be obtained, that is, the fault prediction result. The softmax activation function ensures that the sum of the occurrence probabilities of all fault types is 1. For example, assuming that there are three possible fault types, the fault prediction results that can be obtained are [0.1, 0.7, 0.2], from which it can be seen that the probability of the second fault type is the highest.
[0105] In some optional implementations, step S3091 and step S3092 are the execution process of any layer in the fully connected layer of LSTM, and each fully connected layer will perform linear transformation and introduce nonlinear features. Optionally, the number of fully connected layers can be adjusted according to actual needs, and one layer or multiple layers can be used. If multiple layers of fully connected layers are used, the output vector of the last fully connected layer is transmitted to the output layer of the fully connected layer to obtain the fault prediction result.
[0106] In some optional embodiments, the GCN network and LSTM used in the above steps S306 to S309 can be used as a hybrid model, and deployed on the cloud or edge of the main station of the photovoltaic panel fault prediction system after training, and fault prediction is performed based on the photovoltaic panel data obtained in real time. Among them, the training samples of the hybrid model of the GCN network and LSTM introduce innovative data enhancement technology to expand the training data set by simulating different fault conditions. This enables the hybrid model to have better robustness and reliability when facing complex situations in reality. The hybrid model can use the cross-entropy loss function as the optimization target of the hybrid model, and use the back-propagation algorithm and the stochastic gradient descent method to update the parameters of the hybrid model until the hybrid model converges or reaches a preset number of iterations. In addition, accuracy, precision, recall, F1-score, etc. can be used to evaluate the fault prediction performance of the hybrid model, and a confusion matrix can be used to visualize the fault prediction results of the hybrid model.
[0107] Step S3010, the fault prediction result corresponding to each photovoltaic panel includes the occurrence probability corresponding to multiple fault types. For any photovoltaic panel, based on the occurrence probability corresponding to the fault type of the photovoltaic panel, when the occurrence probability corresponding to any fault type exceeds the preset probability, a fault warning is triggered. Specifically, assuming that the fault prediction result is [0.1, 0.7, 0.2], and the preset probability is 0.5, then the occurrence probability of the second fault type exceeds the preset probability. At this time, the master station can issue a fault warning in a variety of ways, such as voice broadcast, flashing warning lights, etc. By timely discovering and warning of potential faults, the operation and maintenance efficiency and safety of photovoltaic power stations are improved.
[0108] Step S3011, the photovoltaic panels, photovoltaic data of the photovoltaic panels, fault types of the photovoltaic panels, and the corresponding probability of occurrence of the fault types are transmitted to the user terminal. Specifically, by predicting faults of multiple photovoltaic panels and performing fault warnings, remote and accurate monitoring of photovoltaic panels is achieved, and when a fault warning is triggered, the master station promptly sends fault-related information to the user terminal, so that relevant personnel can handle it in a timely manner to ensure the safety of the photovoltaic power station.
[0109] Step S3012, using the processing method corresponding to the fault type for processing. Specifically, any fault type can correspond to multiple processing methods, such as the master station remotely controlling the faulty or inefficient photovoltaic panel, or the master station sending information to the user terminal through the above step S3011 to arrange on-site maintenance, etc., thereby improving the power generation efficiency of the photovoltaic panel and reducing the risk of failure.
[0110] The photovoltaic panel fault prediction method provided by the embodiment of the present invention obtains photovoltaic data of multiple photovoltaic panels and constructs a photovoltaic panel topology structure based on the photovoltaic data, so that the photovoltaic panel topology structure can be processed to obtain the embedded vectors corresponding to all photovoltaic panels respectively, and then the time series feature is extracted for the embedded vector of any photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel including both spatial features and time series features, thereby obtaining the fault prediction result of the photovoltaic panel, and realizing fault prediction for a single photovoltaic panel, so that the photovoltaic panel that may fail can be timely discovered and located from multiple photovoltaic panels, thereby ensuring the power generation efficiency and operation and maintenance effect of the photovoltaic power station, avoiding energy loss and waste, and improving the accuracy of fault prediction by considering two aspects of features for each photovoltaic panel for fault prediction.
[0111] The embodiment of the present invention also provides a computer device, see Figure 3 , Figure 3 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 3 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 3 A processor 10 is taken as an example.
[0112] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0113] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0114] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0115] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0116] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0117] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0118] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0119] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A photovoltaic panel fault prediction method, characterized in that: The method comprises: Acquire photovoltaic data of a plurality of photovoltaic panels, wherein the photovoltaic data includes photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data, and photovoltaic panel positioning data; Based on the plurality of photovoltaic panels and the photovoltaic data corresponding to the plurality of photovoltaic panels, construct a photovoltaic panel topology structure, wherein the photovoltaic panel topology structure reflects the spatial relationship between the plurality of photovoltaic panels; Processing the photovoltaic panel topology structure to obtain embedding vectors corresponding to the plurality of photovoltaic panels; For any photovoltaic panel, extracting time series features based on the embedding vector of the photovoltaic panel to obtain a prediction feature vector of the photovoltaic panel, wherein the prediction feature vector is predicted based on the spatial features and time series features of the photovoltaic panel; Based on the prediction feature vector of the photovoltaic panel, a fault prediction result of the photovoltaic panel is obtained.
2. The method according to claim 1, characterized in that The environmental data includes light intensity, the photovoltaic panel working data includes current data and voltage data, and the photovoltaic panel performance data includes photovoltaic panel area; the method further includes: For any photovoltaic panel, determining the electric power of the photovoltaic panel based on the current data and the voltage data of the photovoltaic panel; Determining the incident light power of the photovoltaic panel based on the photovoltaic panel area of the photovoltaic panel and the light intensity; Determining the power generation efficiency of the photovoltaic panel based on the electrical power of the photovoltaic panel and the incident light power; The electric power, the incident light power, and the power generation efficiency are added to photovoltaic data of the photovoltaic panel.
3. The method according to claim 1, characterized in that The step of constructing a photovoltaic panel topology structure based on the plurality of photovoltaic panels and the photovoltaic data corresponding to the plurality of photovoltaic panels includes: Based on the plurality of photovoltaic panels, generating a plurality of nodes of the photovoltaic panel topology structure; Based on the physical connection relationship or electrical characteristics between the plurality of photovoltaic panels, constructing edges between the plurality of nodes; Based on the photovoltaic data corresponding to the plurality of photovoltaic panels, feature vectors are assigned to the nodes corresponding to the plurality of photovoltaic panels.
4. The method according to claim 3, characterized in that The step of processing the photovoltaic panel topology structure to obtain embedding vectors corresponding to the plurality of photovoltaic panels includes: Determining an adjacency matrix based on the physical connection relationship or electrical characteristics between the plurality of nodes; For any node, determine a neighbor node of the node from the photovoltaic panel topology structure, wherein the neighbor node represents a node directly connected to the node through an edge; Using a graph convolutional network, the feature vectors of the neighboring nodes of the node are aggregated to obtain a feature matrix; Multiplying the weight matrix by the feature matrix, and then multiplying the result of the multiplication by the normalized adjacency matrix to obtain an updated feature vector of the node; Performing a nonlinear transformation on the updated feature vector of the node to obtain the feature vector of the node after the nonlinear transformation; The above process of updating and nonlinearly transforming the feature vector of the node is repeated, and after updating and nonlinearly transforming the convolutional network based on a preset number of layers, the embedding vector of the photovoltaic panel corresponding to the node is obtained.
5. The method according to claim 1, characterized in that The embedding vector of each photovoltaic panel includes the spatial features of the photovoltaic panel and the time series data in the photovoltaic data of the photovoltaic panel, wherein the time series data represents the data in the photovoltaic data of the photovoltaic panel that changes with time. For any photovoltaic panel, the time series feature extraction is performed based on the embedding vector of the photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel, including: Input the embedding vectors of the photovoltaic panel at all time points within a preset time period as an input time series into the long short-term memory network, wherein the preset time period is the time period from any time point to the current time point; In the forget gate of the long short-term memory network, for any time step within the preset time period, based on the embedding vector corresponding to the time step in the input time series and the output vector of the previous time step, first information of the output vector of the previous time step is determined, so that the memory unit forgets the first information, wherein the first information represents information in the output vector of the previous time step that is irrelevant to the embedding vector of the time step; In an input gate of the long short-term memory network, the embedding vector of the time step and the output vector of the previous time step are evaluated to determine second information added to the memory unit, wherein the second information represents information of high importance to the embedding vector of the time step; In an output gate of the long short-term memory network, determining an output vector of the photovoltaic panel at the time step from the memory unit; The above process of obtaining the output vector is repeated until the current time step is completed, and the output vector obtained in the current time step is used as the predicted feature vector of the photovoltaic panel.
6. The method according to claim 1, characterized in that The step of obtaining a fault prediction result of the photovoltaic panel based on the prediction feature vector of the photovoltaic panel includes: Performing a linear transformation on the predicted characteristic vector of the photovoltaic panel to obtain a first characteristic vector; Introducing nonlinear characteristics into the first eigenvector to obtain a second eigenvector; The second eigenvector is converted into a probability distribution to obtain a fault prediction result corresponding to the photovoltaic panel.
7. The method according to claim 1, characterized in that The fault prediction result corresponding to each photovoltaic panel includes the occurrence probabilities corresponding to multiple fault types. The method further includes: For any photovoltaic panel, based on the occurrence probability corresponding to the fault type of the photovoltaic panel, when the occurrence probability corresponding to any fault type exceeds a preset probability, a fault warning is triggered; Transmitting the photovoltaic panel, photovoltaic data of the photovoltaic panel, the fault type of the photovoltaic panel, and the occurrence probability corresponding to the fault type to a user terminal; The fault type is handled using the corresponding processing method.
8. A photovoltaic panel fault prediction system, characterized in that: The system comprises: A plurality of stations, for acquiring photovoltaic data of a plurality of photovoltaic panels, wherein the photovoltaic data includes photovoltaic panel identification, environmental data, photovoltaic panel working data, photovoltaic panel performance data and photovoltaic panel positioning data; The main station is used to construct a photovoltaic panel topology structure based on the photovoltaic data corresponding to the multiple photovoltaic panels acquired by the substation and the multiple photovoltaic panels, process the photovoltaic panel topology structure, obtain the embedding vectors corresponding to the multiple photovoltaic panels, and for any photovoltaic panel, extract the time series features based on the embedding vector of the photovoltaic panel to obtain the predicted feature vector of the photovoltaic panel, and obtain the fault prediction result of the photovoltaic panel based on the predicted feature vector of the photovoltaic panel. The photovoltaic panel topology structure reflects the spatial relationship between the multiple photovoltaic panels, and the predicted feature vector is predicted based on the spatial characteristics and time series characteristics of the photovoltaic panel.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the photovoltaic panel fault prediction method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the photovoltaic panel failure prediction method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Short-term photovoltaic output prediction method based on space-time correlation
CN116565863A
Method, system and equipment for combined optimization prediction of photovoltaic power, and medium
CN117374926A
Photovoltaic output power prediction method based on K-GCN-LSTM model
CN118174285A
