Distributed photovoltaic abnormal data detection method, system, electronic device and storage medium
By acquiring and analyzing the physical and meteorological data of distributed photovoltaic power stations, the optimal and corrected output curves are generated, and the abnormal data is identified through similarity calculation, which solves the problem of high misjudgment rate in the existing technology and improves the operating efficiency and efficiency of the power station. stability.
Patent Information
- Application Number
- CN202410846860.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-27
AI Technical Summary
The existing technology has a high misjudgment rate in abnormal data detection of distributed photovoltaic power stations, and cannot accurately cope with the complex and changeable dynamic environment of photovoltaic power station operation, resulting in unnecessary false alarms and misoperations, affecting the stability and efficiency of the power station.
By obtaining the physical status information and meteorological data of distributed photovoltaic power stations, inputting them into the pre-built output prediction model and correction model, the optimal and corrected output curves are generated. Combined with the similarity calculation method, data with similarity lower than the threshold are identified as anomalies. data to reduce the misjudgment rate.
It improves the operating efficiency and stability of distributed photovoltaic power stations, reduces the misjudgment rate of abnormal data detection, reduces unnecessary intervention and costs, and enhances the accuracy and reliability of data.
Smart Images

Figure CN118410445B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic power generation operation and maintenance, and in particular to a distributed photovoltaic abnormal data detection method, system, electronic equipment and storage medium. Background Art
[0002] With the rapid development of renewable energy, distributed photovoltaic power stations have been widely used as a clean and efficient energy form. However, due to the decentralization and complexity of distributed photovoltaic power stations, the monitoring and management of their operating data has become an important issue. In actual operation, the output of photovoltaic power stations is affected by many factors, such as geographical location, meteorological conditions, equipment status, etc. Therefore, how to accurately obtain and analyze the operating data of distributed photovoltaic power stations and discover abnormal data in time is of great significance to improving the operating efficiency and stability of photovoltaic power stations.
[0003] In the prior art, abnormal data detection for distributed photovoltaic power stations usually relies on simple threshold judgment or statistical methods; these methods have limited detection accuracy when dealing with the complex and changeable dynamic operating environment of photovoltaic power stations; for example, when a local area is suddenly blocked by clouds or the surface of the photovoltaic panel is blocked by dirt, the output of the photovoltaic power station may drop sharply; in this case, the traditional threshold-based or statistical abnormal data detection method may misjudge this normal output change as abnormal data, resulting in unnecessary false alarms and misoperation; this not only increases the operating cost of the photovoltaic power station, but may also affect its stability and efficiency. Summary of the invention
[0004] To solve the above technical problems, the present invention provides a distributed photovoltaic abnormal data detection method, system, electronic device and storage medium, which can effectively improve the operating efficiency and stability of distributed photovoltaic power stations and reduce the misjudgment rate of abnormal data detection.
[0005] In a first aspect, the present invention provides a distributed photovoltaic abnormal data detection method, the method comprising:
[0006] Obtain physical status information and meteorological data information of distributed photovoltaic power stations;
[0007] Input the physical state information and meteorological data information into the pre-built distributed photovoltaic power station output prediction model to obtain the optimal output curve of the distributed photovoltaic power station;
[0008] According to the preset collection time point, the actual output data of the distributed photovoltaic power station and the dynamic environment data around the power station are collected; the actual output data and the dynamic environment data around the power station correspond one to one in the time dimension;
[0009] The actual output data at each collection time point and the dynamic environment data around the power station are sequentially input into the pre-built distributed photovoltaic power station output correction model to obtain the corrected output data of the distributed photovoltaic power station at each collection time point;
[0010] Perform trend analysis on the corrected output data to obtain a corrected output curve;
[0011] According to the sensitive requirements for abnormal data detection of distributed photovoltaic power stations, data identification time slices are set;
[0012] For each data identification time slice, the similarity between the optimal output curve and the corrected output curve is calculated, and the actual output data corresponding to the data identification time slice with a similarity lower than a preset threshold is determined as abnormal data of the distributed photovoltaic power station.
[0013] Furthermore, the calculation formula of the distributed photovoltaic power station output prediction model is:
[0014] in, represents the predicted output of distributed photovoltaic power stations, GHI represents the global horizontal total radiation intensity, K tropo represents the atmospheric transmittance correction factor, taking into account the influence of atmospheric transparency; K aero represents the atmospheric quality correction factor, taking into account the effects of air density and altitude; K temp Represents the temperature correction factor, taking into account the impact of component temperature on efficiency; η cell,i FF represents the photovoltaic cell conversion efficiency of the i-th photovoltaic module in the distributed photovoltaic power station under given temperature and radiation intensity; i represents the filling factor of the i-th photovoltaic module; V oc,i and I sc,i Respectively represent the open circuit voltage and short circuit current of the i-th photovoltaic module; R s,i and R sh,i They represent the series resistance and parallel resistance of the i-th PV module respectively; n represents the total number of PV modules in the PV power station.
[0015] Furthermore, the distributed photovoltaic power station output correction model includes the following structure:
[0016] Input layer: The input layer receives the actual output data at each collection time point and the dynamic environmental data around the power station, and integrates the historical operation data of the power station, equipment maintenance records and weather forecast data; performs preliminary integration of the actual output data at each collection time point and the dynamic environmental data around the power station, including data format unification and data cleaning; integrates the integrated data with the historical operation data, equipment maintenance records and weather forecast data of the power station, and performs data standardization or normalization to generate the initial input of the distributed photovoltaic power station output correction model;
[0017] Gradient boosted tree ensemble: The initial input generated by the input layer is used to construct each decision tree in the gradient boosted tree ensemble, where each decision tree is a weak prediction model that attempts to predict output data. Through iteration, each new decision tree is trained based on the residual of the previous decision tree to reduce the prediction error and gradually approach the actual output curve.
[0018] Tree nodes: In each round of decision tree iteration, each internal node of the new decision tree divides the data set according to the preset splitting criteria, so that the data in each data subset is homogeneous; through node splitting, the model can be refined layer by layer to adapt to the complexity of the output of photovoltaic power stations affected by multiple factors until the preset stop condition is met;
[0019] Leaf node: The leaf node of each decision tree gives the predicted value of the PV power station, records the confidence and uncertainty measurement of the predicted value, and smoothes the predicted value of the leaf node;
[0020] Output layer: The prediction values of all individual decision trees are combined in the output layer through weighted summation to form the final corrected output data; the weight of the decision tree reflects the contribution of each tree to the total prediction, which is determined by optimization in the gradient boosting process; and the corrected output data of the distributed photovoltaic power station at each collection time point is output.
[0021] Furthermore, the method for obtaining the corrected output curve includes:
[0022] The random fluctuations and noise in the data are eliminated by moving average and exponential smoothing techniques, and missing data points are filled by interpolation.
[0023] Identify and extract seasonal components in the corrected output data and separate long-term trend components in the data;
[0024] Use statistical models to fit the trend of output data, and select the optimal model through cross-validation and AIC criterion method;
[0025] By comparing the actual corrected output data with the trend value obtained by fitting, the data points that deviate from the trend by more than a preset value are identified, and the data points that deviate from the trend by more than the preset value indicate an abnormal situation;
[0026] Based on the results of the trend analysis, the final corrected output curve is generated, and the corrected output curve is used to represent the output change trend of the distributed photovoltaic power station at different time points.
[0027] Furthermore, the method for determining abnormal data includes:
[0028] The similarity between the optimal output curve and the corrected output curve is calculated by using the Euclidean distance method;
[0029] Setting preset thresholds;
[0030] Compare the calculated similarity with a preset threshold;
[0031] If the similarity is lower than a preset threshold, the actual output data corresponding to the time slice is determined to be abnormal data.
[0032] Furthermore, the method for calculating the similarity between the optimal output curve and the corrected output curve includes:
[0033] Using interpolation technology to increase the data points of the optimal output curve so that it matches the sampling frequency of the correction output curve; the interpolation technology includes linear interpolation, polynomial interpolation and spline interpolation;
[0034] Align the optimal output curve and the corrected output curve after adding data points on the time axis;
[0035] Calculate the distances between all corresponding points on the aligned optimal output curve and the corrected output curve to form a distance matrix;
[0036] Dynamic time warping is selected as the similarity measurement method. Based on the distance matrix, the dynamic time warping algorithm outputs a similarity score. The lower the score, the more similar the optimal output curve and the corrected output curve are; the higher the score, the greater the difference between the optimal output curve and the corrected output curve.
[0037] Furthermore, the physical status information includes the status of the photovoltaic modules, the status of the inverter and auxiliary equipment, and the status of the bracket and the grounding system;
[0038] The meteorological data information includes solar radiation intensity data, temperature, humidity, wind speed and direction data, cloud cover data, aerosol optical thickness and precipitation information.
[0039] On the other hand, the present application also provides a distributed photovoltaic abnormal data detection system, the system comprising:
[0040] Data acquisition module, used to obtain physical status information and meteorological data information of distributed photovoltaic power stations in real time;
[0041] The output prediction module is used to input the physical state information and meteorological data information into the pre-built distributed photovoltaic power station output prediction model to obtain the optimal output curve of the distributed photovoltaic power station;
[0042] The timing synchronous sampling module is used to collect the actual output data of the distributed photovoltaic power station and the dynamic environmental data around the power station according to the preset collection time point; the actual output data and the dynamic environmental data around the power station correspond one to one in the time dimension; the dynamic environmental data around the power station includes cloud coverage, dust accumulation and equipment temperature;
[0043] The output correction module is used to input the actual output data at each collection time point and the dynamic environment data around the power station into the pre-built distributed photovoltaic power station output correction model in sequence, and obtain the corrected output data of the distributed photovoltaic power station at each collection time point;
[0044] A trend analysis module is used to perform trend analysis on the corrected output data to obtain a corrected output curve;
[0045] The abnormal data detection module is used to set the data identification time slice according to the sensitive requirements for abnormal data detection of distributed photovoltaic power stations, calculate the similarity between the optimal output curve and the corrected output curve for each data identification time slice, and determine the actual output data corresponding to the data identification time slice whose similarity is lower than a preset threshold as abnormal data of the distributed photovoltaic power station.
[0046] In a third aspect, the present application provides an electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, and the computer program, when executed by the processor, implements the steps of any one of the above methods.
[0047] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in any one of the above-mentioned methods when executed by a processor.
[0048] Compared with the prior art, the invention has the following beneficial effects: the method can accurately predict the optimal output curve of the distributed photovoltaic power station through the output prediction model, and provide an accurate benchmark for subsequent correction and abnormal detection; according to the actually collected data and the surrounding environment information, the output correction model is used to correct the output data in real time, effectively respond to the changes in the operating environment of the photovoltaic power station, and improve the accuracy of the data; by acquiring and analyzing the physical state information, meteorological data and surrounding environment data of the photovoltaic power station, the comprehensive monitoring of the photovoltaic power station operation data is realized; by performing trend analysis on the corrected output data, the trend and law of the output change can be discovered in time, and a more reliable basis for abnormal data detection is provided; according to the sensitivity requirements for abnormal data detection, the data recognition time slice and the similarity threshold can be flexibly set, so as to balance the false alarm rate and the missed alarm rate, and improve the accuracy of abnormal data detection; compared with the traditional abnormal data detection based on threshold or statistical method, the method adopts the similarity calculation method, which can reduce the misjudgment of normal output changes, reduce the false alarm rate, and reduce unnecessary intervention and cost; it can effectively improve the operating efficiency and stability of the distributed photovoltaic power station, and reduce the misjudgment rate of abnormal data detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a flow chart of the present invention;
[0050] Figure 2 It is a flow chart of a method for constructing a distributed photovoltaic power station output prediction model;
[0051] Figure 3 It is a structural diagram of the distributed photovoltaic abnormal data detection system. DETAILED DESCRIPTION
[0052] In the description of this application, those skilled in the art should know that this application can be implemented as a method, an apparatus, an electronic device, and a computer-readable storage medium. Therefore, this application can be specifically implemented in the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), a combination of hardware and software. In addition, in some embodiments, this application can also be implemented in the form of a computer program product in one or more computer-readable storage media, and the computer-readable storage medium contains computer program code.
[0053] The above-mentioned computer-readable storage medium may adopt any combination of one or more computer-readable storage media. Computer-readable storage media include: electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media include: portable computer disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, flash memories, optical fibers, optical disc read-only memories, optical storage devices, magnetic storage devices, or any combination of the above. In the present application, computer-readable storage media can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device.
[0054] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws.
[0055] The present application describes the provided methods, devices, and electronic devices through flowcharts and / or block diagrams.
[0056] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer-readable program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified by the boxes in the flowchart and / or block diagram.
[0057] These computer-readable program instructions may also be stored in a computer-readable storage medium that enables a computer or other programmable data processing device to work in a specific manner. In this way, the instructions stored in the computer-readable storage medium produce an instruction device product including functions / operations specified in the blocks in the flowchart and / or block diagram.
[0058] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable data processing apparatus to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0059] The present application is described below in conjunction with the drawings in the present application.
[0060] Embodiment 1: Figure 1 to Figure 2 As shown, the distributed photovoltaic abnormal data detection method of the present invention specifically includes the following steps:
[0061] S1. Obtaining physical status information and meteorological data information of distributed photovoltaic power stations;
[0062] In the field of photovoltaic power generation operation and maintenance, obtaining physical status information and meteorological data information of distributed photovoltaic power stations can comprehensively and real-time grasp the various factors affecting the output of photovoltaic power stations, and provide accurate input data for subsequent output prediction, correction and abnormal data detection;
[0063] The physical status information includes:
[0064] A. Photovoltaic module status:
[0065] The current sensors, voltage sensors and smart photovoltaic modules installed on the photovoltaic module strings monitor the electrical performance data of each string, such as current, voltage and power, in real time to reflect the conversion efficiency and health status of the photovoltaic modules.
[0066] Use built-in temperature sensors to regularly measure the surface temperature of PV panels to identify abnormal hot and cold spots;
[0067] Through drone aerial photography, manual inspections and cameras installed on brackets, high-definition images of photovoltaic modules are taken regularly to detect external factors that affect power generation efficiency, such as damage, cracks, dirt, and bird droppings on the module surface;
[0068] B. Status of inverter and auxiliary equipment:
[0069] Obtain the inverter's output power, conversion efficiency, fault code, operating temperature, fan speed, and DC side voltage and current parameters from its communication interface. The inverter's operating status directly affects the performance and stability of the entire power station.
[0070] Monitor the current, voltage, insulation resistance parameters of each string connected to the combiner box, as well as the internal temperature of the box and the circuit breaker status information to ensure the normal collection and distribution of power;
[0071] Collect current, voltage, load, temperature, and power quality data of electrical equipment such as transformers, switchgear, and cables to ensure safe and reliable power transmission and distribution;
[0072] C. Status of bracket and grounding system:
[0073] Use acceleration sensors, inclination sensors and visual detection technology to regularly evaluate the vibration and tilt of photovoltaic brackets to ensure their structural safety under the external forces of wind load and snow load;
[0074] Regularly use a ground resistance tester to measure the ground resistance value of the photovoltaic power station grounding system to ensure that it meets the requirements of lightning protection, anti-static and electric shock protection;
[0075] The meteorological data information includes:
[0076] a. Basic meteorological parameters:
[0077] Using satellite remote sensing data, we can regularly obtain solar radiation intensity data to assess the power generation potential of photovoltaic power stations;
[0078] Obtain temperature, humidity, wind speed and direction data from local weather stations;
[0079] Use sky imagers and satellite remote sensing data to obtain cloud cover data;
[0080] b. Specific meteorological phenomena:
[0081] Aerosol optical thickness reflects the degree of scattering and absorption of sunlight by suspended particles in the atmosphere, affecting the light intensity and spectral distribution of photovoltaic power stations;
[0082] Precipitation information includes rainfall amount, raindrop size and rainfall duration, which has a direct impact on the surface cleanliness of PV modules, electrical insulation performance and power station drainage system;
[0083] Special meteorological conditions such as fog, haze, frost and snow can reduce the power generation efficiency of photovoltaic power stations and can be obtained through meteorological services and on-site monitoring equipment.
[0084] In this step, equipment failures and abnormal conditions can be discovered in time, improving the reliability and stability of photovoltaic power stations; obtaining meteorological data information can predict weather conditions in the future, helping operation and maintenance personnel to make scheduling arrangements and reduce the impact of weather changes on the operation of photovoltaic power stations; by monitoring the status of photovoltaic components, structural safety hazards can be discovered in time, damage caused by external forces such as wind loads and snow loads can be prevented, and the risk of major accidents can be reduced; by real-time monitoring of equipment status information, preventive maintenance of equipment can be achieved, the occurrence of sudden failures can be reduced, and operation and maintenance costs can be reduced; using meteorological data information, reasonable operation strategies can be formulated to improve the power generation efficiency of photovoltaic power stations and reduce operation and maintenance costs and energy production costs;
[0085] In summary, obtaining physical status information and meteorological data information of distributed photovoltaic power stations can help improve operation and maintenance efficiency, optimize output management, reduce failure risks, and thus reduce operation and maintenance costs, thereby achieving sustainable operation of photovoltaic power generation systems and maximizing power generation benefits.
[0086] S2, inputting the physical state information and meteorological data information into a pre-built distributed photovoltaic power station output prediction model to obtain the optimal output curve of the distributed photovoltaic power station;
[0087] In the field of photovoltaic power generation operation and maintenance, the distributed photovoltaic power station output prediction model is used to estimate the theoretical maximum output of the distributed photovoltaic power station in the future. In this step, the acquired physical state information and meteorological data information are used as input, and the optimal output curve is calculated by the output prediction model; the optimal output curve is the optimal power output curve that the photovoltaic power station should theoretically produce under ideal conditions, which is calculated by the distributed photovoltaic power station output prediction model, taking into account the physical state information and meteorological data information of the distributed photovoltaic power station; the optimal output curve reflects the ideal situation of the power generation of the photovoltaic power station changing over time if there is no abnormality or loss in a given time period; in practical applications, the optimal output curve is used as a benchmark reference for comparison and analysis with the corrected actual output data, so as to detect whether there is any abnormality;
[0088] The method for constructing the distributed photovoltaic power station output prediction model includes:
[0089] S21, collecting historical physical state information and meteorological data information, and preprocessing the subordinate data, wherein the preprocessing includes removing outliers, filling missing values, standardizing and normalizing;
[0090] S22, extracting features from the processed data to obtain a training set for the model;
[0091] S23, selecting a machine learning model as the basis of the model, wherein the machine learning model includes a random forest, a support vector machine, a neural network, and a deep learning model;
[0092] S24, using the training set to adjust and train the parameters of the selected model, and optimizing the model performance through cross-validation and grid search methods;
[0093] S25. Use an independent validation set to evaluate the performance of the trained model and tune the model based on the validation results.
[0094] S26, deploying the verified model to the actual operation and maintenance system, receiving real-time physical state information and meteorological data information as input, and outputting the optimal output curve of the distributed photovoltaic power station;
[0095] The calculation formula of the distributed photovoltaic power station output prediction model is:
[0096] in, represents the predicted output of distributed photovoltaic power stations, GHI represents the global horizontal total radiation intensity, K tropo represents the atmospheric transmittance correction factor, taking into account the influence of atmospheric transparency; K aerorepresents the atmospheric quality correction factor, taking into account the effects of air density and altitude; K temp Represents the temperature correction factor, taking into account the impact of component temperature on efficiency; η cell,i FF represents the photovoltaic cell conversion efficiency of the i-th photovoltaic module in the distributed photovoltaic power station under given temperature and radiation intensity; i represents the filling factor of the i-th photovoltaic module; V oc,i and I sc,i Respectively represent the open circuit voltage and short circuit current of the i-th photovoltaic module; R s,i and R sh,i They represent the series resistance and parallel resistance of the i-th PV module respectively; n represents the total number of PV modules in the PV power station.
[0097] In this step, by predicting the theoretical maximum output of the photovoltaic power station in the future, the operation and maintenance personnel can make scheduling and operation plans in advance, so as to maximize the use of the power generation potential of the photovoltaic power station and improve the power generation efficiency; accurate output prediction can help the operation and maintenance personnel make more accurate decisions, reduce operation and maintenance costs, and avoid losses and additional costs caused by emergencies; the accuracy of the output prediction model helps to optimize the energy scheduling of the photovoltaic power station, better coordinate with other energy resources, improve energy utilization efficiency, and reduce energy waste; by predicting the optimal output curve of the distributed photovoltaic power station, it is possible to better grasp the balance of supply and demand of the power grid, improve system stability, and reduce grid fluctuations and pressure;
[0098] In summary, building a distributed photovoltaic power station output prediction model can bring significant beneficial effects in improving power generation efficiency, reducing operation and maintenance costs, improving operation and maintenance response speed, optimizing energy scheduling and enhancing system stability.
[0099] S3. According to a preset collection time point, collect the actual output data of the distributed photovoltaic power station and the dynamic environmental data around the power station; the actual output data and the dynamic environmental data around the power station correspond one to one in the time dimension; the dynamic environmental data around the power station includes cloud cover, dust accumulation and equipment temperature;
[0100] Through the S3 step, the actual output data of distributed photovoltaic power stations and the surrounding dynamic environment data are collected efficiently and accurately, providing a detailed and reliable data basis for subsequent trend analysis, anomaly detection and other work;
[0101] Using sensors and data acquisition equipment installed on the inverter and combiner box of the photovoltaic power station, the actual power generation of the power station is measured and recorded in real time to ensure the stable operation of the data acquisition system;
[0102] Through the meteorological station installed near the power station, satellite remote sensing data and drone observation, we can obtain information on cloud thickness, cloud movement speed and cloud shielding angle, reflecting the impact of clouds on the light intensity of photovoltaic modules;
[0103] Use infrared thermal imaging technology, drone photography and manual inspections to regularly monitor the dust coverage on the surface of photovoltaic modules, including dust thickness and distribution uniformity;
[0104] Deploy temperature sensors at key locations of photovoltaic modules, inverters, and cable connectors to monitor the operating temperature of the equipment in real time;
[0105] The factors affecting the setting of the acquisition time point include:
[0106] The output fluctuation characteristics of photovoltaic power stations. The output of photovoltaic power stations is mainly affected by meteorological conditions such as light intensity, temperature, and humidity, and shows obvious diurnal and seasonal fluctuations. The collection time point should be able to fully cover these fluctuation cycles to accurately capture the details of output changes. For rapidly changing environmental factors, shorter collection intervals are required for timely response;
[0107] Anomaly detection needs: The collection time point should meet the needs of the anomaly detection algorithm to ensure that anomalies can be discovered and located in a timely manner. For fast-response anomaly detection algorithms, high-frequency data collection is required; while for algorithms that focus on long-term trend analysis, lower-frequency collection is required.
[0108] Equipment status monitoring requirements: changes in the status of photovoltaic power station equipment will affect the output; the acquisition time point should be able to capture changes in equipment status parameters in a timely manner;
[0109] Data processing and storage capabilities. The setting of the collection time point should take into account the processing speed, storage capacity and network bandwidth of the data processing system. Too frequent collection will lead to data processing delays, increased storage pressure, and even affect the stability of data transmission. The collection interval should be reasonably set according to the capabilities of the existing hardware facilities and software platforms to ensure the efficient and stable operation of the data processing and storage system.
[0110] Operation and maintenance costs and benefits. The selection of collection time points should take into account both operation and maintenance costs and benefits. Although overly intensive collection can improve the accuracy of anomaly detection, it will increase the costs of sensors, data transmission, storage, and processing. A cost-benefit analysis should be conducted based on factors such as the scale of the power plant, operation and maintenance budget, and expected returns to determine an economical and effective collection interval.
[0111] In this step, the actual output data and surrounding environmental data of the photovoltaic power station can be obtained in real time and accurately, providing a reliable data basis for subsequent analysis and anomaly detection; by real-time monitoring of the actual output of the photovoltaic power station and the surrounding environmental conditions, various abnormal situations can be discovered and handled in a timely manner, thereby improving the operating efficiency and stability of the power station and reducing energy losses and operating risks caused by abnormal situations; the collected data can be used for refined trend analysis, which helps to better understand the operating laws and performance of the photovoltaic power station and provide a basis for optimizing the operating strategy; the setting of the collection time point takes into account the needs of anomaly detection, can timely discover and locate anomalies, and provide timely early warning information for operation and maintenance personnel, which helps to quickly respond to and handle abnormal situations and reduce operating risks; by reasonably setting the collection time point, a balance is taken into account between anomaly detection accuracy and operation and maintenance costs, avoiding the additional costs caused by over-intensive collection, and ensuring the control of operation and maintenance costs and maximization of benefits;
[0112] In summary, the implementation of step S3 provides important support for the effective operation and management of distributed photovoltaic power stations, thereby making a positive contribution to improving the operating efficiency, stability and economic benefits of power stations.
[0113] S4, inputting the actual output data at each collection time point and the dynamic environment data around the power station into the pre-built distributed photovoltaic power station output correction model in sequence, and obtaining the corrected output data of the distributed photovoltaic power station at each collection time point;
[0114] In the field of photovoltaic power generation operation and maintenance, the distributed photovoltaic power station output correction model can correct the actual output data of the photovoltaic power station according to real-time environmental factors and equipment status to more accurately reflect its theoretical output level under current conditions;
[0115] The method for constructing the distributed photovoltaic power station output correction model includes:
[0116] S41. Collect historical output data, equipment status data and environmental factor data of the photovoltaic power station;
[0117] S42, preprocessing the historical data, wherein the preprocessing includes data cleaning, filling missing values, standardization and normalization processing;
[0118] S43, selecting a machine learning model as the basis of the model, wherein the machine learning model includes a decision tree, a random forest, a support vector machine, a neural network, and a gradient boosting tree;
[0119] S44, extracting and converting features of the preprocessed data to obtain a training set of the model;
[0120] S45. Train the model using the training set of the model, adjust the hyperparameters through cross-validation and grid search methods, and optimize the model performance;
[0121] S46. Use an independent validation set to evaluate the performance of the constructed model and tune the model according to the validation results until the model achieves satisfactory prediction accuracy;
[0122] S47. Integrate the verified and optimized output correction model into the monitoring system of the photovoltaic power station.
[0123] In this step, by real-time monitoring of environmental factors and equipment status, and correcting the actual output data based on the model established by historical data, the theoretical output level of the photovoltaic power station under current conditions can be more accurately reflected, thereby improving the accuracy and credibility of the data; the corrected output data can more accurately indicate the actual performance of the photovoltaic power station, and the operation and maintenance personnel can make more accurate decisions based on these data, optimize the operation strategy, and improve the operation efficiency and power generation of the photovoltaic power station; accurate output data can help the operation and maintenance personnel to find problems in time and make adjustments, thereby reducing downtime and maintenance costs caused by abnormal conditions, and reducing operation and maintenance costs; by timely discovering and correcting output data anomalies, it is possible to prevent or reduce failures and emergencies during the operation of the photovoltaic power station, and improve the stability and reliability of the system; the output correction model constructed by machine learning and other methods can realize intelligent operation and maintenance, adjust model parameters according to real-time data, continuously optimize model performance, and improve the system's automation level and operation and maintenance efficiency;
[0124] In summary, the distributed photovoltaic power station output correction model constructed through step S4 can effectively improve the efficiency, stability and reliability of photovoltaic power station operation, and provide important support for the optimization management of photovoltaic power generation systems;
[0125] Specifically, the distributed photovoltaic power station output correction model adopts a gradient boosting tree, and the distributed photovoltaic power station output correction model includes the following structure:
[0126] Input layer: The input layer of the model not only receives the actual output data at each collection time point and the dynamic environmental data around the power station, but also further integrates various information, including physical state information, meteorological data information, historical operation data, equipment maintenance records and weather forecast data, etc.; after preprocessing, these data form the basic feature vector for model training and prediction; this is the starting point of the model work, providing rich input information for all subsequent decision trees; at the same time, the input layer data processing flow includes: preliminary integration of the actual output data at each collection time point and the dynamic environmental data around the power station, including data format unification, data cleaning (removal of invalid or erroneous data), etc.; secondly, the integrated data is integrated with the historical operation data of the power station, equipment maintenance records and weather forecast data, and data standardization or normalization is required to facilitate model processing; finally, the integrated data is input into the gradient boosting tree set for subsequent analysis;
[0127] Gradient boosted tree ensemble: Based on the features provided by the input layer, the gradient boosted tree algorithm iteratively builds a series of decision trees; each tree attempts to optimize the residual (i.e., the difference between the current model prediction and the actual value) based on the previous tree; this process reflects the complex pattern of how the model gradually approaches the true output curve through cumulative effects; each tree is built based on the linear combination of the prediction results of all previous trees, and the prediction error is further fine-tuned;
[0128] Tree nodes and splitting criteria: In each decision tree, nodes divide data according to the best splitting criteria (such as Gini impurity or information gain) so that the data in each data subset is homogeneous. This process is to refine the prediction model layer by layer so that it can better adapt to and reflect the complexity of the output of photovoltaic power stations affected by multiple factors.
[0129] Leaf nodes and predicted values: Each leaf node of the gradient boosting tree not only stores the predicted value for the area, but also records the confidence and uncertainty measures of the predicted value, so that the model can provide more reliable and explainable prediction results when outputting the corrected output data; the model uses smoothing technology to smooth the predicted values of the leaf nodes to reduce the fluctuation and noise of the prediction results; the output of the leaf nodes is directly related to the calculation of the final corrected output;
[0130] Linear combination and output layer: The prediction values of all individual decision trees are combined in the output layer through weighted summation to form the final corrected output data; the weight here reflects the contribution of each tree to the total prediction, which is determined by optimization in the gradient boosting process; this linear combination step ensures that the model can comprehensively consider the information of all decision trees to achieve the most accurate correction effect on the output of the photovoltaic power station.
[0131] The distributed photovoltaic power station output correction model integrates multiple decision trees through the gradient boosting tree, gradually learns and corrects the deficiencies of the initial prediction. Each tree focuses on the residual error of the previous round of prediction. The final synthesized model can provide more accurate output correction values and provide a more reliable foundation for subsequent anomaly detection.
[0132] S5. Perform trend analysis on the corrected output data to obtain a corrected output curve;
[0133] Step S5 constructs a corrected output curve that can accurately reflect the dynamic changes in the output of distributed photovoltaic power stations by performing trend analysis on the corrected output data. The corrected output curve is not only an important basis for subsequent abnormal data detection, but also a key tool for evaluating the operating status of the power station, optimizing the operation and maintenance strategy, and predicting future output, which can improve the operation and maintenance efficiency and stability of the photovoltaic power station;
[0134] The trend analysis methods for corrected output data include:
[0135] Data preprocessing: Use moving average and exponential smoothing techniques to eliminate random fluctuations and noise in the data. For missing data points, use interpolation to fill in the gaps to ensure data integrity.
[0136] Time series analysis: Identify and extract seasonal components in the corrected output data; separate long-term trend components in the data through time series decomposition techniques;
[0137] Statistical modeling: Use statistical models to fit the trend of the corrected output data; select the optimal model through cross-validation and AIC criteria, and verify the model to ensure its fitting effect;
[0138] Trend visualization: The fitted trend is displayed in a graphical way to intuitively observe and analyze the changing trend of the output data.
[0139] Outlier detection: By comparing the actual corrected output data with the trend value obtained by fitting, the data points that deviate greatly from the trend are identified. Data points that deviate greatly from the trend indicate abnormal conditions.
[0140] Result output: Based on the results of trend analysis, the final corrected output curve is generated. The corrected output curve reflects the output change trend of the distributed photovoltaic power station at different time points.
[0141] In this step, the corrected output curve can accurately reflect the dynamic changes of the output of the distributed photovoltaic power station through trend analysis, including long-term trends and short-term fluctuations, helping the operation and maintenance personnel to fully understand the changes in the power station output; the corrected output curve is not only an important basis for subsequent abnormal data detection, but also can be used as one of the inputs of the abnormal data detection algorithm to improve the accuracy and reliability of abnormal detection; the corrected output curve can be used to evaluate the operating status of the power station, including power generation efficiency, equipment operating status, etc., to help the operation and maintenance personnel to find problems in time and take measures;
[0142] In summary, the beneficial effect of step S5 is that it provides important tools and indicators for the operation and maintenance management of the photovoltaic power station, which can effectively improve the operation efficiency, stability and economy of the power station.
[0143] S6. According to the sensitive requirements for abnormal data detection of distributed photovoltaic power stations, set the data identification time slice;
[0144] Reasonable data recognition time slice settings can ensure that the anomaly detection algorithm can not only keenly capture the real output anomaly, but also effectively suppress false alarms, thereby improving operation and maintenance efficiency and ensuring stable operation of the power station. This process needs to be combined with photovoltaic output characteristics and operation and maintenance requirements, and achieved through theoretical analysis, historical data verification and real-time monitoring and adjustment;
[0145] The factors affecting the setting of the data identification time slice include:
[0146] S61, operating environment stability. When the operating environment of the PV power station is relatively stable, a longer time slice needs to be selected to reduce the complexity and computing cost of data processing. When environmental conditions change frequently or the PV power station is located in an area that is easily affected by the outside world, a shorter time slice needs to be selected to detect abnormal data more promptly.
[0147] S62, data acquisition frequency. The data acquisition frequency determines the accuracy and resolution of the time slice. A higher acquisition frequency can provide more detailed data, but it also increases the workload of processing and analysis. According to the actual needs of the photovoltaic power station and the performance of the equipment, it is necessary to balance the acquisition frequency and the efficiency of data processing;
[0148] S63, anomaly detection requirements, the detection requirements for abnormal data determine the setting of time slices. If you need to respond to abnormal situations faster and reduce the false alarm rate, you need shorter time slices and more frequent data processing. Conversely, if the response requirements for abnormal data are not high, choose a longer time slice to reduce the complexity of data processing;
[0149] S64. Data processing and computing resources. The size and frequency of time slices should take into account the available data processing and computing resources. Larger time slices require greater storage and computing power to process, while higher data collection frequencies require more data processing resources. When setting time slices, it is necessary to evaluate the hardware and software resources available to the PV power station operation and maintenance team and ensure that they can meet the data processing requirements.
[0150] S65. Historical data analysis needs: Analyze and compare historical data. Longer time slices can provide data over a longer time range, facilitating long-term trend analysis and prediction.
[0151] In this step, by setting appropriate time slices according to the stability of the operating environment and the requirements for anomaly detection, it is possible to ensure that the anomaly detection algorithm can keenly capture the real output anomaly, reduce the probability of missed reports and false alarms, and improve the accuracy of anomaly detection; by reasonably setting time slices, false alarms can be effectively suppressed to avoid misjudging normal output changes as abnormal data, thereby reducing unnecessary intervention and operations and reducing operation and maintenance costs; accurate anomaly detection can help operation and maintenance personnel respond to abnormal situations more quickly, reduce the time for troubleshooting and processing, improve operation and maintenance efficiency, and ensure the stable operation of photovoltaic power stations; according to the actual situation of data collection frequency and data processing resources, reasonably setting time slices can optimize resource utilization, avoid resource waste, and improve data processing efficiency and performance; by selecting an appropriate time slice size, it can meet the needs of analyzing and comparing historical data, support long-term trend analysis and prediction, and provide a reference basis for the optimization and improvement of photovoltaic power stations;
[0152] In summary, reasonable setting of data recognition time slices can improve the accuracy of anomaly detection while reducing false alarm rates, improving operation and maintenance efficiency, optimizing resource utilization, and supporting historical data analysis, thereby effectively improving the operation and maintenance effect and stability of distributed photovoltaic power stations.
[0153] S7, for each data identification time slice, calculating the similarity between the optimal output curve and the corrected output curve, and determining the actual output data corresponding to the data identification time slice whose similarity is lower than a preset threshold as abnormal data of the distributed photovoltaic power station;
[0154] Step S7 calculates the similarity between the optimal output curve and the corrected output curve on the data identification time slice and compares it with the preset threshold to achieve accurate identification of abnormal data of the distributed photovoltaic power station. This process involves the selection of the similarity calculation method, the setting of the preset threshold, and the abnormality judgment and processing. It is necessary to combine the characteristics of the photovoltaic power station and the operation and maintenance requirements, and ensure the accuracy and effectiveness of abnormality detection through theoretical analysis, historical data verification and real-time monitoring adjustment;
[0155] The method for determining abnormal data includes:
[0156] S71, calculating the similarity between the optimal output curve and the corrected output curve by using the Euclidean distance method;
[0157] S72, setting a preset threshold, which is a benchmark for determining whether the similarity is lower than a normal range;
[0158] S73, comparing the calculated similarity with a preset threshold;
[0159] S74, if the similarity is lower than a preset threshold, determining that the actual output data corresponding to the time slice is abnormal data;
[0160] The factors affecting the setting of the preset threshold include:
[0161] Statistical analysis of historical data: Through in-depth analysis of historical data, the similarity distribution between the optimal output curve and the corrected output curve under normal operating conditions is studied; appropriate statistics are selected to determine a threshold range that can cover most normal situations; this threshold can effectively distinguish normal fluctuations from abnormal situations, avoiding misjudging normal output changes as abnormalities;
[0162] Abnormal type and severity. Different abnormal types and severity correspond to different similarity thresholds. For short-term, slight output fluctuations, relatively loose thresholds can be set to allow a certain degree of deviation. For long-term, large-scale output drops or mutations, stricter thresholds should be set to ensure timely identification and handling of serious abnormalities.
[0163] The trade-off between false positives and false negatives. Threshold setting needs to seek a balance between false positives and false negatives. A higher threshold can reduce false positives but increase false negatives. On the contrary, a lower threshold can increase false positives but improve detection sensitivity. Determine the appropriate threshold level based on the operation and maintenance strategy, cost-benefit analysis, and the degree of acceptance of different false positives and false negatives.
[0164] The characteristics and operating environment of photovoltaic power stations, different types of distributed photovoltaic power stations, different geographical locations, climate conditions, equipment configurations and other factors will affect the shape and fluctuation of the output curve, and thus affect the selection of the similarity threshold. The threshold should be adjusted according to the specific characteristics and operating environment of the power station to adapt to its unique anomaly detection needs;
[0165] Operation and maintenance response capabilities and strategies, the operation and maintenance team's response speed, troubleshooting capabilities, resource allocation efficiency and other factors will affect the processing effect of abnormal data; threshold setting should match the operation and maintenance response capabilities to ensure that timely and effective response measures can be taken after the anomaly is identified; in addition, the operation and maintenance strategy will also affect the selection of thresholds.
[0166] In this step, by calculating the similarity between the optimal output curve and the corrected output curve and comparing it with the preset threshold, the abnormal data of the distributed photovoltaic power station can be accurately identified; thus, normal fluctuations and abnormal situations can be effectively distinguished, and normal output changes can be avoided from being misjudged as abnormalities, thereby improving the accuracy of abnormal identification; once the abnormal data is identified, the operation and maintenance team can quickly take corresponding measures to mitigate the adverse effects of the abnormality on the operation of the photovoltaic power station; by timely processing the abnormal data, the stability and efficiency of the photovoltaic power station can be guaranteed to the greatest extent, and potential losses can be reduced; considering the characteristics and operation and maintenance requirements of the photovoltaic power station, the setting of the preset threshold is affected by multiple factors; by adjusting the threshold according to the specific situation, targeted abnormal detection can be achieved, and the applicability and effectiveness of abnormal detection can be improved; this method can not only accurately identify abnormal data, but also adjust the threshold according to the response capability and strategy of the operation and maintenance team to match the processing efficiency of the operation and maintenance team, thereby improving the overall efficiency and effect of operation and maintenance; by reducing false positives and false negatives, and adjusting the threshold according to specific situations, the workload of the operation and maintenance team can be reduced, so that it can focus more on solving key problems;
[0167] In summary, the beneficial effects of step S7 include accurate anomaly identification, rapid response and processing, customized anomaly detection, and improved operation and maintenance efficiency, which together promote the stable operation and efficient management of distributed photovoltaic power stations;
[0168] Specifically, the method for calculating the similarity between the optimal output curve and the corrected output curve includes:
[0169] Data alignment: if the sampling frequency of the optimal output curve is lower than the sampling frequency of the correction output curve, an interpolation technique is used to increase the data points of the optimal output curve to match the sampling frequency of the correction output curve; the interpolation technique includes linear interpolation, polynomial interpolation and spline interpolation; if the sampling frequency of the optimal output curve is higher than the sampling frequency of the correction output curve, the optimal output curve is resampled to reduce the number of data points to match the sampling frequency of the correction output curve;
[0170] Select similarity measurement method: Considering the characteristics of the output curve of the photovoltaic power station, dynamic time warping is selected as the similarity measurement method. Dynamic time warping can handle the misalignment problem of time series on the time axis and can effectively handle the fluctuation and change of the output curve of the photovoltaic power station;
[0171] Calculate similarity: Calculate the distance between all corresponding points on the two curves to form a distance matrix; use a dynamic programming algorithm to determine the best alignment path between the two curves; the dynamic time warping algorithm will output a similarity score, which represents the similarity between the optimal output curve and the corrected output curve; the lower the score, the more similar the two curves are; the higher the score, the greater the difference between the two curves.
[0172] The distance matrix is a two-dimensional array in which each element represents the distance between a point on the optimal output curve and a point on the corrected output curve; this distance can be Euclidean distance, Manhattan distance or other metric distance, depending on the specific similarity metric selected; the distance matrix is essentially a comprehensive summary of the distances between two time series at all possible pairing positions;
[0173] The dynamic time warping algorithm uses this distance matrix to find a path from one corner of the matrix to the other corner through dynamic programming. The cumulative distance (or cost) of this path is the smallest. In the path search process, the path is allowed to "bend" in the matrix, that is, it is not strictly a straight line, but can move back and forth within a certain range. This can flexibly deal with the offset or expansion of the time series on the time axis, so that even sequences of different lengths or speeds can be effectively compared.
[0174] Finally, the dynamic time warping algorithm calculates the total distance of the optimal path found (i.e., the minimum cumulative distance) as the similarity score between the two curves; in this framework, the lower the score, the more similar the two curves are in shape, that is, the better the match between the optimal output curve and the corrected output curve. Otherwise, it indicates a large difference, which may be caused by an abnormal situation.
[0175] Embodiment 2: Figure 3 As shown, the distributed photovoltaic abnormal data detection system of the present invention specifically includes the following modules:
[0176] Data acquisition module, used to obtain physical status information and meteorological data information of distributed photovoltaic power stations in real time;
[0177] The output prediction module is used to input the physical state information and meteorological data information into the pre-built distributed photovoltaic power station output prediction model to obtain the optimal output curve of the distributed photovoltaic power station;
[0178] The timing synchronous sampling module is used to collect the actual output data of the distributed photovoltaic power station and the dynamic environmental data around the power station according to the preset collection time point; the actual output data and the dynamic environmental data around the power station correspond one to one in the time dimension; the dynamic environmental data around the power station includes cloud coverage, dust accumulation and equipment temperature;
[0179] The output correction module is used to input the actual output data at each collection time point and the dynamic environment data around the power station into the pre-built distributed photovoltaic power station output correction model in sequence, and obtain the corrected output data of the distributed photovoltaic power station at each collection time point;
[0180] A trend analysis module is used to perform trend analysis on the corrected output data to obtain a corrected output curve;
[0181] The abnormal data detection module is used to set the data identification time slice according to the sensitive requirements for abnormal data detection of distributed photovoltaic power stations, calculate the similarity between the optimal output curve and the corrected output curve for each data identification time slice, and determine the actual output data corresponding to the data identification time slice whose similarity is lower than a preset threshold as abnormal data of the distributed photovoltaic power station.
[0182] The system acquires the physical status and meteorological data information of distributed photovoltaic power stations in real time through the data acquisition module, and uses the output prediction module combined with the pre-built output prediction model to accurately simulate and predict the ideal output curve of photovoltaic power stations, thereby realizing refined management and evaluation of power station output;
[0183] The system not only focuses on actual output data, but also collects surrounding dynamic environmental data including cloud cover, dust accumulation and equipment temperature, which can more comprehensively reflect the operating status of the photovoltaic power station and improve the accuracy of anomaly detection;
[0184] The output correction module, combined with the pre-built correction model, can dynamically calibrate the actual output data to reduce the impact of environmental changes; the trend analysis module further helps reveal hidden problems and potential failure modes by performing trend analysis on the corrected output data;
[0185] The abnormal data detection module adopts the method of data identification time slicing. By comparing the similarity between the optimal output curve and the corrected output curve, it can more precisely and intelligently identify the truly abnormal output changes, avoiding the false alarms and missed alarms that may be caused by simple threshold judgment, and improving the sensitivity and reliability of abnormal detection;
[0186] By timely and accurately identifying and locating abnormal data, unnecessary manual intervention and maintenance costs are reduced. At the same time, it can also provide early warning of potential operational risks, helping to maintain the stable and efficient operation of distributed photovoltaic power stations, thereby improving the economic benefits and sustainable development capabilities of the power stations as a whole.
[0187] The various variations and specific embodiments of the distributed photovoltaic abnormal data detection method in the aforementioned embodiment 1 are also applicable to the distributed photovoltaic abnormal data detection system of this embodiment. Through the aforementioned detailed description of the distributed photovoltaic abnormal data detection method, those skilled in the art can clearly know the implementation method of the distributed photovoltaic abnormal data detection system in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here.
[0188] In addition, the present application also provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of the above-mentioned method for controlling output data is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0189] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A distributed photovoltaic abnormal data detection method, characterized in that: The method comprises: Obtain physical status information and meteorological data information of distributed photovoltaic power stations; Input the physical state information and meteorological data information into the pre-built distributed photovoltaic power station output prediction model to obtain the optimal output curve of the distributed photovoltaic power station; According to the preset collection time point, the actual output data of the distributed photovoltaic power station and the dynamic environment data around the power station are collected; the actual output data and the dynamic environment data around the power station correspond one to one in the time dimension; The actual output data at each collection time point and the dynamic environment data around the power station are sequentially input into the pre-built distributed photovoltaic power station output correction model to obtain the corrected output data of the distributed photovoltaic power station at each collection time point; Perform trend analysis on the corrected output data to obtain a corrected output curve; According to the sensitive requirements for abnormal data detection of distributed photovoltaic power stations, data identification time slices are set; For each data identification time slice, the similarity between the optimal output curve and the corrected output curve is calculated, and the actual output data corresponding to the data identification time slice with a similarity lower than a preset threshold is determined as abnormal data of the distributed photovoltaic power station; The calculation formula of the distributed photovoltaic power station output prediction model is: ; in, represents the predicted output of distributed photovoltaic power stations, GHI represents the global horizontal surface total radiation intensity, K tropo represents the atmospheric transmittance correction factor, taking into account the influence of atmospheric transparency; K aero represents the atmospheric quality correction factor, taking into account the effects of air density and altitude; K temp Represents the temperature correction factor, taking into account the impact of component temperature on efficiency; η cell,i FF represents the photovoltaic cell conversion efficiency of the i-th photovoltaic module in a distributed photovoltaic power station under a given temperature and radiation intensity; i represents the filling factor of the i-th photovoltaic module; V oc,i and I sc,i Respectively represent the open circuit voltage and short circuit current of the i-th photovoltaic module; R s,i and R sh,i They represent the series resistance and parallel resistance of the i-th photovoltaic module respectively; n represents the total number of photovoltaic modules in the photovoltaic power station; The output correction model of distributed photovoltaic power station includes the following structure: Input layer: The input layer receives the actual output data at each collection time point and the dynamic environmental data around the power station, and integrates the historical operation data of the power station, equipment maintenance records and weather forecast data; performs preliminary integration of the actual output data at each collection time point and the dynamic environmental data around the power station, including data format unification and data cleaning; integrates the integrated data with the historical operation data, equipment maintenance records and weather forecast data of the power station, and performs data standardization to generate the initial input of the distributed photovoltaic power station output correction model; Gradient boosted tree ensemble: The initial input generated by the input layer is used to construct each decision tree in the gradient boosted tree ensemble, where each decision tree is a weak prediction model that attempts to predict output data. Through iteration, each new decision tree is trained based on the residual of the previous decision tree to reduce the prediction error and gradually approach the actual output curve. Tree nodes: In each round of decision tree iteration, each internal node of the new decision tree divides the data set according to the preset splitting criteria, so that the data in each data subset is homogeneous; through node splitting, the model can be refined layer by layer to adapt to the complexity of the output of photovoltaic power stations affected by multiple factors until the preset stop condition is met; Leaf node: The leaf node of each decision tree gives the predicted value of the PV power station, records the confidence and uncertainty measurement of the predicted value, and smoothes the predicted value of the leaf node; Output layer: The prediction values of all individual decision trees are combined in the output layer through weighted summation to form the final corrected output data. The weight of the decision tree reflects the contribution of each tree to the total prediction, which is determined by optimization in the gradient boosting process. The corrected output data of the distributed photovoltaic power station at each collection time point is output. The physical status information includes the status of photovoltaic modules, the status of inverters and auxiliary equipment, and the status of brackets and grounding systems; The meteorological data information includes solar radiation intensity data, temperature, humidity, wind speed and direction data, cloud cover data, aerosol optical thickness and precipitation information; The dynamic environmental data around the power station includes cloud cover, dust accumulation and equipment temperature.
2. The distributed photovoltaic abnormal data detection method according to claim 1, characterized in that: The method for obtaining the corrected output curve includes: The random fluctuations and noise in the data are eliminated by moving average and exponential smoothing techniques, and missing data points are filled by interpolation. Identify and extract seasonal components in the corrected output data and separate long-term trend components in the data; Use statistical models to fit the trend of output data, and select the optimal model through cross-validation and AIC criterion method; By comparing the actual corrected output data with the trend value obtained by fitting, the data points that deviate from the trend by more than a preset value are identified, and the data points that deviate from the trend by more than the preset value indicate an abnormal situation; Based on the results of the trend analysis, the final corrected output curve is generated, and the corrected output curve is used to represent the output change trend of the distributed photovoltaic power station at different time points.
3. The distributed photovoltaic abnormal data detection method according to claim 1, characterized in that: The abnormal data determination method comprises: Calculate the similarity between the optimal output curve and the corrected output curve; Setting a preset threshold; factors affecting the setting of the preset threshold include historical data statistical analysis, abnormality type and severity, false positive and false negative trade-offs, photovoltaic power station characteristics and operating environment, and operation and maintenance response capabilities and strategies; Compare the calculated similarity with a preset threshold; If the similarity is lower than a preset threshold, the actual output data corresponding to the time slice is determined to be abnormal data.
4. The distributed photovoltaic abnormal data detection method according to claim 3, characterized in that: The method for calculating the similarity between the optimal output curve and the corrected output curve includes: Using interpolation technology to increase the data points of the optimal output curve so that it matches the sampling frequency of the correction output curve; the interpolation technology includes linear interpolation, polynomial interpolation and spline interpolation; Align the optimal output curve and the corrected output curve after adding data points on the time axis; Calculate the distances between all corresponding points on the aligned optimal output curve and the corrected output curve to form a distance matrix; Dynamic time warping is selected as the similarity measurement method. Based on the distance matrix, the dynamic time warping algorithm outputs a similarity score. The lower the score, the more similar the optimal output curve and the corrected output curve are; the higher the score, the greater the difference between the optimal output curve and the corrected output curve.
5. A distributed photovoltaic abnormal data detection system, characterized in that: The system comprises: Data acquisition module, used to obtain physical status information and meteorological data information of distributed photovoltaic power stations in real time; The output prediction module is used to input the physical state information and meteorological data information into the pre-built distributed photovoltaic power station output prediction model to obtain the optimal output curve of the distributed photovoltaic power station; The timing synchronous sampling module is used to collect the actual output data of the distributed photovoltaic power station and the dynamic environmental data around the power station according to the preset collection time point; the actual output data and the dynamic environmental data around the power station correspond one to one in the time dimension; the dynamic environmental data around the power station includes cloud coverage, dust accumulation and equipment temperature; The output correction module is used to input the actual output data at each collection time point and the dynamic environment data around the power station into the pre-built distributed photovoltaic power station output correction model in sequence, and obtain the corrected output data of the distributed photovoltaic power station at each collection time point; A trend analysis module is used to perform trend analysis on the corrected output data to obtain a corrected output curve; The abnormal data detection module is used to set the data identification time slice according to the sensitive requirements for abnormal data detection of the distributed photovoltaic power station, calculate the similarity between the optimal output curve and the corrected output curve for each data identification time slice, and determine the actual output data corresponding to the data identification time slice whose similarity is lower than a preset threshold as abnormal data of the distributed photovoltaic power station; The calculation formula of the distributed photovoltaic power station output prediction model is: ; Among them, represents the predicted output of distributed photovoltaic power stations, GHI represents the global horizontal surface total radiation intensity, K tropo represents the atmospheric transmittance correction factor, taking into account the influence of atmospheric transparency; K aero represents the atmospheric quality correction factor, taking into account the effects of air density and altitude; K temp Represents the temperature correction factor, taking into account the impact of component temperature on efficiency; η cell,i FF represents the photovoltaic cell conversion efficiency of the i-th photovoltaic module in a distributed photovoltaic power station under a given temperature and radiation intensity; i represents the filling factor of the i-th photovoltaic module; V oc,i and I sc,i Respectively represent the open circuit voltage and short circuit current of the i-th photovoltaic module; R s,i and R sh,i They represent the series resistance and parallel resistance of the i-th photovoltaic module respectively; n represents the total number of photovoltaic modules in the photovoltaic power station; The output correction model of distributed photovoltaic power station includes the following structure: Input layer: The input layer receives the actual output data at each collection time point and the dynamic environmental data around the power station, and integrates the historical operation data of the power station, equipment maintenance records and weather forecast data; performs preliminary integration of the actual output data at each collection time point and the dynamic environmental data around the power station, including data format unification and data cleaning; integrates the integrated data with the historical operation data, equipment maintenance records and weather forecast data of the power station, and performs data standardization to generate the initial input of the distributed photovoltaic power station output correction model; Gradient boosted tree ensemble: The initial input generated by the input layer is used to construct each decision tree in the gradient boosted tree ensemble, where each decision tree is a weak prediction model that attempts to predict output data. Through iteration, each new decision tree is trained based on the residual of the previous decision tree to reduce the prediction error and gradually approach the actual output curve. Tree nodes: In each round of decision tree iteration, each internal node of the new decision tree divides the data set according to the preset splitting criteria, so that the data in each data subset is homogeneous; through node splitting, the model can be refined layer by layer to adapt to the complexity of the output of photovoltaic power stations affected by multiple factors until the preset stop condition is met; Leaf node: The leaf node of each decision tree gives the predicted value of the PV power station, records the confidence and uncertainty measurement of the predicted value, and smoothes the predicted value of the leaf node; Output layer: The prediction values of all individual decision trees are combined in the output layer through weighted summation to form the final corrected output data. The weight of the decision tree reflects the contribution of each tree to the total prediction, which is determined by optimization in the gradient boosting process. The corrected output data of the distributed photovoltaic power station at each collection time point is output. The physical status information includes the status of photovoltaic modules, the status of inverters and auxiliary equipment, and the status of brackets and grounding systems; The meteorological data information includes solar radiation intensity data, temperature, humidity, wind speed and direction data, cloud cover data, aerosol optical thickness and precipitation information; The dynamic environmental data around the power station includes cloud cover, dust accumulation and equipment temperature.
6. A distributed photovoltaic abnormal data detection electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, characterized in that: When the computer program is executed by the processor, the steps in the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Distributed photovoltaic power station fault monitoring method and device based on edge computing
CN110391783A
Distributed photovoltaic power station output prediction method and system, computer and storage medium
CN116205377A
Distributed photovoltaic power station operation fault diagnosis method
CN116317937A
Distributed photovoltaic power generation abnormity monitoring method, system and equipment and storage medium
CN117520986A
