A photovoltaic system reliability analysis method based on output prediction

By establishing a photovoltaic output model and component reliability model, and introducing an adaptive sampling Monte Carlo algorithm, the problem of the impact of timing characteristics and low accuracy in photovoltaic system reliability analysis is solved, and a more accurate and efficient photovoltaic system reliability is achieved. sexual assessment.

CN118367553BActive Publication Date: 2024-09-20STATE GRID SHANXI MARKETING SERVICE CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410796821.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-20
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

Existing photovoltaic system reliability analysis methods cannot effectively reflect the impact of timing characteristics on photovoltaic output, and the single Monte Carlo method has problems with low accuracy.

Method used

A method based on output prediction is used, combined with the long short-term memory network (LSTM) to establish a photovoltaic output model, and an adaptive sampling Monte Carlo algorithm is introduced, combined with the photovoltaic module reliability model, to conduct system reliability analysis.

Benefits of technology

It improves the accuracy and efficiency of photovoltaic system reliability analysis, can more comprehensively reflect photovoltaic output reliability, and obtains more accurate calculation results with fewer samples, significantly improving analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118367553B
    Figure CN118367553B
Patent Text Reader

Abstract

The present invention discloses a method for analyzing the reliability of a photovoltaic system based on output prediction, and relates to the technical field of power equipment control. Specifically, the accuracy of the reliability analysis of the photovoltaic system is improved from four aspects: photovoltaic output characteristics and prediction, output modeling of different weather types, component reliability modeling, and the introduction of an adaptive sampling Monte Carlo algorithm. First, the photovoltaic output is predicted using photovoltaic meteorological data and output data, and a photovoltaic output model is established; then, the failure rate of the photovoltaic components is calculated based on the photovoltaic component parameters, and the reliability of the photovoltaic components is modeled; finally, the above two models are combined, and the photovoltaic output reliability is analyzed using an adaptive sampling Monte Carlo algorithm. The present invention can comprehensively evaluate the output power of a photovoltaic power generation system and more comprehensively reflect the reliability of photovoltaic output; the adaptive sampling Monte Carlo algorithm is faster than the traditional Monte Carlo algorithm, and effectively improves the efficiency of reliability analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power equipment control, and in particular to a photovoltaic system reliability analysis method based on output prediction. Background Art

[0002] In recent years, my country's photovoltaic power generation installed capacity has increased significantly. With the rapid development of photovoltaic power generation, its randomness and volatility have had an increasingly significant impact on the power grid. In order to effectively evaluate the impact of photovoltaic power generation systems on the power grid, it is necessary to establish a photovoltaic output reliability evaluation model.

[0003] Experts and scholars at home and abroad have conducted some research on the reliability of photovoltaic power generation systems. The research methods are mainly divided into analytical method and simulation method. The analytical method uses a multi-state system to evaluate the system output power; but the analytical method cannot well reflect the impact of timing characteristics on photovoltaic output. At present, simulation methods represented by the Monte Carlo method are widely used in photovoltaic system reliability assessment. However, the accuracy cannot be guaranteed when using a single Monte Carlo method for prediction. Therefore, it is necessary to improve the existing photovoltaic system reliability analysis method. Summary of the invention

[0004] In order to solve the problem that the analytical method cannot well reflect the influence of timing characteristics on photovoltaic output in the reliability analysis of the new power system, and the single Monte Carlo method has the problem of low accuracy, the present invention provides a photovoltaic system reliability analysis method based on output prediction.

[0005] The present invention is implemented by the following technical solution: A photovoltaic system reliability analysis method based on output prediction includes the following steps:

[0006] S1: Analyze the output characteristics of the photovoltaic power generation system and make output predictions, and establish a photovoltaic output model; the details are as follows:

[0007] S1-1: Analysis of the output characteristics of photovoltaic power generation systems: The output of photovoltaic power generation systems is affected by environmental factors, including light intensity. Light intensity plays a decisive role in photovoltaic output. With the change of solar light intensity, photovoltaic output will increase first and then decrease, reaching a peak at noon. On sunny days, photovoltaic output is stable, and the curve is similar to a parabola. The maximum output at noon can reach more than 60% of the system installed capacity. Under other weather conditions, photovoltaic output will decrease to varying degrees. The photovoltaic output in cloudy weather is slightly lower than that in sunny days, while the photovoltaic output on cloudy days and rainy and snowy days will be significantly reduced, accompanied by large fluctuations. The photovoltaic output is significantly different under different weather types. It can be seen that the reliability of photovoltaic output in different weather types is also significantly different. In the future, the photovoltaic output under four different weather types will be predicted and the corresponding output reliability analysis will be conducted. The four different weather types are sunny, cloudy, overcast, and rainy and snowy. By consulting the local weather conditions of the photovoltaic station, the number of days and proportions of different weather types in a year are obtained to form a data set under the four weather types. Among them, the solar radiation received by the photovoltaic panels in sandstorm weather is similar to that in cloudy days and is merged into the cloudy weather type.

[0008] S1-2: Forecast the output of photovoltaic power generation systems under four different weather types and establish a photovoltaic output model: Photovoltaic output prediction involves time series data, which affects the photovoltaic output results within a certain time range. Therefore, the long short-term memory network LSTM (long-short term memory) that is sensitive to time series data is used to predict the output. It is a time recursive neural network with memory units and loop units inside. The internal loop units are as follows: Figure 1 As shown, it can not only be used to capture and retain long-term dependencies in the sequence, but also control the state of the memory cell through the gate mechanism, thereby adding or deleting information in it, so that past information can be selectively remembered or forgotten to obtain an ideal prediction effect. The information transfer of the internal recurrent unit is represented as follows:

[0009] ;

[0010] Where: and tanh are the bipolar sigmoid activation function and the hyperbolic tangent activation function respectively; Represents the output value of the forget gate of the i-th LSTM unit at the current moment, Represents the value of the input gate of the i-th LSTM unit at the current moment, Represents the value of the output gate of the i-th LSTM unit; represents the input vector at the current moment, Represents all the outputs of an LSTM cell at the previous moment; They are the input bias, input weight and recurrent weight of the LSTM cell forget gate; They are the input bias, input weight and loop weight of the input gate respectively; They are the input bias, input weight and loop weight of the output gate respectively; Indicates the current value of the state unit. Represents the output of the forget gate, which is also the weight of the state unit self-loop; They represent the input bias, input weight and loop weight of the candidate memory cell respectively; j represents the number of the previous LSTM unit of the i-th LSTM unit.

[0011] S2: Establish a module reliability model based on PV module parameters and calculate module reliability; the details are as follows:

[0012] Failure rate of photovoltaic modules The curve that changes with time approximates a bathtub and is called a bathtub curve, such as Figure 2 As shown in the figure, it can be seen that the failure rate of photovoltaic modules can be roughly divided into three stages: early failure rate, accidental failure rate and loss failure rate. In the photovoltaic output reliability analysis, the failure rate of photovoltaic modules is generally considered to be a fixed value, that is, the failure rate of photovoltaic modules is in the accidental failure rate stage; the photovoltaic power generation system consists of a photovoltaic array and a DC / AC inverter. The photovoltaic array is composed of photovoltaic panels connected in series and parallel, and then connected to the AC power grid through a DC / AC inverter. The simplified structure is as follows Figure 3 As shown in the figure, a total of m photovoltaic arrays-inverters are connected to the grid. According to the structure of the photovoltaic power generation system, when any component of the photovoltaic array or inverter fails, the power input to the AC grid will decrease. In order to calculate the impact of the photovoltaic component failure rate on the entire system, the failure rates of a single photovoltaic array and inverter are and The fault repair time is and , then the failure probability and They are:

[0013] ;

[0014] Failure rate of a single PV array-inverter group , Fault repair time and failure probability They are:

[0015] ;

[0016] S2-1: Partial system failure:

[0017] After m PV array-inverter groups are connected in parallel to the system, if i PV arrays and j inverters fail at the same time, the failure rate of the entire system will be , fault repair time t and fault probability p are:

[0018] ;

[0019] In the formula, , , and denote the failure rates of a photovoltaic array and b inverters respectively, and They represent the failure probability of a photovoltaic array and b inverters respectively, and are calculated according to the following formula:

[0020] ;

[0021] ;

[0022] In the formula, , , and They represent the fault repair time of a PV array and b inverters respectively.

[0023] S2-2: Total system failure:

[0024] When the PV array and inverter fail completely, the failure rate of the entire system , fault repair time t and fault probability p are directly calculated according to the following formulas:

[0025] ;

[0026] S3: Construct a six-state model of photovoltaic power generation system and propose photovoltaic output reliability evaluation indicators; the details are as follows:

[0027] S3-1: Since both the decline in PV output and the failure of PV modules will lead to a decrease in the power of PV input to the AC grid, the two situations of PV output decline and PV module failure are divided into three states: full operation, partial reduction operation and shutdown according to the availability status of the PV power generation system. The two situations are combined with the three states to obtain a six-state reliability model for the PV power generation system. The six states are divided as follows: Figure 4 As shown, the definitions of the six states are as follows:

[0028] ① Full operation: The power generation of the photovoltaic system changes continuously with environmental factors. The output power of the photovoltaic system reaching 60% or more of the total installed capacity is defined as full operation;

[0029] ② Output reduction and reduced operation: Affected by environmental factors including light intensity, the photovoltaic output is less than 60% of the total installed capacity;

[0030] ③ Module failure reduced operation: the state where the system output power decreases due to the failure of the photovoltaic module;

[0031] ④ Output reduction and reduced-rate operation due to component failure: The output of the photovoltaic system decreases due to the photovoltaic output being less than 60% of the total installed capacity and some photovoltaic components also failing;

[0032] ⑤ Module failure shutdown: The photovoltaic system is unable to output power due to the failure of all photovoltaic modules or planned maintenance;

[0033] ⑥ Nighttime shutdown: Due to the lack of light intensity at night, the photovoltaic output is 0 and the photovoltaic power is shut down;

[0034] S3-2: According to the established reliability model, the photovoltaic output reliability index is divided into time index, output power index and overall system operation index. The reliability index of the photovoltaic power generation system is defined from three aspects to comprehensively reflect the system characteristics;

[0035] S3-2-1: Time Indicator:

[0036] ① Full running time : The time the system is in full operation;

[0037] ② Output reduction and reduced operating time : The time during which the system operates at a reduced capacity only due to a decrease in output;

[0038] ③ Reduced operating time due to component failure : The time during which the system operates at a reduced rating only due to component failure;

[0039] ④ Output decreases and component failure reduces the running time : The time during which the system operates at a reduced capacity due to both output reduction and component failure;

[0040] ⑤ Component failure downtime : The time the system is down due to the failure of all components;

[0041] ⑥Nighttime shutdown time : The system is shut down due to the PV output being 0 at night;

[0042] ⑦Running time : The total time the system is in operation, that is:

[0043] ;

[0044] ⑧Stop time : The total time the system is in shutdown state, that is:

[0045] ;

[0046] S3-2-2: Output power index:

[0047] ① Full operating output power : The output power of the system under full operation;

[0048] ② Output decreases and the operating output power is reduced : The output power of the system is reduced only due to the decrease of output;

[0049] ③ Component failure reduces the operating output power : The system output power when operating at a reduced rating due to component failure only;

[0050] ④ Output drops and component failure reduces output power : The output power of the system under derating operation due to both output reduction and component failure;

[0051] S3-2-3: Overall system operation indicators:

[0052] ① Failure rate : The number of system failures within a certain period of time;

[0053] ② Fault repair time t: the time required to repair a system fault;

[0054] ③ Design availability : The probability of the system being in operation is calculated based on the overall system failure rate and repair time, that is:

[0055] ;

[0056] ④Actual availability : The probability of the system being in operation is evaluated using the time indicator, that is:

[0057] ;

[0058] In the formula, is the sum of the time the system is in all states, that is .

[0059] S4: Establish a Monte Carlo algorithm that introduces adaptive sampling to perform output reliability analysis on photovoltaic power stations. The Monte Carlo (MC) method is a numerical calculation method based on probability and statistical theory and methods. Its core idea is to estimate or simulate the characteristics, statistics, probability distribution, etc. of the problem through a large number of random sampling. The advantage of the Monte Carlo method is that it can handle complex problems and calculations in high-dimensional space. It is more flexible when conducting reliability assessments of large systems. It does not require solving complex equations or functions, but uses random sampling and statistical analysis to approximate solutions to problems. However, Monte Carlo requires a large amount of random sampling and computing resources during the calculation process, and the running time is usually long and the calculation efficiency is low. Therefore, adaptive sampling is introduced into the Monte Carlo algorithm, and the number and distribution of samples are adaptively adjusted according to the variance of the calculation results. The specific steps are:

[0060] S4-1: introducing the photovoltaic output model of step S1 and the component reliability model of S2;

[0061] S4-2: Initialize the number and distribution of samples under different weather types;

[0062] S4-3: Generate random samples under different weather types;

[0063] S4-4: Calculate the PV output reliability index based on the random samples generated under different weather types, and calculate the variance of the reliability index;

[0064] S4-5: Determine whether the variance of the reliability index under different weather types meets the convergence condition; if the condition is met, output the reliability index; otherwise, adaptively adjust the sampling quantity and distribution, repeat the above steps S4-3 to S4-4 until the convergence condition is met, and output the reliability index;

[0065] S4-6: Calculate the reliability index under different weather types and the proportion of weather types respectively to obtain the reliability index of the photovoltaic system within one year.

[0066] The present invention designs a photovoltaic system reliability analysis method based on output prediction, which improves the accuracy of photovoltaic system reliability analysis from four aspects: photovoltaic output characteristics and prediction, output modeling of different weather types, component reliability modeling, and the introduction of Monte Carlo algorithm with adaptive sampling. The evaluation process is: first, photovoltaic output is predicted using photovoltaic meteorological data and output data to establish a photovoltaic output model; then, according to photovoltaic component parameters, the photovoltaic component failure rate is calculated and the photovoltaic component reliability is modeled; finally, the above two models are combined and the photovoltaic output reliability is analyzed using the Monte Carlo algorithm with adaptive sampling.

[0067] The present invention provides a photovoltaic system reliability analysis method based on output prediction, which has the following beneficial effects compared with the prior art: ① The present invention combines photovoltaic output with component failure rate, performs output reliability analysis according to weather type, can comprehensively evaluate the output power of photovoltaic power generation system, and more comprehensively reflect the photovoltaic output reliability; ② The use of Monte Carlo algorithm with adaptive sampling can obtain more accurate calculation results with fewer sampling times, and its convergence speed is faster than that of traditional Monte Carlo algorithm, which effectively improves the efficiency of reliability analysis; ③ The present invention analyzes the reliability index of photovoltaic power generation system from three aspects: time index, output power index and overall system operation index, and the obtained evaluation result is comprehensive and objective, which can comprehensively reflect the operation characteristics of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 This is a structural diagram of the LSTM cycle unit of the present invention.

[0069] Figure 2 This is the failure rate curve of the photovoltaic module of the present invention.

[0070] Figure 3 This is a structural diagram of the photovoltaic power generation system of the present invention.

[0071] Figure 4 This is a reliability state classification diagram of the photovoltaic power generation system of the present invention.

[0072] Figure 5 This is a flow chart of the Monte Carlo algorithm that introduces adaptive sampling according to the present invention.

[0073] Figure 6 This is a flow chart of photovoltaic output reliability assessment based on the Monte Carlo method of the present invention. DETAILED DESCRIPTION

[0074] The present invention is further described below in conjunction with specific embodiments.

[0075] A photovoltaic system reliability analysis method based on output prediction, the process is as follows Figure 6 As shown, the following steps are included:

[0076] S1: Analyze the output characteristics of the photovoltaic power generation system and make output predictions, and establish a photovoltaic output model; the details are as follows:

[0077] S1-1: Analyze the output characteristics of the photovoltaic power generation system: The output of the photovoltaic power generation system is affected by environmental factors, including light intensity. Light intensity plays a decisive role in photovoltaic output. As the intensity of sunlight changes, photovoltaic output will increase first and then decrease, reaching a peak at noon. Subsequently, the photovoltaic output under four different weather types will be predicted and the corresponding output reliability analysis will be conducted. The four different weather types are sunny, cloudy, overcast, and rainy and snowy days. By consulting the local weather conditions of the photovoltaic station, the number of days and proportions of different weather types in a year are obtained to form a data set under the four weather types; among them, sandstorm weather is merged into the overcast weather type;

[0078] S1-2: Forecast the output of photovoltaic power generation systems under four different weather types and establish a photovoltaic output model: Photovoltaic output prediction involves time series data, which affects the photovoltaic output results within a certain time range. Therefore, the long short-term memory network LSTM, which is sensitive to time series data, is used to predict the output. It is a time recursive neural network with memory units and loop units inside. The internal loop unit structure is as follows: Figure 1 As shown, information transmission is expressed as follows:

[0079] ;

[0080] Where: and tanh are the bipolar sigmoid activation function and the hyperbolic tangent activation function respectively; Represents the output value of the forget gate of the i-th LSTM unit at the current moment, Represents the value of the input gate of the i-th LSTM unit at the current moment, Represents the value of the output gate of the i-th LSTM unit; represents the input vector at the current moment, Represents all the outputs of an LSTM cell at the previous moment; They are the input bias, input weight and recurrent weight of the LSTM cell forget gate; They are the input bias, input weight and loop weight of the input gate respectively; They are the input bias, input weight and loop weight of the output gate respectively; Indicates the current value of the state unit. Represents the output of the forget gate, which is also the weight of the state unit self-loop; They represent the input bias, input weight and loop weight of the candidate memory cell respectively; j represents the number of the previous LSTM unit of the i-th LSTM unit.

[0081] S2: Establish a module reliability model based on PV module parameters and calculate module reliability; the details are as follows:

[0082] Failure rate of photovoltaic modules The curve that changes with time approximates a bathtub and is called a bathtub curve, such as Figure 2 As shown in the figure, it can be seen that the failure rate of photovoltaic modules can be roughly divided into three stages: early failure rate, accidental failure rate and loss failure rate. In the photovoltaic output reliability analysis, the failure rate of photovoltaic modules is generally considered to be a fixed value, that is, the failure rate of photovoltaic modules is in the accidental failure rate stage; the photovoltaic power generation system consists of a photovoltaic array and a DC / AC inverter. The photovoltaic array is composed of photovoltaic panels connected in series and parallel, and then connected to the AC power grid through a DC / AC inverter. The simplified structure is as follows Figure 3 As shown in the figure, a total of m photovoltaic arrays-inverters are connected to the grid. According to the structure of the photovoltaic power generation system, when any component of the photovoltaic array or inverter fails, the power input to the AC grid will decrease. In order to calculate the impact of the photovoltaic component failure rate on the entire system, the failure rates of a single photovoltaic array and inverter are and The fault repair time is and , then the failure probability and They are:

[0083] ;

[0084] Failure rate of a single PV array-inverter group , Fault repair time and failure probability They are:

[0085] ;

[0086] S2-1: Partial system failure:

[0087] After m PV array-inverter groups are connected in parallel to the system, if i PV arrays and j inverters fail at the same time, the failure rate of the entire system will be , fault repair time t and fault probability p are:

[0088] ;

[0089] In the formula, , , and denote the failure rates of a photovoltaic array and b inverters respectively, and They represent the failure probability of a photovoltaic array and b inverters respectively, and are calculated according to the following formula:

[0090] ;

[0091] ;

[0092] In the formula, , , and They represent the fault repair time of a PV array and b inverters respectively.

[0093] S2-2: Total system failure:

[0094] When the PV array and inverter fail completely, the failure rate of the entire system , fault repair time t and fault probability p are directly calculated according to the following formulas:

[0095] ;

[0096] S3: Construct a six-state model of photovoltaic power generation system and propose photovoltaic output reliability evaluation indicators; the details are as follows:

[0097] S3-1: Since both the decline in PV output and the failure of PV modules will lead to a decrease in the power of PV input to the AC grid, the two situations of PV output decline and PV module failure are divided into three states: full operation, partial reduction operation and shutdown according to the availability status of the PV power generation system. The two situations are combined with the three states to obtain a six-state reliability model for the PV power generation system. The six states are divided as follows: Figure 4 As shown, the definitions of the six states and weather types are as follows:

[0098] ① Full operation: The power generation of the photovoltaic system changes continuously with environmental factors. The output power of the photovoltaic system reaching 60% or more of the total installed capacity is defined as full operation;

[0099] ② Output reduction and reduced operation: Affected by environmental factors including light intensity, the photovoltaic output is less than 60% of the total installed capacity;

[0100] ③ Module failure reduced operation: the state where the system output power decreases due to the failure of the photovoltaic module;

[0101] ④ Output reduction and reduced-rate operation due to component failure: The output of the photovoltaic system decreases due to the photovoltaic output being less than 60% of the total installed capacity and some photovoltaic components also failing;

[0102] ⑤ Module failure shutdown: The photovoltaic system is unable to output power due to the failure of all photovoltaic modules or planned maintenance;

[0103] ⑥ Nighttime shutdown: Due to the lack of light intensity at night, the photovoltaic output is 0 and the photovoltaic power is shut down;

[0104] S3-2: According to the established reliability model, the photovoltaic output reliability index is divided into time index, output power index and overall system operation index. The reliability index of the photovoltaic power generation system is defined from three aspects to comprehensively reflect the system characteristics;

[0105] S3-2-1: Time Indicator:

[0106] ① Full running time : The time the system is in full operation;

[0107] ② Output reduction and reduced operating time : The time during which the system operates at a reduced capacity only due to a decrease in output;

[0108] ③ Reduced operating time due to component failure : The time during which the system operates at a reduced rating only due to component failure;

[0109] ④ Output decreases and component failure reduces the running time : The time during which the system operates at a reduced capacity due to both output reduction and component failure;

[0110] ⑤ Component failure downtime : The time the system is down due to the failure of all components;

[0111] ⑥Nighttime shutdown time : The system is shut down due to the PV output being 0 at night;

[0112] ⑦Running time : The total time the system is in operation, that is:

[0113] ;

[0114] ⑧Stop time : The total time the system is in shutdown state, that is:

[0115] ;

[0116] S3-2-2: Output power index:

[0117] ① Full operating output power : The output power of the system under full operation;

[0118] ② Output decreases and the operating output power is reduced : The output power of the system is reduced only due to the decrease of output;

[0119] ③ Component failure reduces the operating output power : The system output power when operating at a reduced rating due to component failure only;

[0120] ④ Output drops and component failure reduces output power : The output power of the system under derating operation due to both output reduction and component failure.

[0121] S3-2-3: Overall system operation indicators:

[0122] ① Failure rate : The number of system failures within a certain period of time;

[0123] ② Fault repair time t: the time required to repair a system fault;

[0124] ③ Design availability : The probability of the system being in operation is calculated based on the overall system failure rate and repair time, that is:

[0125] ;

[0126] ④Actual availability : The probability of the system being in operation is evaluated using the time indicator, that is:

[0127] ;

[0128] In the formula, is the sum of the time the system is in all states, that is .

[0129] S4: Establish a Monte Carlo algorithm that introduces adaptive sampling to perform output reliability analysis on photovoltaic power stations. The Monte Carlo (MC) method is a numerical calculation method based on probability and statistical theory and methods. Its core idea is to estimate or simulate the characteristics, statistics, probability distribution, etc. of the problem through a large number of random sampling. The advantage of the Monte Carlo method is that it can handle complex problems and calculations in high-dimensional space. It is more flexible when conducting reliability assessments of large systems. It does not require solving complex equations or functions, but uses random sampling and statistical analysis to approximate solutions to problems. However, Monte Carlo requires a large amount of random sampling and computing resources during the calculation process, and the running time is usually long and the calculation efficiency is low. Therefore, adaptive sampling is introduced into the Monte Carlo algorithm, and the number and distribution of samples are adaptively adjusted according to the variance of the calculation results. The specific steps are:

[0130] S4-1: introducing the photovoltaic output model of step S1 and the component reliability model of S2;

[0131] S4-2: Initialize the number and distribution of samples under different weather types;

[0132] S4-3: Generate random samples under different weather types;

[0133] S4-4: Calculate the PV output reliability index based on the random samples generated under different weather types, and calculate the variance of the reliability index;

[0134] S4-5: Determine whether the variance of the reliability index under different weather types meets the convergence condition; if the condition is met, output the reliability index; otherwise, adaptively adjust the sampling quantity and distribution, repeat the above steps S4-3 to S4-4 until the convergence condition is met, and output the reliability index; the improved algorithm flow is as follows Figure 5 As shown in Figure 1, when the variance of the output reliability index is large, the number of samples is increased; when the variance is small, the number of samples is reduced. The variance here is selected according to different specific situations;

[0135] S4-6: Calculate the reliability index under different weather types and the proportion of weather types respectively to obtain the reliability index of the photovoltaic system within one year.

[0136] The scope of protection claimed by the present invention is not limited to the above specific embodiments. For those skilled in the art, the present invention may have various deformations and changes. Any modifications, improvements and equivalent substitutions made within the concept and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A photovoltaic system reliability analysis method based on output prediction, characterized in that: The steps include: S1: Analyze the output characteristics of the photovoltaic power generation system and make output predictions, and establish a photovoltaic output model; the details are as follows: S1-1: Analyze the output characteristics of the photovoltaic power generation system: The output of the photovoltaic power generation system is affected by environmental factors, including light intensity. Light intensity plays a decisive role in photovoltaic output. As the intensity of sunlight changes, photovoltaic output will increase first and then decrease, reaching a peak at noon. Subsequently, the photovoltaic output under four different weather types will be predicted and the corresponding output reliability analysis will be conducted. The four different weather types are sunny, cloudy, overcast, and rainy and snowy days. By consulting the local weather conditions of the photovoltaic station, the number of days and proportions of different weather types in a year are obtained to form a data set under the four weather types; among them, sandstorm weather is merged into the overcast weather type; S1-2: Forecast the output of photovoltaic power generation systems under four different weather types and establish a photovoltaic output model: Photovoltaic output prediction involves time series data, which affects the photovoltaic output results within a certain time range. Therefore, the long short-term memory network LSTM, which is sensitive to time series data, is used to predict the output. It is a time recursive neural network with memory units and loop units inside. The information transmission of the internal loop unit is expressed as follows: ; Where: and tanh are the bipolar sigmoid activation function and the hyperbolic tangent activation function respectively; Represents the output value of the forget gate of the i-th LSTM unit at the current moment, Represents the value of the input gate of the i-th LSTM unit at the current moment, Represents the value of the output gate of the i-th LSTM unit; represents the input vector at the current moment, Represents all the outputs of an LSTM cell at the previous moment; They are the input bias, input weight and recurrent weight of the LSTM cell forget gate; They are the input bias, input weight and loop weight of the input gate respectively; They are the input bias, input weight and loop weight of the output gate respectively; Indicates the current value of the state unit. Represents the output of the forget gate, which is also the weight of the state unit self-loop; They represent the input bias, input weight and loop weight of the candidate memory cell respectively; j represents the number of the previous LSTM unit of the i-th LSTM unit; S2: Establish a module reliability model based on PV module parameters and calculate module reliability; the details are as follows: In the photovoltaic output reliability analysis, the failure rate of photovoltaic modules is determined to be a fixed value, and the failure rate of photovoltaic modules is in the stage of accidental failure rate. The photovoltaic power generation system consists of photovoltaic arrays and DC / AC inverters. The photovoltaic array is composed of photovoltaic panels connected in series and parallel, and then connected to the AC power grid through a DC / AC inverter. A total of m photovoltaic arrays-inverters are connected to the power grid. According to the structure of the photovoltaic power generation system, when any component of the photovoltaic array or inverter fails, it will cause the power input to the AC power grid to decrease. In order to calculate the impact of the failure rate of photovoltaic modules on the entire system, the failure rates of a single photovoltaic array and inverter are assumed to be and The fault repair time is and , then the failure probability and They are: ; Failure rate of a single PV array-inverter group , Fault repair time and failure probability They are: ; S2-1: Partial system failure: After m PV array-inverter groups are connected in parallel to the system, if i PV arrays and j inverters fail at the same time, the failure rate of the entire system will be , fault repair time t and fault probability p are: ; In the formula, , , and denote the failure rates of a photovoltaic array and b inverters respectively, and They represent the failure probability of a photovoltaic array and b inverters respectively, and are calculated according to the following formula: ; ; In the formula, , , and represent the fault repair time of a PV array and b inverter respectively; S2-2: Total system failure: When the PV array and inverter fail completely, the failure rate of the entire system , fault repair time t and fault probability p are directly calculated according to the following formulas: ; S3: Construct a six-state model of photovoltaic power generation system and propose photovoltaic output reliability evaluation indicators; the details are as follows: S3-1: Since both the decline in PV output and the failure of PV modules will lead to a decrease in the power of the PV input to the AC grid, the two situations of PV output decline and PV module failure are divided into three states: full operation, partial reduction operation and shutdown according to the availability status of the PV power generation system. The two situations are combined with the three states to obtain a six-state reliability model for the PV power generation system. The definitions of the six states are as follows: ① Full operation: The power generation of the photovoltaic system changes continuously with environmental factors. The output power of the photovoltaic system reaching 60% or more of the total installed capacity is defined as full operation; ② Output reduction and reduced operation: Affected by environmental factors including light intensity, the photovoltaic output is less than 60% of the total installed capacity; ③ Module failure reduced operation: the state where the system output power decreases due to the failure of the photovoltaic module; ④ Output reduction and reduced-rate operation due to component failure: The output of the photovoltaic system decreases due to the photovoltaic output being less than 60% of the total installed capacity and some photovoltaic components also failing; ⑤ Module failure shutdown: The photovoltaic system is unable to output power due to the failure of all photovoltaic modules or planned maintenance; ⑥ Nighttime shutdown: Due to the lack of light intensity at night, the photovoltaic output is 0 and the photovoltaic power is shut down; S3-2: According to the established reliability model, the photovoltaic output reliability index is divided into time index, output power index and overall system operation index. The reliability index of the photovoltaic power generation system is defined from three aspects to comprehensively reflect the system characteristics; S3-2-1: Time Indicator: ① Full running time : The time the system is in full operation; ② Output reduction and reduced operating time : The time during which the system operates at a reduced capacity only due to a decrease in output; ③ Reduced operating time due to component failure : The time during which the system operates at a reduced rating only due to component failure; ④ Output decreases and component failure reduces the running time : The time during which the system operates at a reduced capacity due to both output reduction and component failure; ⑤ Component failure downtime : The time the system is down due to the failure of all components; ⑥Nighttime shutdown time : The system is shut down due to the PV output being 0 at night; ⑦Running time : The total time the system is in operation, that is: ; ⑧Stop time : The total time the system is in shutdown state, that is: ; S3-2-2: Output power index: ① Full operating output power : The output power of the system under full operation; ② Output decreases and the operating output power is reduced : The output power of the system is reduced only due to the decrease of output; ③ Component failure reduces the operating output power : The system output power when operating at a reduced rating due to component failure only; ④ Output drops and component failure reduces output power : The output power of the system under derating operation due to both output reduction and component failure; S3-2-3: Overall system operation indicators: ① Failure rate : The number of system failures within a certain period of time; ② Fault repair time t: the time required to repair a system fault; ③ Design availability : The probability of the system being in operation is calculated based on the overall system failure rate and repair time, that is: ; ④Actual availability : The probability of the system being in operation is evaluated using the time indicator, that is: ; In the formula, T is the sum of the time the system is in all states, that is, ; S4: Establish a Monte Carlo algorithm that introduces adaptive sampling to analyze the output reliability of photovoltaic power stations, as follows: Adaptive sampling is introduced into the Monte Carlo algorithm, and the number and distribution of samples are adaptively adjusted according to the variance of the calculation results. The calculation process is as follows: S4-1: introducing the photovoltaic output model of step S1 and the component reliability model of S2; S4-2: Initialize the number and distribution of samples under different weather types; S4-3: Generate random samples under different weather types; S4-4: Calculate the PV output reliability index based on the random samples generated under different weather types, and calculate the variance of the reliability index; S4-5: Determine whether the variance of the reliability index under different weather types meets the convergence condition; if the condition is met, output the reliability index; otherwise, adaptively adjust the sampling quantity and distribution, repeat the above steps S4-3 to S4-4 until the convergence condition is met, and output the reliability index; S4-6: Calculate the reliability index under different weather types and the proportion of weather types respectively to obtain the reliability index of the photovoltaic system within one year.